unleash-server 5.3.4 → 5.4.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 (454) hide show
  1. package/dist/lib/addons/slack-app-definition.js +8 -0
  2. package/dist/lib/addons/slack-app-definition.js.map +1 -1
  3. package/dist/lib/addons/slack-app.d.ts +1 -4
  4. package/dist/lib/addons/slack-app.js +46 -68
  5. package/dist/lib/addons/slack-app.js.map +1 -1
  6. package/dist/lib/addons/slack-app.test.js +12 -66
  7. package/dist/lib/addons/slack-app.test.js.map +1 -1
  8. package/dist/lib/create-config.js +1 -0
  9. package/dist/lib/create-config.js.map +1 -1
  10. package/dist/lib/db/access-store.d.ts +3 -1
  11. package/dist/lib/db/access-store.js +53 -0
  12. package/dist/lib/db/access-store.js.map +1 -1
  13. package/dist/lib/db/client-applications-store.d.ts +3 -1
  14. package/dist/lib/db/client-applications-store.js +73 -6
  15. package/dist/lib/db/client-applications-store.js.map +1 -1
  16. package/dist/lib/db/feature-environment-store.js +3 -0
  17. package/dist/lib/db/feature-environment-store.js.map +1 -1
  18. package/dist/lib/db/feature-strategy-store.d.ts +1 -0
  19. package/dist/lib/db/feature-strategy-store.js +21 -3
  20. package/dist/lib/db/feature-strategy-store.js.map +1 -1
  21. package/dist/lib/db/feature-strategy-store.test.js +40 -0
  22. package/dist/lib/db/feature-strategy-store.test.js.map +1 -1
  23. package/dist/lib/db/feature-toggle-client-store.js +5 -3
  24. package/dist/lib/db/feature-toggle-client-store.js.map +1 -1
  25. package/dist/lib/db/feature-toggle-store.d.ts +6 -1
  26. package/dist/lib/db/feature-toggle-store.js +37 -9
  27. package/dist/lib/db/feature-toggle-store.js.map +1 -1
  28. package/dist/lib/db/index.js +1 -1
  29. package/dist/lib/db/index.js.map +1 -1
  30. package/dist/lib/db/role-store.d.ts +3 -0
  31. package/dist/lib/db/role-store.js +21 -4
  32. package/dist/lib/db/role-store.js.map +1 -1
  33. package/dist/lib/features/access/createAccessService.js +2 -2
  34. package/dist/lib/features/access/createAccessService.js.map +1 -1
  35. package/dist/lib/features/change-request-access-service/change-request-access-read-model.d.ts +1 -0
  36. package/dist/lib/features/change-request-access-service/fake-change-request-access-read-model.d.ts +1 -0
  37. package/dist/lib/features/change-request-access-service/fake-change-request-access-read-model.js +3 -0
  38. package/dist/lib/features/change-request-access-service/fake-change-request-access-read-model.js.map +1 -1
  39. package/dist/lib/features/change-request-access-service/sql-change-request-access-read-model.d.ts +1 -0
  40. package/dist/lib/features/change-request-access-service/sql-change-request-access-read-model.js +10 -1
  41. package/dist/lib/features/change-request-access-service/sql-change-request-access-read-model.js.map +1 -1
  42. package/dist/lib/features/export-import-toggles/export-import-permissions.e2e.test.js +4 -0
  43. package/dist/lib/features/export-import-toggles/export-import-permissions.e2e.test.js.map +1 -1
  44. package/dist/lib/features/export-import-toggles/export-import-service.d.ts +2 -1
  45. package/dist/lib/features/export-import-toggles/export-import-service.js +30 -16
  46. package/dist/lib/features/export-import-toggles/export-import-service.js.map +1 -1
  47. package/dist/lib/features/export-import-toggles/export-import.e2e.test.js +24 -4
  48. package/dist/lib/features/export-import-toggles/export-import.e2e.test.js.map +1 -1
  49. package/dist/lib/features/export-import-toggles/import-context-validation.js +1 -1
  50. package/dist/lib/features/export-import-toggles/import-context-validation.js.map +1 -1
  51. package/dist/lib/features/export-import-toggles/import-toggles-store-type.d.ts +1 -0
  52. package/dist/lib/features/export-import-toggles/import-toggles-store.d.ts +1 -0
  53. package/dist/lib/features/export-import-toggles/import-toggles-store.js +8 -0
  54. package/dist/lib/features/export-import-toggles/import-toggles-store.js.map +1 -1
  55. package/dist/lib/features/export-import-toggles/import-validation-messages.d.ts +1 -1
  56. package/dist/lib/features/export-import-toggles/import-validation-messages.js +7 -1
  57. package/dist/lib/features/export-import-toggles/import-validation-messages.js.map +1 -1
  58. package/dist/lib/features/feature-toggle/createFeatureToggleService.js +9 -12
  59. package/dist/lib/features/feature-toggle/createFeatureToggleService.js.map +1 -1
  60. package/dist/lib/features/index.d.ts +1 -0
  61. package/dist/lib/features/index.js +1 -0
  62. package/dist/lib/features/index.js.map +1 -1
  63. package/dist/lib/features/playground/advanced-playground.test.js +57 -6
  64. package/dist/lib/features/playground/advanced-playground.test.js.map +1 -1
  65. package/dist/lib/features/playground/generateObjectCombinations.d.ts +2 -2
  66. package/dist/lib/features/playground/generateObjectCombinations.js +4 -1
  67. package/dist/lib/features/playground/generateObjectCombinations.js.map +1 -1
  68. package/dist/lib/features/playground/generateObjectCombinations.test.js +7 -6
  69. package/dist/lib/features/playground/generateObjectCombinations.test.js.map +1 -1
  70. package/dist/lib/features/playground/playground.js +1 -1
  71. package/dist/lib/features/playground/playground.js.map +1 -1
  72. package/dist/lib/features/segment/createSegmentService.d.ts +5 -0
  73. package/dist/lib/features/segment/createSegmentService.js +32 -0
  74. package/dist/lib/features/segment/createSegmentService.js.map +1 -0
  75. package/dist/lib/metrics.js +12 -0
  76. package/dist/lib/metrics.js.map +1 -1
  77. package/dist/lib/metrics.test.js +1 -1
  78. package/dist/lib/metrics.test.js.map +1 -1
  79. package/dist/lib/middleware/response-time-metrics.js +1 -1
  80. package/dist/lib/middleware/response-time-metrics.js.map +1 -1
  81. package/dist/lib/openapi/index.js +3 -1
  82. package/dist/lib/openapi/index.js.map +1 -1
  83. package/dist/lib/openapi/meta-schema-rules.test.js +2 -41
  84. package/dist/lib/openapi/meta-schema-rules.test.js.map +1 -1
  85. package/dist/lib/openapi/spec/admin-features-query-schema.d.ts +1 -0
  86. package/dist/lib/openapi/spec/admin-features-query-schema.js +1 -0
  87. package/dist/lib/openapi/spec/admin-features-query-schema.js.map +1 -1
  88. package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.d.ts +4 -1
  89. package/dist/lib/openapi/spec/advanced-playground-feature-schema.d.ts +8 -2
  90. package/dist/lib/openapi/spec/advanced-playground-request-schema.d.ts +1 -1
  91. package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts +17 -5
  92. package/dist/lib/openapi/spec/application-schema.d.ts +33 -1
  93. package/dist/lib/openapi/spec/application-schema.js +12 -1
  94. package/dist/lib/openapi/spec/application-schema.js.map +1 -1
  95. package/dist/lib/openapi/spec/application-usage-schema.d.ts +25 -0
  96. package/dist/lib/openapi/spec/application-usage-schema.js +27 -0
  97. package/dist/lib/openapi/spec/application-usage-schema.js.map +1 -0
  98. package/dist/lib/openapi/spec/applications-schema.d.ts +57 -1
  99. package/dist/lib/openapi/spec/applications-schema.js +4 -1
  100. package/dist/lib/openapi/spec/applications-schema.js.map +1 -1
  101. package/dist/lib/openapi/spec/bulk-metrics-schema.d.ts +18 -4
  102. package/dist/lib/openapi/spec/bulk-registration-schema.d.ts +6 -1
  103. package/dist/lib/openapi/spec/client-metrics-env-schema.d.ts +6 -2
  104. package/dist/lib/openapi/spec/client-metrics-env-schema.js +0 -1
  105. package/dist/lib/openapi/spec/client-metrics-env-schema.js.map +1 -1
  106. package/dist/lib/openapi/spec/client-metrics-schema.d.ts +6 -1
  107. package/dist/lib/openapi/spec/create-application-schema.d.ts +0 -1
  108. package/dist/lib/openapi/spec/create-application-schema.js +0 -1
  109. package/dist/lib/openapi/spec/create-application-schema.js.map +1 -1
  110. package/dist/lib/openapi/spec/create-context-field-schema.d.ts +68 -0
  111. package/dist/lib/openapi/spec/create-context-field-schema.js +19 -0
  112. package/dist/lib/openapi/spec/create-context-field-schema.js.map +1 -0
  113. package/dist/lib/openapi/spec/create-feature-schema.d.ts +1 -0
  114. package/dist/lib/openapi/spec/create-feature-schema.js +1 -0
  115. package/dist/lib/openapi/spec/create-feature-schema.js.map +1 -1
  116. package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts +0 -1
  117. package/dist/lib/openapi/spec/create-group-schema.d.ts +0 -1
  118. package/dist/lib/openapi/spec/create-group-schema.js +0 -1
  119. package/dist/lib/openapi/spec/create-group-schema.js.map +1 -1
  120. package/dist/lib/openapi/spec/create-invited-user-schema.d.ts +9 -0
  121. package/dist/lib/openapi/spec/create-invited-user-schema.js +9 -0
  122. package/dist/lib/openapi/spec/create-invited-user-schema.js.map +1 -1
  123. package/dist/lib/openapi/spec/create-strategy-variant-schema.d.ts +0 -1
  124. package/dist/lib/openapi/spec/create-strategy-variant-schema.js +0 -1
  125. package/dist/lib/openapi/spec/create-strategy-variant-schema.js.map +1 -1
  126. package/dist/lib/openapi/spec/create-user-response-schema.d.ts +2 -1
  127. package/dist/lib/openapi/spec/create-user-response-schema.js +1 -1
  128. package/dist/lib/openapi/spec/create-user-response-schema.js.map +1 -1
  129. package/dist/lib/openapi/spec/date-schema.d.ts +6 -1
  130. package/dist/lib/openapi/spec/date-schema.js +14 -1
  131. package/dist/lib/openapi/spec/date-schema.js.map +1 -1
  132. package/dist/lib/openapi/spec/environment-project-schema.d.ts +0 -2
  133. package/dist/lib/openapi/spec/environments-project-schema.d.ts +0 -2
  134. package/dist/lib/openapi/spec/event-schema.d.ts +1 -3
  135. package/dist/lib/openapi/spec/event-schema.js +0 -1
  136. package/dist/lib/openapi/spec/event-schema.js.map +1 -1
  137. package/dist/lib/openapi/spec/events-schema.d.ts +1 -3
  138. package/dist/lib/openapi/spec/export-query-schema.d.ts +0 -1
  139. package/dist/lib/openapi/spec/export-query-schema.js +0 -1
  140. package/dist/lib/openapi/spec/export-query-schema.js.map +1 -1
  141. package/dist/lib/openapi/spec/export-result-schema.d.ts +17 -1
  142. package/dist/lib/openapi/spec/feature-environment-metrics-schema.d.ts +6 -1
  143. package/dist/lib/openapi/spec/feature-environment-schema.d.ts +7 -0
  144. package/dist/lib/openapi/spec/feature-environment-schema.js +7 -0
  145. package/dist/lib/openapi/spec/feature-environment-schema.js.map +1 -1
  146. package/dist/lib/openapi/spec/feature-events-schema.d.ts +1 -3
  147. package/dist/lib/openapi/spec/feature-metrics-schema.d.ts +12 -2
  148. package/dist/lib/openapi/spec/feature-schema.d.ts +9 -1
  149. package/dist/lib/openapi/spec/feature-schema.js +2 -1
  150. package/dist/lib/openapi/spec/feature-schema.js.map +1 -1
  151. package/dist/lib/openapi/spec/feature-strategy-segment-schema.d.ts +5 -0
  152. package/dist/lib/openapi/spec/feature-strategy-segment-schema.js +5 -0
  153. package/dist/lib/openapi/spec/feature-strategy-segment-schema.js.map +1 -1
  154. package/dist/lib/openapi/spec/feature-usage-schema.d.ts +12 -2
  155. package/dist/lib/openapi/spec/features-schema.d.ts +16 -1
  156. package/dist/lib/openapi/spec/group-schema.d.ts +10 -2
  157. package/dist/lib/openapi/spec/group-schema.js +6 -0
  158. package/dist/lib/openapi/spec/group-schema.js.map +1 -1
  159. package/dist/lib/openapi/spec/group-user-model-schema.d.ts +2 -1
  160. package/dist/lib/openapi/spec/groups-schema.d.ts +14 -4
  161. package/dist/lib/openapi/spec/health-overview-schema.d.ts +16 -5
  162. package/dist/lib/openapi/spec/health-report-schema.d.ts +16 -5
  163. package/dist/lib/openapi/spec/import-toggles-schema.d.ts +34 -2
  164. package/dist/lib/openapi/spec/index.d.ts +3 -1
  165. package/dist/lib/openapi/spec/index.js +3 -1
  166. package/dist/lib/openapi/spec/index.js.map +1 -1
  167. package/dist/lib/openapi/spec/maintenance-schema.d.ts +2 -0
  168. package/dist/lib/openapi/spec/maintenance-schema.js +2 -0
  169. package/dist/lib/openapi/spec/maintenance-schema.js.map +1 -1
  170. package/dist/lib/openapi/spec/me-schema.d.ts +2 -1
  171. package/dist/lib/openapi/spec/patch-schema.d.ts +12 -1
  172. package/dist/lib/openapi/spec/patch-schema.js +12 -1
  173. package/dist/lib/openapi/spec/patch-schema.js.map +1 -1
  174. package/dist/lib/openapi/spec/patches-schema.d.ts +12 -1
  175. package/dist/lib/openapi/spec/playground-feature-schema.d.ts +3 -0
  176. package/dist/lib/openapi/spec/playground-request-schema.d.ts +1 -1
  177. package/dist/lib/openapi/spec/playground-response-schema.d.ts +8 -2
  178. package/dist/lib/openapi/spec/playground-segment-schema.d.ts +1 -0
  179. package/dist/lib/openapi/spec/playground-segment-schema.js +1 -0
  180. package/dist/lib/openapi/spec/playground-segment-schema.js.map +1 -1
  181. package/dist/lib/openapi/spec/playground-strategy-schema.d.ts +2 -0
  182. package/dist/lib/openapi/spec/playground-strategy-schema.js +1 -0
  183. package/dist/lib/openapi/spec/playground-strategy-schema.js.map +1 -1
  184. package/dist/lib/openapi/spec/profile-schema.d.ts +9 -1
  185. package/dist/lib/openapi/spec/project-environment-schema.d.ts +0 -2
  186. package/dist/lib/openapi/spec/project-overview-schema.d.ts +20 -6
  187. package/dist/lib/openapi/spec/project-overview-schema.js +4 -1
  188. package/dist/lib/openapi/spec/project-overview-schema.js.map +1 -1
  189. package/dist/lib/openapi/spec/project-schema.d.ts +4 -0
  190. package/dist/lib/openapi/spec/project-schema.js +4 -0
  191. package/dist/lib/openapi/spec/project-schema.js.map +1 -1
  192. package/dist/lib/openapi/spec/projects-schema.d.ts +6 -0
  193. package/dist/lib/openapi/spec/projects-schema.js +2 -0
  194. package/dist/lib/openapi/spec/projects-schema.js.map +1 -1
  195. package/dist/lib/openapi/spec/public-signup-token-schema.d.ts +3 -1
  196. package/dist/lib/openapi/spec/public-signup-token-schema.js +1 -0
  197. package/dist/lib/openapi/spec/public-signup-token-schema.js.map +1 -1
  198. package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts +5 -2
  199. package/dist/lib/openapi/spec/push-variants-schema.d.ts +3 -0
  200. package/dist/lib/openapi/spec/push-variants-schema.js +3 -0
  201. package/dist/lib/openapi/spec/push-variants-schema.js.map +1 -1
  202. package/dist/lib/openapi/spec/reset-password-schema.d.ts +4 -0
  203. package/dist/lib/openapi/spec/reset-password-schema.js +4 -0
  204. package/dist/lib/openapi/spec/reset-password-schema.js.map +1 -1
  205. package/dist/lib/openapi/spec/sdk-context-schema.d.ts +1 -1
  206. package/dist/lib/openapi/spec/sdk-context-schema.js +1 -1
  207. package/dist/lib/openapi/spec/sdk-context-schema.js.map +1 -1
  208. package/dist/lib/openapi/spec/search-events-schema.d.ts +2 -2
  209. package/dist/lib/openapi/spec/search-events-schema.js +1 -6
  210. package/dist/lib/openapi/spec/search-events-schema.js.map +1 -1
  211. package/dist/lib/openapi/spec/sort-order-schema.d.ts +4 -1
  212. package/dist/lib/openapi/spec/sort-order-schema.js +4 -1
  213. package/dist/lib/openapi/spec/sort-order-schema.js.map +1 -1
  214. package/dist/lib/openapi/spec/state-schema.d.ts +39 -3
  215. package/dist/lib/openapi/spec/state-schema.js +14 -2
  216. package/dist/lib/openapi/spec/state-schema.js.map +1 -1
  217. package/dist/lib/openapi/spec/toggle-maintenance-schema.d.ts +2 -0
  218. package/dist/lib/openapi/spec/toggle-maintenance-schema.js +2 -0
  219. package/dist/lib/openapi/spec/toggle-maintenance-schema.js.map +1 -1
  220. package/dist/lib/openapi/spec/token-string-list-schema.d.ts +0 -1
  221. package/dist/lib/openapi/spec/token-string-list-schema.js +0 -1
  222. package/dist/lib/openapi/spec/token-string-list-schema.js.map +1 -1
  223. package/dist/lib/openapi/spec/token-user-schema.d.ts +1 -1
  224. package/dist/lib/openapi/spec/token-user-schema.js +1 -1
  225. package/dist/lib/openapi/spec/token-user-schema.js.map +1 -1
  226. package/dist/lib/openapi/spec/{upsert-context-field-schema.d.ts → update-context-field-schema.d.ts} +19 -8
  227. package/dist/lib/openapi/spec/update-context-field-schema.js +44 -0
  228. package/dist/lib/openapi/spec/update-context-field-schema.js.map +1 -0
  229. package/dist/lib/openapi/spec/update-user-schema.d.ts +0 -1
  230. package/dist/lib/openapi/spec/update-user-schema.js +0 -1
  231. package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
  232. package/dist/lib/openapi/spec/user-schema.d.ts +2 -1
  233. package/dist/lib/openapi/spec/user-schema.js +2 -1
  234. package/dist/lib/openapi/spec/user-schema.js.map +1 -1
  235. package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +33 -4
  236. package/dist/lib/openapi/spec/users-groups-base-schema.js +24 -0
  237. package/dist/lib/openapi/spec/users-groups-base-schema.js.map +1 -1
  238. package/dist/lib/openapi/spec/users-schema.d.ts +3 -2
  239. package/dist/lib/openapi/spec/users-schema.js +1 -1
  240. package/dist/lib/openapi/spec/users-schema.js.map +1 -1
  241. package/dist/lib/openapi/spec/users-search-schema.d.ts +3 -1
  242. package/dist/lib/openapi/spec/users-search-schema.js +1 -0
  243. package/dist/lib/openapi/spec/users-search-schema.js.map +1 -1
  244. package/dist/lib/openapi/spec/variants-schema.d.ts +1 -0
  245. package/dist/lib/openapi/spec/variants-schema.js +1 -0
  246. package/dist/lib/openapi/spec/variants-schema.js.map +1 -1
  247. package/dist/lib/openapi/util/openapi-tags.d.ts +18 -0
  248. package/dist/lib/openapi/util/openapi-tags.js +12 -0
  249. package/dist/lib/openapi/util/openapi-tags.js.map +1 -1
  250. package/dist/lib/routes/admin-api/api-token.d.ts +5 -0
  251. package/dist/lib/routes/admin-api/api-token.js +28 -0
  252. package/dist/lib/routes/admin-api/api-token.js.map +1 -1
  253. package/dist/lib/routes/admin-api/archive.js +4 -0
  254. package/dist/lib/routes/admin-api/archive.js.map +1 -1
  255. package/dist/lib/routes/admin-api/client-metrics.js +2 -1
  256. package/dist/lib/routes/admin-api/client-metrics.js.map +1 -1
  257. package/dist/lib/routes/admin-api/context.d.ts +4 -3
  258. package/dist/lib/routes/admin-api/context.js +3 -4
  259. package/dist/lib/routes/admin-api/context.js.map +1 -1
  260. package/dist/lib/routes/admin-api/feature-type.js +2 -2
  261. package/dist/lib/routes/admin-api/feature-type.js.map +1 -1
  262. package/dist/lib/routes/admin-api/instance-admin.js +2 -0
  263. package/dist/lib/routes/admin-api/instance-admin.js.map +1 -1
  264. package/dist/lib/routes/admin-api/maintenance.d.ts +2 -1
  265. package/dist/lib/routes/admin-api/maintenance.js.map +1 -1
  266. package/dist/lib/routes/admin-api/project/environments.js +1 -0
  267. package/dist/lib/routes/admin-api/project/environments.js.map +1 -1
  268. package/dist/lib/routes/admin-api/project/project-features.js +2 -1
  269. package/dist/lib/routes/admin-api/project/project-features.js.map +1 -1
  270. package/dist/lib/routes/admin-api/public-signup.js +2 -1
  271. package/dist/lib/routes/admin-api/public-signup.js.map +1 -1
  272. package/dist/lib/routes/admin-api/strategy.d.ts +1 -1
  273. package/dist/lib/routes/admin-api/strategy.js +2 -2
  274. package/dist/lib/routes/admin-api/strategy.js.map +1 -1
  275. package/dist/lib/routes/admin-api/tag-type.js +2 -2
  276. package/dist/lib/routes/admin-api/tag-type.js.map +1 -1
  277. package/dist/lib/routes/admin-api/user-admin.js +2 -1
  278. package/dist/lib/routes/admin-api/user-admin.js.map +1 -1
  279. package/dist/lib/routes/client-api/register.d.ts +1 -0
  280. package/dist/lib/routes/client-api/register.js +8 -0
  281. package/dist/lib/routes/client-api/register.js.map +1 -1
  282. package/dist/lib/routes/index.js +1 -0
  283. package/dist/lib/routes/index.js.map +1 -1
  284. package/dist/lib/routes/public-invite.js +2 -1
  285. package/dist/lib/routes/public-invite.js.map +1 -1
  286. package/dist/lib/segments/segment-service-interface.d.ts +2 -0
  287. package/dist/lib/server-impl.js +3 -1
  288. package/dist/lib/server-impl.js.map +1 -1
  289. package/dist/lib/services/access-service.d.ts +6 -3
  290. package/dist/lib/services/access-service.js +17 -5
  291. package/dist/lib/services/access-service.js.map +1 -1
  292. package/dist/lib/services/access-service.test.js +49 -3
  293. package/dist/lib/services/access-service.test.js.map +1 -1
  294. package/dist/lib/services/client-metrics/instance-service.js +5 -7
  295. package/dist/lib/services/client-metrics/instance-service.js.map +1 -1
  296. package/dist/lib/services/client-metrics/last-seen-service.d.ts +4 -0
  297. package/dist/lib/services/client-metrics/last-seen-service.js +4 -1
  298. package/dist/lib/services/client-metrics/last-seen-service.js.map +1 -1
  299. package/dist/lib/services/client-metrics/models.d.ts +2 -0
  300. package/dist/lib/services/client-metrics/schema.js +1 -0
  301. package/dist/lib/services/client-metrics/schema.js.map +1 -1
  302. package/dist/lib/services/feature-service-potentially-stale.test.js +0 -1
  303. package/dist/lib/services/feature-service-potentially-stale.test.js.map +1 -1
  304. package/dist/lib/services/feature-toggle-service.js +20 -30
  305. package/dist/lib/services/feature-toggle-service.js.map +1 -1
  306. package/dist/lib/services/index.js +1 -1
  307. package/dist/lib/services/index.js.map +1 -1
  308. package/dist/lib/services/instance-stats-service.d.ts +2 -0
  309. package/dist/lib/services/instance-stats-service.js +6 -1
  310. package/dist/lib/services/instance-stats-service.js.map +1 -1
  311. package/dist/lib/services/maintenance-service.js +1 -1
  312. package/dist/lib/services/maintenance-service.js.map +1 -1
  313. package/dist/lib/services/maintenance-service.test.js +1 -1
  314. package/dist/lib/services/maintenance-service.test.js.map +1 -1
  315. package/dist/lib/services/project-service.d.ts +2 -1
  316. package/dist/lib/services/project-service.js +3 -0
  317. package/dist/lib/services/project-service.js.map +1 -1
  318. package/dist/lib/services/segment-service.d.ts +8 -2
  319. package/dist/lib/services/segment-service.js +34 -3
  320. package/dist/lib/services/segment-service.js.map +1 -1
  321. package/dist/lib/services/user-service.js +3 -3
  322. package/dist/lib/services/user-service.js.map +1 -1
  323. package/dist/lib/services/version-service.d.ts +1 -0
  324. package/dist/lib/services/version-service.js +8 -1
  325. package/dist/lib/services/version-service.js.map +1 -1
  326. package/dist/lib/types/events.d.ts +2 -1
  327. package/dist/lib/types/events.js +4 -2
  328. package/dist/lib/types/events.js.map +1 -1
  329. package/dist/lib/types/experimental.d.ts +1 -1
  330. package/dist/lib/types/experimental.js +6 -5
  331. package/dist/lib/types/experimental.js.map +1 -1
  332. package/dist/lib/types/model.d.ts +2 -0
  333. package/dist/lib/types/model.js.map +1 -1
  334. package/dist/lib/types/option.d.ts +2 -0
  335. package/dist/lib/types/project.d.ts +7 -0
  336. package/dist/lib/types/stores/access-store.d.ts +9 -0
  337. package/dist/lib/types/stores/client-applications-store.d.ts +5 -0
  338. package/dist/lib/types/stores/context-field-store.d.ts +3 -3
  339. package/dist/lib/types/stores/feature-toggle-store.d.ts +2 -1
  340. package/dist/lib/types/stores/role-store.d.ts +3 -0
  341. package/dist/migrations/20230802092725-add-last-seen-column-to-feature-environments.d.ts +2 -0
  342. package/dist/migrations/20230802092725-add-last-seen-column-to-feature-environments.js +84 -0
  343. package/dist/migrations/20230802092725-add-last-seen-column-to-feature-environments.js.map +1 -0
  344. package/dist/migrations/20230802141830-add-feature-and-environment-last-seen-at-to-features-view.d.ts +2 -0
  345. package/dist/migrations/20230802141830-add-feature-and-environment-last-seen-at-to-features-view.js +83 -0
  346. package/dist/migrations/20230802141830-add-feature-and-environment-last-seen-at-to-features-view.js.map +1 -0
  347. package/dist/migrations/20230803061359-change-request-optional-feature.d.ts +2 -0
  348. package/dist/migrations/20230803061359-change-request-optional-feature.js +13 -0
  349. package/dist/migrations/20230803061359-change-request-optional-feature.js.map +1 -0
  350. package/dist/migrations/20230808104232-update-root-roles-descriptions.d.ts +2 -0
  351. package/dist/migrations/20230808104232-update-root-roles-descriptions.js +15 -0
  352. package/dist/migrations/20230808104232-update-root-roles-descriptions.js.map +1 -0
  353. package/dist/migrations/20230814095253-change-request-rejections.d.ts +2 -0
  354. package/dist/migrations/20230814095253-change-request-rejections.js +18 -0
  355. package/dist/migrations/20230814095253-change-request-rejections.js.map +1 -0
  356. package/dist/migrations/20230814115436-change-request-timzone-timestamps.d.ts +2 -0
  357. package/dist/migrations/20230814115436-change-request-timzone-timestamps.js +15 -0
  358. package/dist/migrations/20230814115436-change-request-timzone-timestamps.js.map +1 -0
  359. package/dist/migrations/20230815065908-change-request-approve-reject-permission.d.ts +2 -0
  360. package/dist/migrations/20230815065908-change-request-approve-reject-permission.js +12 -0
  361. package/dist/migrations/20230815065908-change-request-approve-reject-permission.js.map +1 -0
  362. package/dist/migrations/20230817095805-client-applications-usage-table.d.ts +2 -0
  363. package/dist/migrations/20230817095805-client-applications-usage-table.js +17 -0
  364. package/dist/migrations/20230817095805-client-applications-usage-table.js.map +1 -0
  365. package/dist/migrations/20230818124614-update-client-applications-usage-table.d.ts +2 -0
  366. package/dist/migrations/20230818124614-update-client-applications-usage-table.js +25 -0
  367. package/dist/migrations/20230818124614-update-client-applications-usage-table.js.map +1 -0
  368. package/dist/server-dev.js +3 -2
  369. package/dist/server-dev.js.map +1 -1
  370. package/dist/test/config/test-config.js +1 -0
  371. package/dist/test/config/test-config.js.map +1 -1
  372. package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js +12 -84
  373. package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js.map +1 -1
  374. package/dist/test/e2e/api/admin/api-token.e2e.test.js +10 -2
  375. package/dist/test/e2e/api/admin/api-token.e2e.test.js.map +1 -1
  376. package/dist/test/e2e/api/admin/metrics.e2e.test.js +30 -4
  377. package/dist/test/e2e/api/admin/metrics.e2e.test.js.map +1 -1
  378. package/dist/test/e2e/api/admin/project/features.e2e.test.js +14 -15
  379. package/dist/test/e2e/api/admin/project/features.e2e.test.js.map +1 -1
  380. package/dist/test/e2e/api/client/metricsV2.e2e.test.js +19 -5
  381. package/dist/test/e2e/api/client/metricsV2.e2e.test.js.map +1 -1
  382. package/dist/test/e2e/api/openapi/openapi.e2e.test.js +23 -0
  383. package/dist/test/e2e/api/openapi/openapi.e2e.test.js.map +1 -1
  384. package/dist/test/e2e/helpers/test-helper.js +11 -1
  385. package/dist/test/e2e/helpers/test-helper.js.map +1 -1
  386. package/dist/test/e2e/services/access-service.e2e.test.js +2 -2
  387. package/dist/test/e2e/services/access-service.e2e.test.js.map +1 -1
  388. package/dist/test/e2e/services/api-token-service.e2e.test.js +1 -1
  389. package/dist/test/e2e/services/api-token-service.e2e.test.js.map +1 -1
  390. package/dist/test/e2e/services/environment-service.test.js +2 -0
  391. package/dist/test/e2e/services/environment-service.test.js.map +1 -1
  392. package/dist/test/e2e/services/feature-toggle-service-v2.e2e.test.js +1 -1
  393. package/dist/test/e2e/services/feature-toggle-service-v2.e2e.test.js.map +1 -1
  394. package/dist/test/e2e/services/playground-service.test.js +1 -1
  395. package/dist/test/e2e/services/playground-service.test.js.map +1 -1
  396. package/dist/test/e2e/services/project-health-service.e2e.test.js +1 -1
  397. package/dist/test/e2e/services/project-health-service.e2e.test.js.map +1 -1
  398. package/dist/test/e2e/services/project-service.e2e.test.js +1 -1
  399. package/dist/test/e2e/services/project-service.e2e.test.js.map +1 -1
  400. package/dist/test/e2e/services/user-service.e2e.test.js +10 -0
  401. package/dist/test/e2e/services/user-service.e2e.test.js.map +1 -1
  402. package/dist/test/fixtures/access-service-mock.js +1 -0
  403. package/dist/test/fixtures/access-service-mock.js.map +1 -1
  404. package/dist/test/fixtures/fake-access-store.d.ts +3 -1
  405. package/dist/test/fixtures/fake-access-store.js +6 -0
  406. package/dist/test/fixtures/fake-access-store.js.map +1 -1
  407. package/dist/test/fixtures/fake-feature-toggle-store.d.ts +2 -1
  408. package/dist/test/fixtures/fake-feature-toggle-store.js +19 -6
  409. package/dist/test/fixtures/fake-feature-toggle-store.js.map +1 -1
  410. package/dist/test/fixtures/fake-project-store.d.ts +1 -1
  411. package/dist/test/fixtures/fake-role-store.d.ts +3 -0
  412. package/dist/test/fixtures/fake-role-store.js +6 -0
  413. package/dist/test/fixtures/fake-role-store.js.map +1 -1
  414. package/frontend/build/index.html +2 -2
  415. package/frontend/build/static/{AdvancedPlayground-48dddbf4.js → AdvancedPlayground-2d715a2c.js} +3 -3
  416. package/frontend/build/static/{CreateProject-c1b0f704.js → CreateProject-5b1090c2.js} +1 -1
  417. package/frontend/build/static/{Error-e6f7c2ee.js → Error-e44ea66b.js} +1 -1
  418. package/frontend/build/static/FeatureArchiveDialog-b47b18e8.js +10 -0
  419. package/frontend/build/static/{FeatureMetricsChart-81da0ce4.js → FeatureMetricsChart-36caeeb7.js} +2 -2
  420. package/frontend/build/static/FeatureViewLazyExport-49d56afd.js +7 -0
  421. package/frontend/build/static/LazyAdminExport-87c9ab51.js +35 -0
  422. package/frontend/build/static/LazyProjectExport-c4634b2a.js +17 -0
  423. package/frontend/build/static/{NetworkOverview-cd06e59f.js → NetworkOverview-c762698b.js} +64 -64
  424. package/frontend/build/static/{NetworkTraffic-ba933617.js → NetworkTraffic-c8d9eb9b.js} +1 -1
  425. package/frontend/build/static/RoleCell-d1aa8288.js +1 -0
  426. package/frontend/build/static/{StrategyItemContainer-88c18285.js → StrategyItemContainer-c7c352a4.js} +1 -1
  427. package/frontend/build/static/changeRequestProcess-f2469ef4.svg +61 -0
  428. package/frontend/build/static/{chartjs-adapter-date-fns.esm-799be047.js → chartjs-adapter-date-fns.esm-9c67372b.js} +6 -6
  429. package/frontend/build/static/{flowchart-elk-definition-170a3958-543f0844.js → flowchart-elk-definition-170a3958-5ea9fc56.js} +1 -1
  430. package/frontend/build/static/{index-88f1c682.js → index-1aaa8c27.js} +1 -1
  431. package/frontend/build/static/{index-aa638b65.js → index-670c9345.js} +1 -1
  432. package/frontend/build/static/index-b7003840.js +454 -0
  433. package/frontend/build/static/{is_dark-735e3a95.js → is_dark-b445e102.js} +1 -1
  434. package/frontend/build/static/{mindmap-definition-44684416-ac92f950.js → mindmap-definition-44684416-254e936e.js} +1 -1
  435. package/frontend/build/static/pro-enterprise-feature-badge-8ac467c3.svg +7 -0
  436. package/frontend/build/static/pro-enterprise-feature-badge-light-81a18f9b.svg +6 -0
  437. package/frontend/build/static/{timeline-definition-8e5a9bc6-6c09f608.js → timeline-definition-8e5a9bc6-24fd1725.js} +1 -1
  438. package/frontend/build/static/{unknownify-0b176a78.js → unknownify-ea4585e8.js} +1 -1
  439. package/frontend/build/static/usage-line-00d00632.svg +3 -0
  440. package/frontend/build/static/usage-rate-cb18f02b.svg +3 -0
  441. package/frontend/package.json +13 -13
  442. package/package.json +12 -13
  443. package/dist/lib/openapi/spec/upsert-context-field-schema.js +0 -35
  444. package/dist/lib/openapi/spec/upsert-context-field-schema.js.map +0 -1
  445. package/frontend/build/static/FeatureArchiveDialog-9ad60db1.js +0 -10
  446. package/frontend/build/static/FeatureViewLazyExport-58a3e977.js +0 -7
  447. package/frontend/build/static/LazyAdminExport-c98b11d7.js +0 -37
  448. package/frontend/build/static/LazyProjectExport-14db2e37.js +0 -16
  449. package/frontend/build/static/RoleCell-c534790e.js +0 -1
  450. package/frontend/build/static/changeRequestProcess-a532ab60.svg +0 -1
  451. package/frontend/build/static/index-1c4c68c3.js +0 -453
  452. package/frontend/build/static/pro-enterprise-feature-badge-8fab99c5.svg +0 -5
  453. package/frontend/build/static/pro-enterprise-feature-badge-light-0227af08.svg +0 -1
  454. /package/frontend/build/static/{index-770afaee.css → style-770afaee.css} +0 -0
