@shipfox/api-integration-core-dto 2.0.0 → 3.0.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/contracts/event-catalog.d.ts +15 -0
- package/dist/contracts/event-catalog.d.ts.map +1 -0
- package/dist/contracts/event-catalog.js +3 -0
- package/dist/contracts/event-catalog.js.map +1 -0
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/contracts/event-catalog.ts +16 -0
- package/src/contracts/index.ts +5 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled:
|
|
2
|
+
Successfully compiled: 10 files with swc (385.62ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type IntegrationEventPayloadKind = 'raw-provider' | 'shipfox-normalized';
|
|
2
|
+
export interface IntegrationEventDoc {
|
|
3
|
+
name: string;
|
|
4
|
+
summary: string;
|
|
5
|
+
emittedWhen: string;
|
|
6
|
+
payloadKind: IntegrationEventPayloadKind;
|
|
7
|
+
payloadDocUrl?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface IntegrationEventCatalog {
|
|
10
|
+
provider: string;
|
|
11
|
+
passthrough?: boolean | undefined;
|
|
12
|
+
upstreamEventsDocUrl?: string | undefined;
|
|
13
|
+
events: readonly IntegrationEventDoc[];
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=event-catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-catalog.d.ts","sourceRoot":"","sources":["../../src/contracts/event-catalog.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,GAAG,cAAc,GAAG,oBAAoB,CAAC;AAEhF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,2BAA2B,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/contracts/event-catalog.ts"],"sourcesContent":["export type IntegrationEventPayloadKind = 'raw-provider' | 'shipfox-normalized';\n\nexport interface IntegrationEventDoc {\n name: string;\n summary: string;\n emittedWhen: string;\n payloadKind: IntegrationEventPayloadKind;\n payloadDocUrl?: string | undefined;\n}\n\nexport interface IntegrationEventCatalog {\n provider: string;\n passthrough?: boolean | undefined;\n upstreamEventsDocUrl?: string | undefined;\n events: readonly IntegrationEventDoc[];\n}\n"],"names":[],"mappings":"AAUA,WAKC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { IntegrationEventCatalog, IntegrationEventDoc, IntegrationEventPayloadKind, } from './event-catalog.js';
|
|
1
2
|
export type { AgentToolCallInput, AgentToolCatalogEntry, AgentToolCatalogMethod, AgentToolJsonSchema, AgentToolSelectionCatalog, AgentToolSelector, AgentToolSelectorKind, AgentToolSensitivity, AgentToolSession, AgentToolsProvider, CheckoutCredentials, CheckoutPermissions, CheckoutSpec, CreateCheckoutSpecInput, FetchFileInput, FileEntry, FilePage, FileSnapshot, IntegrationCapability, IntegrationConnection, IntegrationConnectionLifecycleStatus, IntegrationProvider, IntegrationProviderAdapters, IntegrationProviderErrorReason, IntegrationProviderKind, ListFilesInput, ListRepositoriesInput, OpenAgentToolsSessionInput, RegisteredIntegrationProvider, RepositoryPage, RepositorySnapshot, RepositoryVisibility, ResolveRepositoryInput, SourceControlProvider, } from './integrations.js';
|
|
2
3
|
export { buildProviderRepositoryId, IntegrationProviderError, MAX_REPOSITORY_FILE_BYTES, parseProviderRepositoryId, toIntegrationConnectionDto, } from './integrations.js';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,cAAc,EACd,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,mBAAmB,EACnB,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,uBAAuB,EACvB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,cAAc,EACd,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,mBAAmB,EACnB,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/contracts/index.ts"],"sourcesContent":["export type {\n AgentToolCallInput,\n AgentToolCatalogEntry,\n AgentToolCatalogMethod,\n AgentToolJsonSchema,\n AgentToolSelectionCatalog,\n AgentToolSelector,\n AgentToolSelectorKind,\n AgentToolSensitivity,\n AgentToolSession,\n AgentToolsProvider,\n CheckoutCredentials,\n CheckoutPermissions,\n CheckoutSpec,\n CreateCheckoutSpecInput,\n FetchFileInput,\n FileEntry,\n FilePage,\n FileSnapshot,\n IntegrationCapability,\n IntegrationConnection,\n IntegrationConnectionLifecycleStatus,\n IntegrationProvider,\n IntegrationProviderAdapters,\n IntegrationProviderErrorReason,\n IntegrationProviderKind,\n ListFilesInput,\n ListRepositoriesInput,\n OpenAgentToolsSessionInput,\n RegisteredIntegrationProvider,\n RepositoryPage,\n RepositorySnapshot,\n RepositoryVisibility,\n ResolveRepositoryInput,\n SourceControlProvider,\n} from './integrations.js';\nexport {\n buildProviderRepositoryId,\n IntegrationProviderError,\n MAX_REPOSITORY_FILE_BYTES,\n parseProviderRepositoryId,\n toIntegrationConnectionDto,\n} from './integrations.js';\n"],"names":["buildProviderRepositoryId","IntegrationProviderError","MAX_REPOSITORY_FILE_BYTES","parseProviderRepositoryId","toIntegrationConnectionDto"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/contracts/index.ts"],"sourcesContent":["export type {\n IntegrationEventCatalog,\n IntegrationEventDoc,\n IntegrationEventPayloadKind,\n} from './event-catalog.js';\nexport type {\n AgentToolCallInput,\n AgentToolCatalogEntry,\n AgentToolCatalogMethod,\n AgentToolJsonSchema,\n AgentToolSelectionCatalog,\n AgentToolSelector,\n AgentToolSelectorKind,\n AgentToolSensitivity,\n AgentToolSession,\n AgentToolsProvider,\n CheckoutCredentials,\n CheckoutPermissions,\n CheckoutSpec,\n CreateCheckoutSpecInput,\n FetchFileInput,\n FileEntry,\n FilePage,\n FileSnapshot,\n IntegrationCapability,\n IntegrationConnection,\n IntegrationConnectionLifecycleStatus,\n IntegrationProvider,\n IntegrationProviderAdapters,\n IntegrationProviderErrorReason,\n IntegrationProviderKind,\n ListFilesInput,\n ListRepositoriesInput,\n OpenAgentToolsSessionInput,\n RegisteredIntegrationProvider,\n RepositoryPage,\n RepositorySnapshot,\n RepositoryVisibility,\n ResolveRepositoryInput,\n SourceControlProvider,\n} from './integrations.js';\nexport {\n buildProviderRepositoryId,\n IntegrationProviderError,\n MAX_REPOSITORY_FILE_BYTES,\n parseProviderRepositoryId,\n toIntegrationConnectionDto,\n} from './integrations.js';\n"],"names":["buildProviderRepositoryId","IntegrationProviderError","MAX_REPOSITORY_FILE_BYTES","parseProviderRepositoryId","toIntegrationConnectionDto"],"mappings":"AAyCA,SACEA,yBAAyB,EACzBC,wBAAwB,EACxBC,yBAAyB,EACzBC,yBAAyB,EACzBC,0BAA0B,QACrB,oBAAoB"}
|