@contractspec/example.integration-hub 0.0.0-canary-20260113170453

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 (116) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +156 -0
  3. package/dist/connection/connection.enum.d.ts +10 -0
  4. package/dist/connection/connection.enum.d.ts.map +1 -0
  5. package/dist/connection/connection.enum.js +17 -0
  6. package/dist/connection/connection.enum.js.map +1 -0
  7. package/dist/connection/connection.operation.d.ts +107 -0
  8. package/dist/connection/connection.operation.d.ts.map +1 -0
  9. package/dist/connection/connection.operation.js +63 -0
  10. package/dist/connection/connection.operation.js.map +1 -0
  11. package/dist/connection/connection.presentation.d.ts +8 -0
  12. package/dist/connection/connection.presentation.d.ts.map +1 -0
  13. package/dist/connection/connection.presentation.js +60 -0
  14. package/dist/connection/connection.presentation.js.map +1 -0
  15. package/dist/connection/connection.schema.d.ts +68 -0
  16. package/dist/connection/connection.schema.d.ts.map +1 -0
  17. package/dist/connection/connection.schema.js +76 -0
  18. package/dist/connection/connection.schema.js.map +1 -0
  19. package/dist/connection/index.d.ts +4 -0
  20. package/dist/connection/index.js +5 -0
  21. package/dist/docs/index.d.ts +1 -0
  22. package/dist/docs/index.js +1 -0
  23. package/dist/docs/integration-hub.docblock.d.ts +1 -0
  24. package/dist/docs/integration-hub.docblock.js +115 -0
  25. package/dist/docs/integration-hub.docblock.js.map +1 -0
  26. package/dist/events.d.ts +153 -0
  27. package/dist/events.d.ts.map +1 -0
  28. package/dist/events.js +289 -0
  29. package/dist/events.js.map +1 -0
  30. package/dist/example.d.ts +7 -0
  31. package/dist/example.d.ts.map +1 -0
  32. package/dist/example.js +58 -0
  33. package/dist/example.js.map +1 -0
  34. package/dist/handlers/index.d.ts +2 -0
  35. package/dist/handlers/index.js +3 -0
  36. package/dist/handlers/integration.handlers.d.ts +130 -0
  37. package/dist/handlers/integration.handlers.d.ts.map +1 -0
  38. package/dist/handlers/integration.handlers.js +282 -0
  39. package/dist/handlers/integration.handlers.js.map +1 -0
  40. package/dist/index.d.ts +19 -0
  41. package/dist/index.js +20 -0
  42. package/dist/integration/index.d.ts +4 -0
  43. package/dist/integration/index.js +5 -0
  44. package/dist/integration/integration.enum.d.ts +10 -0
  45. package/dist/integration/integration.enum.d.ts.map +1 -0
  46. package/dist/integration/integration.enum.js +17 -0
  47. package/dist/integration/integration.enum.js.map +1 -0
  48. package/dist/integration/integration.operations.d.ts +99 -0
  49. package/dist/integration/integration.operations.d.ts.map +1 -0
  50. package/dist/integration/integration.operations.js +57 -0
  51. package/dist/integration/integration.operations.js.map +1 -0
  52. package/dist/integration/integration.presentation.d.ts +9 -0
  53. package/dist/integration/integration.presentation.d.ts.map +1 -0
  54. package/dist/integration/integration.presentation.js +77 -0
  55. package/dist/integration/integration.presentation.js.map +1 -0
  56. package/dist/integration/integration.schema.d.ts +68 -0
  57. package/dist/integration/integration.schema.d.ts.map +1 -0
  58. package/dist/integration/integration.schema.js +76 -0
  59. package/dist/integration/integration.schema.js.map +1 -0
  60. package/dist/integration-hub.capability.d.ts +9 -0
  61. package/dist/integration-hub.capability.d.ts.map +1 -0
  62. package/dist/integration-hub.capability.js +38 -0
  63. package/dist/integration-hub.capability.js.map +1 -0
  64. package/dist/integration-hub.feature.d.ts +7 -0
  65. package/dist/integration-hub.feature.d.ts.map +1 -0
  66. package/dist/integration-hub.feature.js +244 -0
  67. package/dist/integration-hub.feature.js.map +1 -0
  68. package/dist/seeders/index.d.ts +10 -0
  69. package/dist/seeders/index.d.ts.map +1 -0
  70. package/dist/seeders/index.js +19 -0
  71. package/dist/seeders/index.js.map +1 -0
  72. package/dist/sync/index.d.ts +4 -0
  73. package/dist/sync/index.js +5 -0
  74. package/dist/sync/sync.enum.d.ts +18 -0
  75. package/dist/sync/sync.enum.d.ts.map +1 -0
  76. package/dist/sync/sync.enum.js +35 -0
  77. package/dist/sync/sync.enum.js.map +1 -0
  78. package/dist/sync/sync.operations.d.ts +509 -0
  79. package/dist/sync/sync.operations.d.ts.map +1 -0
  80. package/dist/sync/sync.operations.js +203 -0
  81. package/dist/sync/sync.operations.js.map +1 -0
  82. package/dist/sync/sync.presentation.d.ts +12 -0
  83. package/dist/sync/sync.presentation.d.ts.map +1 -0
  84. package/dist/sync/sync.presentation.js +168 -0
  85. package/dist/sync/sync.presentation.js.map +1 -0
  86. package/dist/sync/sync.schema.d.ts +356 -0
  87. package/dist/sync/sync.schema.d.ts.map +1 -0
  88. package/dist/sync/sync.schema.js +304 -0
  89. package/dist/sync/sync.schema.js.map +1 -0
  90. package/dist/sync-engine/index.d.ts +109 -0
  91. package/dist/sync-engine/index.d.ts.map +1 -0
  92. package/dist/sync-engine/index.js +148 -0
  93. package/dist/sync-engine/index.js.map +1 -0
  94. package/dist/tests/operations.test-spec.d.ts +9 -0
  95. package/dist/tests/operations.test-spec.d.ts.map +1 -0
  96. package/dist/tests/operations.test-spec.js +94 -0
  97. package/dist/tests/operations.test-spec.js.map +1 -0
  98. package/dist/ui/IntegrationDashboard.d.ts +7 -0
  99. package/dist/ui/IntegrationDashboard.d.ts.map +1 -0
  100. package/dist/ui/IntegrationDashboard.js +266 -0
  101. package/dist/ui/IntegrationDashboard.js.map +1 -0
  102. package/dist/ui/hooks/index.d.ts +2 -0
  103. package/dist/ui/hooks/index.js +5 -0
  104. package/dist/ui/hooks/useIntegrationData.d.ts +23 -0
  105. package/dist/ui/hooks/useIntegrationData.d.ts.map +1 -0
  106. package/dist/ui/hooks/useIntegrationData.js +59 -0
  107. package/dist/ui/hooks/useIntegrationData.js.map +1 -0
  108. package/dist/ui/index.d.ts +6 -0
  109. package/dist/ui/index.js +6 -0
  110. package/dist/ui/renderers/index.d.ts +2 -0
  111. package/dist/ui/renderers/index.js +3 -0
  112. package/dist/ui/renderers/integration.markdown.d.ts +28 -0
  113. package/dist/ui/renderers/integration.markdown.d.ts.map +1 -0
  114. package/dist/ui/renderers/integration.markdown.js +256 -0
  115. package/dist/ui/renderers/integration.markdown.js.map +1 -0
  116. package/package.json +111 -0
