unleash-server 4.14.2 → 4.14.3

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 (256) hide show
  1. package/dist/lib/db/event-store.d.ts +2 -3
  2. package/dist/lib/db/event-store.js +26 -36
  3. package/dist/lib/db/event-store.js.map +1 -1
  4. package/dist/lib/db/event-store.test.js +1 -1
  5. package/dist/lib/db/event-store.test.js.map +1 -1
  6. package/dist/lib/db/feature-strategy-store.js +3 -3
  7. package/dist/lib/db/feature-strategy-store.js.map +1 -1
  8. package/dist/lib/db/feature-toggle-client-store.d.ts +1 -1
  9. package/dist/lib/db/feature-toggle-client-store.js +6 -6
  10. package/dist/lib/db/feature-toggle-client-store.js.map +1 -1
  11. package/dist/lib/db/group-store.d.ts +0 -1
  12. package/dist/lib/db/group-store.js +1 -14
  13. package/dist/lib/db/group-store.js.map +1 -1
  14. package/dist/lib/db/user-store.js +8 -1
  15. package/dist/lib/db/user-store.js.map +1 -1
  16. package/dist/lib/openapi/index.d.ts +2388 -952
  17. package/dist/lib/openapi/index.js +8 -4
  18. package/dist/lib/openapi/index.js.map +1 -1
  19. package/dist/lib/openapi/spec/client-feature-schema.d.ts +72 -7
  20. package/dist/lib/openapi/spec/client-feature-schema.js +5 -3
  21. package/dist/lib/openapi/spec/client-feature-schema.js.map +1 -1
  22. package/dist/lib/openapi/spec/client-features-schema.d.ts +138 -16
  23. package/dist/lib/openapi/spec/client-features-schema.js +2 -2
  24. package/dist/lib/openapi/spec/client-features-schema.js.map +1 -1
  25. package/dist/lib/openapi/spec/client-features-schema.test.js +10 -0
  26. package/dist/lib/openapi/spec/client-features-schema.test.js.map +1 -1
  27. package/dist/lib/openapi/spec/constraint-schema.d.ts +51 -2
  28. package/dist/lib/openapi/spec/constraint-schema.js +17 -4
  29. package/dist/lib/openapi/spec/constraint-schema.js.map +1 -1
  30. package/dist/lib/openapi/spec/context-field-schema.test.js +5 -1
  31. package/dist/lib/openapi/spec/context-field-schema.test.js.map +1 -1
  32. package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts +12 -2
  33. package/dist/lib/openapi/spec/feature-environment-schema.d.ts +12 -2
  34. package/dist/lib/openapi/spec/feature-events-schema.d.ts +1 -1
  35. package/dist/lib/openapi/spec/feature-events-schema.js +1 -1
  36. package/dist/lib/openapi/spec/feature-events-schema.js.map +1 -1
  37. package/dist/lib/openapi/spec/feature-schema.d.ts +25 -5
  38. package/dist/lib/openapi/spec/feature-schema.test.js +13 -1
  39. package/dist/lib/openapi/spec/feature-schema.test.js.map +1 -1
  40. package/dist/lib/openapi/spec/feature-strategy-schema.d.ts +12 -2
  41. package/dist/lib/openapi/spec/feature-variants-schema.d.ts +1 -1
  42. package/dist/lib/openapi/spec/features-schema.d.ts +50 -10
  43. package/dist/lib/openapi/spec/group-schema.d.ts +1 -4
  44. package/dist/lib/openapi/spec/group-user-model-schema.d.ts +1 -4
  45. package/dist/lib/openapi/spec/group-user-model-schema.js +1 -4
  46. package/dist/lib/openapi/spec/group-user-model-schema.js.map +1 -1
  47. package/dist/lib/openapi/spec/groups-schema.d.ts +2 -8
  48. package/dist/lib/openapi/spec/groups-schema.test.js +0 -1
  49. package/dist/lib/openapi/spec/groups-schema.test.js.map +1 -1
  50. package/dist/lib/openapi/spec/health-overview-schema.d.ts +50 -10
  51. package/dist/lib/openapi/spec/health-report-schema.d.ts +50 -10
  52. package/dist/lib/openapi/spec/playground-constraint-schema.d.ts +47 -0
  53. package/dist/lib/openapi/spec/playground-constraint-schema.js +18 -0
  54. package/dist/lib/openapi/spec/playground-constraint-schema.js.map +1 -0
  55. package/dist/lib/openapi/spec/playground-feature-schema.d.ts +388 -2
  56. package/dist/lib/openapi/spec/playground-feature-schema.js +95 -9
  57. package/dist/lib/openapi/spec/playground-feature-schema.js.map +1 -1
  58. package/dist/lib/openapi/spec/playground-feature-schema.test.js +64 -3
  59. package/dist/lib/openapi/spec/playground-feature-schema.test.js.map +1 -1
  60. package/dist/lib/openapi/spec/playground-request-schema.d.ts +2 -0
  61. package/dist/lib/openapi/spec/playground-request-schema.js +6 -1
  62. package/dist/lib/openapi/spec/playground-request-schema.js.map +1 -1
  63. package/dist/lib/openapi/spec/playground-response-schema.d.ts +774 -3
  64. package/dist/lib/openapi/spec/playground-response-schema.js +15 -1
  65. package/dist/lib/openapi/spec/playground-response-schema.js.map +1 -1
  66. package/dist/lib/openapi/spec/playground-segment-schema.d.ts +79 -0
  67. package/dist/lib/openapi/spec/playground-segment-schema.js +36 -0
  68. package/dist/lib/openapi/spec/playground-segment-schema.js.map +1 -0
  69. package/dist/lib/openapi/spec/playground-strategy-schema.d.ts +257 -0
  70. package/dist/lib/openapi/spec/playground-strategy-schema.js +102 -0
  71. package/dist/lib/openapi/spec/playground-strategy-schema.js.map +1 -0
  72. package/dist/lib/openapi/spec/{bootstrap-ui-schema.test.d.ts → project-schema.test.d.ts} +0 -0
  73. package/dist/lib/openapi/spec/project-schema.test.js +17 -0
  74. package/dist/lib/openapi/spec/project-schema.test.js.map +1 -0
  75. package/dist/lib/openapi/spec/search-events-schema.d.ts +37 -0
  76. package/dist/lib/openapi/spec/search-events-schema.js +47 -0
  77. package/dist/lib/openapi/spec/search-events-schema.js.map +1 -0
  78. package/dist/lib/openapi/spec/segment-schema.d.ts +12 -2
  79. package/dist/lib/openapi/spec/state-schema.d.ts +61 -11
  80. package/dist/lib/{routes/admin-api/bootstrap-ui.test.d.ts → openapi/spec/tag-types-schema.test.d.ts} +0 -0
  81. package/dist/lib/openapi/spec/tag-types-schema.test.js +23 -0
  82. package/dist/lib/openapi/spec/tag-types-schema.test.js.map +1 -0
  83. package/dist/lib/openapi/spec/ui-config-schema.d.ts +3 -0
  84. package/dist/lib/openapi/spec/ui-config-schema.js +3 -0
  85. package/dist/lib/openapi/spec/ui-config-schema.js.map +1 -1
  86. package/dist/lib/openapi/spec/update-feature-schema.d.ts +12 -2
  87. package/dist/lib/openapi/spec/update-feature-strategy-schema.d.ts +12 -2
  88. package/dist/{test/e2e/api/admin/bootstrap.test.d.ts → lib/openapi/spec/user-schema.test.d.ts} +0 -0
  89. package/dist/lib/openapi/spec/user-schema.test.js +17 -0
  90. package/dist/lib/openapi/spec/user-schema.test.js.map +1 -0
  91. package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +2 -8
  92. package/dist/lib/openapi/spec/variant-schema.d.ts +1 -1
  93. package/dist/lib/openapi/spec/variant-schema.js +1 -1
  94. package/dist/lib/openapi/spec/variant-schema.js.map +1 -1
  95. package/dist/lib/openapi/spec/variants-schema.d.ts +1 -1
  96. package/dist/lib/openapi/util/standard-responses.d.ts +6 -0
  97. package/dist/lib/openapi/util/standard-responses.js +10 -2
  98. package/dist/lib/openapi/util/standard-responses.js.map +1 -1
  99. package/dist/lib/routes/admin-api/config.d.ts +2 -1
  100. package/dist/lib/routes/admin-api/config.js +3 -1
  101. package/dist/lib/routes/admin-api/config.js.map +1 -1
  102. package/dist/lib/routes/admin-api/event.d.ts +3 -1
  103. package/dist/lib/routes/admin-api/event.js +30 -7
  104. package/dist/lib/routes/admin-api/event.js.map +1 -1
  105. package/dist/lib/routes/admin-api/index.js +0 -2
  106. package/dist/lib/routes/admin-api/index.js.map +1 -1
  107. package/dist/lib/routes/admin-api/playground.js.map +1 -1
  108. package/dist/lib/services/event-service.d.ts +2 -2
  109. package/dist/lib/services/event-service.js +2 -5
  110. package/dist/lib/services/event-service.js.map +1 -1
  111. package/dist/lib/services/feature-toggle-service.d.ts +1 -1
  112. package/dist/lib/services/feature-toggle-service.js +2 -2
  113. package/dist/lib/services/feature-toggle-service.js.map +1 -1
  114. package/dist/lib/services/group-service.d.ts +1 -1
  115. package/dist/lib/services/group-service.js +1 -5
  116. package/dist/lib/services/group-service.js.map +1 -1
  117. package/dist/lib/services/index.js +1 -0
  118. package/dist/lib/services/index.js.map +1 -1
  119. package/dist/lib/services/openapi-service.js +1 -1
  120. package/dist/lib/services/openapi-service.js.map +1 -1
  121. package/dist/lib/services/playground-service.d.ts +2 -1
  122. package/dist/lib/services/playground-service.js +30 -11
  123. package/dist/lib/services/playground-service.js.map +1 -1
  124. package/dist/lib/types/group.d.ts +1 -2
  125. package/dist/lib/types/group.js.map +1 -1
  126. package/dist/lib/types/stores/event-store.d.ts +2 -3
  127. package/dist/lib/types/stores/feature-toggle-client-store.d.ts +1 -1
  128. package/dist/lib/types/stores/group-store.d.ts +0 -1
  129. package/dist/lib/util/feature-evaluator/client.d.ts +25 -0
  130. package/dist/lib/util/feature-evaluator/client.js +135 -0
  131. package/dist/lib/util/feature-evaluator/client.js.map +1 -0
  132. package/dist/lib/util/feature-evaluator/constraint.d.ts +28 -0
  133. package/dist/lib/util/feature-evaluator/constraint.js +129 -0
  134. package/dist/lib/util/feature-evaluator/constraint.js.map +1 -0
  135. package/dist/lib/util/feature-evaluator/context.d.ts +13 -0
  136. package/dist/lib/util/feature-evaluator/context.js +3 -0
  137. package/dist/lib/util/feature-evaluator/context.js.map +1 -0
  138. package/dist/lib/util/feature-evaluator/feature-evaluator.d.ts +36 -0
  139. package/dist/lib/util/feature-evaluator/feature-evaluator.js +55 -0
  140. package/dist/lib/util/feature-evaluator/feature-evaluator.js.map +1 -0
  141. package/dist/lib/util/feature-evaluator/feature.d.ts +19 -0
  142. package/dist/lib/util/feature-evaluator/feature.js +3 -0
  143. package/dist/lib/util/feature-evaluator/feature.js.map +1 -0
  144. package/dist/lib/util/feature-evaluator/helpers.d.ts +6 -0
  145. package/dist/lib/util/feature-evaluator/helpers.js +32 -0
  146. package/dist/lib/util/feature-evaluator/helpers.js.map +1 -0
  147. package/dist/lib/util/feature-evaluator/index.d.ts +8 -0
  148. package/dist/lib/util/feature-evaluator/index.js +14 -0
  149. package/dist/lib/util/feature-evaluator/index.js.map +1 -0
  150. package/dist/lib/util/feature-evaluator/repository/bootstrap-provider.d.ts +16 -0
  151. package/dist/lib/util/feature-evaluator/repository/bootstrap-provider.js +25 -0
  152. package/dist/lib/util/feature-evaluator/repository/bootstrap-provider.js.map +1 -0
  153. package/dist/lib/util/feature-evaluator/repository/index.d.ts +35 -0
  154. package/dist/lib/util/feature-evaluator/repository/index.js +63 -0
  155. package/dist/lib/util/feature-evaluator/repository/index.js.map +1 -0
  156. package/dist/lib/util/feature-evaluator/repository/storage-provider-in-mem.d.ts +6 -0
  157. package/dist/lib/util/feature-evaluator/repository/storage-provider-in-mem.js +16 -0
  158. package/dist/lib/util/feature-evaluator/repository/storage-provider-in-mem.js.map +1 -0
  159. package/dist/lib/util/feature-evaluator/repository/storage-provider.d.ts +14 -0
  160. package/dist/lib/util/feature-evaluator/repository/storage-provider.js +50 -0
  161. package/dist/lib/util/feature-evaluator/repository/storage-provider.js.map +1 -0
  162. package/dist/lib/util/feature-evaluator/strategy/application-hostname-strategy.d.ts +8 -0
  163. package/dist/lib/util/feature-evaluator/strategy/application-hostname-strategy.js +23 -0
  164. package/dist/lib/util/feature-evaluator/strategy/application-hostname-strategy.js.map +1 -0
  165. package/dist/lib/util/feature-evaluator/strategy/default-strategy.d.ts +5 -0
  166. package/dist/lib/util/feature-evaluator/strategy/default-strategy.js +13 -0
  167. package/dist/lib/util/feature-evaluator/strategy/default-strategy.js.map +1 -0
  168. package/dist/lib/util/feature-evaluator/strategy/flexible-rollout-strategy.d.ts +12 -0
  169. package/dist/lib/util/feature-evaluator/strategy/flexible-rollout-strategy.js +49 -0
  170. package/dist/lib/util/feature-evaluator/strategy/flexible-rollout-strategy.js.map +1 -0
  171. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-random.d.ts +9 -0
  172. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-random.js +19 -0
  173. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-random.js.map +1 -0
  174. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-session-id.d.ts +9 -0
  175. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-session-id.js +24 -0
  176. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-session-id.js.map +1 -0
  177. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-user-id.d.ts +9 -0
  178. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-user-id.js +24 -0
  179. package/dist/lib/util/feature-evaluator/strategy/gradual-rollout-user-id.js.map +1 -0
  180. package/dist/lib/util/feature-evaluator/strategy/index.d.ts +4 -0
  181. package/dist/lib/util/feature-evaluator/strategy/index.js +29 -0
  182. package/dist/lib/util/feature-evaluator/strategy/index.js.map +1 -0
  183. package/dist/lib/util/feature-evaluator/strategy/remote-address-strategy.d.ts +8 -0
  184. package/dist/lib/util/feature-evaluator/strategy/remote-address-strategy.js +35 -0
  185. package/dist/lib/util/feature-evaluator/strategy/remote-address-strategy.js.map +1 -0
  186. package/dist/lib/util/feature-evaluator/strategy/strategy.d.ts +41 -0
  187. package/dist/lib/util/feature-evaluator/strategy/strategy.js +75 -0
  188. package/dist/lib/util/feature-evaluator/strategy/strategy.js.map +1 -0
  189. package/dist/lib/util/feature-evaluator/strategy/unknown-strategy.d.ts +9 -0
  190. package/dist/lib/util/feature-evaluator/strategy/unknown-strategy.js +29 -0
  191. package/dist/lib/util/feature-evaluator/strategy/unknown-strategy.js.map +1 -0
  192. package/dist/lib/util/feature-evaluator/strategy/user-with-id-strategy.d.ts +8 -0
  193. package/dist/lib/util/feature-evaluator/strategy/user-with-id-strategy.js +16 -0
  194. package/dist/lib/util/feature-evaluator/strategy/user-with-id-strategy.js.map +1 -0
  195. package/dist/lib/util/feature-evaluator/strategy/util.d.ts +1 -0
  196. package/dist/lib/util/feature-evaluator/strategy/util.js +31 -0
  197. package/dist/lib/util/feature-evaluator/strategy/util.js.map +1 -0
  198. package/dist/lib/util/feature-evaluator/variant.d.ts +28 -0
  199. package/dist/lib/util/feature-evaluator/variant.js +73 -0
  200. package/dist/lib/util/feature-evaluator/variant.js.map +1 -0
  201. package/dist/lib/util/offline-unleash-client.d.ts +13 -2
  202. package/dist/lib/util/offline-unleash-client.js +20 -20
  203. package/dist/lib/util/offline-unleash-client.js.map +1 -1
  204. package/dist/lib/util/offline-unleash-client.test.d.ts +3 -1
  205. package/dist/lib/util/offline-unleash-client.test.js +349 -139
  206. package/dist/lib/util/offline-unleash-client.test.js.map +1 -1
  207. package/dist/migrations/20220808084524-add-group-permissions.d.ts +2 -0
  208. package/dist/migrations/20220808084524-add-group-permissions.js +12 -0
  209. package/dist/migrations/20220808084524-add-group-permissions.js.map +1 -0
  210. package/dist/migrations/20220808110415-add-projects-foreign-key.d.ts +2 -0
  211. package/dist/migrations/20220808110415-add-projects-foreign-key.js +14 -0
  212. package/dist/migrations/20220808110415-add-projects-foreign-key.js.map +1 -0
  213. package/dist/test/arbitraries.test.d.ts +12 -2
  214. package/dist/test/arbitraries.test.js +67 -9
  215. package/dist/test/arbitraries.test.js.map +1 -1
  216. package/dist/test/e2e/api/admin/config.e2e.test.js +2 -1
  217. package/dist/test/e2e/api/admin/config.e2e.test.js.map +1 -1
  218. package/dist/test/e2e/api/admin/event.e2e.test.js +57 -0
  219. package/dist/test/e2e/api/admin/event.e2e.test.js.map +1 -1
  220. package/dist/test/e2e/api/admin/feature.e2e.test.js +8 -7
  221. package/dist/test/e2e/api/admin/feature.e2e.test.js.map +1 -1
  222. package/dist/test/e2e/api/admin/playground.e2e.test.js +22 -0
  223. package/dist/test/e2e/api/admin/playground.e2e.test.js.map +1 -1
  224. package/dist/test/e2e/services/access-service.e2e.test.js +38 -20
  225. package/dist/test/e2e/services/access-service.e2e.test.js.map +1 -1
  226. package/dist/test/e2e/services/playground-service.test.d.ts +5 -1
  227. package/dist/test/e2e/services/playground-service.test.js +725 -37
  228. package/dist/test/e2e/services/playground-service.test.js.map +1 -1
  229. package/dist/test/e2e/services/project-service.e2e.test.js +12 -4
  230. package/dist/test/e2e/services/project-service.e2e.test.js.map +1 -1
  231. package/dist/test/e2e/services/setting-service.test.js +9 -3
  232. package/dist/test/e2e/services/setting-service.test.js.map +1 -1
  233. package/dist/test/e2e/stores/event-store.e2e.test.js +6 -2
  234. package/dist/test/e2e/stores/event-store.e2e.test.js.map +1 -1
  235. package/dist/test/fixtures/fake-event-store.d.ts +1 -3
  236. package/dist/test/fixtures/fake-event-store.js +2 -8
  237. package/dist/test/fixtures/fake-event-store.js.map +1 -1
  238. package/dist/test/fixtures/fake-group-store.d.ts +0 -1
  239. package/dist/test/fixtures/fake-group-store.js +0 -3
  240. package/dist/test/fixtures/fake-group-store.js.map +1 -1
  241. package/package.json +15 -13
  242. package/dist/lib/openapi/spec/bootstrap-ui-schema.d.ts +0 -491
  243. package/dist/lib/openapi/spec/bootstrap-ui-schema.js +0 -94
  244. package/dist/lib/openapi/spec/bootstrap-ui-schema.js.map +0 -1
  245. package/dist/lib/openapi/spec/bootstrap-ui-schema.test.js +0 -145
  246. package/dist/lib/openapi/spec/bootstrap-ui-schema.test.js.map +0 -1
  247. package/dist/lib/openapi/spec/client-variant-schema.d.ts +0 -35
  248. package/dist/lib/openapi/spec/client-variant-schema.js +0 -37
  249. package/dist/lib/openapi/spec/client-variant-schema.js.map +0 -1
  250. package/dist/lib/routes/admin-api/bootstrap-ui.d.ts +0 -25
  251. package/dist/lib/routes/admin-api/bootstrap-ui.js +0 -82
  252. package/dist/lib/routes/admin-api/bootstrap-ui.js.map +0 -1
  253. package/dist/lib/routes/admin-api/bootstrap-ui.test.js +0 -60
  254. package/dist/lib/routes/admin-api/bootstrap-ui.test.js.map +0 -1
  255. package/dist/test/e2e/api/admin/bootstrap.test.js +0 -43
  256. package/dist/test/e2e/api/admin/bootstrap.test.js.map +0 -1
