@contractspec/example.integration-hub 1.62.0 → 2.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/dist/browser/connection/connection.operation.js +1 -1
- package/dist/browser/connection/connection.presentation.js +4 -1
- package/dist/browser/connection/index.js +1 -1
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/docs/integration-hub.docblock.js +1 -1
- package/dist/browser/events.js +1 -1
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +3 -3
- package/dist/browser/integration/index.js +1 -1
- package/dist/browser/integration/integration.operations.js +1 -1
- package/dist/browser/integration/integration.presentation.js +4 -1
- package/dist/browser/integration-hub.capability.js +4 -1
- package/dist/browser/integration-hub.feature.js +1 -1
- package/dist/browser/sync/index.js +1 -1
- package/dist/browser/sync/sync.operations.js +1 -1
- package/dist/browser/sync/sync.presentation.js +4 -1
- package/dist/browser/tests/operations.test-spec.js +1 -1
- package/dist/connection/connection.enum.d.ts +0 -1
- package/dist/connection/connection.operation.d.ts +1 -2
- package/dist/connection/connection.operation.js +1 -1
- package/dist/connection/connection.presentation.d.ts +2 -3
- package/dist/connection/connection.presentation.js +4 -1
- package/dist/connection/connection.schema.d.ts +0 -1
- package/dist/connection/index.d.ts +0 -1
- package/dist/connection/index.js +1 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/integration-hub.docblock.d.ts +0 -1
- package/dist/docs/integration-hub.docblock.js +1 -1
- package/dist/events.d.ts +9 -10
- package/dist/events.js +1 -1
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/handlers/index.d.ts +0 -1
- package/dist/handlers/integration.handlers.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -3
- package/dist/integration/index.d.ts +0 -1
- package/dist/integration/index.js +1 -1
- package/dist/integration/integration.enum.d.ts +0 -1
- package/dist/integration/integration.operations.d.ts +1 -2
- package/dist/integration/integration.operations.js +1 -1
- package/dist/integration/integration.presentation.d.ts +3 -4
- package/dist/integration/integration.presentation.js +4 -1
- package/dist/integration/integration.schema.d.ts +0 -1
- package/dist/integration-hub.capability.d.ts +3 -4
- package/dist/integration-hub.capability.js +4 -1
- package/dist/integration-hub.feature.d.ts +1 -2
- package/dist/integration-hub.feature.js +1 -1
- package/dist/node/connection/connection.operation.js +1 -1
- package/dist/node/connection/connection.presentation.js +4 -1
- package/dist/node/connection/index.js +1 -1
- package/dist/node/docs/index.js +1 -1
- package/dist/node/docs/integration-hub.docblock.js +1 -1
- package/dist/node/events.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +3 -3
- package/dist/node/integration/index.js +1 -1
- package/dist/node/integration/integration.operations.js +1 -1
- package/dist/node/integration/integration.presentation.js +4 -1
- package/dist/node/integration-hub.capability.js +4 -1
- package/dist/node/integration-hub.feature.js +1 -1
- package/dist/node/sync/index.js +1 -1
- package/dist/node/sync/sync.operations.js +1 -1
- package/dist/node/sync/sync.presentation.js +4 -1
- package/dist/node/tests/operations.test-spec.js +1 -1
- package/dist/seeders/index.d.ts +0 -1
- package/dist/sync/index.d.ts +0 -1
- package/dist/sync/index.js +1 -1
- package/dist/sync/sync.enum.d.ts +0 -1
- package/dist/sync/sync.operations.d.ts +4 -5
- package/dist/sync/sync.operations.js +1 -1
- package/dist/sync/sync.presentation.d.ts +6 -7
- package/dist/sync/sync.presentation.js +4 -1
- package/dist/sync/sync.schema.d.ts +0 -1
- package/dist/sync-engine/index.d.ts +0 -1
- package/dist/tests/operations.test-spec.d.ts +3 -4
- package/dist/tests/operations.test-spec.js +1 -1
- package/dist/ui/IntegrationDashboard.d.ts +0 -1
- package/dist/ui/hooks/index.d.ts +0 -1
- package/dist/ui/hooks/useIntegrationData.d.ts +0 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/renderers/index.d.ts +0 -1
- package/dist/ui/renderers/integration.markdown.d.ts +1 -2
- package/package.json +8 -8
- package/dist/connection/connection.enum.d.ts.map +0 -1
- package/dist/connection/connection.operation.d.ts.map +0 -1
- package/dist/connection/connection.presentation.d.ts.map +0 -1
- package/dist/connection/connection.schema.d.ts.map +0 -1
- package/dist/connection/index.d.ts.map +0 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/integration-hub.docblock.d.ts.map +0 -1
- package/dist/events.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/handlers/index.d.ts.map +0 -1
- package/dist/handlers/integration.handlers.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/integration/index.d.ts.map +0 -1
- package/dist/integration/integration.enum.d.ts.map +0 -1
- package/dist/integration/integration.operations.d.ts.map +0 -1
- package/dist/integration/integration.presentation.d.ts.map +0 -1
- package/dist/integration/integration.schema.d.ts.map +0 -1
- package/dist/integration-hub.capability.d.ts.map +0 -1
- package/dist/integration-hub.feature.d.ts.map +0 -1
- package/dist/seeders/index.d.ts.map +0 -1
- package/dist/sync/index.d.ts.map +0 -1
- package/dist/sync/sync.enum.d.ts.map +0 -1
- package/dist/sync/sync.operations.d.ts.map +0 -1
- package/dist/sync/sync.presentation.d.ts.map +0 -1
- package/dist/sync/sync.schema.d.ts.map +0 -1
- package/dist/sync-engine/index.d.ts.map +0 -1
- package/dist/tests/operations.test-spec.d.ts.map +0 -1
- package/dist/ui/IntegrationDashboard.d.ts.map +0 -1
- package/dist/ui/hooks/index.d.ts.map +0 -1
- package/dist/ui/hooks/useIntegrationData.d.ts.map +0 -1
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/renderers/index.d.ts.map +0 -1
- package/dist/ui/renderers/integration.markdown.d.ts.map +0 -1
|
@@ -44,7 +44,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.operation.ts
|
|
47
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
47
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
48
48
|
var OWNERS = ["@example.integration-hub"];
|
|
49
49
|
var CreateConnectionContract = defineCommand({
|
|
50
50
|
meta: {
|
|
@@ -44,7 +44,10 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.presentation.ts
|
|
47
|
-
import {
|
|
47
|
+
import {
|
|
48
|
+
definePresentation,
|
|
49
|
+
StabilityEnum
|
|
50
|
+
} from "@contractspec/lib.contracts-spec";
|
|
48
51
|
var ConnectionListPresentation = definePresentation({
|
|
49
52
|
meta: {
|
|
50
53
|
key: "integration.connection.list",
|
|
@@ -44,7 +44,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.operation.ts
|
|
47
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
47
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
48
48
|
var OWNERS = ["@example.integration-hub"];
|
|
49
49
|
var CreateConnectionContract = defineCommand({
|
|
50
50
|
meta: {
|
package/dist/browser/events.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
2
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
3
3
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
4
4
|
var IntegrationCreatedPayload = defineSchemaModel({
|
|
5
5
|
name: "IntegrationCreatedPayload",
|
package/dist/browser/example.js
CHANGED
package/dist/browser/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.operation.ts
|
|
47
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
47
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
48
48
|
var OWNERS = ["@example.integration-hub"];
|
|
49
49
|
var CreateConnectionContract = defineCommand({
|
|
50
50
|
meta: {
|
|
@@ -380,7 +380,7 @@ var CreateIntegrationInputModel = defineSchemaModel2({
|
|
|
380
380
|
});
|
|
381
381
|
|
|
382
382
|
// src/integration/integration.operations.ts
|
|
383
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts/operations";
|
|
383
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec/operations";
|
|
384
384
|
var CreateIntegrationContract = defineCommand2({
|
|
385
385
|
meta: {
|
|
386
386
|
key: "integration.create",
|
|
@@ -575,7 +575,7 @@ var ListSyncRunsOutputModel = defineSchemaModel3({
|
|
|
575
575
|
import {
|
|
576
576
|
defineCommand as defineCommand3,
|
|
577
577
|
defineQuery
|
|
578
|
-
} from "@contractspec/lib.contracts/operations";
|
|
578
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
579
579
|
var OWNERS2 = ["@example.integration-hub"];
|
|
580
580
|
var CreateSyncConfigContract = defineCommand3({
|
|
581
581
|
meta: {
|
|
@@ -38,7 +38,7 @@ var CreateIntegrationInputModel = defineSchemaModel({
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
// src/integration/integration.operations.ts
|
|
41
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
41
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
42
42
|
var CreateIntegrationContract = defineCommand({
|
|
43
43
|
meta: {
|
|
44
44
|
key: "integration.create",
|
|
@@ -38,7 +38,7 @@ var CreateIntegrationInputModel = defineSchemaModel({
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
// src/integration/integration.operations.ts
|
|
41
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
41
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
42
42
|
var CreateIntegrationContract = defineCommand({
|
|
43
43
|
meta: {
|
|
44
44
|
key: "integration.create",
|
|
@@ -38,7 +38,10 @@ var CreateIntegrationInputModel = defineSchemaModel({
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
// src/integration/integration.presentation.ts
|
|
41
|
-
import {
|
|
41
|
+
import {
|
|
42
|
+
definePresentation,
|
|
43
|
+
StabilityEnum
|
|
44
|
+
} from "@contractspec/lib.contracts-spec";
|
|
42
45
|
var IntegrationListPresentation = definePresentation({
|
|
43
46
|
meta: {
|
|
44
47
|
key: "integration.list",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/integration-hub.capability.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
defineCapability,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var IntegrationCapability = defineCapability({
|
|
4
7
|
meta: {
|
|
5
8
|
key: "integration",
|
|
@@ -147,7 +147,7 @@ var ListSyncRunsOutputModel = defineSchemaModel({
|
|
|
147
147
|
import {
|
|
148
148
|
defineCommand,
|
|
149
149
|
defineQuery
|
|
150
|
-
} from "@contractspec/lib.contracts/operations";
|
|
150
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
151
151
|
var OWNERS = ["@example.integration-hub"];
|
|
152
152
|
var CreateSyncConfigContract = defineCommand({
|
|
153
153
|
meta: {
|
|
@@ -147,7 +147,7 @@ var ListSyncRunsOutputModel = defineSchemaModel({
|
|
|
147
147
|
import {
|
|
148
148
|
defineCommand,
|
|
149
149
|
defineQuery
|
|
150
|
-
} from "@contractspec/lib.contracts/operations";
|
|
150
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
151
151
|
var OWNERS = ["@example.integration-hub"];
|
|
152
152
|
var CreateSyncConfigContract = defineCommand({
|
|
153
153
|
meta: {
|
|
@@ -144,7 +144,10 @@ var ListSyncRunsOutputModel = defineSchemaModel({
|
|
|
144
144
|
});
|
|
145
145
|
|
|
146
146
|
// src/sync/sync.presentation.ts
|
|
147
|
-
import {
|
|
147
|
+
import {
|
|
148
|
+
definePresentation,
|
|
149
|
+
StabilityEnum
|
|
150
|
+
} from "@contractspec/lib.contracts-spec";
|
|
148
151
|
var SyncConfigListPresentation = definePresentation({
|
|
149
152
|
meta: {
|
|
150
153
|
key: "integration.syncConfig.list",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/tests/operations.test-spec.ts
|
|
2
|
-
import { defineTestSpec } from "@contractspec/lib.contracts";
|
|
2
|
+
import { defineTestSpec } from "@contractspec/lib.contracts-spec/tests";
|
|
3
3
|
var SyncConfigCreateTest = defineTestSpec({
|
|
4
4
|
meta: {
|
|
5
5
|
key: "integration.syncConfig.create.test",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a connection to an external system.
|
|
3
3
|
*/
|
|
4
|
-
export declare const CreateConnectionContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const CreateConnectionContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
integrationId: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -98,4 +98,3 @@ export declare const CreateConnectionContract: import("@contractspec/lib.contrac
|
|
|
98
98
|
};
|
|
99
99
|
}>;
|
|
100
100
|
}[]>;
|
|
101
|
-
//# sourceMappingURL=connection.operation.d.ts.map
|
|
@@ -45,7 +45,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// src/connection/connection.operation.ts
|
|
48
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
48
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
49
49
|
var OWNERS = ["@example.integration-hub"];
|
|
50
50
|
var CreateConnectionContract = defineCommand({
|
|
51
51
|
meta: {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const ConnectionListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
2
|
-
export declare const ConnectionSetupPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
3
|
-
//# sourceMappingURL=connection.presentation.d.ts.map
|
|
1
|
+
export declare const ConnectionListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
2
|
+
export declare const ConnectionSetupPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
@@ -45,7 +45,10 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// src/connection/connection.presentation.ts
|
|
48
|
-
import {
|
|
48
|
+
import {
|
|
49
|
+
definePresentation,
|
|
50
|
+
StabilityEnum
|
|
51
|
+
} from "@contractspec/lib.contracts-spec";
|
|
49
52
|
var ConnectionListPresentation = definePresentation({
|
|
50
53
|
meta: {
|
|
51
54
|
key: "integration.connection.list",
|
package/dist/connection/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// src/connection/connection.operation.ts
|
|
48
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
48
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
49
49
|
var OWNERS = ["@example.integration-hub"];
|
|
50
50
|
var CreateConnectionContract = defineCommand({
|
|
51
51
|
meta: {
|
package/dist/docs/index.d.ts
CHANGED
package/dist/docs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/docs/integration-hub.docblock.ts
|
|
3
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
3
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
4
4
|
var integrationHubDocBlocks = [
|
|
5
5
|
{
|
|
6
6
|
id: "docs.examples.integration-hub",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/docs/integration-hub.docblock.ts
|
|
3
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
3
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
4
4
|
var integrationHubDocBlocks = [
|
|
5
5
|
{
|
|
6
6
|
id: "docs.examples.integration-hub",
|
package/dist/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const IntegrationCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
1
|
+
export declare const IntegrationCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
2
2
|
integrationId: {
|
|
3
3
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
4
4
|
isOptional: false;
|
|
@@ -12,7 +12,7 @@ export declare const IntegrationCreatedEvent: import("@contractspec/lib.contract
|
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
}>>;
|
|
15
|
-
export declare const ConnectionCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
15
|
+
export declare const ConnectionCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
16
16
|
connectionId: {
|
|
17
17
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
@@ -30,7 +30,7 @@ export declare const ConnectionCreatedEvent: import("@contractspec/lib.contracts
|
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>>;
|
|
33
|
-
export declare const ConnectionStatusChangedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
33
|
+
export declare const ConnectionStatusChangedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
34
34
|
connectionId: {
|
|
35
35
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
@@ -48,7 +48,7 @@ export declare const ConnectionStatusChangedEvent: import("@contractspec/lib.con
|
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
}>>;
|
|
51
|
-
export declare const SyncConfigCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
51
|
+
export declare const SyncConfigCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
52
52
|
syncConfigId: {
|
|
53
53
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
@@ -62,7 +62,7 @@ export declare const SyncConfigCreatedEvent: import("@contractspec/lib.contracts
|
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
}>>;
|
|
65
|
-
export declare const SyncStartedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
65
|
+
export declare const SyncStartedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
66
66
|
syncRunId: {
|
|
67
67
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
@@ -76,7 +76,7 @@ export declare const SyncStartedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>>;
|
|
79
|
-
export declare const SyncCompletedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
79
|
+
export declare const SyncCompletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
80
80
|
syncRunId: {
|
|
81
81
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
@@ -94,7 +94,7 @@ export declare const SyncCompletedEvent: import("@contractspec/lib.contracts").E
|
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>>;
|
|
97
|
-
export declare const SyncFailedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
97
|
+
export declare const SyncFailedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
98
98
|
syncRunId: {
|
|
99
99
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
100
100
|
isOptional: false;
|
|
@@ -112,7 +112,7 @@ export declare const SyncFailedEvent: import("@contractspec/lib.contracts").Even
|
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
}>>;
|
|
115
|
-
export declare const RecordSyncedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
115
|
+
export declare const RecordSyncedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
116
116
|
syncRunId: {
|
|
117
117
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
@@ -130,7 +130,7 @@ export declare const RecordSyncedEvent: import("@contractspec/lib.contracts").Ev
|
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
}>>;
|
|
133
|
-
export declare const FieldMappingAddedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
133
|
+
export declare const FieldMappingAddedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
134
134
|
syncConfigId: {
|
|
135
135
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
136
136
|
isOptional: false;
|
|
@@ -144,4 +144,3 @@ export declare const FieldMappingAddedEvent: import("@contractspec/lib.contracts
|
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
}>>;
|
|
147
|
-
//# sourceMappingURL=events.d.ts.map
|
package/dist/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/events.ts
|
|
3
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
var IntegrationCreatedPayload = defineSchemaModel({
|
|
6
6
|
name: "IntegrationCreatedPayload",
|
package/dist/example.d.ts
CHANGED
package/dist/example.js
CHANGED
package/dist/handlers/index.d.ts
CHANGED
|
@@ -127,4 +127,3 @@ export declare function createIntegrationHandlers(db: DatabasePort): {
|
|
|
127
127
|
runSync: (syncConfigId: string) => Promise<SyncConfig>;
|
|
128
128
|
};
|
|
129
129
|
export type IntegrationHandlers = ReturnType<typeof createIntegrationHandlers>;
|
|
130
|
-
//# sourceMappingURL=integration.handlers.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// src/connection/connection.operation.ts
|
|
48
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
48
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
49
49
|
var OWNERS = ["@example.integration-hub"];
|
|
50
50
|
var CreateConnectionContract = defineCommand({
|
|
51
51
|
meta: {
|
|
@@ -381,7 +381,7 @@ var CreateIntegrationInputModel = defineSchemaModel2({
|
|
|
381
381
|
});
|
|
382
382
|
|
|
383
383
|
// src/integration/integration.operations.ts
|
|
384
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts/operations";
|
|
384
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec/operations";
|
|
385
385
|
var CreateIntegrationContract = defineCommand2({
|
|
386
386
|
meta: {
|
|
387
387
|
key: "integration.create",
|
|
@@ -576,7 +576,7 @@ var ListSyncRunsOutputModel = defineSchemaModel3({
|
|
|
576
576
|
import {
|
|
577
577
|
defineCommand as defineCommand3,
|
|
578
578
|
defineQuery
|
|
579
|
-
} from "@contractspec/lib.contracts/operations";
|
|
579
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
580
580
|
var OWNERS2 = ["@example.integration-hub"];
|
|
581
581
|
var CreateSyncConfigContract = defineCommand3({
|
|
582
582
|
meta: {
|
|
@@ -39,7 +39,7 @@ var CreateIntegrationInputModel = defineSchemaModel({
|
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
// src/integration/integration.operations.ts
|
|
42
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
42
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
43
43
|
var CreateIntegrationContract = defineCommand({
|
|
44
44
|
meta: {
|
|
45
45
|
key: "integration.create",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a new integration.
|
|
3
3
|
*/
|
|
4
|
-
export declare const CreateIntegrationContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const CreateIntegrationContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
name: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -90,4 +90,3 @@ export declare const CreateIntegrationContract: import("@contractspec/lib.contra
|
|
|
90
90
|
};
|
|
91
91
|
}>;
|
|
92
92
|
}[]>;
|
|
93
|
-
//# sourceMappingURL=integration.operations.d.ts.map
|
|
@@ -39,7 +39,7 @@ var CreateIntegrationInputModel = defineSchemaModel({
|
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
// src/integration/integration.operations.ts
|
|
42
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
42
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
43
43
|
var CreateIntegrationContract = defineCommand({
|
|
44
44
|
meta: {
|
|
45
45
|
key: "integration.create",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const IntegrationListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
2
|
-
export declare const IntegrationDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
3
|
-
export declare const IntegrationHealthPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
4
|
-
//# sourceMappingURL=integration.presentation.d.ts.map
|
|
1
|
+
export declare const IntegrationListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
2
|
+
export declare const IntegrationDetailPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
3
|
+
export declare const IntegrationHealthPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
@@ -39,7 +39,10 @@ var CreateIntegrationInputModel = defineSchemaModel({
|
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
// src/integration/integration.presentation.ts
|
|
42
|
-
import {
|
|
42
|
+
import {
|
|
43
|
+
definePresentation,
|
|
44
|
+
StabilityEnum
|
|
45
|
+
} from "@contractspec/lib.contracts-spec";
|
|
43
46
|
var IntegrationListPresentation = definePresentation({
|
|
44
47
|
meta: {
|
|
45
48
|
key: "integration.list",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const IntegrationCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
2
|
-
export declare const SyncCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
3
|
-
export declare const EtlCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
4
|
-
//# sourceMappingURL=integration-hub.capability.d.ts.map
|
|
1
|
+
export declare const IntegrationCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
2
|
+
export declare const SyncCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
3
|
+
export declare const EtlCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/integration-hub.capability.ts
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
defineCapability,
|
|
5
|
+
StabilityEnum
|
|
6
|
+
} from "@contractspec/lib.contracts-spec";
|
|
4
7
|
var IntegrationCapability = defineCapability({
|
|
5
8
|
meta: {
|
|
6
9
|
key: "integration",
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const IntegrationHubFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
2
|
-
//# sourceMappingURL=integration-hub.feature.d.ts.map
|
|
1
|
+
export declare const IntegrationHubFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -44,7 +44,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.operation.ts
|
|
47
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
47
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
48
48
|
var OWNERS = ["@example.integration-hub"];
|
|
49
49
|
var CreateConnectionContract = defineCommand({
|
|
50
50
|
meta: {
|
|
@@ -44,7 +44,10 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.presentation.ts
|
|
47
|
-
import {
|
|
47
|
+
import {
|
|
48
|
+
definePresentation,
|
|
49
|
+
StabilityEnum
|
|
50
|
+
} from "@contractspec/lib.contracts-spec";
|
|
48
51
|
var ConnectionListPresentation = definePresentation({
|
|
49
52
|
meta: {
|
|
50
53
|
key: "integration.connection.list",
|
|
@@ -44,7 +44,7 @@ var CreateConnectionInputModel = defineSchemaModel({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
// src/connection/connection.operation.ts
|
|
47
|
-
import { defineCommand } from "@contractspec/lib.contracts/operations";
|
|
47
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec/operations";
|
|
48
48
|
var OWNERS = ["@example.integration-hub"];
|
|
49
49
|
var CreateConnectionContract = defineCommand({
|
|
50
50
|
meta: {
|
package/dist/node/docs/index.js
CHANGED
package/dist/node/events.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
2
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
3
3
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
4
4
|
var IntegrationCreatedPayload = defineSchemaModel({
|
|
5
5
|
name: "IntegrationCreatedPayload",
|
package/dist/node/example.js
CHANGED