-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironment.ts
87 lines (87 loc) · 2.05 KB
/
environment.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import { Entitytyping } from '../../generated-types/type-defs';
export interface Environment {
apollo: {
graphqlPath: string;
introspection: boolean;
playground: boolean;
tokenLogging: string;
};
port: number | string;
environment: string;
sessionSecret: string;
clientSecret: string;
version: string;
oauth: {
baseUrl: string;
baseUrlFrontend: string;
clientId: string;
tokenEndpoint: string;
authEndpoint: string;
apiCodeEndpoint: string;
logoutEndpoint: string;
};
api: {
collectionApiUrl: string;
searchApiUrl: string;
csvImportServiceUrl: string;
fileSystemImporterServiceUrl?: string;
iiifUrl: string;
iiifUrlFrontend: string;
storageApiUrl: string;
storageApiUrlExt: string;
promUrl: 'no-prom' | string;
transcodeService?: string;
ocrService?: string;
};
db: {
mongodb: {
username?: string;
password?: string;
port: string;
hostname: string;
dbName: string;
replicaSet?: string;
};
};
features: {
simpleSearch: {
hasSimpleSearch: boolean;
itemTypes?: Entitytyping[];
simpleSearchMetadataKey?: string[];
};
hasTenantSelect?: boolean;
hasBulkOperations?: boolean;
hasBulkSelect?: boolean;
hideSuperTenant?: boolean;
hasSavedSearch?: boolean;
SEO: {
hasSEO: boolean;
seoMetadataKeys?: {
title: string;
description: string;
image: string;
};
};
hasPersistentSessions?: boolean;
};
customization: {
applicationTitle: string;
applicationLocale: string;
hideEmptyFields?: boolean;
uploadEntityTypeToCreate?: Entitytyping;
entityIdKey?: string;
};
allowAnonymousUsers: boolean;
tenantDefiningTypes?: string;
routerConfig: any;
damsFrontend: string;
graphqlEndpoint: string;
staticToken: string | undefined | null;
sentryEnabled: boolean;
sentryDsn: string;
sentryDsnFrontend: string;
nomadNamespace: string;
ignorePermissions: boolean;
maxUploadSize: number;
bulkSelectAllSizeLimit: number;
}