@xpert-ai/plugin-lucidchart 0.1.1 → 0.2.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 (42) hide show
  1. package/.xpertai-plugin/plugin.json +1 -1
  2. package/dist/index.js +153 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/lib/constants.js +44 -0
  5. package/dist/lib/constants.js.map +1 -0
  6. package/dist/lib/entities/index.js +4 -0
  7. package/dist/lib/entities/index.js.map +1 -0
  8. package/dist/lib/entities/lucidchart-action-log.entity.js +69 -0
  9. package/dist/lib/entities/lucidchart-action-log.entity.js.map +1 -0
  10. package/dist/lib/entities/lucidchart-document-version.entity.js +102 -0
  11. package/dist/lib/entities/lucidchart-document-version.entity.js.map +1 -0
  12. package/dist/lib/entities/lucidchart-document.entity.js +118 -0
  13. package/dist/lib/entities/lucidchart-document.entity.js.map +1 -0
  14. package/dist/lib/lucidchart-view.provider.js +460 -0
  15. package/dist/lib/lucidchart-view.provider.js.map +1 -0
  16. package/dist/lib/lucidchart.middleware.js +193 -0
  17. package/dist/lib/lucidchart.middleware.js.map +1 -0
  18. package/dist/lib/lucidchart.plugin.js +27 -0
  19. package/dist/lib/lucidchart.plugin.js.map +1 -0
  20. package/dist/lib/lucidchart.service.js +548 -0
  21. package/dist/lib/lucidchart.service.js.map +1 -0
  22. package/dist/lib/lucidchart.templates.js +78 -0
  23. package/dist/lib/lucidchart.templates.js.map +1 -0
  24. package/dist/lib/remote-components/lucidchart-workbench/src/i18n.js +115 -0
  25. package/dist/lib/remote-components/lucidchart-workbench/src/i18n.js.map +1 -0
  26. package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.js +4 -0
  27. package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.js.map +1 -0
  28. package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.js +11 -0
  29. package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.js.map +1 -0
  30. package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.js +8 -0
  31. package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.js.map +1 -0
  32. package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.js +36 -0
  33. package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.js.map +1 -0
  34. package/dist/lib/remote-components/lucidchart-workbench/src/runtime.js +198 -0
  35. package/dist/lib/remote-components/lucidchart-workbench/src/runtime.js.map +1 -0
  36. package/dist/lib/remote-components/lucidchart-workbench/src/styles.js +383 -0
  37. package/dist/lib/remote-components/lucidchart-workbench/src/styles.js.map +1 -0
  38. package/dist/lib/remote-components/lucidchart-workbench/src/vendor.js +4 -0
  39. package/dist/lib/remote-components/lucidchart-workbench/src/vendor.js.map +1 -0
  40. package/dist/lib/types.js +2 -0
  41. package/dist/lib/types.js.map +1 -0
  42. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/plugin-lucidchart",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Lucidchart app plugin for agent-created Standard Import drafts, Lucid document references, reviewable versions, and a workbench.",
5
5
  "author": "XpertAI",
6
6
  "homepage": "https://github.com/xpert-ai/xpert-plugins/tree/main/community/apps/lucidchart",
