@opencrvs/toolkit 2.1.0-rc.8d76997 → 2.1.0-rc.8faf5e0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application-config/index.js +2 -1
- package/dist/cli.js +0 -48
- package/dist/commons/api/router.d.ts +3342 -3359
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +32 -323
- package/dist/commons/events/ActionConfig.d.ts +105 -105
- package/dist/commons/events/ActionDocument.d.ts +119 -119
- package/dist/commons/events/ActionInput.d.ts +0 -6
- package/dist/commons/events/ActionType.d.ts +62 -62
- package/dist/commons/events/AdvancedSearchConfig.d.ts +507 -507
- package/dist/commons/events/AuditLog.d.ts +43 -43
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/Conditional.d.ts +3 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
- package/dist/commons/events/Draft.d.ts +37 -37
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +5 -5
- package/dist/commons/events/EventDocument.d.ts +48 -48
- package/dist/commons/events/EventIndex.d.ts +62 -62
- package/dist/commons/events/EventMetadata.d.ts +40 -40
- package/dist/commons/events/FieldConfig.d.ts +336 -336
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/Flag.d.ts +15 -15
- package/dist/commons/events/TemplateConfig.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
- package/dist/commons/events/WorkqueueConfig.d.ts +826 -826
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +69 -198
- package/dist/commons/events/locations.d.ts +96 -6
- package/dist/commons/events/mocks.test.utils.d.ts +18 -4
- package/dist/commons/events/scopes.d.ts +4 -4
- package/dist/commons/events/state/index.d.ts +17 -17
- package/dist/commons/events/state/utils.d.ts +7 -7
- package/dist/commons/events/test.utils.d.ts +40 -43
- package/dist/commons/events/utils.d.ts +114 -114
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/environment/derived-variables.d.ts +119 -131
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +0 -14
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/questions.d.ts +75 -74
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +8 -28
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.d.ts +1 -1
- package/dist/environment/utils.js +17 -7
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +62 -58
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/notification/index.js +48 -57
- package/dist/scopes/index.d.ts +146 -146
- package/dist/templates/charts-values/dependencies/values.yaml +0 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
- package/opencrvs-toolkit-2.1.0-rc.8faf5e0.tgz +0 -0
- package/package.json +3 -4
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.8d76997.tgz +0 -0
|
@@ -1,134 +1,122 @@
|
|
|
1
1
|
export declare const derivedVariables: readonly [{
|
|
2
|
-
readonly name:
|
|
3
|
-
readonly valueLabel:
|
|
4
|
-
readonly valueType:
|
|
5
|
-
readonly type:
|
|
6
|
-
readonly scope:
|
|
7
|
-
}, {
|
|
8
|
-
readonly name:
|
|
9
|
-
readonly valueLabel:
|
|
10
|
-
readonly valueType:
|
|
11
|
-
readonly type:
|
|
12
|
-
readonly scope:
|
|
13
|
-
}, {
|
|
14
|
-
readonly name:
|
|
15
|
-
readonly valueLabel:
|
|
16
|
-
readonly valueType:
|
|
17
|
-
readonly type:
|
|
18
|
-
readonly scope:
|
|
19
|
-
}, {
|
|
20
|
-
readonly name:
|
|
21
|
-
readonly valueLabel:
|
|
22
|
-
readonly valueType:
|
|
23
|
-
readonly type:
|
|
24
|
-
readonly scope:
|
|
25
|
-
}, {
|
|
26
|
-
readonly name:
|
|
27
|
-
readonly valueLabel:
|
|
28
|
-
readonly valueType:
|
|
29
|
-
readonly type:
|
|
30
|
-
readonly scope:
|
|
31
|
-
}, {
|
|
32
|
-
readonly name:
|
|
33
|
-
readonly valueLabel:
|
|
34
|
-
readonly valueType:
|
|
35
|
-
readonly type:
|
|
36
|
-
readonly scope:
|
|
37
|
-
}, {
|
|
38
|
-
readonly name:
|
|
39
|
-
readonly valueLabel:
|
|
40
|
-
readonly valueType:
|
|
41
|
-
readonly type:
|
|
42
|
-
readonly scope:
|
|
43
|
-
}, {
|
|
44
|
-
readonly name:
|
|
45
|
-
readonly valueLabel:
|
|
46
|
-
readonly valueType:
|
|
47
|
-
readonly type:
|
|
48
|
-
readonly scope:
|
|
49
|
-
}, {
|
|
50
|
-
readonly name:
|
|
51
|
-
readonly valueLabel:
|
|
52
|
-
readonly valueType:
|
|
53
|
-
readonly type:
|
|
54
|
-
readonly scope:
|
|
55
|
-
}, {
|
|
56
|
-
readonly name:
|
|
57
|
-
readonly valueLabel:
|
|
58
|
-
readonly valueType:
|
|
59
|
-
readonly type:
|
|
60
|
-
readonly scope:
|
|
61
|
-
}, {
|
|
62
|
-
readonly name:
|
|
63
|
-
readonly valueLabel:
|
|
64
|
-
readonly valueType:
|
|
65
|
-
readonly type:
|
|
66
|
-
readonly scope:
|
|
67
|
-
}, {
|
|
68
|
-
readonly name:
|
|
69
|
-
readonly valueLabel:
|
|
70
|
-
readonly valueType:
|
|
71
|
-
readonly type:
|
|
72
|
-
readonly scope:
|
|
73
|
-
}, {
|
|
74
|
-
readonly name:
|
|
75
|
-
readonly valueLabel:
|
|
76
|
-
readonly valueType:
|
|
77
|
-
readonly type:
|
|
78
|
-
readonly scope:
|
|
79
|
-
}, {
|
|
80
|
-
readonly name:
|
|
81
|
-
readonly valueLabel:
|
|
82
|
-
readonly valueType:
|
|
83
|
-
readonly type:
|
|
84
|
-
readonly scope:
|
|
85
|
-
}, {
|
|
86
|
-
readonly name:
|
|
87
|
-
readonly valueLabel:
|
|
88
|
-
readonly valueType:
|
|
89
|
-
readonly type:
|
|
90
|
-
readonly scope:
|
|
91
|
-
}, {
|
|
92
|
-
readonly name:
|
|
93
|
-
readonly valueLabel:
|
|
94
|
-
readonly valueType:
|
|
95
|
-
readonly type:
|
|
96
|
-
readonly scope:
|
|
97
|
-
}, {
|
|
98
|
-
readonly name:
|
|
99
|
-
readonly valueLabel:
|
|
100
|
-
readonly valueType:
|
|
101
|
-
readonly type:
|
|
102
|
-
readonly scope:
|
|
103
|
-
}, {
|
|
104
|
-
readonly name:
|
|
105
|
-
readonly valueLabel:
|
|
106
|
-
readonly valueType:
|
|
107
|
-
readonly type:
|
|
108
|
-
readonly scope:
|
|
109
|
-
}, {
|
|
110
|
-
readonly name:
|
|
111
|
-
readonly valueLabel:
|
|
112
|
-
readonly valueType:
|
|
113
|
-
readonly type:
|
|
114
|
-
readonly scope:
|
|
115
|
-
}, {
|
|
116
|
-
readonly name:
|
|
117
|
-
readonly valueLabel:
|
|
118
|
-
readonly valueType:
|
|
119
|
-
readonly type:
|
|
120
|
-
readonly scope:
|
|
121
|
-
}, {
|
|
122
|
-
readonly name: "RESTORE_ENVIRONMENT_NAME";
|
|
123
|
-
readonly valueLabel: "RESTORE_ENVIRONMENT_NAME";
|
|
124
|
-
readonly valueType: "VARIABLE";
|
|
125
|
-
readonly type: "disabled";
|
|
126
|
-
readonly scope: "ENVIRONMENT";
|
|
127
|
-
}, {
|
|
128
|
-
readonly name: "NOTIFICATION_TRANSPORT";
|
|
129
|
-
readonly valueLabel: "NOTIFICATION_TRANSPORT";
|
|
130
|
-
readonly valueType: "VARIABLE";
|
|
131
|
-
readonly type: "disabled";
|
|
132
|
-
readonly scope: "ENVIRONMENT";
|
|
2
|
+
readonly name: 'ACTIVATE_USERS';
|
|
3
|
+
readonly valueLabel: 'ACTIVATE_USERS';
|
|
4
|
+
readonly valueType: 'VARIABLE';
|
|
5
|
+
readonly type: 'disabled';
|
|
6
|
+
readonly scope: 'ENVIRONMENT';
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: 'COUNTRY_CONFIG_HOST';
|
|
9
|
+
readonly valueLabel: 'COUNTRY_CONFIG_HOST';
|
|
10
|
+
readonly valueType: 'VARIABLE';
|
|
11
|
+
readonly type: 'disabled';
|
|
12
|
+
readonly scope: 'ENVIRONMENT';
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: 'GATEWAY_HOST';
|
|
15
|
+
readonly valueLabel: 'GATEWAY_HOST';
|
|
16
|
+
readonly valueType: 'VARIABLE';
|
|
17
|
+
readonly type: 'disabled';
|
|
18
|
+
readonly scope: 'ENVIRONMENT';
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: 'CONTENT_SECURITY_POLICY_WILDCARD';
|
|
21
|
+
readonly valueLabel: 'CONTENT_SECURITY_POLICY_WILDCARD';
|
|
22
|
+
readonly valueType: 'VARIABLE';
|
|
23
|
+
readonly type: 'disabled';
|
|
24
|
+
readonly scope: 'ENVIRONMENT';
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: 'CLIENT_APP_URL';
|
|
27
|
+
readonly valueLabel: 'CLIENT_APP_URL';
|
|
28
|
+
readonly valueType: 'VARIABLE';
|
|
29
|
+
readonly type: 'disabled';
|
|
30
|
+
readonly scope: 'ENVIRONMENT';
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: 'LOGIN_URL';
|
|
33
|
+
readonly valueLabel: 'LOGIN_URL';
|
|
34
|
+
readonly valueType: 'VARIABLE';
|
|
35
|
+
readonly type: 'disabled';
|
|
36
|
+
readonly scope: 'ENVIRONMENT';
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: 'ELASTICSEARCH_SUPERUSER_PASSWORD';
|
|
39
|
+
readonly valueLabel: 'ELASTICSEARCH_SUPERUSER_PASSWORD';
|
|
40
|
+
readonly valueType: 'SECRET';
|
|
41
|
+
readonly type: 'disabled';
|
|
42
|
+
readonly scope: 'ENVIRONMENT';
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: 'KIBANA_SYSTEM_PASSWORD';
|
|
45
|
+
readonly valueLabel: 'KIBANA_SYSTEM_PASSWORD';
|
|
46
|
+
readonly valueType: 'SECRET';
|
|
47
|
+
readonly type: 'disabled';
|
|
48
|
+
readonly scope: 'ENVIRONMENT';
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: 'MINIO_ROOT_USER';
|
|
51
|
+
readonly valueLabel: 'MINIO_ROOT_USER';
|
|
52
|
+
readonly valueType: 'SECRET';
|
|
53
|
+
readonly type: 'disabled';
|
|
54
|
+
readonly scope: 'ENVIRONMENT';
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: 'MINIO_ROOT_PASSWORD';
|
|
57
|
+
readonly valueLabel: 'MINIO_ROOT_PASSWORD';
|
|
58
|
+
readonly valueType: 'SECRET';
|
|
59
|
+
readonly type: 'disabled';
|
|
60
|
+
readonly scope: 'ENVIRONMENT';
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: 'POSTGRES_USER';
|
|
63
|
+
readonly valueLabel: 'POSTGRES_USER';
|
|
64
|
+
readonly valueType: 'SECRET';
|
|
65
|
+
readonly type: 'disabled';
|
|
66
|
+
readonly scope: 'ENVIRONMENT';
|
|
67
|
+
}, {
|
|
68
|
+
readonly name: 'POSTGRES_PASSWORD';
|
|
69
|
+
readonly valueLabel: 'POSTGRES_PASSWORD';
|
|
70
|
+
readonly valueType: 'SECRET';
|
|
71
|
+
readonly type: 'disabled';
|
|
72
|
+
readonly scope: 'ENVIRONMENT';
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: 'SUPER_USER_PASSWORD';
|
|
75
|
+
readonly valueLabel: 'SUPER_USER_PASSWORD';
|
|
76
|
+
readonly valueType: 'SECRET';
|
|
77
|
+
readonly type: 'disabled';
|
|
78
|
+
readonly scope: 'ENVIRONMENT';
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: 'ENCRYPTION_KEY';
|
|
81
|
+
readonly valueLabel: 'ENCRYPTION_KEY';
|
|
82
|
+
readonly valueType: 'SECRET';
|
|
83
|
+
readonly type: 'disabled';
|
|
84
|
+
readonly scope: 'ENVIRONMENT';
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: 'GH_ENCRYPTION_PASSWORD';
|
|
87
|
+
readonly valueLabel: 'GH_ENCRYPTION_PASSWORD';
|
|
88
|
+
readonly valueType: 'SECRET';
|
|
89
|
+
readonly type: 'disabled';
|
|
90
|
+
readonly scope: 'REPOSITORY';
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: 'BACKUP_ENCRYPTION_PASSPHRASE';
|
|
93
|
+
readonly valueLabel: 'BACKUP_ENCRYPTION_PASSPHRASE';
|
|
94
|
+
readonly valueType: 'SECRET';
|
|
95
|
+
readonly type: 'disabled';
|
|
96
|
+
readonly scope: 'ENVIRONMENT';
|
|
97
|
+
}, {
|
|
98
|
+
readonly name: 'BACKUP_HOST_PRIVATE_KEY';
|
|
99
|
+
readonly valueLabel: 'BACKUP_HOST_PRIVATE_KEY';
|
|
100
|
+
readonly valueType: 'SECRET';
|
|
101
|
+
readonly type: 'disabled';
|
|
102
|
+
readonly scope: 'ENVIRONMENT';
|
|
103
|
+
}, {
|
|
104
|
+
readonly name: 'BACKUP_HOST_PUBLIC_KEY';
|
|
105
|
+
readonly valueLabel: 'BACKUP_HOST_PUBLIC_KEY';
|
|
106
|
+
readonly valueType: 'SECRET';
|
|
107
|
+
readonly type: 'disabled';
|
|
108
|
+
readonly scope: 'ENVIRONMENT';
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: 'RESTORE_ENVIRONMENT_NAME';
|
|
111
|
+
readonly valueLabel: 'RESTORE_ENVIRONMENT_NAME';
|
|
112
|
+
readonly valueType: 'VARIABLE';
|
|
113
|
+
readonly type: 'disabled';
|
|
114
|
+
readonly scope: 'ENVIRONMENT';
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: 'NOTIFICATION_TRANSPORT';
|
|
117
|
+
readonly valueLabel: 'NOTIFICATION_TRANSPORT';
|
|
118
|
+
readonly valueType: 'VARIABLE';
|
|
119
|
+
readonly type: 'disabled';
|
|
120
|
+
readonly scope: 'ENVIRONMENT';
|
|
133
121
|
}];
|
|
134
122
|
//# sourceMappingURL=derived-variables.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derived-variables.d.ts","sourceRoot":"","sources":["../../src/environment/derived-variables.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"derived-variables.d.ts","sourceRoot":"","sources":["../../src/environment/derived-variables.ts"],"names":[],"mappings":"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"}
|
|
@@ -82,20 +82,6 @@ exports.derivedVariables = [
|
|
|
82
82
|
type: 'disabled',
|
|
83
83
|
scope: 'ENVIRONMENT'
|
|
84
84
|
},
|
|
85
|
-
{
|
|
86
|
-
name: 'MONGODB_ADMIN_USER',
|
|
87
|
-
valueLabel: 'MONGODB_ADMIN_USER',
|
|
88
|
-
valueType: 'SECRET',
|
|
89
|
-
type: 'disabled',
|
|
90
|
-
scope: 'ENVIRONMENT'
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
name: 'MONGODB_ADMIN_PASSWORD',
|
|
94
|
-
valueLabel: 'MONGODB_ADMIN_PASSWORD',
|
|
95
|
-
valueType: 'SECRET',
|
|
96
|
-
type: 'disabled',
|
|
97
|
-
scope: 'ENVIRONMENT'
|
|
98
|
-
},
|
|
99
85
|
{
|
|
100
86
|
name: 'POSTGRES_USER',
|
|
101
87
|
valueLabel: 'POSTGRES_USER',
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
export declare const log:
|
|
2
|
-
|
|
3
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
4
|
-
};
|
|
5
|
-
export declare const warn: {
|
|
6
|
-
(...data: any[]): void;
|
|
7
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
8
|
-
};
|
|
1
|
+
export declare const log: (message?: any, ...optionalParams: any[]) => void;
|
|
2
|
+
export declare const warn: (message?: any, ...optionalParams: any[]) => void;
|
|
9
3
|
export declare const success: (...args: any[]) => void;
|
|
10
|
-
export declare const info:
|
|
11
|
-
(...data: any[]): void;
|
|
12
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
13
|
-
};
|
|
4
|
+
export declare const info: (message?: any, ...optionalParams: any[]) => void;
|
|
14
5
|
export declare const error: (...args: any[]) => void;
|
|
15
6
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/environment/logger.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/environment/logger.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,GAAG,mDAAc,CAAA;AAC9B,eAAO,MAAM,IAAI,mDAAe,CAAA;AAChC,eAAO,MAAM,OAAO,YAAa,GAAG,EAAE,SACI,CAAA;AAC1C,eAAO,MAAM,IAAI,mDAAe,CAAA;AAChC,eAAO,MAAM,KAAK,YAAa,GAAG,EAAE,SAA2C,CAAA"}
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,198 +1,199 @@
|
|
|
1
|
+
declare const notEmpty: (value: string | number) => "Please enter a value" | true;
|
|
1
2
|
declare function validateCIDRs(input: string): true | string;
|
|
2
3
|
export declare const dockerhubQuestions: {
|
|
3
4
|
name: string;
|
|
4
|
-
type:
|
|
5
|
+
type: 'text';
|
|
5
6
|
message: string;
|
|
6
|
-
valueType:
|
|
7
|
+
valueType: 'SECRET';
|
|
7
8
|
valueLabel: string;
|
|
8
|
-
validate:
|
|
9
|
+
validate: typeof notEmpty;
|
|
9
10
|
initial: string | undefined;
|
|
10
|
-
scope:
|
|
11
|
+
scope: 'REPOSITORY';
|
|
11
12
|
}[];
|
|
12
13
|
export declare const githubQuestions: {
|
|
13
14
|
name: string;
|
|
14
|
-
type:
|
|
15
|
+
type: 'text';
|
|
15
16
|
message: string;
|
|
16
|
-
validate:
|
|
17
|
+
validate: typeof notEmpty;
|
|
17
18
|
initial: string;
|
|
18
|
-
scope:
|
|
19
|
+
scope: 'REPOSITORY';
|
|
19
20
|
}[];
|
|
20
21
|
export declare const githubOtherQuestions: ({
|
|
21
22
|
name: string;
|
|
22
|
-
type:
|
|
23
|
+
type: 'text';
|
|
23
24
|
message: string;
|
|
24
25
|
initial: string | undefined;
|
|
25
|
-
valueType:
|
|
26
|
+
valueType: 'VARIABLE';
|
|
26
27
|
valueLabel: string;
|
|
27
|
-
scope:
|
|
28
|
+
scope: 'REPOSITORY';
|
|
28
29
|
choices?: undefined;
|
|
29
30
|
validate?: undefined;
|
|
30
31
|
} | {
|
|
31
32
|
name: string;
|
|
32
|
-
type:
|
|
33
|
+
type: 'select';
|
|
33
34
|
message: string;
|
|
34
35
|
choices: {
|
|
35
36
|
title: string;
|
|
36
37
|
value: string;
|
|
37
38
|
}[];
|
|
38
|
-
valueType:
|
|
39
|
-
validate:
|
|
39
|
+
valueType: 'VARIABLE';
|
|
40
|
+
validate: typeof notEmpty;
|
|
40
41
|
valueLabel: string;
|
|
41
42
|
initial: string | undefined;
|
|
42
|
-
scope:
|
|
43
|
+
scope: 'ENVIRONMENT';
|
|
43
44
|
})[];
|
|
44
45
|
export declare const githubTokenQuestion: {
|
|
45
46
|
name: string;
|
|
46
|
-
type:
|
|
47
|
+
type: 'text';
|
|
47
48
|
message: string;
|
|
48
|
-
validate:
|
|
49
|
+
validate: typeof notEmpty;
|
|
49
50
|
initial: string | undefined;
|
|
50
|
-
valueType:
|
|
51
|
-
scope:
|
|
51
|
+
valueType: 'SECRET';
|
|
52
|
+
scope: 'REPOSITORY';
|
|
52
53
|
valueLabel: string;
|
|
53
54
|
}[];
|
|
54
55
|
export declare const countryQuestions: {
|
|
55
56
|
name: string;
|
|
56
|
-
type:
|
|
57
|
+
type: 'text';
|
|
57
58
|
message: string;
|
|
58
|
-
valueType:
|
|
59
|
+
valueType: 'VARIABLE';
|
|
59
60
|
valueLabel: string;
|
|
60
61
|
initial: string | undefined;
|
|
61
|
-
scope:
|
|
62
|
+
scope: 'REPOSITORY';
|
|
62
63
|
}[];
|
|
63
64
|
export declare const infrastructureQuestions: ({
|
|
64
65
|
name: string;
|
|
65
|
-
type:
|
|
66
|
+
type: 'text';
|
|
66
67
|
message: string;
|
|
67
|
-
valueType:
|
|
68
|
-
validate:
|
|
68
|
+
valueType: 'VARIABLE';
|
|
69
|
+
validate: typeof notEmpty;
|
|
69
70
|
valueLabel: string;
|
|
70
71
|
initial: string | undefined;
|
|
71
|
-
scope:
|
|
72
|
+
scope: 'ENVIRONMENT';
|
|
72
73
|
} | {
|
|
74
|
+
validate?: undefined;
|
|
73
75
|
name: string;
|
|
74
|
-
type:
|
|
76
|
+
type: 'text';
|
|
75
77
|
message: string;
|
|
76
|
-
valueType:
|
|
78
|
+
valueType: 'VARIABLE';
|
|
77
79
|
valueLabel: string;
|
|
78
80
|
initial: string | undefined;
|
|
79
|
-
scope:
|
|
80
|
-
validate?: undefined;
|
|
81
|
+
scope: 'ENVIRONMENT';
|
|
81
82
|
} | {
|
|
82
83
|
name: string;
|
|
83
|
-
type:
|
|
84
|
+
type: 'text';
|
|
84
85
|
message: string;
|
|
85
|
-
valueType:
|
|
86
|
+
valueType: 'VARIABLE';
|
|
86
87
|
validate: typeof validateCIDRs;
|
|
87
88
|
valueLabel: string;
|
|
88
89
|
initial: string;
|
|
89
|
-
scope:
|
|
90
|
+
scope: 'ENVIRONMENT';
|
|
90
91
|
})[];
|
|
91
92
|
export declare const staticSSLCertQuestions: {
|
|
92
93
|
name: string;
|
|
93
|
-
type:
|
|
94
|
+
type: 'text';
|
|
94
95
|
message: string;
|
|
95
|
-
valueType:
|
|
96
|
-
validate:
|
|
96
|
+
valueType: 'SECRET';
|
|
97
|
+
validate: typeof notEmpty;
|
|
97
98
|
valueLabel: string;
|
|
98
99
|
initial: string | undefined;
|
|
99
|
-
scope:
|
|
100
|
+
scope: 'ENVIRONMENT';
|
|
100
101
|
}[];
|
|
101
102
|
export declare const backupQuestions: ({
|
|
103
|
+
choices?: undefined;
|
|
104
|
+
validate?: undefined;
|
|
102
105
|
name: string;
|
|
103
|
-
type:
|
|
106
|
+
type: 'text';
|
|
104
107
|
message: string;
|
|
105
|
-
valueType:
|
|
108
|
+
valueType: 'VARIABLE';
|
|
106
109
|
valueLabel: string;
|
|
107
110
|
initial: string;
|
|
108
|
-
scope:
|
|
109
|
-
validate?: undefined;
|
|
110
|
-
choices?: undefined;
|
|
111
|
+
scope: 'ENVIRONMENT';
|
|
111
112
|
} | {
|
|
113
|
+
choices?: undefined;
|
|
112
114
|
name: string;
|
|
113
|
-
type:
|
|
115
|
+
type: 'text';
|
|
114
116
|
message: string;
|
|
115
|
-
valueType:
|
|
116
|
-
validate:
|
|
117
|
+
valueType: 'SECRET';
|
|
118
|
+
validate: typeof notEmpty;
|
|
117
119
|
valueLabel: string;
|
|
118
120
|
initial: string;
|
|
119
|
-
scope:
|
|
120
|
-
choices?: undefined;
|
|
121
|
+
scope: 'ENVIRONMENT';
|
|
121
122
|
} | {
|
|
122
123
|
name: string;
|
|
123
|
-
type:
|
|
124
|
+
type: 'select';
|
|
124
125
|
message: string;
|
|
125
126
|
choices: {
|
|
126
127
|
title: string;
|
|
127
128
|
value: string;
|
|
128
129
|
}[];
|
|
129
|
-
valueType:
|
|
130
|
-
validate:
|
|
130
|
+
valueType: 'VARIABLE';
|
|
131
|
+
validate: typeof notEmpty;
|
|
131
132
|
valueLabel: string;
|
|
132
133
|
initial: string | undefined;
|
|
133
|
-
scope:
|
|
134
|
+
scope: 'ENVIRONMENT';
|
|
134
135
|
})[];
|
|
135
136
|
export declare const diskQuestions: {
|
|
136
137
|
name: string;
|
|
137
|
-
type:
|
|
138
|
+
type: 'text';
|
|
138
139
|
message: string;
|
|
139
|
-
valueType:
|
|
140
|
-
validate:
|
|
140
|
+
valueType: 'VARIABLE';
|
|
141
|
+
validate: typeof notEmpty;
|
|
141
142
|
valueLabel: string;
|
|
142
143
|
initial: string;
|
|
143
|
-
scope:
|
|
144
|
+
scope: 'ENVIRONMENT';
|
|
144
145
|
}[];
|
|
145
146
|
export declare const databaseAndMonitoringQuestions: {
|
|
146
147
|
name: string;
|
|
147
|
-
type:
|
|
148
|
+
type: 'text';
|
|
148
149
|
message: string;
|
|
149
|
-
valueType:
|
|
150
|
-
validate:
|
|
150
|
+
valueType: 'SECRET';
|
|
151
|
+
validate: typeof notEmpty;
|
|
151
152
|
valueLabel: string;
|
|
152
153
|
initial: string;
|
|
153
|
-
scope:
|
|
154
|
+
scope: 'ENVIRONMENT';
|
|
154
155
|
}[];
|
|
155
156
|
export declare const emailQuestions: ({
|
|
157
|
+
choices?: undefined;
|
|
156
158
|
name: string;
|
|
157
|
-
type:
|
|
159
|
+
type: 'text';
|
|
158
160
|
message: string;
|
|
159
|
-
valueType:
|
|
160
|
-
validate:
|
|
161
|
+
valueType: 'SECRET';
|
|
162
|
+
validate: typeof notEmpty;
|
|
161
163
|
valueLabel: string;
|
|
162
164
|
initial: string | undefined;
|
|
163
|
-
scope:
|
|
164
|
-
choices?: undefined;
|
|
165
|
+
scope: 'ENVIRONMENT';
|
|
165
166
|
} | {
|
|
166
167
|
name: string;
|
|
167
|
-
type:
|
|
168
|
+
type: 'select';
|
|
168
169
|
message: string;
|
|
169
170
|
choices: {
|
|
170
171
|
title: string;
|
|
171
172
|
value: string;
|
|
172
173
|
}[];
|
|
173
|
-
valueType:
|
|
174
|
-
validate:
|
|
174
|
+
valueType: 'SECRET';
|
|
175
|
+
validate: typeof notEmpty;
|
|
175
176
|
valueLabel: string;
|
|
176
177
|
initial: string | undefined;
|
|
177
|
-
scope:
|
|
178
|
+
scope: 'ENVIRONMENT';
|
|
178
179
|
})[];
|
|
179
180
|
export declare const sentryQuestions: {
|
|
180
181
|
name: string;
|
|
181
|
-
type:
|
|
182
|
+
type: 'text';
|
|
182
183
|
message: string;
|
|
183
|
-
valueType:
|
|
184
|
-
validate:
|
|
184
|
+
valueType: 'SECRET';
|
|
185
|
+
validate: typeof notEmpty;
|
|
185
186
|
valueLabel: string;
|
|
186
187
|
initial: string | undefined;
|
|
187
|
-
scope:
|
|
188
|
+
scope: 'ENVIRONMENT';
|
|
188
189
|
}[];
|
|
189
190
|
export declare const metabaseAdminQuestions: {
|
|
190
|
-
valueType:
|
|
191
|
+
valueType: 'SECRET';
|
|
191
192
|
name: string;
|
|
192
|
-
type:
|
|
193
|
+
type: 'text';
|
|
193
194
|
message: string;
|
|
194
195
|
valueLabel: string;
|
|
195
|
-
scope:
|
|
196
|
+
scope: 'ENVIRONMENT';
|
|
196
197
|
initial: string;
|
|
197
198
|
}[];
|
|
198
199
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../src/environment/questions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../src/environment/questions.ts"],"names":[],"mappings":"AAeA,QAAA,MAAM,QAAQ,UAAW,MAAM,GAAG,MAAM,kCAC4B,CAAA;AAepE,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAgBnD;AAED,eAAO,MAAM,kBAAkB;;UAGrB,MAAM;;eAED,QAAQ;;;;WAIZ,YAAY;GAiCtB,CAAA;AAED,eAAO,MAAM,eAAe;;UAGlB,MAAM;;;;WAIL,YAAY;GAUtB,CAAA;AACD,eAAO,MAAM,oBAAoB;;UAGvB,MAAM;;;eAGD,UAAU;;WAEd,YAAY;;;;;UAIb,QAAQ;;;;;;eAaH,UAAU;;;;WAId,aAAa;IAEvB,CAAA;AACD,eAAO,MAAM,mBAAmB;;UAGtB,MAAM;;;;eAID,QAAQ;WACZ,YAAY;;GAGtB,CAAA;AAED,eAAO,MAAM,gBAAgB;;UAGnB,MAAM;;eAGD,UAAU;;;WAGd,YAAY;GAEtB,CAAA;AAED,eAAO,MAAM,uBAAuB;;UAG1B,MAAM;;eAED,UAAU;;;;WAId,aAAa;;;;UAId,MAAM;;eAED,UAAU;;;WAId,aAAa;;;UAId,MAAM;;eAED,UAAU;;;;WAId,aAAa;IAYvB,CAAA;AAED,eAAO,MAAM,sBAAsB;;UAGzB,MAAM;;eAED,QAAQ;;;;WAIZ,aAAa;GAYvB,CAAA;AAED,eAAO,MAAM,eAAe;;;;UAGlB,MAAM;;eAED,UAAU;;;WAId,aAAa;;;;UAId,MAAM;;eAED,QAAQ;;;;WAIZ,aAAa;;;UAId,QAAQ;;;;;;eAYH,UAAU;;;;WAId,aAAa;IAEvB,CAAA;AAED,eAAO,MAAM,aAAa;;UAGhB,MAAM;;eAID,UAAU;;;;WAId,aAAa;GAEvB,CAAA;AAED,eAAO,MAAM,8BAA8B;;UAGjC,MAAM;;eAED,QAAQ;;;;WAIZ,aAAa;GAYvB,CAAA;AAED,eAAO,MAAM,cAAc;;;UAGjB,MAAM;;eAED,QAAQ;;;;WAIZ,aAAa;;;UAkCd,QAAQ;;;;;;eAYH,QAAQ;;;;WAIZ,aAAa;IAuBvB,CAAA;AAED,eAAO,MAAM,eAAe;;UAGlB,MAAM;;eAED,QAAQ;;;;WAIZ,aAAa;GAEvB,CAAA;AAED,eAAO,MAAM,sBAAsB;eAEpB,QAAQ;;UAEb,MAAM;;;WAIL,aAAa;;GAYvB,CAAA"}
|