@xpert-ai/plugin-excalidraw 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 (100) hide show
  1. package/.xpertai-plugin/plugin.json +118 -0
  2. package/README.md +5 -0
  3. package/assets/composerIcon.svg +5 -0
  4. package/assets/logo.svg +8 -0
  5. package/dist/docs/excalidraw-agent-skill.md +32 -0
  6. package/dist/index.d.ts +14 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +153 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/lib/constants.d.ts +24 -0
  11. package/dist/lib/constants.d.ts.map +1 -0
  12. package/dist/lib/constants.js +42 -0
  13. package/dist/lib/constants.js.map +1 -0
  14. package/dist/lib/entities/excalidraw-action-log.entity.d.ts +18 -0
  15. package/dist/lib/entities/excalidraw-action-log.entity.d.ts.map +1 -0
  16. package/dist/lib/entities/excalidraw-action-log.entity.js +69 -0
  17. package/dist/lib/entities/excalidraw-action-log.entity.js.map +1 -0
  18. package/dist/lib/entities/excalidraw-drawing-version.entity.d.ts +21 -0
  19. package/dist/lib/entities/excalidraw-drawing-version.entity.d.ts.map +1 -0
  20. package/dist/lib/entities/excalidraw-drawing-version.entity.js +82 -0
  21. package/dist/lib/entities/excalidraw-drawing-version.entity.js.map +1 -0
  22. package/dist/lib/entities/excalidraw-drawing.entity.d.ts +24 -0
  23. package/dist/lib/entities/excalidraw-drawing.entity.d.ts.map +1 -0
  24. package/dist/lib/entities/excalidraw-drawing.entity.js +94 -0
  25. package/dist/lib/entities/excalidraw-drawing.entity.js.map +1 -0
  26. package/dist/lib/entities/index.d.ts +4 -0
  27. package/dist/lib/entities/index.d.ts.map +1 -0
  28. package/dist/lib/entities/index.js +4 -0
  29. package/dist/lib/entities/index.js.map +1 -0
  30. package/dist/lib/excalidraw-view.provider.d.ts +14 -0
  31. package/dist/lib/excalidraw-view.provider.d.ts.map +1 -0
  32. package/dist/lib/excalidraw-view.provider.js +423 -0
  33. package/dist/lib/excalidraw-view.provider.js.map +1 -0
  34. package/dist/lib/excalidraw.middleware.d.ts +10 -0
  35. package/dist/lib/excalidraw.middleware.d.ts.map +1 -0
  36. package/dist/lib/excalidraw.middleware.js +173 -0
  37. package/dist/lib/excalidraw.middleware.js.map +1 -0
  38. package/dist/lib/excalidraw.plugin.d.ts +8 -0
  39. package/dist/lib/excalidraw.plugin.d.ts.map +1 -0
  40. package/dist/lib/excalidraw.plugin.js +27 -0
  41. package/dist/lib/excalidraw.plugin.js.map +1 -0
  42. package/dist/lib/excalidraw.service.d.ts +169 -0
  43. package/dist/lib/excalidraw.service.d.ts.map +1 -0
  44. package/dist/lib/excalidraw.service.js +441 -0
  45. package/dist/lib/excalidraw.service.js.map +1 -0
  46. package/dist/lib/excalidraw.templates.d.ts +3 -0
  47. package/dist/lib/excalidraw.templates.d.ts.map +1 -0
  48. package/dist/lib/excalidraw.templates.js +78 -0
  49. package/dist/lib/excalidraw.templates.js.map +1 -0
  50. package/dist/lib/remote-components/excalidraw-workbench/app.css +1 -0
  51. package/dist/lib/remote-components/excalidraw-workbench/app.js +5105 -0
  52. package/dist/lib/remote-components/excalidraw-workbench/src/i18n.d.ts +3 -0
  53. package/dist/lib/remote-components/excalidraw-workbench/src/i18n.d.ts.map +1 -0
  54. package/dist/lib/remote-components/excalidraw-workbench/src/i18n.js +103 -0
  55. package/dist/lib/remote-components/excalidraw-workbench/src/i18n.js.map +1 -0
  56. package/dist/lib/remote-components/excalidraw-workbench/src/i18n.ts +151 -0
  57. package/dist/lib/remote-components/excalidraw-workbench/src/main.tsx +1411 -0
  58. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-client-shim.d.ts +3 -0
  59. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-client-shim.d.ts.map +1 -0
  60. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-client-shim.js +4 -0
  61. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-client-shim.js.map +1 -0
  62. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-client-shim.ts +4 -0
  63. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-shim.d.ts +11 -0
  64. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-shim.d.ts.map +1 -0
  65. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-shim.js +11 -0
  66. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-shim.js.map +1 -0
  67. package/dist/lib/remote-components/excalidraw-workbench/src/react-dom-shim.ts +11 -0
  68. package/dist/lib/remote-components/excalidraw-workbench/src/react-jsx-runtime-shim.d.ts +5 -0
  69. package/dist/lib/remote-components/excalidraw-workbench/src/react-jsx-runtime-shim.d.ts.map +1 -0
  70. package/dist/lib/remote-components/excalidraw-workbench/src/react-jsx-runtime-shim.js +8 -0
  71. package/dist/lib/remote-components/excalidraw-workbench/src/react-jsx-runtime-shim.js.map +1 -0
  72. package/dist/lib/remote-components/excalidraw-workbench/src/react-jsx-runtime-shim.ts +8 -0
  73. package/dist/lib/remote-components/excalidraw-workbench/src/react-shim.d.ts +36 -0
  74. package/dist/lib/remote-components/excalidraw-workbench/src/react-shim.d.ts.map +1 -0
  75. package/dist/lib/remote-components/excalidraw-workbench/src/react-shim.js +36 -0
  76. package/dist/lib/remote-components/excalidraw-workbench/src/react-shim.js.map +1 -0
  77. package/dist/lib/remote-components/excalidraw-workbench/src/react-shim.ts +36 -0
  78. package/dist/lib/remote-components/excalidraw-workbench/src/runtime.d.ts +21 -0
  79. package/dist/lib/remote-components/excalidraw-workbench/src/runtime.d.ts.map +1 -0
  80. package/dist/lib/remote-components/excalidraw-workbench/src/runtime.js +198 -0
  81. package/dist/lib/remote-components/excalidraw-workbench/src/runtime.js.map +1 -0
  82. package/dist/lib/remote-components/excalidraw-workbench/src/runtime.ts +228 -0
  83. package/dist/lib/remote-components/excalidraw-workbench/src/styles.d.ts +2 -0
  84. package/dist/lib/remote-components/excalidraw-workbench/src/styles.d.ts.map +1 -0
  85. package/dist/lib/remote-components/excalidraw-workbench/src/styles.js +324 -0
  86. package/dist/lib/remote-components/excalidraw-workbench/src/styles.js.map +1 -0
  87. package/dist/lib/remote-components/excalidraw-workbench/src/styles.ts +323 -0
  88. package/dist/lib/remote-components/excalidraw-workbench/src/vendor.d.ts +4 -0
  89. package/dist/lib/remote-components/excalidraw-workbench/src/vendor.d.ts.map +1 -0
  90. package/dist/lib/remote-components/excalidraw-workbench/src/vendor.js +4 -0
  91. package/dist/lib/remote-components/excalidraw-workbench/src/vendor.js.map +1 -0
  92. package/dist/lib/remote-components/excalidraw-workbench/src/vendor.ts +3 -0
  93. package/dist/lib/types.d.ts +74 -0
  94. package/dist/lib/types.d.ts.map +1 -0
  95. package/dist/lib/types.js +2 -0
  96. package/dist/lib/types.js.map +1 -0
  97. package/dist/xpert-excalidraw-assistant.yaml +129 -0
  98. package/package.json +87 -0
  99. package/skills/index/SKILL.md +46 -0
  100. package/skills/index/agents/xpertai.yaml +6 -0
