unleash-server 6.2.3 → 6.3.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 (234) hide show
  1. package/dist/lib/addons/datadog.d.ts.map +1 -1
  2. package/dist/lib/addons/datadog.js +9 -7
  3. package/dist/lib/addons/datadog.js.map +1 -1
  4. package/dist/lib/addons/feature-event-formatter-md-events.d.ts +8 -0
  5. package/dist/lib/addons/feature-event-formatter-md-events.d.ts.map +1 -0
  6. package/dist/lib/addons/feature-event-formatter-md-events.js +297 -0
  7. package/dist/lib/addons/feature-event-formatter-md-events.js.map +1 -0
  8. package/dist/lib/addons/feature-event-formatter-md.d.ts +17 -6
  9. package/dist/lib/addons/feature-event-formatter-md.d.ts.map +1 -1
  10. package/dist/lib/addons/feature-event-formatter-md.js +32 -246
  11. package/dist/lib/addons/feature-event-formatter-md.js.map +1 -1
  12. package/dist/lib/addons/feature-event-formatter-md.test.js +3 -1
  13. package/dist/lib/addons/feature-event-formatter-md.test.js.map +1 -1
  14. package/dist/lib/addons/new-relic.d.ts.map +1 -1
  15. package/dist/lib/addons/new-relic.js +3 -1
  16. package/dist/lib/addons/new-relic.js.map +1 -1
  17. package/dist/lib/addons/slack-app.d.ts.map +1 -1
  18. package/dist/lib/addons/slack-app.js +12 -7
  19. package/dist/lib/addons/slack-app.js.map +1 -1
  20. package/dist/lib/addons/slack.d.ts.map +1 -1
  21. package/dist/lib/addons/slack.js +14 -9
  22. package/dist/lib/addons/slack.js.map +1 -1
  23. package/dist/lib/addons/teams.d.ts.map +1 -1
  24. package/dist/lib/addons/teams.js +9 -7
  25. package/dist/lib/addons/teams.js.map +1 -1
  26. package/dist/lib/addons/webhook.d.ts.map +1 -1
  27. package/dist/lib/addons/webhook.js +3 -1
  28. package/dist/lib/addons/webhook.js.map +1 -1
  29. package/dist/lib/db/account-store.d.ts +2 -1
  30. package/dist/lib/db/account-store.d.ts.map +1 -1
  31. package/dist/lib/db/account-store.js +18 -0
  32. package/dist/lib/db/account-store.js.map +1 -1
  33. package/dist/lib/features/events/event-search-controller.d.ts +3 -1
  34. package/dist/lib/features/events/event-search-controller.d.ts.map +1 -1
  35. package/dist/lib/features/events/event-search-controller.js +21 -2
  36. package/dist/lib/features/events/event-search-controller.js.map +1 -1
  37. package/dist/lib/features/feature-toggle/feature-toggle-service.d.ts.map +1 -1
  38. package/dist/lib/features/feature-toggle/feature-toggle-service.js +4 -12
  39. package/dist/lib/features/feature-toggle/feature-toggle-service.js.map +1 -1
  40. package/dist/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.js +2 -11
  41. package/dist/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.js.map +1 -1
  42. package/dist/lib/features/index.d.ts +1 -0
  43. package/dist/lib/features/index.d.ts.map +1 -1
  44. package/dist/lib/features/index.js +1 -0
  45. package/dist/lib/features/index.js.map +1 -1
  46. package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.js +1 -1
  47. package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.js.map +1 -1
  48. package/dist/lib/features/onboarding/onboarding-read-model.d.ts.map +1 -1
  49. package/dist/lib/features/onboarding/onboarding-read-model.js +1 -0
  50. package/dist/lib/features/onboarding/onboarding-read-model.js.map +1 -1
  51. package/dist/lib/features/personal-dashboard/createPersonalDashboardService.d.ts +6 -0
  52. package/dist/lib/features/personal-dashboard/createPersonalDashboardService.d.ts.map +1 -0
  53. package/dist/lib/features/personal-dashboard/createPersonalDashboardService.js +39 -0
  54. package/dist/lib/features/personal-dashboard/createPersonalDashboardService.js.map +1 -0
  55. package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.d.ts +8 -0
  56. package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.d.ts.map +1 -0
  57. package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.js +16 -0
  58. package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.js.map +1 -0
  59. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.d.ts +16 -0
  60. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.d.ts.map +1 -0
  61. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.d.ts +2 -0
  62. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.d.ts.map +1 -0
  63. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.js +237 -0
  64. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.js.map +1 -0
  65. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.js +71 -0
  66. package/dist/lib/features/personal-dashboard/personal-dashboard-controller.js.map +1 -0
  67. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model-type.d.ts +27 -0
  68. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model-type.d.ts.map +1 -0
  69. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model-type.js +3 -0
  70. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model-type.js.map +1 -0
  71. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model.d.ts +9 -0
  72. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model.d.ts.map +1 -0
  73. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model.js +78 -0
  74. package/dist/lib/features/personal-dashboard/personal-dashboard-read-model.js.map +1 -0
  75. package/dist/lib/features/personal-dashboard/personal-dashboard-service.d.ts +25 -0
  76. package/dist/lib/features/personal-dashboard/personal-dashboard-service.d.ts.map +1 -0
  77. package/dist/lib/features/personal-dashboard/personal-dashboard-service.js +75 -0
  78. package/dist/lib/features/personal-dashboard/personal-dashboard-service.js.map +1 -0
  79. package/dist/lib/features/playground/feature-evaluator/strategy/flexible-rollout-strategy.d.ts.map +1 -1
  80. package/dist/lib/features/playground/feature-evaluator/strategy/flexible-rollout-strategy.js +1 -1
  81. package/dist/lib/features/playground/feature-evaluator/strategy/flexible-rollout-strategy.js.map +1 -1
  82. package/dist/lib/features/project/fake-project-owners-read-model.d.ts +6 -3
  83. package/dist/lib/features/project/fake-project-owners-read-model.d.ts.map +1 -1
  84. package/dist/lib/features/project/fake-project-owners-read-model.js +6 -0
  85. package/dist/lib/features/project/fake-project-owners-read-model.js.map +1 -1
  86. package/dist/lib/features/project/fake-project-read-model.d.ts +2 -0
  87. package/dist/lib/features/project/fake-project-read-model.d.ts.map +1 -1
  88. package/dist/lib/features/project/fake-project-read-model.js +6 -0
  89. package/dist/lib/features/project/fake-project-read-model.js.map +1 -1
  90. package/dist/lib/features/project/project-owners-read-model.d.ts +10 -5
  91. package/dist/lib/features/project/project-owners-read-model.d.ts.map +1 -1
  92. package/dist/lib/features/project/project-owners-read-model.js +26 -10
  93. package/dist/lib/features/project/project-owners-read-model.js.map +1 -1
  94. package/dist/lib/features/project/project-owners-read-model.test.js +62 -20
  95. package/dist/lib/features/project/project-owners-read-model.test.js.map +1 -1
  96. package/dist/lib/features/project/project-owners-read-model.type.d.ts +13 -5
  97. package/dist/lib/features/project/project-owners-read-model.type.d.ts.map +1 -1
  98. package/dist/lib/features/project/project-read-model-type.d.ts +5 -4
  99. package/dist/lib/features/project/project-read-model-type.d.ts.map +1 -1
  100. package/dist/lib/features/project/project-read-model.d.ts +4 -2
  101. package/dist/lib/features/project/project-read-model.d.ts.map +1 -1
  102. package/dist/lib/features/project/project-read-model.js +48 -20
  103. package/dist/lib/features/project/project-read-model.js.map +1 -1
  104. package/dist/lib/features/project/project-service.d.ts +4 -4
  105. package/dist/lib/features/project/project-service.d.ts.map +1 -1
  106. package/dist/lib/features/project/project-service.e2e.test.js +20 -3
  107. package/dist/lib/features/project/project-service.e2e.test.js.map +1 -1
  108. package/dist/lib/features/project/project-service.js +7 -15
  109. package/dist/lib/features/project/project-service.js.map +1 -1
  110. package/dist/lib/features/project/project-store-type.d.ts +4 -6
  111. package/dist/lib/features/project/project-store-type.d.ts.map +1 -1
  112. package/dist/lib/features/project/project-store.d.ts +1 -5
  113. package/dist/lib/features/project/project-store.d.ts.map +1 -1
  114. package/dist/lib/features/project/project-store.e2e.test.js +1 -1
  115. package/dist/lib/features/project/project-store.e2e.test.js.map +1 -1
  116. package/dist/lib/features/project/project-store.js +5 -135
  117. package/dist/lib/features/project/project-store.js.map +1 -1
  118. package/dist/lib/metrics.d.ts.map +1 -1
  119. package/dist/lib/metrics.js +18 -1
  120. package/dist/lib/metrics.js.map +1 -1
  121. package/dist/lib/metrics.test.js +2 -2
  122. package/dist/lib/metrics.test.js.map +1 -1
  123. package/dist/lib/openapi/spec/event-schema.d.ts +10 -0
  124. package/dist/lib/openapi/spec/event-schema.d.ts.map +1 -1
  125. package/dist/lib/openapi/spec/event-schema.js +10 -0
  126. package/dist/lib/openapi/spec/event-schema.js.map +1 -1
  127. package/dist/lib/openapi/spec/event-search-response-schema.d.ts +10 -0
  128. package/dist/lib/openapi/spec/event-search-response-schema.d.ts.map +1 -1
  129. package/dist/lib/openapi/spec/events-schema.d.ts +10 -0
  130. package/dist/lib/openapi/spec/events-schema.d.ts.map +1 -1
  131. package/dist/lib/openapi/spec/feature-events-schema.d.ts +10 -0
  132. package/dist/lib/openapi/spec/feature-events-schema.d.ts.map +1 -1
  133. package/dist/lib/openapi/spec/index.d.ts +2 -0
  134. package/dist/lib/openapi/spec/index.d.ts.map +1 -1
  135. package/dist/lib/openapi/spec/index.js +2 -0
  136. package/dist/lib/openapi/spec/index.js.map +1 -1
  137. package/dist/lib/openapi/spec/integration-event-schema.d.ts +10 -0
  138. package/dist/lib/openapi/spec/integration-event-schema.d.ts.map +1 -1
  139. package/dist/lib/openapi/spec/integration-events-schema.d.ts +20 -0
  140. package/dist/lib/openapi/spec/integration-events-schema.d.ts.map +1 -1
  141. package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.d.ts +168 -0
  142. package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.d.ts.map +1 -0
  143. package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.js +81 -0
  144. package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.js.map +1 -0
  145. package/dist/lib/openapi/spec/personal-dashboard-schema.d.ts +142 -0
  146. package/dist/lib/openapi/spec/personal-dashboard-schema.d.ts.map +1 -0
  147. package/dist/lib/openapi/spec/personal-dashboard-schema.js +149 -0
  148. package/dist/lib/openapi/spec/personal-dashboard-schema.js.map +1 -0
  149. package/dist/lib/routes/admin-api/index.d.ts.map +1 -1
  150. package/dist/lib/routes/admin-api/index.js +2 -0
  151. package/dist/lib/routes/admin-api/index.js.map +1 -1
  152. package/dist/lib/schema/role-schema.js +1 -1
  153. package/dist/lib/schema/role-schema.js.map +1 -1
  154. package/dist/lib/services/access-service.d.ts +1 -0
  155. package/dist/lib/services/access-service.d.ts.map +1 -1
  156. package/dist/lib/services/access-service.js +15 -6
  157. package/dist/lib/services/access-service.js.map +1 -1
  158. package/dist/lib/services/access-service.test.js +22 -0
  159. package/dist/lib/services/access-service.test.js.map +1 -1
  160. package/dist/lib/services/clean-permission-environment.test.d.ts +2 -0
  161. package/dist/lib/services/clean-permission-environment.test.d.ts.map +1 -0
  162. package/dist/lib/services/clean-permission-environment.test.js +114 -0
  163. package/dist/lib/services/clean-permission-environment.test.js.map +1 -0
  164. package/dist/lib/services/index.d.ts +2 -1
  165. package/dist/lib/services/index.d.ts.map +1 -1
  166. package/dist/lib/services/index.js +12 -1
  167. package/dist/lib/services/index.js.map +1 -1
  168. package/dist/lib/types/events.d.ts +4 -0
  169. package/dist/lib/types/events.d.ts.map +1 -1
  170. package/dist/lib/types/events.js.map +1 -1
  171. package/dist/lib/types/experimental.d.ts +1 -1
  172. package/dist/lib/types/experimental.d.ts.map +1 -1
  173. package/dist/lib/types/experimental.js +2 -5
  174. package/dist/lib/types/experimental.js.map +1 -1
  175. package/dist/lib/types/model.d.ts +1 -10
  176. package/dist/lib/types/model.d.ts.map +1 -1
  177. package/dist/lib/types/services.d.ts +3 -0
  178. package/dist/lib/types/services.d.ts.map +1 -1
  179. package/dist/lib/types/stores/account-store.d.ts +2 -1
  180. package/dist/lib/types/stores/account-store.d.ts.map +1 -1
  181. package/dist/lib/types/user.d.ts +1 -0
  182. package/dist/lib/types/user.d.ts.map +1 -1
  183. package/dist/lib/types/user.js.map +1 -1
  184. package/dist/migrations/20240919083625-client-metrics-env-variants-daily-to-bigint.d.ts +3 -0
  185. package/dist/migrations/20240919083625-client-metrics-env-variants-daily-to-bigint.d.ts.map +1 -0
  186. package/dist/migrations/20240919083625-client-metrics-env-variants-daily-to-bigint.js +8 -0
  187. package/dist/migrations/20240919083625-client-metrics-env-variants-daily-to-bigint.js.map +1 -0
  188. package/dist/server-dev.js +1 -3
  189. package/dist/server-dev.js.map +1 -1
  190. package/dist/test/fixtures/fake-access-store.d.ts +2 -2
  191. package/dist/test/fixtures/fake-access-store.d.ts.map +1 -1
  192. package/dist/test/fixtures/fake-access-store.js +5 -3
  193. package/dist/test/fixtures/fake-access-store.js.map +1 -1
  194. package/dist/test/fixtures/fake-account-store.d.ts +1 -0
  195. package/dist/test/fixtures/fake-account-store.d.ts.map +1 -1
  196. package/dist/test/fixtures/fake-account-store.js +3 -0
  197. package/dist/test/fixtures/fake-account-store.js.map +1 -1
  198. package/dist/test/fixtures/fake-project-store.d.ts +2 -4
  199. package/dist/test/fixtures/fake-project-store.d.ts.map +1 -1
  200. package/dist/test/fixtures/fake-project-store.js +0 -20
  201. package/dist/test/fixtures/fake-project-store.js.map +1 -1
  202. package/frontend/build/index.html +1 -1
  203. package/frontend/build/static/{AdvancedPlayground-CRdeeG3w.js → AdvancedPlayground-eDTjzS3E.js} +2 -2
  204. package/frontend/build/static/{CreateProject-8AyZj2dp.js → CreateProject-DEpFVLhl.js} +1 -1
  205. package/frontend/build/static/FeatureMetricsChart-CZKpaUOH.js +2 -0
  206. package/frontend/build/static/FeatureStaleDialog-2jleuqhn.js +7 -0
  207. package/frontend/build/static/FeatureViewLazyExport-CeAl2Yig.js +10 -0
  208. package/frontend/build/static/FlagMetricsChart-BRMGXeEU.js +2 -0
  209. package/frontend/build/static/{LazyAdminExport-0g_UOhr3.js → LazyAdminExport-CpfHUB52.js} +14 -14
  210. package/frontend/build/static/LazyProjectExport-XXHA0k8I.js +735 -0
  211. package/frontend/build/static/{LineChartComponent-BLXX5chp.js → LineChartComponent-B5O_VFku.js} +1 -1
  212. package/frontend/build/static/{NetworkOverview-DqGLVIJ6.js → NetworkOverview-DU1OT7gB.js} +1 -1
  213. package/frontend/build/static/NetworkTraffic-DQdYqYoU.js +1 -0
  214. package/frontend/build/static/NetworkTrafficUsage-CkyWiuAD.js +1 -0
  215. package/frontend/build/static/{ReactJSONEditor-Bvhd5heT.js → ReactJSONEditor-DlQuk0pf.js} +1 -1
  216. package/frontend/build/static/{RoleCell-DGcue0jn.js → RoleCell-DMPAgQMx.js} +1 -1
  217. package/frontend/build/static/{StrategyItemContainer-Das6_30A.js → StrategyItemContainer-L9vwk9uU.js} +1 -1
  218. package/frontend/build/static/aggregateFeatureMetrics-CLK9MToQ.js +1 -0
  219. package/frontend/build/static/formatTickValue-DArtcDRb.js +6 -0
  220. package/frontend/build/static/{index-BsIpdLcw.js → index-DK5jinWf.js} +1 -1
  221. package/frontend/build/static/index-JQ6lMAyk.js +524 -0
  222. package/frontend/build/static/onboardingConcepts-1jcVefeL.png +0 -0
  223. package/frontend/build/static/unknownify-C7SyNno2.js +1 -0
  224. package/frontend/build/static/{useApiTokens-5JgqgHim.js → useApiTokens-DQBXJ3PL.js} +1 -1
  225. package/frontend/package.json +13 -13
  226. package/package.json +7 -6
  227. package/frontend/build/static/FeatureMetricsChart-DEo4WxO1.js +0 -2
  228. package/frontend/build/static/FeatureStaleDialog-CrsbH2rq.js +0 -7
  229. package/frontend/build/static/FeatureViewLazyExport-BwY7TYmZ.js +0 -10
  230. package/frontend/build/static/LazyProjectExport-C1eSkT3Z.js +0 -177
  231. package/frontend/build/static/NetworkTraffic-BWFLlaz7.js +0 -1
  232. package/frontend/build/static/NetworkTrafficUsage-BvoBumVR.js +0 -6
  233. package/frontend/build/static/index-Cx91uh9W.js +0 -524
  234. package/frontend/build/static/unknownify-8qa4PVkQ.js +0 -1
