projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/main' into 18368-notification-banner
[arvados.git]
/
src
/
common
/
config.ts
diff --git
a/src/common/config.ts
b/src/common/config.ts
index 2518c95eda2e799a9156388f8f4d6f46a628203b..574445df09b05f5f47a8b0b57fc190352a8e1237 100644
(file)
--- a/
src/common/config.ts
+++ b/
src/common/config.ts
@@
-13,6
+13,9
@@
interface WorkbenchConfig {
}
export interface ClusterConfigJSON {
}
export interface ClusterConfigJSON {
+ API: {
+ UnfreezeProjectRequiresAdmin: boolean
+ },
ClusterID: string;
RemoteClusters: {
[key: string]: {
ClusterID: string;
RemoteClusters: {
[key: string]: {
@@
-50,6
+53,7
@@
export interface ClusterConfigJSON {
}
};
Workbench: {
}
};
Workbench: {
+ DisableSharingURLsUI: boolean;
ArvadosDocsite: string;
FileViewersConfigURL: string;
WelcomePageHTML: string;
ArvadosDocsite: string;
FileViewersConfigURL: string;
WelcomePageHTML: string;
@@
-221,6
+225,9
@@
export const mapRemoteHosts = (clusterConfigJSON: ClusterConfigJSON, config: Con
};
export const mockClusterConfigJSON = (config: Partial<ClusterConfigJSON>): ClusterConfigJSON => ({
};
export const mockClusterConfigJSON = (config: Partial<ClusterConfigJSON>): ClusterConfigJSON => ({
+ API: {
+ UnfreezeProjectRequiresAdmin: false,
+ },
ClusterID: "",
RemoteClusters: {},
Services: {
ClusterID: "",
RemoteClusters: {},
Services: {
@@
-233,6
+240,7
@@
export const mockClusterConfigJSON = (config: Partial<ClusterConfigJSON>): Clust
WebShell: { ExternalURL: "" },
},
Workbench: {
WebShell: { ExternalURL: "" },
},
Workbench: {
+ DisableSharingURLsUI: false,
ArvadosDocsite: "",
FileViewersConfigURL: "",
WelcomePageHTML: "",
ArvadosDocsite: "",
FileViewersConfigURL: "",
WelcomePageHTML: "",