@igoruehara/canvas-flow 0.1.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 (283) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +152 -0
  3. package/bin/canvas-flow.js +1132 -0
  4. package/package.json +68 -0
  5. package/public/assets/index-PCQkqMUe.css +1 -0
  6. package/public/assets/index-qV8twxcq.js +767 -0
  7. package/public/index.html +13 -0
  8. package/server/api-key/api-key-connect-provider.d.ts +104 -0
  9. package/server/api-key/api-key-connect-provider.js +14 -0
  10. package/server/api-key/api-key-connect-provider.js.map +1 -0
  11. package/server/api-key/api-key-constants-model.d.ts +2 -0
  12. package/server/api-key/api-key-constants-model.js +6 -0
  13. package/server/api-key/api-key-constants-model.js.map +1 -0
  14. package/server/api-key/api-key-controller.d.ts +12 -0
  15. package/server/api-key/api-key-controller.js +86 -0
  16. package/server/api-key/api-key-controller.js.map +1 -0
  17. package/server/api-key/api-key-module.d.ts +2 -0
  18. package/server/api-key/api-key-module.js +27 -0
  19. package/server/api-key/api-key-module.js.map +1 -0
  20. package/server/api-key/api-key-schema.d.ts +72 -0
  21. package/server/api-key/api-key-schema.js +98 -0
  22. package/server/api-key/api-key-schema.js.map +1 -0
  23. package/server/api-key/api-key-service.d.ts +45 -0
  24. package/server/api-key/api-key-service.js +151 -0
  25. package/server/api-key/api-key-service.js.map +1 -0
  26. package/server/api-key/dto/create-api-key.dto.d.ts +8 -0
  27. package/server/api-key/dto/create-api-key.dto.js +7 -0
  28. package/server/api-key/dto/create-api-key.dto.js.map +1 -0
  29. package/server/app.module.d.ts +2 -0
  30. package/server/app.module.js +53 -0
  31. package/server/app.module.js.map +1 -0
  32. package/server/auth/auth-connect-provider.d.ts +140 -0
  33. package/server/auth/auth-connect-provider.js +20 -0
  34. package/server/auth/auth-connect-provider.js.map +1 -0
  35. package/server/auth/auth-constants-model.d.ts +4 -0
  36. package/server/auth/auth-constants-model.js +8 -0
  37. package/server/auth/auth-constants-model.js.map +1 -0
  38. package/server/auth/auth-controller.d.ts +25 -0
  39. package/server/auth/auth-controller.js +96 -0
  40. package/server/auth/auth-controller.js.map +1 -0
  41. package/server/auth/auth-module.d.ts +2 -0
  42. package/server/auth/auth-module.js +26 -0
  43. package/server/auth/auth-module.js.map +1 -0
  44. package/server/auth/auth-organization-schema.d.ts +44 -0
  45. package/server/auth/auth-organization-schema.js +62 -0
  46. package/server/auth/auth-organization-schema.js.map +1 -0
  47. package/server/auth/auth-schema.d.ts +56 -0
  48. package/server/auth/auth-schema.js +77 -0
  49. package/server/auth/auth-schema.js.map +1 -0
  50. package/server/auth/auth-service.d.ts +64 -0
  51. package/server/auth/auth-service.js +343 -0
  52. package/server/auth/auth-service.js.map +1 -0
  53. package/server/canvas-flow/canvas-flow-connect-provider.d.ts +278 -0
  54. package/server/canvas-flow/canvas-flow-connect-provider.js +24 -0
  55. package/server/canvas-flow/canvas-flow-connect-provider.js.map +1 -0
  56. package/server/canvas-flow/canvas-flow-constants-model.d.ts +6 -0
  57. package/server/canvas-flow/canvas-flow-constants-model.js +10 -0
  58. package/server/canvas-flow/canvas-flow-constants-model.js.map +1 -0
  59. package/server/canvas-flow/canvas-flow-controller.d.ts +98 -0
  60. package/server/canvas-flow/canvas-flow-controller.js +423 -0
  61. package/server/canvas-flow/canvas-flow-controller.js.map +1 -0
  62. package/server/canvas-flow/canvas-flow-module.d.ts +2 -0
  63. package/server/canvas-flow/canvas-flow-module.js +27 -0
  64. package/server/canvas-flow/canvas-flow-module.js.map +1 -0
  65. package/server/canvas-flow/canvas-flow-schema.d.ts +192 -0
  66. package/server/canvas-flow/canvas-flow-schema.js +239 -0
  67. package/server/canvas-flow/canvas-flow-schema.js.map +1 -0
  68. package/server/canvas-flow/canvas-flow-service.d.ts +250 -0
  69. package/server/canvas-flow/canvas-flow-service.js +1681 -0
  70. package/server/canvas-flow/canvas-flow-service.js.map +1 -0
  71. package/server/canvas-flow/dto/create-canvas-flow.dto.d.ts +11 -0
  72. package/server/canvas-flow/dto/create-canvas-flow.dto.js +61 -0
  73. package/server/canvas-flow/dto/create-canvas-flow.dto.js.map +1 -0
  74. package/server/canvas-flow/dto/update-canvas-flow.dto.d.ts +10 -0
  75. package/server/canvas-flow/dto/update-canvas-flow.dto.js +56 -0
  76. package/server/canvas-flow/dto/update-canvas-flow.dto.js.map +1 -0
  77. package/server/constants-global.d.ts +1 -0
  78. package/server/constants-global.js +5 -0
  79. package/server/constants-global.js.map +1 -0
  80. package/server/database/database.module.d.ts +2 -0
  81. package/server/database/database.module.js +23 -0
  82. package/server/database/database.module.js.map +1 -0
  83. package/server/database/database.providers.d.ts +7 -0
  84. package/server/database/database.providers.js +26 -0
  85. package/server/database/database.providers.js.map +1 -0
  86. package/server/documents/documents-connect-provider.d.ts +140 -0
  87. package/server/documents/documents-connect-provider.js +14 -0
  88. package/server/documents/documents-connect-provider.js.map +1 -0
  89. package/server/documents/documents-constants-model.d.ts +2 -0
  90. package/server/documents/documents-constants-model.js +6 -0
  91. package/server/documents/documents-constants-model.js.map +1 -0
  92. package/server/documents/documents-controller.d.ts +16 -0
  93. package/server/documents/documents-controller.js +117 -0
  94. package/server/documents/documents-controller.js.map +1 -0
  95. package/server/documents/documents-module.d.ts +2 -0
  96. package/server/documents/documents-module.js +27 -0
  97. package/server/documents/documents-module.js.map +1 -0
  98. package/server/documents/documents-schema.d.ts +96 -0
  99. package/server/documents/documents-schema.js +38 -0
  100. package/server/documents/documents-schema.js.map +1 -0
  101. package/server/documents/documents-service.d.ts +164 -0
  102. package/server/documents/documents-service.js +1417 -0
  103. package/server/documents/documents-service.js.map +1 -0
  104. package/server/flow-tag/flow-tag-connect-provider.d.ts +146 -0
  105. package/server/flow-tag/flow-tag-connect-provider.js +14 -0
  106. package/server/flow-tag/flow-tag-connect-provider.js.map +1 -0
  107. package/server/flow-tag/flow-tag-constants-model.d.ts +2 -0
  108. package/server/flow-tag/flow-tag-constants-model.js +6 -0
  109. package/server/flow-tag/flow-tag-constants-model.js.map +1 -0
  110. package/server/flow-tag/flow-tag-module.d.ts +2 -0
  111. package/server/flow-tag/flow-tag-module.js +24 -0
  112. package/server/flow-tag/flow-tag-module.js.map +1 -0
  113. package/server/flow-tag/flow-tag-schema.d.ts +100 -0
  114. package/server/flow-tag/flow-tag-schema.js +131 -0
  115. package/server/flow-tag/flow-tag-schema.js.map +1 -0
  116. package/server/flow-tag/flow-tag-service.d.ts +77 -0
  117. package/server/flow-tag/flow-tag-service.js +156 -0
  118. package/server/flow-tag/flow-tag-service.js.map +1 -0
  119. package/server/health.controller.d.ts +7 -0
  120. package/server/health.controller.js +33 -0
  121. package/server/health.controller.js.map +1 -0
  122. package/server/http-batch/http-batch-controller.d.ts +345 -0
  123. package/server/http-batch/http-batch-controller.js +40 -0
  124. package/server/http-batch/http-batch-controller.js.map +1 -0
  125. package/server/http-batch/http-batch-module.d.ts +2 -0
  126. package/server/http-batch/http-batch-module.js +25 -0
  127. package/server/http-batch/http-batch-module.js.map +1 -0
  128. package/server/http-batch/http-batch-service.d.ts +381 -0
  129. package/server/http-batch/http-batch-service.js +268 -0
  130. package/server/http-batch/http-batch-service.js.map +1 -0
  131. package/server/lambda.d.ts +2 -0
  132. package/server/lambda.js +115 -0
  133. package/server/lambda.js.map +1 -0
  134. package/server/llm/openai-provider.d.ts +8 -0
  135. package/server/llm/openai-provider.js +256 -0
  136. package/server/llm/openai-provider.js.map +1 -0
  137. package/server/main.d.ts +1 -0
  138. package/server/main.js +80 -0
  139. package/server/main.js.map +1 -0
  140. package/server/mcp-oauth/mcp-oauth-connect-provider.d.ts +164 -0
  141. package/server/mcp-oauth/mcp-oauth-connect-provider.js +14 -0
  142. package/server/mcp-oauth/mcp-oauth-connect-provider.js.map +1 -0
  143. package/server/mcp-oauth/mcp-oauth-constants-model.d.ts +2 -0
  144. package/server/mcp-oauth/mcp-oauth-constants-model.js +6 -0
  145. package/server/mcp-oauth/mcp-oauth-constants-model.js.map +1 -0
  146. package/server/mcp-oauth/mcp-oauth-controller.d.ts +66 -0
  147. package/server/mcp-oauth/mcp-oauth-controller.js +166 -0
  148. package/server/mcp-oauth/mcp-oauth-controller.js.map +1 -0
  149. package/server/mcp-oauth/mcp-oauth-module.d.ts +2 -0
  150. package/server/mcp-oauth/mcp-oauth-module.js +27 -0
  151. package/server/mcp-oauth/mcp-oauth-module.js.map +1 -0
  152. package/server/mcp-oauth/mcp-oauth-schema.d.ts +112 -0
  153. package/server/mcp-oauth/mcp-oauth-schema.js +148 -0
  154. package/server/mcp-oauth/mcp-oauth-schema.js.map +1 -0
  155. package/server/mcp-oauth/mcp-oauth-service.d.ts +189 -0
  156. package/server/mcp-oauth/mcp-oauth-service.js +545 -0
  157. package/server/mcp-oauth/mcp-oauth-service.js.map +1 -0
  158. package/server/memory/memory-connect-provider.d.ts +200 -0
  159. package/server/memory/memory-connect-provider.js +26 -0
  160. package/server/memory/memory-connect-provider.js.map +1 -0
  161. package/server/memory/memory-constants-model.d.ts +6 -0
  162. package/server/memory/memory-constants-model.js +10 -0
  163. package/server/memory/memory-constants-model.js.map +1 -0
  164. package/server/memory/memory-controller.d.ts +15 -0
  165. package/server/memory/memory-controller.js +53 -0
  166. package/server/memory/memory-controller.js.map +1 -0
  167. package/server/memory/memory-history-schema.d.ts +48 -0
  168. package/server/memory/memory-history-schema.js +62 -0
  169. package/server/memory/memory-history-schema.js.map +1 -0
  170. package/server/memory/memory-module.d.ts +2 -0
  171. package/server/memory/memory-module.js +26 -0
  172. package/server/memory/memory-module.js.map +1 -0
  173. package/server/memory/memory-schema.d.ts +48 -0
  174. package/server/memory/memory-schema.js +62 -0
  175. package/server/memory/memory-schema.js.map +1 -0
  176. package/server/memory/memory-service.d.ts +134 -0
  177. package/server/memory/memory-service.js +317 -0
  178. package/server/memory/memory-service.js.map +1 -0
  179. package/server/memory/memory-trace-history-schema.d.ts +48 -0
  180. package/server/memory/memory-trace-history-schema.js +62 -0
  181. package/server/memory/memory-trace-history-schema.js.map +1 -0
  182. package/server/observability/observability.d.ts +3 -0
  183. package/server/observability/observability.js +62 -0
  184. package/server/observability/observability.js.map +1 -0
  185. package/server/production-guard.d.ts +9 -0
  186. package/server/production-guard.js +105 -0
  187. package/server/production-guard.js.map +1 -0
  188. package/server/provider-config/provider-config-connect-provider.d.ts +44 -0
  189. package/server/provider-config/provider-config-connect-provider.js +14 -0
  190. package/server/provider-config/provider-config-connect-provider.js.map +1 -0
  191. package/server/provider-config/provider-config-constants-model.d.ts +3 -0
  192. package/server/provider-config/provider-config-constants-model.js +7 -0
  193. package/server/provider-config/provider-config-constants-model.js.map +1 -0
  194. package/server/provider-config/provider-config-controller.d.ts +23 -0
  195. package/server/provider-config/provider-config-controller.js +80 -0
  196. package/server/provider-config/provider-config-controller.js.map +1 -0
  197. package/server/provider-config/provider-config-module.d.ts +2 -0
  198. package/server/provider-config/provider-config-module.js +27 -0
  199. package/server/provider-config/provider-config-module.js.map +1 -0
  200. package/server/provider-config/provider-config-schema.d.ts +32 -0
  201. package/server/provider-config/provider-config-schema.js +46 -0
  202. package/server/provider-config/provider-config-schema.js.map +1 -0
  203. package/server/provider-config/provider-config-service.d.ts +178 -0
  204. package/server/provider-config/provider-config-service.js +689 -0
  205. package/server/provider-config/provider-config-service.js.map +1 -0
  206. package/server/queue/queue-job-connect-provider.d.ts +128 -0
  207. package/server/queue/queue-job-connect-provider.js +14 -0
  208. package/server/queue/queue-job-connect-provider.js.map +1 -0
  209. package/server/queue/queue-job-constants-model.d.ts +2 -0
  210. package/server/queue/queue-job-constants-model.js +6 -0
  211. package/server/queue/queue-job-constants-model.js.map +1 -0
  212. package/server/queue/queue-job-schema.d.ts +88 -0
  213. package/server/queue/queue-job-schema.js +119 -0
  214. package/server/queue/queue-job-schema.js.map +1 -0
  215. package/server/queue/queue-lock-connect-provider.d.ts +44 -0
  216. package/server/queue/queue-lock-connect-provider.js +14 -0
  217. package/server/queue/queue-lock-connect-provider.js.map +1 -0
  218. package/server/queue/queue-lock-constants-model.d.ts +2 -0
  219. package/server/queue/queue-lock-constants-model.js +6 -0
  220. package/server/queue/queue-lock-constants-model.js.map +1 -0
  221. package/server/queue/queue-lock-schema.d.ts +32 -0
  222. package/server/queue/queue-lock-schema.js +47 -0
  223. package/server/queue/queue-lock-schema.js.map +1 -0
  224. package/server/queue/queue-message-dedupe-connect-provider.d.ts +116 -0
  225. package/server/queue/queue-message-dedupe-connect-provider.js +14 -0
  226. package/server/queue/queue-message-dedupe-connect-provider.js.map +1 -0
  227. package/server/queue/queue-message-dedupe-constants-model.d.ts +2 -0
  228. package/server/queue/queue-message-dedupe-constants-model.js +6 -0
  229. package/server/queue/queue-message-dedupe-constants-model.js.map +1 -0
  230. package/server/queue/queue-message-dedupe-schema.d.ts +80 -0
  231. package/server/queue/queue-message-dedupe-schema.js +108 -0
  232. package/server/queue/queue-message-dedupe-schema.js.map +1 -0
  233. package/server/queue/queue-module.d.ts +2 -0
  234. package/server/queue/queue-module.js +33 -0
  235. package/server/queue/queue-module.js.map +1 -0
  236. package/server/queue/queue-rate-limit-connect-provider.d.ts +56 -0
  237. package/server/queue/queue-rate-limit-connect-provider.js +14 -0
  238. package/server/queue/queue-rate-limit-connect-provider.js.map +1 -0
  239. package/server/queue/queue-rate-limit-constants-model.d.ts +2 -0
  240. package/server/queue/queue-rate-limit-constants-model.js +6 -0
  241. package/server/queue/queue-rate-limit-constants-model.js.map +1 -0
  242. package/server/queue/queue-rate-limit-schema.d.ts +40 -0
  243. package/server/queue/queue-rate-limit-schema.js +57 -0
  244. package/server/queue/queue-rate-limit-schema.js.map +1 -0
  245. package/server/queue/sqs-transition-service.d.ts +123 -0
  246. package/server/queue/sqs-transition-service.js +442 -0
  247. package/server/queue/sqs-transition-service.js.map +1 -0
  248. package/server/rag/rag-controller.d.ts +167 -0
  249. package/server/rag/rag-controller.js +232 -0
  250. package/server/rag/rag-controller.js.map +1 -0
  251. package/server/rag/rag-module.d.ts +2 -0
  252. package/server/rag/rag-module.js +30 -0
  253. package/server/rag/rag-module.js.map +1 -0
  254. package/server/rag/rag-service.d.ts +361 -0
  255. package/server/rag/rag-service.js +2864 -0
  256. package/server/rag/rag-service.js.map +1 -0
  257. package/server/runner/flow-templates.d.ts +55 -0
  258. package/server/runner/flow-templates.js +388 -0
  259. package/server/runner/flow-templates.js.map +1 -0
  260. package/server/runner/langgraph-runtime.service.d.ts +77 -0
  261. package/server/runner/langgraph-runtime.service.js +221 -0
  262. package/server/runner/langgraph-runtime.service.js.map +1 -0
  263. package/server/runner/runner-controller.d.ts +1044 -0
  264. package/server/runner/runner-controller.js +751 -0
  265. package/server/runner/runner-controller.js.map +1 -0
  266. package/server/runner/runner-module.d.ts +2 -0
  267. package/server/runner/runner-module.js +37 -0
  268. package/server/runner/runner-module.js.map +1 -0
  269. package/server/runner/runner-queue-processor.d.ts +29 -0
  270. package/server/runner/runner-queue-processor.js +259 -0
  271. package/server/runner/runner-queue-processor.js.map +1 -0
  272. package/server/runner/runner-service.d.ts +1761 -0
  273. package/server/runner/runner-service.js +14256 -0
  274. package/server/runner/runner-service.js.map +1 -0
  275. package/server/scripts/migrate-canvas-flow-versions.d.ts +1 -0
  276. package/server/scripts/migrate-canvas-flow-versions.js +72 -0
  277. package/server/scripts/migrate-canvas-flow-versions.js.map +1 -0
  278. package/server/scripts/migrate-mcp-oauth-user-scope.d.ts +1 -0
  279. package/server/scripts/migrate-mcp-oauth-user-scope.js +95 -0
  280. package/server/scripts/migrate-mcp-oauth-user-scope.js.map +1 -0
  281. package/templates/config.example.json +204 -0
  282. package/templates/config.production.example.json +206 -0
  283. package/templates/docker-compose.yml +60 -0
