lakesync 0.1.3 → 0.1.4
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/adapter.d.ts +87 -9
- package/dist/adapter.js +8 -2
- package/dist/analyst.js +1 -1
- package/dist/{base-poller-Dfaj05py.d.ts → base-poller-CBvhdvcj.d.ts} +1 -1
- package/dist/catalogue.d.ts +1 -1
- package/dist/catalogue.js +2 -2
- package/dist/{chunk-HAR3YPCY.js → chunk-4LP2EWSC.js} +27 -9
- package/dist/chunk-4LP2EWSC.js.map +1 -0
- package/dist/{chunk-E7ZDOJCP.js → chunk-6OCFE42A.js} +2 -2
- package/dist/{chunk-C7ECMNQ4.js → chunk-B257DXIS.js} +1 -1
- package/dist/{chunk-C7ECMNQ4.js.map → chunk-B257DXIS.js.map} +1 -1
- package/dist/{chunk-265CMYJH.js → chunk-D7KSRAWK.js} +2 -2
- package/dist/{chunk-TIPMVLIG.js → chunk-H3BD4SMD.js} +2 -2
- package/dist/{chunk-SXQB6JT6.js → chunk-HJ2MOKJ5.js} +2 -2
- package/dist/{chunk-NCMXLWEW.js → chunk-LZ6R74PT.js} +337 -20
- package/dist/chunk-LZ6R74PT.js.map +1 -0
- package/dist/{chunk-L6LTCXJ4.js → chunk-VDBZ2AOS.js} +2 -2
- package/dist/client.d.ts +4 -4
- package/dist/client.js +3 -3
- package/dist/compactor.d.ts +1 -1
- package/dist/compactor.js +3 -3
- package/dist/connector-jira.d.ts +2 -2
- package/dist/connector-jira.js +2 -2
- package/dist/connector-salesforce.d.ts +2 -2
- package/dist/connector-salesforce.js +2 -2
- package/dist/{coordinator-CSbsqp5C.d.ts → coordinator-DFbyrQEU.d.ts} +1 -1
- package/dist/{db-types-CPAPw8Ws.d.ts → db-types-B6_JKQWK.d.ts} +1 -1
- package/dist/{gateway-Cej8JUh9.d.ts → gateway-CvO7Xy3T.d.ts} +5 -3
- package/dist/gateway-server.d.ts +4 -4
- package/dist/gateway-server.js +8 -8
- package/dist/gateway.d.ts +7 -6
- package/dist/gateway.js +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/parquet.d.ts +1 -1
- package/dist/parquet.js +2 -2
- package/dist/proto.d.ts +1 -1
- package/dist/proto.js +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{resolver-B10tk8Er.d.ts → resolver-BZURzdlL.d.ts} +1 -1
- package/dist/{src-VVCNNYND.js → src-2LUI4O6N.js} +3 -3
- package/dist/{src-TLTET7JZ.js → src-5ABL6A7J.js} +2 -2
- package/dist/{src-PPKRY5GD.js → src-CLFH5JSA.js} +3 -3
- package/dist/{types-BUzzVRD6.d.ts → types-GGBfZBKQ.d.ts} +3 -0
- package/package.json +1 -1
- package/dist/chunk-HAR3YPCY.js.map +0 -1
- package/dist/chunk-NCMXLWEW.js.map +0 -1
- /package/dist/{chunk-E7ZDOJCP.js.map → chunk-6OCFE42A.js.map} +0 -0
- /package/dist/{chunk-265CMYJH.js.map → chunk-D7KSRAWK.js.map} +0 -0
- /package/dist/{chunk-TIPMVLIG.js.map → chunk-H3BD4SMD.js.map} +0 -0
- /package/dist/{chunk-SXQB6JT6.js.map → chunk-HJ2MOKJ5.js.map} +0 -0
- /package/dist/{chunk-L6LTCXJ4.js.map → chunk-VDBZ2AOS.js.map} +0 -0
- /package/dist/{src-PPKRY5GD.js.map → src-2LUI4O6N.js.map} +0 -0
- /package/dist/{src-TLTET7JZ.js.map → src-5ABL6A7J.js.map} +0 -0
- /package/dist/{src-VVCNNYND.js.map → src-CLFH5JSA.js.map} +0 -0
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { R as Result, S as SchemaError, L as LakeSyncError, H as HLCTimestamp } from './result-CojzlFE2.js';
|
|
2
2
|
export { u as unwrapOrThrow } from './result-CojzlFE2.js';
|
|
3
|
-
import { T as TableSchema, R as RowDelta, S as SyncPush, b as SyncPull, c as SyncResponse } from './types-
|
|
4
|
-
import { S as SyncQueue, a as SyncCoordinatorConfig, b as SyncCoordinator, L as LocalDB, c as SyncTransport, D as DbError, A as ActionQueue, d as ActionQueueEntry, Q as QueueEntry, C as CheckpointResponse } from './coordinator-
|
|
5
|
-
export { e as ActionQueueEntryStatus, f as DbConfig, g as QueueEntryStatus, h as SyncEvents, i as SyncMode, j as SyncTracker, T as Transaction } from './coordinator-
|
|
3
|
+
import { T as TableSchema, R as RowDelta, S as SyncPush, b as SyncPull, c as SyncResponse } from './types-GGBfZBKQ.js';
|
|
4
|
+
import { S as SyncQueue, a as SyncCoordinatorConfig, b as SyncCoordinator, L as LocalDB, c as SyncTransport, D as DbError, A as ActionQueue, d as ActionQueueEntry, Q as QueueEntry, C as CheckpointResponse } from './coordinator-DFbyrQEU.js';
|
|
5
|
+
export { e as ActionQueueEntryStatus, f as DbConfig, g as QueueEntryStatus, h as SyncEvents, i as SyncMode, j as SyncTracker, T as Transaction } from './coordinator-DFbyrQEU.js';
|
|
6
6
|
import { A as Action, i as ActionPush, j as ActionResponse, d as ActionDiscovery, l as AuthContext, a as ActionValidationError } from './types-Bs-QyOe-.js';
|
|
7
|
-
import { C as ConflictResolver } from './resolver-
|
|
7
|
+
import { C as ConflictResolver } from './resolver-BZURzdlL.js';
|
|
8
8
|
import './hlc-DiD8QNG3.js';
|
|
9
9
|
|
|
10
10
|
/** Configuration for creating a LakeSync client via {@link createClient}. */
|
package/dist/client.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
decodeSyncResponse,
|
|
7
7
|
encodeSyncPull,
|
|
8
8
|
encodeSyncPush
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6OCFE42A.js";
|
|
10
10
|
import {
|
|
11
11
|
Err,
|
|
12
12
|
HLC,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
quoteIdentifier,
|
|
23
23
|
toError,
|
|
24
24
|
unwrapOrThrow
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-B257DXIS.js";
|
|
26
26
|
import "./chunk-7D4SUZUM.js";
|
|
27
27
|
|
|
28
28
|
// ../client/src/db/local-db.ts
|
|
@@ -1208,7 +1208,7 @@ var SyncCoordinator = class {
|
|
|
1208
1208
|
return;
|
|
1209
1209
|
}
|
|
1210
1210
|
const hlc = this.hlc.now();
|
|
1211
|
-
const { generateActionId } = await import("./src-
|
|
1211
|
+
const { generateActionId } = await import("./src-5ABL6A7J.js");
|
|
1212
1212
|
const actionId = await generateActionId({
|
|
1213
1213
|
clientId: this._clientId,
|
|
1214
1214
|
hlc,
|
package/dist/compactor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as HLCTimestamp, R as Result, L as LakeSyncError, F as FlushError } from './result-CojzlFE2.js';
|
|
2
|
-
import { T as TableSchema } from './types-
|
|
2
|
+
import { T as TableSchema } from './types-GGBfZBKQ.js';
|
|
3
3
|
import { L as LakeAdapter } from './types-DSC_EiwR.js';
|
|
4
4
|
|
|
5
5
|
/** Configuration for checkpoint generation */
|
package/dist/compactor.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeSyncResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6OCFE42A.js";
|
|
4
4
|
import {
|
|
5
5
|
readParquetToDeltas,
|
|
6
6
|
writeDeltasToParquet
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D7KSRAWK.js";
|
|
8
8
|
import {
|
|
9
9
|
Err,
|
|
10
10
|
FlushError,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
LakeSyncError,
|
|
13
13
|
Ok,
|
|
14
14
|
rowKey
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-B257DXIS.js";
|
|
16
16
|
import "./chunk-7D4SUZUM.js";
|
|
17
17
|
|
|
18
18
|
// ../compactor/src/checkpoint-generator.ts
|
package/dist/connector-jira.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as LakeSyncError, R as Result } from './result-CojzlFE2.js';
|
|
2
|
-
import { B as BaseSourcePoller, P as PushTarget } from './base-poller-
|
|
3
|
-
import { T as TableSchema } from './types-
|
|
2
|
+
import { B as BaseSourcePoller, P as PushTarget } from './base-poller-CBvhdvcj.js';
|
|
3
|
+
import { T as TableSchema } from './types-GGBfZBKQ.js';
|
|
4
4
|
import './hlc-DiD8QNG3.js';
|
|
5
5
|
|
|
6
6
|
/** HTTP error from the Jira REST API. */
|
package/dist/connector-jira.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as LakeSyncError, R as Result } from './result-CojzlFE2.js';
|
|
2
|
-
import { B as BaseSourcePoller, P as PushTarget } from './base-poller-
|
|
3
|
-
import { T as TableSchema } from './types-
|
|
2
|
+
import { B as BaseSourcePoller, P as PushTarget } from './base-poller-CBvhdvcj.js';
|
|
3
|
+
import { T as TableSchema } from './types-GGBfZBKQ.js';
|
|
4
4
|
import './hlc-DiD8QNG3.js';
|
|
5
5
|
|
|
6
6
|
/** HTTP error from the Salesforce REST API. */
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
mapLead,
|
|
10
10
|
mapOpportunity,
|
|
11
11
|
testConnection
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-VDBZ2AOS.js";
|
|
13
|
+
import "./chunk-B257DXIS.js";
|
|
14
14
|
import "./chunk-7D4SUZUM.js";
|
|
15
15
|
export {
|
|
16
16
|
SALESFORCE_TABLE_SCHEMAS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as LakeSyncError, R as Result, H as HLCTimestamp } from './result-CojzlFE2.js';
|
|
2
2
|
import { A as Action, i as ActionPush, j as ActionResponse, d as ActionDiscovery, k as ActionResult, e as ActionErrorResult } from './types-Bs-QyOe-.js';
|
|
3
3
|
import { H as HLC } from './hlc-DiD8QNG3.js';
|
|
4
|
-
import { R as RowDelta, S as SyncPush, b as SyncPull, c as SyncResponse } from './types-
|
|
4
|
+
import { R as RowDelta, S as SyncPush, b as SyncPull, c as SyncResponse } from './types-GGBfZBKQ.js';
|
|
5
5
|
|
|
6
6
|
/** Configuration for opening a local database */
|
|
7
7
|
interface DbConfig {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { R as Result, A as AdapterError, H as HLCTimestamp } from './result-CojzlFE2.js';
|
|
2
|
-
import { R as RowDelta, T as TableSchema } from './types-
|
|
2
|
+
import { R as RowDelta, T as TableSchema } from './types-GGBfZBKQ.js';
|
|
3
3
|
|
|
4
4
|
/** Configuration for a database adapter connection. */
|
|
5
5
|
interface DatabaseAdapterConfig {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { g as ActionHandler, i as ActionPush, l as AuthContext, j as ActionResponse, a as ActionValidationError, d as ActionDiscovery, b as SyncRulesContext } from './types-Bs-QyOe-.js';
|
|
2
2
|
import { H as HLCTimestamp, R as Result, S as SchemaError, b as ClockDriftError, B as BackpressureError, a as AdapterNotFoundError, A as AdapterError, F as FlushError } from './result-CojzlFE2.js';
|
|
3
|
-
import { I as IngestTarget } from './base-poller-
|
|
4
|
-
import { R as RowDelta, a as RowKey, T as TableSchema, S as SyncPush, b as SyncPull, c as SyncResponse } from './types-
|
|
5
|
-
import { D as DatabaseAdapter } from './db-types-
|
|
3
|
+
import { I as IngestTarget } from './base-poller-CBvhdvcj.js';
|
|
4
|
+
import { R as RowDelta, a as RowKey, T as TableSchema, S as SyncPush, b as SyncPull, c as SyncResponse } from './types-GGBfZBKQ.js';
|
|
5
|
+
import { D as DatabaseAdapter } from './db-types-B6_JKQWK.js';
|
|
6
6
|
import { L as LakeAdapter } from './types-DSC_EiwR.js';
|
|
7
7
|
import { N as NessieCatalogueClient } from './nessie-client-DrNikVXy.js';
|
|
8
8
|
|
|
@@ -191,6 +191,8 @@ interface GatewayConfig extends BufferConfig {
|
|
|
191
191
|
sourceAdapters?: Record<string, DatabaseAdapter>;
|
|
192
192
|
/** Named action handlers for imperative action execution. */
|
|
193
193
|
actionHandlers?: Record<string, ActionHandler>;
|
|
194
|
+
/** Table schemas for materialisation after flush. */
|
|
195
|
+
schemas?: ReadonlyArray<TableSchema>;
|
|
194
196
|
}
|
|
195
197
|
/** Gateway runtime state */
|
|
196
198
|
interface GatewayState {
|
package/dist/gateway-server.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { A as AuthClaims, a as AuthError, v as verifyToken } from './auth-CAVutXzx.js';
|
|
2
|
-
import { D as DatabaseAdapter } from './db-types-
|
|
3
|
-
import { S as SyncGateway } from './gateway-
|
|
4
|
-
import { R as RowDelta, c as SyncResponse } from './types-
|
|
2
|
+
import { D as DatabaseAdapter } from './db-types-B6_JKQWK.js';
|
|
3
|
+
import { S as SyncGateway } from './gateway-CvO7Xy3T.js';
|
|
4
|
+
import { R as RowDelta, c as SyncResponse } from './types-GGBfZBKQ.js';
|
|
5
5
|
import { L as LakeAdapter } from './types-DSC_EiwR.js';
|
|
6
6
|
import { H as HLCTimestamp } from './result-CojzlFE2.js';
|
|
7
7
|
import './types-Bs-QyOe-.js';
|
|
8
|
-
import './base-poller-
|
|
8
|
+
import './base-poller-CBvhdvcj.js';
|
|
9
9
|
import './hlc-DiD8QNG3.js';
|
|
10
10
|
import './nessie-client-DrNikVXy.js';
|
|
11
11
|
|
package/dist/gateway-server.js
CHANGED
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
handleSaveSchema,
|
|
15
15
|
handleSaveSyncRules,
|
|
16
16
|
handleUnregisterConnector
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4LP2EWSC.js";
|
|
18
18
|
import {
|
|
19
19
|
createDatabaseAdapter,
|
|
20
20
|
createQueryFn
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-LZ6R74PT.js";
|
|
22
|
+
import "./chunk-H3BD4SMD.js";
|
|
23
23
|
import {
|
|
24
24
|
TAG_SYNC_PULL,
|
|
25
25
|
TAG_SYNC_PUSH,
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
decodeSyncPush,
|
|
28
28
|
encodeBroadcastFrame,
|
|
29
29
|
encodeSyncResponse
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-6OCFE42A.js";
|
|
31
|
+
import "./chunk-D7KSRAWK.js";
|
|
32
32
|
import {
|
|
33
33
|
AuthError,
|
|
34
34
|
HLC,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
filterDeltas,
|
|
39
39
|
isActionHandler,
|
|
40
40
|
verifyToken
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B257DXIS.js";
|
|
42
42
|
import {
|
|
43
43
|
__commonJS,
|
|
44
44
|
__require,
|
|
@@ -4486,7 +4486,7 @@ var GatewayServer = class {
|
|
|
4486
4486
|
}
|
|
4487
4487
|
if (config.type === "jira" && config.jira) {
|
|
4488
4488
|
try {
|
|
4489
|
-
const { JiraSourcePoller } = await import("./src-
|
|
4489
|
+
const { JiraSourcePoller } = await import("./src-2LUI4O6N.js");
|
|
4490
4490
|
const ingestConfig = config.ingest ? { intervalMs: config.ingest.intervalMs } : void 0;
|
|
4491
4491
|
const poller = new JiraSourcePoller(config.jira, ingestConfig, config.name, this.gateway);
|
|
4492
4492
|
poller.start();
|
|
@@ -4502,7 +4502,7 @@ var GatewayServer = class {
|
|
|
4502
4502
|
}
|
|
4503
4503
|
if (config.type === "salesforce" && config.salesforce) {
|
|
4504
4504
|
try {
|
|
4505
|
-
const { SalesforceSourcePoller } = await import("./src-
|
|
4505
|
+
const { SalesforceSourcePoller } = await import("./src-CLFH5JSA.js");
|
|
4506
4506
|
const ingestConfig = config.ingest ? { intervalMs: config.ingest.intervalMs } : void 0;
|
|
4507
4507
|
const poller = new SalesforceSourcePoller(
|
|
4508
4508
|
config.salesforce,
|
package/dist/gateway.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { S as SyncRulesConfig, R as ResolvedClaims, b as SyncRulesContext, i as ActionPush } from './types-Bs-QyOe-.js';
|
|
2
2
|
export { d as ActionDiscovery, g as ActionHandler, j as ActionResponse, l as AuthContext } from './types-Bs-QyOe-.js';
|
|
3
|
-
export { I as IngestTarget, i as isIngestTarget } from './base-poller-
|
|
4
|
-
import { T as TableSchema, R as RowDelta, b as SyncPull, S as SyncPush } from './types-
|
|
5
|
-
export { c as SyncResponse } from './types-
|
|
3
|
+
export { I as IngestTarget, i as isIngestTarget } from './base-poller-CBvhdvcj.js';
|
|
4
|
+
import { T as TableSchema, R as RowDelta, b as SyncPull, S as SyncPush } from './types-GGBfZBKQ.js';
|
|
5
|
+
export { c as SyncResponse } from './types-GGBfZBKQ.js';
|
|
6
6
|
export { b as bigintReplacer, a as bigintReviver } from './json-dYtqiL0F.js';
|
|
7
|
-
import { S as SyncGateway } from './gateway-
|
|
8
|
-
export { A as ActionDispatcher, B as BufferConfig, D as DeltaBuffer, F as FlushEnvelope, G as GatewayConfig, a as GatewayState, H as HandlePushResult, b as SchemaManager } from './gateway-
|
|
7
|
+
import { S as SyncGateway } from './gateway-CvO7Xy3T.js';
|
|
8
|
+
export { A as ActionDispatcher, B as BufferConfig, D as DeltaBuffer, F as FlushEnvelope, G as GatewayConfig, a as GatewayState, H as HandlePushResult, b as SchemaManager } from './gateway-CvO7Xy3T.js';
|
|
9
9
|
import { C as ConnectorConfig } from './types-D-E0VrfS.js';
|
|
10
10
|
import { R as Result, F as FlushError, H as HLCTimestamp } from './result-CojzlFE2.js';
|
|
11
|
-
import { D as DatabaseAdapter } from './db-types-
|
|
11
|
+
import { D as DatabaseAdapter } from './db-types-B6_JKQWK.js';
|
|
12
12
|
import { L as LakeAdapter } from './types-DSC_EiwR.js';
|
|
13
13
|
import { N as NessieCatalogueClient } from './nessie-client-DrNikVXy.js';
|
|
14
14
|
import './hlc-DiD8QNG3.js';
|
|
@@ -70,6 +70,7 @@ interface FlushDeps {
|
|
|
70
70
|
adapter: LakeAdapter | DatabaseAdapter;
|
|
71
71
|
config: FlushConfig;
|
|
72
72
|
restoreEntries: (entries: RowDelta[]) => void;
|
|
73
|
+
schemas?: ReadonlyArray<TableSchema>;
|
|
73
74
|
}
|
|
74
75
|
/** Find the min and max HLC in a non-empty array of deltas. */
|
|
75
76
|
declare function hlcRange(entries: RowDelta[]): {
|
package/dist/gateway.js
CHANGED
|
@@ -30,15 +30,15 @@ import {
|
|
|
30
30
|
validateActionBody,
|
|
31
31
|
validatePushBody,
|
|
32
32
|
validateSchemaBody
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-4LP2EWSC.js";
|
|
34
|
+
import "./chunk-LZ6R74PT.js";
|
|
35
|
+
import "./chunk-H3BD4SMD.js";
|
|
36
|
+
import "./chunk-D7KSRAWK.js";
|
|
37
37
|
import {
|
|
38
38
|
bigintReplacer,
|
|
39
39
|
bigintReviver,
|
|
40
40
|
isIngestTarget
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B257DXIS.js";
|
|
42
42
|
import "./chunk-7D4SUZUM.js";
|
|
43
43
|
export {
|
|
44
44
|
ActionDispatcher,
|
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export { c as ActionDescriptor, d as ActionDiscovery, e as ActionErrorResult, f
|
|
|
3
3
|
import { H as HLCTimestamp, R as Result, C as ConflictError, L as LakeSyncError, S as SchemaError } from './result-CojzlFE2.js';
|
|
4
4
|
export { A as AdapterError, a as AdapterNotFoundError, B as BackpressureError, b as ClockDriftError, E as Err, F as FlushError, O as Ok, f as flatMapResult, c as fromPromise, m as mapResult, t as toError, u as unwrapOrThrow } from './result-CojzlFE2.js';
|
|
5
5
|
export { A as AuthClaims, a as AuthError, v as verifyToken } from './auth-CAVutXzx.js';
|
|
6
|
-
import { P as PushTarget, B as BaseSourcePoller } from './base-poller-
|
|
7
|
-
export { I as IngestTarget, a as PollerMemoryConfig, i as isIngestTarget } from './base-poller-
|
|
8
|
-
import { S as SyncPush, R as RowDelta, T as TableSchema } from './types-
|
|
9
|
-
export { C as ColumnDelta, D as DeltaOp, a as RowKey, b as SyncPull, c as SyncResponse, r as rowKey } from './types-
|
|
10
|
-
import { C as ConflictResolver } from './resolver-
|
|
6
|
+
import { P as PushTarget, B as BaseSourcePoller } from './base-poller-CBvhdvcj.js';
|
|
7
|
+
export { I as IngestTarget, a as PollerMemoryConfig, i as isIngestTarget } from './base-poller-CBvhdvcj.js';
|
|
8
|
+
import { S as SyncPush, R as RowDelta, T as TableSchema } from './types-GGBfZBKQ.js';
|
|
9
|
+
export { C as ColumnDelta, D as DeltaOp, a as RowKey, b as SyncPull, c as SyncResponse, r as rowKey } from './types-GGBfZBKQ.js';
|
|
10
|
+
import { C as ConflictResolver } from './resolver-BZURzdlL.js';
|
|
11
11
|
import { C as ConnectorConfig } from './types-D-E0VrfS.js';
|
|
12
12
|
export { B as BigQueryConnectorConfig, a as CONNECTOR_TYPES, b as ConnectorIngestConfig, c as ConnectorIngestTable, d as ConnectorType, J as JiraConnectorConfig, M as MySQLConnectorConfig, P as PostgresConnectorConfig, S as SalesforceConnectorConfig } from './types-D-E0VrfS.js';
|
|
13
13
|
export { H as HLC } from './hlc-DiD8QNG3.js';
|
package/dist/index.js
CHANGED
package/dist/parquet.d.ts
CHANGED
package/dist/parquet.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
deltasToArrowTable,
|
|
4
4
|
readParquetToDeltas,
|
|
5
5
|
writeDeltasToParquet
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-D7KSRAWK.js";
|
|
7
|
+
import "./chunk-B257DXIS.js";
|
|
8
8
|
import "./chunk-7D4SUZUM.js";
|
|
9
9
|
export {
|
|
10
10
|
buildArrowSchema,
|
package/dist/proto.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as HLCTimestamp, R as Result } from './result-CojzlFE2.js';
|
|
2
2
|
import { i as ActionPush$1, j as ActionResponse$1 } from './types-Bs-QyOe-.js';
|
|
3
|
-
import { R as RowDelta$1 } from './types-
|
|
3
|
+
import { R as RowDelta$1 } from './types-GGBfZBKQ.js';
|
|
4
4
|
import { GenMessage, GenEnum } from '@bufbuild/protobuf/codegenv2';
|
|
5
5
|
import { Message } from '@bufbuild/protobuf';
|
|
6
6
|
|
package/dist/proto.js
CHANGED
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
encodeSyncPull,
|
|
30
30
|
encodeSyncPush,
|
|
31
31
|
encodeSyncResponse
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-6OCFE42A.js";
|
|
33
|
+
import "./chunk-B257DXIS.js";
|
|
34
34
|
import "./chunk-7D4SUZUM.js";
|
|
35
35
|
export {
|
|
36
36
|
ActionPushSchema,
|
package/dist/react.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { b as SyncCoordinator, j as SyncTracker, D as DbError } from './coordinator-
|
|
2
|
+
import { b as SyncCoordinator, j as SyncTracker, D as DbError } from './coordinator-DFbyrQEU.js';
|
|
3
3
|
import { L as LakeSyncError, R as Result } from './result-CojzlFE2.js';
|
|
4
4
|
import { c as ActionDescriptor, k as ActionResult, e as ActionErrorResult } from './types-Bs-QyOe-.js';
|
|
5
5
|
import './hlc-DiD8QNG3.js';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-GGBfZBKQ.js';
|
|
7
7
|
|
|
8
8
|
/** Internal context value shared across all hooks. */
|
|
9
9
|
interface LakeSyncContextValue {
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
mapIssue,
|
|
9
9
|
mapProject,
|
|
10
10
|
testConnection
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-HJ2MOKJ5.js";
|
|
12
|
+
import "./chunk-B257DXIS.js";
|
|
13
13
|
import "./chunk-7D4SUZUM.js";
|
|
14
14
|
export {
|
|
15
15
|
JIRA_TABLE_SCHEMAS,
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
mapProject,
|
|
23
23
|
testConnection
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=src-
|
|
25
|
+
//# sourceMappingURL=src-2LUI4O6N.js.map
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
validateConnectorConfig,
|
|
51
51
|
validateSyncRules,
|
|
52
52
|
verifyToken
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-B257DXIS.js";
|
|
54
54
|
import "./chunk-7D4SUZUM.js";
|
|
55
55
|
export {
|
|
56
56
|
ActionExecutionError,
|
|
@@ -105,4 +105,4 @@ export {
|
|
|
105
105
|
validateSyncRules,
|
|
106
106
|
verifyToken
|
|
107
107
|
};
|
|
108
|
-
//# sourceMappingURL=src-
|
|
108
|
+
//# sourceMappingURL=src-5ABL6A7J.js.map
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
mapLead,
|
|
10
10
|
mapOpportunity,
|
|
11
11
|
testConnection
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-VDBZ2AOS.js";
|
|
13
|
+
import "./chunk-B257DXIS.js";
|
|
14
14
|
import "./chunk-7D4SUZUM.js";
|
|
15
15
|
export {
|
|
16
16
|
SALESFORCE_TABLE_SCHEMAS,
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
mapOpportunity,
|
|
25
25
|
testConnection
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=src-
|
|
27
|
+
//# sourceMappingURL=src-CLFH5JSA.js.map
|
|
@@ -28,7 +28,10 @@ interface RowDelta {
|
|
|
28
28
|
}
|
|
29
29
|
/** Minimal schema for Phase 1. Column allow-list + type hints. */
|
|
30
30
|
interface TableSchema {
|
|
31
|
+
/** Destination table name (what gets created in the database). */
|
|
31
32
|
table: string;
|
|
33
|
+
/** Delta table name to match against. Defaults to `table` when omitted. Use to rename destination tables. */
|
|
34
|
+
sourceTable?: string;
|
|
32
35
|
columns: Array<{
|
|
33
36
|
name: string;
|
|
34
37
|
type: "string" | "number" | "boolean" | "json" | "null";
|