@@ -0,0 +1,82 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
3
+ let ExcalidrawDrawingVersion = class ExcalidrawDrawingVersion {
4
+ };
5
+ __decorate([
6
+ PrimaryGeneratedColumn('uuid'),
7
+ __metadata("design:type", String)
8
+ ], ExcalidrawDrawingVersion.prototype, "id", void 0);
9
+ __decorate([
10
+ Index(),
11
+ Column({ type: 'varchar', nullable: true }),
12
+ __metadata("design:type", String)
13
+ ], ExcalidrawDrawingVersion.prototype, "tenantId", void 0);
14
+ __decorate([
15
+ Index(),
16
+ Column({ type: 'varchar', nullable: true }),
17
+ __metadata("design:type", String)
18
+ ], ExcalidrawDrawingVersion.prototype, "organizationId", void 0);
19
+ __decorate([
20
+ Column({ type: 'varchar', nullable: true }),
21
+ __metadata("design:type", String)
22
+ ], ExcalidrawDrawingVersion.prototype, "workspaceId", void 0);
23
+ __decorate([
24
+ Column({ type: 'varchar', nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], ExcalidrawDrawingVersion.prototype, "projectId", void 0);
27
+ __decorate([
28
+ Index(),
29
+ Column({ type: 'varchar' }),
30
+ __metadata("design:type", String)
31
+ ], ExcalidrawDrawingVersion.prototype, "drawingId", void 0);
32
+ __decorate([
33
+ Column({ type: 'int' }),
34
+ __metadata("design:type", Number)
35
+ ], ExcalidrawDrawingVersion.prototype, "versionNumber", void 0);
36
+ __decorate([
37
+ Column({ type: 'varchar', default: 'workbench' }),
38
+ __metadata("design:type", String)
39
+ ], ExcalidrawDrawingVersion.prototype, "sourceType", void 0);
40
+ __decorate([
41
+ Column({ type: 'jsonb', nullable: true }),
42
+ __metadata("design:type", Array)
43
+ ], ExcalidrawDrawingVersion.prototype, "elements", void 0);
44
+ __decorate([
45
+ Column({ type: 'jsonb', nullable: true }),
46
+ __metadata("design:type", Object)
47
+ ], ExcalidrawDrawingVersion.prototype, "appState", void 0);
48
+ __decorate([
49
+ Column({ type: 'jsonb', nullable: true }),
50
+ __metadata("design:type", Object)
51
+ ], ExcalidrawDrawingVersion.prototype, "files", void 0);
52
+ __decorate([
53
+ Column({ type: 'text', nullable: true }),
54
+ __metadata("design:type", String)
55
+ ], ExcalidrawDrawingVersion.prototype, "mermaidSource", void 0);
56
+ __decorate([
57
+ Column({ type: 'text', nullable: true }),
58
+ __metadata("design:type", String)
59
+ ], ExcalidrawDrawingVersion.prototype, "changeSummary", void 0);
60
+ __decorate([
61
+ Column({ type: 'varchar', nullable: true }),
62
+ __metadata("design:type", String)
63
+ ], ExcalidrawDrawingVersion.prototype, "createdById", void 0);
64
+ __decorate([
65
+ Column({ type: 'varchar', nullable: true }),
66
+ __metadata("design:type", String)
67
+ ], ExcalidrawDrawingVersion.prototype, "assistantId", void 0);
68
+ __decorate([
69
+ Column({ type: 'varchar', nullable: true }),
70
+ __metadata("design:type", String)
71
+ ], ExcalidrawDrawingVersion.prototype, "conversationId", void 0);
72
+ __decorate([
73
+ CreateDateColumn({ type: 'timestamptz' }),
74
+ __metadata("design:type", Date)
75
+ ], ExcalidrawDrawingVersion.prototype, "createdAt", void 0);
76
+ ExcalidrawDrawingVersion = __decorate([
77
+ Entity('plugin_excalidraw_drawing_version'),
78
+ Index(['tenantId', 'organizationId', 'drawingId', 'versionNumber']),
79
+ Index(['tenantId', 'organizationId', 'projectId', 'createdAt'])
80
+ ], ExcalidrawDrawingVersion);
81
+ export { ExcalidrawDrawingVersion };
82
+ //# sourceMappingURL=excalidraw-drawing-version.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"excalidraw-drawing-version.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/excalidraw-drawing-version.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAMlF,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAsDpC,CAAA;AApDC;IADC,sBAAsB,CAAC,MAAM,CAAC;;oDACpB;AAIX;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DAC3B;AAIjB;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACrB;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACxB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAC1B;AAIlB;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;2DACV;AAGlB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;+DACF;AAGtB;IADC,MAAM,CAAC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ing {
3
+ id?: string;
4
+ tenantId?: string;
5
+ organizationId?: string;
6
+ workspaceId?: string;
7
+ projectId?: string;
8
+ createdById?: string;
9
+ assistantId?: string;
10
+ conversationId?: string;
11
+ title: string;
12
+ description?: string;
13
+ kind?: ExcalidrawDrawingKind;
14
+ status?: ExcalidrawDrawingStatus;
15
+ tags?: string[];
16
+ source?: string;
17
+ currentVersionId?: string;
18
+ currentVersionNumber?: number;
19
+ lastEditedById?: string;
20
+ lastEditedAt?: Date;
21
+ createdAt?: Date;
22
+ updatedAt?: Date;
23
+ }
24
+ //# sourceMappingURL=excalidraw-drawing.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"excalidraw-drawing.entity.d.ts","sourceRoot":"","sources":["../../../src/lib/entities/excalidraw-drawing.entity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAEjF,qBAIa,iBAAiB;IAE5B,EAAE,CAAC,EAAE,MAAM,CAAA;IAIX,QAAQ,CAAC,EAAE,MAAM,CAAA;IAIjB,cAAc,CAAC,EAAE,MAAM,CAAA;IAGvB,WAAW,CAAC,EAAE,MAAM,CAAA;IAGpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAGlB,WAAW,CAAC,EAAE,MAAM,CAAA;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAA;IAGpB,cAAc,CAAC,EAAE,MAAM,CAAA;IAGvB,KAAK,EAAG,MAAM,CAAA;IAGd,WAAW,CAAC,EAAE,MAAM,CAAA;IAGpB,IAAI,CAAC,EAAE,qBAAqB,CAAA;IAG5B,MAAM,CAAC,EAAE,uBAAuB,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAGf,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAGzB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,cAAc,CAAC,EAAE,MAAM,CAAA;IAGvB,YAAY,CAAC,EAAE,IAAI,CAAA;IAGnB,SAAS,CAAC,EAAE,IAAI,CAAA;IAGhB,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB"}
@@ -0,0 +1,94 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm';
3
+ let ExcalidrawDrawing = class ExcalidrawDrawing {
4
+ };
5
+ __decorate([
6
+ PrimaryGeneratedColumn('uuid'),
7
+ __metadata("design:type", String)
8
+ ], ExcalidrawDrawing.prototype, "id", void 0);
9
+ __decorate([
10
+ Index(),
11
+ Column({ type: 'varchar', nullable: true }),
12
+ __metadata("design:type", String)
13
+ ], ExcalidrawDrawing.prototype, "tenantId", void 0);
14
+ __decorate([
15
+ Index(),
16
+ Column({ type: 'varchar', nullable: true }),
17
+ __metadata("design:type", String)
18
+ ], ExcalidrawDrawing.prototype, "organizationId", void 0);
19
+ __decorate([
20
+ Column({ type: 'varchar', nullable: true }),
21
+ __metadata("design:type", String)
22
+ ], ExcalidrawDrawing.prototype, "workspaceId", void 0);
23
+ __decorate([
24
+ Column({ type: 'varchar', nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], ExcalidrawDrawing.prototype, "projectId", void 0);
27
+ __decorate([
28
+ Column({ type: 'varchar', nullable: true }),
29
+ __metadata("design:type", String)
30
+ ], ExcalidrawDrawing.prototype, "createdById", void 0);
31
+ __decorate([
32
+ Column({ type: 'varchar', nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], ExcalidrawDrawing.prototype, "assistantId", void 0);
35
+ __decorate([
36
+ Column({ type: 'varchar', nullable: true }),
37
+ __metadata("design:type", String)
38
+ ], ExcalidrawDrawing.prototype, "conversationId", void 0);
39
+ __decorate([
40
+ Column({ type: 'varchar' }),
41
+ __metadata("design:type", String)
42
+ ], ExcalidrawDrawing.prototype, "title", void 0);
43
+ __decorate([
44
+ Column({ type: 'text', nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], ExcalidrawDrawing.prototype, "description", void 0);
47
+ __decorate([
48
+ Column({ type: 'varchar', default: 'diagram' }),
49
+ __metadata("design:type", String)
50
+ ], ExcalidrawDrawing.prototype, "kind", void 0);
51
+ __decorate([
52
+ Column({ type: 'varchar', default: 'draft' }),
53
+ __metadata("design:type", String)
54
+ ], ExcalidrawDrawing.prototype, "status", void 0);
55
+ __decorate([
56
+ Column({ type: 'jsonb', nullable: true }),
57
+ __metadata("design:type", Array)
58
+ ], ExcalidrawDrawing.prototype, "tags", void 0);
59
+ __decorate([
60
+ Column({ type: 'varchar', nullable: true }),
61
+ __metadata("design:type", String)
62
+ ], ExcalidrawDrawing.prototype, "source", void 0);
63
+ __decorate([
64
+ Column({ type: 'varchar', nullable: true }),
65
+ __metadata("design:type", String)
66
+ ], ExcalidrawDrawing.prototype, "currentVersionId", void 0);
67
+ __decorate([
68
+ Column({ type: 'int', default: 0 }),
69
+ __metadata("design:type", Number)
70
+ ], ExcalidrawDrawing.prototype, "currentVersionNumber", void 0);
71
+ __decorate([
72
+ Column({ type: 'varchar', nullable: true }),
73
+ __metadata("design:type", String)
74
+ ], ExcalidrawDrawing.prototype, "lastEditedById", void 0);
75
+ __decorate([
76
+ Column({ type: 'timestamptz', nullable: true }),
77
+ __metadata("design:type", Date)
78
+ ], ExcalidrawDrawing.prototype, "lastEditedAt", void 0);
79
+ __decorate([
80
+ CreateDateColumn({ type: 'timestamptz' }),
81
+ __metadata("design:type", Date)
82
+ ], ExcalidrawDrawing.prototype, "createdAt", void 0);
83
+ __decorate([
84
+ UpdateDateColumn({ type: 'timestamptz' }),
85
+ __metadata("design:type", Date)
86
+ ], ExcalidrawDrawing.prototype, "updatedAt", void 0);
87
+ ExcalidrawDrawing = __decorate([
88
+ Entity('plugin_excalidraw_drawing'),
89
+ Index(['tenantId', 'organizationId', 'assistantId', 'status']),
90
+ Index(['tenantId', 'organizationId', 'projectId', 'status']),
91
+ Index(['tenantId', 'organizationId', 'kind', 'updatedAt'])
92
+ ], ExcalidrawDrawing);
93
+ export { ExcalidrawDrawing };
94
+ //# sourceMappingURL=excalidraw-drawing.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"excalidraw-drawing.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/excalidraw-drawing.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAOpG,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CA8D7B,CAAA;AA5DC;IADC,sBAAsB,CAAC,MAAM,CAAC;;6CACpB;AAIX;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDAC3B;AAIjB;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACrB;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACxB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC1B;AAGlB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACxB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACxB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACrB;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;gDACd;AAGd;IADC,MAAM,CAAC,EAAE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AAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;GAC9C,iBAAiB,CA8D7B"}
@@ -0,0 +1,4 @@
1
+ export * from './excalidraw-action-log.entity.js';
2
+ export * from './excalidraw-drawing.entity.js';
3
+ export * from './excalidraw-drawing-version.entity.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wCAAwC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './excalidraw-action-log.entity.js';
2
+ export * from './excalidraw-drawing.entity.js';
3
+ export * from './excalidraw-drawing-version.entity.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wCAAwC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import type { XpertExtensionViewManifest, XpertRemoteComponentEntry, XpertRemoteComponentViewSchema, XpertResolvedViewHostContext, XpertViewActionRequest, XpertViewActionResult, XpertViewDataResult, XpertViewQuery } from '@xpert-ai/contracts';
2
+ import { IXpertViewExtensionProvider, XpertViewFileActionFile } from '@xpert-ai/plugin-sdk';
3
+ import { ExcalidrawService } from './excalidraw.service.js';
4
+ export declare class ExcalidrawViewProvider implements IXpertViewExtensionProvider {
5
+ private readonly service;
6
+ constructor(service: ExcalidrawService);
7
+ supports(context: XpertResolvedViewHostContext): boolean;
8
+ getViewManifests(context: XpertResolvedViewHostContext, slot: string): XpertExtensionViewManifest[];
9
+ getRemoteComponentEntry(_context: XpertResolvedViewHostContext, viewKey: string, component: XpertRemoteComponentViewSchema['component']): Promise<XpertRemoteComponentEntry>;
10
+ getViewData(context: XpertResolvedViewHostContext, viewKey: string, query: XpertViewQuery): Promise<XpertViewDataResult>;
11
+ executeViewAction(context: XpertResolvedViewHostContext, viewKey: string, actionKey: string, request: XpertViewActionRequest): Promise<XpertViewActionResult>;
12
+ executeViewFileAction(context: XpertResolvedViewHostContext, viewKey: string, actionKey: string, request: XpertViewActionRequest, file: XpertViewFileActionFile): Promise<XpertViewActionResult>;
13
+ }
14
+ //# sourceMappingURL=excalidraw-view.provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"excalidraw-view.provider.d.ts","sourceRoot":"","sources":["../../src/lib/excalidraw-view.provider.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEV,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACf,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,2BAA2B,EAG3B,uBAAuB,EACxB,MAAM,sBAAsB,CAAA;AAa7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAQ3D,qBAEa,sBAAuB,YAAW,2BAA2B;IAC5D,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,iBAAiB;IAEvD,QAAQ,CAAC,OAAO,EAAE,4BAA4B;IAI9C,gBAAgB,CAAC,OAAO,EAAE,4BAA4B,EAAE,IAAI,EAAE,MAAM,GAAG,0BAA0B,EAAE;IAgI7F,uBAAuB,CAC3B,QAAQ,EAAE,4BAA4B,EACtC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,8BAA8B,CAAC,WAAW,CAAC,GACrD,OAAO,CAAC,yBAAyB,CAAC;IA4B/B,WAAW,CACf,OAAO,EAAE,4BAA4B,EACrC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,cAAc,GACpB,OAAO,CAAC,mBAAmB,CAAC;IAczB,iBAAiB,CACrB,OAAO,EAAE,4BAA4B,EACrC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