unleash-server 4.14.0-beta.3 → 4.14.0-beta.4
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/lib/db/feature-strategy-store.d.ts +1 -0
- package/dist/lib/db/feature-strategy-store.js +7 -2
- package/dist/lib/db/feature-strategy-store.js.map +1 -1
- package/dist/lib/openapi/index.d.ts +405 -86
- package/dist/lib/openapi/index.js +6 -2
- package/dist/lib/openapi/index.js.map +1 -1
- package/dist/lib/openapi/spec/group-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/group-schema.js +2 -2
- package/dist/lib/openapi/spec/group-schema.js.map +1 -1
- package/dist/lib/openapi/spec/groups-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.d.ts +20 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.js +22 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.js.map +1 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.test.d.ts +1 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.test.js +35 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.test.js.map +1 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +303 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.js +33 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.js.map +1 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.test.d.ts +1 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.test.js +14 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.test.js.map +1 -0
- package/dist/lib/routes/admin-api/project/features.d.ts +2 -0
- package/dist/lib/routes/admin-api/project/features.js +21 -0
- package/dist/lib/routes/admin-api/project/features.js.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.d.ts +5 -3
- package/dist/lib/routes/admin-api/user-admin.js +42 -2
- package/dist/lib/routes/admin-api/user-admin.js.map +1 -1
- package/dist/lib/services/feature-toggle-service.d.ts +2 -0
- package/dist/lib/services/feature-toggle-service.js +5 -0
- package/dist/lib/services/feature-toggle-service.js.map +1 -1
- package/dist/lib/types/group.d.ts +2 -1
- package/dist/lib/types/group.js.map +1 -1
- package/dist/lib/types/stores/feature-strategies-store.d.ts +1 -0
- package/dist/lib/types/stores/group-store.d.ts +1 -1
- package/dist/test/e2e/api/admin/project/features.e2e.test.js +154 -0
- package/dist/test/e2e/api/admin/project/features.e2e.test.js.map +1 -1
- package/dist/test/fixtures/fake-feature-strategies-store.d.ts +1 -0
- package/dist/test/fixtures/fake-feature-strategies-store.js +7 -0
- package/dist/test/fixtures/fake-feature-strategies-store.js.map +1 -1
- package/package.json +3 -2
|
@@ -23,6 +23,7 @@ declare class FeatureStrategiesStore implements IFeatureStrategiesStore {
|
|
|
23
23
|
private static getEnvironment;
|
|
24
24
|
getFeatureOverview(projectId: string, archived?: boolean): Promise<IFeatureOverview[]>;
|
|
25
25
|
getStrategyById(id: string): Promise<IFeatureStrategy>;
|
|
26
|
+
updateSortOrder(id: string, sortOrder: number): Promise<void>;
|
|
26
27
|
updateStrategy(id: string, updates: Partial<IFeatureStrategy>): Promise<IFeatureStrategy>;
|
|
27
28
|
private static getAdminStrategy;
|
|
28
29
|
deleteConfigurationsForProjectAndEnvironment(projectId: String, environment: String): Promise<void>;
|
|
@@ -204,8 +204,8 @@ class FeatureStrategiesStore {
|
|
|
204
204
|
.where({ project: projectId })
|
|
205
205
|
.select('features.name as feature_name', 'features.type as type', 'features.created_at as created_at', 'features.last_seen_at as last_seen_at', 'features.stale as stale', 'feature_environments.enabled as enabled', 'feature_environments.environment as environment', 'environments.type as environment_type', 'environments.sort_order as environment_sort_order')
|
|
206
206
|
.modify(feature_toggle_store_1.default.filterByArchived, archived)
|
|
207
|
-
.
|
|
208
|
-
.
|
|
207
|
+
.leftJoin('feature_environments', 'feature_environments.feature_name', 'features.name')
|
|
208
|
+
.leftJoin('environments', 'feature_environments.environment', 'environments.name');
|
|
209
209
|
if (rows.length > 0) {
|
|
210
210
|
const overview = rows.reduce((acc, r) => {
|
|
211
211
|
if (acc[r.feature_name] !== undefined) {
|
|
@@ -246,6 +246,11 @@ class FeatureStrategiesStore {
|
|
|
246
246
|
}
|
|
247
247
|
throw new notfound_error_1.default(`Could not find strategy with id: ${id}`);
|
|
248
248
|
}
|
|
249
|
+
async updateSortOrder(id, sortOrder) {
|
|
250
|
+
await this.db(T.featureStrategies)
|
|
251
|
+
.where({ id })
|
|
252
|
+
.update({ sort_order: sortOrder });
|
|
253
|
+
}
|
|
249
254
|
async updateStrategy(id, updates) {
|
|
250
255
|
const update = mapStrategyUpdate(updates);
|
|
251
256
|
const row = await this.db(T.featureStrategies)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-strategy-store.js","sourceRoot":"","sources":["../../../src/lib/db/feature-strategy-store.ts"],"names":[],"mappings":";;;;;AAEA,+BAAoC;AACpC,4EAAmD;AACnD,oDAA2C;AAE3C,6EAAoD;AAWpD,kFAAwD;AACxD,iEAA8D;AAC9D,mDAA+C;AAE/C,MAAM,OAAO,GAAG;IACZ,IAAI;IACJ,cAAc;IACd,cAAc;IACd,aAAa;IACb,eAAe;IACf,YAAY;IACZ,aAAa;IACb,YAAY;CACf,CAAC;AACF;;;;;;EAME;AAEF,MAAM,CAAC,GAAG;IACN,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,oBAAoB;IACvC,sBAAsB,EAAE,0BAA0B;IAClD,WAAW,EAAE,sBAAsB;CACtC,CAAC;AAcF,SAAS,MAAM,CAAC,GAA4B;IACxC,OAAO;QACH,EAAE,EAAE,GAAG,CAAC,EAAE;QACV,WAAW,EAAE,GAAG,CAAC,YAAY;QAC7B,SAAS,EAAE,GAAG,CAAC,YAAY;QAC3B,WAAW,EAAE,GAAG,CAAC,WAAW;QAC5B,YAAY,EAAE,GAAG,CAAC,aAAa;QAC/B,UAAU,EAAE,IAAA,sBAAS,EAAC,GAAG,CAAC,UAAU,IA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;QACrE,SAAS,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,CAAC;IAED,aAAa;QACT,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,iBAAiB,IAAI,CAAC,EAAE,CAAC,CAAC;IAC7D,CAAC;CACJ;AAED,MAAM,CAAC,OAAO,GAAG,sBAAsB,CAAC;AACxC,kBAAe,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"feature-strategy-store.js","sourceRoot":"","sources":["../../../src/lib/db/feature-strategy-store.ts"],"names":[],"mappings":";;;;;AAEA,+BAAoC;AACpC,4EAAmD;AACnD,oDAA2C;AAE3C,6EAAoD;AAWpD,kFAAwD;AACxD,iEAA8D;AAC9D,mDAA+C;AAE/C,MAAM,OAAO,GAAG;IACZ,IAAI;IACJ,cAAc;IACd,cAAc;IACd,aAAa;IACb,eAAe;IACf,YAAY;IACZ,aAAa;IACb,YAAY;CACf,CAAC;AACF;;;;;;EAME;AAEF,MAAM,CAAC,GAAG;IACN,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,oBAAoB;IACvC,sBAAsB,EAAE,0BAA0B;IAClD,WAAW,EAAE,sBAAsB;CACtC,CAAC;AAcF,SAAS,MAAM,CAAC,GAA4B;IACxC,OAAO;QACH,EAAE,EAAE,GAAG,CAAC,EAAE;QACV,WAAW,EAAE,GAAG,CAAC,YAAY;QAC7B,SAAS,EAAE,GAAG,CAAC,YAAY;QAC3B,WAAW,EAAE,GAAG,CAAC,WAAW;QAC5B,YAAY,EAAE,GAAG,CAAC,aAAa;QAC/B,UAAU,EAAE,IAAA,sBAAS,EAAC,GAAG,CAAC,UAAU,IAAI,EAAE,EAAE,qCAAiB,CAAC;QAC9D,WAAW,EAAG,GAAG,CAAC,WAAwC,IAAI,EAAE;QAChE,SAAS,EAAE,GAAG,CAAC,UAAU;QACzB,SAAS,EAAE,GAAG,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C9B;aACA,KAAK,CAAC,GAAG,CAAC,CAAC,sBAAsB,aAAa,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC;QACrE,SAAS,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,CAAC;IAED,aAAa;QACT,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,iBAAiB,IAAI,CAAC,EAAE,CAAC,CAAC;IAC7D,CAAC;CACJ;AAED,MAAM,CAAC,OAAO,GAAG,sBAAsB,CAAC;AACxC,kBAAe,sBAAsB,CAAC"}
|
|
@@ -4045,8 +4045,8 @@ export declare const schemas: {
|
|
|
4045
4045
|
groupSchema: {
|
|
4046
4046
|
readonly $id: "#/components/schemas/groupSchema";
|
|
4047
4047
|
readonly type: "object";
|
|
4048
|
-
readonly additionalProperties:
|
|
4049
|
-
readonly required: readonly ["name"
|
|
4048
|
+
readonly additionalProperties: true;
|
|
4049
|
+
readonly required: readonly ["name"];
|
|
4050
4050
|
readonly properties: {
|
|
4051
4051
|
readonly id: {
|
|
4052
4052
|
readonly type: "number";
|
|
@@ -4219,8 +4219,8 @@ export declare const schemas: {
|
|
|
4219
4219
|
readonly groupSchema: {
|
|
4220
4220
|
readonly $id: "#/components/schemas/groupSchema";
|
|
4221
4221
|
readonly type: "object";
|
|
4222
|
-
readonly additionalProperties:
|
|
4223
|
-
readonly required: readonly ["name"
|
|
4222
|
+
readonly additionalProperties: true;
|
|
4223
|
+
readonly required: readonly ["name"];
|
|
4224
4224
|
readonly properties: {
|
|
4225
4225
|
readonly id: {
|
|
4226
4226
|
readonly type: "number";
|
|
@@ -6101,6 +6101,88 @@ export declare const schemas: {
|
|
|
6101
6101
|
};
|
|
6102
6102
|
};
|
|
6103
6103
|
};
|
|
6104
|
+
playgroundRequestSchema: {
|
|
6105
|
+
readonly $id: "#/components/schemas/playgroundRequestSchema";
|
|
6106
|
+
readonly description: "Data for the playground API to evaluate toggles";
|
|
6107
|
+
readonly type: "object";
|
|
6108
|
+
readonly required: readonly ["environment", "context"];
|
|
6109
|
+
readonly properties: {
|
|
6110
|
+
readonly environment: {
|
|
6111
|
+
readonly type: "string";
|
|
6112
|
+
readonly examples: readonly ["development"];
|
|
6113
|
+
};
|
|
6114
|
+
readonly projects: {
|
|
6115
|
+
readonly oneOf: readonly [{
|
|
6116
|
+
readonly type: "array";
|
|
6117
|
+
readonly items: {
|
|
6118
|
+
readonly type: "string";
|
|
6119
|
+
};
|
|
6120
|
+
readonly examples: readonly ["my-project", "my-other-project"];
|
|
6121
|
+
readonly description: "A list of projects to check for toggles in.";
|
|
6122
|
+
}, {
|
|
6123
|
+
readonly type: "string";
|
|
6124
|
+
readonly enum: readonly ["*"];
|
|
6125
|
+
readonly description: "Check toggles in all projects.";
|
|
6126
|
+
}];
|
|
6127
|
+
};
|
|
6128
|
+
readonly context: {
|
|
6129
|
+
readonly $ref: "#/components/schemas/sdkContextSchema";
|
|
6130
|
+
};
|
|
6131
|
+
};
|
|
6132
|
+
readonly components: {
|
|
6133
|
+
readonly schemas: {
|
|
6134
|
+
readonly sdkContextSchema: {
|
|
6135
|
+
readonly $id: "#/components/schemas/sdkContextSchema";
|
|
6136
|
+
readonly description: "The Unleash context as modeled in client SDKs";
|
|
6137
|
+
readonly type: "object";
|
|
6138
|
+
readonly additionalProperties: {
|
|
6139
|
+
readonly type: "string";
|
|
6140
|
+
readonly examples: readonly ["top-level custom context value"];
|
|
6141
|
+
};
|
|
6142
|
+
readonly required: readonly ["appName"];
|
|
6143
|
+
readonly properties: {
|
|
6144
|
+
readonly appName: {
|
|
6145
|
+
readonly type: "string";
|
|
6146
|
+
readonly minLength: 1;
|
|
6147
|
+
readonly examples: readonly ["My cool application."];
|
|
6148
|
+
};
|
|
6149
|
+
readonly currentTime: {
|
|
6150
|
+
readonly type: "string";
|
|
6151
|
+
readonly format: "date-time";
|
|
6152
|
+
readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
|
|
6153
|
+
};
|
|
6154
|
+
readonly environment: {
|
|
6155
|
+
readonly type: "string";
|
|
6156
|
+
readonly deprecated: true;
|
|
6157
|
+
};
|
|
6158
|
+
readonly properties: {
|
|
6159
|
+
readonly type: "object";
|
|
6160
|
+
readonly additionalProperties: {
|
|
6161
|
+
readonly type: "string";
|
|
6162
|
+
};
|
|
6163
|
+
readonly examples: readonly [{
|
|
6164
|
+
readonly customContextField: "this is one!";
|
|
6165
|
+
readonly otherCustomField: 3;
|
|
6166
|
+
}];
|
|
6167
|
+
};
|
|
6168
|
+
readonly remoteAddress: {
|
|
6169
|
+
readonly type: "string";
|
|
6170
|
+
readonly examples: readonly ["192.168.1.1"];
|
|
6171
|
+
};
|
|
6172
|
+
readonly sessionId: {
|
|
6173
|
+
readonly type: "string";
|
|
6174
|
+
readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
|
|
6175
|
+
};
|
|
6176
|
+
readonly userId: {
|
|
6177
|
+
readonly type: "string";
|
|
6178
|
+
readonly examples: readonly ["username@provider.com"];
|
|
6179
|
+
};
|
|
6180
|
+
};
|
|
6181
|
+
readonly components: {};
|
|
6182
|
+
};
|
|
6183
|
+
};
|
|
6184
|
+
};
|
|
6185
|
+
};
|
|
6104
6186
|
playgroundResponseSchema: {
|
|
6105
6187
|
readonly $id: "#/components/schemas/playgroundResponseSchema";
|
|
6106
6188
|
readonly description: "The state of all features given the provided input.";
|
|
@@ -6470,88 +6552,6 @@ export declare const schemas: {
|
|
|
6470
6552
|
};
|
|
6471
6553
|
};
|
|
6472
6554
|
};
|
|
6473
|
-
playgroundRequestSchema: {
|
|
6474
|
-
readonly $id: "#/components/schemas/playgroundRequestSchema";
|
|
6475
|
-
readonly description: "Data for the playground API to evaluate toggles";
|
|
6476
|
-
readonly type: "object";
|
|
6477
|
-
readonly required: readonly ["environment", "context"];
|
|
6478
|
-
readonly properties: {
|
|
6479
|
-
readonly environment: {
|
|
6480
|
-
readonly type: "string";
|
|
6481
|
-
readonly examples: readonly ["development"];
|
|
6482
|
-
};
|
|
6483
|
-
readonly projects: {
|
|
6484
|
-
readonly oneOf: readonly [{
|
|
6485
|
-
readonly type: "array";
|
|
6486
|
-
readonly items: {
|
|
6487
|
-
readonly type: "string";
|
|
6488
|
-
};
|
|
6489
|
-
readonly examples: readonly ["my-project", "my-other-project"];
|
|
6490
|
-
readonly description: "A list of projects to check for toggles in.";
|
|
6491
|
-
}, {
|
|
6492
|
-
readonly type: "string";
|
|
6493
|
-
readonly enum: readonly ["*"];
|
|
6494
|
-
readonly description: "Check toggles in all projects.";
|
|
6495
|
-
}];
|
|
6496
|
-
};
|
|
6497
|
-
readonly context: {
|
|
6498
|
-
readonly $ref: "#/components/schemas/sdkContextSchema";
|
|
6499
|
-
};
|
|
6500
|
-
};
|
|
6501
|
-
readonly components: {
|
|
6502
|
-
readonly schemas: {
|
|
6503
|
-
readonly sdkContextSchema: {
|
|
6504
|
-
readonly $id: "#/components/schemas/sdkContextSchema";
|
|
6505
|
-
readonly description: "The Unleash context as modeled in client SDKs";
|
|
6506
|
-
readonly type: "object";
|
|
6507
|
-
readonly additionalProperties: {
|
|
6508
|
-
readonly type: "string";
|
|
6509
|
-
readonly examples: readonly ["top-level custom context value"];
|
|
6510
|
-
};
|
|
6511
|
-
readonly required: readonly ["appName"];
|
|
6512
|
-
readonly properties: {
|
|
6513
|
-
readonly appName: {
|
|
6514
|
-
readonly type: "string";
|
|
6515
|
-
readonly minLength: 1;
|
|
6516
|
-
readonly examples: readonly ["My cool application."];
|
|
6517
|
-
};
|
|
6518
|
-
readonly currentTime: {
|
|
6519
|
-
readonly type: "string";
|
|
6520
|
-
readonly format: "date-time";
|
|
6521
|
-
readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
|
|
6522
|
-
};
|
|
6523
|
-
readonly environment: {
|
|
6524
|
-
readonly type: "string";
|
|
6525
|
-
readonly deprecated: true;
|
|
6526
|
-
};
|
|
6527
|
-
readonly properties: {
|
|
6528
|
-
readonly type: "object";
|
|
6529
|
-
readonly additionalProperties: {
|
|
6530
|
-
readonly type: "string";
|
|
6531
|
-
};
|
|
6532
|
-
readonly examples: readonly [{
|
|
6533
|
-
readonly customContextField: "this is one!";
|
|
6534
|
-
readonly otherCustomField: 3;
|
|
6535
|
-
}];
|
|
6536
|
-
};
|
|
6537
|
-
readonly remoteAddress: {
|
|
6538
|
-
readonly type: "string";
|
|
6539
|
-
readonly examples: readonly ["192.168.1.1"];
|
|
6540
|
-
};
|
|
6541
|
-
readonly sessionId: {
|
|
6542
|
-
readonly type: "string";
|
|
6543
|
-
readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
|
|
6544
|
-
};
|
|
6545
|
-
readonly userId: {
|
|
6546
|
-
readonly type: "string";
|
|
6547
|
-
readonly examples: readonly ["username@provider.com"];
|
|
6548
|
-
};
|
|
6549
|
-
};
|
|
6550
|
-
readonly components: {};
|
|
6551
|
-
};
|
|
6552
|
-
};
|
|
6553
|
-
};
|
|
6554
|
-
};
|
|
6555
6555
|
projectEnvironmentSchema: {
|
|
6556
6556
|
readonly $id: "#/components/schemas/projectEnvironmentSchema";
|
|
6557
6557
|
readonly type: "object";
|
|
@@ -6798,6 +6798,24 @@ export declare const schemas: {
|
|
|
6798
6798
|
};
|
|
6799
6799
|
};
|
|
6800
6800
|
};
|
|
6801
|
+
setStrategySortOrderSchema: {
|
|
6802
|
+
readonly $id: "#/components/schemas/setStrategySortOrderSchema";
|
|
6803
|
+
readonly type: "array";
|
|
6804
|
+
readonly items: {
|
|
6805
|
+
readonly type: "object";
|
|
6806
|
+
readonly additionalProperties: false;
|
|
6807
|
+
readonly required: readonly ["id", "sortOrder"];
|
|
6808
|
+
readonly properties: {
|
|
6809
|
+
readonly id: {
|
|
6810
|
+
readonly type: "string";
|
|
6811
|
+
};
|
|
6812
|
+
readonly sortOrder: {
|
|
6813
|
+
readonly type: "number";
|
|
6814
|
+
};
|
|
6815
|
+
};
|
|
6816
|
+
};
|
|
6817
|
+
readonly components: {};
|
|
6818
|
+
};
|
|
6801
6819
|
sortOrderSchema: {
|
|
6802
6820
|
readonly $id: "#/components/schemas/sortOrderSchema";
|
|
6803
6821
|
readonly type: "object";
|
|
@@ -8269,6 +8287,307 @@ export declare const schemas: {
|
|
|
8269
8287
|
};
|
|
8270
8288
|
readonly components: {};
|
|
8271
8289
|
};
|
|
8290
|
+
usersGroupsBaseSchema: {
|
|
8291
|
+
readonly $id: "#/components/schemas/usersGroupsBaseSchema";
|
|
8292
|
+
readonly type: "object";
|
|
8293
|
+
readonly additionalProperties: false;
|
|
8294
|
+
readonly properties: {
|
|
8295
|
+
readonly groups: {
|
|
8296
|
+
readonly type: "array";
|
|
8297
|
+
readonly items: {
|
|
8298
|
+
readonly $ref: "#/components/schemas/groupSchema";
|
|
8299
|
+
};
|
|
8300
|
+
};
|
|
8301
|
+
readonly users: {
|
|
8302
|
+
readonly type: "array";
|
|
8303
|
+
readonly items: {
|
|
8304
|
+
readonly $ref: "#/components/schemas/userSchema";
|
|
8305
|
+
};
|
|
8306
|
+
};
|
|
8307
|
+
};
|
|
8308
|
+
readonly components: {
|
|
8309
|
+
readonly schemas: {
|
|
8310
|
+
readonly groupSchema: {
|
|
8311
|
+
readonly $id: "#/components/schemas/groupSchema";
|
|
8312
|
+
readonly type: "object";
|
|
8313
|
+
readonly additionalProperties: true;
|
|
8314
|
+
readonly required: readonly ["name"];
|
|
8315
|
+
readonly properties: {
|
|
8316
|
+
readonly id: {
|
|
8317
|
+
readonly type: "number";
|
|
8318
|
+
};
|
|
8319
|
+
readonly name: {
|
|
8320
|
+
readonly type: "string";
|
|
8321
|
+
};
|
|
8322
|
+
readonly description: {
|
|
8323
|
+
readonly type: "string";
|
|
8324
|
+
};
|
|
8325
|
+
readonly createdBy: {
|
|
8326
|
+
readonly type: "string";
|
|
8327
|
+
readonly nullable: true;
|
|
8328
|
+
};
|
|
8329
|
+
readonly createdAt: {
|
|
8330
|
+
readonly type: "string";
|
|
8331
|
+
readonly format: "date-time";
|
|
8332
|
+
readonly nullable: true;
|
|
8333
|
+
};
|
|
8334
|
+
readonly users: {
|
|
8335
|
+
readonly type: "array";
|
|
8336
|
+
readonly items: {
|
|
8337
|
+
readonly $ref: "#/components/schemas/groupUserModelSchema";
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
8340
|
+
readonly projects: {
|
|
8341
|
+
readonly type: "array";
|
|
8342
|
+
readonly items: {
|
|
8343
|
+
readonly type: "string";
|
|
8344
|
+
};
|
|
8345
|
+
};
|
|
8346
|
+
};
|
|
8347
|
+
readonly components: {
|
|
8348
|
+
readonly schemas: {
|
|
8349
|
+
readonly groupUserModelSchema: {
|
|
8350
|
+
readonly $id: "#/components/schemas/groupUserModelSchema";
|
|
8351
|
+
readonly type: "object";
|
|
8352
|
+
readonly additionalProperties: false;
|
|
8353
|
+
readonly required: readonly ["role", "user"];
|
|
8354
|
+
readonly properties: {
|
|
8355
|
+
readonly joinedAt: {
|
|
8356
|
+
readonly type: "string";
|
|
8357
|
+
readonly format: "date-time";
|
|
8358
|
+
};
|
|
8359
|
+
readonly role: {
|
|
8360
|
+
readonly type: "string";
|
|
8361
|
+
};
|
|
8362
|
+
readonly user: {
|
|
8363
|
+
readonly $ref: "#/components/schemas/userSchema";
|
|
8364
|
+
};
|
|
8365
|
+
};
|
|
8366
|
+
readonly components: {
|
|
8367
|
+
readonly schemas: {
|
|
8368
|
+
readonly userSchema: {
|
|
8369
|
+
readonly $id: "#/components/schemas/userSchema";
|
|
8370
|
+
readonly type: "object";
|
|
8371
|
+
readonly additionalProperties: false;
|
|
8372
|
+
readonly required: readonly ["id"];
|
|
8373
|
+
readonly properties: {
|
|
8374
|
+
readonly id: {
|
|
8375
|
+
readonly type: "number";
|
|
8376
|
+
};
|
|
8377
|
+
readonly isAPI: {
|
|
8378
|
+
readonly type: "boolean";
|
|
8379
|
+
};
|
|
8380
|
+
readonly name: {
|
|
8381
|
+
readonly type: "string";
|
|
8382
|
+
};
|
|
8383
|
+
readonly email: {
|
|
8384
|
+
readonly type: "string";
|
|
8385
|
+
};
|
|
8386
|
+
readonly username: {
|
|
8387
|
+
readonly type: "string";
|
|
8388
|
+
};
|
|
8389
|
+
readonly imageUrl: {
|
|
8390
|
+
readonly type: "string";
|
|
8391
|
+
};
|
|
8392
|
+
readonly inviteLink: {
|
|
8393
|
+
readonly type: "string";
|
|
8394
|
+
};
|
|
8395
|
+
readonly loginAttempts: {
|
|
8396
|
+
readonly type: "number";
|
|
8397
|
+
};
|
|
8398
|
+
readonly emailSent: {
|
|
8399
|
+
readonly type: "boolean";
|
|
8400
|
+
};
|
|
8401
|
+
readonly rootRole: {
|
|
8402
|
+
readonly type: "number";
|
|
8403
|
+
};
|
|
8404
|
+
readonly seenAt: {
|
|
8405
|
+
readonly type: "string";
|
|
8406
|
+
readonly format: "date-time";
|
|
8407
|
+
readonly nullable: true;
|
|
8408
|
+
};
|
|
8409
|
+
readonly createdAt: {
|
|
8410
|
+
readonly type: "string";
|
|
8411
|
+
readonly format: "date-time";
|
|
8412
|
+
};
|
|
8413
|
+
};
|
|
8414
|
+
readonly components: {};
|
|
8415
|
+
};
|
|
8416
|
+
};
|
|
8417
|
+
};
|
|
8418
|
+
};
|
|
8419
|
+
readonly userSchema: {
|
|
8420
|
+
readonly $id: "#/components/schemas/userSchema";
|
|
8421
|
+
readonly type: "object";
|
|
8422
|
+
readonly additionalProperties: false;
|
|
8423
|
+
readonly required: readonly ["id"];
|
|
8424
|
+
readonly properties: {
|
|
8425
|
+
readonly id: {
|
|
8426
|
+
readonly type: "number";
|
|
8427
|
+
};
|
|
8428
|
+
readonly isAPI: {
|
|
8429
|
+
readonly type: "boolean";
|
|
8430
|
+
};
|
|
8431
|
+
readonly name: {
|
|
8432
|
+
readonly type: "string";
|
|
8433
|
+
};
|
|
8434
|
+
readonly email: {
|
|
8435
|
+
readonly type: "string";
|
|
8436
|
+
};
|
|
8437
|
+
readonly username: {
|
|
8438
|
+
readonly type: "string";
|
|
8439
|
+
};
|
|
8440
|
+
readonly imageUrl: {
|
|
8441
|
+
readonly type: "string";
|
|
8442
|
+
};
|
|
8443
|
+
readonly inviteLink: {
|
|
8444
|
+
readonly type: "string";
|
|
8445
|
+
};
|
|
8446
|
+
readonly loginAttempts: {
|
|
8447
|
+
readonly type: "number";
|
|
8448
|
+
};
|
|
8449
|
+
readonly emailSent: {
|
|
8450
|
+
readonly type: "boolean";
|
|
8451
|
+
};
|
|
8452
|
+
readonly rootRole: {
|
|
8453
|
+
readonly type: "number";
|
|
8454
|
+
};
|
|
8455
|
+
readonly seenAt: {
|
|
8456
|
+
readonly type: "string";
|
|
8457
|
+
readonly format: "date-time";
|
|
8458
|
+
readonly nullable: true;
|
|
8459
|
+
};
|
|
8460
|
+
readonly createdAt: {
|
|
8461
|
+
readonly type: "string";
|
|
8462
|
+
readonly format: "date-time";
|
|
8463
|
+
};
|
|
8464
|
+
};
|
|
8465
|
+
readonly components: {};
|
|
8466
|
+
};
|
|
8467
|
+
};
|
|
8468
|
+
};
|
|
8469
|
+
};
|
|
8470
|
+
readonly groupUserModelSchema: {
|
|
8471
|
+
readonly $id: "#/components/schemas/groupUserModelSchema";
|
|
8472
|
+
readonly type: "object";
|
|
8473
|
+
readonly additionalProperties: false;
|
|
8474
|
+
readonly required: readonly ["role", "user"];
|
|
8475
|
+
readonly properties: {
|
|
8476
|
+
readonly joinedAt: {
|
|
8477
|
+
readonly type: "string";
|
|
8478
|
+
readonly format: "date-time";
|
|
8479
|
+
};
|
|
8480
|
+
readonly role: {
|
|
8481
|
+
readonly type: "string";
|
|
8482
|
+
};
|
|
8483
|
+
readonly user: {
|
|
8484
|
+
readonly $ref: "#/components/schemas/userSchema";
|
|
8485
|
+
};
|
|
8486
|
+
};
|
|
8487
|
+
readonly components: {
|
|
8488
|
+
readonly schemas: {
|
|
8489
|
+
readonly userSchema: {
|
|
8490
|
+
readonly $id: "#/components/schemas/userSchema";
|
|
8491
|
+
readonly type: "object";
|
|
8492
|
+
readonly additionalProperties: false;
|
|
8493
|
+
readonly required: readonly ["id"];
|
|
8494
|
+
readonly properties: {
|
|
8495
|
+
readonly id: {
|
|
8496
|
+
readonly type: "number";
|
|
8497
|
+
};
|
|
8498
|
+
readonly isAPI: {
|
|
8499
|
+
readonly type: "boolean";
|
|
8500
|
+
};
|
|
8501
|
+
readonly name: {
|
|
8502
|
+
readonly type: "string";
|
|
8503
|
+
};
|
|
8504
|
+
readonly email: {
|
|
8505
|
+
readonly type: "string";
|
|
8506
|
+
};
|
|
8507
|
+
readonly username: {
|
|
8508
|
+
readonly type: "string";
|
|
8509
|
+
};
|
|
8510
|
+
readonly imageUrl: {
|
|
8511
|
+
readonly type: "string";
|
|
8512
|
+
};
|
|
8513
|
+
readonly inviteLink: {
|
|
8514
|
+
readonly type: "string";
|
|
8515
|
+
};
|
|
8516
|
+
readonly loginAttempts: {
|
|
8517
|
+
readonly type: "number";
|
|
8518
|
+
};
|
|
8519
|
+
readonly emailSent: {
|
|
8520
|
+
readonly type: "boolean";
|
|
8521
|
+
};
|
|
8522
|
+
readonly rootRole: {
|
|
8523
|
+
readonly type: "number";
|
|
8524
|
+
};
|
|
8525
|
+
readonly seenAt: {
|
|
8526
|
+
readonly type: "string";
|
|
8527
|
+
readonly format: "date-time";
|
|
8528
|
+
readonly nullable: true;
|
|
8529
|
+
};
|
|
8530
|
+
readonly createdAt: {
|
|
8531
|
+
readonly type: "string";
|
|
8532
|
+
readonly format: "date-time";
|
|
8533
|
+
};
|
|
8534
|
+
};
|
|
8535
|
+
readonly components: {};
|
|
8536
|
+
};
|
|
8537
|
+
};
|
|
8538
|
+
};
|
|
8539
|
+
};
|
|
8540
|
+
readonly userSchema: {
|
|
8541
|
+
readonly $id: "#/components/schemas/userSchema";
|
|
8542
|
+
readonly type: "object";
|
|
8543
|
+
readonly additionalProperties: false;
|
|
8544
|
+
readonly required: readonly ["id"];
|
|
8545
|
+
readonly properties: {
|
|
8546
|
+
readonly id: {
|
|
8547
|
+
readonly type: "number";
|
|
8548
|
+
};
|
|
8549
|
+
readonly isAPI: {
|
|
8550
|
+
readonly type: "boolean";
|
|
8551
|
+
};
|
|
8552
|
+
readonly name: {
|
|
8553
|
+
readonly type: "string";
|
|
8554
|
+
};
|
|
8555
|
+
readonly email: {
|
|
8556
|
+
readonly type: "string";
|
|
8557
|
+
};
|
|
8558
|
+
readonly username: {
|
|
8559
|
+
readonly type: "string";
|
|
8560
|
+
};
|
|
8561
|
+
readonly imageUrl: {
|
|
8562
|
+
readonly type: "string";
|
|
8563
|
+
};
|
|
8564
|
+
readonly inviteLink: {
|
|
8565
|
+
readonly type: "string";
|
|
8566
|
+
};
|
|
8567
|
+
readonly loginAttempts: {
|
|
8568
|
+
readonly type: "number";
|
|
8569
|
+
};
|
|
8570
|
+
readonly emailSent: {
|
|
8571
|
+
readonly type: "boolean";
|
|
8572
|
+
};
|
|
8573
|
+
readonly rootRole: {
|
|
8574
|
+
readonly type: "number";
|
|
8575
|
+
};
|
|
8576
|
+
readonly seenAt: {
|
|
8577
|
+
readonly type: "string";
|
|
8578
|
+
readonly format: "date-time";
|
|
8579
|
+
readonly nullable: true;
|
|
8580
|
+
};
|
|
8581
|
+
readonly createdAt: {
|
|
8582
|
+
readonly type: "string";
|
|
8583
|
+
readonly format: "date-time";
|
|
8584
|
+
};
|
|
8585
|
+
};
|
|
8586
|
+
readonly components: {};
|
|
8587
|
+
};
|
|
8588
|
+
};
|
|
8589
|
+
};
|
|
8590
|
+
};
|
|
8272
8591
|
userSchema: {
|
|
8273
8592
|
readonly $id: "#/components/schemas/userSchema";
|
|
8274
8593
|
readonly type: "object";
|
|
@@ -63,8 +63,8 @@ const patches_schema_1 = require("./spec/patches-schema");
|
|
|
63
63
|
const patch_schema_1 = require("./spec/patch-schema");
|
|
64
64
|
const permission_schema_1 = require("./spec/permission-schema");
|
|
65
65
|
const playground_feature_schema_1 = require("./spec/playground-feature-schema");
|
|
66
|
-
const playground_response_schema_1 = require("./spec/playground-response-schema");
|
|
67
66
|
const playground_request_schema_1 = require("./spec/playground-request-schema");
|
|
67
|
+
const playground_response_schema_1 = require("./spec/playground-response-schema");
|
|
68
68
|
const project_environment_schema_1 = require("./spec/project-environment-schema");
|
|
69
69
|
const project_schema_1 = require("./spec/project-schema");
|
|
70
70
|
const projects_schema_1 = require("./spec/projects-schema");
|
|
@@ -72,6 +72,7 @@ const reset_password_schema_1 = require("./spec/reset-password-schema");
|
|
|
72
72
|
const role_schema_1 = require("./spec/role-schema");
|
|
73
73
|
const sdk_context_schema_1 = require("./spec/sdk-context-schema");
|
|
74
74
|
const segment_schema_1 = require("./spec/segment-schema");
|
|
75
|
+
const set_strategy_sort_order_schema_1 = require("./spec/set-strategy-sort-order-schema");
|
|
75
76
|
const sort_order_schema_1 = require("./spec/sort-order-schema");
|
|
76
77
|
const splash_schema_1 = require("./spec/splash-schema");
|
|
77
78
|
const state_schema_1 = require("./spec/state-schema");
|
|
@@ -103,6 +104,7 @@ const url_1 = require("url");
|
|
|
103
104
|
const group_schema_1 = require("./spec/group-schema");
|
|
104
105
|
const groups_schema_1 = require("./spec/groups-schema");
|
|
105
106
|
const group_user_model_schema_1 = require("./spec/group-user-model-schema");
|
|
107
|
+
const users_groups_base_schema_1 = require("./spec/users-groups-base-schema");
|
|
106
108
|
// All schemas in `openapi/spec` should be listed here.
|
|
107
109
|
exports.schemas = {
|
|
108
110
|
addonParameterSchema: addon_parameter_schema_1.addonParameterSchema,
|
|
@@ -168,8 +170,8 @@ exports.schemas = {
|
|
|
168
170
|
patchSchema: patch_schema_1.patchSchema,
|
|
169
171
|
permissionSchema: permission_schema_1.permissionSchema,
|
|
170
172
|
playgroundFeatureSchema: playground_feature_schema_1.playgroundFeatureSchema,
|
|
171
|
-
playgroundResponseSchema: playground_response_schema_1.playgroundResponseSchema,
|
|
172
173
|
playgroundRequestSchema: playground_request_schema_1.playgroundRequestSchema,
|
|
174
|
+
playgroundResponseSchema: playground_response_schema_1.playgroundResponseSchema,
|
|
173
175
|
projectEnvironmentSchema: project_environment_schema_1.projectEnvironmentSchema,
|
|
174
176
|
projectSchema: project_schema_1.projectSchema,
|
|
175
177
|
projectsSchema: projects_schema_1.projectsSchema,
|
|
@@ -177,6 +179,7 @@ exports.schemas = {
|
|
|
177
179
|
roleSchema: role_schema_1.roleSchema,
|
|
178
180
|
sdkContextSchema: sdk_context_schema_1.sdkContextSchema,
|
|
179
181
|
segmentSchema: segment_schema_1.segmentSchema,
|
|
182
|
+
setStrategySortOrderSchema: set_strategy_sort_order_schema_1.setStrategySortOrderSchema,
|
|
180
183
|
sortOrderSchema: sort_order_schema_1.sortOrderSchema,
|
|
181
184
|
splashSchema: splash_schema_1.splashSchema,
|
|
182
185
|
stateSchema: state_schema_1.stateSchema,
|
|
@@ -196,6 +199,7 @@ exports.schemas = {
|
|
|
196
199
|
updateUserSchema: update_user_schema_1.updateUserSchema,
|
|
197
200
|
upsertContextFieldSchema: upsert_context_field_schema_1.upsertContextFieldSchema,
|
|
198
201
|
upsertStrategySchema: upsert_strategy_schema_1.upsertStrategySchema,
|
|
202
|
+
usersGroupsBaseSchema: users_groups_base_schema_1.usersGroupsBaseSchema,
|
|
199
203
|
userSchema: user_schema_1.userSchema,
|
|
200
204
|
usersSchema: users_schema_1.usersSchema,
|
|
201
205
|
usersSearchSchema: users_search_schema_1.usersSearchSchema,
|