@contractspec/example.integration-hub 1.56.0 → 1.57.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/README.md +9 -19
- package/dist/connection/connection.enum.d.ts +2 -2
- package/dist/connection/connection.enum.d.ts.map +1 -1
- package/dist/connection/connection.operation.d.ts +27 -27
- package/dist/connection/connection.operation.d.ts.map +1 -1
- package/dist/connection/connection.presentation.d.ts +3 -3
- package/dist/connection/connection.presentation.d.ts.map +1 -1
- package/dist/connection/connection.schema.d.ts +16 -16
- package/dist/connection/connection.schema.d.ts.map +1 -1
- package/dist/docs/integration-hub.docblock.js +1 -0
- package/dist/docs/integration-hub.docblock.js.map +1 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +1 -2
- package/dist/example.js.map +1 -1
- package/dist/handlers/integration.handlers.d.ts +1 -2
- package/dist/handlers/integration.handlers.d.ts.map +1 -1
- package/dist/handlers/integration.handlers.js.map +1 -1
- package/dist/integration/integration.enum.d.ts +2 -2
- package/dist/integration/integration.enum.d.ts.map +1 -1
- package/dist/integration/integration.operations.d.ts +25 -25
- package/dist/integration/integration.operations.d.ts.map +1 -1
- package/dist/integration/integration.presentation.d.ts +4 -4
- package/dist/integration/integration.presentation.d.ts.map +1 -1
- package/dist/integration/integration.schema.d.ts +16 -16
- package/dist/integration/integration.schema.d.ts.map +1 -1
- package/dist/integration-hub.capability.d.ts +4 -4
- package/dist/integration-hub.capability.d.ts.map +1 -1
- package/dist/integration-hub.feature.d.ts +2 -2
- package/dist/integration-hub.feature.d.ts.map +1 -1
- package/dist/seeders/index.d.ts.map +1 -1
- package/dist/seeders/index.js +40 -0
- package/dist/seeders/index.js.map +1 -1
- package/dist/sync/sync.enum.d.ts +4 -4
- package/dist/sync/sync.enum.d.ts.map +1 -1
- package/dist/sync/sync.operations.d.ts +126 -126
- package/dist/sync/sync.operations.d.ts.map +1 -1
- package/dist/sync/sync.presentation.d.ts +7 -7
- package/dist/sync/sync.presentation.d.ts.map +1 -1
- package/dist/sync/sync.schema.d.ts +85 -85
- package/dist/sync/sync.schema.d.ts.map +1 -1
- package/dist/sync-engine/index.d.ts.map +1 -1
- package/dist/tests/operations.test-spec.d.ts +4 -4
- package/dist/tests/operations.test-spec.d.ts.map +1 -1
- package/dist/ui/IntegrationDashboard.d.ts.map +1 -1
- package/dist/ui/hooks/useIntegrationData.d.ts.map +1 -1
- package/dist/ui/renderers/integration.markdown.d.ts +0 -1
- package/dist/ui/renderers/integration.markdown.d.ts.map +1 -1
- package/dist/ui/renderers/integration.markdown.js +14 -0
- package/dist/ui/renderers/integration.markdown.js.map +1 -1
- package/package.json +9 -9
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/integration/integration.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new integration.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateIntegrationContract:
|
|
8
|
+
declare const CreateIntegrationContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
provider: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
config: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
featureFlagKey: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
name: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
slug: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
description: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
provider: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
status: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
createdAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
}>, {
|
|
63
63
|
key: string;
|
|
64
64
|
version: string;
|
|
65
65
|
when: string;
|
|
66
|
-
payload:
|
|
66
|
+
payload: _contractspec_lib_schema0.SchemaModel<{
|
|
67
67
|
id: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
name: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
slug: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
description: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
provider: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
status: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
createdAt: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.operations.d.ts","names":[],"sources":["../../src/integration/integration.operations.ts"],"
|
|
1
|
+
{"version":3,"file":"integration.operations.d.ts","names":[],"sources":["../../src/integration/integration.operations.ts"],"mappings":";;;;;;;cASa,yBAAA,+BAAyB,aAAA,2BAAA,WAAA;;UA4CpC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;UA5CoC,yBAAA,CAAA,SAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/integration/integration.presentation.d.ts
|
|
4
|
-
declare const IntegrationListPresentation:
|
|
5
|
-
declare const IntegrationDetailPresentation:
|
|
6
|
-
declare const IntegrationHealthPresentation:
|
|
4
|
+
declare const IntegrationListPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
5
|
+
declare const IntegrationDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
6
|
+
declare const IntegrationHealthPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { IntegrationDetailPresentation, IntegrationHealthPresentation, IntegrationListPresentation };
|
|
9
9
|
//# sourceMappingURL=integration.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.presentation.d.ts","names":[],"sources":["../../src/integration/integration.presentation.ts"],"
|
|
1
|
+
{"version":3,"file":"integration.presentation.d.ts","names":[],"sources":["../../src/integration/integration.presentation.ts"],"mappings":";;;cAGa,2BAAA,EAuBX,4BAAA,CAvBsC,gBAAA;AAAA,cAyB3B,6BAAA,EAuBX,4BAAA,CAvBwC,gBAAA;AAAA,cAyB7B,6BAAA,EAsBX,4BAAA,CAtBwC,gBAAA"}
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/integration/integration.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An integration with an external system.
|
|
6
6
|
*/
|
|
7
|
-
declare const IntegrationModel:
|
|
7
|
+
declare const IntegrationModel: _contractspec_lib_schema0.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
slug: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
description: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
provider: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
createdAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
/**
|
|
38
38
|
* Input for creating an integration.
|
|
39
39
|
*/
|
|
40
|
-
declare const CreateIntegrationInputModel:
|
|
40
|
+
declare const CreateIntegrationInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
41
41
|
name: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
slug: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
description: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
provider: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
config: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
featureFlagKey: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.schema.d.ts","names":[],"sources":["../../src/integration/integration.schema.ts"],"
|
|
1
|
+
{"version":3,"file":"integration.schema.d.ts","names":[],"sources":["../../src/integration/integration.schema.ts"],"mappings":";;;;;;cAMa,gBAAA,4BAAgB,WAAA;;UAW3B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,2BAAA,4BAA2B,WAAA;;UAatC,yBAAA,CAAA,SAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/integration-hub.capability.d.ts
|
|
4
|
-
declare const IntegrationCapability:
|
|
5
|
-
declare const SyncCapability:
|
|
6
|
-
declare const EtlCapability:
|
|
4
|
+
declare const IntegrationCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
5
|
+
declare const SyncCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
6
|
+
declare const EtlCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { EtlCapability, IntegrationCapability, SyncCapability };
|
|
9
9
|
//# sourceMappingURL=integration-hub.capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-hub.capability.d.ts","names":[],"sources":["../src/integration-hub.capability.ts"],"
|
|
1
|
+
{"version":3,"file":"integration-hub.capability.d.ts","names":[],"sources":["../src/integration-hub.capability.ts"],"mappings":";;;cAEa,qBAAA,EAUX,4BAAA,CAVgC,cAAA;AAAA,cAYrB,cAAA,EAUX,4BAAA,CAVyB,cAAA;AAAA,cAYd,aAAA,EAUX,4BAAA,CAVwB,cAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/integration-hub.feature.d.ts
|
|
4
|
-
declare const IntegrationHubFeature:
|
|
4
|
+
declare const IntegrationHubFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { IntegrationHubFeature };
|
|
7
7
|
//# sourceMappingURL=integration-hub.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-hub.feature.d.ts","names":[],"sources":["../src/integration-hub.feature.ts"],"
|
|
1
|
+
{"version":3,"file":"integration-hub.feature.d.ts","names":[],"sources":["../src/integration-hub.feature.ts"],"mappings":";;;cAKa,qBAAA,EAmHX,4BAAA,CAnHgC,iBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/seeders/index.ts"],"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/seeders/index.ts"],"mappings":";;;iBAEsB,kBAAA,CAAmB,MAAA;EACvC,SAAA;EACA,EAAA,EAAI,YAAA;AAAA,IACL,OAAA"}
|
package/dist/seeders/index.js
CHANGED
|
@@ -12,6 +12,46 @@ async function seedIntegrationHub(params) {
|
|
|
12
12
|
"CRM",
|
|
13
13
|
"ACTIVE"
|
|
14
14
|
]);
|
|
15
|
+
await db.execute(`INSERT INTO integration (id, "projectId", "organizationId", name, description, type, status)
|
|
16
|
+
VALUES ($1, $2, $3, $4, $5, $6, $7)`, [
|
|
17
|
+
"int_2",
|
|
18
|
+
projectId,
|
|
19
|
+
"org_demo",
|
|
20
|
+
"Meeting Recorder",
|
|
21
|
+
"Meeting recorder transcripts and metadata",
|
|
22
|
+
"DATA",
|
|
23
|
+
"ACTIVE"
|
|
24
|
+
]);
|
|
25
|
+
await db.execute(`INSERT INTO integration (id, "projectId", "organizationId", name, description, type, status)
|
|
26
|
+
VALUES ($1, $2, $3, $4, $5, $6, $7)`, [
|
|
27
|
+
"int_3",
|
|
28
|
+
projectId,
|
|
29
|
+
"org_demo",
|
|
30
|
+
"Gradium Voice",
|
|
31
|
+
"Gradium low-latency text-to-speech integration",
|
|
32
|
+
"COMMUNICATION",
|
|
33
|
+
"ACTIVE"
|
|
34
|
+
]);
|
|
35
|
+
await db.execute(`INSERT INTO integration (id, "projectId", "organizationId", name, description, type, status)
|
|
36
|
+
VALUES ($1, $2, $3, $4, $5, $6, $7)`, [
|
|
37
|
+
"int_4",
|
|
38
|
+
projectId,
|
|
39
|
+
"org_demo",
|
|
40
|
+
"Fal Chatterbox Voice",
|
|
41
|
+
"Fal Chatterbox text-to-speech integration",
|
|
42
|
+
"COMMUNICATION",
|
|
43
|
+
"ACTIVE"
|
|
44
|
+
]);
|
|
45
|
+
await db.execute(`INSERT INTO integration (id, "projectId", "organizationId", name, description, type, status)
|
|
46
|
+
VALUES ($1, $2, $3, $4, $5, $6, $7)`, [
|
|
47
|
+
"int_5",
|
|
48
|
+
projectId,
|
|
49
|
+
"org_demo",
|
|
50
|
+
"PostHog Analytics",
|
|
51
|
+
"Product analytics and event capture",
|
|
52
|
+
"ANALYTICS",
|
|
53
|
+
"ACTIVE"
|
|
54
|
+
]);
|
|
15
55
|
}
|
|
16
56
|
|
|
17
57
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/seeders/index.ts"],"sourcesContent":["import type { DatabasePort } from '@contractspec/lib.runtime-sandbox';\n\nexport async function seedIntegrationHub(params: {\n projectId: string;\n db: DatabasePort;\n}) {\n const { projectId, db } = params;\n\n const existing = await db.query(\n `SELECT COUNT(*) as count FROM integration WHERE \"projectId\" = $1`,\n [projectId]\n );\n if ((existing.rows[0]?.count as number) > 0) return;\n\n await db.execute(\n `INSERT INTO integration (id, \"projectId\", \"organizationId\", name, description, type, status)\n VALUES ($1, $2, $3, $4, $5, $6, $7)`,\n [\n 'int_1',\n projectId,\n 'org_demo',\n 'Salesforce',\n 'Salesforce CRM integration',\n 'CRM',\n 'ACTIVE',\n ]\n );\n}\n"],"mappings":";AAEA,eAAsB,mBAAmB,QAGtC;CACD,MAAM,EAAE,WAAW,OAAO;AAM1B,MAJiB,MAAM,GAAG,MACxB,oEACA,CAAC,UAAU,CACZ,EACa,KAAK,IAAI,QAAmB,EAAG;AAE7C,OAAM,GAAG,QACP;2CAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/seeders/index.ts"],"sourcesContent":["import type { DatabasePort } from '@contractspec/lib.runtime-sandbox';\n\nexport async function seedIntegrationHub(params: {\n projectId: string;\n db: DatabasePort;\n}) {\n const { projectId, db } = params;\n\n const existing = await db.query(\n `SELECT COUNT(*) as count FROM integration WHERE \"projectId\" = $1`,\n [projectId]\n );\n if ((existing.rows[0]?.count as number) > 0) return;\n\n await db.execute(\n `INSERT INTO integration (id, \"projectId\", \"organizationId\", name, description, type, status)\n VALUES ($1, $2, $3, $4, $5, $6, $7)`,\n [\n 'int_1',\n projectId,\n 'org_demo',\n 'Salesforce',\n 'Salesforce CRM integration',\n 'CRM',\n 'ACTIVE',\n ]\n );\n\n await db.execute(\n `INSERT INTO integration (id, \"projectId\", \"organizationId\", name, description, type, status)\n VALUES ($1, $2, $3, $4, $5, $6, $7)`,\n [\n 'int_2',\n projectId,\n 'org_demo',\n 'Meeting Recorder',\n 'Meeting recorder transcripts and metadata',\n 'DATA',\n 'ACTIVE',\n ]\n );\n\n await db.execute(\n `INSERT INTO integration (id, \"projectId\", \"organizationId\", name, description, type, status)\n VALUES ($1, $2, $3, $4, $5, $6, $7)`,\n [\n 'int_3',\n projectId,\n 'org_demo',\n 'Gradium Voice',\n 'Gradium low-latency text-to-speech integration',\n 'COMMUNICATION',\n 'ACTIVE',\n ]\n );\n\n await db.execute(\n `INSERT INTO integration (id, \"projectId\", \"organizationId\", name, description, type, status)\n VALUES ($1, $2, $3, $4, $5, $6, $7)`,\n [\n 'int_4',\n projectId,\n 'org_demo',\n 'Fal Chatterbox Voice',\n 'Fal Chatterbox text-to-speech integration',\n 'COMMUNICATION',\n 'ACTIVE',\n ]\n );\n\n await db.execute(\n `INSERT INTO integration (id, \"projectId\", \"organizationId\", name, description, type, status)\n VALUES ($1, $2, $3, $4, $5, $6, $7)`,\n [\n 'int_5',\n projectId,\n 'org_demo',\n 'PostHog Analytics',\n 'Product analytics and event capture',\n 'ANALYTICS',\n 'ACTIVE',\n ]\n );\n}\n"],"mappings":";AAEA,eAAsB,mBAAmB,QAGtC;CACD,MAAM,EAAE,WAAW,OAAO;AAM1B,MAJiB,MAAM,GAAG,MACxB,oEACA,CAAC,UAAU,CACZ,EACa,KAAK,IAAI,QAAmB,EAAG;AAE7C,OAAM,GAAG,QACP;2CAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF;AAED,OAAM,GAAG,QACP;2CAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF;AAED,OAAM,GAAG,QACP;2CAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF;AAED,OAAM,GAAG,QACP;2CAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF;AAED,OAAM,GAAG,QACP;2CAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF"}
|
package/dist/sync/sync.enum.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/sync/sync.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Sync direction enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const SyncDirectionEnum:
|
|
7
|
+
declare const SyncDirectionEnum: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Sync status enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const SyncStatusEnum:
|
|
11
|
+
declare const SyncStatusEnum: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Mapping type enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const MappingTypeEnum:
|
|
15
|
+
declare const MappingTypeEnum: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { MappingTypeEnum, SyncDirectionEnum, SyncStatusEnum };
|
|
18
18
|
//# sourceMappingURL=sync.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.enum.d.ts","names":[],"sources":["../../src/sync/sync.enum.ts"],"
|
|
1
|
+
{"version":3,"file":"sync.enum.d.ts","names":[],"sources":["../../src/sync/sync.enum.ts"],"mappings":";;;;;;cAKa,iBAAA,EAIX,yBAAA,CAJ4B,QAAA;;;;cASjB,cAAA,EAMX,yBAAA,CANyB,QAAA;AAA3B;;;AAAA,cAWa,eAAA,EAMX,yBAAA,CAN0B,QAAA"}
|