@anchrd/intel-contract 0.13.0 → 0.15.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/README.md +80 -0
- package/dist/contract/bundle.d.ts +85 -0
- package/dist/contract/bundle.js +63 -0
- package/dist/contract/contract.d.ts +3 -2245
- package/dist/contract/contract.js +24 -1108
- package/dist/contract/flow-run.d.ts +346 -0
- package/dist/contract/flow-run.js +181 -0
- package/dist/contract/flow.d.ts +995 -0
- package/dist/contract/flow.js +417 -0
- package/dist/contract/node.d.ts +402 -0
- package/dist/contract/node.js +310 -0
- package/dist/contract/share.d.ts +142 -0
- package/dist/contract/share.js +67 -0
- package/dist/contract/table.d.ts +162 -0
- package/dist/contract/table.js +117 -0
- package/dist/contract/tool.d.ts +122 -0
- package/dist/contract/tool.js +172 -0
- package/package.json +29 -1
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const NodeKind: z.ZodEnum<{
|
|
3
|
+
folder: "folder";
|
|
4
|
+
document: "document";
|
|
5
|
+
table: "table";
|
|
6
|
+
attachment: "attachment";
|
|
7
|
+
}>;
|
|
8
|
+
export type NodeKind = z.infer<typeof NodeKind>;
|
|
9
|
+
export declare const Node: z.ZodObject<{
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
12
|
+
kind: z.ZodEnum<{
|
|
13
|
+
folder: "folder";
|
|
14
|
+
document: "document";
|
|
15
|
+
table: "table";
|
|
16
|
+
attachment: "attachment";
|
|
17
|
+
}>;
|
|
18
|
+
title: z.ZodString;
|
|
19
|
+
description: z.ZodNullable<z.ZodString>;
|
|
20
|
+
ownerId: z.ZodString;
|
|
21
|
+
currentVersionId: z.ZodNullable<z.ZodString>;
|
|
22
|
+
createdAt: z.ZodISODateTime;
|
|
23
|
+
updatedAt: z.ZodISODateTime;
|
|
24
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export type Node = z.infer<typeof Node>;
|
|
27
|
+
export declare const NodeVersionSegment: z.ZodEnum<{
|
|
28
|
+
append: "append";
|
|
29
|
+
snapshot: "snapshot";
|
|
30
|
+
}>;
|
|
31
|
+
export type NodeVersionSegment = z.infer<typeof NodeVersionSegment>;
|
|
32
|
+
export declare const NodeVersion: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
nodeId: z.ZodString;
|
|
35
|
+
sequence: z.ZodNumber;
|
|
36
|
+
contentKey: z.ZodString;
|
|
37
|
+
mediaType: z.ZodString;
|
|
38
|
+
contentHash: z.ZodString;
|
|
39
|
+
size: z.ZodNumber;
|
|
40
|
+
segment: z.ZodNullable<z.ZodEnum<{
|
|
41
|
+
append: "append";
|
|
42
|
+
snapshot: "snapshot";
|
|
43
|
+
}>>;
|
|
44
|
+
createdBy: z.ZodString;
|
|
45
|
+
createdAt: z.ZodISODateTime;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type NodeVersion = z.infer<typeof NodeVersion>;
|
|
48
|
+
export declare const ListNodesInput: z.ZodObject<{
|
|
49
|
+
parentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
51
|
+
archivedOnly: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
export type ListNodesInput = z.infer<typeof ListNodesInput>;
|
|
54
|
+
export declare const GetNodeInput: z.ZodObject<{
|
|
55
|
+
nodeId: z.ZodString;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
export type GetNodeInput = z.infer<typeof GetNodeInput>;
|
|
58
|
+
export declare const GetNodeVersionInput: z.ZodObject<{
|
|
59
|
+
nodeId: z.ZodString;
|
|
60
|
+
versionId: z.ZodString;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export type GetNodeVersionInput = z.infer<typeof GetNodeVersionInput>;
|
|
63
|
+
export declare const CreateNodeInput: z.ZodObject<{
|
|
64
|
+
parentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
kind: z.ZodEnum<{
|
|
66
|
+
folder: "folder";
|
|
67
|
+
document: "document";
|
|
68
|
+
table: "table";
|
|
69
|
+
attachment: "attachment";
|
|
70
|
+
}>;
|
|
71
|
+
title: z.ZodString;
|
|
72
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
idempotencyKey: z.ZodString;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
export type CreateNodeInput = z.infer<typeof CreateNodeInput>;
|
|
76
|
+
export declare const SaveNodeVersionInput: z.ZodObject<{
|
|
77
|
+
nodeId: z.ZodString;
|
|
78
|
+
baseVersionId: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
79
|
+
content: z.ZodString;
|
|
80
|
+
mediaType: z.ZodDefault<z.ZodString>;
|
|
81
|
+
idempotencyKey: z.ZodString;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
export type SaveNodeVersionInput = z.infer<typeof SaveNodeVersionInput>;
|
|
84
|
+
export declare const SaveAttachmentInput: z.ZodObject<{
|
|
85
|
+
nodeId: z.ZodString;
|
|
86
|
+
baseVersionId: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
87
|
+
contentBase64: z.ZodString;
|
|
88
|
+
mediaType: z.ZodString;
|
|
89
|
+
idempotencyKey: z.ZodString;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export type SaveAttachmentInput = z.infer<typeof SaveAttachmentInput>;
|
|
92
|
+
export declare const UpdateNodeInput: z.ZodObject<{
|
|
93
|
+
nodeId: z.ZodString;
|
|
94
|
+
baseUpdatedAt: z.ZodISODateTime;
|
|
95
|
+
title: z.ZodOptional<z.ZodString>;
|
|
96
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
idempotencyKey: z.ZodString;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
export type UpdateNodeInput = z.infer<typeof UpdateNodeInput>;
|
|
101
|
+
export declare const ArchiveNodeInput: z.ZodObject<{
|
|
102
|
+
nodeId: z.ZodString;
|
|
103
|
+
baseUpdatedAt: z.ZodISODateTime;
|
|
104
|
+
archived: z.ZodBoolean;
|
|
105
|
+
idempotencyKey: z.ZodString;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type ArchiveNodeInput = z.infer<typeof ArchiveNodeInput>;
|
|
108
|
+
export declare const NodeList: z.ZodObject<{
|
|
109
|
+
items: z.ZodArray<z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
112
|
+
kind: z.ZodEnum<{
|
|
113
|
+
folder: "folder";
|
|
114
|
+
document: "document";
|
|
115
|
+
table: "table";
|
|
116
|
+
attachment: "attachment";
|
|
117
|
+
}>;
|
|
118
|
+
title: z.ZodString;
|
|
119
|
+
description: z.ZodNullable<z.ZodString>;
|
|
120
|
+
ownerId: z.ZodString;
|
|
121
|
+
currentVersionId: z.ZodNullable<z.ZodString>;
|
|
122
|
+
createdAt: z.ZodISODateTime;
|
|
123
|
+
updatedAt: z.ZodISODateTime;
|
|
124
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
125
|
+
}, z.core.$strict>>;
|
|
126
|
+
withChildren: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export type NodeList = z.infer<typeof NodeList>;
|
|
129
|
+
export declare const NodeVersionList: z.ZodObject<{
|
|
130
|
+
items: z.ZodArray<z.ZodObject<{
|
|
131
|
+
id: z.ZodString;
|
|
132
|
+
nodeId: z.ZodString;
|
|
133
|
+
sequence: z.ZodNumber;
|
|
134
|
+
contentKey: z.ZodString;
|
|
135
|
+
mediaType: z.ZodString;
|
|
136
|
+
contentHash: z.ZodString;
|
|
137
|
+
size: z.ZodNumber;
|
|
138
|
+
segment: z.ZodNullable<z.ZodEnum<{
|
|
139
|
+
append: "append";
|
|
140
|
+
snapshot: "snapshot";
|
|
141
|
+
}>>;
|
|
142
|
+
createdBy: z.ZodString;
|
|
143
|
+
createdAt: z.ZodISODateTime;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
export type NodeVersionList = z.infer<typeof NodeVersionList>;
|
|
147
|
+
export declare const NodeDocument: z.ZodObject<{
|
|
148
|
+
node: z.ZodObject<{
|
|
149
|
+
id: z.ZodString;
|
|
150
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
151
|
+
kind: z.ZodEnum<{
|
|
152
|
+
folder: "folder";
|
|
153
|
+
document: "document";
|
|
154
|
+
table: "table";
|
|
155
|
+
attachment: "attachment";
|
|
156
|
+
}>;
|
|
157
|
+
title: z.ZodString;
|
|
158
|
+
description: z.ZodNullable<z.ZodString>;
|
|
159
|
+
ownerId: z.ZodString;
|
|
160
|
+
currentVersionId: z.ZodNullable<z.ZodString>;
|
|
161
|
+
createdAt: z.ZodISODateTime;
|
|
162
|
+
updatedAt: z.ZodISODateTime;
|
|
163
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
version: z.ZodNullable<z.ZodObject<{
|
|
166
|
+
id: z.ZodString;
|
|
167
|
+
nodeId: z.ZodString;
|
|
168
|
+
sequence: z.ZodNumber;
|
|
169
|
+
contentKey: z.ZodString;
|
|
170
|
+
mediaType: z.ZodString;
|
|
171
|
+
contentHash: z.ZodString;
|
|
172
|
+
size: z.ZodNumber;
|
|
173
|
+
segment: z.ZodNullable<z.ZodEnum<{
|
|
174
|
+
append: "append";
|
|
175
|
+
snapshot: "snapshot";
|
|
176
|
+
}>>;
|
|
177
|
+
createdBy: z.ZodString;
|
|
178
|
+
createdAt: z.ZodISODateTime;
|
|
179
|
+
}, z.core.$strict>>;
|
|
180
|
+
content: z.ZodNullable<z.ZodString>;
|
|
181
|
+
}, z.core.$strict>;
|
|
182
|
+
export type NodeDocument = z.infer<typeof NodeDocument>;
|
|
183
|
+
export declare const NodeAttachment: z.ZodObject<{
|
|
184
|
+
node: z.ZodObject<{
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
187
|
+
kind: z.ZodEnum<{
|
|
188
|
+
folder: "folder";
|
|
189
|
+
document: "document";
|
|
190
|
+
table: "table";
|
|
191
|
+
attachment: "attachment";
|
|
192
|
+
}>;
|
|
193
|
+
title: z.ZodString;
|
|
194
|
+
description: z.ZodNullable<z.ZodString>;
|
|
195
|
+
ownerId: z.ZodString;
|
|
196
|
+
currentVersionId: z.ZodNullable<z.ZodString>;
|
|
197
|
+
createdAt: z.ZodISODateTime;
|
|
198
|
+
updatedAt: z.ZodISODateTime;
|
|
199
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
200
|
+
}, z.core.$strict>;
|
|
201
|
+
version: z.ZodObject<{
|
|
202
|
+
id: z.ZodString;
|
|
203
|
+
nodeId: z.ZodString;
|
|
204
|
+
sequence: z.ZodNumber;
|
|
205
|
+
contentKey: z.ZodString;
|
|
206
|
+
mediaType: z.ZodString;
|
|
207
|
+
contentHash: z.ZodString;
|
|
208
|
+
size: z.ZodNumber;
|
|
209
|
+
segment: z.ZodNullable<z.ZodEnum<{
|
|
210
|
+
append: "append";
|
|
211
|
+
snapshot: "snapshot";
|
|
212
|
+
}>>;
|
|
213
|
+
createdBy: z.ZodString;
|
|
214
|
+
createdAt: z.ZodISODateTime;
|
|
215
|
+
}, z.core.$strict>;
|
|
216
|
+
resourceUri: z.ZodString;
|
|
217
|
+
}, z.core.$strict>;
|
|
218
|
+
export type NodeAttachment = z.infer<typeof NodeAttachment>;
|
|
219
|
+
export declare const NodeTable: z.ZodObject<{
|
|
220
|
+
node: z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
223
|
+
kind: z.ZodEnum<{
|
|
224
|
+
folder: "folder";
|
|
225
|
+
document: "document";
|
|
226
|
+
table: "table";
|
|
227
|
+
attachment: "attachment";
|
|
228
|
+
}>;
|
|
229
|
+
title: z.ZodString;
|
|
230
|
+
description: z.ZodNullable<z.ZodString>;
|
|
231
|
+
ownerId: z.ZodString;
|
|
232
|
+
currentVersionId: z.ZodNullable<z.ZodString>;
|
|
233
|
+
createdAt: z.ZodISODateTime;
|
|
234
|
+
updatedAt: z.ZodISODateTime;
|
|
235
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
columns: z.ZodArray<z.ZodString>;
|
|
238
|
+
rows: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
239
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
export type NodeTable = z.infer<typeof NodeTable>;
|
|
242
|
+
export declare const NodeLinkRelation: z.ZodEnum<{
|
|
243
|
+
references: "references";
|
|
244
|
+
related: "related";
|
|
245
|
+
depends_on: "depends_on";
|
|
246
|
+
implements: "implements";
|
|
247
|
+
}>;
|
|
248
|
+
export type NodeLinkRelation = z.infer<typeof NodeLinkRelation>;
|
|
249
|
+
export declare const NodeLinkOrigin: z.ZodEnum<{
|
|
250
|
+
manual: "manual";
|
|
251
|
+
text: "text";
|
|
252
|
+
}>;
|
|
253
|
+
export type NodeLinkOrigin = z.infer<typeof NodeLinkOrigin>;
|
|
254
|
+
export declare const NodeLink: z.ZodObject<{
|
|
255
|
+
id: z.ZodString;
|
|
256
|
+
sourceNodeId: z.ZodString;
|
|
257
|
+
targetNodeId: z.ZodString;
|
|
258
|
+
relation: z.ZodEnum<{
|
|
259
|
+
references: "references";
|
|
260
|
+
related: "related";
|
|
261
|
+
depends_on: "depends_on";
|
|
262
|
+
implements: "implements";
|
|
263
|
+
}>;
|
|
264
|
+
origin: z.ZodEnum<{
|
|
265
|
+
manual: "manual";
|
|
266
|
+
text: "text";
|
|
267
|
+
}>;
|
|
268
|
+
label: z.ZodNullable<z.ZodString>;
|
|
269
|
+
createdBy: z.ZodString;
|
|
270
|
+
createdAt: z.ZodISODateTime;
|
|
271
|
+
}, z.core.$strict>;
|
|
272
|
+
export type NodeLink = z.infer<typeof NodeLink>;
|
|
273
|
+
export declare const NodeLinkList: z.ZodObject<{
|
|
274
|
+
items: z.ZodArray<z.ZodObject<{
|
|
275
|
+
id: z.ZodString;
|
|
276
|
+
sourceNodeId: z.ZodString;
|
|
277
|
+
targetNodeId: z.ZodString;
|
|
278
|
+
relation: z.ZodEnum<{
|
|
279
|
+
references: "references";
|
|
280
|
+
related: "related";
|
|
281
|
+
depends_on: "depends_on";
|
|
282
|
+
implements: "implements";
|
|
283
|
+
}>;
|
|
284
|
+
origin: z.ZodEnum<{
|
|
285
|
+
manual: "manual";
|
|
286
|
+
text: "text";
|
|
287
|
+
}>;
|
|
288
|
+
label: z.ZodNullable<z.ZodString>;
|
|
289
|
+
createdBy: z.ZodString;
|
|
290
|
+
createdAt: z.ZodISODateTime;
|
|
291
|
+
}, z.core.$strict>>;
|
|
292
|
+
}, z.core.$strict>;
|
|
293
|
+
export type NodeLinkList = z.infer<typeof NodeLinkList>;
|
|
294
|
+
export declare const DocumentLinkInlineType = "documentLink";
|
|
295
|
+
export declare const ResolveNodeLinksInput: z.ZodObject<{
|
|
296
|
+
nodeIds: z.ZodArray<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
export type ResolveNodeLinksInput = z.infer<typeof ResolveNodeLinksInput>;
|
|
299
|
+
export declare const ResolvedNodeLink: z.ZodObject<{
|
|
300
|
+
nodeId: z.ZodString;
|
|
301
|
+
title: z.ZodString;
|
|
302
|
+
}, z.core.$strict>;
|
|
303
|
+
export type ResolvedNodeLink = z.infer<typeof ResolvedNodeLink>;
|
|
304
|
+
export declare const ResolveNodeLinksResult: z.ZodObject<{
|
|
305
|
+
items: z.ZodArray<z.ZodObject<{
|
|
306
|
+
nodeId: z.ZodString;
|
|
307
|
+
title: z.ZodString;
|
|
308
|
+
}, z.core.$strict>>;
|
|
309
|
+
}, z.core.$strict>;
|
|
310
|
+
export type ResolveNodeLinksResult = z.infer<typeof ResolveNodeLinksResult>;
|
|
311
|
+
export declare const NodeGraphInput: z.ZodObject<{
|
|
312
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
313
|
+
}, z.core.$strict>;
|
|
314
|
+
export type NodeGraphInput = z.infer<typeof NodeGraphInput>;
|
|
315
|
+
export declare const NodeGraph: z.ZodObject<{
|
|
316
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
317
|
+
id: z.ZodString;
|
|
318
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
319
|
+
kind: z.ZodEnum<{
|
|
320
|
+
folder: "folder";
|
|
321
|
+
document: "document";
|
|
322
|
+
table: "table";
|
|
323
|
+
attachment: "attachment";
|
|
324
|
+
}>;
|
|
325
|
+
title: z.ZodString;
|
|
326
|
+
description: z.ZodNullable<z.ZodString>;
|
|
327
|
+
ownerId: z.ZodString;
|
|
328
|
+
currentVersionId: z.ZodNullable<z.ZodString>;
|
|
329
|
+
createdAt: z.ZodISODateTime;
|
|
330
|
+
updatedAt: z.ZodISODateTime;
|
|
331
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
332
|
+
}, z.core.$strict>>;
|
|
333
|
+
links: z.ZodArray<z.ZodObject<{
|
|
334
|
+
id: z.ZodString;
|
|
335
|
+
sourceNodeId: z.ZodString;
|
|
336
|
+
targetNodeId: z.ZodString;
|
|
337
|
+
relation: z.ZodEnum<{
|
|
338
|
+
references: "references";
|
|
339
|
+
related: "related";
|
|
340
|
+
depends_on: "depends_on";
|
|
341
|
+
implements: "implements";
|
|
342
|
+
}>;
|
|
343
|
+
origin: z.ZodEnum<{
|
|
344
|
+
manual: "manual";
|
|
345
|
+
text: "text";
|
|
346
|
+
}>;
|
|
347
|
+
label: z.ZodNullable<z.ZodString>;
|
|
348
|
+
createdBy: z.ZodString;
|
|
349
|
+
createdAt: z.ZodISODateTime;
|
|
350
|
+
}, z.core.$strict>>;
|
|
351
|
+
}, z.core.$strict>;
|
|
352
|
+
export type NodeGraph = z.infer<typeof NodeGraph>;
|
|
353
|
+
export declare const BlockNoteMediaType = "application/vnd.anchrd.intel.blocknote+json";
|
|
354
|
+
export declare const BlockNoteDocument: z.ZodObject<{
|
|
355
|
+
format: z.ZodLiteral<"blocknote">;
|
|
356
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
357
|
+
blocks: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
358
|
+
markdown: z.ZodString;
|
|
359
|
+
}, z.core.$strict>;
|
|
360
|
+
export type BlockNoteDocument = z.infer<typeof BlockNoteDocument>;
|
|
361
|
+
export declare const SearchInput: z.ZodObject<{
|
|
362
|
+
query: z.ZodString;
|
|
363
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
364
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
365
|
+
}, z.core.$strict>;
|
|
366
|
+
export type SearchInput = z.infer<typeof SearchInput>;
|
|
367
|
+
export declare const NodeCitation: z.ZodObject<{
|
|
368
|
+
nodeId: z.ZodString;
|
|
369
|
+
versionId: z.ZodString;
|
|
370
|
+
title: z.ZodString;
|
|
371
|
+
passage: z.ZodString;
|
|
372
|
+
source: z.ZodString;
|
|
373
|
+
freshness: z.ZodISODateTime;
|
|
374
|
+
score: z.ZodNumber;
|
|
375
|
+
match: z.ZodEnum<{
|
|
376
|
+
semantic: "semantic";
|
|
377
|
+
lexical: "lexical";
|
|
378
|
+
hybrid: "hybrid";
|
|
379
|
+
}>;
|
|
380
|
+
}, z.core.$strict>;
|
|
381
|
+
export type NodeCitation = z.infer<typeof NodeCitation>;
|
|
382
|
+
export declare const SearchResult: z.ZodObject<{
|
|
383
|
+
items: z.ZodArray<z.ZodObject<{
|
|
384
|
+
nodeId: z.ZodString;
|
|
385
|
+
versionId: z.ZodString;
|
|
386
|
+
title: z.ZodString;
|
|
387
|
+
passage: z.ZodString;
|
|
388
|
+
source: z.ZodString;
|
|
389
|
+
freshness: z.ZodISODateTime;
|
|
390
|
+
score: z.ZodNumber;
|
|
391
|
+
match: z.ZodEnum<{
|
|
392
|
+
semantic: "semantic";
|
|
393
|
+
lexical: "lexical";
|
|
394
|
+
hybrid: "hybrid";
|
|
395
|
+
}>;
|
|
396
|
+
}, z.core.$strict>>;
|
|
397
|
+
}, z.core.$strict>;
|
|
398
|
+
export type SearchResult = z.infer<typeof SearchResult>;
|
|
399
|
+
export declare const ReindexResult: z.ZodObject<{
|
|
400
|
+
queued: z.ZodNumber;
|
|
401
|
+
}, z.core.$strict>;
|
|
402
|
+
export type ReindexResult = z.infer<typeof ReindexResult>;
|