@@ -5,18 +5,29 @@ exports.patchSchema = {
5
5
  $id: '#/components/schemas/patchSchema',
6
6
  type: 'object',
7
7
  required: ['path', 'op'],
8
+ description: 'A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description',
8
9
  properties: {
9
10
  path: {
10
11
  type: 'string',
12
+ description: 'The path to the property to operate on',
13
+ example: '/type',
11
14
  },
12
15
  op: {
13
16
  type: 'string',
14
17
  enum: ['add', 'remove', 'replace', 'copy', 'move'],
18
+ description: 'The kind of operation to perform',
19
+ example: 'replace',
15
20
  },
16
21
  from: {
17
22
  type: 'string',
23
+ description: 'The target to move or copy from, if performing one of those operations',
24
+ example: '/type',
25
+ },
26
+ value: {
27
+ description: 'The value to add or replace, if performing one of those operations',
28
+ example: 'kill-switch',
29
+ nullable: true,
18
30
  },
19
- value: {},
20
31
  },
21
32
  components: {},
22
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/patch-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,kCAAkC;IACvC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;IACxB,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;SACjB;QACD,EAAE,EAAE;YACA,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC;SACrD;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;SACjB;QACD,KAAK,EAAE,EAAE;KACZ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
1
+ {"version":3,"file":"patch-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/patch-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,kCAAkC;IACvC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;IACxB,WAAW,EACP,8EAA8E;IAClF,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wCAAwC;YACrD,OAAO,EAAE,OAAO;SACnB;QACD,EAAE,EAAE;YACA,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC;YAClD,WAAW,EAAE,kCAAkC;YAC/C,OAAO,EAAE,SAAS;SACrB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,wEAAwE;YAC5E,OAAO,EAAE,OAAO;SACnB;QACD,KAAK,EAAE;YACH,WAAW,EACP,oEAAoE;YACxE,OAAO,EAAE,aAAa;YACtB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
@@ -12,18 +12,29 @@ export declare const patchesSchema: {
12
12
  readonly $id: "#/components/schemas/patchSchema";
13
13
  readonly type: "object";
14
14
  readonly required: readonly ["path", "op"];
15
+ readonly description: "A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description";
15
16
  readonly properties: {
16
17
  readonly path: {
17
18
  readonly type: "string";
19
+ readonly description: "The path to the property to operate on";
20
+ readonly example: "/type";
18
21
  };
19
22
  readonly op: {
20
23
  readonly type: "string";
21
24
  readonly enum: readonly ["add", "remove", "replace", "copy", "move"];
25
+ readonly description: "The kind of operation to perform";
26
+ readonly example: "replace";
22
27
  };
23
28
  readonly from: {
24
29
  readonly type: "string";
30
+ readonly description: "The target to move or copy from, if performing one of those operations";
31
+ readonly example: "/type";
32
+ };
33
+ readonly value: {
34
+ readonly description: "The value to add or replace, if performing one of those operations";
35
+ readonly example: "kill-switch";
36
+ readonly nullable: true;
25
37
  };
26
- readonly value: {};
27
38
  };
28
39
  readonly components: {};
29
40
  };
@@ -102,6 +102,7 @@ export declare const playgroundFeatureSchema: {
102
102
  readonly playgroundStrategySchema: {
103
103
  readonly $id: "#/components/schemas/playgroundStrategySchema";
104
104
  readonly type: "object";
105
+ readonly description: "An evaluated feature toggle strategy as used by the Playground";
105
106
  readonly additionalProperties: false;
106
107
  readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
107
108
  readonly properties: {
@@ -299,6 +300,7 @@ export declare const playgroundFeatureSchema: {
299
300
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
300
301
  readonly type: "object";
301
302
  readonly additionalProperties: false;
303
+ readonly description: "The evaluated result of a segment as used by the Playground.";
302
304
  readonly required: readonly ["name", "id", "constraints", "result"];
303
305
  readonly properties: {
304
306
  readonly id: {
@@ -548,6 +550,7 @@ export declare const playgroundFeatureSchema: {
548
550
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
549
551
  readonly type: "object";
550
552
  readonly additionalProperties: false;
553
+ readonly description: "The evaluated result of a segment as used by the Playground.";
551
554
  readonly required: readonly ["name", "id", "constraints", "result"];
552
555
  readonly properties: {
553
556
  readonly id: {
@@ -35,7 +35,6 @@ export declare const playgroundRequestSchema: {
35
35
  readonly $id: "#/components/schemas/sdkContextSchema";
36
36
  readonly description: "The Unleash context as modeled in client SDKs";
37
37
  readonly type: "object";
38
- readonly additionalProperties: true;
39
38
  readonly required: readonly ["appName"];
40
39
  readonly properties: {
41
40
  readonly appName: {
@@ -60,6 +59,7 @@ export declare const playgroundRequestSchema: {
60
59
  readonly additionalProperties: {
61
60
  readonly type: "string";
62
61
  };
62
+ readonly description: "Additional Unleash context properties";
63
63
  readonly example: {
64
64
  readonly customContextField: "this is one!";
65
65
  readonly otherCustomField: "3";
@@ -223,6 +223,7 @@ export declare const playgroundResponseSchema: {
223
223
  readonly playgroundStrategySchema: {
224
224
  readonly $id: "#/components/schemas/playgroundStrategySchema";
225
225
  readonly type: "object";
226
+ readonly description: "An evaluated feature toggle strategy as used by the Playground";
226
227
  readonly additionalProperties: false;
227
228
  readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
228
229
  readonly properties: {
@@ -420,6 +421,7 @@ export declare const playgroundResponseSchema: {
420
421
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
421
422
  readonly type: "object";
422
423
  readonly additionalProperties: false;
424
+ readonly description: "The evaluated result of a segment as used by the Playground.";
423
425
  readonly required: readonly ["name", "id", "constraints", "result"];
424
426
  readonly properties: {
425
427
  readonly id: {
@@ -669,6 +671,7 @@ export declare const playgroundResponseSchema: {
669
671
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
670
672
  readonly type: "object";
671
673
  readonly additionalProperties: false;
674
+ readonly description: "The evaluated result of a segment as used by the Playground.";
672
675
  readonly required: readonly ["name", "id", "constraints", "result"];
673
676
  readonly properties: {
674
677
  readonly id: {
@@ -908,7 +911,6 @@ export declare const playgroundResponseSchema: {
908
911
  readonly $id: "#/components/schemas/sdkContextSchema";
909
912
  readonly description: "The Unleash context as modeled in client SDKs";
910
913
  readonly type: "object";
911
- readonly additionalProperties: true;
912
914
  readonly required: readonly ["appName"];
913
915
  readonly properties: {
914
916
  readonly appName: {
@@ -933,6 +935,7 @@ export declare const playgroundResponseSchema: {
933
935
  readonly additionalProperties: {
934
936
  readonly type: "string";
935
937
  };
938
+ readonly description: "Additional Unleash context properties";
936
939
  readonly example: {
937
940
  readonly customContextField: "this is one!";
938
941
  readonly otherCustomField: "3";
@@ -963,6 +966,7 @@ export declare const playgroundResponseSchema: {
963
966
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
964
967
  readonly type: "object";
965
968
  readonly additionalProperties: false;
969
+ readonly description: "The evaluated result of a segment as used by the Playground.";
966
970
  readonly required: readonly ["name", "id", "constraints", "result"];
967
971
  readonly properties: {
968
972
  readonly id: {
@@ -1042,6 +1046,7 @@ export declare const playgroundResponseSchema: {
1042
1046
  readonly playgroundStrategySchema: {
1043
1047
  readonly $id: "#/components/schemas/playgroundStrategySchema";
1044
1048
  readonly type: "object";
1049
+ readonly description: "An evaluated feature toggle strategy as used by the Playground";
1045
1050
  readonly additionalProperties: false;
1046
1051
  readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
1047
1052
  readonly properties: {
@@ -1239,6 +1244,7 @@ export declare const playgroundResponseSchema: {
1239
1244
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
1240
1245
  readonly type: "object";
1241
1246
  readonly additionalProperties: false;
1247
+ readonly description: "The evaluated result of a segment as used by the Playground.";
1242
1248
  readonly required: readonly ["name", "id", "constraints", "result"];
1243
1249
  readonly properties: {
1244
1250
  readonly id: {
@@ -1440,7 +1446,6 @@ export declare const playgroundResponseSchema: {
1440
1446
  readonly $id: "#/components/schemas/sdkContextSchema";
1441
1447
  readonly description: "The Unleash context as modeled in client SDKs";
1442
1448
  readonly type: "object";
1443
- readonly additionalProperties: true;
1444
1449
  readonly required: readonly ["appName"];
1445
1450
  readonly properties: {
1446
1451
  readonly appName: {
@@ -1465,6 +1470,7 @@ export declare const playgroundResponseSchema: {
1465
1470
  readonly additionalProperties: {
1466
1471
  readonly type: "string";
1467
1472
  };
1473
+ readonly description: "Additional Unleash context properties";
1468
1474
  readonly example: {
1469
1475
  readonly customContextField: "this is one!";
1470
1476
  readonly otherCustomField: "3";
@@ -3,6 +3,7 @@ export declare const playgroundSegmentSchema: {
3
3
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
4
4
  readonly type: "object";
5
5
  readonly additionalProperties: false;
6
+ readonly description: "The evaluated result of a segment as used by the Playground.";
6
7
  readonly required: readonly ["name", "id", "constraints", "result"];
7
8
  readonly properties: {
8
9
  readonly id: {
@@ -6,6 +6,7 @@ exports.playgroundSegmentSchema = {
6
6
  $id: '#/components/schemas/playgroundSegmentSchema',
7
7
  type: 'object',
8
8
  additionalProperties: false,
9
+ description: 'The evaluated result of a segment as used by the Playground.',
9
10
  required: ['name', 'id', 'constraints', 'result'],
10
11
  properties: {
11
12
  id: {
@@ -1 +1 @@
1
- {"version":3,"file":"playground-segment-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-segment-schema.ts"],"names":[],"mappings":";;;AACA,iFAA4E;AAE/D,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC;IACjD,UAAU,EAAE;QACR,EAAE,EAAE;YACA,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;SAClB;QACD,IAAI,EAAE;YACF,WAAW,EAAE,0BAA0B;YACvC,OAAO,EAAE,WAAW;YACpB,IAAI,EAAE,QAAQ;SACjB;QACD,MAAM,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,SAAS;SAClB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE,EAAE,IAAI,EAAE,yDAA0B,CAAC,GAAG,EAAE;SAClD;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,0BAA0B,EAA1B,yDAA0B;SAC7B;KACJ;CACK,CAAC"}
1
+ {"version":3,"file":"playground-segment-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-segment-schema.ts"],"names":[],"mappings":";;;AACA,iFAA4E;AAE/D,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,8DAA8D;IAC3E,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC;IACjD,UAAU,EAAE;QACR,EAAE,EAAE;YACA,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;SAClB;QACD,IAAI,EAAE;YACF,WAAW,EAAE,0BAA0B;YACvC,OAAO,EAAE,WAAW;YACpB,IAAI,EAAE,QAAQ;SACjB;QACD,MAAM,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,SAAS;SAClB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE,EAAE,IAAI,EAAE,yDAA0B,CAAC,GAAG,EAAE;SAClD;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,0BAA0B,EAA1B,yDAA0B;SAC7B;KACJ;CACK,CAAC"}
@@ -93,6 +93,7 @@ export declare const strategyEvaluationResults: {
93
93
  export declare const playgroundStrategySchema: {
94
94
  readonly $id: "#/components/schemas/playgroundStrategySchema";
95
95
  readonly type: "object";
96
+ readonly description: "An evaluated feature toggle strategy as used by the Playground";
96
97
  readonly additionalProperties: false;
97
98
  readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
98
99
  readonly properties: {
@@ -290,6 +291,7 @@ export declare const playgroundStrategySchema: {
290
291
  readonly $id: "#/components/schemas/playgroundSegmentSchema";
291
292
  readonly type: "object";
292
293
  readonly additionalProperties: false;
294
+ readonly description: "The evaluated result of a segment as used by the Playground.";
293
295
  readonly required: readonly ["name", "id", "constraints", "result"];
294
296
  readonly properties: {
295
297
  readonly id: {
@@ -101,6 +101,7 @@ exports.strategyEvaluationResults = {
101
101
  exports.playgroundStrategySchema = {
102
102
  $id: '#/components/schemas/playgroundStrategySchema',
103
103
  type: 'object',
104
+ description: 'An evaluated feature toggle strategy as used by the Playground',
104
105
  additionalProperties: false,
105
106
  required: [
106
107
  'id',
@@ -1 +1 @@
1
- {"version":3,"file":"playground-strategy-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-strategy-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,iFAA4E;AAC5E,2EAAsE;AACtE,qDAAiD;AACjD,uDAAmD;AAEtC,QAAA,4BAA4B,GAAG;IACxC,kBAAkB,EAAE,UAAU;IAC9B,oBAAoB,EAAE,YAAY;IAClC,aAAa,EAAE,SAAS;CAClB,CAAC;AAEE,QAAA,yBAAyB,GAAG;IACrC,KAAK,EAAE;QACH;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,IAAI,EAAE,QAAQ;oBACd,WAAW,EACP,gJAAgJ;oBACpJ,IAAI,EAAE,CAAC,oCAA4B,CAAC,oBAAoB,CAAC;iBAC5D;gBACD,OAAO,EAAE;oBACL,WAAW,EACP,uRAAuR;oBAC3R,KAAK,EAAE;wBACH,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;wBAClC;4BACI,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,CAAC,oCAA4B,CAAC,aAAa,CAAC;yBACrD;qBACJ;iBACJ;aACJ;SACJ;QACD;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,WAAW,EACP,wDAAwD;oBAC5D,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,UAAU,CAAC;iBACrB;gBACD,OAAO,EAAE;oBACL,IAAI,EAAE,SAAS;oBACf,WAAW,EACP,iDAAiD;iBACxD;gBACD,OAAO,EAAE;oBACL,WAAW,EAAE;;;uFAGsD;oBACnE,IAAI,EA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ChB,aAAa,EAAb,8BAAa;YACb,cAAc,EAAd,gCAAc;SACjB;KACJ;CACK,CAAC"}
1
+ {"version":3,"file":"playground-strategy-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-strategy-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,iFAA4E;AAC5E,2EAAsE;AACtE,qDAAiD;AACjD,uDAAmD;AAEtC,QAAA,4BAA4B,GAAG;IACxC,kBAAkB,EAAE,UAAU;IAC9B,oBAAoB,EAAE,YAAY;IAClC,aAAa,EAAE,SAAS;CAClB,CAAC;AAEE,QAAA,yBAAyB,GAAG;IACrC,KAAK,EAAE;QACH;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,IAAI,EAAE,QAAQ;oBACd,WAAW,EACP,gJAAgJ;oBACpJ,IAAI,EAAE,CAAC,oCAA4B,CAAC,oBAAoB,CAAC;iBAC5D;gBACD,OAAO,EAAE;oBACL,WAAW,EACP,uRAAuR;oBAC3R,KAAK,EAAE;wBACH,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;wBAClC;4BACI,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,CAAC,oCAA4B,CAAC,aAAa,CAAC;yBACrD;qBACJ;iBACJ;aACJ;SACJ;QACD;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,WAAW,EACP,wDAAwD;oBAC5D,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,UAAU,CAAC;iBACrB;gBACD,OAAO,EAAE;oBACL,IAAI,EAAE,SAAS;oBACf,WAAW,EACP,iDAAiD;iBAC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ACL,0BAA0B,EAA1B,yDAA0B;YAC1B,uBAAuB,EAAvB,mDAAuB;YACvB,gBAAgB,EAAhB,oCAAgB;YAChB,aAAa,EAAb,8BAAa;YACb,cAAc,EAAd,gCAAc;SACjB;KACJ;CACK,CAAC"}
@@ -99,8 +99,9 @@ export declare const profileSchema: {
99
99
  readonly type: "string";
100
100
  readonly format: "date-time";
101
101
  readonly nullable: true;
102
+ readonly deprecated: true;
102
103
  readonly example: "2023-01-28T16:21:39.975Z";
103
- readonly description: "The date when metrics where last collected for the feature";
104
+ readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
104
105
  };
105
106
  readonly environments: {
106
107
  readonly type: "array";
@@ -235,6 +236,13 @@ export declare const profileSchema: {
235
236
  };
236
237
  readonly description: "A list of variants for the feature environment";
237
238
  };
239
+ readonly lastSeenAt: {
240
+ readonly type: "string";
241
+ readonly format: "date-time";
242
+ readonly nullable: true;
243
+ readonly example: "2023-01-28T16:21:39.975Z";
244
+ readonly description: "The date when metrics where last collected for the feature environment";
245
+ };
238
246
  };
239
247
  readonly components: {
240
248
  readonly schemas: {
@@ -148,7 +148,6 @@ export declare const projectEnvironmentSchema: {
148
148
  readonly createStrategyVariantSchema: {
149
149
  readonly $id: "#/components/schemas/createStrategyVariantSchema";
150
150
  readonly type: "object";
151
- readonly additionalProperties: true;
152
151
  readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
153
152
  readonly required: readonly ["name", "weight", "weightType", "stickiness"];
154
153
  readonly properties: {
@@ -203,7 +202,6 @@ export declare const projectEnvironmentSchema: {
203
202
  readonly createStrategyVariantSchema: {
204
203
  readonly $id: "#/components/schemas/createStrategyVariantSchema";
205
204
  readonly type: "object";
206
- readonly additionalProperties: true;
207
205
  readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
208
206
  readonly required: readonly ["name", "weight", "weightType", "stickiness"];
209
207
  readonly properties: {
@@ -11,8 +11,9 @@ export declare const projectOverviewSchema: {
11
11
  readonly description: "Project statistics";
12
12
  };
13
13
  readonly version: {
14
- readonly type: "number";
14
+ readonly type: "integer";
15
15
  readonly example: 1;
16
+ readonly description: "The schema version used to describe the project overview";
16
17
  };
17
18
  readonly name: {
18
19
  readonly type: "string";
@@ -85,12 +86,14 @@ export declare const projectOverviewSchema: {
85
86
  readonly format: "date-time";
86
87
  readonly nullable: true;
87
88
  readonly example: "2023-02-10T08:36:35.262Z";
89
+ readonly description: "When the project was last updated.";
88
90
  };
89
91
  readonly createdAt: {
90
92
  readonly type: "string";
91
93
  readonly format: "date-time";
92
94
  readonly nullable: true;
93
95
  readonly example: "2023-02-10T08:36:35.262Z";
96
+ readonly description: "When the project was created.";
94
97
  };
95
98
  readonly favorite: {
96
99
  readonly type: "boolean";
@@ -305,7 +308,6 @@ export declare const projectOverviewSchema: {
305
308
  readonly createStrategyVariantSchema: {
306
309
  readonly $id: "#/components/schemas/createStrategyVariantSchema";
307
310
  readonly type: "object";
308
- readonly additionalProperties: true;
309
311
  readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
310
312
  readonly required: readonly ["name", "weight", "weightType", "stickiness"];
311
313
  readonly properties: {
@@ -360,7 +362,6 @@ export declare const projectOverviewSchema: {
360
362
  readonly createStrategyVariantSchema: {
361
363
  readonly $id: "#/components/schemas/createStrategyVariantSchema";
362
364
  readonly type: "object";
363
- readonly additionalProperties: true;
364
365
  readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
365
366
  readonly required: readonly ["name", "weight", "weightType", "stickiness"];
366
367
  readonly properties: {
@@ -537,7 +538,6 @@ export declare const projectOverviewSchema: {
537
538
  readonly createStrategyVariantSchema: {
538
539
  readonly $id: "#/components/schemas/createStrategyVariantSchema";
539
540
  readonly type: "object";
540
- readonly additionalProperties: true;
541
541
  readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
542
542
  readonly required: readonly ["name", "weight", "weightType", "stickiness"];
543
543
  readonly properties: {
@@ -592,7 +592,6 @@ export declare const projectOverviewSchema: {
592
592
  readonly createStrategyVariantSchema: {
593
593
  readonly $id: "#/components/schemas/createStrategyVariantSchema";
594
594
  readonly type: "object";
595
- readonly additionalProperties: true;
596
595
  readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
597
596
  readonly required: readonly ["name", "weight", "weightType", "stickiness"];
598
597
  readonly properties: {
@@ -756,8 +755,9 @@ export declare const projectOverviewSchema: {
756
755
  readonly type: "string";
757
756
  readonly format: "date-time";
758
757
  readonly nullable: true;
758
+ readonly deprecated: true;
759
759
  readonly example: "2023-01-28T16:21:39.975Z";
760
- readonly description: "The date when metrics where last collected for the feature";
760
+ readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
761
761
  };
762
762
  readonly environments: {
763
763
  readonly type: "array";
@@ -892,6 +892,13 @@ export declare const projectOverviewSchema: {
892
892
  };
893
893
  readonly description: "A list of variants for the feature environment";
894
894
  };
895
+ readonly lastSeenAt: {
896
+ readonly type: "string";
897
+ readonly format: "date-time";
898
+ readonly nullable: true;
899
+ readonly example: "2023-01-28T16:21:39.975Z";
900
+ readonly description: "The date when metrics where last collected for the feature environment";
901
+ };
895
902
  };
896
903
  readonly components: {
897
904
  readonly schemas: {
@@ -1692,6 +1699,13 @@ export declare const projectOverviewSchema: {
1692
1699
  };
1693
1700
  readonly description: "A list of variants for the feature environment";
1694
1701
  };
1702
+ readonly lastSeenAt: {
1703
+ readonly type: "string";
1704
+ readonly format: "date-time";
1705
+ readonly nullable: true;
1706
+ readonly example: "2023-01-28T16:21:39.975Z";
1707
+ readonly description: "The date when metrics where last collected for the feature environment";
1708
+ };
1695
1709
  };
1696
1710
  readonly components: {
1697
1711
  readonly schemas: {
@@ -26,8 +26,9 @@ exports.projectOverviewSchema = {
26
26
  description: 'Project statistics',
27
27
  },
28
28
  version: {
29
- type: 'number',
29
+ type: 'integer',
30
30
  example: 1,
31
+ description: 'The schema version used to describe the project overview',
31
32
  },
32
33
  name: {
33
34
  type: 'string',
@@ -101,12 +102,14 @@ exports.projectOverviewSchema = {
101
102
  format: 'date-time',
102
103
  nullable: true,
103
104
  example: '2023-02-10T08:36:35.262Z',
105
+ description: 'When the project was last updated.',
104
106
  },
105
107
  createdAt: {
106
108
  type: 'string',
107
109
  format: 'date-time',
108
110
  nullable: true,
109
111
  example: '2023-02-10T08:36:35.262Z',
112
+ description: 'When the project was created.',
110
113
  },
111
114
  favorite: {
112
115
  type: 'boolean',
@@ -1 +1 @@
1
- {"version":3,"file":"project-overview-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-overview-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,qDAAiD;AACjD,uDAAmD;AACnD,uEAAkE;AAClE,qDAAiD;AACjD,2DAAuD;AACvD,6DAAyD;AACzD,6EAAwE;AACxE,iEAA4D;AAC5D,qFAA+E;AAC/E,6EAAwE;AACxE,qFAA+E;AAC/E,uEAAkE;AAErD,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAC7B,WAAW,EACP,mKAAmK;IACvK,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE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AAW,EAAE,oDAAoD;SACpE;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,oCAAoC;aAC7C;YACD,WAAW,EACP,yEAAyE;SAChF;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;SACtC;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;YACb,WAAW,EACP,yDAAyD;SAChE;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,iBAAiB,EAAjB,sCAAiB;YACjB,wBAAwB,EAAxB,qDAAwB;YACxB,2BAA2B,EAA3B,4DAA2B;YAC3B,2BAA2B,EAA3B,4DAA2B;YAC3B,gBAAgB,EAAhB,oCAAgB;YAChB,aAAa,EAAb,8BAAa;YACb,wBAAwB,EAAxB,qDAAwB;YACxB,cAAc,EAAd,gCAAc;YACd,gBAAgB,EAAhB,oCAAgB;YAChB,qBAAqB,EAArB,+CAAqB;YACrB,qBAAqB,EAArB,+CAAqB;YACrB,aAAa,EAAb,8BAAa;YACb,kBAAkB,EAAlB,yCAAkB;SACrB;KACJ;CACK,CAAC"}
1
+ {"version":3,"file":"project-overview-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-overview-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,qDAAiD;AACjD,uDAAmD;AACnD,uEAAkE;AAClE,qDAAiD;AACjD,2DAAuD;AACvD,6DAAyD;AACzD,6EAAwE;AACxE,iEAA4D;AAC5D,qFAA+E;AAC/E,6EAAwE;AACxE,qFAA+E;AAC/E,uEAAkE;AAErD,QAAA,qBAAqB,GAAG;IACj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12 +39,16 @@ export declare const projectSchema: {
39
39
  };
40
40
  readonly createdAt: {
41
41
  readonly type: "string";
42
+ readonly description: "When this project was created.";
43
+ readonly example: "2023-07-27T12:12:28Z";
42
44
  readonly format: "date-time";
43
45
  };
44
46
  readonly updatedAt: {
45
47
  readonly type: "string";
46
48
  readonly format: "date-time";
47
49
  readonly nullable: true;
50
+ readonly description: "When this project was last updated.";
51
+ readonly example: "2023-07-28T12:12:28Z";
48
52
  };
49
53
  readonly favorite: {
50
54
  readonly type: "boolean";
@@ -41,12 +41,16 @@ exports.projectSchema = {
41
41
  },
42
42
  createdAt: {
43
43
  type: 'string',
44
+ description: 'When this project was created.',
45
+ example: '2023-07-27T12:12:28Z',
44
46
  format: 'date-time',
45
47
  },
46
48
  updatedAt: {
47
49
  type: 'string',
48
50
  format: 'date-time',
49
51
  nullable: true,
52
+ description: 'When this project was last updated.',
53
+ example: '2023-07-28T12:12:28Z',
50
54
  },
51
55
  favorite: {
52
56
  type: 'boolean',
@@ -1 +1 @@
1
- {"version":3,"file":"project-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACxB,WAAW,EACP,gEAAgE;IACpE,UAAU,EAAE;QACR,EAAE,EAAE;YACA,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,wBAAwB;SACxC;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,0BAA0B;SAC1C;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,0CAA0C;SAC1D;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EACP,oIAAoI;SAC3I;QACD,YAAY,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,yCAAyC;SACzD;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,wCAAwC;SACxD;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;SACtB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;YACb,WAAW,EACP,yDAAyD;SAChE;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;YAC3B,OAAO,EAAE,MAAM;YACf,WAAW,EACP,gLAAgL;SACvL;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,WAAW,EACP,uHAAuH;SAC9H;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
1
+ {"version":3,"file":"project-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACxB,WAAW,EACP,gEAAgE;IACpE,UAAU,EAAE;QACR,EAAE,EAAE;YACA,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,wBAAwB;SACxC;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,0BAA0B;SAC1C;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,0CAA0C;SAC1D;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EACP,oIAAoI;SAC3I;QACD,YAAY,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,yCAAyC;SACzD;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,wCAAwC;SACxD;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gCAAgC;YAC7C,OAAO,EAAE,sBAAsB;YAC/B,MAAM,EAAE,WAAW;SACtB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,OAAO,EAAE,sBAAsB;SAClC;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;YACb,WAAW,EACP,yDAAyD;SAChE;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;YAC3B,OAAO,EAAE,MAAM;YACf,WAAW,EACP,gLAAgL;SACvL;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,WAAW,EACP,uHAAuH;SAC9H;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
@@ -8,6 +8,8 @@ export declare const projectsSchema: {
8
8
  readonly properties: {
9
9
  readonly version: {
10
10
  readonly type: "integer";
11
+ readonly description: "The schema version used to represent the project data.";
12
+ readonly example: 1;
11
13
  };
12
14
  readonly projects: {
13
15
  readonly type: "array";
@@ -59,12 +61,16 @@ export declare const projectsSchema: {
59
61
  };
60
62
  readonly createdAt: {
61
63
  readonly type: "string";
64
+ readonly description: "When this project was created.";
65
+ readonly example: "2023-07-27T12:12:28Z";
62
66
  readonly format: "date-time";
63
67
  };
64
68
  readonly updatedAt: {
65
69
  readonly type: "string";
66
70
  readonly format: "date-time";
67
71
  readonly nullable: true;
72
+ readonly description: "When this project was last updated.";
73
+ readonly example: "2023-07-28T12:12:28Z";
68
74
  };
69
75
  readonly favorite: {
70
76
  readonly type: "boolean";
@@ -11,6 +11,8 @@ exports.projectsSchema = {
11
11
  properties: {
12
12
  version: {
13
13
  type: 'integer',
14
+ description: 'The schema version used to represent the project data.',
15
+ example: 1,
14
16
  },
15
17
  projects: {
16
18
  type: 'array',
@@ -1 +1 @@
1
- {"version":3,"file":"projects-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/projects-schema.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEpC,QAAA,cAAc,GAAG;IAC1B,GAAG,EAAE,qCAAqC;IAC1C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACjC,WAAW,EAAE,yDAAyD;IACtE,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;SAClB;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,oCAAoC;aAC7C;YACD,WAAW,EAAE,4CAA4C;SAC5D;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,aAAa,EAAb,8BAAa;SAChB;KACJ;CACK,CAAC"}
1
+ {"version":3,"file":"projects-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/projects-schema.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEpC,QAAA,cAAc,GAAG;IAC1B,GAAG,EAAE,qCAAqC;IAC1C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACjC,WAAW,EAAE,yDAAyD;IACtE,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EACP,wDAAwD;YAC5D,OAAO,EAAE,CAAC;SACb;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,oCAAoC;aAC7C;YACD,WAAW,EAAE,4CAA4C;SAC5D;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,aAAa,EAAb,8BAAa;SAChB;KACJ;CACK,CAAC"}
@@ -14,6 +14,7 @@ export declare const publicSignupTokenSchema: {
14
14
  readonly url: {
15
15
  readonly description: "The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.";
16
16
  readonly type: "string";
17
+ readonly nullable: true;
17
18
  readonly example: "https://sandbox.getunleash.io/enterprise/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc";
18
19
  };
19
20
  readonly name: {
@@ -82,6 +83,7 @@ export declare const publicSignupTokenSchema: {
82
83
  readonly description: "Name of the user";
83
84
  readonly type: "string";
84
85
  readonly example: "User";
86
+ readonly nullable: true;
85
87
  };
86
88
  readonly email: {
87
89
  readonly description: "Email of the user";
@@ -115,7 +117,7 @@ export declare const publicSignupTokenSchema: {
115
117
  readonly example: false;
116
118
  };
117
119
  readonly rootRole: {
118
- readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#standard-roles) this user is assigned";
120
+ readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
119
121
  readonly type: "integer";
120
122
  readonly example: 1;
121
123
  readonly minimum: 0;
@@ -27,6 +27,7 @@ exports.publicSignupTokenSchema = {
27
27
  url: {
28
28
  description: 'The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.',
29
29
  type: 'string',
30
+ nullable: true,
30
31
  example: 'https://sandbox.getunleash.io/enterprise/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc',
31
32
  },
32
33
  name: {
@@ -1 +1 @@
1
- {"version":3,"file":"public-signup-token-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/public-signup-token-schema.ts"],"names":[],"mappings":";;;AACA,+CAA2C;AAC3C,+CAA2C;AAE9B,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,WAAW,EACP,wHAAwH;IAC5H,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACN,QAAQ;QACR,KAAK;QACL,MAAM;QACN,WAAW;QACX,WAAW;QACX,WAAW;QACX,SAAS;QACT,MAAM;KACT;IACD,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,WAAW,EACP,kGAAkG;YACtG,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,kCAAkC;SAC9C;QACD,GAAG,EAAE;YACD,WAAW,EACP,wIAAwI;YAC5I,IAAI,EAAE,QAAQ;YACd,OAAO,EACH,2FAA2F;SAClG;QACD,IAAI,EAAE;YACF,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uBAAuB;SACnC;QACD,OAAO,EAAE;YACL,WAAW,EACP,iGAAiG;YACrG,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SAChB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,WAAW;YACnB,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,6BAA6B;YAC1C,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,WAAW,EAAE,iCAAiC;YAC9C,OAAO,EAAE,qBAAqB;YAC9B,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qDAAqD;YAClE,KAAK,EAAE;gBACH,IAAI,EAAE,iCAAiC;aAC1C;YACD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,WAAW,EACP,6DAA6D;YACjE,IAAI,EAAE,iCAAiC;SAC1C;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,UAAU,EAAV,wBAAU;YACV,UAAU,EAAV,wBAAU;SACb;KACJ;CACK,CAAC"}
1
+ {"version":3,"file":"public-signup-token-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/public-signup-token-schema.ts"],"names":[],"mappings":";;;AACA,+CAA2C;AAC3C,+CAA2C;AAE9B,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,WAAW,EACP,wHAAwH;IAC5H,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACN,QAAQ;QACR,KAAK;QACL,MAAM;QACN,WAAW;QACX,WAAW;QACX,WAAW;QACX,SAAS;QACT,MAAM;KACT;IACD,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,WAAW,EACP,kGAAkG;YACtG,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,kCAAkC;SAC9C;QACD,GAAG,EAAE;YACD,WAAW,EACP,wIAAwI;YAC5I,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EACH,2FAA2F;SAClG;QACD,IAAI,EAAE;YACF,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uBAAuB;SACnC;QACD,OAAO,EAAE;YACL,WAAW,EACP,iGAAiG;YACrG,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SAChB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,WAAW;YACnB,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,6BAA6B;YAC1C,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,WAAW,EAAE,iCAAiC;YAC9C,OAAO,EAAE,qBAAqB;YAC9B,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qDAAqD;YAClE,KAAK,EAAE;gBACH,IAAI,EAAE,iCAAiC;aAC1C;YACD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,WAAW,EACP,6DAA6D;YACjE,IAAI,EAAE,iCAAiC;SAC1C;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,UAAU,EAAV,wBAAU;YACV,UAAU,EAAV,wBAAU;SACb;KACJ;CACK,CAAC"}
@@ -46,6 +46,7 @@ export declare const publicSignupTokensSchema: {
46
46
  readonly url: {
47
47
  readonly description: "The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.";
48
48
  readonly type: "string";
49
+ readonly nullable: true;
49
50
  readonly example: "https://sandbox.getunleash.io/enterprise/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc";
50
51
  };
51
52
  readonly name: {
@@ -114,6 +115,7 @@ export declare const publicSignupTokensSchema: {
114
115
  readonly description: "Name of the user";
115
116
  readonly type: "string";
116
117
  readonly example: "User";
118
+ readonly nullable: true;
117
119
  };
118
120
  readonly email: {
119
121
  readonly description: "Email of the user";
@@ -147,7 +149,7 @@ export declare const publicSignupTokensSchema: {
147
149
  readonly example: false;
148
150
  };
149
151
  readonly rootRole: {
150
- readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#standard-roles) this user is assigned";
152
+ readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
151
153
  readonly type: "integer";
152
154
  readonly example: 1;
153
155
  readonly minimum: 0;
@@ -238,6 +240,7 @@ export declare const publicSignupTokensSchema: {
238
240
  readonly description: "Name of the user";
239
241
  readonly type: "string";
240
242
  readonly example: "User";
243
+ readonly nullable: true;
241
244
  };
242
245
  readonly email: {
243
246
  readonly description: "Email of the user";
@@ -271,7 +274,7 @@ export declare const publicSignupTokensSchema: {
271
274
  readonly example: false;
272
275
  };
273
276
  readonly rootRole: {
274
- readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#standard-roles) this user is assigned";
277
+ readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
275
278
  readonly type: "integer";
276
279
  readonly example: 1;
277
280
  readonly minimum: 0;