@@ -0,0 +1,57 @@
1
+ import { CreateIntegrationInputModel, IntegrationModel } from "./integration.schema.js";
2
+ import { defineCommand } from "@contractspec/lib.contracts/operations";
3
+
4
+ //#region src/integration/integration.operations.ts
5
+ /**
6
+ * Create a new integration.
7
+ */
8
+ const CreateIntegrationContract = defineCommand({
9
+ meta: {
10
+ key: "integration.create",
11
+ version: "1.0.0",
12
+ stability: "stable",
13
+ owners: ["@example.integration-hub"],
14
+ tags: ["integration", "create"],
15
+ description: "Create a new integration.",
16
+ goal: "Allow users to set up integrations with external systems.",
17
+ context: "Integration setup."
18
+ },
19
+ io: {
20
+ input: CreateIntegrationInputModel,
21
+ output: IntegrationModel
22
+ },
23
+ policy: { auth: "user" },
24
+ sideEffects: {
25
+ emits: [{
26
+ key: "integration.created",
27
+ version: "1.0.0",
28
+ when: "Integration created",
29
+ payload: IntegrationModel
30
+ }],
31
+ audit: ["integration.created"]
32
+ },
33
+ acceptance: {
34
+ scenarios: [{
35
+ key: "create-integration-happy-path",
36
+ given: ["User is admin"],
37
+ when: ["User defines new integration type"],
38
+ then: ["Integration definition is created", "IntegrationCreated event is emitted"]
39
+ }],
40
+ examples: [{
41
+ key: "create-slack",
42
+ input: {
43
+ name: "Slack",
44
+ category: "communication",
45
+ authType: "oauth2"
46
+ },
47
+ output: {
48
+ id: "slack",
49
+ status: "active"
50
+ }
51
+ }]
52
+ }
53
+ });
54
+
55
+ //#endregion
56
+ export { CreateIntegrationContract };
57
+ //# sourceMappingURL=integration.operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration.operations.js","names":[],"sources":["../../src/integration/integration.operations.ts"],"sourcesContent":["import { defineCommand } from '@contractspec/lib.contracts/operations';\nimport {\n CreateIntegrationInputModel,\n IntegrationModel,\n} from './integration.schema';\n\n/**\n * Create a new integration.\n */\nexport const CreateIntegrationContract = defineCommand({\n meta: {\n key: 'integration.create',\n version: '1.0.0',\n stability: 'stable',\n owners: ['@example.integration-hub'],\n tags: ['integration', 'create'],\n description: 'Create a new integration.',\n goal: 'Allow users to set up integrations with external systems.',\n context: 'Integration setup.',\n },\n io: { input: CreateIntegrationInputModel, output: IntegrationModel },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'integration.created',\n version: '1.0.0',\n when: 'Integration created',\n payload: IntegrationModel,\n },\n ],\n audit: ['integration.created'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'create-integration-happy-path',\n given: ['User is admin'],\n when: ['User defines new integration type'],\n then: [\n 'Integration definition is created',\n 'IntegrationCreated event is emitted',\n ],\n },\n ],\n examples: [\n {\n key: 'create-slack',\n input: { name: 'Slack', category: 'communication', authType: 'oauth2' },\n output: { id: 'slack', status: 'active' },\n },\n ],\n },\n});\n"],"mappings":";;;;;;;AASA,MAAa,4BAA4B,cAAc;CACrD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,2BAA2B;EACpC,MAAM,CAAC,eAAe,SAAS;EAC/B,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EAAE,OAAO;EAA6B,QAAQ;EAAkB;CACpE,QAAQ,EAAE,MAAM,QAAQ;CACxB,aAAa;EACX,OAAO,CACL;GACE,KAAK;GACL,SAAS;GACT,MAAM;GACN,SAAS;GACV,CACF;EACD,OAAO,CAAC,sBAAsB;EAC/B;CACD,YAAY;EACV,WAAW,CACT;GACE,KAAK;GACL,OAAO,CAAC,gBAAgB;GACxB,MAAM,CAAC,oCAAoC;GAC3C,MAAM,CACJ,qCACA,sCACD;GACF,CACF;EACD,UAAU,CACR;GACE,KAAK;GACL,OAAO;IAAE,MAAM;IAAS,UAAU;IAAiB,UAAU;IAAU;GACvE,QAAQ;IAAE,IAAI;IAAS,QAAQ;IAAU;GAC1C,CACF;EACF;CACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as _contractspec_lib_contracts9 from "@contractspec/lib.contracts";
2
+
3
+ //#region src/integration/integration.presentation.d.ts
4
+ declare const IntegrationListPresentation: _contractspec_lib_contracts9.PresentationSpec;
5
+ declare const IntegrationDetailPresentation: _contractspec_lib_contracts9.PresentationSpec;
6
+ declare const IntegrationHealthPresentation: _contractspec_lib_contracts9.PresentationSpec;
7
+ //#endregion
8
+ export { IntegrationDetailPresentation, IntegrationHealthPresentation, IntegrationListPresentation };
9
+ //# sourceMappingURL=integration.presentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration.presentation.d.ts","names":[],"sources":["../../src/integration/integration.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,6BAuBX,4BAAA,CAvBsC;cAyB3B,+BAuBX,4BAAA,CAvBwC;cAyB7B,+BAsBX,4BAAA,CAtBwC"}
@@ -0,0 +1,77 @@
1
+ import { IntegrationModel } from "./integration.schema.js";
2
+ import { StabilityEnum, definePresentation } from "@contractspec/lib.contracts";
3
+
4
+ //#region src/integration/integration.presentation.ts
5
+ const IntegrationListPresentation = definePresentation({
6
+ meta: {
7
+ key: "integration.list",
8
+ version: "1.0.0",
9
+ title: "Integration List",
10
+ description: "List of available integrations",
11
+ domain: "integration",
12
+ owners: ["@integration-team"],
13
+ tags: ["integration", "list"],
14
+ stability: StabilityEnum.Experimental,
15
+ goal: "Show users available integrations they can connect to.",
16
+ context: "The marketplace of integrations within the hub."
17
+ },
18
+ source: {
19
+ type: "component",
20
+ framework: "react",
21
+ componentKey: "IntegrationList",
22
+ props: IntegrationModel
23
+ },
24
+ targets: ["react", "markdown"],
25
+ policy: { flags: ["integration.enabled"] }
26
+ });
27
+ const IntegrationDetailPresentation = definePresentation({
28
+ meta: {
29
+ key: "integration.detail",
30
+ version: "1.0.0",
31
+ title: "Integration Details",
32
+ description: "Detailed view of an integration",
33
+ domain: "integration",
34
+ owners: ["@integration-team"],
35
+ tags: ["integration", "detail"],
36
+ stability: StabilityEnum.Experimental,
37
+ goal: "Show capabilities and documentation for a specific integration.",
38
+ context: "Integration showcase and support page."
39
+ },
40
+ source: {
41
+ type: "component",
42
+ framework: "react",
43
+ componentKey: "IntegrationDetail",
44
+ props: IntegrationModel
45
+ },
46
+ targets: ["react", "markdown"],
47
+ policy: { flags: ["integration.enabled"] }
48
+ });
49
+ const IntegrationHealthPresentation = definePresentation({
50
+ meta: {
51
+ key: "integration.health",
52
+ version: "1.0.0",
53
+ title: "Integration Health",
54
+ description: "Integration health monitoring dashboard",
55
+ domain: "integration",
56
+ owners: ["@integration-team"],
57
+ tags: [
58
+ "integration",
59
+ "health",
60
+ "monitoring"
61
+ ],
62
+ stability: StabilityEnum.Experimental,
63
+ goal: "Monitor connectivity and error rates for active integrations.",
64
+ context: "Operations dashboard for integration hub health."
65
+ },
66
+ source: {
67
+ type: "component",
68
+ framework: "react",
69
+ componentKey: "IntegrationHealth"
70
+ },
71
+ targets: ["react", "markdown"],
72
+ policy: { flags: ["integration.monitoring.enabled"] }
73
+ });
74
+
75
+ //#endregion
76
+ export { IntegrationDetailPresentation, IntegrationHealthPresentation, IntegrationListPresentation };
77
+ //# sourceMappingURL=integration.presentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration.presentation.js","names":[],"sources":["../../src/integration/integration.presentation.ts"],"sourcesContent":["import { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';\nimport { IntegrationModel } from './integration.schema';\n\nexport const IntegrationListPresentation = definePresentation({\n meta: {\n key: 'integration.list',\n version: '1.0.0',\n title: 'Integration List',\n description: 'List of available integrations',\n domain: 'integration',\n owners: ['@integration-team'],\n tags: ['integration', 'list'],\n stability: StabilityEnum.Experimental,\n goal: 'Show users available integrations they can connect to.',\n context: 'The marketplace of integrations within the hub.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'IntegrationList',\n props: IntegrationModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['integration.enabled'],\n },\n});\n\nexport const IntegrationDetailPresentation = definePresentation({\n meta: {\n key: 'integration.detail',\n version: '1.0.0',\n title: 'Integration Details',\n description: 'Detailed view of an integration',\n domain: 'integration',\n owners: ['@integration-team'],\n tags: ['integration', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Show capabilities and documentation for a specific integration.',\n context: 'Integration showcase and support page.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'IntegrationDetail',\n props: IntegrationModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['integration.enabled'],\n },\n});\n\nexport const IntegrationHealthPresentation = definePresentation({\n meta: {\n key: 'integration.health',\n version: '1.0.0',\n title: 'Integration Health',\n description: 'Integration health monitoring dashboard',\n domain: 'integration',\n owners: ['@integration-team'],\n tags: ['integration', 'health', 'monitoring'],\n stability: StabilityEnum.Experimental,\n goal: 'Monitor connectivity and error rates for active integrations.',\n context: 'Operations dashboard for integration hub health.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'IntegrationHealth',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['integration.monitoring.enabled'],\n },\n});\n"],"mappings":";;;;AAGA,MAAa,8BAA8B,mBAAmB;CAC5D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM,CAAC,eAAe,OAAO;EAC7B,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,sBAAsB,EAC/B;CACF,CAAC;AAEF,MAAa,gCAAgC,mBAAmB;CAC9D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM,CAAC,eAAe,SAAS;EAC/B,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,sBAAsB,EAC/B;CACF,CAAC;AAEF,MAAa,gCAAgC,mBAAmB;CAC9D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM;GAAC;GAAe;GAAU;GAAa;EAC7C,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,iCAAiC,EAC1C;CACF,CAAC"}
@@ -0,0 +1,68 @@
1
+ import * as _contractspec_lib_schema40 from "@contractspec/lib.schema";
2
+
3
+ //#region src/integration/integration.schema.d.ts
4
+ /**
5
+ * An integration with an external system.
6
+ */
7
+ declare const IntegrationModel: _contractspec_lib_schema40.SchemaModel<{
8
+ id: {
9
+ type: _contractspec_lib_schema40.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ name: {
13
+ type: _contractspec_lib_schema40.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ slug: {
17
+ type: _contractspec_lib_schema40.FieldType<string, string>;
18
+ isOptional: false;
19
+ };
20
+ description: {
21
+ type: _contractspec_lib_schema40.FieldType<string, string>;
22
+ isOptional: true;
23
+ };
24
+ provider: {
25
+ type: _contractspec_lib_schema40.FieldType<string, string>;
26
+ isOptional: false;
27
+ };
28
+ status: {
29
+ type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string]>;
30
+ isOptional: false;
31
+ };
32
+ createdAt: {
33
+ type: _contractspec_lib_schema40.FieldType<Date, string>;
34
+ isOptional: false;
35
+ };
36
+ }>;
37
+ /**
38
+ * Input for creating an integration.
39
+ */
40
+ declare const CreateIntegrationInputModel: _contractspec_lib_schema40.SchemaModel<{
41
+ name: {
42
+ type: _contractspec_lib_schema40.FieldType<string, string>;
43
+ isOptional: false;
44
+ };
45
+ slug: {
46
+ type: _contractspec_lib_schema40.FieldType<string, string>;
47
+ isOptional: false;
48
+ };
49
+ description: {
50
+ type: _contractspec_lib_schema40.FieldType<string, string>;
51
+ isOptional: true;
52
+ };
53
+ provider: {
54
+ type: _contractspec_lib_schema40.FieldType<string, string>;
55
+ isOptional: false;
56
+ };
57
+ config: {
58
+ type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
59
+ isOptional: true;
60
+ };
61
+ featureFlagKey: {
62
+ type: _contractspec_lib_schema40.FieldType<string, string>;
63
+ isOptional: true;
64
+ };
65
+ }>;
66
+ //#endregion
67
+ export { CreateIntegrationInputModel, IntegrationModel };
68
+ //# sourceMappingURL=integration.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration.schema.d.ts","names":[],"sources":["../../src/integration/integration.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,gBAWX,6BAX2B,WAW3B,CAAA;EAAA,EAAA,EAAA;UAAA,0BAAA,CAAA;;;;;;;;IAX2B,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAgBhB,UAAA,EAAA,KAAA;EAaX,CAAA;;;;;;8CAbsC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;cAA3B,wDAA2B;;UAatC,0BAAA,CAAA"}
@@ -0,0 +1,76 @@
1
+ import { IntegrationStatusEnum } from "./integration.enum.js";
2
+ import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
3
+
4
+ //#region src/integration/integration.schema.ts
5
+ /**
6
+ * An integration with an external system.
7
+ */
8
+ const IntegrationModel = defineSchemaModel({
9
+ name: "IntegrationModel",
10
+ fields: {
11
+ id: {
12
+ type: ScalarTypeEnum.String_unsecure(),
13
+ isOptional: false
14
+ },
15
+ name: {
16
+ type: ScalarTypeEnum.String_unsecure(),
17
+ isOptional: false
18
+ },
19
+ slug: {
20
+ type: ScalarTypeEnum.String_unsecure(),
21
+ isOptional: false
22
+ },
23
+ description: {
24
+ type: ScalarTypeEnum.String_unsecure(),
25
+ isOptional: true
26
+ },
27
+ provider: {
28
+ type: ScalarTypeEnum.String_unsecure(),
29
+ isOptional: false
30
+ },
31
+ status: {
32
+ type: IntegrationStatusEnum,
33
+ isOptional: false
34
+ },
35
+ createdAt: {
36
+ type: ScalarTypeEnum.DateTime(),
37
+ isOptional: false
38
+ }
39
+ }
40
+ });
41
+ /**
42
+ * Input for creating an integration.
43
+ */
44
+ const CreateIntegrationInputModel = defineSchemaModel({
45
+ name: "CreateIntegrationInput",
46
+ fields: {
47
+ name: {
48
+ type: ScalarTypeEnum.NonEmptyString(),
49
+ isOptional: false
50
+ },
51
+ slug: {
52
+ type: ScalarTypeEnum.NonEmptyString(),
53
+ isOptional: false
54
+ },
55
+ description: {
56
+ type: ScalarTypeEnum.String_unsecure(),
57
+ isOptional: true
58
+ },
59
+ provider: {
60
+ type: ScalarTypeEnum.NonEmptyString(),
61
+ isOptional: false
62
+ },
63
+ config: {
64
+ type: ScalarTypeEnum.JSON(),
65
+ isOptional: true
66
+ },
67
+ featureFlagKey: {
68
+ type: ScalarTypeEnum.String_unsecure(),
69
+ isOptional: true
70
+ }
71
+ }
72
+ });
73
+
74
+ //#endregion
75
+ export { CreateIntegrationInputModel, IntegrationModel };
76
+ //# sourceMappingURL=integration.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration.schema.js","names":[],"sources":["../../src/integration/integration.schema.ts"],"sourcesContent":["import { defineSchemaModel, ScalarTypeEnum } from '@contractspec/lib.schema';\nimport { IntegrationStatusEnum } from './integration.enum';\n\n/**\n * An integration with an external system.\n */\nexport const IntegrationModel = defineSchemaModel({\n name: 'IntegrationModel',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n slug: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n provider: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: IntegrationStatusEnum, isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Input for creating an integration.\n */\nexport const CreateIntegrationInputModel = defineSchemaModel({\n name: 'CreateIntegrationInput',\n fields: {\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n slug: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n provider: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n config: { type: ScalarTypeEnum.JSON(), isOptional: true },\n featureFlagKey: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n },\n});\n"],"mappings":";;;;;;;AAMA,MAAa,mBAAmB,kBAAkB;CAChD,MAAM;CACN,QAAQ;EACN,IAAI;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACjE,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACnE,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACnE,aAAa;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACzE,UAAU;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACvE,QAAQ;GAAE,MAAM;GAAuB,YAAY;GAAO;EAC1D,WAAW;GAAE,MAAM,eAAe,UAAU;GAAE,YAAY;GAAO;EAClE;CACF,CAAC;;;;AAKF,MAAa,8BAA8B,kBAAkB;CAC3D,MAAM;CACN,QAAQ;EACN,MAAM;GAAE,MAAM,eAAe,gBAAgB;GAAE,YAAY;GAAO;EAClE,MAAM;GAAE,MAAM,eAAe,gBAAgB;GAAE,YAAY;GAAO;EAClE,aAAa;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACzE,UAAU;GAAE,MAAM,eAAe,gBAAgB;GAAE,YAAY;GAAO;EACtE,QAAQ;GAAE,MAAM,eAAe,MAAM;GAAE,YAAY;GAAM;EACzD,gBAAgB;GACd,MAAM,eAAe,iBAAiB;GACtC,YAAY;GACb;EACF;CACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
2
+
3
+ //#region src/integration-hub.capability.d.ts
4
+ declare const IntegrationCapability: _contractspec_lib_contracts12.CapabilitySpec;
5
+ declare const SyncCapability: _contractspec_lib_contracts12.CapabilitySpec;
6
+ declare const EtlCapability: _contractspec_lib_contracts12.CapabilitySpec;
7
+ //#endregion
8
+ export { EtlCapability, IntegrationCapability, SyncCapability };
9
+ //# sourceMappingURL=integration-hub.capability.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-hub.capability.d.ts","names":[],"sources":["../src/integration-hub.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,6BAAA,CAVgC;cAYrB,gBAUX,6BAAA,CAVyB;cAYd,eAUX,6BAAA,CAVwB"}
@@ -0,0 +1,38 @@
1
+ import { StabilityEnum, defineCapability } from "@contractspec/lib.contracts";
2
+
3
+ //#region src/integration-hub.capability.ts
4
+ const IntegrationCapability = defineCapability({ meta: {
5
+ key: "integration",
6
+ version: "1.0.0",
7
+ kind: "integration",
8
+ stability: StabilityEnum.Experimental,
9
+ description: "Third-party integration connections",
10
+ owners: ["platform.core"],
11
+ tags: ["integration", "connections"]
12
+ } });
13
+ const SyncCapability = defineCapability({ meta: {
14
+ key: "sync",
15
+ version: "1.0.0",
16
+ kind: "api",
17
+ stability: StabilityEnum.Experimental,
18
+ description: "Data synchronization between systems",
19
+ owners: ["platform.core"],
20
+ tags: ["sync", "data"]
21
+ } });
22
+ const EtlCapability = defineCapability({ meta: {
23
+ key: "etl",
24
+ version: "1.0.0",
25
+ kind: "api",
26
+ stability: StabilityEnum.Experimental,
27
+ description: "Extract, transform, load data pipelines",
28
+ owners: ["platform.core"],
29
+ tags: [
30
+ "etl",
31
+ "data",
32
+ "pipeline"
33
+ ]
34
+ } });
35
+
36
+ //#endregion
37
+ export { EtlCapability, IntegrationCapability, SyncCapability };
38
+ //# sourceMappingURL=integration-hub.capability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-hub.capability.js","names":[],"sources":["../src/integration-hub.capability.ts"],"sourcesContent":["import { defineCapability, StabilityEnum } from '@contractspec/lib.contracts';\n\nexport const IntegrationCapability = defineCapability({\n meta: {\n key: 'integration',\n version: '1.0.0',\n kind: 'integration',\n stability: StabilityEnum.Experimental,\n description: 'Third-party integration connections',\n owners: ['platform.core'],\n tags: ['integration', 'connections'],\n },\n});\n\nexport const SyncCapability = defineCapability({\n meta: {\n key: 'sync',\n version: '1.0.0',\n kind: 'api',\n stability: StabilityEnum.Experimental,\n description: 'Data synchronization between systems',\n owners: ['platform.core'],\n tags: ['sync', 'data'],\n },\n});\n\nexport const EtlCapability = defineCapability({\n meta: {\n key: 'etl',\n version: '1.0.0',\n kind: 'api',\n stability: StabilityEnum.Experimental,\n description: 'Extract, transform, load data pipelines',\n owners: ['platform.core'],\n tags: ['etl', 'data', 'pipeline'],\n },\n});\n"],"mappings":";;;AAEA,MAAa,wBAAwB,iBAAiB,EACpD,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,gBAAgB;CACzB,MAAM,CAAC,eAAe,cAAc;CACrC,EACF,CAAC;AAEF,MAAa,iBAAiB,iBAAiB,EAC7C,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,gBAAgB;CACzB,MAAM,CAAC,QAAQ,OAAO;CACvB,EACF,CAAC;AAEF,MAAa,gBAAgB,iBAAiB,EAC5C,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,gBAAgB;CACzB,MAAM;EAAC;EAAO;EAAQ;EAAW;CAClC,EACF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as _contractspec_lib_contracts15 from "@contractspec/lib.contracts";
2
+
3
+ //#region src/integration-hub.feature.d.ts
4
+ declare const IntegrationHubFeature: _contractspec_lib_contracts15.FeatureModuleSpec;
5
+ //#endregion
6
+ export { IntegrationHubFeature };
7
+ //# sourceMappingURL=integration-hub.feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-hub.feature.d.ts","names":[],"sources":["../src/integration-hub.feature.ts"],"sourcesContent":[],"mappings":";;;cAKa,uBAmHX,6BAAA,CAnHgC"}
@@ -0,0 +1,244 @@
1
+ import { defineFeature } from "@contractspec/lib.contracts";
2
+
3
+ //#region src/integration-hub.feature.ts
4
+ /**
5
+ * Integration Hub Feature Module Specification
6
+ */
7
+ const IntegrationHubFeature = defineFeature({
8
+ meta: {
9
+ key: "integration-hub",
10
+ version: "1.0.0",
11
+ title: "Integration Hub",
12
+ description: "Connect and sync data with external systems through configurable integrations",
13
+ domain: "integration",
14
+ owners: ["@integration-team"],
15
+ tags: [
16
+ "integration",
17
+ "sync",
18
+ "etl",
19
+ "connectors"
20
+ ],
21
+ stability: "experimental"
22
+ },
23
+ operations: [
24
+ {
25
+ key: "integration.create",
26
+ version: "1.0.0"
27
+ },
28
+ {
29
+ key: "integration.connection.create",
30
+ version: "1.0.0"
31
+ },
32
+ {
33
+ key: "integration.syncConfig.create",
34
+ version: "1.0.0"
35
+ },
36
+ {
37
+ key: "integration.fieldMapping.add",
38
+ version: "1.0.0"
39
+ },
40
+ {
41
+ key: "integration.sync.trigger",
42
+ version: "1.0.0"
43
+ },
44
+ {
45
+ key: "integration.syncRun.list",
46
+ version: "1.0.0"
47
+ }
48
+ ],
49
+ events: [
50
+ {
51
+ key: "integration.created",
52
+ version: "1.0.0"
53
+ },
54
+ {
55
+ key: "integration.connection.created",
56
+ version: "1.0.0"
57
+ },
58
+ {
59
+ key: "integration.connection.statusChanged",
60
+ version: "1.0.0"
61
+ },
62
+ {
63
+ key: "integration.syncConfig.created",
64
+ version: "1.0.0"
65
+ },
66
+ {
67
+ key: "integration.sync.started",
68
+ version: "1.0.0"
69
+ },
70
+ {
71
+ key: "integration.sync.completed",
72
+ version: "1.0.0"
73
+ },
74
+ {
75
+ key: "integration.sync.failed",
76
+ version: "1.0.0"
77
+ },
78
+ {
79
+ key: "integration.record.synced",
80
+ version: "1.0.0"
81
+ },
82
+ {
83
+ key: "integration.fieldMapping.added",
84
+ version: "1.0.0"
85
+ }
86
+ ],
87
+ presentations: [
88
+ {
89
+ key: "integration.list",
90
+ version: "1.0.0"
91
+ },
92
+ {
93
+ key: "integration.detail",
94
+ version: "1.0.0"
95
+ },
96
+ {
97
+ key: "integration.connection.list",
98
+ version: "1.0.0"
99
+ },
100
+ {
101
+ key: "integration.connection.setup",
102
+ version: "1.0.0"
103
+ },
104
+ {
105
+ key: "integration.syncConfig.list",
106
+ version: "1.0.0"
107
+ },
108
+ {
109
+ key: "integration.syncConfig.editor",
110
+ version: "1.0.0"
111
+ },
112
+ {
113
+ key: "integration.fieldMapping.editor",
114
+ version: "1.0.0"
115
+ },
116
+ {
117
+ key: "integration.syncRun.list",
118
+ version: "1.0.0"
119
+ },
120
+ {
121
+ key: "integration.syncRun.detail",
122
+ version: "1.0.0"
123
+ },
124
+ {
125
+ key: "integration.health",
126
+ version: "1.0.0"
127
+ },
128
+ {
129
+ key: "integration.sync.activity",
130
+ version: "1.0.0"
131
+ }
132
+ ],
133
+ opToPresentation: [
134
+ {
135
+ op: {
136
+ key: "integration.syncConfig.create",
137
+ version: "1.0.0"
138
+ },
139
+ pres: {
140
+ key: "integration.syncConfig.editor",
141
+ version: "1.0.0"
142
+ }
143
+ },
144
+ {
145
+ op: {
146
+ key: "integration.fieldMapping.add",
147
+ version: "1.0.0"
148
+ },
149
+ pres: {
150
+ key: "integration.fieldMapping.editor",
151
+ version: "1.0.0"
152
+ }
153
+ },
154
+ {
155
+ op: {
156
+ key: "integration.syncRun.list",
157
+ version: "1.0.0"
158
+ },
159
+ pres: {
160
+ key: "integration.syncRun.list",
161
+ version: "1.0.0"
162
+ }
163
+ }
164
+ ],
165
+ presentationsTargets: [
166
+ {
167
+ key: "integration.list",
168
+ version: "1.0.0",
169
+ targets: ["react", "markdown"]
170
+ },
171
+ {
172
+ key: "integration.detail",
173
+ version: "1.0.0",
174
+ targets: ["react", "markdown"]
175
+ },
176
+ {
177
+ key: "integration.syncConfig.list",
178
+ version: "1.0.0",
179
+ targets: ["react", "markdown"]
180
+ },
181
+ {
182
+ key: "integration.syncConfig.editor",
183
+ version: "1.0.0",
184
+ targets: ["react"]
185
+ },
186
+ {
187
+ key: "integration.fieldMapping.editor",
188
+ version: "1.0.0",
189
+ targets: ["react"]
190
+ },
191
+ {
192
+ key: "integration.syncRun.list",
193
+ version: "1.0.0",
194
+ targets: ["react", "markdown"]
195
+ },
196
+ {
197
+ key: "integration.syncRun.detail",
198
+ version: "1.0.0",
199
+ targets: ["react", "markdown"]
200
+ }
201
+ ],
202
+ capabilities: {
203
+ requires: [
204
+ {
205
+ key: "identity",
206
+ version: "1.0.0"
207
+ },
208
+ {
209
+ key: "audit-trail",
210
+ version: "1.0.0"
211
+ },
212
+ {
213
+ key: "feature-flags",
214
+ version: "1.0.0"
215
+ },
216
+ {
217
+ key: "jobs",
218
+ version: "1.0.0"
219
+ },
220
+ {
221
+ key: "files",
222
+ version: "1.0.0"
223
+ }
224
+ ],
225
+ provides: [
226
+ {
227
+ key: "integration",
228
+ version: "1.0.0"
229
+ },
230
+ {
231
+ key: "sync",
232
+ version: "1.0.0"
233
+ },
234
+ {
235
+ key: "etl",
236
+ version: "1.0.0"
237
+ }
238
+ ]
239
+ }
240
+ });
241
+
242
+ //#endregion
243
+ export { IntegrationHubFeature };
244
+ //# sourceMappingURL=integration-hub.feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-hub.feature.js","names":[],"sources":["../src/integration-hub.feature.ts"],"sourcesContent":["/**\n * Integration Hub Feature Module Specification\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\nexport const IntegrationHubFeature = defineFeature({\n meta: {\n key: 'integration-hub',\n version: '1.0.0',\n title: 'Integration Hub',\n description:\n 'Connect and sync data with external systems through configurable integrations',\n domain: 'integration',\n owners: ['@integration-team'],\n tags: ['integration', 'sync', 'etl', 'connectors'],\n stability: 'experimental',\n },\n\n operations: [\n { key: 'integration.create', version: '1.0.0' },\n { key: 'integration.connection.create', version: '1.0.0' },\n { key: 'integration.syncConfig.create', version: '1.0.0' },\n { key: 'integration.fieldMapping.add', version: '1.0.0' },\n { key: 'integration.sync.trigger', version: '1.0.0' },\n { key: 'integration.syncRun.list', version: '1.0.0' },\n ],\n\n events: [\n { key: 'integration.created', version: '1.0.0' },\n { key: 'integration.connection.created', version: '1.0.0' },\n { key: 'integration.connection.statusChanged', version: '1.0.0' },\n { key: 'integration.syncConfig.created', version: '1.0.0' },\n { key: 'integration.sync.started', version: '1.0.0' },\n { key: 'integration.sync.completed', version: '1.0.0' },\n { key: 'integration.sync.failed', version: '1.0.0' },\n { key: 'integration.record.synced', version: '1.0.0' },\n { key: 'integration.fieldMapping.added', version: '1.0.0' },\n ],\n\n presentations: [\n { key: 'integration.list', version: '1.0.0' },\n { key: 'integration.detail', version: '1.0.0' },\n { key: 'integration.connection.list', version: '1.0.0' },\n { key: 'integration.connection.setup', version: '1.0.0' },\n { key: 'integration.syncConfig.list', version: '1.0.0' },\n { key: 'integration.syncConfig.editor', version: '1.0.0' },\n { key: 'integration.fieldMapping.editor', version: '1.0.0' },\n { key: 'integration.syncRun.list', version: '1.0.0' },\n { key: 'integration.syncRun.detail', version: '1.0.0' },\n { key: 'integration.health', version: '1.0.0' },\n { key: 'integration.sync.activity', version: '1.0.0' },\n ],\n\n opToPresentation: [\n {\n op: { key: 'integration.syncConfig.create', version: '1.0.0' },\n pres: { key: 'integration.syncConfig.editor', version: '1.0.0' },\n },\n {\n op: { key: 'integration.fieldMapping.add', version: '1.0.0' },\n pres: { key: 'integration.fieldMapping.editor', version: '1.0.0' },\n },\n {\n op: { key: 'integration.syncRun.list', version: '1.0.0' },\n pres: { key: 'integration.syncRun.list', version: '1.0.0' },\n },\n ],\n\n presentationsTargets: [\n {\n key: 'integration.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'integration.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'integration.syncConfig.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'integration.syncConfig.editor',\n version: '1.0.0',\n targets: ['react'],\n },\n {\n key: 'integration.fieldMapping.editor',\n version: '1.0.0',\n targets: ['react'],\n },\n {\n key: 'integration.syncRun.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'integration.syncRun.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'feature-flags', version: '1.0.0' },\n { key: 'jobs', version: '1.0.0' },\n { key: 'files', version: '1.0.0' },\n ],\n provides: [\n { key: 'integration', version: '1.0.0' },\n { key: 'sync', version: '1.0.0' },\n { key: 'etl', version: '1.0.0' },\n ],\n },\n});\n"],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ import { DatabasePort } from "@contractspec/lib.runtime-sandbox";
2
+
3
+ //#region src/seeders/index.d.ts
4
+ declare function seedIntegrationHub(params: {
5
+ projectId: string;
6
+ db: DatabasePort;
7
+ }): Promise<void>;
8
+ //#endregion
9
+ export { seedIntegrationHub };
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/seeders/index.ts"],"sourcesContent":[],"mappings":";;;iBAEsB,kBAAA;;EAAA,EAAA,EAEhB,YAFgB;IAGrB"}