@xpert-ai/plugin-lucidchart 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.
- package/.xpertai-plugin/plugin.json +118 -0
- package/README.md +5 -0
- package/assets/composerIcon.svg +5 -0
- package/assets/logo.svg +10 -0
- package/dist/docs/lucidchart-agent-skill.md +46 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +153 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/constants.d.ts +25 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +44 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/entities/index.d.ts +4 -0
- package/dist/lib/entities/index.d.ts.map +1 -0
- package/dist/lib/entities/index.js +4 -0
- package/dist/lib/entities/index.js.map +1 -0
- package/dist/lib/entities/lucidchart-action-log.entity.d.ts +18 -0
- package/dist/lib/entities/lucidchart-action-log.entity.d.ts.map +1 -0
- package/dist/lib/entities/lucidchart-action-log.entity.js +69 -0
- package/dist/lib/entities/lucidchart-action-log.entity.js.map +1 -0
- package/dist/lib/entities/lucidchart-document-version.entity.d.ts +26 -0
- package/dist/lib/entities/lucidchart-document-version.entity.d.ts.map +1 -0
- package/dist/lib/entities/lucidchart-document-version.entity.js +102 -0
- package/dist/lib/entities/lucidchart-document-version.entity.js.map +1 -0
- package/dist/lib/entities/lucidchart-document.entity.d.ts +30 -0
- package/dist/lib/entities/lucidchart-document.entity.d.ts.map +1 -0
- package/dist/lib/entities/lucidchart-document.entity.js +118 -0
- package/dist/lib/entities/lucidchart-document.entity.js.map +1 -0
- package/dist/lib/lucidchart-view.provider.d.ts +14 -0
- package/dist/lib/lucidchart-view.provider.d.ts.map +1 -0
- package/dist/lib/lucidchart-view.provider.js +460 -0
- package/dist/lib/lucidchart-view.provider.js.map +1 -0
- package/dist/lib/lucidchart.middleware.d.ts +10 -0
- package/dist/lib/lucidchart.middleware.d.ts.map +1 -0
- package/dist/lib/lucidchart.middleware.js +193 -0
- package/dist/lib/lucidchart.middleware.js.map +1 -0
- package/dist/lib/lucidchart.plugin.d.ts +8 -0
- package/dist/lib/lucidchart.plugin.d.ts.map +1 -0
- package/dist/lib/lucidchart.plugin.js +27 -0
- package/dist/lib/lucidchart.plugin.js.map +1 -0
- package/dist/lib/lucidchart.service.d.ts +208 -0
- package/dist/lib/lucidchart.service.d.ts.map +1 -0
- package/dist/lib/lucidchart.service.js +548 -0
- package/dist/lib/lucidchart.service.js.map +1 -0
- package/dist/lib/lucidchart.templates.d.ts +3 -0
- package/dist/lib/lucidchart.templates.d.ts.map +1 -0
- package/dist/lib/lucidchart.templates.js +78 -0
- package/dist/lib/lucidchart.templates.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/app.css +0 -0
- package/dist/lib/remote-components/lucidchart-workbench/app.js +1245 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/i18n.d.ts +3 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/i18n.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/i18n.js +115 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/i18n.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/i18n.ts +169 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/main.tsx +1514 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.d.ts +3 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.js +4 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-client-shim.ts +4 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.d.ts +11 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.js +11 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-dom-shim.ts +11 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.d.ts +5 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.js +8 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-jsx-runtime-shim.ts +8 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.d.ts +36 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.js +36 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/react-shim.ts +36 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/runtime.d.ts +21 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/runtime.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/runtime.js +198 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/runtime.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/runtime.ts +228 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/styles.d.ts +2 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/styles.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/styles.js +383 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/styles.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/styles.ts +382 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/vendor.d.ts +4 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/vendor.d.ts.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/vendor.js +4 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/vendor.js.map +1 -0
- package/dist/lib/remote-components/lucidchart-workbench/src/vendor.ts +3 -0
- package/dist/lib/types.d.ts +87 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/types.js +2 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/xpert-lucidchart-assistant.yaml +137 -0
- package/package.json +85 -0
- package/skills/index/SKILL.md +46 -0
- package/skills/index/agents/xpertai.yaml +6 -0
|
@@ -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,EAAE,CAAC;;gEACF;AAGtB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;;6DACd;AAGpC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACK;AAG/C;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACZ;AAG7B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EA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W,CAAC,CAAC;GACnD,yBAAyB,CAqErC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { LucidchartDocumentKind, LucidchartDocumentStatus, LucidchartProduct } from '../types.js';
|
|
2
|
+
export declare class LucidchartDocument {
|
|
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?: LucidchartDocumentKind;
|
|
14
|
+
status?: LucidchartDocumentStatus;
|
|
15
|
+
tags?: string[];
|
|
16
|
+
source?: string;
|
|
17
|
+
product?: LucidchartProduct;
|
|
18
|
+
lucidDocumentId?: string;
|
|
19
|
+
lucidDocumentUrl?: string;
|
|
20
|
+
embedUrl?: string;
|
|
21
|
+
embedId?: string;
|
|
22
|
+
previewUrl?: string;
|
|
23
|
+
currentVersionId?: string;
|
|
24
|
+
currentVersionNumber?: number;
|
|
25
|
+
lastEditedById?: string;
|
|
26
|
+
lastEditedAt?: Date;
|
|
27
|
+
createdAt?: Date;
|
|
28
|
+
updatedAt?: Date;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=lucidchart-document.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucidchart-document.entity.d.ts","sourceRoot":"","sources":["../../../src/lib/entities/lucidchart-document.entity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAEtG,qBAIa,kBAAkB;IAE7B,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,sBAAsB,CAAA;IAG7B,MAAM,CAAC,EAAE,wBAAwB,CAAA;IAGjC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAGf,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAG3B,eAAe,CAAC,EAAE,MAAM,CAAA;IAGxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAGzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAGhB,UAAU,CAAC,EAAE,MAAM,CAAA;IAGnB,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,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,MAA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Aa,EAAE,QAAQ,CAAC,CAAC;IAC9D,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC5D,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;GAC9C,kBAAkB,CAgF9B"}
|
|
@@ -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 { LucidchartService } from './lucidchart.service.js';
|
|
4
|
+
export declare class LucidchartViewProvider implements IXpertViewExtensionProvider {
|
|
5
|
+
private readonly service;
|
|
6
|
+
constructor(service: LucidchartService);
|
|
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=lucidchart-view.provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucidchart-view.provider.d.ts","sourceRoot":"","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