@@ -9,14 +9,12 @@ const api_token_schema_1 = require("./spec/api-token-schema");
9
9
  const api_tokens_schema_1 = require("./spec/api-tokens-schema");
10
10
  const application_schema_1 = require("./spec/application-schema");
11
11
  const applications_schema_1 = require("./spec/applications-schema");
12
- const bootstrap_ui_schema_1 = require("./spec/bootstrap-ui-schema");
13
12
  const change_password_schema_1 = require("./spec/change-password-schema");
14
13
  const client_application_schema_1 = require("./spec/client-application-schema");
15
14
  const client_feature_schema_1 = require("./spec/client-feature-schema");
16
15
  const client_features_query_schema_1 = require("./spec/client-features-query-schema");
17
16
  const client_features_schema_1 = require("./spec/client-features-schema");
18
17
  const client_metrics_schema_1 = require("./spec/client-metrics-schema");
19
- const client_variant_schema_1 = require("./spec/client-variant-schema");
20
18
  const clone_feature_schema_1 = require("./spec/clone-feature-schema");
21
19
  const constraint_schema_1 = require("./spec/constraint-schema");
22
20
  const context_field_schema_1 = require("./spec/context-field-schema");
@@ -62,6 +60,9 @@ const patches_schema_1 = require("./spec/patches-schema");
62
60
  const patch_schema_1 = require("./spec/patch-schema");
