unleash-server 4.14.0-beta.4 → 4.14.0

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.
Files changed (45) hide show
  1. package/dist/lib/middleware/session-db.js +0 -1
  2. package/dist/lib/middleware/session-db.js.map +1 -1
  3. package/dist/lib/openapi/index.d.ts +55 -81
  4. package/dist/lib/openapi/index.js +0 -2
  5. package/dist/lib/openapi/index.js.map +1 -1
  6. package/dist/lib/openapi/spec/client-features-query-schema.d.ts +0 -1
  7. package/dist/lib/openapi/spec/client-features-query-schema.js +0 -1
  8. package/dist/lib/openapi/spec/client-features-query-schema.js.map +1 -1
  9. package/dist/lib/openapi/spec/client-features-schema.d.ts +0 -1
  10. package/dist/lib/openapi/spec/export-query-parameters.d.ts +102 -0
  11. package/dist/lib/openapi/spec/export-query-parameters.js +136 -0
  12. package/dist/lib/openapi/spec/export-query-parameters.js.map +1 -0
  13. package/dist/lib/openapi/spec/feedback-schema.d.ts +0 -1
  14. package/dist/lib/openapi/spec/feedback-schema.js +0 -1
  15. package/dist/lib/openapi/spec/feedback-schema.js.map +1 -1
  16. package/dist/lib/openapi/spec/me-schema.d.ts +0 -1
  17. package/dist/lib/openapi/spec/playground-feature-schema.d.ts +7 -4
  18. package/dist/lib/openapi/spec/playground-feature-schema.js +4 -4
  19. package/dist/lib/openapi/spec/playground-feature-schema.js.map +1 -1
  20. package/dist/lib/openapi/spec/playground-request-schema.d.ts +11 -11
  21. package/dist/lib/openapi/spec/playground-request-schema.js +2 -2
  22. package/dist/lib/openapi/spec/playground-request-schema.js.map +1 -1
  23. package/dist/lib/openapi/spec/playground-response-schema.d.ts +27 -24
  24. package/dist/lib/openapi/spec/sdk-context-schema.d.ts +9 -9
  25. package/dist/lib/openapi/spec/sdk-context-schema.js +10 -12
  26. package/dist/lib/openapi/spec/sdk-context-schema.js.map +1 -1
  27. package/dist/lib/openapi/spec/update-user-schema.d.ts +1 -1
  28. package/dist/lib/openapi/spec/update-user-schema.js +1 -1
  29. package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
  30. package/dist/lib/openapi/util/from-query-params.d.ts +15 -0
  31. package/dist/lib/openapi/util/from-query-params.js +3 -0
  32. package/dist/lib/openapi/util/from-query-params.js.map +1 -0
  33. package/dist/lib/openapi/validate.js +3 -0
  34. package/dist/lib/openapi/validate.js.map +1 -1
  35. package/dist/lib/routes/admin-api/state.d.ts +2 -2
  36. package/dist/lib/routes/admin-api/state.js +2 -5
  37. package/dist/lib/routes/admin-api/state.js.map +1 -1
  38. package/dist/lib/services/feature-toggle-service.js +1 -3
  39. package/dist/lib/services/feature-toggle-service.js.map +1 -1
  40. package/dist/test/e2e/api/openapi/openapi.e2e.test.js +16 -0
  41. package/dist/test/e2e/api/openapi/openapi.e2e.test.js.map +1 -1
  42. package/package.json +11 -9
  43. package/dist/lib/openapi/spec/export-parameters-schema.d.ts +0 -30
  44. package/dist/lib/openapi/spec/export-parameters-schema.js +0 -32
  45. package/dist/lib/openapi/spec/export-parameters-schema.js.map +0 -1