@@ -0,0 +1,168 @@
1
+ import type { FromSchema } from 'json-schema-to-ts';
2
+ export declare const personalDashboardProjectDetailsSchema: {
3
+ readonly $id: "#/components/schemas/personalDashboardProjectDetailsSchema";
4
+ readonly type: "object";
5
+ readonly description: "Project details in personal dashboard";
6
+ readonly additionalProperties: false;
7
+ readonly required: readonly ["owners", "roles", "latestEvents", "onboardingStatus"];
8
+ readonly properties: {
9
+ readonly onboardingStatus: {
10
+ readonly type: "object";
11
+ readonly oneOf: readonly [{
12
+ readonly type: "object";
13
+ readonly properties: {
14
+ readonly status: {
15
+ readonly type: "string";
16
+ readonly enum: readonly ["onboarding-started", "onboarded"];
17
+ readonly example: "onboarding-started";
18
+ };
19
+ };
20
+ readonly required: readonly ["status"];
21
+ readonly additionalProperties: false;
22
+ }, {
23
+ readonly type: "object";
24
+ readonly properties: {
25
+ readonly status: {
26
+ readonly type: "string";
27
+ readonly enum: readonly ["first-flag-created"];
28
+ readonly example: "first-flag-created";
29
+ };
30
+ readonly feature: {
31
+ readonly type: "string";
32
+ readonly description: "The name of the feature flag";
33
+ readonly example: "my-feature-flag";
34
+ };
35
+ };
36
+ readonly required: readonly ["status", "feature"];
37
+ readonly additionalProperties: false;
38
+ }];
39
+ readonly description: "The current onboarding status of the project.";
40
+ };
41
+ readonly latestEvents: {
42
+ readonly type: "array";
43
+ readonly description: "The latest events for the project.";
44
+ readonly items: {
45
+ readonly type: "object";
46
+ readonly description: "An event summary";
47
+ readonly additionalProperties: false;
48
+ readonly required: readonly ["summary", "createdBy", "createdByImageUrl", "id"];
49
+ readonly properties: {
50
+ readonly id: {
51
+ readonly type: "integer";
52
+ readonly minimum: 1;
53
+ readonly description: "The ID of the event.";
54
+ };
55
+ readonly summary: {
56
+ readonly type: "string";
57
+ readonly nullable: true;
58
+ readonly description: "**[Experimental]** A markdown-formatted summary of the event.";
59
+ };
60
+ readonly createdBy: {
61
+ readonly type: "string";
62
+ readonly description: "Which user created this event";
63
+ readonly example: "johndoe";
64
+ };
65
+ readonly createdByImageUrl: {
66
+ readonly type: "string";
67
+ readonly description: "URL used for the user profile image of the event author";
68
+ readonly example: "https://example.com/242x200.png";
69
+ };
70
+ };
71
+ };
72
+ };
73
+ readonly owners: {
74
+ readonly description: "The users and/or groups that have the \"owner\" role in this project. If no such users or groups exist, the list will contain the \"system\" owner instead.";
75
+ readonly oneOf: readonly [{
76
+ readonly type: "array";
77
+ readonly minItems: 1;
78
+ readonly items: {
79
+ readonly anyOf: readonly [{
80
+ readonly type: "object";
81
+ readonly required: readonly ["ownerType", "name"];
82
+ readonly properties: {
83
+ readonly ownerType: {
84
+ readonly type: "string";
85
+ readonly enum: readonly ["user"];
86
+ };
87
+ readonly name: {
88
+ readonly type: "string";
89
+ readonly example: "User Name";
90
+ };
91
+ readonly imageUrl: {
92
+ readonly type: "string";
93
+ readonly nullable: true;
94
+ readonly example: "https://example.com/image.jpg";
95
+ };
96
+ readonly email: {
97
+ readonly type: "string";
98
+ readonly nullable: true;
99
+ readonly example: "user@example.com";
100
+ };
101
+ };
102
+ }, {
103
+ readonly type: "object";
104
+ readonly required: readonly ["ownerType", "name"];
105
+ readonly properties: {
106
+ readonly ownerType: {
107
+ readonly type: "string";
108
+ readonly enum: readonly ["group"];
109
+ };
110
+ readonly name: {
111
+ readonly type: "string";
112
+ readonly example: "Group Name";
113
+ };
114
+ };
115
+ }];
116
+ };
117
+ }, {
118
+ readonly type: "array";
119
+ readonly minItems: 1;
120
+ readonly maxItems: 1;
121
+ readonly items: {
122
+ readonly type: "object";
123
+ readonly required: readonly ["ownerType"];
124
+ readonly properties: {
125
+ readonly ownerType: {
126
+ readonly type: "string";
127
+ readonly enum: readonly ["system"];
128
+ };
129
+ };
130
+ };
131
+ }];
132
+ };
133
+ readonly roles: {
134
+ readonly type: "array";
135
+ readonly description: "The list of roles that the user has in this project.";
136
+ readonly minItems: 1;
137
+ readonly items: {
138
+ readonly type: "object";
139
+ readonly description: "An Unleash role.";
140
+ readonly additionalProperties: false;
141
+ readonly required: readonly ["name", "id", "type"];
142
+ readonly properties: {
143
+ readonly name: {
144
+ readonly type: "string";
145
+ readonly example: "Owner";
146
+ readonly description: "The name of the role";
147
+ };
148
+ readonly id: {
149
+ readonly type: "integer";
150
+ readonly example: 4;
151
+ readonly description: "The id of the role";
152
+ };
153
+ readonly type: {
154
+ readonly type: "string";
155
+ readonly enum: readonly ["custom", "project", "root", "custom-root"];
156
+ readonly example: "project";
157
+ readonly description: "The type of the role";
158
+ };
159
+ };
160
+ };
161
+ };
162
+ };
163
+ readonly components: {
164
+ readonly schemas: {};
165
+ };
166
+ };
167
+ export type PersonalDashboardProjectDetailsSchema = FromSchema<typeof personalDashboardProjectDetailsSchema>;
168
+ //# sourceMappingURL=personal-dashboard-project-details-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personal-dashboard-project-details-schema.d.ts","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/personal-dashboard-project-details-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ExC,CAAC;AAEX,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC1D,OAAO,qCAAqC,CAC/C,CAAC"}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personalDashboardProjectDetailsSchema = void 0;
4
+ const project_schema_1 = require("./project-schema");
5
+ const project_overview_schema_1 = require("./project-overview-schema");
6
+ exports.personalDashboardProjectDetailsSchema = {
7
+ $id: '#/components/schemas/personalDashboardProjectDetailsSchema',
8
+ type: 'object',
9
+ description: 'Project details in personal dashboard',
10
+ additionalProperties: false,
11
+ required: ['owners', 'roles', 'latestEvents', 'onboardingStatus'],
12
+ properties: {
13
+ onboardingStatus: project_overview_schema_1.projectOverviewSchema.properties.onboardingStatus,
14
+ latestEvents: {
15
+ type: 'array',
16
+ description: 'The latest events for the project.',
17
+ items: {
18
+ type: 'object',
19
+ description: 'An event summary',
20
+ additionalProperties: false,
21
+ required: ['summary', 'createdBy', 'createdByImageUrl', 'id'],
22
+ properties: {
23
+ id: {
24
+ type: 'integer',
25
+ minimum: 1,
26
+ description: 'The ID of the event.',
27
+ },
28
+ summary: {
29
+ type: 'string',
30
+ nullable: true,
31
+ description: '**[Experimental]** A markdown-formatted summary of the event.',
32
+ },
33
+ createdBy: {
34
+ type: 'string',
35
+ description: 'Which user created this event',
36
+ example: 'johndoe',
37
+ },
38
+ createdByImageUrl: {
39
+ type: 'string',
40
+ description: `URL used for the user profile image of the event author`,
41
+ example: 'https://example.com/242x200.png',
42
+ },
43
+ },
44
+ },
45
+ },
46
+ owners: project_schema_1.projectSchema.properties.owners,
47
+ roles: {
48
+ type: 'array',
49
+ description: 'The list of roles that the user has in this project.',
50
+ minItems: 1,
51
+ items: {
52
+ type: 'object',
53
+ description: 'An Unleash role.',
54
+ additionalProperties: false,
55
+ required: ['name', 'id', 'type'],
56
+ properties: {
57
+ name: {
58
+ type: 'string',
59
+ example: 'Owner',
60
+ description: 'The name of the role',
61
+ },
62
+ id: {
63
+ type: 'integer',
64
+ example: 4,
65
+ description: 'The id of the role',
66
+ },
67
+ type: {
68
+ type: 'string',
69
+ enum: ['custom', 'project', 'root', 'custom-root'],
70
+ example: 'project',
71
+ description: 'The type of the role',
72
+ },
73
+ },
74
+ },
75
+ },
76
+ },
77
+ components: {
78
+ schemas: {},
79
+ },
80
+ };
81
+ //# sourceMappingURL=personal-dashboard-project-details-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personal-dashboard-project-details-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/personal-dashboard-project-details-schema.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AACjD,uEAAkE;AAErD,QAAA,qCAAqC,GAAG;IACjD,GAAG,EAAE,4DAA4D;IACjE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,uCAAuC;IACpD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,kBAAkB,CAAC;IACjE,UAAU,EAAE;QACR,gBAAgB,EAAE,+CAAqB,CAAC,UAAU,CAAC,gBAAgB;QACnE,YAAY,EAAE;YACV,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oCAAoC;YACjD,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,CAAC;gBAC7D,UAAU,EAAE;oBACR,EAAE,EAAE;wBACA,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,CAAC;wBACV,WAAW,EAAE,sBAAsB;qBACtC;oBACD,OAAO,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;wBACd,WAAW,EACP,+DAA+D;qBACtE;oBACD,SAAS,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,+BAA+B;wBAC5C,OAAO,EAAE,SAAS;qBACrB;oBACD,iBAAiB,EAAE;wBACf,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,yDAAyD;wBACtE,OAAO,EAAE,iCAAiC;qBAC7C;iBACJ;aACJ;SACJ;QACD,MAAM,EAAE,8BAAa,CAAC,UAAU,CAAC,MAAM;QACvC,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sDAAsD;YACnE,QAAQ,EAAE,CAAC;YACX,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC;gBAChC,UAAU,EAAE;oBACR,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,OAAO;wBAChB,WAAW,EAAE,sBAAsB;qBACtC;oBACD,EAAE,EAAE;wBACA,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,CAAC;wBACV,WAAW,EAAE,oBAAoB;qBACpC;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,CAAC;wBAClD,OAAO,EAAE,SAAS;wBAClB,WAAW,EAAE,sBAAsB;qBACtC;iBACJ;aACJ;SACJ;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE,EAAE;KACd;CACK,CAAC"}
@@ -0,0 +1,142 @@
1
+ import type { FromSchema } from 'json-schema-to-ts';
2
+ export declare const personalDashboardSchema: {
3
+ readonly $id: "#/components/schemas/personalDashboardSchema";
4
+ readonly type: "object";
5
+ readonly description: "Project and flags relevant to the user";
6
+ readonly additionalProperties: false;
7
+ readonly required: readonly ["projects", "flags", "admins", "projectOwners"];
8
+ readonly properties: {
9
+ readonly admins: {
10
+ readonly type: "array";
11
+ readonly description: "Users with the admin role in Unleash.";
12
+ readonly items: {
13
+ readonly type: "object";
14
+ readonly required: readonly ["id"];
15
+ readonly properties: {
16
+ readonly id: {
17
+ readonly type: "integer";
18
+ readonly description: "The user ID.";
19
+ readonly example: 1;
20
+ };
21
+ readonly name: {
22
+ readonly type: "string";
23
+ readonly description: "The user's name.";
24
+ readonly example: "Ash Ketchum";
25
+ };
26
+ readonly username: {
27
+ readonly type: "string";
28
+ readonly description: "The user's username.";
29
+ readonly example: "pokémaster13";
30
+ };
31
+ readonly imageUrl: {
32
+ readonly type: "string";
33
+ readonly example: "https://example.com/peek-at-you.jpg";
34
+ };
35
+ readonly email: {
36
+ readonly type: "string";
37
+ readonly example: "user@example.com";
38
+ };
39
+ };
40
+ };
41
+ };
42
+ readonly projectOwners: {
43
+ readonly type: "array";
44
+ readonly description: "Users with the project owner role in Unleash. Only contains owners of projects that are visible to the user.";
45
+ readonly items: {
46
+ readonly type: "object";
47
+ readonly required: readonly ["ownerType", "name"];
48
+ readonly properties: {
49
+ readonly ownerType: {
50
+ readonly type: "string";
51
+ readonly enum: readonly ["user"];
52
+ readonly description: "The type of the owner; will always be `user`.";
53
+ };
54
+ readonly name: {
55
+ readonly type: "string";
56
+ readonly example: "User Name";
57
+ readonly description: "The name displayed for the user. Can be the user's name, username, or email, depending on what they have provided.";
58
+ };
59
+ readonly imageUrl: {
60
+ readonly type: "string";
61
+ readonly nullable: true;
62
+ readonly description: "The URL of the user's profile image.";
63
+ readonly example: "https://example.com/image.jpg";
64
+ };
65
+ readonly email: {
66
+ readonly type: "string";
67
+ readonly nullable: true;
68
+ readonly description: "The user's email address.";
69
+ readonly example: "user@example.com";
70
+ };
71
+ };
72
+ };
73
+ };
74
+ readonly projects: {
75
+ readonly type: "array";
76
+ readonly items: {
77
+ readonly type: "object";
78
+ readonly additionalProperties: false;
79
+ readonly required: readonly ["id", "name", "health", "memberCount", "featureCount"];
80
+ readonly properties: {
81
+ readonly id: {
82
+ readonly type: "string";
83
+ readonly example: "my-project-id";
84
+ readonly description: "The id of the project";
85
+ };
86
+ readonly name: {
87
+ readonly type: "string";
88
+ readonly example: "My Project";
89
+ readonly description: "The name of the project";
90
+ };
91
+ readonly health: {
92
+ readonly type: "number";
93
+ readonly example: 50;
94
+ readonly description: "An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100";
95
+ };
96
+ readonly memberCount: {
97
+ readonly type: "number";
98
+ readonly example: 4;
99
+ readonly description: "The number of members this project has";
100
+ };
101
+ readonly featureCount: {
102
+ readonly type: "number";
103
+ readonly example: 10;
104
+ readonly description: "The number of features this project has";
105
+ };
106
+ };
107
+ };
108
+ readonly description: "A list of projects that a user participates in with any role e.g. member or owner or any custom role";
109
+ };
110
+ readonly flags: {
111
+ readonly type: "array";
112
+ readonly items: {
113
+ readonly type: "object";
114
+ readonly additionalProperties: false;
115
+ readonly required: readonly ["name", "project", "type"];
116
+ readonly properties: {
117
+ readonly name: {
118
+ readonly type: "string";
119
+ readonly example: "my-flag";
120
+ readonly description: "The name of the flag";
121
+ };
122
+ readonly project: {
123
+ readonly type: "string";
124
+ readonly example: "my-project-id";
125
+ readonly description: "The id of the feature project";
126
+ };
127
+ readonly type: {
128
+ readonly type: "string";
129
+ readonly example: "release";
130
+ readonly description: "The type of the feature flag";
131
+ };
132
+ };
133
+ };
134
+ readonly description: "A list of flags a user created or favorited";
135
+ };
136
+ };
137
+ readonly components: {
138
+ readonly schemas: {};
139
+ };
140
+ };
141
+ export type PersonalDashboardSchema = FromSchema<typeof personalDashboardSchema>;
142
+ //# sourceMappingURL=personal-dashboard-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personal-dashboard-schema.d.ts","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/personal-dashboard-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqJ1B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC5C,OAAO,uBAAuB,CACjC,CAAC"}
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personalDashboardSchema = void 0;
4
+ exports.personalDashboardSchema = {
5
+ $id: '#/components/schemas/personalDashboardSchema',
6
+ type: 'object',
7
+ description: 'Project and flags relevant to the user',
8
+ additionalProperties: false,
9
+ required: ['projects', 'flags', 'admins', 'projectOwners'],
10
+ properties: {
11
+ admins: {
12
+ type: 'array',
13
+ description: 'Users with the admin role in Unleash.',
14
+ items: {
15
+ type: 'object',
16
+ required: ['id'],
17
+ properties: {
18
+ id: {
19
+ type: 'integer',
20
+ description: 'The user ID.',
21
+ example: 1,
22
+ },
23
+ name: {
24
+ type: 'string',
25
+ description: "The user's name.",
26
+ example: 'Ash Ketchum',
27
+ },
28
+ username: {
29
+ type: 'string',
30
+ description: "The user's username.",
31
+ example: 'pokémaster13',
32
+ },
33
+ imageUrl: {
34
+ type: 'string',
35
+ example: 'https://example.com/peek-at-you.jpg',
36
+ },
37
+ email: {
38
+ type: 'string',
39
+ example: 'user@example.com',
40
+ },
41
+ },
42
+ },
43
+ },
44
+ projectOwners: {
45
+ type: 'array',
46
+ description: 'Users with the project owner role in Unleash. Only contains owners of projects that are visible to the user.',
47
+ items: {
48
+ type: 'object',
49
+ required: ['ownerType', 'name'],
50
+ properties: {
51
+ ownerType: {
52
+ type: 'string',
53
+ enum: ['user'],
54
+ description: 'The type of the owner; will always be `user`.',
55
+ },
56
+ name: {
57
+ type: 'string',
58
+ example: 'User Name',
59
+ description: "The name displayed for the user. Can be the user's name, username, or email, depending on what they have provided.",
60
+ },
61
+ imageUrl: {
62
+ type: 'string',
63
+ nullable: true,
64
+ description: "The URL of the user's profile image.",
65
+ example: 'https://example.com/image.jpg',
66
+ },
67
+ email: {
68
+ type: 'string',
69
+ nullable: true,
70
+ description: "The user's email address.",
71
+ example: 'user@example.com',
72
+ },
73
+ },
74
+ },
75
+ },
76
+ projects: {
77
+ type: 'array',
78
+ items: {
79
+ type: 'object',
80
+ additionalProperties: false,
81
+ required: [
82
+ 'id',
83
+ 'name',
84
+ 'health',
85
+ 'memberCount',
86
+ 'featureCount',
87
+ ],
88
+ properties: {
89
+ id: {
90
+ type: 'string',
91
+ example: 'my-project-id',
92
+ description: 'The id of the project',
93
+ },
94
+ name: {
95
+ type: 'string',
96
+ example: 'My Project',
97
+ description: 'The name of the project',
98
+ },
99
+ health: {
100
+ type: 'number',
101
+ example: 50,
102
+ description: "An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100",
103
+ },
104
+ memberCount: {
105
+ type: 'number',
106
+ example: 4,
107
+ description: 'The number of members this project has',
108
+ },
109
+ featureCount: {
110
+ type: 'number',
111
+ example: 10,
112
+ description: 'The number of features this project has',
113
+ },
114
+ },
115
+ },
116
+ description: 'A list of projects that a user participates in with any role e.g. member or owner or any custom role',
117
+ },
118
+ flags: {
119
+ type: 'array',
120
+ items: {
121
+ type: 'object',
122
+ additionalProperties: false,
123
+ required: ['name', 'project', 'type'],
124
+ properties: {
125
+ name: {
126
+ type: 'string',
127
+ example: 'my-flag',
128
+ description: 'The name of the flag',
129
+ },
130
+ project: {
131
+ type: 'string',
132
+ example: 'my-project-id',
133
+ description: 'The id of the feature project',
134
+ },
135
+ type: {
136
+ type: 'string',
137
+ example: 'release',
138
+ description: 'The type of the feature flag',
139
+ },
140
+ },
141
+ },
142
+ description: 'A list of flags a user created or favorited',
143
+ },
144
+ },
145
+ components: {
146
+ schemas: {},
147
+ },
148
+ };
149
+ //# sourceMappingURL=personal-dashboard-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personal-dashboard-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/personal-dashboard-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,wCAAwC;IACrD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,CAAC;IAC1D,UAAU,EAAE;QACR,MAAM,EA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AA+B;qBAC/C;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,SAAS;wBAClB,WAAW,EAAE,8BAA8B;qBAC9C;iBACJ;aACJ;YACD,WAAW,EAAE,6CAA6C;SAC7D;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE,EAAE;KACd;CACK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/routes/admin-api/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8BpE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAOtC,qBAAa,QAAS,SAAQ,UAAU;gBACxB,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,EAAE,EAAE;CAgIzE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/routes/admin-api/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8BpE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAQtC,qBAAa,QAAS,SAAQ,UAAU;gBACxB,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,EAAE,EAAE;CAoIzE"}
@@ -39,6 +39,7 @@ const segment_controller_1 = require("../../features/segment/segment-controller"
39
39
  const inactive_users_controller_1 = require("../../users/inactive/inactive-users-controller");
40
40
  const ui_observability_controller_1 = require("../../features/ui-observability-controller/ui-observability-controller");
41
41
  const search_1 = require("./search");
42
+ const personal_dashboard_controller_1 = __importDefault(require("../../features/personal-dashboard/personal-dashboard-controller"));
42
43
  class AdminApi extends controller_1.default {
43
44
  constructor(config, services, db) {
44
45
  super(config);
@@ -64,6 +65,7 @@ class AdminApi extends controller_1.default {
64
65
  this.app.use('/user-admin', new user_admin_1.default(config, services).router);
65
66
  this.app.use('/feedback', new user_feedback_1.default(config, services).router);
66
67
  this.app.use('/projects', new project_controller_1.default(config, services, db).router);
68
+ this.app.use('/personal-dashboard', new personal_dashboard_controller_1.default(config, services).router);
67
69
  this.app.use('/environments', new environments_1.EnvironmentsController(config, services).router);
68
70
  this.app.use('/splash', new user_splash_1.default(config, services).router);
69
71
  this.app.use('/constraints', new constraints_1.default(config, services).router);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/routes/admin-api/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAuC;AAEvC,6IAAsG;AACtG,iDAAuD;AACvD,wIAAgG;AAChG,0DAA4C;AAC5C,oDAAsC;AACtC,sFAAwE;AACxE,wDAA0C;AAC1C,uDAAyC;AACzC,sDAAwC;AACxC,uCAA8C;AAC9C,0GAA2F;AAC3F,gDAAkC;AAClC,gFAAiE;AACjE,oDAAsC;AACtC,2CAAiD;AACjD,8DAA+C;AAC/C,oDAAsC;AACtC,oEAAqD;AACrD,gEAAiD;AACjD,mGAA0E;AAC1E,iDAAwD;AACxD,gEAAkD;AAClD,qDAAuC;AACvC,mDAAyD;AACzD,sEAAuD;AACvD,4DAA8C;AAC9C,4DAA8C;AAC9C,+GAAsF;AACtF,sDAAoE;AAEpE,6HAAmG;AACnG,kFAA+E;AAC/E,8FAAyF;AACzF,wHAAmH;AACnH,qCAAqC;AAErC,MAAa,QAAS,SAAQ,oBAAU;IACpC,YAAY,MAAsB,EAAE,QAA0B,EAAE,EAAM;QAClE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEd,IAAI,CAAC,GAAG,CAAC,GAAG,CACR,WAAW,EACX,IAAI,0CAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,MAAM,CACjD,CAAC;QAEF,IAAI,CAAC,GAA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AE,QAAQ,CAAC,CAAC,MAAM,CACnD,CAAC;QAEF,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,kBAAS,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;QAEpE,IAAI,CAAC,GAAG,CAAC,GAAG,CACR,kBAAkB,EAClB,IAAI,uDAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,MAAM,CACzD,CAAC;IACN,CAAC;CACJ;AArID,4BAqIC"}
@@ -17,7 +17,7 @@ exports.permissionRoleSchema = joi_1.default
17
17
  exports.roleSchema = joi_1.default
18
18
  .object()
19
19
  .keys({
20
- name: joi_1.default.string().required(),
20
+ name: joi_1.default.string().trim().required(),
21
21
  description: joi_1.default.string().optional().allow('').allow(null).default(''),
22
22
  permissions: joi_1.default
23
23
  .array()
@@ -1 +1 @@
1
- {"version":3,"file":"role-schema.js","sourceRoot":"","sources":["../../../src/lib/schema/role-schema.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAsB;AAET,QAAA,oBAAoB,GAAG,aAAG;KAClC,MAAM,EAAE;KACR,IAAI,CAAC;IACF,EAAE,EAAE,aAAG,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE;IAClB,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CACzE,CAAC;KACD,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;KAChB,OAAO,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;AAEhE,QAAA,UAAU,GAAG,aAAG;KACxB,MAAM,EAAE;KACR,IAAI,CAAC;IACF,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,Q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CAAC,OAAO,CAAC,EAAE,CAAC;IACtE,WAAW,EAAE,aAAG;SACX,KAAK,EAAE;SACP,KAAK,CAAC,IAAI,CAAC;SACX,QAAQ,EAAE;SACV,KAAK,CAAC,4BAAoB,CAAC;CACnC,CAAC;KACD,OAAO,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC"}
@@ -51,6 +51,7 @@ export interface AccessWithRoles {
51
51
  groups: IGroupWithProjectRoles[];
52
52
  users: IUserWithProjectRoles[];
53
53
  }
54
+ export declare const cleanPermissionEnvironment: (permissions: PermissionRef[] | undefined) => PermissionRef[];
54
55
  export declare class AccessService {
55
56
  private store;
56
57
  private accountStore;