package/dist/index.js ADDED
@@ -0,0 +1,153 @@
1
+ import { readFileSync } from 'node:fs';
2
+ import { dirname, join } from 'node:path';
3
+ import { fileURLToPath } from 'node:url';
4
+ import { z } from 'zod';
5
+ import { LUCIDCHART_AGENT_DRAWING_CAPABILITY, LUCIDCHART_FEATURE, LUCIDCHART_ICON, LUCIDCHART_MIDDLEWARE_NAME, LUCIDCHART_PROVIDER_KEY, LUCIDCHART_TEMPLATE_CAPABILITY, LUCIDCHART_TEMPLATE_PROVIDER_KEY, LUCIDCHART_WORKBENCH_CAPABILITY, LUCIDCHART_WORKBENCH_VIEW_KEY } from './lib/constants.js';
6
+ import { LucidchartPlugin } from './lib/lucidchart.plugin.js';
7
+ import { lucidchartTemplates } from './lib/lucidchart.templates.js';
8
+ const moduleDir = dirname(fileURLToPath(import.meta.url));
9
+ const packageJson = JSON.parse(readFileSync(join(moduleDir, '../package.json'), 'utf8'));
10
+ const ConfigSchema = z.object({});
11
+ const plugin = {
12
+ meta: {
13
+ name: packageJson.name,
14
+ version: packageJson.version,
15
+ level: 'system',
16
+ targetApps: ['data-xpert', 'xpert'],
17
+ targetAppMeta: {
18
+ 'data-xpert': {
19
+ types: ['workbench-view', 'assistant-tool', 'business-app'],
20
+ capabilities: [
21
+ LUCIDCHART_FEATURE,
22
+ LUCIDCHART_WORKBENCH_CAPABILITY,
23
+ LUCIDCHART_AGENT_DRAWING_CAPABILITY,
24
+ LUCIDCHART_TEMPLATE_CAPABILITY
25
+ ],
26
+ marketplace: {
27
+ contents: [
28
+ {
29
+ type: 'app',
30
+ name: 'lucidchart',
31
+ displayName: 'Lucidchart',
32
+ description: 'Create, version, review, import, export, and register Agent-generated Lucidchart Standard Import drafts.',
33
+ icon: {
34
+ type: 'svg',
35
+ value: LUCIDCHART_ICON,
36
+ color: '#2563eb'
37
+ },
38
+ operations: [
39
+ {
40
+ name: 'create-lucidchart-drawings',
41
+ displayName: 'Create Lucidchart documents',
42
+ description: 'Create reviewable documents from Agent-generated Lucid Standard Import JSON, Mermaid drafts, or external Lucid links.',
43
+ access: 'write'
44
+ },
45
+ {
46
+ name: 'save-lucidchart-versions',
47
+ displayName: 'Save document versions',
48
+ description: 'Persist Standard Import drafts, Mermaid sources, and Lucid document references as versioned records.',
49
+ access: 'write'
50
+ },
51
+ {
52
+ name: 'review-lucidchart-workbench',
53
+ displayName: 'Review Lucidchart workbench',
54
+ description: 'Open the Workbench to inspect, restore, import, export, and register Lucidchart documents.',
55
+ access: 'read'
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ type: 'view',
61
+ name: LUCIDCHART_WORKBENCH_VIEW_KEY,
62
+ displayName: 'Lucidchart Workbench',
63
+ description: 'Workbench view for Standard Import drafts, Mermaid sources, Lucid embeds, and version history.'
64
+ },
65
+ {
66
+ type: 'tool',
67
+ name: LUCIDCHART_MIDDLEWARE_NAME,
68
+ displayName: 'Lucidchart Agent Tools',
69
+ description: 'Assistant middleware tools for creating documents, saving Standard Import versions, saving Mermaid drafts, registering Lucid links, searching documents, and reporting failures.'
70
+ },
71
+ {
72
+ type: 'assistant-template',
73
+ name: 'lucidchart-assistant',
74
+ displayName: 'Lucidchart Drawing Assistant Template',
75
+ description: 'Prebuilt assistant template for Agent-managed Lucidchart draft creation and review workflows.'
76
+ }
77
+ ]
78
+ },
79
+ runtime: {
80
+ middlewareProviders: [LUCIDCHART_MIDDLEWARE_NAME],
81
+ viewProviders: [LUCIDCHART_PROVIDER_KEY],
82
+ templateProviders: [LUCIDCHART_TEMPLATE_PROVIDER_KEY]
83
+ }
84
+ },
85
+ xpert: {
86
+ types: ['assistant-template', 'skill', 'app', 'xpertai-bundle'],
87
+ capabilities: [
88
+ LUCIDCHART_FEATURE,
89
+ LUCIDCHART_WORKBENCH_CAPABILITY,
90
+ LUCIDCHART_AGENT_DRAWING_CAPABILITY,
91
+ LUCIDCHART_TEMPLATE_CAPABILITY
92
+ ],
93
+ marketplace: {
94
+ contents: [
95
+ {
96
+ type: 'skill',
97
+ name: 'index',
98
+ displayName: 'Lucidchart Agent Drawing',
99
+ description: 'Workflow skill for Agent-managed Lucidchart Standard Import drafts, Mermaid drafts, Lucid links, and Workbench review.',
100
+ tags: ['skill', 'lucidchart', 'agent-drawing']
101
+ },
102
+ {
103
+ type: 'assistant-template',
104
+ name: 'lucidchart-assistant',
105
+ displayName: 'Lucidchart Drawing Assistant',
106
+ description: 'Assistant template for Lucidchart draft workflows.'
107
+ },
108
+ {
109
+ type: 'app',
110
+ name: 'lucidchart',
111
+ displayName: 'Lucidchart',
112
+ description: 'Workbench and Agent middleware tools for Lucidchart drafts.'
113
+ }
114
+ ]
115
+ }
116
+ }
117
+ },
118
+ category: 'middleware',
119
+ icon: {
120
+ type: 'svg',
121
+ value: LUCIDCHART_ICON,
122
+ color: '#2563eb'
123
+ },
124
+ displayName: 'Lucidchart',
125
+ description: 'Agentic Lucidchart plugin for Standard Import draft generation, versioning, review, and Lucid document registration.',
126
+ keywords: ['lucidchart', 'diagram', 'whiteboard', 'mermaid', 'middleware', 'view-extension', 'assistant-template'],
127
+ author: 'XpertAI Team'
128
+ },
129
+ config: {
130
+ schema: ConfigSchema
131
+ },
132
+ templates: lucidchartTemplates,
133
+ register(ctx) {
134
+ ctx.logger.log('register lucidchart plugin');
135
+ return { module: LucidchartPlugin, global: true };
136
+ },
137
+ async onStart(ctx) {
138
+ ctx.logger.log('lucidchart plugin started');
139
+ },
140
+ async onStop(ctx) {
141
+ ctx.logger.log('lucidchart plugin stopped');
142
+ }
143
+ };
144
+ export default plugin;
145
+ export * from './lib/constants.js';
146
+ export * from './lib/types.js';
147
+ export * from './lib/entities/index.js';
148
+ export * from './lib/lucidchart.plugin.js';
149
+ export * from './lib/lucidchart.service.js';
150
+ export * from './lib/lucidchart.middleware.js';
151
+ export * from './lib/lucidchart-view.provider.js';
152
+ export * from './lib/lucidchart.templates.js';
153
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,mCAAmC,EACnC,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAE1B,uBAAuB,EACvB,8BAA8B,EAC9B,gCAAgC,EAChC,+BAA+B,EAC/B,6BAA6B,EAC9B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BA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CHART_PROVIDER_KEY = 'lucidchart';
3
+ export const LUCIDCHART_MIDDLEWARE_NAME = 'LucidchartMiddleware';
4
+ export const LUCIDCHART_TEMPLATE_PROVIDER_KEY = 'lucidchartTemplates';
5
+ export const LUCIDCHART_FEATURE = 'lucidchart';
6
+ export const LUCIDCHART_AGENT_DRAWING_CAPABILITY = 'lucidchart-agent-drawing';
7
+ export const LUCIDCHART_WORKBENCH_CAPABILITY = 'lucidchart-workbench';
8
+ export const LUCIDCHART_TEMPLATE_CAPABILITY = 'lucidchart-assistant-template';
9
+ export const LUCIDCHART_WORKBENCH_VIEW_KEY = 'lucidchart_workbench';
10
+ export const LUCIDCHART_REMOTE_ENTRY_KEY = 'lucidchart-workbench';
11
+ export const AGENT_WORKBENCH_MAIN_SLOT = 'agent.workbench.main';
12
+ export const AGENT_WORKBENCH_FIXED_SLOT = 'agent.workbench.fixed';
13
+ export const ASSISTANT_CHAT_SEND_MESSAGE_COMMAND = 'assistant.chat.send_message';
14
+ export const LUCIDCHART_CREATE_DOCUMENT_TOOL_NAME = 'lucidchart_create_document';
15
+ export const LUCIDCHART_SAVE_STANDARD_IMPORT_VERSION_TOOL_NAME = 'lucidchart_save_standard_import_version';
16
+ export const LUCIDCHART_PATCH_STANDARD_IMPORT_TOOL_NAME = 'lucidchart_patch_standard_import';
17
+ export const LUCIDCHART_SAVE_MERMAID_DRAFT_TOOL_NAME = 'lucidchart_save_mermaid_draft';
18
+ export const LUCIDCHART_REGISTER_EXTERNAL_DOCUMENT_TOOL_NAME = 'lucidchart_register_external_document';
19
+ export const LUCIDCHART_SEARCH_DOCUMENTS_TOOL_NAME = 'lucidchart_search_documents';
20
+ export const LUCIDCHART_GET_DOCUMENT_TOOL_NAME = 'lucidchart_get_document';
21
+ export const LUCIDCHART_UPDATE_DOCUMENT_STATUS_TOOL_NAME = 'lucidchart_update_document_status';
22
+ export const LUCIDCHART_REPORT_FAILURE_TOOL_NAME = 'lucidchart_report_failure';
23
+ export const LUCIDCHART_MIDDLEWARE_TOOL_NAMES = [
24
+ LUCIDCHART_CREATE_DOCUMENT_TOOL_NAME,
25
+ LUCIDCHART_SAVE_STANDARD_IMPORT_VERSION_TOOL_NAME,
26
+ LUCIDCHART_PATCH_STANDARD_IMPORT_TOOL_NAME,
27
+ LUCIDCHART_SAVE_MERMAID_DRAFT_TOOL_NAME,
28
+ LUCIDCHART_REGISTER_EXTERNAL_DOCUMENT_TOOL_NAME,
29
+ LUCIDCHART_SEARCH_DOCUMENTS_TOOL_NAME,
30
+ LUCIDCHART_GET_DOCUMENT_TOOL_NAME,
31
+ LUCIDCHART_UPDATE_DOCUMENT_STATUS_TOOL_NAME,
32
+ LUCIDCHART_REPORT_FAILURE_TOOL_NAME
33
+ ];
34
+ export const LUCIDCHART_ICON = `<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256" fill="none">
35
+ <rect width="256" height="256" rx="40" fill="#F8FAFC"/>
36
+ <rect x="44" y="52" width="168" height="124" rx="18" fill="#FFFFFF" stroke="#2563EB" stroke-width="9"/>
37
+ <path d="M76 92H132" stroke="#0F172A" stroke-width="10" stroke-linecap="round"/>
38
+ <path d="M76 124H112" stroke="#64748B" stroke-width="8" stroke-linecap="round"/>
39
+ <path d="M154 86L184 116L154 146" stroke="#14B8A6" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
40
+ <path d="M74 202C96 178 124 172 158 185C170 190 184 190 196 180" stroke="#2563EB" stroke-width="10" stroke-linecap="round"/>
41
+ <circle cx="68" cy="202" r="10" fill="#14B8A6"/>
42
+ <circle cx="202" cy="178" r="10" fill="#14B8A6"/>
43
+ </svg>`;
44
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/lib/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,6BAA6B,CAAA;AACnE,MAAM,CAAC,MAAM,uBAAuB,GAAG,YAAY,CAA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3C,mCAAmC;CAC3B,CAAA;AAEV,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;OASxB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './lucidchart-action-log.entity.js';
2
+ export * from './lucidchart-document.entity.js';
3
+ export * from './lucidchart-document-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,iCAAiC,CAAA;AAC/C,cAAc,yCAAyC,CAAA"}
@@ -0,0 +1,69 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
3
+ let LucidchartActionLog = class LucidchartActionLog {
4
+ };
5
+ __decorate([
6
+ PrimaryGeneratedColumn('uuid'),
7
+ __metadata("design:type", String)
8
+ ], LucidchartActionLog.prototype, "id", void 0);
9
+ __decorate([
10
+ Index(),
11
+ Column({ type: 'varchar', nullable: true }),
12
+ __metadata("design:type", String)
13
+ ], LucidchartActionLog.prototype, "tenantId", void 0);
14
+ __decorate([
15
+ Index(),
16
+ Column({ type: 'varchar', nullable: true }),
17
+ __metadata("design:type", String)
18
+ ], LucidchartActionLog.prototype, "organizationId", void 0);
19
+ __decorate([
20
+ Column({ type: 'varchar', nullable: true }),
21
+ __metadata("design:type", String)
22
+ ], LucidchartActionLog.prototype, "workspaceId", void 0);
23
+ __decorate([
24
+ Column({ type: 'varchar', nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], LucidchartActionLog.prototype, "projectId", void 0);
27
+ __decorate([
28
+ Column({ type: 'varchar', nullable: true }),
29
+ __metadata("design:type", String)
30
+ ], LucidchartActionLog.prototype, "documentId", void 0);
31
+ __decorate([
32
+ Column({ type: 'varchar', nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], LucidchartActionLog.prototype, "versionId", void 0);
35
+ __decorate([
36
+ Column({ type: 'varchar' }),
37
+ __metadata("design:type", String)
38
+ ], LucidchartActionLog.prototype, "action", void 0);
39
+ __decorate([
40
+ Column({ type: 'varchar', default: 'system' }),
41
+ __metadata("design:type", String)
42
+ ], LucidchartActionLog.prototype, "actorType", void 0);
43
+ __decorate([
44
+ Column({ type: 'varchar', nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], LucidchartActionLog.prototype, "actorId", void 0);
47
+ __decorate([
48
+ Column({ type: 'text', nullable: true }),
49
+ __metadata("design:type", String)
50
+ ], LucidchartActionLog.prototype, "message", void 0);
51
+ __decorate([
52
+ Column({ type: 'text', nullable: true }),
53
+ __metadata("design:type", String)
54
+ ], LucidchartActionLog.prototype, "errorMessage", void 0);
55
+ __decorate([
56
+ Column({ type: 'jsonb', nullable: true }),
57
+ __metadata("design:type", Object)
58
+ ], LucidchartActionLog.prototype, "snapshot", void 0);
59
+ __decorate([
60
+ CreateDateColumn({ type: 'timestamptz' }),
61
+ __metadata("design:type", Date)
62
+ ], LucidchartActionLog.prototype, "createdAt", void 0);
63
+ LucidchartActionLog = __decorate([
64
+ Entity('plugin_lucidchart_action_log'),
65
+ Index(['tenantId', 'organizationId', 'documentId', 'createdAt']),
66
+ Index(['tenantId', 'organizationId', 'projectId', 'createdAt'])
67
+ ], LucidchartActionLog);
68
+ export { LucidchartActionLog };
69
+ //# sourceMappingURL=lucidchart-action-log.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lucidchart-action-log.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/lucidchart-action-log.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAMlF,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CA4C/B,CAAA;AA1CC;IADC,sBAAsB,CAAC,MAAM,CAAC;;+CACpB;AAIX;IAFC,KAAK,EAAE;IACP,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AA8B,CAAC;IACtC,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;IAChE,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;GACnD,mBAAmB,CA4C/B"}
@@ -0,0 +1,102 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
3
+ let LucidchartDocumentVersion = class LucidchartDocumentVersion {
4
+ };
5
+ __decorate([
6
+ PrimaryGeneratedColumn('uuid'),
7
+ __metadata("design:type", String)
8
+ ], LucidchartDocumentVersion.prototype, "id", void 0);
9
+ __decorate([
10
+ Index(),
11
+ Column({ type: 'varchar', nullable: true }),
12
+ __metadata("design:type", String)
13
+ ], LucidchartDocumentVersion.prototype, "tenantId", void 0);
14
+ __decorate([
15
+ Index(),
16
+ Column({ type: 'varchar', nullable: true }),
17
+ __metadata("design:type", String)
18
+ ], LucidchartDocumentVersion.prototype, "organizationId", void 0);
19
+ __decorate([
20
+ Column({ type: 'varchar', nullable: true }),
21
+ __metadata("design:type", String)
22
+ ], LucidchartDocumentVersion.prototype, "workspaceId", void 0);
23
+ __decorate([
24
+ Column({ type: 'varchar', nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], LucidchartDocumentVersion.prototype, "projectId", void 0);
27
+ __decorate([
28
+ Index(),
29
+ Column({ type: 'varchar' }),
30
+ __metadata("design:type", String)
31
+ ], LucidchartDocumentVersion.prototype, "documentId", void 0);
32
+ __decorate([
33
+ Column({ type: 'int' }),
34
+ __metadata("design:type", Number)
35
+ ], LucidchartDocumentVersion.prototype, "versionNumber", void 0);
36
+ __decorate([
37
+ Column({ type: 'varchar', default: 'workbench' }),
38
+ __metadata("design:type", String)
39
+ ], LucidchartDocumentVersion.prototype, "sourceType", void 0);
40
+ __decorate([
41
+ Column({ type: 'jsonb', nullable: true }),
42
+ __metadata("design:type", Object)
43
+ ], LucidchartDocumentVersion.prototype, "standardImport", void 0);
44
+ __decorate([
45
+ Column({ type: 'text', nullable: true }),
46
+ __metadata("design:type", String)
47
+ ], LucidchartDocumentVersion.prototype, "mermaidSource", void 0);
48
+ __decorate([
49
+ Column({ type: 'varchar', nullable: true }),
50
+ __metadata("design:type", String)
51
+ ], LucidchartDocumentVersion.prototype, "product", void 0);
52
+ __decorate([
53
+ Column({ type: 'varchar', nullable: true }),
54
+ __metadata("design:type", String)
55
+ ], LucidchartDocumentVersion.prototype, "lucidDocumentId", void 0);
56
+ __decorate([
57
+ Column({ type: 'text', nullable: true }),
58
+ __metadata("design:type", String)
59
+ ], LucidchartDocumentVersion.prototype, "lucidDocumentUrl", void 0);
60
+ __decorate([
61
+ Column({ type: 'text', nullable: true }),
62
+ __metadata("design:type", String)
63
+ ], LucidchartDocumentVersion.prototype, "embedUrl", void 0);
64
+ __decorate([
65
+ Column({ type: 'varchar', nullable: true }),
66
+ __metadata("design:type", String)
67
+ ], LucidchartDocumentVersion.prototype, "embedId", void 0);
68
+ __decorate([
69
+ Column({ type: 'text', nullable: true }),
70
+ __metadata("design:type", String)
71
+ ], LucidchartDocumentVersion.prototype, "previewUrl", void 0);
72
+ __decorate([
73
+ Column({ type: 'varchar', nullable: true }),
74
+ __metadata("design:type", String)
75
+ ], LucidchartDocumentVersion.prototype, "importFileName", void 0);
76
+ __decorate([
77
+ Column({ type: 'text', nullable: true }),
78
+ __metadata("design:type", String)
79
+ ], LucidchartDocumentVersion.prototype, "changeSummary", void 0);
80
+ __decorate([
81
+ Column({ type: 'varchar', nullable: true }),
82
+ __metadata("design:type", String)
83
+ ], LucidchartDocumentVersion.prototype, "createdById", void 0);
84
+ __decorate([
85
+ Column({ type: 'varchar', nullable: true }),
86
+ __metadata("design:type", String)
87
+ ], LucidchartDocumentVersion.prototype, "assistantId", void 0);
88
+ __decorate([
89
+ Column({ type: 'varchar', nullable: true }),
90
+ __metadata("design:type", String)
91
+ ], LucidchartDocumentVersion.prototype, "conversationId", void 0);
92
+ __decorate([
93
+ CreateDateColumn({ type: 'timestamptz' }),
94
+ __metadata("design:type", Date)
95
+ ], LucidchartDocumentVersion.prototype, "createdAt", void 0);
96
+ LucidchartDocumentVersion = __decorate([
97
+ Entity('plugin_lucidchart_document_version'),
98
+ Index(['tenantId', 'organizationId', 'documentId', 'versionNumber']),
99
+ Index(['tenantId', 'organizationId', 'projectId', 'createdAt'])
100
+ ], LucidchartDocumentVersion);
101
+ export { LucidchartDocumentVersion };
102
+ //# sourceMappingURL=lucidchart-document-version.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lucidchart-document-version.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/lucidchart-document-version.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAMlF,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAqErC,CAAA;AAnEC;IADC,sBAAsB,CAAC,MAAM,CAAC;;qDACpB;AAIX;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAC3B;AAIjB;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACrB;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACxB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DAC1B;AAIlB;IAFC,KAAK,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;6DACT;AAGnB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EA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pB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACrB;AAGvB;IADC,gBAAgB,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC9B,IAAI;4DAAA;AApEL,yBAAyB;IAHrC,MAAM,CAAC,oCAAoC,CAAC;IAC5C,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,CAAC,CAAC;IACpE,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;GACnD,yBAAyB,CAqErC"}
@@ -0,0 +1,118 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm';
3
+ let LucidchartDocument = class LucidchartDocument {
4
+ };
5
+ __decorate([
6
+ PrimaryGeneratedColumn('uuid'),
7
+ __metadata("design:type", String)
8
+ ], LucidchartDocument.prototype, "id", void 0);
9
+ __decorate([
10
+ Index(),
11
+ Column({ type: 'varchar', nullable: true }),
12
+ __metadata("design:type", String)
13
+ ], LucidchartDocument.prototype, "tenantId", void 0);
14
+ __decorate([
15
+ Index(),
16
+ Column({ type: 'varchar', nullable: true }),
17
+ __metadata("design:type", String)
18
+ ], LucidchartDocument.prototype, "organizationId", void 0);
19
+ __decorate([
20
+ Column({ type: 'varchar', nullable: true }),
21
+ __metadata("design:type", String)
22
+ ], LucidchartDocument.prototype, "workspaceId", void 0);
23
+ __decorate([
24
+ Column({ type: 'varchar', nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], LucidchartDocument.prototype, "projectId", void 0);
27
+ __decorate([
28
+ Column({ type: 'varchar', nullable: true }),
29
+ __metadata("design:type", String)
30
+ ], LucidchartDocument.prototype, "createdById", void 0);
31
+ __decorate([
32
+ Column({ type: 'varchar', nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], LucidchartDocument.prototype, "assistantId", void 0);
35
+ __decorate([
36
+ Column({ type: 'varchar', nullable: true }),
37
+ __metadata("design:type", String)
38
+ ], LucidchartDocument.prototype, "conversationId", void 0);
39
+ __decorate([
40
+ Column({ type: 'varchar' }),
41
+ __metadata("design:type", String)
42
+ ], LucidchartDocument.prototype, "title", void 0);
43
+ __decorate([
44
+ Column({ type: 'text', nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], LucidchartDocument.prototype, "description", void 0);
47
+ __decorate([
48
+ Column({ type: 'varchar', default: 'diagram' }),
49
+ __metadata("design:type", String)
50
+ ], LucidchartDocument.prototype, "kind", void 0);
51
+ __decorate([
52
+ Column({ type: 'varchar', default: 'draft' }),
53
+ __metadata("design:type", String)
54
+ ], LucidchartDocument.prototype, "status", void 0);
55
+ __decorate([
56
+ Column({ type: 'jsonb', nullable: true }),
57
+ __metadata("design:type", Array)
58
+ ], LucidchartDocument.prototype, "tags", void 0);
59
+ __decorate([
60
+ Column({ type: 'varchar', nullable: true }),
61
+ __metadata("design:type", String)
62
+ ], LucidchartDocument.prototype, "source", void 0);
63
+ __decorate([
64
+ Column({ type: 'varchar', nullable: true }),
65
+ __metadata("design:type", String)
66
+ ], LucidchartDocument.prototype, "product", void 0);
67
+ __decorate([
68
+ Column({ type: 'varchar', nullable: true }),
69
+ __metadata("design:type", String)
70
+ ], LucidchartDocument.prototype, "lucidDocumentId", void 0);
71
+ __decorate([
72
+ Column({ type: 'text', nullable: true }),
73
+ __metadata("design:type", String)
74
+ ], LucidchartDocument.prototype, "lucidDocumentUrl", void 0);
75
+ __decorate([
76
+ Column({ type: 'text', nullable: true }),
77
+ __metadata("design:type", String)
78
+ ], LucidchartDocument.prototype, "embedUrl", void 0);
79
+ __decorate([
80
+ Column({ type: 'varchar', nullable: true }),
81
+ __metadata("design:type", String)
82
+ ], LucidchartDocument.prototype, "embedId", void 0);
83
+ __decorate([
84
+ Column({ type: 'text', nullable: true }),
85
+ __metadata("design:type", String)
86
+ ], LucidchartDocument.prototype, "previewUrl", void 0);
87
+ __decorate([
88
+ Column({ type: 'varchar', nullable: true }),
89
+ __metadata("design:type", String)
90
+ ], LucidchartDocument.prototype, "currentVersionId", void 0);
91
+ __decorate([
92
+ Column({ type: 'int', default: 0 }),
93
+ __metadata("design:type", Number)
94
+ ], LucidchartDocument.prototype, "currentVersionNumber", void 0);
95
+ __decorate([
96
+ Column({ type: 'varchar', nullable: true }),
97
+ __metadata("design:type", String)
98
+ ], LucidchartDocument.prototype, "lastEditedById", void 0);
99
+ __decorate([
100
+ Column({ type: 'timestamptz', nullable: true }),
101
+ __metadata("design:type", Date)
102
+ ], LucidchartDocument.prototype, "lastEditedAt", void 0);
103
+ __decorate([
104
+ CreateDateColumn({ type: 'timestamptz' }),
105
+ __metadata("design:type", Date)
106
+ ], LucidchartDocument.prototype, "createdAt", void 0);
107
+ __decorate([
108
+ UpdateDateColumn({ type: 'timestamptz' }),
109
+ __metadata("design:type", Date)
110
+ ], LucidchartDocument.prototype, "updatedAt", void 0);
111
+ LucidchartDocument = __decorate([
112
+ Entity('plugin_lucidchart_document'),
113
+ Index(['tenantId', 'organizationId', 'assistantId', 'status']),
114
+ Index(['tenantId', 'organizationId', 'projectId', 'status']),
115
+ Index(['tenantId', 'organizationId', 'kind', 'updatedAt'])
116
+ ], LucidchartDocument);
117
+ export { LucidchartDocument };
118
+ //# sourceMappingURL=lucidchart-document.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lucidchart-document.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/lucidchart-document.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAOpG,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAgF9B,CAAA;AA9EC;IADC,sBAAsB,CAAC,MAAM,CAAC;;8CACpB;AAIX;IAFC,KAAK,EAAE;IACP,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