@superdurable/connector-airtable 0.0.0-stage → 0.1.1

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/mock.d.ts ADDED
@@ -0,0 +1,118 @@
1
+ import { MockQuery, MockMutation, Case } from '@superdurable/connectors-sdk/connectormock';
2
+ import { Failure } from '@superdurable/connectors-sdk';
3
+ import { O as Operations, C as Connection, L as ListRecordsInput, a as RecordPage, G as GetRecordInput, R as Record, c as UpsertRecordsInput, d as UpsertedRecords, U as UpdateRecordsInput, b as UpdatedRecords, F as FieldEqualityFilter, n as RecordSort, p as RecordUpdate, r as RecordUpsert } from './connection-C93OyKtn.js';
4
+ import 'zod';
5
+
6
+ /** Go zero value for FieldEqualityFilter in scripted cases. */
7
+ declare const emptyFieldEqualityFilter: FieldEqualityFilter;
8
+ /** Go zero value for RecordSort in scripted cases. */
9
+ declare const emptyRecordSort: RecordSort;
10
+ /** Go zero value for ListRecordsInput in scripted cases. */
11
+ declare const emptyListRecordsInput: ListRecordsInput;
12
+ /** Go zero value for Record in scripted cases. */
13
+ declare const emptyRecord: Record;
14
+ /** Go zero value for RecordPage in scripted cases. */
15
+ declare const emptyRecordPage: RecordPage;
16
+ /** Go zero value for GetRecordInput in scripted cases. */
17
+ declare const emptyGetRecordInput: GetRecordInput;
18
+ /** Go zero value for RecordUpsert in scripted cases. */
19
+ declare const emptyRecordUpsert: RecordUpsert;
20
+ /** Go zero value for UpsertRecordsInput in scripted cases. */
21
+ declare const emptyUpsertRecordsInput: UpsertRecordsInput;
22
+ /** Go zero value for UpsertedRecords in scripted cases. */
23
+ declare const emptyUpsertedRecords: UpsertedRecords;
24
+ /** Go zero value for RecordUpdate in scripted cases. */
25
+ declare const emptyRecordUpdate: RecordUpdate;
26
+ /** Go zero value for UpdateRecordsInput in scripted cases. */
27
+ declare const emptyUpdateRecordsInput: UpdateRecordsInput;
28
+ /** Go zero value for UpdatedRecords in scripted cases. */
29
+ declare const emptyUpdatedRecords: UpdatedRecords;
30
+ /** Script the listed branch. */
31
+ declare function listRecordsListed(value: RecordPage, failure?: Failure): Case<RecordPage>;
32
+ /** Script the offsetExpired branch. */
33
+ declare function listRecordsOffsetExpired(value: RecordPage, failure?: Failure): Case<RecordPage>;
34
+ /** Script the providerRejected branch. */
35
+ declare function listRecordsProviderRejected(value: RecordPage, failure?: Failure): Case<RecordPage>;
36
+ /** Script the invalidResponse branch. */
37
+ declare function listRecordsInvalidResponse(value: RecordPage, failure?: Failure): Case<RecordPage>;
38
+ /** Script the defect branch. */
39
+ declare function listRecordsDefect(value: RecordPage, failure?: Failure): Case<RecordPage>;
40
+ /** Script a safe retry of listRecords. */
41
+ declare function listRecordsRetry(failure: Failure, retryAfterMs?: number): Case<RecordPage>;
42
+ /** Manifest scenario standardRefundPolicy for listRecords. */
43
+ declare function listRecordsStandardRefundPolicy(): Case<RecordPage>;
44
+ /** Default listRecords scenario. */
45
+ declare function listRecordsDefault(): Case<RecordPage>;
46
+ /** Manifest scenario expiredPolicyOffset for listRecords. */
47
+ declare function listRecordsExpiredPolicyOffset(): Case<RecordPage>;
48
+ /** Manifest scenario policyListDenied for listRecords. */
49
+ declare function listRecordsPolicyListDenied(): Case<RecordPage>;
50
+ /** Script the found branch. */
51
+ declare function getRecordFound(value: Record, failure?: Failure): Case<Record>;
52
+ /** Script the notFound branch. */
53
+ declare function getRecordNotFound(value: Record, failure?: Failure): Case<Record>;
54
+ /** Script the providerRejected branch. */
55
+ declare function getRecordProviderRejected(value: Record, failure?: Failure): Case<Record>;
56
+ /** Script the invalidResponse branch. */
57
+ declare function getRecordInvalidResponse(value: Record, failure?: Failure): Case<Record>;
58
+ /** Script the defect branch. */
59
+ declare function getRecordDefect(value: Record, failure?: Failure): Case<Record>;
60
+ /** Script a safe retry of getRecord. */
61
+ declare function getRecordRetry(failure: Failure, retryAfterMs?: number): Case<Record>;
62
+ /** Manifest scenario approvedDecisionLog for getRecord. */
63
+ declare function getRecordApprovedDecisionLog(): Case<Record>;
64
+ /** Default getRecord scenario. */
65
+ declare function getRecordDefault(): Case<Record>;
66
+ /** Manifest scenario missingDecisionLog for getRecord. */
67
+ declare function getRecordMissingDecisionLog(): Case<Record>;
68
+ /** Manifest scenario decisionReadDenied for getRecord. */
69
+ declare function getRecordDecisionReadDenied(): Case<Record>;
70
+ /** Script the upserted branch. */
71
+ declare function upsertRecordsUpserted(value: UpsertedRecords, failure?: Failure): Case<UpsertedRecords>;
72
+ /** Script the providerRejected branch. */
73
+ declare function upsertRecordsProviderRejected(value: UpsertedRecords, failure?: Failure): Case<UpsertedRecords>;
74
+ /** Script the invalidResponse branch. */
75
+ declare function upsertRecordsInvalidResponse(value: UpsertedRecords, failure?: Failure): Case<UpsertedRecords>;
76
+ /** Script the defect branch. */
77
+ declare function upsertRecordsDefect(value: UpsertedRecords, failure?: Failure): Case<UpsertedRecords>;
78
+ /** Script a safe retry of upsertRecords. */
79
+ declare function upsertRecordsRetry(failure: Failure, retryAfterMs?: number): Case<UpsertedRecords>;
80
+ /** Manifest scenario loggedApprovedRefund for upsertRecords. */
81
+ declare function upsertRecordsLoggedApprovedRefund(): Case<UpsertedRecords>;
82
+ /** Default upsertRecords scenario. */
83
+ declare function upsertRecordsDefault(): Case<UpsertedRecords>;
84
+ /** Manifest scenario decisionUpsertDenied for upsertRecords. */
85
+ declare function upsertRecordsDecisionUpsertDenied(): Case<UpsertedRecords>;
86
+ /** Script the updated branch. */
87
+ declare function updateRecordsUpdated(value: UpdatedRecords, failure?: Failure): Case<UpdatedRecords>;
88
+ /** Script the notFound branch. */
89
+ declare function updateRecordsNotFound(value: UpdatedRecords, failure?: Failure): Case<UpdatedRecords>;
90
+ /** Script the providerRejected branch. */
91
+ declare function updateRecordsProviderRejected(value: UpdatedRecords, failure?: Failure): Case<UpdatedRecords>;
92
+ /** Script the invalidResponse branch. */
93
+ declare function updateRecordsInvalidResponse(value: UpdatedRecords, failure?: Failure): Case<UpdatedRecords>;
94
+ /** Script the defect branch. */
95
+ declare function updateRecordsDefect(value: UpdatedRecords, failure?: Failure): Case<UpdatedRecords>;
96
+ /** Script a safe retry of updateRecords. */
97
+ declare function updateRecordsRetry(failure: Failure, retryAfterMs?: number): Case<UpdatedRecords>;
98
+ /** Manifest scenario stampedStandardPolicy for updateRecords. */
99
+ declare function updateRecordsStampedStandardPolicy(): Case<UpdatedRecords>;
100
+ /** Default updateRecords scenario. */
101
+ declare function updateRecordsDefault(): Case<UpdatedRecords>;
102
+ /** Manifest scenario missingPolicyStamp for updateRecords. */
103
+ declare function updateRecordsMissingPolicyStamp(): Case<UpdatedRecords>;
104
+ /** Manifest scenario policyStampDenied for updateRecords. */
105
+ declare function updateRecordsPolicyStampDenied(): Case<UpdatedRecords>;
106
+ /** Scripted operations and manifest defaults for this connector. */
107
+ declare class GeneratedMock implements Operations {
108
+ #private;
109
+ constructor(connectionName: string);
110
+ connection(): Connection;
111
+ listRecords(): MockQuery<ListRecordsInput, RecordPage>;
112
+ getRecord(): MockQuery<GetRecordInput, Record>;
113
+ upsertRecords(): MockMutation<UpsertRecordsInput, UpsertedRecords>;
114
+ updateRecords(): MockMutation<UpdateRecordsInput, UpdatedRecords>;
115
+ assertNoFailures(): void;
116
+ }
117
+
118
+ export { GeneratedMock, emptyFieldEqualityFilter, emptyGetRecordInput, emptyListRecordsInput, emptyRecord, emptyRecordPage, emptyRecordSort, emptyRecordUpdate, emptyRecordUpsert, emptyUpdateRecordsInput, emptyUpdatedRecords, emptyUpsertRecordsInput, emptyUpsertedRecords, getRecordApprovedDecisionLog, getRecordDecisionReadDenied, getRecordDefault, getRecordDefect, getRecordFound, getRecordInvalidResponse, getRecordMissingDecisionLog, getRecordNotFound, getRecordProviderRejected, getRecordRetry, listRecordsDefault, listRecordsDefect, listRecordsExpiredPolicyOffset, listRecordsInvalidResponse, listRecordsListed, listRecordsOffsetExpired, listRecordsPolicyListDenied, listRecordsProviderRejected, listRecordsRetry, listRecordsStandardRefundPolicy, updateRecordsDefault, updateRecordsDefect, updateRecordsInvalidResponse, updateRecordsMissingPolicyStamp, updateRecordsNotFound, updateRecordsPolicyStampDenied, updateRecordsProviderRejected, updateRecordsRetry, updateRecordsStampedStandardPolicy, updateRecordsUpdated, upsertRecordsDecisionUpsertDenied, upsertRecordsDefault, upsertRecordsDefect, upsertRecordsInvalidResponse, upsertRecordsLoggedApprovedRefund, upsertRecordsProviderRejected, upsertRecordsRetry, upsertRecordsUpserted };
package/dist/mock.js ADDED
@@ -0,0 +1,286 @@
1
+ import {
2
+ ConnectorID,
3
+ FieldEqualityFilterSchema,
4
+ GetRecordDefinition,
5
+ GetRecordInputSchema,
6
+ ListRecordsDefinition,
7
+ ListRecordsInputSchema,
8
+ ProviderID,
9
+ RecordPageSchema,
10
+ RecordSchema,
11
+ RecordSortSchema,
12
+ RecordUpdateSchema,
13
+ RecordUpsertSchema,
14
+ UpdateRecordsDefinition,
15
+ UpdateRecordsInputSchema,
16
+ UpdatedRecordsSchema,
17
+ UpsertRecordsDefinition,
18
+ UpsertRecordsInputSchema,
19
+ UpsertedRecordsSchema,
20
+ newConnectionWithOperations
21
+ } from "./chunk-T4RPDDJS.js";
22
+
23
+ // src/generated/mock.ts
24
+ import { branchCase, retryCase, newMutation, newQuery } from "@superdurable/connectors-sdk/connectormock";
25
+ var emptyFieldEqualityFilter = FieldEqualityFilterSchema.parse({
26
+ "field": ""
27
+ });
28
+ var emptyRecordSort = RecordSortSchema.parse({
29
+ "field": ""
30
+ });
31
+ var emptyListRecordsInput = ListRecordsInputSchema.parse({
32
+ "baseId": "",
33
+ "tableIdOrName": ""
34
+ });
35
+ var emptyRecord = RecordSchema.parse({
36
+ "id": "",
37
+ "createdTime": "0001-01-01T00:00:00Z",
38
+ "fields": {}
39
+ });
40
+ var emptyRecordPage = RecordPageSchema.parse({
41
+ "records": []
42
+ });
43
+ var emptyGetRecordInput = GetRecordInputSchema.parse({
44
+ "baseId": "",
45
+ "tableIdOrName": "",
46
+ "recordId": ""
47
+ });
48
+ var emptyRecordUpsert = RecordUpsertSchema.parse({
49
+ "fields": {}
50
+ });
51
+ var emptyUpsertRecordsInput = UpsertRecordsInputSchema.parse({
52
+ "baseId": "",
53
+ "tableIdOrName": "",
54
+ "fieldsToMergeOn": [],
55
+ "records": []
56
+ });
57
+ var emptyUpsertedRecords = UpsertedRecordsSchema.parse({
58
+ "records": [],
59
+ "createdRecordIds": [],
60
+ "updatedRecordIds": []
61
+ });
62
+ var emptyRecordUpdate = RecordUpdateSchema.parse({
63
+ "id": "",
64
+ "fields": {}
65
+ });
66
+ var emptyUpdateRecordsInput = UpdateRecordsInputSchema.parse({
67
+ "baseId": "",
68
+ "tableIdOrName": "",
69
+ "records": []
70
+ });
71
+ var emptyUpdatedRecords = UpdatedRecordsSchema.parse({
72
+ "records": []
73
+ });
74
+ function listRecordsListed(value, failure) {
75
+ return branchCase("listed", value, failure);
76
+ }
77
+ function listRecordsOffsetExpired(value, failure) {
78
+ return branchCase("offsetExpired", value, failure);
79
+ }
80
+ function listRecordsProviderRejected(value, failure) {
81
+ return branchCase("providerRejected", value, failure);
82
+ }
83
+ function listRecordsInvalidResponse(value, failure) {
84
+ return branchCase("invalidResponse", value, failure);
85
+ }
86
+ function listRecordsDefect(value, failure) {
87
+ return branchCase("defect", value, failure);
88
+ }
89
+ function listRecordsRetry(failure, retryAfterMs = 0) {
90
+ return retryCase(failure, retryAfterMs);
91
+ }
92
+ function listRecordsStandardRefundPolicy() {
93
+ const value = emptyRecordPage;
94
+ return branchCase("listed", value);
95
+ }
96
+ function listRecordsDefault() {
97
+ return listRecordsStandardRefundPolicy();
98
+ }
99
+ function listRecordsExpiredPolicyOffset() {
100
+ const value = emptyRecordPage;
101
+ return branchCase("offsetExpired", value, { kind: "NOT_FOUND", provider: ConnectorID, operation: "listRecords", message: "Airtable no longer recognizes the list offset." });
102
+ }
103
+ function listRecordsPolicyListDenied() {
104
+ const value = emptyRecordPage;
105
+ return branchCase("providerRejected", value, { kind: "AUTHORIZATION", provider: ConnectorID, operation: "listRecords", message: "Airtable denied the policy listing." });
106
+ }
107
+ function getRecordFound(value, failure) {
108
+ return branchCase("found", value, failure);
109
+ }
110
+ function getRecordNotFound(value, failure) {
111
+ return branchCase("notFound", value, failure);
112
+ }
113
+ function getRecordProviderRejected(value, failure) {
114
+ return branchCase("providerRejected", value, failure);
115
+ }
116
+ function getRecordInvalidResponse(value, failure) {
117
+ return branchCase("invalidResponse", value, failure);
118
+ }
119
+ function getRecordDefect(value, failure) {
120
+ return branchCase("defect", value, failure);
121
+ }
122
+ function getRecordRetry(failure, retryAfterMs = 0) {
123
+ return retryCase(failure, retryAfterMs);
124
+ }
125
+ function getRecordApprovedDecisionLog() {
126
+ const value = RecordSchema.parse({ "createdTime": "2026-10-25T09:01:00Z", "fields": { "Amount USD": 120, "Case ID": "case-approved", "Customer": "Jane Doe", "Decision": "approved", "Policy": ["recPolicyStandard"] }, "id": "recDecisionLog001" });
127
+ return branchCase("found", value);
128
+ }
129
+ function getRecordDefault() {
130
+ return getRecordApprovedDecisionLog();
131
+ }
132
+ function getRecordMissingDecisionLog() {
133
+ const value = emptyRecord;
134
+ return branchCase("notFound", value, { kind: "NOT_FOUND", provider: ConnectorID, operation: "getRecord", message: "Airtable found no such record." });
135
+ }
136
+ function getRecordDecisionReadDenied() {
137
+ const value = emptyRecord;
138
+ return branchCase("providerRejected", value, { kind: "AUTHORIZATION", provider: ConnectorID, operation: "getRecord", message: "Airtable denied the record read." });
139
+ }
140
+ function upsertRecordsUpserted(value, failure) {
141
+ return branchCase("upserted", value, failure);
142
+ }
143
+ function upsertRecordsProviderRejected(value, failure) {
144
+ return branchCase("providerRejected", value, failure);
145
+ }
146
+ function upsertRecordsInvalidResponse(value, failure) {
147
+ return branchCase("invalidResponse", value, failure);
148
+ }
149
+ function upsertRecordsDefect(value, failure) {
150
+ return branchCase("defect", value, failure);
151
+ }
152
+ function upsertRecordsRetry(failure, retryAfterMs = 0) {
153
+ return retryCase(failure, retryAfterMs);
154
+ }
155
+ function upsertRecordsLoggedApprovedRefund() {
156
+ const value = UpsertedRecordsSchema.parse({ "createdRecordIds": ["recDecisionLog001"], "records": [{ "createdTime": "2026-10-25T09:01:00Z", "fields": { "Amount USD": 120, "Case ID": "case-approved", "Customer": "Jane Doe", "Decision": "approved", "Policy": ["recPolicyStandard"] }, "id": "recDecisionLog001" }], "updatedRecordIds": [] });
157
+ return branchCase("upserted", value);
158
+ }
159
+ function upsertRecordsDefault() {
160
+ return upsertRecordsLoggedApprovedRefund();
161
+ }
162
+ function upsertRecordsDecisionUpsertDenied() {
163
+ const value = emptyUpsertedRecords;
164
+ return branchCase("providerRejected", value, { kind: "AUTHORIZATION", provider: ConnectorID, operation: "upsertRecords", message: "Airtable denied the decision log upsert." });
165
+ }
166
+ function updateRecordsUpdated(value, failure) {
167
+ return branchCase("updated", value, failure);
168
+ }
169
+ function updateRecordsNotFound(value, failure) {
170
+ return branchCase("notFound", value, failure);
171
+ }
172
+ function updateRecordsProviderRejected(value, failure) {
173
+ return branchCase("providerRejected", value, failure);
174
+ }
175
+ function updateRecordsInvalidResponse(value, failure) {
176
+ return branchCase("invalidResponse", value, failure);
177
+ }
178
+ function updateRecordsDefect(value, failure) {
179
+ return branchCase("defect", value, failure);
180
+ }
181
+ function updateRecordsRetry(failure, retryAfterMs = 0) {
182
+ return retryCase(failure, retryAfterMs);
183
+ }
184
+ function updateRecordsStampedStandardPolicy() {
185
+ const value = UpdatedRecordsSchema.parse({ "records": [{ "createdTime": "2026-09-01T09:00:00Z", "fields": { "Approval Limit USD": 250, "Last Decided Case": "case-approved", "Policy Key": "refund-standard" }, "id": "recPolicyStandard" }] });
186
+ return branchCase("updated", value);
187
+ }
188
+ function updateRecordsDefault() {
189
+ return updateRecordsStampedStandardPolicy();
190
+ }
191
+ function updateRecordsMissingPolicyStamp() {
192
+ const value = emptyUpdatedRecords;
193
+ return branchCase("notFound", value, { kind: "NOT_FOUND", provider: ConnectorID, operation: "updateRecords", message: "Airtable found no such record." });
194
+ }
195
+ function updateRecordsPolicyStampDenied() {
196
+ const value = emptyUpdatedRecords;
197
+ return branchCase("providerRejected", value, { kind: "AUTHORIZATION", provider: ConnectorID, operation: "updateRecords", message: "Airtable denied the policy update." });
198
+ }
199
+ var GeneratedMock = class {
200
+ #listRecords;
201
+ #getRecord;
202
+ #upsertRecords;
203
+ #updateRecords;
204
+ #connection;
205
+ constructor(connectionName) {
206
+ this.#listRecords = newQuery(ListRecordsDefinition).default(listRecordsDefault());
207
+ this.#getRecord = newQuery(GetRecordDefinition).default(getRecordDefault());
208
+ this.#upsertRecords = newMutation(UpsertRecordsDefinition).default(upsertRecordsDefault());
209
+ this.#updateRecords = newMutation(UpdateRecordsDefinition).default(updateRecordsDefault());
210
+ this.#connection = newConnectionWithOperations(this, { provider: ProviderID, name: connectionName });
211
+ }
212
+ connection() {
213
+ return this.#connection;
214
+ }
215
+ listRecords() {
216
+ return this.#listRecords;
217
+ }
218
+ getRecord() {
219
+ return this.#getRecord;
220
+ }
221
+ upsertRecords() {
222
+ return this.#upsertRecords;
223
+ }
224
+ updateRecords() {
225
+ return this.#updateRecords;
226
+ }
227
+ assertNoFailures() {
228
+ this.#listRecords.assertNoFailures();
229
+ this.#getRecord.assertNoFailures();
230
+ this.#upsertRecords.assertNoFailures();
231
+ this.#updateRecords.assertNoFailures();
232
+ }
233
+ };
234
+ export {
235
+ GeneratedMock,
236
+ emptyFieldEqualityFilter,
237
+ emptyGetRecordInput,
238
+ emptyListRecordsInput,
239
+ emptyRecord,
240
+ emptyRecordPage,
241
+ emptyRecordSort,
242
+ emptyRecordUpdate,
243
+ emptyRecordUpsert,
244
+ emptyUpdateRecordsInput,
245
+ emptyUpdatedRecords,
246
+ emptyUpsertRecordsInput,
247
+ emptyUpsertedRecords,
248
+ getRecordApprovedDecisionLog,
249
+ getRecordDecisionReadDenied,
250
+ getRecordDefault,
251
+ getRecordDefect,
252
+ getRecordFound,
253
+ getRecordInvalidResponse,
254
+ getRecordMissingDecisionLog,
255
+ getRecordNotFound,
256
+ getRecordProviderRejected,
257
+ getRecordRetry,
258
+ listRecordsDefault,
259
+ listRecordsDefect,
260
+ listRecordsExpiredPolicyOffset,
261
+ listRecordsInvalidResponse,
262
+ listRecordsListed,
263
+ listRecordsOffsetExpired,
264
+ listRecordsPolicyListDenied,
265
+ listRecordsProviderRejected,
266
+ listRecordsRetry,
267
+ listRecordsStandardRefundPolicy,
268
+ updateRecordsDefault,
269
+ updateRecordsDefect,
270
+ updateRecordsInvalidResponse,
271
+ updateRecordsMissingPolicyStamp,
272
+ updateRecordsNotFound,
273
+ updateRecordsPolicyStampDenied,
274
+ updateRecordsProviderRejected,
275
+ updateRecordsRetry,
276
+ updateRecordsStampedStandardPolicy,
277
+ updateRecordsUpdated,
278
+ upsertRecordsDecisionUpsertDenied,
279
+ upsertRecordsDefault,
280
+ upsertRecordsDefect,
281
+ upsertRecordsInvalidResponse,
282
+ upsertRecordsLoggedApprovedRefund,
283
+ upsertRecordsProviderRejected,
284
+ upsertRecordsRetry,
285
+ upsertRecordsUpserted
286
+ };
package/package.json CHANGED
@@ -1,6 +1,61 @@
1
1
  {
2
2
  "name": "@superdurable/connector-airtable",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "Airtable record operations for Dex Flows",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/superdurable/dex-connectors-library.git",
8
+ "directory": "connectors/airtable/typescript"
9
+ },
10
+ "type": "module",
11
+ "publishConfig": {
12
+ "access": "public",
13
+ "registry": "https://registry.npmjs.org"
14
+ },
15
+ "engines": {
16
+ "node": "^22.0.0 || ^24.0.0"
17
+ },
18
+ "module": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js"
24
+ },
25
+ "./mock": {
26
+ "types": "./dist/mock.d.ts",
27
+ "import": "./dist/mock.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "dex-connector.json",
33
+ "README.md"
34
+ ],
35
+ "scripts": {
36
+ "build": "tsup src/index.ts src/mock.ts --format esm --dts --clean",
37
+ "typecheck": "tsc --noEmit",
38
+ "lint": "eslint src test examples",
39
+ "test": "npm run build && vitest run --exclude 'test/integration/**'",
40
+ "test:integration": "npm run build && vitest run test/integration/*.integration.test.ts",
41
+ "check": "npm test && npm run typecheck && npm run lint",
42
+ "example:list": "npm run build && tsx examples/list-records/main.ts",
43
+ "example:list:start": "npm run build && tsx examples/list-records/start.ts"
44
+ },
45
+ "dependencies": {
46
+ "@superdurable/connectors-sdk": "0.1.0",
47
+ "@superdurable/dex": ">=1.28.0",
48
+ "zod": "^4.1.0"
49
+ },
50
+ "devDependencies": {
51
+ "@eslint/js": "^9.0.0",
52
+ "@types/node": "^22.0.0",
53
+ "eslint": "^9.0.0",
54
+ "tsup": "^8.0.0",
55
+ "tsx": "^4.23.15",
56
+ "typescript": "^5.9.0",
57
+ "typescript-eslint": "^8.0.0",
58
+ "vitest": "^3.0.0",
59
+ "yaml": "^2.9.1"
60
+ }
61
+ }