unleash-server 4.14.0-beta.4 → 4.14.2

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 (55) 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 +77 -112
  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-feature-schema.d.ts +6 -0
  7. package/dist/lib/openapi/spec/client-features-query-schema.d.ts +0 -1
  8. package/dist/lib/openapi/spec/client-features-query-schema.js +0 -1
  9. package/dist/lib/openapi/spec/client-features-query-schema.js.map +1 -1
  10. package/dist/lib/openapi/spec/client-features-schema.d.ts +10 -32
  11. package/dist/lib/openapi/spec/client-features-schema.js +2 -2
  12. package/dist/lib/openapi/spec/client-features-schema.js.map +1 -1
  13. package/dist/lib/openapi/spec/client-features-schema.test.js +335 -316
  14. package/dist/lib/openapi/spec/client-features-schema.test.js.map +1 -1
  15. package/dist/lib/openapi/spec/client-variant-schema.d.ts +6 -0
  16. package/dist/lib/openapi/spec/client-variant-schema.js +6 -0
  17. package/dist/lib/openapi/spec/client-variant-schema.js.map +1 -1
  18. package/dist/lib/openapi/spec/export-query-parameters.d.ts +102 -0
  19. package/dist/lib/openapi/spec/export-query-parameters.js +136 -0
  20. package/dist/lib/openapi/spec/export-query-parameters.js.map +1 -0
  21. package/dist/lib/openapi/spec/feedback-schema.d.ts +0 -1
  22. package/dist/lib/openapi/spec/feedback-schema.js +0 -1
  23. package/dist/lib/openapi/spec/feedback-schema.js.map +1 -1
  24. package/dist/lib/openapi/spec/me-schema.d.ts +0 -1
  25. package/dist/lib/openapi/spec/playground-feature-schema.d.ts +7 -4
  26. package/dist/lib/openapi/spec/playground-feature-schema.js +4 -4
  27. package/dist/lib/openapi/spec/playground-feature-schema.js.map +1 -1
  28. package/dist/lib/openapi/spec/playground-request-schema.d.ts +11 -11
  29. package/dist/lib/openapi/spec/playground-request-schema.js +2 -2
  30. package/dist/lib/openapi/spec/playground-request-schema.js.map +1 -1
  31. package/dist/lib/openapi/spec/playground-response-schema.d.ts +27 -24
  32. package/dist/lib/openapi/spec/sdk-context-schema.d.ts +9 -9
  33. package/dist/lib/openapi/spec/sdk-context-schema.js +10 -12
  34. package/dist/lib/openapi/spec/sdk-context-schema.js.map +1 -1
  35. package/dist/lib/openapi/spec/update-user-schema.d.ts +1 -1
  36. package/dist/lib/openapi/spec/update-user-schema.js +1 -1
  37. package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
  38. package/dist/lib/openapi/util/from-query-params.d.ts +15 -0
  39. package/dist/lib/openapi/util/from-query-params.js +3 -0
  40. package/dist/lib/openapi/util/from-query-params.js.map +1 -0
  41. package/dist/lib/openapi/validate.js +3 -0
  42. package/dist/lib/openapi/validate.js.map +1 -1
  43. package/dist/lib/routes/admin-api/state.d.ts +2 -2
  44. package/dist/lib/routes/admin-api/state.js +2 -5
  45. package/dist/lib/routes/admin-api/state.js.map +1 -1
  46. package/dist/lib/services/feature-toggle-service.js +1 -3
  47. package/dist/lib/services/feature-toggle-service.js.map +1 -1
  48. package/dist/lib/services/openapi-service.js +1 -1
  49. package/dist/lib/services/openapi-service.js.map +1 -1
  50. package/dist/test/e2e/api/openapi/openapi.e2e.test.js +16 -0
  51. package/dist/test/e2e/api/openapi/openapi.e2e.test.js.map +1 -1
  52. package/package.json +11 -9
  53. package/dist/lib/openapi/spec/export-parameters-schema.d.ts +0 -30
  54. package/dist/lib/openapi/spec/export-parameters-schema.js +0 -32
  55. 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,EAAC,yBAAO,CAAC,CAAC;IACnD,IAAI,EAAE,EAAE;QACJ,KAAK,GAAG,IAAI,gBAAgB,CAAC;YACzB,SAAS,EAAE,iBAAiB;YAC5B,WAAW,EAAE,KAAK;YAClB,mBAAmB;YACnB,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"}
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,EAAC,yBAAO,CAAC,CAAC;IACnD,IAAI,EAAE,EAAE;QACJ,KAAK,GAAG,IAAI,gBAAgB,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"}
@@ -1293,6 +1293,12 @@ export declare const schemas: {
1293
1293
  readonly weight: {
1294
1294
  readonly type: "number";
1295
1295
  };
1296
+ readonly weightType: {
1297
+ readonly type: "string";
1298
+ };
1299
+ readonly stickiness: {
1300
+ readonly type: "string";
1301
+ };
1296
1302
  readonly payload: {
1297
1303
  readonly type: "object";
1298
1304
  readonly required: readonly ["type", "value"];
@@ -1314,7 +1320,6 @@ export declare const schemas: {
1314
1320
  clientFeaturesQuerySchema: {
1315
1321
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
1316
1322
  readonly type: "object";
1317
- readonly required: readonly [];
1318
1323
  readonly additionalProperties: false;
1319
1324
  readonly properties: {
1320
1325
  readonly tag: {
@@ -1582,6 +1587,12 @@ export declare const schemas: {
1582
1587
  readonly weight: {
1583
1588
  readonly type: "number";
1584
1589
  };
1590
+ readonly weightType: {
1591
+ readonly type: "string";
1592
+ };
1593
+ readonly stickiness: {
1594
+ readonly type: "string";
1595
+ };
1585
1596
  readonly payload: {
1586
1597
  readonly type: "object";
1587
1598
  readonly required: readonly ["type", "value"];
@@ -1686,7 +1697,6 @@ export declare const schemas: {
1686
1697
  readonly clientFeaturesQuerySchema: {
1687
1698
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
1688
1699
  readonly type: "object";
1689
- readonly required: readonly [];
1690
1700
  readonly additionalProperties: false;
1691
1701
  readonly properties: {
1692
1702
  readonly tag: {
@@ -1817,11 +1827,11 @@ export declare const schemas: {
1817
1827
  };
1818
1828
  };
1819
1829
  };
1820
- readonly variantSchema: {
1821
- readonly $id: "#/components/schemas/variantSchema";
1830
+ readonly clientVariantSchema: {
1831
+ readonly $id: "#/components/schemas/clientVariantSchema";
1822
1832
  readonly type: "object";
1823
1833
  readonly additionalProperties: false;
1824
- readonly required: readonly ["name", "weight", "weightType", "stickiness"];
1834
+ readonly required: readonly ["name", "weight"];
1825
1835
  readonly properties: {
1826
1836
  readonly name: {
1827
1837
  readonly type: "string";
@@ -1847,35 +1857,8 @@ export declare const schemas: {
1847
1857
  };
1848
1858
  };
1849
1859
  };
1850
- readonly overrides: {
1851
- readonly type: "array";
1852
- readonly items: {
1853
- readonly $ref: "#/components/schemas/overrideSchema";
1854
- };
1855
- };
1856
- };
1857
- readonly components: {
1858
- readonly schemas: {
1859
- readonly overrideSchema: {
1860
- readonly $id: "#/components/schemas/overrideSchema";
1861
- readonly type: "object";
1862
- readonly additionalProperties: false;
1863
- readonly required: readonly ["contextName", "values"];
1864
- readonly properties: {
1865
- readonly contextName: {
1866
- readonly type: "string";
1867
- };
1868
- readonly values: {
1869
- readonly type: "array";
1870
- readonly items: {
1871
- readonly type: "string";
1872
- };
1873
- };
1874
- };
1875
- readonly components: {};
1876
- };
1877
- };
1878
1860
  };
1861
+ readonly components: {};
1879
1862
  };
1880
1863
  };
1881
1864
  };
@@ -1957,6 +1940,12 @@ export declare const schemas: {
1957
1940
  readonly weight: {
1958
1941
  readonly type: "number";
1959
1942
  };
1943
+ readonly weightType: {
1944
+ readonly type: "string";
1945
+ };
1946
+ readonly stickiness: {
1947
+ readonly type: "string";
1948
+ };
1960
1949
  readonly payload: {
1961
1950
  readonly type: "object";
1962
1951
  readonly required: readonly ["type", "value"];
@@ -2554,34 +2543,6 @@ export declare const schemas: {
2554
2543
  };
2555
2544
  };
2556
2545
  };
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
2546
  featureEnvironmentMetricsSchema: {
2586
2547
  readonly $id: "#/components/schemas/featureEnvironmentMetricsSchema";
2587
2548
  readonly type: "object";
@@ -4023,7 +3984,6 @@ export declare const schemas: {
4023
3984
  readonly $id: "#/components/schemas/feedbackSchema";
4024
3985
  readonly type: "object";
4025
3986
  readonly additionalProperties: false;
4026
- readonly required: readonly [];
4027
3987
  readonly properties: {
4028
3988
  readonly userId: {
4029
3989
  readonly type: "number";
@@ -5821,7 +5781,6 @@ export declare const schemas: {
5821
5781
  readonly $id: "#/components/schemas/feedbackSchema";
5822
5782
  readonly type: "object";
5823
5783
  readonly additionalProperties: false;
5824
- readonly required: readonly [];
5825
5784
  readonly properties: {
5826
5785
  readonly userId: {
5827
5786
  readonly type: "number";
@@ -5972,15 +5931,15 @@ export declare const schemas: {
5972
5931
  readonly properties: {
5973
5932
  readonly name: {
5974
5933
  readonly type: "string";
5975
- readonly examples: readonly ["my-feature"];
5934
+ readonly example: "my-feature";
5976
5935
  };
5977
5936
  readonly projectId: {
5978
5937
  readonly type: "string";
5979
- readonly examples: readonly ["my-project"];
5938
+ readonly example: "my-project";
5980
5939
  };
5981
5940
  readonly isEnabled: {
5982
5941
  readonly type: "boolean";
5983
- readonly examples: readonly [true];
5942
+ readonly example: true;
5984
5943
  };
5985
5944
  readonly variant: {
5986
5945
  readonly type: "object";
@@ -6009,7 +5968,10 @@ export declare const schemas: {
6009
5968
  };
6010
5969
  };
6011
5970
  readonly nullable: true;
6012
- readonly examples: readonly ["green"];
5971
+ readonly example: {
5972
+ readonly name: "green";
5973
+ readonly enabled: true;
5974
+ };
6013
5975
  };
6014
5976
  readonly variants: {
6015
5977
  readonly type: "array";
@@ -6109,7 +6071,7 @@ export declare const schemas: {
6109
6071
  readonly properties: {
6110
6072
  readonly environment: {
6111
6073
  readonly type: "string";
6112
- readonly examples: readonly ["development"];
6074
+ readonly example: "development";
6113
6075
  };
6114
6076
  readonly projects: {
6115
6077
  readonly oneOf: readonly [{
@@ -6117,7 +6079,7 @@ export declare const schemas: {
6117
6079
  readonly items: {
6118
6080
  readonly type: "string";
6119
6081
  };
6120
- readonly examples: readonly ["my-project", "my-other-project"];
6082
+ readonly example: readonly ["my-project"];
6121
6083
  readonly description: "A list of projects to check for toggles in.";
6122
6084
  }, {
6123
6085
  readonly type: "string";
@@ -6137,19 +6099,19 @@ export declare const schemas: {
6137
6099
  readonly type: "object";
6138
6100
  readonly additionalProperties: {
6139
6101
  readonly type: "string";
6140
- readonly examples: readonly ["top-level custom context value"];
6102
+ readonly example: "top-level custom context value";
6141
6103
  };
6142
6104
  readonly required: readonly ["appName"];
6143
6105
  readonly properties: {
6144
6106
  readonly appName: {
6145
6107
  readonly type: "string";
6146
6108
  readonly minLength: 1;
6147
- readonly examples: readonly ["My cool application."];
6109
+ readonly example: "My cool application.";
6148
6110
  };
6149
6111
  readonly currentTime: {
6150
6112
  readonly type: "string";
6151
6113
  readonly format: "date-time";
6152
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6114
+ readonly example: "2022-07-05T12:56:41+02:00";
6153
6115
  };
6154
6116
  readonly environment: {
6155
6117
  readonly type: "string";
@@ -6160,22 +6122,22 @@ export declare const schemas: {
6160
6122
  readonly additionalProperties: {
6161
6123
  readonly type: "string";
6162
6124
  };
6163
- readonly examples: readonly [{
6125
+ readonly example: {
6164
6126
  readonly customContextField: "this is one!";
6165
- readonly otherCustomField: 3;
6166
- }];
6127
+ readonly otherCustomField: "3";
6128
+ };
6167
6129
  };
6168
6130
  readonly remoteAddress: {
6169
6131
  readonly type: "string";
6170
- readonly examples: readonly ["192.168.1.1"];
6132
+ readonly example: "192.168.1.1";
6171
6133
  };
6172
6134
  readonly sessionId: {
6173
6135
  readonly type: "string";
6174
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6136
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6175
6137
  };
6176
6138
  readonly userId: {
6177
6139
  readonly type: "string";
6178
- readonly examples: readonly ["username@provider.com"];
6140
+ readonly example: "username@provider.com";
6179
6141
  };
6180
6142
  };
6181
6143
  readonly components: {};
@@ -6211,15 +6173,15 @@ export declare const schemas: {
6211
6173
  readonly properties: {
6212
6174
  readonly name: {
6213
6175
  readonly type: "string";
6214
- readonly examples: readonly ["my-feature"];
6176
+ readonly example: "my-feature";
6215
6177
  };
6216
6178
  readonly projectId: {
6217
6179
  readonly type: "string";
6218
- readonly examples: readonly ["my-project"];
6180
+ readonly example: "my-project";
6219
6181
  };
6220
6182
  readonly isEnabled: {
6221
6183
  readonly type: "boolean";
6222
- readonly examples: readonly [true];
6184
+ readonly example: true;
6223
6185
  };
6224
6186
  readonly variant: {
6225
6187
  readonly type: "object";
@@ -6248,7 +6210,10 @@ export declare const schemas: {
6248
6210
  };
6249
6211
  };
6250
6212
  readonly nullable: true;
6251
- readonly examples: readonly ["green"];
6213
+ readonly example: {
6214
+ readonly name: "green";
6215
+ readonly enabled: true;
6216
+ };
6252
6217
  };
6253
6218
  readonly variants: {
6254
6219
  readonly type: "array";
@@ -6348,7 +6313,7 @@ export declare const schemas: {
6348
6313
  readonly properties: {
6349
6314
  readonly environment: {
6350
6315
  readonly type: "string";
6351
- readonly examples: readonly ["development"];
6316
+ readonly example: "development";
6352
6317
  };
6353
6318
  readonly projects: {
6354
6319
  readonly oneOf: readonly [{
@@ -6356,7 +6321,7 @@ export declare const schemas: {
6356
6321
  readonly items: {
6357
6322
  readonly type: "string";
6358
6323
  };
6359
- readonly examples: readonly ["my-project", "my-other-project"];
6324
+ readonly example: readonly ["my-project"];
6360
6325
  readonly description: "A list of projects to check for toggles in.";
6361
6326
  }, {
6362
6327
  readonly type: "string";
@@ -6376,19 +6341,19 @@ export declare const schemas: {
6376
6341
  readonly type: "object";
6377
6342
  readonly additionalProperties: {
6378
6343
  readonly type: "string";
6379
- readonly examples: readonly ["top-level custom context value"];
6344
+ readonly example: "top-level custom context value";
6380
6345
  };
6381
6346
  readonly required: readonly ["appName"];
6382
6347
  readonly properties: {
6383
6348
  readonly appName: {
6384
6349
  readonly type: "string";
6385
6350
  readonly minLength: 1;
6386
- readonly examples: readonly ["My cool application."];
6351
+ readonly example: "My cool application.";
6387
6352
  };
6388
6353
  readonly currentTime: {
6389
6354
  readonly type: "string";
6390
6355
  readonly format: "date-time";
6391
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6356
+ readonly example: "2022-07-05T12:56:41+02:00";
6392
6357
  };
6393
6358
  readonly environment: {
6394
6359
  readonly type: "string";
@@ -6399,22 +6364,22 @@ export declare const schemas: {
6399
6364
  readonly additionalProperties: {
6400
6365
  readonly type: "string";
6401
6366
  };
6402
- readonly examples: readonly [{
6367
+ readonly example: {
6403
6368
  readonly customContextField: "this is one!";
6404
- readonly otherCustomField: 3;
6405
- }];
6369
+ readonly otherCustomField: "3";
6370
+ };
6406
6371
  };
6407
6372
  readonly remoteAddress: {
6408
6373
  readonly type: "string";
6409
- readonly examples: readonly ["192.168.1.1"];
6374
+ readonly example: "192.168.1.1";
6410
6375
  };
6411
6376
  readonly sessionId: {
6412
6377
  readonly type: "string";
6413
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6378
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6414
6379
  };
6415
6380
  readonly userId: {
6416
6381
  readonly type: "string";
6417
- readonly examples: readonly ["username@provider.com"];
6382
+ readonly example: "username@provider.com";
6418
6383
  };
6419
6384
  };
6420
6385
  readonly components: {};
@@ -6428,19 +6393,19 @@ export declare const schemas: {
6428
6393
  readonly type: "object";
6429
6394
  readonly additionalProperties: {
6430
6395
  readonly type: "string";
6431
- readonly examples: readonly ["top-level custom context value"];
6396
+ readonly example: "top-level custom context value";
6432
6397
  };
6433
6398
  readonly required: readonly ["appName"];
6434
6399
  readonly properties: {
6435
6400
  readonly appName: {
6436
6401
  readonly type: "string";
6437
6402
  readonly minLength: 1;
6438
- readonly examples: readonly ["My cool application."];
6403
+ readonly example: "My cool application.";
6439
6404
  };
6440
6405
  readonly currentTime: {
6441
6406
  readonly type: "string";
6442
6407
  readonly format: "date-time";
6443
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6408
+ readonly example: "2022-07-05T12:56:41+02:00";
6444
6409
  };
6445
6410
  readonly environment: {
6446
6411
  readonly type: "string";
@@ -6451,22 +6416,22 @@ export declare const schemas: {
6451
6416
  readonly additionalProperties: {
6452
6417
  readonly type: "string";
6453
6418
  };
6454
- readonly examples: readonly [{
6419
+ readonly example: {
6455
6420
  readonly customContextField: "this is one!";
6456
- readonly otherCustomField: 3;
6457
- }];
6421
+ readonly otherCustomField: "3";
6422
+ };
6458
6423
  };
6459
6424
  readonly remoteAddress: {
6460
6425
  readonly type: "string";
6461
- readonly examples: readonly ["192.168.1.1"];
6426
+ readonly example: "192.168.1.1";
6462
6427
  };
6463
6428
  readonly sessionId: {
6464
6429
  readonly type: "string";
6465
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6430
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6466
6431
  };
6467
6432
  readonly userId: {
6468
6433
  readonly type: "string";
6469
- readonly examples: readonly ["username@provider.com"];
6434
+ readonly example: "username@provider.com";
6470
6435
  };
6471
6436
  };
6472
6437
  readonly components: {};
@@ -6696,19 +6661,19 @@ export declare const schemas: {
6696
6661
  readonly type: "object";
6697
6662
  readonly additionalProperties: {
6698
6663
  readonly type: "string";
6699
- readonly examples: readonly ["top-level custom context value"];
6664
+ readonly example: "top-level custom context value";
6700
6665
  };
6701
6666
  readonly required: readonly ["appName"];
6702
6667
  readonly properties: {
6703
6668
  readonly appName: {
6704
6669
  readonly type: "string";
6705
6670
  readonly minLength: 1;
6706
- readonly examples: readonly ["My cool application."];
6671
+ readonly example: "My cool application.";
6707
6672
  };
6708
6673
  readonly currentTime: {
6709
6674
  readonly type: "string";
6710
6675
  readonly format: "date-time";
6711
- readonly examples: readonly ["2022-07-05T12:56:41+02:00"];
6676
+ readonly example: "2022-07-05T12:56:41+02:00";
6712
6677
  };
6713
6678
  readonly environment: {
6714
6679
  readonly type: "string";
@@ -6719,22 +6684,22 @@ export declare const schemas: {
6719
6684
  readonly additionalProperties: {
6720
6685
  readonly type: "string";
6721
6686
  };
6722
- readonly examples: readonly [{
6687
+ readonly example: {
6723
6688
  readonly customContextField: "this is one!";
6724
- readonly otherCustomField: 3;
6725
- }];
6689
+ readonly otherCustomField: "3";
6690
+ };
6726
6691
  };
6727
6692
  readonly remoteAddress: {
6728
6693
  readonly type: "string";
6729
- readonly examples: readonly ["192.168.1.1"];
6694
+ readonly example: "192.168.1.1";
6730
6695
  };
6731
6696
  readonly sessionId: {
6732
6697
  readonly type: "string";
6733
- readonly examples: readonly ["b65e7b23-fec0-4814-a129-0e9861ef18fc"];
6698
+ readonly example: "b65e7b23-fec0-4814-a129-0e9861ef18fc";
6734
6699
  };
6735
6700
  readonly userId: {
6736
6701
  readonly type: "string";
6737
- readonly examples: readonly ["username@provider.com"];
6702
+ readonly example: "username@provider.com";
6738
6703
  };
6739
6704
  };
6740
6705
  readonly components: {};
@@ -8192,7 +8157,7 @@ export declare const schemas: {
8192
8157
  updateUserSchema: {
8193
8158
  readonly $id: "#/components/schemas/updateUserSchema";
8194
8159
  readonly type: "object";
8195
- readonly additionalProperties: false;
8160
+ readonly additionalProperties: true;
8196
8161
  readonly properties: {
8197
8162
  readonly email: {
8198
8163
  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,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;AACxD,wEAAmE;AACnE,oDAAgD;AAChD,kEAA6D;AAC7D,0DAAsD;AACtD,0FAAmF;AACnF,gEAA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,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"}
@@ -180,6 +180,12 @@ export declare const clientFeatureSchema: {
180
180
  readonly weight: {
181
181
  readonly type: "number";
182
182
  };
183
+ readonly weightType: {
184
+ readonly type: "string";
185
+ };
186
+ readonly stickiness: {
187
+ readonly type: "string";
188
+ };
183
189
  readonly payload: {
184
190
  readonly type: "object";
185
191
  readonly required: readonly ["type", "value"];
@@ -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"}
@@ -237,6 +237,12 @@ export declare const clientFeaturesSchema: {
237
237
  readonly weight: {
238
238
  readonly type: "number";
239
239
  };
240
+ readonly weightType: {
241
+ readonly type: "string";
242
+ };
243
+ readonly stickiness: {
244
+ readonly type: "string";
245
+ };
240
246
  readonly payload: {
241
247
  readonly type: "object";
242
248
  readonly required: readonly ["type", "value"];
@@ -341,7 +347,6 @@ export declare const clientFeaturesSchema: {
341
347
  readonly clientFeaturesQuerySchema: {
342
348
  readonly $id: "#/components/schemas/clientFeaturesQuerySchema";
343
349
  readonly type: "object";
344
- readonly required: readonly [];
345
350
  readonly additionalProperties: false;
346
351
  readonly properties: {
347
352
  readonly tag: {
@@ -472,11 +477,11 @@ export declare const clientFeaturesSchema: {
472
477
  };
473
478
  };
474
479
  };
475
- readonly variantSchema: {
476
- readonly $id: "#/components/schemas/variantSchema";
480
+ readonly clientVariantSchema: {
481
+ readonly $id: "#/components/schemas/clientVariantSchema";
477
482
  readonly type: "object";
478
483
  readonly additionalProperties: false;
479
- readonly required: readonly ["name", "weight", "weightType", "stickiness"];
484
+ readonly required: readonly ["name", "weight"];
480
485
  readonly properties: {
481
486
  readonly name: {
482
487
  readonly type: "string";
@@ -502,35 +507,8 @@ export declare const clientFeaturesSchema: {
502
507
  };
503
508
  };
504
509
  };
505
- readonly overrides: {
506
- readonly type: "array";
507
- readonly items: {
508
- readonly $ref: "#/components/schemas/overrideSchema";
509
- };
510
- };
511
- };
512
- readonly components: {
513
- readonly schemas: {
514
- readonly overrideSchema: {
515
- readonly $id: "#/components/schemas/overrideSchema";
516
- readonly type: "object";
517
- readonly additionalProperties: false;
518
- readonly required: readonly ["contextName", "values"];
519
- readonly properties: {
520
- readonly contextName: {
521
- readonly type: "string";
522
- };
523
- readonly values: {
524
- readonly type: "array";
525
- readonly items: {
526
- readonly type: "string";
527
- };
528
- };
529
- };
530
- readonly components: {};
531
- };
532
- };
533
510
  };
511
+ readonly components: {};
534
512
  };
535
513
  };
536
514
  };