@sixb/server 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/auth/access-token-boundary.d.ts +3 -0
- package/dist/auth/access-token-boundary.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +66 -0
- package/dist/auth/shared-access.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1454 -658
- package/dist/index.js.map +25 -20
- package/dist/openapi/security.d.ts +15 -1
- package/dist/openapi/security.d.ts.map +1 -1
- package/dist/openapi/tags.d.ts +6 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +2 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +5 -5
- package/dist/routes/auth.d.ts +9 -9
- package/dist/routes/connector-connection-runs.d.ts +8 -8
- package/dist/routes/connector-connections.d.ts +4 -4
- package/dist/routes/datasets.d.ts +5 -3
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/pipelines.d.ts +4 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/share-grants.d.ts +264 -0
- package/dist/routes/share-grants.d.ts.map +1 -0
- package/dist/routes/shared-access.d.ts +155 -0
- package/dist/routes/shared-access.d.ts.map +1 -0
- package/dist/routes/syncs.d.ts +2 -0
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +7 -7
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/agents.d.ts +22 -30
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +332 -24
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +40 -40
- package/dist/schemas/common.d.ts +6 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +28 -22
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +24 -24
- package/dist/schemas/pipelines.d.ts +36 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +518 -0
- package/dist/schemas/share-grants.d.ts.map +1 -0
- package/dist/schemas/shared-access.d.ts +42 -0
- package/dist/schemas/shared-access.d.ts.map +1 -0
- package/dist/schemas/syncs.d.ts +7 -0
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +20 -20
- package/dist/server.d.ts +5 -0
- package/dist/server.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/auth/access-token-boundary.ts +17 -2
- package/src/auth/public-routes.ts +5 -0
- package/src/auth/shared-access.ts +376 -0
- package/src/index.ts +1 -0
- package/src/openapi/security.ts +20 -1
- package/src/openapi/tags.ts +4 -0
- package/src/registerRoutes.ts +6 -0
- package/src/routes/actions.ts +5 -10
- package/src/routes/agent-api-gateway.ts +1 -1
- package/src/routes/agents.ts +1 -1
- package/src/routes/files.ts +2 -6
- package/src/routes/share-grants.ts +238 -0
- package/src/routes/shared-access.ts +165 -0
- package/src/routes/ws/agents.ts +5 -3
- package/src/routes/ws/events.ts +1 -1
- package/src/schemas/agents.ts +1 -4
- package/src/schemas/ai-accounting.ts +3 -0
- package/src/schemas/common.ts +2 -0
- package/src/schemas/datasets.ts +2 -1
- package/src/schemas/share-grants.ts +109 -0
- package/src/schemas/shared-access.ts +31 -0
- package/src/server.ts +91 -1
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { type SixbHostView } from "@sixb/core";
|
|
2
|
+
import type { Elysia } from "elysia";
|
|
3
|
+
export declare function registerShareGrantRoutes(app: Elysia, _host: SixbHostView): Elysia<"", {
|
|
4
|
+
decorator: {};
|
|
5
|
+
store: {};
|
|
6
|
+
derive: {};
|
|
7
|
+
resolve: {};
|
|
8
|
+
}, {
|
|
9
|
+
typebox: {};
|
|
10
|
+
error: {};
|
|
11
|
+
}, {
|
|
12
|
+
schema: {};
|
|
13
|
+
standaloneSchema: {};
|
|
14
|
+
macro: {};
|
|
15
|
+
macroFn: {};
|
|
16
|
+
parser: {};
|
|
17
|
+
response: {};
|
|
18
|
+
}, {
|
|
19
|
+
api: {
|
|
20
|
+
"share-grants": {
|
|
21
|
+
post: {
|
|
22
|
+
body: {
|
|
23
|
+
expiresAt: string;
|
|
24
|
+
target: {
|
|
25
|
+
objectTypeId: string;
|
|
26
|
+
primaryId: string;
|
|
27
|
+
};
|
|
28
|
+
definitionId: string;
|
|
29
|
+
destinationPath: string;
|
|
30
|
+
};
|
|
31
|
+
params: {};
|
|
32
|
+
query: unknown;
|
|
33
|
+
headers: unknown;
|
|
34
|
+
response: {
|
|
35
|
+
200: {
|
|
36
|
+
url: string;
|
|
37
|
+
grant: {
|
|
38
|
+
id: string;
|
|
39
|
+
expiresAt: string;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
target: {
|
|
42
|
+
objectTypeId: string;
|
|
43
|
+
primaryId: string;
|
|
44
|
+
};
|
|
45
|
+
definitionId: string;
|
|
46
|
+
issuedBy: {
|
|
47
|
+
id: string;
|
|
48
|
+
type: "user" | "serviceAccount";
|
|
49
|
+
};
|
|
50
|
+
destinationPath: string;
|
|
51
|
+
revokedAt?: string | undefined;
|
|
52
|
+
revokedBy?: {
|
|
53
|
+
id: string;
|
|
54
|
+
type: "user" | "serviceAccount" | "system";
|
|
55
|
+
} | undefined;
|
|
56
|
+
};
|
|
57
|
+
} | {
|
|
58
|
+
error: string;
|
|
59
|
+
};
|
|
60
|
+
404: {
|
|
61
|
+
error: string;
|
|
62
|
+
};
|
|
63
|
+
401: {
|
|
64
|
+
error: string;
|
|
65
|
+
};
|
|
66
|
+
403: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
400: {
|
|
70
|
+
error: string;
|
|
71
|
+
};
|
|
72
|
+
501: {
|
|
73
|
+
error: string;
|
|
74
|
+
};
|
|
75
|
+
500: {
|
|
76
|
+
error: string;
|
|
77
|
+
};
|
|
78
|
+
201: {
|
|
79
|
+
url: string;
|
|
80
|
+
grant: {
|
|
81
|
+
id: string;
|
|
82
|
+
expiresAt: string;
|
|
83
|
+
createdAt: string;
|
|
84
|
+
target: {
|
|
85
|
+
objectTypeId: string;
|
|
86
|
+
primaryId: string;
|
|
87
|
+
};
|
|
88
|
+
definitionId: string;
|
|
89
|
+
issuedBy: {
|
|
90
|
+
id: string;
|
|
91
|
+
type: "user" | "serviceAccount";
|
|
92
|
+
};
|
|
93
|
+
destinationPath: string;
|
|
94
|
+
revokedAt?: string | undefined;
|
|
95
|
+
revokedBy?: {
|
|
96
|
+
id: string;
|
|
97
|
+
type: "user" | "serviceAccount" | "system";
|
|
98
|
+
} | undefined;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
422: {
|
|
102
|
+
type: "validation";
|
|
103
|
+
on: string;
|
|
104
|
+
summary?: string;
|
|
105
|
+
message?: string;
|
|
106
|
+
found?: unknown;
|
|
107
|
+
property?: string;
|
|
108
|
+
expected?: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
} & {
|
|
115
|
+
api: {
|
|
116
|
+
"share-grants": {
|
|
117
|
+
get: {
|
|
118
|
+
body: unknown;
|
|
119
|
+
params: {};
|
|
120
|
+
query: {
|
|
121
|
+
definitionId: string;
|
|
122
|
+
primaryId?: string | undefined;
|
|
123
|
+
limit?: number | undefined;
|
|
124
|
+
offset?: number | undefined;
|
|
125
|
+
includeRevoked?: boolean | undefined;
|
|
126
|
+
includeExpired?: boolean | undefined;
|
|
127
|
+
};
|
|
128
|
+
headers: unknown;
|
|
129
|
+
response: {
|
|
130
|
+
200: {
|
|
131
|
+
hasMore: boolean;
|
|
132
|
+
total: number;
|
|
133
|
+
grants: {
|
|
134
|
+
id: string;
|
|
135
|
+
expiresAt: string;
|
|
136
|
+
createdAt: string;
|
|
137
|
+
target: {
|
|
138
|
+
objectTypeId: string;
|
|
139
|
+
primaryId: string;
|
|
140
|
+
};
|
|
141
|
+
definitionId: string;
|
|
142
|
+
issuedBy: {
|
|
143
|
+
id: string;
|
|
144
|
+
type: "user" | "serviceAccount";
|
|
145
|
+
};
|
|
146
|
+
destinationPath: string;
|
|
147
|
+
revokedAt?: string | undefined;
|
|
148
|
+
revokedBy?: {
|
|
149
|
+
id: string;
|
|
150
|
+
type: "user" | "serviceAccount" | "system";
|
|
151
|
+
} | undefined;
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
404: {
|
|
155
|
+
error: string;
|
|
156
|
+
};
|
|
157
|
+
401: {
|
|
158
|
+
error: string;
|
|
159
|
+
};
|
|
160
|
+
403: {
|
|
161
|
+
error: string;
|
|
162
|
+
};
|
|
163
|
+
400: {
|
|
164
|
+
error: string;
|
|
165
|
+
};
|
|
166
|
+
501: {
|
|
167
|
+
error: string;
|
|
168
|
+
};
|
|
169
|
+
500: {
|
|
170
|
+
error: string;
|
|
171
|
+
};
|
|
172
|
+
422: {
|
|
173
|
+
type: "validation";
|
|
174
|
+
on: string;
|
|
175
|
+
summary?: string;
|
|
176
|
+
message?: string;
|
|
177
|
+
found?: unknown;
|
|
178
|
+
property?: string;
|
|
179
|
+
expected?: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
} & {
|
|
186
|
+
api: {
|
|
187
|
+
"share-grants": {
|
|
188
|
+
":grantId": {
|
|
189
|
+
delete: {
|
|
190
|
+
body: unknown;
|
|
191
|
+
params: {
|
|
192
|
+
grantId: string;
|
|
193
|
+
};
|
|
194
|
+
query: unknown;
|
|
195
|
+
headers: unknown;
|
|
196
|
+
response: {
|
|
197
|
+
200: {
|
|
198
|
+
grant: {
|
|
199
|
+
id: string;
|
|
200
|
+
expiresAt: string;
|
|
201
|
+
createdAt: string;
|
|
202
|
+
target: {
|
|
203
|
+
objectTypeId: string;
|
|
204
|
+
primaryId: string;
|
|
205
|
+
};
|
|
206
|
+
definitionId: string;
|
|
207
|
+
issuedBy: {
|
|
208
|
+
id: string;
|
|
209
|
+
type: "user" | "serviceAccount";
|
|
210
|
+
};
|
|
211
|
+
destinationPath: string;
|
|
212
|
+
revokedAt?: string | undefined;
|
|
213
|
+
revokedBy?: {
|
|
214
|
+
id: string;
|
|
215
|
+
type: "user" | "serviceAccount" | "system";
|
|
216
|
+
} | undefined;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
404: {
|
|
220
|
+
error: string;
|
|
221
|
+
};
|
|
222
|
+
401: {
|
|
223
|
+
error: string;
|
|
224
|
+
};
|
|
225
|
+
403: {
|
|
226
|
+
error: string;
|
|
227
|
+
};
|
|
228
|
+
400: {
|
|
229
|
+
error: string;
|
|
230
|
+
};
|
|
231
|
+
501: {
|
|
232
|
+
error: string;
|
|
233
|
+
};
|
|
234
|
+
500: {
|
|
235
|
+
error: string;
|
|
236
|
+
};
|
|
237
|
+
422: {
|
|
238
|
+
type: "validation";
|
|
239
|
+
on: string;
|
|
240
|
+
summary?: string;
|
|
241
|
+
message?: string;
|
|
242
|
+
found?: unknown;
|
|
243
|
+
property?: string;
|
|
244
|
+
expected?: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
}, {
|
|
252
|
+
derive: {};
|
|
253
|
+
resolve: {};
|
|
254
|
+
schema: {};
|
|
255
|
+
standaloneSchema: {};
|
|
256
|
+
response: {};
|
|
257
|
+
}, {
|
|
258
|
+
derive: {};
|
|
259
|
+
resolve: {};
|
|
260
|
+
schema: {};
|
|
261
|
+
standaloneSchema: {};
|
|
262
|
+
response: {};
|
|
263
|
+
}>;
|
|
264
|
+
//# sourceMappingURL=share-grants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"share-grants.d.ts","sourceRoot":"","sources":["../../src/routes/share-grants.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmBpC,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAuJ7D,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAvBjB"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { Elysia } from "elysia";
|
|
2
|
+
import { type SharedAccessBoundary } from "../auth/shared-access";
|
|
3
|
+
export declare function registerSharedAccessRoutes(app: Elysia, boundary: SharedAccessBoundary): Elysia<"", {
|
|
4
|
+
decorator: {};
|
|
5
|
+
store: {};
|
|
6
|
+
derive: {};
|
|
7
|
+
resolve: {};
|
|
8
|
+
}, {
|
|
9
|
+
typebox: {};
|
|
10
|
+
error: {};
|
|
11
|
+
}, {
|
|
12
|
+
schema: {};
|
|
13
|
+
standaloneSchema: {};
|
|
14
|
+
macro: {};
|
|
15
|
+
macroFn: {};
|
|
16
|
+
parser: {};
|
|
17
|
+
response: {};
|
|
18
|
+
}, {
|
|
19
|
+
api: {
|
|
20
|
+
"shared-access": {
|
|
21
|
+
":grantId": {
|
|
22
|
+
exchange: {
|
|
23
|
+
post: {
|
|
24
|
+
body: {
|
|
25
|
+
secret: string;
|
|
26
|
+
};
|
|
27
|
+
params: {
|
|
28
|
+
grantId: string;
|
|
29
|
+
};
|
|
30
|
+
query: unknown;
|
|
31
|
+
headers: unknown;
|
|
32
|
+
response: {
|
|
33
|
+
200: {
|
|
34
|
+
grantId: string;
|
|
35
|
+
csrfToken: string;
|
|
36
|
+
expiresAt: string;
|
|
37
|
+
destinationPath: string;
|
|
38
|
+
absoluteExpiresAt: string;
|
|
39
|
+
};
|
|
40
|
+
401: {
|
|
41
|
+
error: string;
|
|
42
|
+
};
|
|
43
|
+
503: {
|
|
44
|
+
error: string;
|
|
45
|
+
};
|
|
46
|
+
422: {
|
|
47
|
+
type: "validation";
|
|
48
|
+
on: string;
|
|
49
|
+
summary?: string;
|
|
50
|
+
message?: string;
|
|
51
|
+
found?: unknown;
|
|
52
|
+
property?: string;
|
|
53
|
+
expected?: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
} & {
|
|
62
|
+
api: {
|
|
63
|
+
"shared-access": {
|
|
64
|
+
":grantId": {
|
|
65
|
+
session: {
|
|
66
|
+
get: {
|
|
67
|
+
body: unknown;
|
|
68
|
+
params: {
|
|
69
|
+
grantId: string;
|
|
70
|
+
};
|
|
71
|
+
query: unknown;
|
|
72
|
+
headers: unknown;
|
|
73
|
+
response: {
|
|
74
|
+
200: {
|
|
75
|
+
grantId: string;
|
|
76
|
+
csrfToken: string;
|
|
77
|
+
expiresAt: string;
|
|
78
|
+
destinationPath: string;
|
|
79
|
+
absoluteExpiresAt: string;
|
|
80
|
+
};
|
|
81
|
+
401: {
|
|
82
|
+
error: string;
|
|
83
|
+
};
|
|
84
|
+
503: {
|
|
85
|
+
error: string;
|
|
86
|
+
};
|
|
87
|
+
422: {
|
|
88
|
+
type: "validation";
|
|
89
|
+
on: string;
|
|
90
|
+
summary?: string;
|
|
91
|
+
message?: string;
|
|
92
|
+
found?: unknown;
|
|
93
|
+
property?: string;
|
|
94
|
+
expected?: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
} & {
|
|
103
|
+
api: {
|
|
104
|
+
"shared-access": {
|
|
105
|
+
":grantId": {
|
|
106
|
+
"sign-out": {
|
|
107
|
+
post: {
|
|
108
|
+
body: unknown;
|
|
109
|
+
params: {
|
|
110
|
+
grantId: string;
|
|
111
|
+
};
|
|
112
|
+
query: unknown;
|
|
113
|
+
headers: unknown;
|
|
114
|
+
response: {
|
|
115
|
+
200: {
|
|
116
|
+
signedOut: true;
|
|
117
|
+
};
|
|
118
|
+
401: {
|
|
119
|
+
error: string;
|
|
120
|
+
};
|
|
121
|
+
403: {
|
|
122
|
+
error: string;
|
|
123
|
+
};
|
|
124
|
+
503: {
|
|
125
|
+
error: string;
|
|
126
|
+
};
|
|
127
|
+
422: {
|
|
128
|
+
type: "validation";
|
|
129
|
+
on: string;
|
|
130
|
+
summary?: string;
|
|
131
|
+
message?: string;
|
|
132
|
+
found?: unknown;
|
|
133
|
+
property?: string;
|
|
134
|
+
expected?: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
derive: {};
|
|
144
|
+
resolve: {};
|
|
145
|
+
schema: {};
|
|
146
|
+
standaloneSchema: {};
|
|
147
|
+
response: {};
|
|
148
|
+
}, {
|
|
149
|
+
derive: {};
|
|
150
|
+
resolve: {};
|
|
151
|
+
schema: {};
|
|
152
|
+
standaloneSchema: {};
|
|
153
|
+
response: {};
|
|
154
|
+
}>;
|
|
155
|
+
//# sourceMappingURL=shared-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-access.d.ts","sourceRoot":"","sources":["../../src/routes/shared-access.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,EACL,KAAK,oBAAoB,EAK1B,MAAM,uBAAuB,CAAA;AAW9B,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGrF"}
|
package/dist/routes/syncs.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
40
40
|
};
|
|
41
41
|
description?: string | undefined;
|
|
42
42
|
primaryKey?: string | string[] | undefined;
|
|
43
|
+
sequenceBy?: string | undefined;
|
|
43
44
|
partitionBy?: string[] | undefined;
|
|
44
45
|
};
|
|
45
46
|
};
|
|
@@ -112,6 +113,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
112
113
|
};
|
|
113
114
|
description?: string | undefined;
|
|
114
115
|
primaryKey?: string | string[] | undefined;
|
|
116
|
+
sequenceBy?: string | undefined;
|
|
115
117
|
partitionBy?: string[] | undefined;
|
|
116
118
|
};
|
|
117
119
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIjE"}
|
|
@@ -174,8 +174,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
174
174
|
offset?: string | undefined;
|
|
175
175
|
order?: "asc" | "desc" | undefined;
|
|
176
176
|
workflowId?: string | undefined;
|
|
177
|
-
nodeRunId?: string | undefined;
|
|
178
177
|
workflowRunId?: string | undefined;
|
|
178
|
+
nodeRunId?: string | undefined;
|
|
179
179
|
interventionId?: string | undefined;
|
|
180
180
|
nodeId?: string | undefined;
|
|
181
181
|
nodeKey?: string | undefined;
|
|
@@ -193,8 +193,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
193
193
|
id: string;
|
|
194
194
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
195
195
|
workflowId: string;
|
|
196
|
-
nodeRunId: string;
|
|
197
196
|
workflowRunId: string;
|
|
197
|
+
nodeRunId: string;
|
|
198
198
|
interventionId: string;
|
|
199
199
|
nodeId: string;
|
|
200
200
|
nodeKey: string;
|
|
@@ -253,8 +253,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
253
253
|
id: string;
|
|
254
254
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
255
255
|
workflowId: string;
|
|
256
|
-
nodeRunId: string;
|
|
257
256
|
workflowRunId: string;
|
|
257
|
+
nodeRunId: string;
|
|
258
258
|
interventionId: string;
|
|
259
259
|
nodeId: string;
|
|
260
260
|
nodeKey: string;
|
|
@@ -323,8 +323,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
323
323
|
id: string;
|
|
324
324
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
325
325
|
workflowId: string;
|
|
326
|
-
nodeRunId: string;
|
|
327
326
|
workflowRunId: string;
|
|
327
|
+
nodeRunId: string;
|
|
328
328
|
interventionId: string;
|
|
329
329
|
nodeId: string;
|
|
330
330
|
nodeKey: string;
|
|
@@ -363,8 +363,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
363
363
|
id: string;
|
|
364
364
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
365
365
|
workflowId: string;
|
|
366
|
-
nodeRunId: string;
|
|
367
366
|
workflowRunId: string;
|
|
367
|
+
nodeRunId: string;
|
|
368
368
|
interventionId: string;
|
|
369
369
|
nodeId: string;
|
|
370
370
|
nodeKey: string;
|
|
@@ -421,8 +421,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
421
421
|
id: string;
|
|
422
422
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
423
423
|
workflowId: string;
|
|
424
|
-
nodeRunId: string;
|
|
425
424
|
workflowRunId: string;
|
|
425
|
+
nodeRunId: string;
|
|
426
426
|
interventionId: string;
|
|
427
427
|
nodeId: string;
|
|
428
428
|
nodeKey: string;
|
|
@@ -669,7 +669,6 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
669
669
|
diagnostics?: import("../schemas/common").JsonValue[] | undefined;
|
|
670
670
|
trace?: ({
|
|
671
671
|
origin: "ambient" | "explicit";
|
|
672
|
-
type: "context";
|
|
673
672
|
context: {
|
|
674
673
|
kind: "object";
|
|
675
674
|
ref: {
|
|
@@ -683,6 +682,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
683
682
|
value: import("../schemas/common").JsonValue;
|
|
684
683
|
label: string;
|
|
685
684
|
};
|
|
685
|
+
type: "context";
|
|
686
686
|
} | {
|
|
687
687
|
type: "text";
|
|
688
688
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAEL,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,2BAA2B,CAAA;AAOlC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAgC9C,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK5B,CAAA;AAMF,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GACpD;IACE,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;CAC/C,GACD;IACE,EAAE,EAAE,KAAK,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd,CAcJ;AAED,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC,EACrC,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAMxD;AAED,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC,EACrC,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCxE"}
|
package/dist/routes/ws/logs.d.ts
CHANGED
|
@@ -10,46 +10,46 @@ declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
10
10
|
id: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
|
-
kind: "workflow" | "agent" | "
|
|
13
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
14
14
|
}, {
|
|
15
15
|
id: string;
|
|
16
|
-
kind: "workflow" | "agent" | "
|
|
16
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
17
17
|
}>>;
|
|
18
18
|
afterCursor: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
type: "subscribe";
|
|
21
21
|
run?: {
|
|
22
22
|
id: string;
|
|
23
|
-
kind: "workflow" | "agent" | "
|
|
23
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
24
24
|
} | undefined;
|
|
25
|
-
kinds?: ("workflow" | "agent" | "
|
|
25
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
26
26
|
afterCursor?: string | undefined;
|
|
27
27
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
type: "subscribe";
|
|
30
30
|
run?: {
|
|
31
31
|
id: string;
|
|
32
|
-
kind: "workflow" | "agent" | "
|
|
32
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
33
33
|
} | undefined;
|
|
34
|
-
kinds?: ("workflow" | "agent" | "
|
|
34
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
35
35
|
afterCursor?: string | undefined;
|
|
36
36
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
type: "subscribe";
|
|
39
39
|
run?: {
|
|
40
40
|
id: string;
|
|
41
|
-
kind: "workflow" | "agent" | "
|
|
41
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
42
42
|
} | undefined;
|
|
43
|
-
kinds?: ("workflow" | "agent" | "
|
|
43
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
44
44
|
afterCursor?: string | undefined;
|
|
45
45
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
type: "subscribe";
|
|
48
48
|
run?: {
|
|
49
49
|
id: string;
|
|
50
|
-
kind: "workflow" | "agent" | "
|
|
50
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
51
51
|
} | undefined;
|
|
52
|
-
kinds?: ("workflow" | "agent" | "
|
|
52
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
53
53
|
afterCursor?: string | undefined;
|
|
54
54
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
55
55
|
}>, z.ZodObject<{
|