@@ -0,0 +1,423 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CanvasFlowController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const swagger_1 = require("@nestjs/swagger");
18
+ const auth_service_1 = require("../auth/auth-service");
19
+ const canvas_flow_service_1 = require("./canvas-flow-service");
20
+ const create_canvas_flow_dto_1 = require("./dto/create-canvas-flow.dto");
21
+ const update_canvas_flow_dto_1 = require("./dto/update-canvas-flow.dto");
22
+ let CanvasFlowController = class CanvasFlowController {
23
+ constructor(service, authService) {
24
+ this.service = service;
25
+ this.authService = authService;
26
+ }
27
+ async create(createDto, authorization, headerToken, xApiKey) {
28
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
29
+ return await this.service.create(createDto, user ? { organizationId: user.organizationId, userId: user.id } : undefined);
30
+ }
31
+ async findAll(agentId, authorization, headerToken, xApiKey) {
32
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
33
+ return await this.service.findAll(agentId, user?.organizationId);
34
+ }
35
+ async listAgents(authorization, headerToken, xApiKey) {
36
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
37
+ return await this.service.listAgents(user?.organizationId);
38
+ }
39
+ async createAgent(body, authorization, headerToken, xApiKey) {
40
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
41
+ return await this.service.createAgent(body?.name, user ? { organizationId: user.organizationId, userId: user.id } : undefined);
42
+ }
43
+ async reorderAgents(body, authorization, headerToken, xApiKey) {
44
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
45
+ const orderedAgentIds = Array.isArray(body?.orderedAgentIds)
46
+ ? body.orderedAgentIds.map((id) => String(id))
47
+ : Array.isArray(body?.orderedNames)
48
+ ? body.orderedNames.map((name) => String(name))
49
+ : [];
50
+ return await this.service.reorderAgents(orderedAgentIds, user ? { organizationId: user.organizationId, userId: user.id } : undefined);
51
+ }
52
+ async updateAgentConfig(name, body, authorization, headerToken, xApiKey) {
53
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
54
+ return await this.service.updateAgentConfig(name, body?.config || body || {}, user ? { organizationId: user.organizationId, userId: user.id } : undefined);
55
+ }
56
+ async exportAgentWorkspace(name, authorization, headerToken, xApiKey) {
57
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
58
+ return await this.service.exportAgentWorkspace(name, user?.organizationId);
59
+ }
60
+ async importAgentWorkspace(name, body, authorization, headerToken, xApiKey) {
61
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
62
+ return await this.service.importAgentWorkspace(name, body, user ? { organizationId: user.organizationId, userId: user.id } : undefined);
63
+ }
64
+ async renameAgent(name, body, authorization, headerToken, xApiKey) {
65
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
66
+ return await this.service.renameAgent(name, body?.name, user ? { organizationId: user.organizationId } : undefined);
67
+ }
68
+ async removeAgent(name, body, authorization, headerToken, xApiKey) {
69
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
70
+ return await this.service.removeAgent(name, body?.confirmationName, user ? { organizationId: user.organizationId } : undefined);
71
+ }
72
+ async getAgentReleases(name, authorization, headerToken, xApiKey) {
73
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
74
+ return await this.service.getAgentReleases(name, user ? { organizationId: user.organizationId, userId: user.id } : undefined);
75
+ }
76
+ async deployAgentRelease(name, body, authorization, headerToken, xApiKey) {
77
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
78
+ return await this.service.deployAgentRelease(name, body, user ? { organizationId: user.organizationId, userId: user.id, userEmail: user.email } : undefined);
79
+ }
80
+ async activateAgentRelease(name, release, authorization, headerToken, xApiKey) {
81
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
82
+ return await this.service.activateAgentRelease(name, release, user ? { organizationId: user.organizationId, userId: user.id, userEmail: user.email } : undefined);
83
+ }
84
+ async renameAgentRelease(name, release, body, authorization, headerToken, xApiKey) {
85
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
86
+ return await this.service.renameAgentRelease(name, release, body, user ? { organizationId: user.organizationId } : undefined);
87
+ }
88
+ async overwriteAgentRelease(name, release, body, authorization, headerToken, xApiKey) {
89
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
90
+ return await this.service.overwriteAgentRelease(name, release, body, user ? { organizationId: user.organizationId, userId: user.id, userEmail: user.email } : undefined);
91
+ }
92
+ async deleteAgentRelease(name, release, authorization, headerToken, xApiKey) {
93
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
94
+ return await this.service.deleteAgentRelease(name, release, user ? { organizationId: user.organizationId } : undefined);
95
+ }
96
+ async getVersions(id, authorization, headerToken, xApiKey) {
97
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
98
+ return await this.service.getVersions(id, user ? { organizationId: user.organizationId } : undefined);
99
+ }
100
+ async findOne(id, authorization, headerToken, xApiKey) {
101
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
102
+ return await this.service.findOne(id, user?.organizationId);
103
+ }
104
+ async deployVersion(id, body, authorization, headerToken, xApiKey) {
105
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
106
+ return await this.service.deployVersion(id, body, user ? { organizationId: user.organizationId, userId: user.id, userEmail: user.email } : undefined);
107
+ }
108
+ async activateVersion(id, version, authorization, headerToken, xApiKey) {
109
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
110
+ return await this.service.activateVersion(id, version, user ? { organizationId: user.organizationId, userId: user.id, userEmail: user.email } : undefined);
111
+ }
112
+ async renameVersion(id, version, body, authorization, headerToken, xApiKey) {
113
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
114
+ return await this.service.renameVersion(id, version, body, user ? { organizationId: user.organizationId } : undefined);
115
+ }
116
+ async overwriteVersion(id, version, body, authorization, headerToken, xApiKey) {
117
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
118
+ return await this.service.overwriteVersion(id, version, body, user ? { organizationId: user.organizationId, userId: user.id, userEmail: user.email } : undefined);
119
+ }
120
+ async deleteVersion(id, version, authorization, headerToken, xApiKey) {
121
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
122
+ return await this.service.deleteVersion(id, version, user ? { organizationId: user.organizationId } : undefined);
123
+ }
124
+ async reorder(body, authorization, headerToken, xApiKey) {
125
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
126
+ const orderedIds = Array.isArray(body?.orderedIds) ? body.orderedIds.map((id) => String(id)) : [];
127
+ return await this.service.reorder(orderedIds, body?.agentId, user?.organizationId);
128
+ }
129
+ async update(id, updateDto, authorization, headerToken, xApiKey) {
130
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
131
+ return await this.service.update(id, updateDto, user ? { organizationId: user.organizationId } : undefined);
132
+ }
133
+ async remove(id, authorization, headerToken, xApiKey) {
134
+ const user = await this.authService.assertUiAuth(authorization, headerToken, xApiKey);
135
+ return await this.service.remove(id, user?.organizationId);
136
+ }
137
+ };
138
+ exports.CanvasFlowController = CanvasFlowController;
139
+ __decorate([
140
+ (0, common_1.Post)(),
141
+ __param(0, (0, common_1.Body)()),
142
+ __param(1, (0, common_1.Headers)('authorization')),
143
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
144
+ __param(3, (0, common_1.Headers)('x-api-key')),
145
+ __metadata("design:type", Function),
146
+ __metadata("design:paramtypes", [create_canvas_flow_dto_1.CreateCanvasFlowDto, String, String, String]),
147
+ __metadata("design:returntype", Promise)
148
+ ], CanvasFlowController.prototype, "create", null);
149
+ __decorate([
150
+ (0, common_1.Get)(),
151
+ __param(0, (0, common_1.Query)('agentId')),
152
+ __param(1, (0, common_1.Headers)('authorization')),
153
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
154
+ __param(3, (0, common_1.Headers)('x-api-key')),
155
+ __metadata("design:type", Function),
156
+ __metadata("design:paramtypes", [String, String, String, String]),
157
+ __metadata("design:returntype", Promise)
158
+ ], CanvasFlowController.prototype, "findAll", null);
159
+ __decorate([
160
+ (0, common_1.Get)('agents'),
161
+ __param(0, (0, common_1.Headers)('authorization')),
162
+ __param(1, (0, common_1.Headers)('x-canvas-flow-token')),
163
+ __param(2, (0, common_1.Headers)('x-api-key')),
164
+ __metadata("design:type", Function),
165
+ __metadata("design:paramtypes", [String, String, String]),
166
+ __metadata("design:returntype", Promise)
167
+ ], CanvasFlowController.prototype, "listAgents", null);
168
+ __decorate([
169
+ (0, common_1.Post)('agents'),
170
+ __param(0, (0, common_1.Body)()),
171
+ __param(1, (0, common_1.Headers)('authorization')),
172
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
173
+ __param(3, (0, common_1.Headers)('x-api-key')),
174
+ __metadata("design:type", Function),
175
+ __metadata("design:paramtypes", [Object, String, String, String]),
176
+ __metadata("design:returntype", Promise)
177
+ ], CanvasFlowController.prototype, "createAgent", null);
178
+ __decorate([
179
+ (0, common_1.Patch)('agents/reorder'),
180
+ __param(0, (0, common_1.Body)()),
181
+ __param(1, (0, common_1.Headers)('authorization')),
182
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
183
+ __param(3, (0, common_1.Headers)('x-api-key')),
184
+ __metadata("design:type", Function),
185
+ __metadata("design:paramtypes", [Object, String, String, String]),
186
+ __metadata("design:returntype", Promise)
187
+ ], CanvasFlowController.prototype, "reorderAgents", null);
188
+ __decorate([
189
+ (0, common_1.Patch)('agents/:name/config'),
190
+ __param(0, (0, common_1.Param)('name')),
191
+ __param(1, (0, common_1.Body)()),
192
+ __param(2, (0, common_1.Headers)('authorization')),
193
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
194
+ __param(4, (0, common_1.Headers)('x-api-key')),
195
+ __metadata("design:type", Function),
196
+ __metadata("design:paramtypes", [String, Object, String, String, String]),
197
+ __metadata("design:returntype", Promise)
198
+ ], CanvasFlowController.prototype, "updateAgentConfig", null);
199
+ __decorate([
200
+ (0, common_1.Get)('agents/:name/workspace'),
201
+ __param(0, (0, common_1.Param)('name')),
202
+ __param(1, (0, common_1.Headers)('authorization')),
203
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
204
+ __param(3, (0, common_1.Headers)('x-api-key')),
205
+ __metadata("design:type", Function),
206
+ __metadata("design:paramtypes", [String, String, String, String]),
207
+ __metadata("design:returntype", Promise)
208
+ ], CanvasFlowController.prototype, "exportAgentWorkspace", null);
209
+ __decorate([
210
+ (0, common_1.Put)('agents/:name/workspace'),
211
+ __param(0, (0, common_1.Param)('name')),
212
+ __param(1, (0, common_1.Body)()),
213
+ __param(2, (0, common_1.Headers)('authorization')),
214
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
215
+ __param(4, (0, common_1.Headers)('x-api-key')),
216
+ __metadata("design:type", Function),
217
+ __metadata("design:paramtypes", [String, Object, String, String, String]),
218
+ __metadata("design:returntype", Promise)
219
+ ], CanvasFlowController.prototype, "importAgentWorkspace", null);
220
+ __decorate([
221
+ (0, common_1.Patch)('agents/:name'),
222
+ __param(0, (0, common_1.Param)('name')),
223
+ __param(1, (0, common_1.Body)()),
224
+ __param(2, (0, common_1.Headers)('authorization')),
225
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
226
+ __param(4, (0, common_1.Headers)('x-api-key')),
227
+ __metadata("design:type", Function),
228
+ __metadata("design:paramtypes", [String, Object, String, String, String]),
229
+ __metadata("design:returntype", Promise)
230
+ ], CanvasFlowController.prototype, "renameAgent", null);
231
+ __decorate([
232
+ (0, common_1.Delete)('agents/:name'),
233
+ __param(0, (0, common_1.Param)('name')),
234
+ __param(1, (0, common_1.Body)()),
235
+ __param(2, (0, common_1.Headers)('authorization')),
236
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
237
+ __param(4, (0, common_1.Headers)('x-api-key')),
238
+ __metadata("design:type", Function),
239
+ __metadata("design:paramtypes", [String, Object, String, String, String]),
240
+ __metadata("design:returntype", Promise)
241
+ ], CanvasFlowController.prototype, "removeAgent", null);
242
+ __decorate([
243
+ (0, common_1.Get)('agents/:name/releases'),
244
+ __param(0, (0, common_1.Param)('name')),
245
+ __param(1, (0, common_1.Headers)('authorization')),
246
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
247
+ __param(3, (0, common_1.Headers)('x-api-key')),
248
+ __metadata("design:type", Function),
249
+ __metadata("design:paramtypes", [String, String, String, String]),
250
+ __metadata("design:returntype", Promise)
251
+ ], CanvasFlowController.prototype, "getAgentReleases", null);
252
+ __decorate([
253
+ (0, common_1.Post)('agents/:name/releases/deploy'),
254
+ __param(0, (0, common_1.Param)('name')),
255
+ __param(1, (0, common_1.Body)()),
256
+ __param(2, (0, common_1.Headers)('authorization')),
257
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
258
+ __param(4, (0, common_1.Headers)('x-api-key')),
259
+ __metadata("design:type", Function),
260
+ __metadata("design:paramtypes", [String, Object, String, String, String]),
261
+ __metadata("design:returntype", Promise)
262
+ ], CanvasFlowController.prototype, "deployAgentRelease", null);
263
+ __decorate([
264
+ (0, common_1.Patch)('agents/:name/releases/:release/activate'),
265
+ __param(0, (0, common_1.Param)('name')),
266
+ __param(1, (0, common_1.Param)('release')),
267
+ __param(2, (0, common_1.Headers)('authorization')),
268
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
269
+ __param(4, (0, common_1.Headers)('x-api-key')),
270
+ __metadata("design:type", Function),
271
+ __metadata("design:paramtypes", [String, String, String, String, String]),
272
+ __metadata("design:returntype", Promise)
273
+ ], CanvasFlowController.prototype, "activateAgentRelease", null);
274
+ __decorate([
275
+ (0, common_1.Patch)('agents/:name/releases/:release'),
276
+ __param(0, (0, common_1.Param)('name')),
277
+ __param(1, (0, common_1.Param)('release')),
278
+ __param(2, (0, common_1.Body)()),
279
+ __param(3, (0, common_1.Headers)('authorization')),
280
+ __param(4, (0, common_1.Headers)('x-canvas-flow-token')),
281
+ __param(5, (0, common_1.Headers)('x-api-key')),
282
+ __metadata("design:type", Function),
283
+ __metadata("design:paramtypes", [String, String, Object, String, String, String]),
284
+ __metadata("design:returntype", Promise)
285
+ ], CanvasFlowController.prototype, "renameAgentRelease", null);
286
+ __decorate([
287
+ (0, common_1.Patch)('agents/:name/releases/:release/overwrite'),
288
+ __param(0, (0, common_1.Param)('name')),
289
+ __param(1, (0, common_1.Param)('release')),
290
+ __param(2, (0, common_1.Body)()),
291
+ __param(3, (0, common_1.Headers)('authorization')),
292
+ __param(4, (0, common_1.Headers)('x-canvas-flow-token')),
293
+ __param(5, (0, common_1.Headers)('x-api-key')),
294
+ __metadata("design:type", Function),
295
+ __metadata("design:paramtypes", [String, String, Object, String, String, String]),
296
+ __metadata("design:returntype", Promise)
297
+ ], CanvasFlowController.prototype, "overwriteAgentRelease", null);
298
+ __decorate([
299
+ (0, common_1.Delete)('agents/:name/releases/:release'),
300
+ __param(0, (0, common_1.Param)('name')),
301
+ __param(1, (0, common_1.Param)('release')),
302
+ __param(2, (0, common_1.Headers)('authorization')),
303
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
304
+ __param(4, (0, common_1.Headers)('x-api-key')),
305
+ __metadata("design:type", Function),
306
+ __metadata("design:paramtypes", [String, String, String, String, String]),
307
+ __metadata("design:returntype", Promise)
308
+ ], CanvasFlowController.prototype, "deleteAgentRelease", null);
309
+ __decorate([
310
+ (0, common_1.Get)(':id/versions'),
311
+ __param(0, (0, common_1.Param)('id')),
312
+ __param(1, (0, common_1.Headers)('authorization')),
313
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
314
+ __param(3, (0, common_1.Headers)('x-api-key')),
315
+ __metadata("design:type", Function),
316
+ __metadata("design:paramtypes", [String, String, String, String]),
317
+ __metadata("design:returntype", Promise)
318
+ ], CanvasFlowController.prototype, "getVersions", null);
319
+ __decorate([
320
+ (0, common_1.Get)(':id'),
321
+ __param(0, (0, common_1.Param)('id')),
322
+ __param(1, (0, common_1.Headers)('authorization')),
323
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
324
+ __param(3, (0, common_1.Headers)('x-api-key')),
325
+ __metadata("design:type", Function),
326
+ __metadata("design:paramtypes", [String, String, String, String]),
327
+ __metadata("design:returntype", Promise)
328
+ ], CanvasFlowController.prototype, "findOne", null);
329
+ __decorate([
330
+ (0, common_1.Post)(':id/versions/deploy'),
331
+ __param(0, (0, common_1.Param)('id')),
332
+ __param(1, (0, common_1.Body)()),
333
+ __param(2, (0, common_1.Headers)('authorization')),
334
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
335
+ __param(4, (0, common_1.Headers)('x-api-key')),
336
+ __metadata("design:type", Function),
337
+ __metadata("design:paramtypes", [String, Object, String, String, String]),
338
+ __metadata("design:returntype", Promise)
339
+ ], CanvasFlowController.prototype, "deployVersion", null);
340
+ __decorate([
341
+ (0, common_1.Patch)(':id/versions/:version/activate'),
342
+ __param(0, (0, common_1.Param)('id')),
343
+ __param(1, (0, common_1.Param)('version')),
344
+ __param(2, (0, common_1.Headers)('authorization')),
345
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
346
+ __param(4, (0, common_1.Headers)('x-api-key')),
347
+ __metadata("design:type", Function),
348
+ __metadata("design:paramtypes", [String, String, String, String, String]),
349
+ __metadata("design:returntype", Promise)
350
+ ], CanvasFlowController.prototype, "activateVersion", null);
351
+ __decorate([
352
+ (0, common_1.Patch)(':id/versions/:version'),
353
+ __param(0, (0, common_1.Param)('id')),
354
+ __param(1, (0, common_1.Param)('version')),
355
+ __param(2, (0, common_1.Body)()),
356
+ __param(3, (0, common_1.Headers)('authorization')),
357
+ __param(4, (0, common_1.Headers)('x-canvas-flow-token')),
358
+ __param(5, (0, common_1.Headers)('x-api-key')),
359
+ __metadata("design:type", Function),
360
+ __metadata("design:paramtypes", [String, String, Object, String, String, String]),
361
+ __metadata("design:returntype", Promise)
362
+ ], CanvasFlowController.prototype, "renameVersion", null);
363
+ __decorate([
364
+ (0, common_1.Patch)(':id/versions/:version/overwrite'),
365
+ __param(0, (0, common_1.Param)('id')),
366
+ __param(1, (0, common_1.Param)('version')),
367
+ __param(2, (0, common_1.Body)()),
368
+ __param(3, (0, common_1.Headers)('authorization')),
369
+ __param(4, (0, common_1.Headers)('x-canvas-flow-token')),
370
+ __param(5, (0, common_1.Headers)('x-api-key')),
371
+ __metadata("design:type", Function),
372
+ __metadata("design:paramtypes", [String, String, Object, String, String, String]),
373
+ __metadata("design:returntype", Promise)
374
+ ], CanvasFlowController.prototype, "overwriteVersion", null);
375
+ __decorate([
376
+ (0, common_1.Delete)(':id/versions/:version'),
377
+ __param(0, (0, common_1.Param)('id')),
378
+ __param(1, (0, common_1.Param)('version')),
379
+ __param(2, (0, common_1.Headers)('authorization')),
380
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
381
+ __param(4, (0, common_1.Headers)('x-api-key')),
382
+ __metadata("design:type", Function),
383
+ __metadata("design:paramtypes", [String, String, String, String, String]),
384
+ __metadata("design:returntype", Promise)
385
+ ], CanvasFlowController.prototype, "deleteVersion", null);
386
+ __decorate([
387
+ (0, common_1.Patch)('reorder'),
388
+ __param(0, (0, common_1.Body)()),
389
+ __param(1, (0, common_1.Headers)('authorization')),
390
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
391
+ __param(3, (0, common_1.Headers)('x-api-key')),
392
+ __metadata("design:type", Function),
393
+ __metadata("design:paramtypes", [Object, String, String, String]),
394
+ __metadata("design:returntype", Promise)
395
+ ], CanvasFlowController.prototype, "reorder", null);
396
+ __decorate([
397
+ (0, common_1.Patch)(':id'),
398
+ __param(0, (0, common_1.Param)('id')),
399
+ __param(1, (0, common_1.Body)()),
400
+ __param(2, (0, common_1.Headers)('authorization')),
401
+ __param(3, (0, common_1.Headers)('x-canvas-flow-token')),
402
+ __param(4, (0, common_1.Headers)('x-api-key')),
403
+ __metadata("design:type", Function),
404
+ __metadata("design:paramtypes", [String, update_canvas_flow_dto_1.UpdateCanvasFlowDto, String, String, String]),
405
+ __metadata("design:returntype", Promise)
406
+ ], CanvasFlowController.prototype, "update", null);
407
+ __decorate([
408
+ (0, common_1.Delete)(':id'),
409
+ __param(0, (0, common_1.Param)('id')),
410
+ __param(1, (0, common_1.Headers)('authorization')),
411
+ __param(2, (0, common_1.Headers)('x-canvas-flow-token')),
412
+ __param(3, (0, common_1.Headers)('x-api-key')),
413
+ __metadata("design:type", Function),
414
+ __metadata("design:paramtypes", [String, String, String, String]),
415
+ __metadata("design:returntype", Promise)
416
+ ], CanvasFlowController.prototype, "remove", null);
417
+ exports.CanvasFlowController = CanvasFlowController = __decorate([
418
+ (0, swagger_1.ApiTags)('canvas-flow'),
419
+ (0, common_1.Controller)('api/canvas-flows'),
420
+ __metadata("design:paramtypes", [canvas_flow_service_1.CanvasFlowService,
421
+ auth_service_1.AuthService])
422
+ ], CanvasFlowController);
423
+ //# sourceMappingURL=canvas-flow-controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canvas-flow-controller.js","sourceRoot":"","sources":["../../src/canvas-flow/canvas-flow-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwG;AACxG,6CAA0C;AAC1C,uDAAmD;AACnD,+DAA0D;AAC1D,yEAAmE;AACnE,yEAAmE;AAI5D,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YACmB,OAA0B,EAC1B,WAAwB;QADxB,YAAO,GAAP,OAAO,CAAmB;QAC1B,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAGE,AAAN,KAAK,CAAC,MAAM,CACF,SAA8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FlowModule {
2
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.CanvasFlowModule = void 0;
10
+ const common_1 = require("@nestjs/common");
11
+ const database_module_1 = require("../database/database.module");
12
+ const auth_module_1 = require("../auth/auth-module");
13
+ const canvas_flow_controller_1 = require("./canvas-flow-controller");
14
+ const canvas_flow_service_1 = require("./canvas-flow-service");
15
+ const canvas_flow_connect_provider_1 = require("./canvas-flow-connect-provider");
16
+ let CanvasFlowModule = class CanvasFlowModule {
17
+ };
18
+ exports.CanvasFlowModule = CanvasFlowModule;
19
+ exports.CanvasFlowModule = CanvasFlowModule = __decorate([
20
+ (0, common_1.Module)({
21
+ imports: [database_module_1.DatabaseModule, auth_module_1.AuthModule],
22
+ controllers: [canvas_flow_controller_1.CanvasFlowController],
23
+ providers: [canvas_flow_service_1.CanvasFlowService, ...canvas_flow_connect_provider_1.connectProviders],
24
+ exports: [canvas_flow_service_1.CanvasFlowService],
25
+ })
26
+ ], CanvasFlowModule);
27
+ //# sourceMappingURL=canvas-flow-module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canvas-flow-module.js","sourceRoot":"","sources":["../../src/canvas-flow/canvas-flow-module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,iEAA6D;AAC7D,qDAAiD;AACjD,qEAAgE;AAChE,+DAA0D;AAC1D,iFAAkE;AAQ3D,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAN5B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,gCAAc,EAAE,wBAAU,CAAC;QACrC,WAAW,EAAE,CAAC,6CAAoB,CAAC;QACnC,SAAS,EAAE,CAAC,uCAAiB,EAAE,GAAG,+CAAgB,CAAC;QACnD,OAAO,EAAE,CAAC,uCAAiB,CAAC;KAC7B,CAAC;GACW,gBAAgB,CAAG"}