@cat-factory/contracts 0.82.0 → 0.84.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 +44 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +37 -1
- package/dist/entities.js.map +1 -1
- package/dist/frontend.d.ts +55 -0
- package/dist/frontend.d.ts.map +1 -1
- package/dist/frontend.js +114 -0
- package/dist/frontend.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/package-registries.d.ts +71 -0
- package/dist/package-registries.d.ts.map +1 -0
- package/dist/package-registries.js +96 -0
- package/dist/package-registries.js.map +1 -0
- package/dist/requests.d.ts +49 -2
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +8 -0
- package/dist/requests.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +10 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/board.d.ts +129 -2
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +56 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +5 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +25 -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/package-registries.d.ts +116 -0
- package/dist/routes/package-registries.d.ts.map +1 -0
- package/dist/routes/package-registries.js +29 -0
- package/dist/routes/package-registries.js.map +1 -0
- package/dist/routes/tasks.d.ts +24 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +15 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +26 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/service-connections.d.ts +50 -0
- package/dist/service-connections.d.ts.map +1 -0
- package/dist/service-connections.js +47 -0
- package/dist/service-connections.js.map +1 -0
- package/dist/snapshot.d.ts +13 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
export declare const listPackageRegistriesContract: {
|
|
3
|
+
readonly method: "get";
|
|
4
|
+
readonly pathResolver: () => string;
|
|
5
|
+
readonly responsesByStatusCode: {
|
|
6
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
7
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
8
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
9
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
10
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
11
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
12
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
14
|
+
}, undefined>, undefined>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
18
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
19
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
20
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
21
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
22
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
23
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
24
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
25
|
+
}, undefined>, undefined>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
}, undefined>;
|
|
28
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
29
|
+
readonly entries: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
30
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
31
|
+
readonly ecosystem: import("valibot").PicklistSchema<["npm"], undefined>;
|
|
32
|
+
readonly vendor: import("valibot").PicklistSchema<["npmjs", "github-packages"], undefined>;
|
|
33
|
+
readonly scopes: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly tokenTail: import("valibot").StringSchema<undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const addPackageRegistryContract: {
|
|
40
|
+
readonly method: "post";
|
|
41
|
+
readonly pathResolver: () => string;
|
|
42
|
+
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
43
|
+
readonly ecosystem: import("valibot").PicklistSchema<["npm"], undefined>;
|
|
44
|
+
readonly vendor: import("valibot").PicklistSchema<["npmjs", "github-packages"], undefined>;
|
|
45
|
+
readonly scopes: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 2, undefined>, import("valibot").MaxLengthAction<string, 215, undefined>, import("valibot").RegexAction<string, "scope must look like @org (letters, digits and ._~- after the @)">]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>;
|
|
46
|
+
readonly token: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 8, undefined>, import("valibot").MaxLengthAction<string, 4096, undefined>, import("valibot").RegexAction<string, "token must be a single opaque string with no spaces or control characters">]>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
readonly responsesByStatusCode: {
|
|
49
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
50
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
51
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
52
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
53
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
54
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
55
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
56
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
57
|
+
}, undefined>, undefined>, undefined>;
|
|
58
|
+
}, undefined>;
|
|
59
|
+
}, undefined>;
|
|
60
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
61
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
62
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
63
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
64
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
65
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
66
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
67
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
68
|
+
}, undefined>, undefined>, undefined>;
|
|
69
|
+
}, undefined>;
|
|
70
|
+
}, undefined>;
|
|
71
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
72
|
+
readonly entries: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
73
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
74
|
+
readonly ecosystem: import("valibot").PicklistSchema<["npm"], undefined>;
|
|
75
|
+
readonly vendor: import("valibot").PicklistSchema<["npmjs", "github-packages"], undefined>;
|
|
76
|
+
readonly scopes: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
77
|
+
readonly tokenTail: import("valibot").StringSchema<undefined>;
|
|
78
|
+
}, undefined>, undefined>;
|
|
79
|
+
}, undefined>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const deletePackageRegistryContract: {
|
|
83
|
+
readonly method: "delete";
|
|
84
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
85
|
+
entryId: import("valibot").StringSchema<undefined>;
|
|
86
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
87
|
+
readonly pathResolver: ({ entryId }: {
|
|
88
|
+
entryId: string;
|
|
89
|
+
}) => string;
|
|
90
|
+
readonly responsesByStatusCode: {
|
|
91
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
92
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
93
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
94
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
95
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
96
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
97
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
99
|
+
}, undefined>, undefined>, undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
103
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
104
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
105
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
106
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
107
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
108
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
110
|
+
}, undefined>, undefined>, undefined>;
|
|
111
|
+
}, undefined>;
|
|
112
|
+
}, undefined>;
|
|
113
|
+
readonly 204: typeof ContractNoBody;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=package-registries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-registries.d.ts","sourceRoot":"","sources":["../../src/routes/package-registries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAc3E,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import { addPackageRegistrySchema, packageRegistryListSchema } from '../package-registries.js';
|
|
3
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
4
|
+
// ---------------------------------------------------------------------------
|
|
5
|
+
// Private package registry route contracts: the workspace's registry entries
|
|
6
|
+
// agent containers use to resolve private dependencies. Mounted under
|
|
7
|
+
// `/workspaces/:workspaceId`, so the paths here are relative to that prefix.
|
|
8
|
+
// Edit = delete + re-add (tokens are write-only, so a whole-list PUT would
|
|
9
|
+
// force re-sending every token). See PackageRegistriesController.
|
|
10
|
+
// ---------------------------------------------------------------------------
|
|
11
|
+
const entryIdParams = singleStringParam('entryId');
|
|
12
|
+
export const listPackageRegistriesContract = defineApiContract({
|
|
13
|
+
method: 'get',
|
|
14
|
+
pathResolver: () => '/package-registries',
|
|
15
|
+
responsesByStatusCode: { 200: packageRegistryListSchema, ...errorResponses },
|
|
16
|
+
});
|
|
17
|
+
export const addPackageRegistryContract = defineApiContract({
|
|
18
|
+
method: 'post',
|
|
19
|
+
pathResolver: () => '/package-registries',
|
|
20
|
+
requestBodySchema: addPackageRegistrySchema,
|
|
21
|
+
responsesByStatusCode: { 200: packageRegistryListSchema, ...errorResponses },
|
|
22
|
+
});
|
|
23
|
+
export const deletePackageRegistryContract = defineApiContract({
|
|
24
|
+
method: 'delete',
|
|
25
|
+
requestPathParamsSchema: entryIdParams,
|
|
26
|
+
pathResolver: ({ entryId }) => `/package-registries/${entryId}`,
|
|
27
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=package-registries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-registries.js","sourceRoot":"","sources":["../../src/routes/package-registries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AAC9F,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,6EAA6E;AAC7E,sEAAsE;AACtE,6EAA6E;AAC7E,2EAA2E;AAC3E,kEAAkE;AAClE,8EAA8E;AAE9E,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAA;AAElD,MAAM,CAAC,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC7D,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,qBAAqB;IACzC,qBAAqB,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IAC1D,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,qBAAqB;IACzC,iBAAiB,EAAE,wBAAwB;IAC3C,qBAAqB,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC7D,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,aAAa;IACtC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,uBAAuB,OAAO,EAAE;IAC/D,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -704,6 +704,14 @@ export declare const createTaskFromIssueContract: {
|
|
|
704
704
|
}, undefined>], undefined>;
|
|
705
705
|
}, undefined>, undefined>;
|
|
706
706
|
}, undefined>, undefined>;
|
|
707
|
+
readonly serviceConnections: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
708
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
709
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
710
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
711
|
+
serviceBlockId: string;
|
|
712
|
+
description?: string | undefined;
|
|
713
|
+
}[], 50, undefined>]>, undefined>;
|
|
714
|
+
readonly involvedServiceIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
707
715
|
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
708
716
|
readonly url: v.StringSchema<undefined>;
|
|
709
717
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -943,6 +951,14 @@ export declare const spawnEpicContract: {
|
|
|
943
951
|
}, undefined>], undefined>;
|
|
944
952
|
}, undefined>, undefined>;
|
|
945
953
|
}, undefined>, undefined>;
|
|
954
|
+
readonly serviceConnections: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
955
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
956
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
957
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
958
|
+
serviceBlockId: string;
|
|
959
|
+
description?: string | undefined;
|
|
960
|
+
}[], 50, undefined>]>, undefined>;
|
|
961
|
+
readonly involvedServiceIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
946
962
|
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
947
963
|
readonly url: v.StringSchema<undefined>;
|
|
948
964
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1119,6 +1135,14 @@ export declare const spawnEpicContract: {
|
|
|
1119
1135
|
}, undefined>], undefined>;
|
|
1120
1136
|
}, undefined>, undefined>;
|
|
1121
1137
|
}, undefined>, undefined>;
|
|
1138
|
+
readonly serviceConnections: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1139
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1140
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1141
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
1142
|
+
serviceBlockId: string;
|
|
1143
|
+
description?: string | undefined;
|
|
1144
|
+
}[], 50, undefined>]>, undefined>;
|
|
1145
|
+
readonly involvedServiceIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1122
1146
|
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
1123
1147
|
readonly url: v.StringSchema<undefined>;
|
|
1124
1148
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -517,6 +517,11 @@ export declare const approveVisualConfirmContract: {
|
|
|
517
517
|
}, undefined>, undefined>, undefined>;
|
|
518
518
|
}, undefined>, undefined>;
|
|
519
519
|
}, undefined>, undefined>, undefined>;
|
|
520
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
521
|
+
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
522
|
+
readonly envVar: v.StringSchema<undefined>;
|
|
523
|
+
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
524
|
+
}, undefined>, undefined>, undefined>;
|
|
520
525
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
521
526
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
522
527
|
}, undefined>;
|
|
@@ -1041,6 +1046,11 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1041
1046
|
}, undefined>, undefined>, undefined>;
|
|
1042
1047
|
}, undefined>, undefined>;
|
|
1043
1048
|
}, undefined>, undefined>, undefined>;
|
|
1049
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1050
|
+
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1051
|
+
readonly envVar: v.StringSchema<undefined>;
|
|
1052
|
+
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1053
|
+
}, undefined>, undefined>, undefined>;
|
|
1044
1054
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1045
1055
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1046
1056
|
}, undefined>;
|
|
@@ -1563,6 +1573,11 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
1563
1573
|
}, undefined>, undefined>, undefined>;
|
|
1564
1574
|
}, undefined>, undefined>;
|
|
1565
1575
|
}, undefined>, undefined>, undefined>;
|
|
1576
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1577
|
+
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1578
|
+
readonly envVar: v.StringSchema<undefined>;
|
|
1579
|
+
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1580
|
+
}, undefined>, undefined>, undefined>;
|
|
1566
1581
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1567
1582
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1568
1583
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -238,6 +238,14 @@ export declare const createWorkspaceContract: {
|
|
|
238
238
|
}, undefined>], undefined>;
|
|
239
239
|
}, undefined>, undefined>;
|
|
240
240
|
}, undefined>, undefined>;
|
|
241
|
+
readonly serviceConnections: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
242
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
243
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
244
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
245
|
+
serviceBlockId: string;
|
|
246
|
+
description?: string | undefined;
|
|
247
|
+
}[], 50, undefined>]>, undefined>;
|
|
248
|
+
readonly involvedServiceIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
241
249
|
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
242
250
|
readonly url: v.StringSchema<undefined>;
|
|
243
251
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -785,6 +793,11 @@ export declare const createWorkspaceContract: {
|
|
|
785
793
|
}, undefined>, undefined>, undefined>;
|
|
786
794
|
}, undefined>, undefined>;
|
|
787
795
|
}, undefined>, undefined>, undefined>;
|
|
796
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
797
|
+
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
798
|
+
readonly envVar: v.StringSchema<undefined>;
|
|
799
|
+
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
800
|
+
}, undefined>, undefined>, undefined>;
|
|
788
801
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
789
802
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
790
803
|
}, undefined>, undefined>;
|
|
@@ -1259,6 +1272,14 @@ export declare const getWorkspaceContract: {
|
|
|
1259
1272
|
}, undefined>], undefined>;
|
|
1260
1273
|
}, undefined>, undefined>;
|
|
1261
1274
|
}, undefined>, undefined>;
|
|
1275
|
+
readonly serviceConnections: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1276
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1277
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1278
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
1279
|
+
serviceBlockId: string;
|
|
1280
|
+
description?: string | undefined;
|
|
1281
|
+
}[], 50, undefined>]>, undefined>;
|
|
1282
|
+
readonly involvedServiceIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1262
1283
|
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
1263
1284
|
readonly url: v.StringSchema<undefined>;
|
|
1264
1285
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1806,6 +1827,11 @@ export declare const getWorkspaceContract: {
|
|
|
1806
1827
|
}, undefined>, undefined>, undefined>;
|
|
1807
1828
|
}, undefined>, undefined>;
|
|
1808
1829
|
}, undefined>, undefined>, undefined>;
|
|
1830
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1831
|
+
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1832
|
+
readonly envVar: v.StringSchema<undefined>;
|
|
1833
|
+
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1834
|
+
}, undefined>, undefined>, undefined>;
|
|
1809
1835
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1810
1836
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1811
1837
|
}, undefined>, undefined>;
|
|
@@ -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":"A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
/**
|
|
3
|
+
* One directed service→service dependency edge, stored on the CONSUMER service
|
|
4
|
+
* frame: "this service USES the target service". So "A (email sender) serves B"
|
|
5
|
+
* is stored on B as `{ serviceBlockId: <A's frame block id> }`. Storing the edge
|
|
6
|
+
* on exactly one endpoint keeps a single canonical record per relationship (no
|
|
7
|
+
* dual-write, no conflicting duplicate descriptions), and the direction gives the
|
|
8
|
+
* later merge/provision ordering a provider-before-consumer topology for free.
|
|
9
|
+
* This is the backend↔backend sibling of a frontend frame's `backendBindings`
|
|
10
|
+
* (see {@link frontendBackendBindingSchema}) — frontend frames keep that
|
|
11
|
+
* mechanism; service connections link `type: 'service'` frames only.
|
|
12
|
+
*/
|
|
13
|
+
export declare const serviceConnectionSchema: v.ObjectSchema<{
|
|
14
|
+
/** The PROVIDER service frame's block id (a `level: 'frame'`, `type: 'service'` block). */
|
|
15
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
16
|
+
/**
|
|
17
|
+
* How this service uses the provider, e.g. "sends transactional email via it".
|
|
18
|
+
* Prose for humans on the board AND for agents: when the provider is involved in
|
|
19
|
+
* a task, this line is folded into the agent's prompt to explain the relationship.
|
|
20
|
+
*/
|
|
21
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
export type ServiceConnection = v.InferOutput<typeof serviceConnectionSchema>;
|
|
24
|
+
/** A service frame's outgoing (consumer→provider) connections. */
|
|
25
|
+
export declare const serviceConnectionsSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
26
|
+
/** The PROVIDER service frame's block id (a `level: 'frame'`, `type: 'service'` block). */
|
|
27
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
28
|
+
/**
|
|
29
|
+
* How this service uses the provider, e.g. "sends transactional email via it".
|
|
30
|
+
* Prose for humans on the board AND for agents: when the provider is involved in
|
|
31
|
+
* a task, this line is folded into the agent's prompt to explain the relationship.
|
|
32
|
+
*/
|
|
33
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
34
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
35
|
+
serviceBlockId: string;
|
|
36
|
+
description?: string | undefined;
|
|
37
|
+
}[], 50, undefined>]>;
|
|
38
|
+
/**
|
|
39
|
+
* The undirected connection-neighbor set of a service frame: the providers its own
|
|
40
|
+
* `serviceConnections` name PLUS every frame whose connections name it. A task's
|
|
41
|
+
* "involved services" are picked from this set regardless of edge direction — a
|
|
42
|
+
* task on either endpoint of a connection may need the other spun up or changed.
|
|
43
|
+
* Shared by the SPA (the involved-services selector) and BoardService (write-time
|
|
44
|
+
* validation), like the other pure contracts helpers.
|
|
45
|
+
*/
|
|
46
|
+
export declare function connectionNeighborIds(blocks: ReadonlyArray<{
|
|
47
|
+
id: string;
|
|
48
|
+
serviceConnections?: ServiceConnection[];
|
|
49
|
+
}>, frameId: string): Set<string>;
|
|
50
|
+
//# sourceMappingURL=service-connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-connections.d.ts","sourceRoot":"","sources":["../src/service-connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB;IAClC,2FAA2F;;IAE3F;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,kEAAkE;AAClE,eAAO,MAAM,wBAAwB;IAZnC,2FAA2F;;IAE3F;;;;OAIG;;;;;qBAM4F,CAAA;AAEjG;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,CAAC,EAC/E,OAAO,EAAE,MAAM,GACd,GAAG,CAAC,MAAM,CAAC,CAYb"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
/**
|
|
3
|
+
* One directed service→service dependency edge, stored on the CONSUMER service
|
|
4
|
+
* frame: "this service USES the target service". So "A (email sender) serves B"
|
|
5
|
+
* is stored on B as `{ serviceBlockId: <A's frame block id> }`. Storing the edge
|
|
6
|
+
* on exactly one endpoint keeps a single canonical record per relationship (no
|
|
7
|
+
* dual-write, no conflicting duplicate descriptions), and the direction gives the
|
|
8
|
+
* later merge/provision ordering a provider-before-consumer topology for free.
|
|
9
|
+
* This is the backend↔backend sibling of a frontend frame's `backendBindings`
|
|
10
|
+
* (see {@link frontendBackendBindingSchema}) — frontend frames keep that
|
|
11
|
+
* mechanism; service connections link `type: 'service'` frames only.
|
|
12
|
+
*/
|
|
13
|
+
export const serviceConnectionSchema = v.object({
|
|
14
|
+
/** The PROVIDER service frame's block id (a `level: 'frame'`, `type: 'service'` block). */
|
|
15
|
+
serviceBlockId: v.pipe(v.string(), v.minLength(1), v.maxLength(120)),
|
|
16
|
+
/**
|
|
17
|
+
* How this service uses the provider, e.g. "sends transactional email via it".
|
|
18
|
+
* Prose for humans on the board AND for agents: when the provider is involved in
|
|
19
|
+
* a task, this line is folded into the agent's prompt to explain the relationship.
|
|
20
|
+
*/
|
|
21
|
+
description: v.optional(v.pipe(v.string(), v.trim(), v.maxLength(300))),
|
|
22
|
+
});
|
|
23
|
+
/** A service frame's outgoing (consumer→provider) connections. */
|
|
24
|
+
export const serviceConnectionsSchema = v.pipe(v.array(serviceConnectionSchema), v.maxLength(50));
|
|
25
|
+
/**
|
|
26
|
+
* The undirected connection-neighbor set of a service frame: the providers its own
|
|
27
|
+
* `serviceConnections` name PLUS every frame whose connections name it. A task's
|
|
28
|
+
* "involved services" are picked from this set regardless of edge direction — a
|
|
29
|
+
* task on either endpoint of a connection may need the other spun up or changed.
|
|
30
|
+
* Shared by the SPA (the involved-services selector) and BoardService (write-time
|
|
31
|
+
* validation), like the other pure contracts helpers.
|
|
32
|
+
*/
|
|
33
|
+
export function connectionNeighborIds(blocks, frameId) {
|
|
34
|
+
const neighbors = new Set();
|
|
35
|
+
for (const block of blocks) {
|
|
36
|
+
for (const connection of block.serviceConnections ?? []) {
|
|
37
|
+
if (block.id === frameId && connection.serviceBlockId !== frameId) {
|
|
38
|
+
neighbors.add(connection.serviceBlockId);
|
|
39
|
+
}
|
|
40
|
+
else if (connection.serviceBlockId === frameId && block.id !== frameId) {
|
|
41
|
+
neighbors.add(block.id);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return neighbors;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=service-connections.js.map
|
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I,KAAK,CAAC,EAAE,KAAK,OAAO,EAAE,CAAC;gBACzE,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;YACzB,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -183,6 +183,14 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
183
183
|
}, undefined>], undefined>;
|
|
184
184
|
}, undefined>, undefined>;
|
|
185
185
|
}, undefined>, undefined>;
|
|
186
|
+
readonly serviceConnections: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
187
|
+
readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
188
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
189
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
190
|
+
serviceBlockId: string;
|
|
191
|
+
description?: string | undefined;
|
|
192
|
+
}[], 50, undefined>]>, undefined>;
|
|
193
|
+
readonly involvedServiceIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
186
194
|
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
187
195
|
readonly url: v.StringSchema<undefined>;
|
|
188
196
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -730,6 +738,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
730
738
|
}, undefined>, undefined>, undefined>;
|
|
731
739
|
}, undefined>, undefined>;
|
|
732
740
|
}, undefined>, undefined>, undefined>;
|
|
741
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
742
|
+
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
743
|
+
readonly envVar: v.StringSchema<undefined>;
|
|
744
|
+
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
745
|
+
}, undefined>, undefined>, undefined>;
|
|
733
746
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
734
747
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
735
748
|
}, undefined>, undefined>;
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4B5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4B5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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