@useairfoil/connector-kit 0.5.1 → 0.5.3
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/connector-app/index.d.ts +2 -2
- package/dist/{index-CTLYQ74P.d.ts → index-Cq2IzY7T.d.ts} +3 -3
- package/dist/{index-fIIBVAai.d.ts → index-DKWIh6M1.d.ts} +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/status/index.d.ts +1 -1
- package/dist/webhook/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -9,6 +9,6 @@ import "../index-CBT-JX-T.js";
|
|
|
9
9
|
import "../metrics-CVAk1ALR.js";
|
|
10
10
|
import "../index-Byr0Lf0C.js";
|
|
11
11
|
import "../index-o1-Z3n7V.js";
|
|
12
|
-
import "../index-
|
|
13
|
-
import "../index-
|
|
12
|
+
import "../index-Cq2IzY7T.js";
|
|
13
|
+
import "../index-DKWIh6M1.js";
|
|
14
14
|
export { App, CheckOptions, CheckResult, ResourceCheckResult, StartOptions, check, start };
|
|
@@ -2,10 +2,10 @@ import { n as ConnectorDefinition } from "./types-B35J5YPu.js";
|
|
|
2
2
|
import { i as StateStore } from "./index-Coh_SkBs.js";
|
|
3
3
|
import { Schema } from "effect";
|
|
4
4
|
import { HttpRouter } from "effect/unstable/http";
|
|
5
|
-
import * as
|
|
5
|
+
import * as effect_Layer0 from "effect/Layer";
|
|
6
6
|
|
|
7
7
|
//#region src/status/route.d.ts
|
|
8
|
-
declare const statusRoute: (connector: ConnectorDefinition, path?: HttpRouter.PathInput) =>
|
|
8
|
+
declare const statusRoute: (connector: ConnectorDefinition, path?: HttpRouter.PathInput) => effect_Layer0.Layer<never, never, HttpRouter.HttpRouter | HttpRouter.Request<"Requires", StateStore>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/status/types.d.ts
|
|
11
11
|
declare const SyncStateSchema: Schema.Literals<readonly ["pending", "backfilling", "live", "error"]>;
|
|
@@ -77,4 +77,4 @@ declare namespace index_d_exports {
|
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
79
|
export { ResourceStatusSchema as a, StatusUnavailableResponse as c, SyncStateSchema as d, statusRoute as f, ResourceStatus as i, StatusUnavailableResponseSchema as l, ResourceError as n, StatusResponse as o, ResourceErrorSchema as r, StatusResponseSchema as s, index_d_exports as t, SyncState as u };
|
|
80
|
-
//# sourceMappingURL=index-
|
|
80
|
+
//# sourceMappingURL=index-Cq2IzY7T.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { C as WebhookRouteInput, S as WebhookRouteContext, c as ResourceBatch, l
|
|
|
2
2
|
import { i as Publisher } from "./service-IE5qaf9x.js";
|
|
3
3
|
import { Context, Queue } from "effect";
|
|
4
4
|
import { HttpRouter } from "effect/unstable/http";
|
|
5
|
-
import * as
|
|
5
|
+
import * as effect_Layer1 from "effect/Layer";
|
|
6
6
|
|
|
7
7
|
//#region src/webhook/server.d.ts
|
|
8
8
|
type QueuedWebhookBatch = {
|
|
@@ -15,11 +15,11 @@ declare const WebhookQueue_base: Context.ServiceClass<WebhookQueue, "@useairfoil
|
|
|
15
15
|
declare class WebhookQueue extends WebhookQueue_base {}
|
|
16
16
|
declare const router: (routes: ReadonlyArray<WebhookRoute>, options: {
|
|
17
17
|
readonly connectorName: string;
|
|
18
|
-
}) =>
|
|
18
|
+
}) => effect_Layer1.Layer<never, never, HttpRouter.HttpRouter | HttpRouter.Request<"Requires", Publisher> | HttpRouter.Request<"Requires", WebhookQueue>>;
|
|
19
19
|
declare namespace index_d_exports {
|
|
20
20
|
export { WebhookAckMode, WebhookRoute, WebhookRouteContext, WebhookRouteInput, route, router };
|
|
21
21
|
}
|
|
22
22
|
declare const route: <const Resources extends ReadonlyArray<ResourceDefinition>, Payload>(definition: WebhookRouteInput<Resources, Payload>) => WebhookRoute<Resources, Payload>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { route as n, router as r, index_d_exports as t };
|
|
25
|
-
//# sourceMappingURL=index-
|
|
25
|
+
//# sourceMappingURL=index-DKWIh6M1.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ import { t as index_d_exports$3 } from "./index-CBT-JX-T.js";
|
|
|
9
9
|
import { g as metrics_d_exports } from "./metrics-CVAk1ALR.js";
|
|
10
10
|
import { t as index_d_exports$4 } from "./index-Byr0Lf0C.js";
|
|
11
11
|
import { t as index_d_exports$5 } from "./index-o1-Z3n7V.js";
|
|
12
|
-
import { t as index_d_exports$7 } from "./index-
|
|
13
|
-
import { t as index_d_exports$8 } from "./index-
|
|
12
|
+
import { t as index_d_exports$7 } from "./index-Cq2IzY7T.js";
|
|
13
|
+
import { t as index_d_exports$8 } from "./index-DKWIh6M1.js";
|
|
14
14
|
export { index_d_exports as Auth, ChangesFetch, Connector, index_d_exports$1 as ConnectorApp, ConnectorDefinition, ConnectorError, Cursor, Cursor$1 as CursorTypes, Fetch, FetchChangesResult, FetchPageResult, index_d_exports$2 as Ingestion, index_d_exports$3 as Manifest, metrics_d_exports as Metrics, PageFetch, index_d_exports$4 as Publisher, Resource, ResourceBatch, ResourceDefinition, ResourceField, ResourceMutation, ResourcePayload, ResourceRow, ResourceRows, ResourceSchema, ResourceState, index_d_exports$5 as RuntimeConfig, index_d_exports$6 as StateStore, index_d_exports$7 as Status, telemetry_d_exports as Telemetry, index_d_exports$8 as Webhook, WebhookAckMode, WebhookHandler, WebhookRoute, WebhookRouteContext };
|
package/dist/status/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../index-D54ySAKn.js";
|
|
2
2
|
import "../types-B35J5YPu.js";
|
|
3
3
|
import "../index-Coh_SkBs.js";
|
|
4
|
-
import { a as ResourceStatusSchema, c as StatusUnavailableResponse, d as SyncStateSchema, f as statusRoute, i as ResourceStatus, l as StatusUnavailableResponseSchema, n as ResourceError, o as StatusResponse, r as ResourceErrorSchema, s as StatusResponseSchema, u as SyncState } from "../index-
|
|
4
|
+
import { a as ResourceStatusSchema, c as StatusUnavailableResponse, d as SyncStateSchema, f as statusRoute, i as ResourceStatus, l as StatusUnavailableResponseSchema, n as ResourceError, o as StatusResponse, r as ResourceErrorSchema, s as StatusResponseSchema, u as SyncState } from "../index-Cq2IzY7T.js";
|
|
5
5
|
export { ResourceError, ResourceErrorSchema, ResourceStatus, ResourceStatusSchema, StatusResponse, StatusResponseSchema, StatusUnavailableResponse, StatusUnavailableResponseSchema, SyncState, SyncStateSchema, statusRoute };
|
package/dist/webhook/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import "../index-D54ySAKn.js";
|
|
|
2
2
|
import { C as WebhookRouteInput, S as WebhookRouteContext, x as WebhookRoute, y as WebhookAckMode } from "../types-B35J5YPu.js";
|
|
3
3
|
import "../service-IE5qaf9x.js";
|
|
4
4
|
import "../index-Byr0Lf0C.js";
|
|
5
|
-
import { n as route, r as router } from "../index-
|
|
5
|
+
import { n as route, r as router } from "../index-DKWIh6M1.js";
|
|
6
6
|
export { WebhookAckMode, WebhookRoute, WebhookRouteContext, WebhookRouteInput, route, router };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useairfoil/connector-kit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"repository": "useairfoil/typescript-sdk",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"@effect/platform-node": "^4.0.0-rc.108",
|
|
84
|
-
"@useairfoil/flight": "0.4.
|
|
85
|
-
"@useairfoil/wings": "0.4.
|
|
84
|
+
"@useairfoil/flight": "0.4.6",
|
|
85
|
+
"@useairfoil/wings": "0.4.4"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@effect/sql-pg": "^4.0.0-rc.108",
|