@anchrd/colab-sdk 0.1.7 → 0.1.9
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/actions/actions.d.ts +113 -113
- package/dist/actions/actions.js +21 -21
- package/dist/apps/apps.d.ts +8 -8
- package/dist/apps/apps.js +6 -6
- package/dist/archive/archive.d.ts +2 -2
- package/dist/archive/archive.js +2 -2
- package/dist/boards/boards.d.ts +60 -60
- package/dist/boards/boards.js +19 -19
- package/dist/columns/columns.d.ts +1 -1
- package/dist/columns/columns.js +1 -1
- package/dist/connections/connections.d.ts +15 -15
- package/dist/connections/connections.js +6 -6
- package/dist/connectors/connectors.d.ts +14 -14
- package/dist/connectors/connectors.js +7 -7
- package/dist/dashboards/dashboards.d.ts +3 -3
- package/dist/dashboards/dashboards.js +3 -3
- package/dist/directory/directory.d.ts +1 -1
- package/dist/directory/directory.js +1 -1
- package/dist/documents/documents.d.ts +6 -6
- package/dist/documents/documents.js +1 -1
- package/dist/events/events.d.ts +7 -7
- package/dist/events/events.js +4 -4
- package/dist/files/files.d.ts +19 -5
- package/dist/files/files.js +12 -6
- package/dist/functions/functions.d.ts +1 -1
- package/dist/functions/functions.js +1 -1
- package/dist/grammar/grammar.d.ts +1 -0
- package/dist/grammar/grammar.js +5 -1
- package/dist/grants/grants.d.ts +7 -7
- package/dist/grants/grants.js +5 -5
- package/dist/instructions/instructions.d.ts +3 -3
- package/dist/instructions/instructions.js +2 -2
- package/dist/interfaces/interfaces.d.ts +1 -1
- package/dist/interfaces/interfaces.js +1 -1
- package/dist/invitations/invitations.d.ts +8 -8
- package/dist/invitations/invitations.js +4 -4
- package/dist/links/links.d.ts +3 -3
- package/dist/links/links.js +2 -2
- package/dist/machines/machines.d.ts +5 -5
- package/dist/machines/machines.js +2 -2
- package/dist/messages/messages.d.ts +12 -12
- package/dist/messages/messages.js +5 -5
- package/dist/nodes/nodes.d.ts +58 -58
- package/dist/nodes/nodes.js +19 -19
- package/dist/operators/operators.d.ts +136 -46
- package/dist/operators/operators.js +80 -20
- package/dist/pages/pages.d.ts +22 -22
- package/dist/pages/pages.js +8 -6
- package/dist/profile/profile.d.ts +1 -1
- package/dist/profile/profile.js +1 -1
- package/dist/roles/roles.d.ts +12 -12
- package/dist/roles/roles.js +7 -7
- package/dist/runs/runs.d.ts +23 -23
- package/dist/runs/runs.js +9 -9
- package/dist/runtime-config.d.ts +1 -1
- package/dist/runtime-config.js +1 -1
- package/dist/sdk.d.ts +2 -2
- package/dist/sdk.js +2 -2
- package/dist/secrets/secrets.d.ts +5 -5
- package/dist/secrets/secrets.js +2 -2
- package/dist/services/services.d.ts +15 -15
- package/dist/services/services.js +6 -6
- package/dist/sso/sso.d.ts +4 -4
- package/dist/sso/sso.js +3 -3
- package/dist/tables/tables.d.ts +4 -4
- package/dist/tables/tables.js +4 -4
- package/dist/user-settings/user-settings.d.ts +1 -1
- package/dist/user-settings/user-settings.js +1 -1
- package/dist/users/users.d.ts +23 -23
- package/dist/users/users.js +9 -9
- package/dist/validation/validation.d.ts +11 -11
- package/dist/validation/validation.js +4 -4
- package/dist/versions/versions.d.ts +7 -7
- package/dist/versions/versions.js +2 -2
- package/package.json +1 -1
package/dist/pages/pages.d.ts
CHANGED
|
@@ -28,48 +28,43 @@ export declare const PageGetInput: z.ZodObject<{
|
|
|
28
28
|
}, z.core.$strict>;
|
|
29
29
|
export type PageGetInput = z.infer<typeof PageGetInput>;
|
|
30
30
|
export declare const PageSummary: z.ZodObject<{
|
|
31
|
-
title: z.ZodString;
|
|
32
|
-
group: z.ZodString;
|
|
33
|
-
parent: z.ZodNullable<z.ZodString>;
|
|
34
|
-
order: z.ZodNumber;
|
|
35
|
-
summary: z.ZodString;
|
|
36
31
|
pageId: z.ZodString;
|
|
37
32
|
locale: z.ZodEnum<{
|
|
38
33
|
en: "en";
|
|
39
34
|
de: "de";
|
|
40
35
|
}>;
|
|
41
36
|
match: z.ZodOptional<z.ZodString>;
|
|
42
|
-
|
|
37
|
+
title: z.ZodString;
|
|
38
|
+
group: z.ZodString;
|
|
39
|
+
parent: z.ZodNullable<z.ZodString>;
|
|
40
|
+
order: z.ZodNumber;
|
|
41
|
+
summary: z.ZodString;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
43
|
export type PageSummary = z.infer<typeof PageSummary>;
|
|
44
44
|
export declare const PageList: z.ZodObject<{
|
|
45
45
|
items: z.ZodArray<z.ZodObject<{
|
|
46
|
-
title: z.ZodString;
|
|
47
|
-
group: z.ZodString;
|
|
48
|
-
parent: z.ZodNullable<z.ZodString>;
|
|
49
|
-
order: z.ZodNumber;
|
|
50
|
-
summary: z.ZodString;
|
|
51
46
|
pageId: z.ZodString;
|
|
52
47
|
locale: z.ZodEnum<{
|
|
53
48
|
en: "en";
|
|
54
49
|
de: "de";
|
|
55
50
|
}>;
|
|
56
51
|
match: z.ZodOptional<z.ZodString>;
|
|
57
|
-
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
group: z.ZodString;
|
|
54
|
+
parent: z.ZodNullable<z.ZodString>;
|
|
55
|
+
order: z.ZodNumber;
|
|
56
|
+
summary: z.ZodString;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
58
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$strip>;
|
|
60
60
|
export type PageList = z.infer<typeof PageList>;
|
|
61
61
|
export declare const PageHeading: z.ZodObject<{
|
|
62
62
|
depth: z.ZodNumber;
|
|
63
63
|
text: z.ZodString;
|
|
64
64
|
slug: z.ZodString;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$strip>;
|
|
66
66
|
export type PageHeading = z.infer<typeof PageHeading>;
|
|
67
67
|
export declare const PageDetail: z.ZodObject<{
|
|
68
|
-
title: z.ZodString;
|
|
69
|
-
group: z.ZodString;
|
|
70
|
-
parent: z.ZodNullable<z.ZodString>;
|
|
71
|
-
order: z.ZodNumber;
|
|
72
|
-
summary: z.ZodString;
|
|
73
68
|
pageId: z.ZodString;
|
|
74
69
|
locale: z.ZodEnum<{
|
|
75
70
|
en: "en";
|
|
@@ -80,10 +75,15 @@ export declare const PageDetail: z.ZodObject<{
|
|
|
80
75
|
depth: z.ZodNumber;
|
|
81
76
|
text: z.ZodString;
|
|
82
77
|
slug: z.ZodString;
|
|
83
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$strip>>;
|
|
84
79
|
breadcrumbs: z.ZodArray<z.ZodObject<{
|
|
85
80
|
pageId: z.ZodString;
|
|
86
81
|
title: z.ZodString;
|
|
87
|
-
}, z.core.$
|
|
88
|
-
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
title: z.ZodString;
|
|
84
|
+
group: z.ZodString;
|
|
85
|
+
parent: z.ZodNullable<z.ZodString>;
|
|
86
|
+
order: z.ZodNumber;
|
|
87
|
+
summary: z.ZodString;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
89
|
export type PageDetail = z.infer<typeof PageDetail>;
|
package/dist/pages/pages.js
CHANGED
|
@@ -34,29 +34,31 @@ export const PageGetInput = z.strictObject({
|
|
|
34
34
|
locale: Locale.optional(),
|
|
35
35
|
});
|
|
36
36
|
// One page in the list. `locale` is the language delivered: English stands in for a missing
|
|
37
|
-
// translation (E22).
|
|
38
|
-
export const PageSummary =
|
|
37
|
+
// translation (E22). An answer: the head's fields, read loosely, never `PageHead.extend` (E113).
|
|
38
|
+
export const PageSummary = z.object({
|
|
39
|
+
...PageHead.shape,
|
|
39
40
|
pageId: PageId,
|
|
40
41
|
locale: Locale,
|
|
41
42
|
// Only with `query`: the passage that matched.
|
|
42
43
|
match: z.string().optional(),
|
|
43
44
|
});
|
|
44
|
-
export const PageList = z.
|
|
45
|
+
export const PageList = z.object({
|
|
45
46
|
items: z.array(PageSummary),
|
|
46
47
|
nextCursor: PageId.nullable(),
|
|
47
48
|
});
|
|
48
|
-
export const PageHeading = z.
|
|
49
|
+
export const PageHeading = z.object({
|
|
49
50
|
depth: z.number().int().min(2).max(6),
|
|
50
51
|
text: z.string(),
|
|
51
52
|
// GitHub's anchor for the heading, for "Auf dieser Seite".
|
|
52
53
|
slug: z.string(),
|
|
53
54
|
});
|
|
54
|
-
export const PageDetail =
|
|
55
|
+
export const PageDetail = z.object({
|
|
56
|
+
...PageHead.shape,
|
|
55
57
|
pageId: PageId,
|
|
56
58
|
locale: Locale,
|
|
57
59
|
// The page without its YAML head.
|
|
58
60
|
markdown: z.string(),
|
|
59
61
|
headings: z.array(PageHeading),
|
|
60
62
|
// From the top of the tree down to this page itself; the group comes first in the UI, from `group`.
|
|
61
|
-
breadcrumbs: z.array(z.
|
|
63
|
+
breadcrumbs: z.array(z.object({ pageId: PageId, title: z.string() })),
|
|
62
64
|
});
|
|
@@ -33,5 +33,5 @@ export declare const profileImageTypes: readonly ["image/png", "image/jpeg", "im
|
|
|
33
33
|
export declare const profileImageMaxBytes = 5000000;
|
|
34
34
|
export declare const ProfileImageResponse: z.ZodObject<{
|
|
35
35
|
image: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>;
|
|
37
37
|
export type ProfileImageResponse = z.infer<typeof ProfileImageResponse>;
|
package/dist/profile/profile.js
CHANGED
|
@@ -40,4 +40,4 @@ export const profileImageTypes = ["image/png", "image/jpeg", "image/webp"];
|
|
|
40
40
|
// straight from the phone. One figure for the UI before the upload and for the door that refuses.
|
|
41
41
|
export const profileImageMaxBytes = 5_000_000;
|
|
42
42
|
// The answer of upload and removal: the address the profile carries in `image`, or `null`.
|
|
43
|
-
export const ProfileImageResponse = z.
|
|
43
|
+
export const ProfileImageResponse = z.object({ image: z.string().nullable() });
|
package/dist/roles/roles.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare const Role: z.ZodObject<{
|
|
|
48
48
|
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
49
49
|
createdAt: z.ZodISODateTime;
|
|
50
50
|
updatedAt: z.ZodISODateTime;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$strip>;
|
|
52
52
|
export type Role = z.infer<typeof Role>;
|
|
53
53
|
export declare const RoleList: z.ZodObject<{
|
|
54
54
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -59,9 +59,9 @@ export declare const RoleList: z.ZodObject<{
|
|
|
59
59
|
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
60
60
|
createdAt: z.ZodISODateTime;
|
|
61
61
|
updatedAt: z.ZodISODateTime;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
63
|
nextCursor: z.ZodNullable<z.ZodTemplateLiteral<`role_${string}`>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$strip>;
|
|
65
65
|
export type RoleList = z.infer<typeof RoleList>;
|
|
66
66
|
export declare const RightInCode: z.ZodEnum<{
|
|
67
67
|
fixed: "fixed";
|
|
@@ -79,17 +79,17 @@ export declare const RightTree: z.ZodArray<z.ZodObject<{
|
|
|
79
79
|
fixed: "fixed";
|
|
80
80
|
automatic: "automatic";
|
|
81
81
|
}>>;
|
|
82
|
-
}, z.core.$
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
83
|
on: z.ZodBoolean;
|
|
84
84
|
granted: z.ZodNumber;
|
|
85
85
|
total: z.ZodNumber;
|
|
86
86
|
resource: z.ZodString;
|
|
87
|
-
}, z.core.$
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
88
|
on: z.ZodBoolean;
|
|
89
89
|
granted: z.ZodNumber;
|
|
90
90
|
total: z.ZodNumber;
|
|
91
91
|
package: z.ZodString;
|
|
92
|
-
}, z.core.$
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
93
|
export type RightTree = z.infer<typeof RightTree>;
|
|
94
94
|
export declare const RoleDetail: z.ZodObject<{
|
|
95
95
|
roleId: z.ZodTemplateLiteral<`role_${string}`>;
|
|
@@ -110,26 +110,26 @@ export declare const RoleDetail: z.ZodObject<{
|
|
|
110
110
|
fixed: "fixed";
|
|
111
111
|
automatic: "automatic";
|
|
112
112
|
}>>;
|
|
113
|
-
}, z.core.$
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
114
|
on: z.ZodBoolean;
|
|
115
115
|
granted: z.ZodNumber;
|
|
116
116
|
total: z.ZodNumber;
|
|
117
117
|
resource: z.ZodString;
|
|
118
|
-
}, z.core.$
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
119
|
on: z.ZodBoolean;
|
|
120
120
|
granted: z.ZodNumber;
|
|
121
121
|
total: z.ZodNumber;
|
|
122
122
|
package: z.ZodString;
|
|
123
|
-
}, z.core.$
|
|
124
|
-
}, z.core.$
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
125
|
export type RoleDetail = z.infer<typeof RoleDetail>;
|
|
126
126
|
export declare const GrantChange: z.ZodObject<{
|
|
127
127
|
roleId: z.ZodTemplateLiteral<`role_${string}`>;
|
|
128
128
|
permissions: z.ZodArray<z.ZodString>;
|
|
129
|
-
}, z.core.$
|
|
129
|
+
}, z.core.$strip>;
|
|
130
130
|
export type GrantChange = z.infer<typeof GrantChange>;
|
|
131
131
|
export declare const PermissionsResponse: z.ZodObject<{
|
|
132
132
|
permissions: z.ZodArray<z.ZodString>;
|
|
133
133
|
admin: z.ZodBoolean;
|
|
134
|
-
}, z.core.$
|
|
134
|
+
}, z.core.$strip>;
|
|
135
135
|
export type PermissionsResponse = z.infer<typeof PermissionsResponse>;
|
package/dist/roles/roles.js
CHANGED
|
@@ -40,7 +40,7 @@ export const RoleRestoreInput = z.strictObject({ roleId: RoleId });
|
|
|
40
40
|
// never in the body of a `DELETE` (trap P296).
|
|
41
41
|
export const RoleGrantCreateInput = z.strictObject({ roleId: RoleId, permission: RightPath });
|
|
42
42
|
export const RoleGrantRevokeInput = z.strictObject({ roleId: RoleId, permission: RightPath });
|
|
43
|
-
export const Role = z.
|
|
43
|
+
export const Role = z.object({
|
|
44
44
|
roleId: RoleId,
|
|
45
45
|
name: z.string(),
|
|
46
46
|
description: z.string(),
|
|
@@ -51,20 +51,20 @@ export const Role = z.strictObject({
|
|
|
51
51
|
createdAt: z.iso.datetime(),
|
|
52
52
|
updatedAt: z.iso.datetime(),
|
|
53
53
|
});
|
|
54
|
-
export const RoleList = z.
|
|
54
|
+
export const RoleList = z.object({ items: z.array(Role), nextCursor: RoleId.nullable() });
|
|
55
55
|
// One switch per level: on as soon as one right below is on, with the count for "2 / 3".
|
|
56
56
|
const Level = { on: z.boolean(), granted: z.number().int(), total: z.number().int() };
|
|
57
57
|
// A right the fixed role `validator` holds in code (#367, E80): `fixed` for the reads of nodes and the
|
|
58
58
|
// validation's writes, `automatic` for the reads of every connector and outside service. Locked on in
|
|
59
59
|
// the tree; switching it off answers `conflict`. Set only on the tree of `validator`.
|
|
60
60
|
export const RightInCode = z.enum(["fixed", "automatic"]);
|
|
61
|
-
export const RightTree = z.array(z.
|
|
61
|
+
export const RightTree = z.array(z.object({
|
|
62
62
|
package: z.string(),
|
|
63
63
|
...Level,
|
|
64
|
-
resources: z.array(z.
|
|
64
|
+
resources: z.array(z.object({
|
|
65
65
|
resource: z.string(),
|
|
66
66
|
...Level,
|
|
67
|
-
actions: z.array(z.
|
|
67
|
+
actions: z.array(z.object({
|
|
68
68
|
action: z.string(),
|
|
69
69
|
permission: z.string(),
|
|
70
70
|
on: z.boolean(),
|
|
@@ -78,10 +78,10 @@ export const RightTree = z.array(z.strictObject({
|
|
|
78
78
|
export const RoleDetail = Role.extend({ rights: RightTree });
|
|
79
79
|
// The answer of a grant or a revoke: the rights that were really switched (trap P334). Empty when
|
|
80
80
|
// nothing changed, which is no error.
|
|
81
|
-
export const GrantChange = z.
|
|
81
|
+
export const GrantChange = z.object({ roleId: RoleId, permissions: z.array(z.string()) });
|
|
82
82
|
// `GET /auth/permissions`: the caller's own rights as they act right now (masked without admin mode,
|
|
83
83
|
// E71), and whether they hold `admin` at all, so the UI can draw the switch (#68).
|
|
84
|
-
export const PermissionsResponse = z.
|
|
84
|
+
export const PermissionsResponse = z.object({
|
|
85
85
|
permissions: z.array(z.string()),
|
|
86
86
|
admin: z.boolean(),
|
|
87
87
|
});
|
package/dist/runs/runs.d.ts
CHANGED
|
@@ -59,17 +59,17 @@ export declare const RunValue: z.ZodObject<{
|
|
|
59
59
|
node: z.ZodNullable<z.ZodObject<{
|
|
60
60
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
61
61
|
name: z.ZodString;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
63
|
parameter: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
64
64
|
report: z.ZodNullable<z.ZodString>;
|
|
65
65
|
recommendation: z.ZodNullable<z.ZodString>;
|
|
66
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
67
|
summaries: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
68
68
|
text: z.ZodNullable<z.ZodString>;
|
|
69
69
|
report: z.ZodNullable<z.ZodString>;
|
|
70
70
|
recommendation: z.ZodNullable<z.ZodString>;
|
|
71
|
-
}, z.core.$
|
|
72
|
-
}, z.core.$
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
73
|
export type RunValue = z.infer<typeof RunValue>;
|
|
74
74
|
export declare const RunItem: z.ZodObject<{
|
|
75
75
|
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
@@ -94,7 +94,7 @@ export declare const RunItem: z.ZodObject<{
|
|
|
94
94
|
machine: "machine";
|
|
95
95
|
human: "human";
|
|
96
96
|
}>>;
|
|
97
|
-
}, z.core.$
|
|
97
|
+
}, z.core.$strip>;
|
|
98
98
|
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
99
99
|
completedBy: z.ZodNullable<z.ZodObject<{
|
|
100
100
|
userId: z.ZodString;
|
|
@@ -103,15 +103,15 @@ export declare const RunItem: z.ZodObject<{
|
|
|
103
103
|
machine: "machine";
|
|
104
104
|
human: "human";
|
|
105
105
|
}>>;
|
|
106
|
-
}, z.core.$
|
|
106
|
+
}, z.core.$strip>>;
|
|
107
107
|
summary: z.ZodNullable<z.ZodString>;
|
|
108
108
|
values: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>>;
|
|
109
109
|
summaries: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
110
110
|
reports: z.ZodNullable<z.ZodNumber>;
|
|
111
111
|
rights: z.ZodObject<{
|
|
112
112
|
complete: z.ZodBoolean;
|
|
113
|
-
}, z.core.$
|
|
114
|
-
}, z.core.$
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
115
|
export type RunItem = z.infer<typeof RunItem>;
|
|
116
116
|
export declare const RunList: z.ZodObject<{
|
|
117
117
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -137,7 +137,7 @@ export declare const RunList: z.ZodObject<{
|
|
|
137
137
|
machine: "machine";
|
|
138
138
|
human: "human";
|
|
139
139
|
}>>;
|
|
140
|
-
}, z.core.$
|
|
140
|
+
}, z.core.$strip>;
|
|
141
141
|
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
142
142
|
completedBy: z.ZodNullable<z.ZodObject<{
|
|
143
143
|
userId: z.ZodString;
|
|
@@ -146,17 +146,17 @@ export declare const RunList: z.ZodObject<{
|
|
|
146
146
|
machine: "machine";
|
|
147
147
|
human: "human";
|
|
148
148
|
}>>;
|
|
149
|
-
}, z.core.$
|
|
149
|
+
}, z.core.$strip>>;
|
|
150
150
|
summary: z.ZodNullable<z.ZodString>;
|
|
151
151
|
values: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>>;
|
|
152
152
|
summaries: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
153
153
|
reports: z.ZodNullable<z.ZodNumber>;
|
|
154
154
|
rights: z.ZodObject<{
|
|
155
155
|
complete: z.ZodBoolean;
|
|
156
|
-
}, z.core.$
|
|
157
|
-
}, z.core.$
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
}, z.core.$strip>>;
|
|
158
158
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
159
|
-
}, z.core.$
|
|
159
|
+
}, z.core.$strip>;
|
|
160
160
|
export type RunList = z.infer<typeof RunList>;
|
|
161
161
|
export declare const RunDetail: z.ZodObject<{
|
|
162
162
|
counts: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
@@ -181,7 +181,7 @@ export declare const RunDetail: z.ZodObject<{
|
|
|
181
181
|
archive: "archive";
|
|
182
182
|
}>;
|
|
183
183
|
tasks: z.ZodNumber;
|
|
184
|
-
}, z.core.$
|
|
184
|
+
}, z.core.$strip>>>;
|
|
185
185
|
entries: z.ZodNullable<z.ZodObject<{
|
|
186
186
|
metrics: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
187
187
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>;
|
|
@@ -189,17 +189,17 @@ export declare const RunDetail: z.ZodObject<{
|
|
|
189
189
|
node: z.ZodNullable<z.ZodObject<{
|
|
190
190
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
191
191
|
name: z.ZodString;
|
|
192
|
-
}, z.core.$
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
193
|
parameter: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
194
194
|
report: z.ZodNullable<z.ZodString>;
|
|
195
195
|
recommendation: z.ZodNullable<z.ZodString>;
|
|
196
|
-
}, z.core.$
|
|
196
|
+
}, z.core.$strip>>;
|
|
197
197
|
summaries: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
198
198
|
text: z.ZodNullable<z.ZodString>;
|
|
199
199
|
report: z.ZodNullable<z.ZodString>;
|
|
200
200
|
recommendation: z.ZodNullable<z.ZodString>;
|
|
201
|
-
}, z.core.$
|
|
202
|
-
}, z.core.$
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
203
|
assignees: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
204
204
|
userId: z.ZodString;
|
|
205
205
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -207,7 +207,7 @@ export declare const RunDetail: z.ZodObject<{
|
|
|
207
207
|
machine: "machine";
|
|
208
208
|
human: "human";
|
|
209
209
|
}>>;
|
|
210
|
-
}, z.core.$
|
|
210
|
+
}, z.core.$strip>>>>;
|
|
211
211
|
template: z.ZodNullable<z.ZodString>;
|
|
212
212
|
instruction: z.ZodNullable<z.ZodString>;
|
|
213
213
|
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
@@ -232,7 +232,7 @@ export declare const RunDetail: z.ZodObject<{
|
|
|
232
232
|
machine: "machine";
|
|
233
233
|
human: "human";
|
|
234
234
|
}>>;
|
|
235
|
-
}, z.core.$
|
|
235
|
+
}, z.core.$strip>;
|
|
236
236
|
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
237
237
|
completedBy: z.ZodNullable<z.ZodObject<{
|
|
238
238
|
userId: z.ZodString;
|
|
@@ -241,13 +241,13 @@ export declare const RunDetail: z.ZodObject<{
|
|
|
241
241
|
machine: "machine";
|
|
242
242
|
human: "human";
|
|
243
243
|
}>>;
|
|
244
|
-
}, z.core.$
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
245
|
summary: z.ZodNullable<z.ZodString>;
|
|
246
246
|
values: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>>;
|
|
247
247
|
summaries: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
248
248
|
reports: z.ZodNullable<z.ZodNumber>;
|
|
249
249
|
rights: z.ZodObject<{
|
|
250
250
|
complete: z.ZodBoolean;
|
|
251
|
-
}, z.core.$
|
|
252
|
-
}, z.core.$
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
253
|
export type RunDetail = z.infer<typeof RunDetail>;
|
package/dist/runs/runs.js
CHANGED
|
@@ -66,25 +66,25 @@ export const RunValueValue = z.union([z.number(), z.string(), z.null()]);
|
|
|
66
66
|
// ⚠️ The entries of a dashboard run as records under their key, the shape the Operator sent
|
|
67
67
|
// (`DashboardRun`), never as a list with a field `key`: `/mcp` strikes every field called `key` as a
|
|
68
68
|
// secret (`redactSecrets` in `shared`), and the answer would name no metric.
|
|
69
|
-
export const RunValue = z.
|
|
70
|
-
metrics: z.record(z.string(), z.
|
|
69
|
+
export const RunValue = z.object({
|
|
70
|
+
metrics: z.record(z.string(), z.object({
|
|
71
71
|
value: RunValueValue,
|
|
72
72
|
source: z.string().nullable(),
|
|
73
73
|
// The node a source `colab://node_…` names, when the caller can read it; null for a tool,
|
|
74
74
|
// and for a node that is gone or the caller cannot read: then neither its id nor its name,
|
|
75
75
|
// and `source` is null too (#165).
|
|
76
|
-
node: z.
|
|
76
|
+
node: z.object({ nodeId: NodeId, name: z.string() }).nullable(),
|
|
77
77
|
parameter: z.record(z.string(), z.unknown()).nullable(),
|
|
78
78
|
report: z.string().nullable(),
|
|
79
79
|
recommendation: z.string().nullable(),
|
|
80
80
|
})),
|
|
81
|
-
summaries: z.record(z.string(), z.
|
|
81
|
+
summaries: z.record(z.string(), z.object({
|
|
82
82
|
text: z.string().nullable(),
|
|
83
83
|
report: z.string().nullable(),
|
|
84
84
|
recommendation: z.string().nullable(),
|
|
85
85
|
})),
|
|
86
86
|
});
|
|
87
|
-
export const RunItem = z.
|
|
87
|
+
export const RunItem = z.object({
|
|
88
88
|
runId: RunId,
|
|
89
89
|
nodeId: NodeId,
|
|
90
90
|
// A validation run (#47) copies nothing and carries only its summary.
|
|
@@ -108,20 +108,20 @@ export const RunItem = z.strictObject({
|
|
|
108
108
|
// `complete`: whether the caller may close this run with intelligence_run_complete, by the same
|
|
109
109
|
// check the tool makes (E107): write on a process board or dashboard; on the validation the holder
|
|
110
110
|
// of validator or an admin in admin mode. The UI shows "Lauf beenden" by it.
|
|
111
|
-
rights: z.
|
|
111
|
+
rights: z.object({ complete: z.boolean() }),
|
|
112
112
|
});
|
|
113
|
-
export const RunList = z.
|
|
113
|
+
export const RunList = z.object({
|
|
114
114
|
items: z.array(RunItem),
|
|
115
115
|
nextCursor: z.string().nullable(),
|
|
116
116
|
});
|
|
117
|
-
export const RunDetail = z.
|
|
117
|
+
export const RunDetail = z.object({
|
|
118
118
|
...RunItem.shape,
|
|
119
119
|
// A process run: how many of its tasks stand in a column of each type.
|
|
120
120
|
counts: z.partialRecord(ColumnType, z.number().int()).nullable(),
|
|
121
121
|
// A process run: its own columns, copied when it started, each with how many tasks it holds. A
|
|
122
122
|
// task of the run moves only between these.
|
|
123
123
|
columns: z
|
|
124
|
-
.array(z.
|
|
124
|
+
.array(z.object({
|
|
125
125
|
columnId: ColumnId,
|
|
126
126
|
name: z.string(),
|
|
127
127
|
type: ColumnType,
|
package/dist/runtime-config.d.ts
CHANGED
package/dist/runtime-config.js
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
//
|
|
5
5
|
// ⚠️ Public by construction: the route answers without sign-in. A new key here is readable by anyone
|
|
6
6
|
// who can reach the installation, so only values that are safe to show belong in it.
|
|
7
|
-
export const RuntimeConfig = z.
|
|
7
|
+
export const RuntimeConfig = z.object({
|
|
8
8
|
// The GlitchTip DSN for the browser; empty means report to the console only (E57).
|
|
9
9
|
dsn: z.string(),
|
|
10
10
|
// The `installation` and `release` tags on every error report.
|
package/dist/sdk.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { DirectoryPrincipal, DirectorySearchInput } from "./directory/directory.
|
|
|
13
13
|
export { DocumentCreateInput, DocumentDetail, DocumentGetInput, DocumentUpdateInput, } from "./documents/documents.js";
|
|
14
14
|
export { ErrorCode, ErrorIssue, ErrorResponse, errorCodes } from "./error/error.js";
|
|
15
15
|
export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, } from "./events/events.js";
|
|
16
|
-
export { FileCreateInput, FileDetail, type FileFormat, FileGetInput, FileId, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
|
|
16
|
+
export { FileCreateInput, FileDetail, type FileFormat, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, fileTextStates, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
|
|
17
17
|
export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
|
|
18
18
|
export { type Action, actions, hasRoute, isAction, isPackage, isWord, type Package, packages, parseConnectorFunction, parseToolName, type Resource, type Route, resources, type ToolName, toolEvent, toolPermission, toolRoute, toolSchemaName, verbs, } from "./grammar/grammar.js";
|
|
19
19
|
export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
|
|
@@ -26,7 +26,7 @@ export { Flag, Limit } from "./list-input.js";
|
|
|
26
26
|
export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
|
|
27
27
|
export { ChatRead, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, } from "./messages/messages.js";
|
|
28
28
|
export { BoardShownKind, BoardSystem, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, NodeValidation, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, } from "./nodes/nodes.js";
|
|
29
|
-
export { Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, GatewayTarget, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorState, operatorDefaults, operatorProviders, PauseReason, Subagents, Trigger, } from "./operators/operators.js";
|
|
29
|
+
export { Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, GatewayTarget, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorState, operatorDefaults, operatorProviders, PauseReason, RunCancelInput, RunStepListInput, Subagents, Trigger, } from "./operators/operators.js";
|
|
30
30
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
31
31
|
export { IdempotencyKey, Rev } from "./primitives/primitives.js";
|
|
32
32
|
export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
|
package/dist/sdk.js
CHANGED
|
@@ -16,7 +16,7 @@ export { DirectoryPrincipal, DirectorySearchInput } from "./directory/directory.
|
|
|
16
16
|
export { DocumentCreateInput, DocumentDetail, DocumentGetInput, DocumentUpdateInput, } from "./documents/documents.js";
|
|
17
17
|
export { ErrorCode, ErrorIssue, ErrorResponse, errorCodes } from "./error/error.js";
|
|
18
18
|
export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, } from "./events/events.js";
|
|
19
|
-
export { FileCreateInput, FileDetail, FileGetInput, FileId, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
|
|
19
|
+
export { FileCreateInput, FileDetail, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, fileTextStates, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
|
|
20
20
|
export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
|
|
21
21
|
export { actions, hasRoute, isAction, isPackage, isWord, packages, parseConnectorFunction, parseToolName, resources, toolEvent, toolPermission, toolRoute, toolSchemaName, verbs, } from "./grammar/grammar.js";
|
|
22
22
|
export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
|
|
@@ -29,7 +29,7 @@ export { Flag, Limit } from "./list-input.js";
|
|
|
29
29
|
export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
|
|
30
30
|
export { ChatRead, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, } from "./messages/messages.js";
|
|
31
31
|
export { BoardShownKind, BoardSystem, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, NodeValidation, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, } from "./nodes/nodes.js";
|
|
32
|
-
export { Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, GatewayTarget, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorState, operatorDefaults, operatorProviders, PauseReason, Subagents, Trigger, } from "./operators/operators.js";
|
|
32
|
+
export { Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, GatewayTarget, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, Operator, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorState, operatorDefaults, operatorProviders, PauseReason, RunCancelInput, RunStepListInput, Subagents, Trigger, } from "./operators/operators.js";
|
|
33
33
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
34
34
|
export { IdempotencyKey, Rev } from "./primitives/primitives.js";
|
|
35
35
|
export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
|
|
@@ -37,10 +37,10 @@ export declare const NodeSecret: z.ZodObject<{
|
|
|
37
37
|
machine: "machine";
|
|
38
38
|
human: "human";
|
|
39
39
|
}>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$strip>;
|
|
41
41
|
createdAt: z.ZodISODateTime;
|
|
42
42
|
updatedAt: z.ZodISODateTime;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$strip>;
|
|
44
44
|
export type NodeSecret = z.infer<typeof NodeSecret>;
|
|
45
45
|
export declare const NodeSecretDetail: z.ZodObject<{
|
|
46
46
|
secretId: z.ZodTemplateLiteral<`secret_${string}`>;
|
|
@@ -52,14 +52,14 @@ export declare const NodeSecretDetail: z.ZodObject<{
|
|
|
52
52
|
machine: "machine";
|
|
53
53
|
human: "human";
|
|
54
54
|
}>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$strip>;
|
|
56
56
|
createdAt: z.ZodISODateTime;
|
|
57
57
|
updatedAt: z.ZodISODateTime;
|
|
58
58
|
password: z.ZodString;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$strip>;
|
|
60
60
|
export type NodeSecretDetail = z.infer<typeof NodeSecretDetail>;
|
|
61
61
|
export declare const NodeUnlocked: z.ZodObject<{
|
|
62
62
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
63
63
|
unlockedUntil: z.ZodISODateTime;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$strip>;
|
|
65
65
|
export type NodeUnlocked = z.infer<typeof NodeUnlocked>;
|
package/dist/secrets/secrets.js
CHANGED
|
@@ -41,7 +41,7 @@ export const NodeUnlockInput = z.strictObject({
|
|
|
41
41
|
.describe("The node's password, as its creator or an admin gave it to you."),
|
|
42
42
|
});
|
|
43
43
|
// A node's password as its settings show it; never the password itself.
|
|
44
|
-
export const NodeSecret = z.
|
|
44
|
+
export const NodeSecret = z.object({
|
|
45
45
|
secretId: SecretId,
|
|
46
46
|
nodeId: NodeId,
|
|
47
47
|
createdBy: NodePerson,
|
|
@@ -51,7 +51,7 @@ export const NodeSecret = z.strictObject({
|
|
|
51
51
|
// Only for an admin in admin mode, in the browser: the password itself.
|
|
52
52
|
export const NodeSecretDetail = NodeSecret.extend({ password: z.string() });
|
|
53
53
|
// The answer of an unlock: until when this browser session reads the node.
|
|
54
|
-
export const NodeUnlocked = z.
|
|
54
|
+
export const NodeUnlocked = z.object({
|
|
55
55
|
nodeId: NodeId,
|
|
56
56
|
unlockedUntil: z.iso.datetime(),
|
|
57
57
|
});
|
|
@@ -8,7 +8,7 @@ export declare const McpUrl: z.ZodURL;
|
|
|
8
8
|
export declare const ServiceFunction: z.ZodObject<{
|
|
9
9
|
functionId: z.ZodTemplateLiteral<`function_${string}`>;
|
|
10
10
|
name: z.ZodString;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$strip>;
|
|
12
12
|
export type ServiceFunction = z.infer<typeof ServiceFunction>;
|
|
13
13
|
export declare const ServiceInterface: z.ZodObject<{
|
|
14
14
|
interfaceId: z.ZodTemplateLiteral<`interface_${string}`>;
|
|
@@ -16,8 +16,8 @@ export declare const ServiceInterface: z.ZodObject<{
|
|
|
16
16
|
functions: z.ZodArray<z.ZodObject<{
|
|
17
17
|
functionId: z.ZodTemplateLiteral<`function_${string}`>;
|
|
18
18
|
name: z.ZodString;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
21
|
export type ServiceInterface = z.infer<typeof ServiceInterface>;
|
|
22
22
|
export declare const Service: z.ZodObject<{
|
|
23
23
|
serviceId: z.ZodTemplateLiteral<`service_${string}`>;
|
|
@@ -33,9 +33,9 @@ export declare const Service: z.ZodObject<{
|
|
|
33
33
|
functions: z.ZodArray<z.ZodObject<{
|
|
34
34
|
functionId: z.ZodTemplateLiteral<`function_${string}`>;
|
|
35
35
|
name: z.ZodString;
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
39
|
export type Service = z.infer<typeof Service>;
|
|
40
40
|
export declare const ServiceListInput: z.ZodObject<{
|
|
41
41
|
archived: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
@@ -58,11 +58,11 @@ export declare const ServiceList: z.ZodObject<{
|
|
|
58
58
|
functions: z.ZodArray<z.ZodObject<{
|
|
59
59
|
functionId: z.ZodTemplateLiteral<`function_${string}`>;
|
|
60
60
|
name: z.ZodString;
|
|
61
|
-
}, z.core.$
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
64
|
nextCursor: z.ZodNullable<z.ZodTemplateLiteral<`service_${string}`>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$strip>;
|
|
66
66
|
export type ServiceList = z.infer<typeof ServiceList>;
|
|
67
67
|
export declare const ServiceCreateInput: z.ZodObject<{
|
|
68
68
|
name: z.ZodString;
|
|
@@ -85,11 +85,11 @@ export declare const ServiceKeyIssued: z.ZodObject<{
|
|
|
85
85
|
functions: z.ZodArray<z.ZodObject<{
|
|
86
86
|
functionId: z.ZodTemplateLiteral<`function_${string}`>;
|
|
87
87
|
name: z.ZodString;
|
|
88
|
-
}, z.core.$
|
|
89
|
-
}, z.core.$
|
|
90
|
-
}, z.core.$
|
|
88
|
+
}, z.core.$strip>>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
91
|
serviceKey: z.ZodString;
|
|
92
|
-
}, z.core.$
|
|
92
|
+
}, z.core.$strip>;
|
|
93
93
|
export type ServiceKeyIssued = z.infer<typeof ServiceKeyIssued>;
|
|
94
94
|
export declare const ServiceUpdateInput: z.ZodObject<{
|
|
95
95
|
serviceId: z.ZodTemplateLiteral<`service_${string}`>;
|
|
@@ -118,5 +118,5 @@ export declare const ServicePurged: z.ZodObject<{
|
|
|
118
118
|
serviceId: z.ZodTemplateLiteral<`service_${string}`>;
|
|
119
119
|
name: z.ZodString;
|
|
120
120
|
grants: z.ZodNumber;
|
|
121
|
-
}, z.core.$
|
|
121
|
+
}, z.core.$strip>;
|
|
122
122
|
export type ServicePurged = z.infer<typeof ServicePurged>;
|