@@ -15,7 +15,6 @@ function sessionDb(config, knex) {
15
15
  store = new KnexSessionStore({
16
16
  tablename: 'unleash_session',
17
17
  createtable: false,
18
- // @ts-expect-error
19
18
  knex,
20
19
  });
21
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"session-db.js","sourceRoot":"","sources":["../../../src/lib/middleware/session-db.ts"],"names":[],"mappings":";;;;;AACA,sEAAsC;AACtC,gFAAoD;AAGpD,uCAA+C;AAE/C,SAAS,SAAS,CACd,MAAoE,EACpE,IAAU;IAEV,IAAI,KAAK,CAAC;IACV,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC;IAC1C,MAAM,GAAG,GACL,IAAA,8BAAmB,EAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,IAAA,8BAAmB,EAAC,EAAE,CAAC,CAAC;IAC5E,MAAM,gBAAgB,GAAG,IAAA,8BAAgB,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AAgB,CAAC;YACzB,SAAS,EAAE,iBAAiB;YAC5B,WAAW,EAAE,KAAK;YAClB,IAAI;SACP,CAAC,CAAC;KACN;SAAM;QACH,KAAK,GAAG,IAAI,yBAAO,CAAC,WAAW,EAAE,CAAC;KACrC;IACD,OAAO,IAAA,yBAAO,EAAC;QACX,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,KAAK;QACb,iBAAiB,EAAE,KAAK;QACxB,KAAK;QACL,MAAM,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE;YACJ,IAAI,EACA,MAAM,CAAC,MAAM,CAAC,WAAW,KAAK,EAAE;gBAC5B,CAAC,CAAC,GAAG;gBACL,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW;YACnC,MAAM,EAAE,MAAM,CAAC,aAAa;YAC5B,MAAM,EAAE,GAAG;SACd;KACJ,CAAC,CAAC;AACP,CAAC;AAED,kBAAe,SAAS,CAAC"}
@@ -1314,7 +1314,6 @@ export declare const schemas: {
1314
1314
  clientFeaturesQuerySchema: {
1315
1315
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
1316
1316
  readonly type: "object";
1317
- readonly required: readonly [];
1318
1317
  readonly additionalProperties: false;
1319
1318
  readonly properties: {
1320
1319
  readonly tag: {
@@ -1686,7 +1685,6 @@ export declare const schemas: {
1686
1685
  readonly clientFeaturesQuerySchema: {
1687
1686
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
1688
1687
  readonly type: "object";
1689
- readonly required: readonly [];
1690
1688
  readonly additionalProperties: false;
1691
1689
  readonly properties: {
1692
1690
  readonly tag: {
@@ -2554,34 +2552,6 @@ export declare const schemas: {
2554
2552
  };
2555
2553
  };
2556
2554
  };
2557
- exportParametersSchema: {
2558
- readonly $id: "#/components/schemas/exportParametersSchema";
2559
- readonly type: "object";
2560
- readonly properties: {
2561
- readonly format: {
2562
- readonly type: "string";
2563
- };
2564
- readonly download: {
2565
- readonly type: "boolean";
2566
- };
2567
- readonly strategies: {
2568
- readonly type: "boolean";
2569
- };
2570
- readonly featureToggles: {
2571
- readonly type: "boolean";
2572
- };
2573
- readonly projects: {
2574
- readonly type: "boolean";
2575
- };
2576
- readonly tags: {
2577
- readonly type: "boolean";
2578
- };
2579
- readonly environments: {
2580
- readonly type: "boolean";
2581
- };
2582
- };
2583
- readonly components: {};
2584
- };
2585
2555
  featureEnvironmentMetricsSchema: {
2586
2556
  readonly $id: "#/components/schemas/featureEnvironmentMetricsSchema";
2587
2557
  readonly type: "object";
@@ -4023,7 +3993,6 @@ export declare const schemas: {
4023
3993
  readonly $id: "#/components/schemas/feedbackSchema";
4024
3994
  readonly type: "object";
4025
3995
  readonly additionalProperties: false;
4026
- readonly required: readonly [];
4027
3996
  readonly properties: {
4028
3997
  readonly userId: {
4029
3998
  readonly type: "number";
@@ -5821,7 +5790,6 @@ export declare const schemas: {
5821
5790
  readonly $id: "#/components/schemas/feedbackSchema";
5822
5791
  readonly type: "object";
5823
5792
  readonly additionalProperties: false;
5824
- readonly required: readonly [];
5825
5793
  readonly properties: {
5826
5794
  readonly userId: {
5827
5795
  readonly type: "number";
@@ -5972,15 +5940,15 @@ export declare const schemas: {
5972
5940
  readonly properties: {
5973
5941
  readonly name: {
5974
5942
  readonly type: "string";
5975
- readonly examples: readonly ["my-feature"];
5943
+ readonly example: "my-feature";
5976
5944
  };
5977
5945
  readonly projectId: {
5978
5946
  readonly type: "string";
5979
- readonly examples: readonly ["my-project"];
5947
+ readonly example: "my-project";
5980
5948
  };
5981
5949
  readonly isEnabled: {
5982
5950
  readonly type: "boolean";
5983
- readonly examples: readonly [true];
5951
+ readonly example: true;
5984
5952
  };
5985
5953
  readonly variant: {
5986
5954
  readonly type: "object";
@@ -6009,7 +5977,10 @@ export declare const schemas: {
6009
5977
  };
6010
5978
  };
6011
5979
  readonly nullable: true;
6012
- readonly examples: readonly ["green"];
5980
+ readonly example: {
5981
+ readonly name: "green";
5982
+ readonly enabled: true;
5983
+ };
6013
5984
  };
6014
5985
  readonly variants: {
6015
5986
  readonly type: "array";
@@ -6109,7 +6080,7 @@ export declare const schemas: {
6109
6080
  readonly properties: {
6110
6081
  readonly environment: {
6111
6082
  readonly type: "string";
6112
- readonly examples: readonly ["development"];
6083
+ readonly example: "development";
6113
6084
  };
6114
6085
  readonly projects: {
6115
6086
  readonly oneOf: readonly [{
@@ -6117,7 +6088,7 @@ export declare const schemas: {
6117
6088
  readonly items: {
6118
6089
  readonly type: "string";
6119
6090
  };
6120
- readonly examples: readonly ["my-project", "my-other-project"];
6091
+ readonly example: readonly ["my-project"];
6121
6092
  readonly description: "A list of projects to check for toggles in.";
6122
6093
  }, {
6123
6094
  readonly type: "string";
@@ -6137,19 +6108,19 @@ export declare const schemas: {
6137
6108
  readonly type: "object";
6138
6109
  readonly additionalProperties: {
6139
6110
  readonly type: "string";
6140
- readonly examples: readonly ["top-level custom context value"];
6111
+ readonly example: "top-level custom context value";
6141
6112
  };
6142
6113
  readonly required: readonly ["appName"];
6143
6114
  readonly properties: {
6144
6115
  readonly appName: {
6145
6116
  readonly type: "string";
6146
6117
  readonly minLength: 1;
6147
- readonly examples: readonly ["My cool application."];
6118
+ readonly example: "My cool application.";
6148
6119
  };
6149
6120
  readonly currentTime: {
6150
6121
  readonly type: "string";
6151
6122
  readonly format: "date-time";
6152
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6123
+ readonly example: "2022-07-05T12:56:41+02:00";
6153
6124
  };
6154
6125
  readonly environment: {
6155
6126
  readonly type: "string";
@@ -6160,22 +6131,22 @@ export declare const schemas: {
6160
6131
  readonly additionalProperties: {
6161
6132
  readonly type: "string";
6162
6133
  };
6163
- readonly examples: readonly [{
6134
+ readonly example: {
6164
6135
  readonly customContextField: "this is one!";
6165
- readonly otherCustomField: 3;
6166
- }];
6136
+ readonly otherCustomField: "3";
6137
+ };
6167
6138
  };
6168
6139
  readonly remoteAddress: {
6169
6140
  readonly type: "string";
6170
- readonly examples: readonly ["192.168.1.1"];
6141
+ readonly example: "192.168.1.1";
6171
6142
  };
6172
6143
  readonly sessionId: {
6173
6144
  readonly type: "string";
6174
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6145
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6175
6146
  };
6176
6147
  readonly userId: {
6177
6148
  readonly type: "string";
6178
- readonly examples: readonly ["username@provider.com"];
6149
+ readonly example: "username@provider.com";
6179
6150
  };
6180
6151
  };
6181
6152
  readonly components: {};
@@ -6211,15 +6182,15 @@ export declare const schemas: {
6211
6182
  readonly properties: {
6212
6183
  readonly name: {
6213
6184
  readonly type: "string";
6214
- readonly examples: readonly ["my-feature"];
6185
+ readonly example: "my-feature";
6215
6186
  };
6216
6187
  readonly projectId: {
6217
6188
  readonly type: "string";
6218
- readonly examples: readonly ["my-project"];
6189
+ readonly example: "my-project";
6219
6190
  };
6220
6191
  readonly isEnabled: {
6221
6192
  readonly type: "boolean";
6222
- readonly examples: readonly [true];
6193
+ readonly example: true;
6223
6194
  };
6224
6195
  readonly variant: {
6225
6196
  readonly type: "object";
@@ -6248,7 +6219,10 @@ export declare const schemas: {
6248
6219
  };
6249
6220
  };
6250
6221
  readonly nullable: true;
6251
- readonly examples: readonly ["green"];
6222
+ readonly example: {
6223
+ readonly name: "green";
6224
+ readonly enabled: true;
6225
+ };
6252
6226
  };
6253
6227
  readonly variants: {
6254
6228
  readonly type: "array";
@@ -6348,7 +6322,7 @@ export declare const schemas: {
6348
6322
  readonly properties: {
6349
6323
  readonly environment: {
6350
6324
  readonly type: "string";
6351
- readonly examples: readonly ["development"];
6325
+ readonly example: "development";
6352
6326
  };
6353
6327
  readonly projects: {
6354
6328
  readonly oneOf: readonly [{
@@ -6356,7 +6330,7 @@ export declare const schemas: {
6356
6330
  readonly items: {
6357
6331
  readonly type: "string";
6358
6332
  };
6359
- readonly examples: readonly ["my-project", "my-other-project"];
6333
+ readonly example: readonly ["my-project"];
6360
6334
  readonly description: "A list of projects to check for toggles in.";
6361
6335
  }, {
6362
6336
  readonly type: "string";
@@ -6376,19 +6350,19 @@ export declare const schemas: {
6376
6350
  readonly type: "object";
6377
6351
  readonly additionalProperties: {
6378
6352
  readonly type: "string";
6379
- readonly examples: readonly ["top-level custom context value"];
6353
+ readonly example: "top-level custom context value";
6380
6354
  };
6381
6355
  readonly required: readonly ["appName"];
6382
6356
  readonly properties: {
6383
6357
  readonly appName: {
6384
6358
  readonly type: "string";
6385
6359
  readonly minLength: 1;
6386
- readonly examples: readonly ["My cool application."];
6360
+ readonly example: "My cool application.";
6387
6361
  };
6388
6362
  readonly currentTime: {
6389
6363
  readonly type: "string";
6390
6364
  readonly format: "date-time";
6391
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6365
+ readonly example: "2022-07-05T12:56:41+02:00";
6392
6366
  };
6393
6367
  readonly environment: {
6394
6368
  readonly type: "string";
@@ -6399,22 +6373,22 @@ export declare const schemas: {
6399
6373
  readonly additionalProperties: {
6400
6374
  readonly type: "string";
6401
6375
  };
6402
- readonly examples: readonly [{
6376
+ readonly example: {
6403
6377
  readonly customContextField: "this is one!";
6404
- readonly otherCustomField: 3;
6405
- }];
6378
+ readonly otherCustomField: "3";
6379
+ };
6406
6380
  };
6407
6381
  readonly remoteAddress: {
6408
6382
  readonly type: "string";
6409
- readonly examples: readonly ["192.168.1.1"];
6383
+ readonly example: "192.168.1.1";
6410
6384
  };
6411
6385
  readonly sessionId: {
6412
6386
  readonly type: "string";
6413
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6387
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6414
6388
  };
6415
6389
  readonly userId: {
6416
6390
  readonly type: "string";
6417
- readonly examples: readonly ["username@provider.com"];
6391
+ readonly example: "username@provider.com";
6418
6392
  };
6419
6393
  };
6420
6394
  readonly components: {};
@@ -6428,19 +6402,19 @@ export declare const schemas: {
6428
6402
  readonly type: "object";
6429
6403
  readonly additionalProperties: {
6430
6404
  readonly type: "string";
6431
- readonly examples: readonly ["top-level custom context value"];
6405
+ readonly example: "top-level custom context value";
6432
6406
  };
6433
6407
  readonly required: readonly ["appName"];
6434
6408
  readonly properties: {
6435
6409
  readonly appName: {
6436
6410
  readonly type: "string";
6437
6411
  readonly minLength: 1;
6438
- readonly examples: readonly ["My cool application."];
6412
+ readonly example: "My cool application.";
6439
6413
  };
6440
6414
  readonly currentTime: {
6441
6415
  readonly type: "string";
6442
6416
  readonly format: "date-time";
6443
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6417
+ readonly example: "2022-07-05T12:56:41+02:00";
6444
6418
  };
6445
6419
  readonly environment: {
6446
6420
  readonly type: "string";
@@ -6451,22 +6425,22 @@ export declare const schemas: {
6451
6425
  readonly additionalProperties: {
6452
6426
  readonly type: "string";
6453
6427
  };
6454
- readonly examples: readonly [{
6428
+ readonly example: {
6455
6429
  readonly customContextField: "this is one!";
6456
- readonly otherCustomField: 3;
6457
- }];
6430
+ readonly otherCustomField: "3";
6431
+ };
6458
6432
  };
6459
6433
  readonly remoteAddress: {
6460
6434
  readonly type: "string";
6461
- readonly examples: readonly ["192.168.1.1"];
6435
+ readonly example: "192.168.1.1";
6462
6436
  };
6463
6437
  readonly sessionId: {
6464
6438
  readonly type: "string";
6465
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6439
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6466
6440
  };
6467
6441
  readonly userId: {
6468
6442
  readonly type: "string";
6469
- readonly examples: readonly ["username@provider.com"];
6443
+ readonly example: "username@provider.com";
6470
6444
  };
6471
6445
  };
6472
6446
  readonly components: {};
@@ -6696,19 +6670,19 @@ export declare const schemas: {
6696
6670
  readonly type: "object";
6697
6671
  readonly additionalProperties: {
6698
6672
  readonly type: "string";
6699
- readonly examples: readonly ["top-level custom context value"];
6673
+ readonly example: "top-level custom context value";
6700
6674
  };
6701
6675
  readonly required: readonly ["appName"];
6702
6676
  readonly properties: {
6703
6677
  readonly appName: {
6704
6678
  readonly type: "string";
6705
6679
  readonly minLength: 1;
6706
- readonly examples: readonly ["My cool application."];
6680
+ readonly example: "My cool application.";
6707
6681
  };
6708
6682
  readonly currentTime: {
6709
6683
  readonly type: "string";
6710
6684
  readonly format: "date-time";
6711
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6685
+ readonly example: "2022-07-05T12:56:41+02:00";
6712
6686
  };
6713
6687
  readonly environment: {
6714
6688
  readonly type: "string";
@@ -6719,22 +6693,22 @@ export declare const schemas: {
6719
6693
  readonly additionalProperties: {
6720
6694
  readonly type: "string";
6721
6695
  };
6722
- readonly examples: readonly [{
6696
+ readonly example: {
6723
6697
  readonly customContextField: "this is one!";
6724
- readonly otherCustomField: 3;
6725
- }];
6698
+ readonly otherCustomField: "3";
6699
+ };
6726
6700
  };
6727
6701
  readonly remoteAddress: {
6728
6702
  readonly type: "string";
6729
- readonly examples: readonly ["192.168.1.1"];
6703
+ readonly example: "192.168.1.1";
6730
6704
  };
6731
6705
  readonly sessionId: {
6732
6706
  readonly type: "string";
6733
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6707
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6734
6708
  };
6735
6709
  readonly userId: {
6736
6710
  readonly type: "string";
6737
- readonly examples: readonly ["username@provider.com"];
6711
+ readonly example: "username@provider.com";
6738
6712
  };
6739
6713
  };
6740
6714
  readonly components: {};
@@ -8192,7 +8166,7 @@ export declare const schemas: {
8192
8166
  updateUserSchema: {
8193
8167
  readonly $id: "#/components/schemas/updateUserSchema";
8194
8168
  readonly type: "object";
8195
- readonly additionalProperties: false;
8169
+ readonly additionalProperties: true;
8196
8170
  readonly properties: {
8197
8171
  readonly email: {
8198
8172
  readonly type: "string";
@@ -31,7 +31,6 @@ const environment_schema_1 = require("./spec/environment-schema");
31
31
  const environments_schema_1 = require("./spec/environments-schema");
32
32
  const event_schema_1 = require("./spec/event-schema");
33
33
  const events_schema_1 = require("./spec/events-schema");
34
- const export_parameters_schema_1 = require("./spec/export-parameters-schema");
35
34
  const feature_environment_metrics_schema_1 = require("./spec/feature-environment-metrics-schema");
36
35
  const feature_environment_schema_1 = require("./spec/feature-environment-schema");
37
36
  const feature_events_schema_1 = require("./spec/feature-events-schema");
@@ -137,7 +136,6 @@ exports.schemas = {
137
136
  environmentsSchema: environments_schema_1.environmentsSchema,
138
137
  eventSchema: event_schema_1.eventSchema,
139
138
  eventsSchema: events_schema_1.eventsSchema,
140
- exportParametersSchema: export_parameters_schema_1.exportParametersSchema,
141
139
  featureEnvironmentMetricsSchema: feature_environment_metrics_schema_1.featureEnvironmentMetricsSchema,
142
140
  featureEnvironmentSchema: feature_environment_schema_1.featureEnvironmentSchema,
143
141
  featureEventsSchema: feature_events_schema_1.featureEventsSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/openapi/index.ts"],"names":[],"mappings":";;;AAEA,0EAAqE;AACrE,sDAAkD;AAClD,wDAAoD;AACpD,gEAA2D;AAC3D,8DAAyD;AACzD,gEAA2D;AAC3D,kEAA8D;AAC9D,oEAAgE;AAChE,oEAA+D;AAC/D,0EAAqE;AACrE,gFAA2E;AAC3E,wEAAmE;AACnE,sFAAgF;AAChF,0EAAqE;AACrE,wEAAmE;AACnE,wEAAmE;AACnE,sEAAiE;AACjE,gEAA4D;AAC5D,sEAAiE;AACjE,wEAAmE;AACnE,4EAAsE;AACtE,wEAAmE;AACnE,0FAAoF;AACpF,kEAA6D;AAC7D,oDAAgD;AAChD,sDAAkD;AAClD,kEAA8D;AAC9D,oEAAgE;AAChE,sDAAkD;AAClD,wDAAoD;AACpD,8EAAyE;AACzE,kGAA4F;AAC5F,kFAA6E;AAC7E,wEAAmE;AACnE,0EAAqE;AACrE,0DAAsD;AACtD,4DAAwD;AACxD,4EAAuE;AACvE,4FAAsF;AACtF,kE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;oBACZ,IAAI,EAAE,eAAe;iBACxB;aACJ;YACD,OAAO,EAAE,IAAA,sBAAS,EAAC,eAAO,EAAE,6BAAqB,CAAC;SACrD;KACJ,CAAC;AACN,CAAC,CAAC;AA3BW,QAAA,mBAAmB,uBA2B9B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/openapi/index.ts"],"names":[],"mappings":";;;AAEA,0EAAqE;AACrE,sDAAkD;AAClD,wDAAoD;AACpD,gEAA2D;AAC3D,8DAAyD;AACzD,gEAA2D;AAC3D,kEAA8D;AAC9D,oEAAgE;AAChE,oEAA+D;AAC/D,0EAAqE;AACrE,gFAA2E;AAC3E,wEAAmE;AACnE,sFAAgF;AAChF,0EAAqE;AACrE,wEAAmE;AACnE,wEAAmE;AACnE,sEAAiE;AACjE,gEAA4D;AAC5D,sEAAiE;AACjE,wEAAmE;AACnE,4EAAsE;AACtE,wEAAmE;AACnE,0FAAoF;AACpF,kEAA6D;AAC7D,oDAAgD;AAChD,sDAAkD;AAClD,kEAA8D;AAC9D,oEAAgE;AAChE,sDAAkD;AAClD,wDAAoD;AACpD,kGAA4F;AAC5F,kFAA6E;AAC7E,wEAAmE;AACnE,0EAAqE;AACrE,0DAAsD;AACtD,4DAAwD;AACxD,4EAAuE;AACvE,4FAAsF;AACtF,kEAA6D;AAC7D,oEAA+D;AAC/D,sEAAiE;AACjE,sEAAiE;AACjE,4EAAuE;AACvE,4DAAwD;AACxD,oEAA+D;AAC/D,0EAAqE;AACrE,sEAAiE;AACjE,gDAA4C;AAC5C,kEAA6D;AAC7D,sDAAkD;AAClD,mDAA+C;AAC/C,gDAA4C;AAC5C,oDAAgD;AAChD,iDAA6C;AAC7C,4DAAwD;AACxD,gEAA4D;AAC5D,4DAAwD;AACxD,0DAAsD;AACtD,sDAAkD;AAClD,gEAA4D;AAC5D,gFAA2E;AAC3E,gFAA2E;AAC3E,kFAA6E;AAC7E,kFAA6E;AAC7E,0DAAsD;AACtD,4DAAwD;AACx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SAAG,CAAC,UAAU,CAAC,CAAC;IACpC,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;QAC5C,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,IAAI,EAAE,CAAC;KACjD;IACD,OAAO,OAAO,CAAC,QAAQ,EAAE,CAAC;AAC9B,CAAC,CAAC;AAEK,MAAM,mBAAmB,GAAG,CAAC,EAChC,UAAU,EACV,WAAW,GACqC,EAGlD,EAAE;IACA,MAAM,GAAG,GAAG,WAAW,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IACjD,OAAO;QACH,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;QAC7B,IAAI,EAAE;YACF,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,mBAAoB;SAC5C;QACD,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;QAC1B,UAAU,EAAE;YACR,eAAe,EAAE;gBACb,MAAM,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,EAAE,EAAE,QAAQ;oBACZ,IAAI,EAAE,eAAe;iBACxB;aACJ;YACD,OAAO,EAAE,IAAA,sBAAS,EAAC,eAAO,EAAE,6BAAqB,CAAC;SACrD;KACJ,CAAC;AACN,CAAC,CAAC;AA3BW,QAAA,mBAAmB,uBA2B9B"}
@@ -2,7 +2,6 @@ import { FromSchema } from 'json-schema-to-ts';
2
2
  export declare const clientFeaturesQuerySchema: {
3
3
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
4
4
  readonly type: "object";
5
- readonly required: readonly [];
6
5
  readonly additionalProperties: false;
7
6
  readonly properties: {
8
7
  readonly tag: {
@@ -4,7 +4,6 @@ exports.clientFeaturesQuerySchema = void 0;
4
4
  exports.clientFeaturesQuerySchema = {
5
5
  $id: '#/components/schemas/clientFeaturesQuerySchema',
6
6
  type: 'object',
7
- required: [],
8
7
  additionalProperties: false,
9
8
  properties: {
10
9
  tag: {
@@ -1 +1 @@
1
- {"version":3,"file":"client-features-query-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/client-features-query-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,gDAAgD;IACrD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACR,GAAG,EAAE;YACD,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACH,IAAI,EAAE,QAAQ;iBACjB;aACJ;SACJ;QACD,OAAO,EAAE;YACL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;SACjB;QACD,wBAAwB,EAAE;YACtB,IAAI,EAAE,SAAS;SAClB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
1
+ {"version":3,"file":"client-features-query-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/client-features-query-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,gDAAgD;IACrD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACR,GAAG,EAAE;YACD,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACH,IAAI,EAAE,QAAQ;iBACjB;aACJ;SACJ;QACD,OAAO,EAAE;YACL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;SACjB;QACD,wBAAwB,EAAE;YACtB,IAAI,EAAE,SAAS;SAClB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
@@ -341,7 +341,6 @@ export declare const clientFeaturesSchema: {
341
341
  readonly clientFeaturesQuerySchema: {
342
342
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
343
343
  readonly type: "object";
344
- readonly required: readonly [];
345
344
  readonly additionalProperties: false;
346
345
  readonly properties: {
347
346
  readonly tag: {
@@ -0,0 +1,102 @@
1
+ import { FromQueryParams } from '../util/from-query-params';
2
+ export declare const exportQueryParameters: readonly [{
3
+ readonly name: "format";
4
+ readonly schema: {
5
+ readonly type: "string";
6
+ readonly enum: readonly ["json", "yaml"];
7
+ readonly default: "json";
8
+ };
9
+ readonly description: "Desired export format. Must be either `json` or `yaml`.";
10
+ readonly in: "query";
11
+ }, {
12
+ readonly name: "download";
13
+ readonly schema: {
14
+ readonly default: false;
15
+ readonly anyOf: readonly [{
16
+ readonly type: "boolean";
17
+ }, {
18
+ readonly type: "string";
19
+ readonly minLength: 1;
20
+ }, {
21
+ readonly type: "number";
22
+ }];
23
+ };
24
+ readonly description: "Whether exported data should be downloaded as a file.";
25
+ readonly in: "query";
26
+ }, {
27
+ readonly name: "strategies";
28
+ readonly schema: {
29
+ readonly default: true;
30
+ readonly anyOf: readonly [{
31
+ readonly type: "boolean";
32
+ }, {
33
+ readonly type: "string";
34
+ readonly minLength: 1;
35
+ }, {
36
+ readonly type: "number";
37
+ }];
38
+ };
39
+ readonly description: "Whether strategies should be included in the exported data.";
40
+ readonly in: "query";
41
+ }, {
42
+ readonly name: "featureToggles";
43
+ readonly schema: {
44
+ readonly anyOf: readonly [{
45
+ readonly type: "boolean";
46
+ }, {
47
+ readonly type: "string";
48
+ readonly minLength: 1;
49
+ }, {
50
+ readonly type: "number";
51
+ }];
52
+ readonly default: true;
53
+ };
54
+ readonly description: "Whether feature toggles should be included in the exported data.";
55
+ readonly in: "query";
56
+ }, {
57
+ readonly name: "projects";
58
+ readonly schema: {
59
+ readonly anyOf: readonly [{
60
+ readonly type: "boolean";
61
+ }, {
62
+ readonly type: "string";
63
+ readonly minLength: 1;
64
+ }, {
65
+ readonly type: "number";
66
+ }];
67
+ readonly default: true;
68
+ };
69
+ readonly description: "Whether projects should be included in the exported data.";
70
+ readonly in: "query";
71
+ }, {
72
+ readonly name: "tags";
73
+ readonly schema: {
74
+ readonly anyOf: readonly [{
75
+ readonly type: "boolean";
76
+ }, {
77
+ readonly type: "string";
78
+ readonly minLength: 1;
79
+ }, {
80
+ readonly type: "number";
81
+ }];
82
+ readonly default: true;
83
+ };
84
+ readonly description: "Whether tag types, tags, and feature_tags should be included in the exported data.";
85
+ readonly in: "query";
86
+ }, {
87
+ readonly name: "environments";
88
+ readonly schema: {
89
+ readonly anyOf: readonly [{
90
+ readonly type: "boolean";
91
+ }, {
92
+ readonly type: "string";
93
+ readonly minLength: 1;
94
+ }, {
95
+ readonly type: "number";
96
+ }];
97
+ readonly default: true;
98
+ };
99
+ readonly description: "Whether environments should be included in the exported data.";
100
+ readonly in: "query";
101
+ }];
102
+ export declare type ExportQueryParameters = FromQueryParams<typeof exportQueryParameters>;