63
61
  const permission_schema_1 = require("./spec/permission-schema");
64
62
  const playground_feature_schema_1 = require("./spec/playground-feature-schema");
63
+ const playground_strategy_schema_1 = require("./spec/playground-strategy-schema");
64
+ const playground_constraint_schema_1 = require("./spec/playground-constraint-schema");
65
+ const playground_segment_schema_1 = require("./spec/playground-segment-schema");
65
66
  const playground_request_schema_1 = require("./spec/playground-request-schema");
66
67
  const playground_response_schema_1 = require("./spec/playground-response-schema");
67
68
  const project_environment_schema_1 = require("./spec/project-environment-schema");
@@ -104,6 +105,7 @@ 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");
106
107
  const users_groups_base_schema_1 = require("./spec/users-groups-base-schema");
108
+ const search_events_schema_1 = require("./spec/search-events-schema");
107
109
  // All schemas in `openapi/spec` should be listed here.
108
110
  exports.schemas = {
109
111
  addonParameterSchema: addon_parameter_schema_1.addonParameterSchema,
@@ -114,14 +116,12 @@ exports.schemas = {
114
116
  apiTokensSchema: api_tokens_schema_1.apiTokensSchema,
115
117
  applicationSchema: application_schema_1.applicationSchema,
116
118
  applicationsSchema: applications_schema_1.applicationsSchema,
117
- bootstrapUiSchema: bootstrap_ui_schema_1.bootstrapUiSchema,
118
119
  changePasswordSchema: change_password_schema_1.changePasswordSchema,
119
120
  clientApplicationSchema: client_application_schema_1.clientApplicationSchema,
120
121
  clientFeatureSchema: client_feature_schema_1.clientFeatureSchema,
121
122
  clientFeaturesQuerySchema: client_features_query_schema_1.clientFeaturesQuerySchema,
122
123
  clientFeaturesSchema: client_features_schema_1.clientFeaturesSchema,
123
124
  clientMetricsSchema: client_metrics_schema_1.clientMetricsSchema,
124
- clientVariantSchema: client_variant_schema_1.clientVariantSchema,
125
125
  cloneFeatureSchema: clone_feature_schema_1.cloneFeatureSchema,
126
126
  constraintSchema: constraint_schema_1.constraintSchema,
127
127
  contextFieldSchema: context_field_schema_1.contextFieldSchema,
@@ -168,6 +168,9 @@ exports.schemas = {
168
168
  patchSchema: patch_schema_1.patchSchema,
169
169
  permissionSchema: permission_schema_1.permissionSchema,
170
170
  playgroundFeatureSchema: playground_feature_schema_1.playgroundFeatureSchema,
171
+ playgroundStrategySchema: playground_strategy_schema_1.playgroundStrategySchema,
172
+ playgroundConstraintSchema: playground_constraint_schema_1.playgroundConstraintSchema,
173
+ playgroundSegmentSchema: playground_segment_schema_1.playgroundSegmentSchema,
171
174
  playgroundRequestSchema: playground_request_schema_1.playgroundRequestSchema,
172
175
  playgroundResponseSchema: playground_response_schema_1.playgroundResponseSchema,
173
176
  projectEnvironmentSchema: project_environment_schema_1.projectEnvironmentSchema,
@@ -176,6 +179,7 @@ exports.schemas = {
176
179
  resetPasswordSchema: reset_password_schema_1.resetPasswordSchema,
177
180
  roleSchema: role_schema_1.roleSchema,
178
181
  sdkContextSchema: sdk_context_schema_1.sdkContextSchema,
182
+ searchEventsSchema: search_events_schema_1.searchEventsSchema,
179
183
  segmentSchema: segment_schema_1.segmentSchema,
180
184
  setStrategySortOrderSchema: set_strategy_sort_order_schema_1.setStrategySortOrderSchema,
181
185
  sortOrderSchema: sort_order_schema_1.sortOrderSchema,
@@ -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;AA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E,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"}
@@ -47,7 +47,7 @@ export declare const clientFeatureSchema: {
47
47
  readonly variants: {
48
48
  readonly type: "array";
49
49
  readonly items: {
50
- readonly $ref: "#/components/schemas/clientVariantSchema";
50
+ readonly $ref: "#/components/schemas/variantSchema";
51
51
  };
52
52
  readonly nullable: true;
53
53
  };
@@ -55,35 +55,45 @@ export declare const clientFeatureSchema: {
55
55
  readonly components: {
56
56
  readonly schemas: {
57
57
  readonly constraintSchema: {
58
- readonly $id: "#/components/schemas/constraintSchema";
59
58
  readonly type: "object";
60
- readonly additionalProperties: false;
61
59
  readonly required: readonly ["contextName", "operator"];
60
+ readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/advanced/strategy_constraints)";
62
61
  readonly properties: {
63
62
  readonly contextName: {
63
+ readonly description: "The name of the context field that this constraint should apply to.";
64
+ readonly example: "appName";
64
65
  readonly type: "string";
65
66
  };
66
67
  readonly operator: {
68
+ readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/advanced/strategy_constraints#strategy-constraint-operators).";
67
69
  readonly type: "string";
68
70
  readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
69
71
  };
70
72
  readonly caseInsensitive: {
73
+ readonly description: "Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive).";
71
74
  readonly type: "boolean";
75
+ readonly default: false;
72
76
  };
73
77
  readonly inverted: {
78
+ readonly description: "Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa.";
74
79
  readonly type: "boolean";
80
+ readonly default: false;
75
81
  };
76
82
  readonly values: {
77
83
  readonly type: "array";
84
+ readonly description: "The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values.";
78
85
  readonly items: {
79
86
  readonly type: "string";
80
87
  };
81
88
  };
82
89
  readonly value: {
90
+ readonly description: "The context value that should be used for constraint evaluation. Use this property instead of `values` for properties that only accept single values.";
83
91
  readonly type: "string";
84
92
  };
85
93
  };
86
94
  readonly components: {};
95
+ readonly $id: "#/components/schemas/constraintSchema";
96
+ readonly additionalProperties: false;
87
97
  };
88
98
  readonly parametersSchema: {
89
99
  readonly $id: "#/components/schemas/parametersSchema";
@@ -127,35 +137,45 @@ export declare const clientFeatureSchema: {
127
137
  readonly components: {
128
138
  readonly schemas: {
129
139
  readonly constraintSchema: {
130
- readonly $id: "#/components/schemas/constraintSchema";
131
140
  readonly type: "object";
132
- readonly additionalProperties: false;
133
141
  readonly required: readonly ["contextName", "operator"];
142
+ readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/advanced/strategy_constraints)";
134
143
  readonly properties: {
135
144
  readonly contextName: {
145
+ readonly description: "The name of the context field that this constraint should apply to.";
146
+ readonly example: "appName";
136
147
  readonly type: "string";
137
148
  };
138
149
  readonly operator: {
150
+ readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/advanced/strategy_constraints#strategy-constraint-operators).";
139
151
  readonly type: "string";
140
152
  readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
141
153
  };
142
154
  readonly caseInsensitive: {
155
+ readonly description: "Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive).";
143
156
  readonly type: "boolean";
157
+ readonly default: false;
144
158
  };
145
159
  readonly inverted: {
160
+ readonly description: "Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa.";
146
161
  readonly type: "boolean";
162
+ readonly default: false;
147
163
  };
148
164
  readonly values: {
149
165
  readonly type: "array";
166
+ readonly description: "The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values.";
150
167
  readonly items: {
151
168
  readonly type: "string";
152
169
  };
153
170
  };
154
171
  readonly value: {
172
+ readonly description: "The context value that should be used for constraint evaluation. Use this property instead of `values` for properties that only accept single values.";
155
173
  readonly type: "string";
156
174
  };
157
175
  };
158
176
  readonly components: {};
177
+ readonly $id: "#/components/schemas/constraintSchema";
178
+ readonly additionalProperties: false;
159
179
  };
160
180
  readonly parametersSchema: {
161
181
  readonly $id: "#/components/schemas/parametersSchema";
@@ -168,8 +188,8 @@ export declare const clientFeatureSchema: {
168
188
  };
169
189
  };
170
190
  };
171
- readonly clientVariantSchema: {
172
- readonly $id: "#/components/schemas/clientVariantSchema";
191
+ readonly variantSchema: {
192
+ readonly $id: "#/components/schemas/variantSchema";
173
193
  readonly type: "object";
174
194
  readonly additionalProperties: false;
175
195
  readonly required: readonly ["name", "weight"];
@@ -198,6 +218,51 @@ export declare const clientFeatureSchema: {
198
218
  };
199
219
  };
200
220
  };
221
+ readonly overrides: {
222
+ readonly type: "array";
223
+ readonly items: {
224
+ readonly $ref: "#/components/schemas/overrideSchema";
225
+ };
226
+ };
227
+ };
228
+ readonly components: {
229
+ readonly schemas: {
230
+ readonly overrideSchema: {
231
+ readonly $id: "#/components/schemas/overrideSchema";
232
+ readonly type: "object";
233
+ readonly additionalProperties: false;
234
+ readonly required: readonly ["contextName", "values"];
235
+ readonly properties: {
236
+ readonly contextName: {
237
+ readonly type: "string";
238
+ };
239
+ readonly values: {
240
+ readonly type: "array";
241
+ readonly items: {
242
+ readonly type: "string";
243
+ };
244
+ };
245
+ };
246
+ readonly components: {};
247
+ };
248
+ };
249
+ };
250
+ };
251
+ readonly overrideSchema: {
252
+ readonly $id: "#/components/schemas/overrideSchema";
253
+ readonly type: "object";
254
+ readonly additionalProperties: false;
255
+ readonly required: readonly ["contextName", "values"];
256
+ readonly properties: {
257
+ readonly contextName: {
258
+ readonly type: "string";
259
+ };
260
+ readonly values: {
261
+ readonly type: "array";
262
+ readonly items: {
263
+ readonly type: "string";
264
+ };
265
+ };
201
266
  };
202
267
  readonly components: {};
203
268
  };
@@ -4,7 +4,8 @@ exports.clientFeatureSchema = void 0;
4
4
  const constraint_schema_1 = require("./constraint-schema");
5
5
  const parameters_schema_1 = require("./parameters-schema");
6
6
  const feature_strategy_schema_1 = require("./feature-strategy-schema");
7
- const client_variant_schema_1 = require("./client-variant-schema");
7
+ const variant_schema_1 = require("./variant-schema");
8
+ const override_schema_1 = require("./override-schema");
8
9
  exports.clientFeatureSchema = {
9
10
  $id: '#/components/schemas/clientFeatureSchema',
10
11
  type: 'object',
@@ -53,7 +54,7 @@ exports.clientFeatureSchema = {
53
54
  variants: {
54
55
  type: 'array',
55
56
  items: {
56
- $ref: '#/components/schemas/clientVariantSchema',
57
+ $ref: '#/components/schemas/variantSchema',
57
58
  },
58
59
  nullable: true,
59
60
  },
@@ -63,7 +64,8 @@ exports.clientFeatureSchema = {
63
64
  constraintSchema: constraint_schema_1.constraintSchema,
64
65
  parametersSchema: parameters_schema_1.parametersSchema,
65
66
  featureStrategySchema: feature_strategy_schema_1.featureStrategySchema,
66
- clientVariantSchema: client_variant_schema_1.clientVariantSchema,
67
+ variantSchema: variant_schema_1.variantSchema,
68
+ overrideSchema: override_schema_1.overrideSchema,
67
69
  },
68
70
  },
69
71
  };
@@ -1 +1 @@
1
- {"version":3,"file":"client-feature-schema.js","sourceRoot":"","sources":["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CACK,CAAC"}
1
+ {"version":3,"file":"client-feature-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/client-feature-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,2DAAuD;AACvD,uEAAkE;AAClE,qDAAiD;AACjD,uDAAmD;AAEtC,QAAA,mBAAmB,GAAG;IAC/B,GAAG,EAAE,0CAA0C;IAC/C,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAC7B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;SACjB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;SAClB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;SAClB;QACD,cAAc,EAAE;YACZ,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,IAAI;SACjB;QACD,OAAO,EAAE;YACL,IAAI,EAAE,QAAQ;SACjB;QACD,UAAU,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,4CAA4C;aACrD;SACJ;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,oCAAoC;aAC7C;YACD,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,gBAAgB,EAAhB,oCAAgB;YAChB,gBAAgB,EAAhB,oCAAg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