@cat-factory/contracts 0.87.0 → 0.88.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/entities.d.ts +22 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +22 -0
- package/dist/entities.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/public-api-keys.d.ts +54 -0
- package/dist/public-api-keys.d.ts.map +1 -0
- package/dist/public-api-keys.js +42 -0
- package/dist/public-api-keys.js.map +1 -0
- package/dist/public-api.d.ts +57 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +50 -0
- package/dist/public-api.js.map +1 -0
- package/dist/routes/agent-runs.d.ts +2 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/board.d.ts +10 -0
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +10 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +1 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +5 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/initiative.d.ts +1 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +6 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +206 -0
- package/dist/routes/public-api.d.ts.map +1 -0
- package/dist/routes/public-api.js +48 -0
- package/dist/routes/public-api.js.map +1 -0
- package/dist/routes/tasks.d.ts +3 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +3 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +6 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +3 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import { createPublicApiKeySchema, createdPublicApiKeySchema, publicApiKeyListResultSchema, } from '../public-api-keys.js';
|
|
3
|
+
import { createInitiativeJobSchema, initiativeAcceptedSchema, publicJobSchema, } from '../public-api.js';
|
|
4
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
// Public-API route contracts. Two surfaces:
|
|
7
|
+
//
|
|
8
|
+
// 1. Key management — session-authed, mounted under `/workspaces/:workspaceId`
|
|
9
|
+
// (so paths are relative). A workspace owner mints/lists/revokes the keys an
|
|
10
|
+
// external system will present. Note the path is `/public-api-keys` — the bare
|
|
11
|
+
// `/api-keys` is the direct-provider (outbound) key pool.
|
|
12
|
+
//
|
|
13
|
+
// 2. The external surface — `/api/v1/*`, authenticated in-controller by the
|
|
14
|
+
// public-API key (not the session gate), scoped to the key's workspace.
|
|
15
|
+
// ---------------------------------------------------------------------------
|
|
16
|
+
const idParams = singleStringParam('id');
|
|
17
|
+
// ---- key management (relative to `/workspaces/:workspaceId`) ---------------
|
|
18
|
+
export const listPublicApiKeysContract = defineApiContract({
|
|
19
|
+
method: 'get',
|
|
20
|
+
pathResolver: () => '/public-api-keys',
|
|
21
|
+
responsesByStatusCode: { 200: publicApiKeyListResultSchema, ...errorResponses },
|
|
22
|
+
});
|
|
23
|
+
export const createPublicApiKeyContract = defineApiContract({
|
|
24
|
+
method: 'post',
|
|
25
|
+
pathResolver: () => '/public-api-keys',
|
|
26
|
+
requestBodySchema: createPublicApiKeySchema,
|
|
27
|
+
responsesByStatusCode: { 201: createdPublicApiKeySchema, ...errorResponses },
|
|
28
|
+
});
|
|
29
|
+
export const revokePublicApiKeyContract = defineApiContract({
|
|
30
|
+
method: 'delete',
|
|
31
|
+
requestPathParamsSchema: idParams,
|
|
32
|
+
pathResolver: ({ id }) => `/public-api-keys/${id}`,
|
|
33
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
34
|
+
});
|
|
35
|
+
// ---- the external `/api/v1` surface (absolute paths, key-authenticated) ----
|
|
36
|
+
export const createInitiativeJobContract = defineApiContract({
|
|
37
|
+
method: 'post',
|
|
38
|
+
pathResolver: () => '/api/v1/initiatives',
|
|
39
|
+
requestBodySchema: createInitiativeJobSchema,
|
|
40
|
+
responsesByStatusCode: { 202: initiativeAcceptedSchema, ...errorResponses },
|
|
41
|
+
});
|
|
42
|
+
export const getPublicJobContract = defineApiContract({
|
|
43
|
+
method: 'get',
|
|
44
|
+
requestPathParamsSchema: idParams,
|
|
45
|
+
pathResolver: ({ id }) => `/api/v1/jobs/${id}`,
|
|
46
|
+
responsesByStatusCode: { 200: publicJobSchema, ...errorResponses },
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=public-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,eAAe,GAChB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,4CAA4C;AAC5C,EAAE;AACF,gFAAgF;AAChF,iFAAiF;AACjF,mFAAmF;AACnF,8DAA8D;AAC9D,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,8EAA8E;AAE9E,M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;IAC9C,qBAAqB,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,cAAc,EAAE;CACnE,CAAC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -725,6 +725,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
725
725
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
726
726
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
727
727
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
728
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
728
729
|
}, undefined>;
|
|
729
730
|
readonly task: v.ObjectSchema<{
|
|
730
731
|
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
@@ -973,6 +974,7 @@ export declare const spawnEpicContract: {
|
|
|
973
974
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
974
975
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
975
976
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
977
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
976
978
|
}, undefined>;
|
|
977
979
|
readonly tasks: v.ArraySchema<v.ObjectSchema<{
|
|
978
980
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1158,6 +1160,7 @@ export declare const spawnEpicContract: {
|
|
|
1158
1160
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1159
1161
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1160
1162
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1163
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1161
1164
|
}, undefined>, undefined>;
|
|
1162
1165
|
}, undefined>;
|
|
1163
1166
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuD5B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrC,CAAA;AAIF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;C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 export declare const approveVisualConfirmContract: {
|
|
|
530
530
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
531
531
|
}, undefined>, undefined>, undefined>;
|
|
532
532
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
533
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
533
534
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
534
535
|
}, undefined>;
|
|
535
536
|
};
|
|
@@ -1066,6 +1067,7 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1066
1067
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1067
1068
|
}, undefined>, undefined>, undefined>;
|
|
1068
1069
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1070
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1069
1071
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1070
1072
|
}, undefined>;
|
|
1071
1073
|
};
|
|
@@ -1600,6 +1602,7 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
1600
1602
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1601
1603
|
}, undefined>, undefined>, undefined>;
|
|
1602
1604
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1605
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1603
1606
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1604
1607
|
}, undefined>;
|
|
1605
1608
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,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ined>, undefined>;
|
|
260
260
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
261
261
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
262
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
262
263
|
}, undefined>, undefined>;
|
|
263
264
|
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
264
265
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -308,6 +309,7 @@ export declare const createWorkspaceContract: {
|
|
|
308
309
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
309
310
|
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
310
311
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
312
|
+
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
311
313
|
}, undefined>, undefined>;
|
|
312
314
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
313
315
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -807,6 +809,7 @@ export declare const createWorkspaceContract: {
|
|
|
807
809
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
808
810
|
}, undefined>, undefined>, undefined>;
|
|
809
811
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
812
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
810
813
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
811
814
|
}, undefined>, undefined>;
|
|
812
815
|
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1386,6 +1389,7 @@ export declare const getWorkspaceContract: {
|
|
|
1386
1389
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1387
1390
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1388
1391
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1392
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1389
1393
|
}, undefined>, undefined>;
|
|
1390
1394
|
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
1391
1395
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1435,6 +1439,7 @@ export declare const getWorkspaceContract: {
|
|
|
1435
1439
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1436
1440
|
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1437
1441
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1442
|
+
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1438
1443
|
}, undefined>, undefined>;
|
|
1439
1444
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
1440
1445
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1934,6 +1939,7 @@ export declare const getWorkspaceContract: {
|
|
|
1934
1939
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1935
1940
|
}, undefined>, undefined>, undefined>;
|
|
1936
1941
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1942
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1937
1943
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1938
1944
|
}, undefined>, undefined>;
|
|
1939
1945
|
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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<v.StringSchema<undefined>, undefined>, undefined>;
|
|
205
205
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
206
206
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
207
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
207
208
|
}, undefined>, undefined>;
|
|
208
209
|
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
209
210
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -253,6 +254,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
253
254
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
254
255
|
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
255
256
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
257
|
+
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
256
258
|
}, undefined>, undefined>;
|
|
257
259
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
258
260
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -752,6 +754,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
752
754
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
753
755
|
}, undefined>, undefined>, undefined>;
|
|
754
756
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
757
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
755
758
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
756
759
|
}, undefined>, undefined>;
|
|
757
760
|
/**
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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