@synap-core/api-types 1.0.23 → 1.0.25
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/index.bundled.d.ts +734 -202
- package/package.json +2 -2
package/dist/index.bundled.d.ts
CHANGED
|
@@ -59,10 +59,10 @@ transformer: true;
|
|
|
59
59
|
}, TRPCDecorateCreateRouterOptions< {
|
|
60
60
|
log: TRPCMutationProcedure< {
|
|
61
61
|
input: {
|
|
62
|
-
data: Record<string, unknown>;
|
|
63
62
|
version: number;
|
|
63
|
+
data: Record<string, unknown>;
|
|
64
64
|
subjectId: string;
|
|
65
|
-
subjectType: "user" | "
|
|
65
|
+
subjectType: "user" | "entity" | "system" | "relation";
|
|
66
66
|
eventType: string;
|
|
67
67
|
metadata?: Record<string, unknown> | undefined;
|
|
68
68
|
source?: "system" | "api" | "automation" | "sync" | "migration" | undefined;
|
|
@@ -114,11 +114,11 @@ transformer: true;
|
|
|
114
114
|
}, TRPCDecorateCreateRouterOptions< {
|
|
115
115
|
create: TRPCMutationProcedure< {
|
|
116
116
|
input: {
|
|
117
|
-
type: "
|
|
117
|
+
type: "task" | "contact" | "meeting" | "idea" | "note" | "project";
|
|
118
118
|
workspaceId: string;
|
|
119
|
-
description?: string | undefined;
|
|
120
119
|
title?: string | null | undefined;
|
|
121
120
|
documentId?: string | null | undefined;
|
|
121
|
+
description?: string | undefined;
|
|
122
122
|
};
|
|
123
123
|
output: {
|
|
124
124
|
status: string;
|
|
@@ -126,7 +126,7 @@ message: string;
|
|
|
126
126
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
127
127
|
entity: {
|
|
128
128
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
129
|
-
type: "
|
|
129
|
+
type: "task" | "contact" | "meeting" | "idea" | "note" | "project";
|
|
130
130
|
title: string | null | undefined;
|
|
131
131
|
preview: string | undefined;
|
|
132
132
|
userId: string;
|
|
@@ -140,51 +140,403 @@ meta: object;
|
|
|
140
140
|
}>;
|
|
141
141
|
list: TRPCQueryProcedure< {
|
|
142
142
|
input: {
|
|
143
|
-
type?: "
|
|
144
|
-
limit?: number | undefined;
|
|
143
|
+
type?: "task" | "contact" | "meeting" | "idea" | "note" | "project" | undefined;
|
|
145
144
|
workspaceId?: string | undefined;
|
|
145
|
+
limit?: number | undefined;
|
|
146
146
|
};
|
|
147
147
|
output: {
|
|
148
|
-
entities: {
|
|
148
|
+
entities: ({
|
|
149
|
+
type: "task";
|
|
150
|
+
id: string;
|
|
149
151
|
userId: string;
|
|
152
|
+
workspaceId: string | null;
|
|
153
|
+
title: string | null;
|
|
154
|
+
preview: string | null;
|
|
155
|
+
documentId: string | null;
|
|
156
|
+
metadata: {
|
|
157
|
+
status: "todo" | "in_progress" | "done" | "archived";
|
|
158
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
159
|
+
dueDate?: string | undefined;
|
|
160
|
+
completedAt?: string | undefined;
|
|
161
|
+
assignee?: string | undefined;
|
|
162
|
+
estimatedMinutes?: number | undefined;
|
|
163
|
+
actualMinutes?: number | undefined;
|
|
164
|
+
};
|
|
165
|
+
fileUrl: string | null;
|
|
166
|
+
filePath: string | null;
|
|
167
|
+
fileSize: number | null;
|
|
168
|
+
fileType: string | null;
|
|
169
|
+
checksum: string | null;
|
|
170
|
+
version: number;
|
|
171
|
+
createdAt: Date;
|
|
172
|
+
updatedAt: Date;
|
|
173
|
+
deletedAt: Date | null;
|
|
174
|
+
} | {
|
|
175
|
+
type: "note";
|
|
150
176
|
id: string;
|
|
177
|
+
userId: string;
|
|
178
|
+
workspaceId: string | null;
|
|
179
|
+
title: string | null;
|
|
180
|
+
preview: string | null;
|
|
181
|
+
documentId: string | null;
|
|
182
|
+
metadata: {
|
|
183
|
+
tags: string[];
|
|
184
|
+
format: "markdown" | "plain" | "rich";
|
|
185
|
+
isFavorite: boolean;
|
|
186
|
+
linkedEntities?: string[] | undefined;
|
|
187
|
+
};
|
|
188
|
+
fileUrl: string | null;
|
|
189
|
+
filePath: string | null;
|
|
190
|
+
fileSize: number | null;
|
|
191
|
+
fileType: string | null;
|
|
192
|
+
checksum: string | null;
|
|
193
|
+
version: number;
|
|
151
194
|
createdAt: Date;
|
|
152
|
-
|
|
195
|
+
updatedAt: Date;
|
|
196
|
+
deletedAt: Date | null;
|
|
197
|
+
} | {
|
|
198
|
+
type: "person";
|
|
199
|
+
id: string;
|
|
200
|
+
userId: string;
|
|
201
|
+
workspaceId: string | null;
|
|
153
202
|
title: string | null;
|
|
154
|
-
|
|
155
|
-
|
|
203
|
+
preview: string | null;
|
|
204
|
+
documentId: string | null;
|
|
205
|
+
metadata: {
|
|
206
|
+
email?: string | undefined;
|
|
207
|
+
phone?: string | undefined;
|
|
208
|
+
company?: string | undefined;
|
|
209
|
+
role?: string | undefined;
|
|
210
|
+
linkedInUrl?: string | undefined;
|
|
211
|
+
twitterHandle?: string | undefined;
|
|
212
|
+
notes?: string | undefined;
|
|
213
|
+
};
|
|
214
|
+
fileUrl: string | null;
|
|
215
|
+
filePath: string | null;
|
|
216
|
+
fileSize: number | null;
|
|
217
|
+
fileType: string | null;
|
|
218
|
+
checksum: string | null;
|
|
219
|
+
version: number;
|
|
220
|
+
createdAt: Date;
|
|
221
|
+
updatedAt: Date;
|
|
222
|
+
deletedAt: Date | null;
|
|
223
|
+
} | {
|
|
224
|
+
type: "event";
|
|
225
|
+
id: string;
|
|
226
|
+
userId: string;
|
|
227
|
+
workspaceId: string | null;
|
|
228
|
+
title: string | null;
|
|
229
|
+
preview: string | null;
|
|
156
230
|
documentId: string | null;
|
|
231
|
+
metadata: {
|
|
232
|
+
startTime: string;
|
|
233
|
+
endTime: string;
|
|
234
|
+
recurring: boolean;
|
|
235
|
+
isAllDay: boolean;
|
|
236
|
+
location?: string | undefined;
|
|
237
|
+
attendees?: string[] | undefined;
|
|
238
|
+
recurrenceRule?: string | undefined;
|
|
239
|
+
reminderMinutes?: number | undefined;
|
|
240
|
+
};
|
|
241
|
+
fileUrl: string | null;
|
|
242
|
+
filePath: string | null;
|
|
243
|
+
fileSize: number | null;
|
|
244
|
+
fileType: string | null;
|
|
245
|
+
checksum: string | null;
|
|
246
|
+
version: number;
|
|
247
|
+
createdAt: Date;
|
|
248
|
+
updatedAt: Date;
|
|
249
|
+
deletedAt: Date | null;
|
|
250
|
+
} | {
|
|
251
|
+
type: "file";
|
|
252
|
+
id: string;
|
|
253
|
+
userId: string;
|
|
254
|
+
workspaceId: string | null;
|
|
255
|
+
title: string | null;
|
|
157
256
|
preview: string | null;
|
|
257
|
+
documentId: string | null;
|
|
258
|
+
metadata: {
|
|
259
|
+
mimeType: string;
|
|
260
|
+
sizeBytes: number;
|
|
261
|
+
extension: string;
|
|
262
|
+
thumbnailUrl?: string | undefined;
|
|
263
|
+
downloadUrl?: string | undefined;
|
|
264
|
+
};
|
|
265
|
+
fileUrl: string | null;
|
|
266
|
+
filePath: string | null;
|
|
267
|
+
fileSize: number | null;
|
|
268
|
+
fileType: string | null;
|
|
269
|
+
checksum: string | null;
|
|
270
|
+
version: number;
|
|
271
|
+
createdAt: Date;
|
|
158
272
|
updatedAt: Date;
|
|
159
|
-
|
|
273
|
+
deletedAt: Date | null;
|
|
274
|
+
} | {
|
|
275
|
+
type: "code";
|
|
276
|
+
id: string;
|
|
277
|
+
userId: string;
|
|
278
|
+
workspaceId: string | null;
|
|
279
|
+
title: string | null;
|
|
280
|
+
preview: string | null;
|
|
281
|
+
documentId: string | null;
|
|
282
|
+
metadata: {
|
|
283
|
+
language: string;
|
|
284
|
+
snippet?: string | undefined;
|
|
285
|
+
};
|
|
286
|
+
fileUrl: string | null;
|
|
287
|
+
filePath: string | null;
|
|
288
|
+
fileSize: number | null;
|
|
289
|
+
fileType: string | null;
|
|
290
|
+
checksum: string | null;
|
|
160
291
|
version: number;
|
|
292
|
+
createdAt: Date;
|
|
293
|
+
updatedAt: Date;
|
|
161
294
|
deletedAt: Date | null;
|
|
162
|
-
}
|
|
295
|
+
} | {
|
|
296
|
+
type: "bookmark";
|
|
297
|
+
id: string;
|
|
298
|
+
userId: string;
|
|
299
|
+
workspaceId: string | null;
|
|
300
|
+
title: string | null;
|
|
301
|
+
preview: string | null;
|
|
302
|
+
documentId: string | null;
|
|
303
|
+
metadata: {
|
|
304
|
+
url: string;
|
|
305
|
+
favicon?: string | undefined;
|
|
306
|
+
};
|
|
307
|
+
fileUrl: string | null;
|
|
308
|
+
filePath: string | null;
|
|
309
|
+
fileSize: number | null;
|
|
310
|
+
fileType: string | null;
|
|
311
|
+
checksum: string | null;
|
|
312
|
+
version: number;
|
|
313
|
+
createdAt: Date;
|
|
314
|
+
updatedAt: Date;
|
|
315
|
+
deletedAt: Date | null;
|
|
316
|
+
} | {
|
|
317
|
+
type: "company";
|
|
318
|
+
id: string;
|
|
319
|
+
userId: string;
|
|
320
|
+
workspaceId: string | null;
|
|
321
|
+
title: string | null;
|
|
322
|
+
preview: string | null;
|
|
323
|
+
documentId: string | null;
|
|
324
|
+
metadata: {
|
|
325
|
+
website?: string | undefined;
|
|
326
|
+
industry?: string | undefined;
|
|
327
|
+
foundedYear?: number | undefined;
|
|
328
|
+
};
|
|
329
|
+
fileUrl: string | null;
|
|
330
|
+
filePath: string | null;
|
|
331
|
+
fileSize: number | null;
|
|
332
|
+
fileType: string | null;
|
|
333
|
+
checksum: string | null;
|
|
334
|
+
version: number;
|
|
335
|
+
createdAt: Date;
|
|
336
|
+
updatedAt: Date;
|
|
337
|
+
deletedAt: Date | null;
|
|
338
|
+
})[];
|
|
163
339
|
};
|
|
164
340
|
meta: object;
|
|
165
341
|
}>;
|
|
166
342
|
search: TRPCQueryProcedure< {
|
|
167
343
|
input: {
|
|
168
344
|
query: string;
|
|
169
|
-
type?: "
|
|
345
|
+
type?: "task" | "contact" | "meeting" | "idea" | "note" | "project" | undefined;
|
|
170
346
|
limit?: number | undefined;
|
|
171
347
|
};
|
|
172
348
|
output: {
|
|
173
|
-
entities: {
|
|
349
|
+
entities: ({
|
|
350
|
+
type: "task";
|
|
351
|
+
id: string;
|
|
174
352
|
userId: string;
|
|
353
|
+
workspaceId: string | null;
|
|
354
|
+
title: string | null;
|
|
355
|
+
preview: string | null;
|
|
356
|
+
documentId: string | null;
|
|
357
|
+
metadata: {
|
|
358
|
+
status: "todo" | "in_progress" | "done" | "archived";
|
|
359
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
360
|
+
dueDate?: string | undefined;
|
|
361
|
+
completedAt?: string | undefined;
|
|
362
|
+
assignee?: string | undefined;
|
|
363
|
+
estimatedMinutes?: number | undefined;
|
|
364
|
+
actualMinutes?: number | undefined;
|
|
365
|
+
};
|
|
366
|
+
fileUrl: string | null;
|
|
367
|
+
filePath: string | null;
|
|
368
|
+
fileSize: number | null;
|
|
369
|
+
fileType: string | null;
|
|
370
|
+
checksum: string | null;
|
|
371
|
+
version: number;
|
|
372
|
+
createdAt: Date;
|
|
373
|
+
updatedAt: Date;
|
|
374
|
+
deletedAt: Date | null;
|
|
375
|
+
} | {
|
|
376
|
+
type: "note";
|
|
175
377
|
id: string;
|
|
378
|
+
userId: string;
|
|
379
|
+
workspaceId: string | null;
|
|
380
|
+
title: string | null;
|
|
381
|
+
preview: string | null;
|
|
382
|
+
documentId: string | null;
|
|
383
|
+
metadata: {
|
|
384
|
+
tags: string[];
|
|
385
|
+
format: "markdown" | "plain" | "rich";
|
|
386
|
+
isFavorite: boolean;
|
|
387
|
+
linkedEntities?: string[] | undefined;
|
|
388
|
+
};
|
|
389
|
+
fileUrl: string | null;
|
|
390
|
+
filePath: string | null;
|
|
391
|
+
fileSize: number | null;
|
|
392
|
+
fileType: string | null;
|
|
393
|
+
checksum: string | null;
|
|
394
|
+
version: number;
|
|
176
395
|
createdAt: Date;
|
|
177
|
-
|
|
396
|
+
updatedAt: Date;
|
|
397
|
+
deletedAt: Date | null;
|
|
398
|
+
} | {
|
|
399
|
+
type: "person";
|
|
400
|
+
id: string;
|
|
401
|
+
userId: string;
|
|
402
|
+
workspaceId: string | null;
|
|
178
403
|
title: string | null;
|
|
179
|
-
|
|
180
|
-
|
|
404
|
+
preview: string | null;
|
|
405
|
+
documentId: string | null;
|
|
406
|
+
metadata: {
|
|
407
|
+
email?: string | undefined;
|
|
408
|
+
phone?: string | undefined;
|
|
409
|
+
company?: string | undefined;
|
|
410
|
+
role?: string | undefined;
|
|
411
|
+
linkedInUrl?: string | undefined;
|
|
412
|
+
twitterHandle?: string | undefined;
|
|
413
|
+
notes?: string | undefined;
|
|
414
|
+
};
|
|
415
|
+
fileUrl: string | null;
|
|
416
|
+
filePath: string | null;
|
|
417
|
+
fileSize: number | null;
|
|
418
|
+
fileType: string | null;
|
|
419
|
+
checksum: string | null;
|
|
420
|
+
version: number;
|
|
421
|
+
createdAt: Date;
|
|
422
|
+
updatedAt: Date;
|
|
423
|
+
deletedAt: Date | null;
|
|
424
|
+
} | {
|
|
425
|
+
type: "event";
|
|
426
|
+
id: string;
|
|
427
|
+
userId: string;
|
|
428
|
+
workspaceId: string | null;
|
|
429
|
+
title: string | null;
|
|
430
|
+
preview: string | null;
|
|
181
431
|
documentId: string | null;
|
|
432
|
+
metadata: {
|
|
433
|
+
startTime: string;
|
|
434
|
+
endTime: string;
|
|
435
|
+
recurring: boolean;
|
|
436
|
+
isAllDay: boolean;
|
|
437
|
+
location?: string | undefined;
|
|
438
|
+
attendees?: string[] | undefined;
|
|
439
|
+
recurrenceRule?: string | undefined;
|
|
440
|
+
reminderMinutes?: number | undefined;
|
|
441
|
+
};
|
|
442
|
+
fileUrl: string | null;
|
|
443
|
+
filePath: string | null;
|
|
444
|
+
fileSize: number | null;
|
|
445
|
+
fileType: string | null;
|
|
446
|
+
checksum: string | null;
|
|
447
|
+
version: number;
|
|
448
|
+
createdAt: Date;
|
|
449
|
+
updatedAt: Date;
|
|
450
|
+
deletedAt: Date | null;
|
|
451
|
+
} | {
|
|
452
|
+
type: "file";
|
|
453
|
+
id: string;
|
|
454
|
+
userId: string;
|
|
455
|
+
workspaceId: string | null;
|
|
456
|
+
title: string | null;
|
|
182
457
|
preview: string | null;
|
|
458
|
+
documentId: string | null;
|
|
459
|
+
metadata: {
|
|
460
|
+
mimeType: string;
|
|
461
|
+
sizeBytes: number;
|
|
462
|
+
extension: string;
|
|
463
|
+
thumbnailUrl?: string | undefined;
|
|
464
|
+
downloadUrl?: string | undefined;
|
|
465
|
+
};
|
|
466
|
+
fileUrl: string | null;
|
|
467
|
+
filePath: string | null;
|
|
468
|
+
fileSize: number | null;
|
|
469
|
+
fileType: string | null;
|
|
470
|
+
checksum: string | null;
|
|
471
|
+
version: number;
|
|
472
|
+
createdAt: Date;
|
|
183
473
|
updatedAt: Date;
|
|
184
|
-
|
|
474
|
+
deletedAt: Date | null;
|
|
475
|
+
} | {
|
|
476
|
+
type: "code";
|
|
477
|
+
id: string;
|
|
478
|
+
userId: string;
|
|
479
|
+
workspaceId: string | null;
|
|
480
|
+
title: string | null;
|
|
481
|
+
preview: string | null;
|
|
482
|
+
documentId: string | null;
|
|
483
|
+
metadata: {
|
|
484
|
+
language: string;
|
|
485
|
+
snippet?: string | undefined;
|
|
486
|
+
};
|
|
487
|
+
fileUrl: string | null;
|
|
488
|
+
filePath: string | null;
|
|
489
|
+
fileSize: number | null;
|
|
490
|
+
fileType: string | null;
|
|
491
|
+
checksum: string | null;
|
|
185
492
|
version: number;
|
|
493
|
+
createdAt: Date;
|
|
494
|
+
updatedAt: Date;
|
|
186
495
|
deletedAt: Date | null;
|
|
187
|
-
}
|
|
496
|
+
} | {
|
|
497
|
+
type: "bookmark";
|
|
498
|
+
id: string;
|
|
499
|
+
userId: string;
|
|
500
|
+
workspaceId: string | null;
|
|
501
|
+
title: string | null;
|
|
502
|
+
preview: string | null;
|
|
503
|
+
documentId: string | null;
|
|
504
|
+
metadata: {
|
|
505
|
+
url: string;
|
|
506
|
+
favicon?: string | undefined;
|
|
507
|
+
};
|
|
508
|
+
fileUrl: string | null;
|
|
509
|
+
filePath: string | null;
|
|
510
|
+
fileSize: number | null;
|
|
511
|
+
fileType: string | null;
|
|
512
|
+
checksum: string | null;
|
|
513
|
+
version: number;
|
|
514
|
+
createdAt: Date;
|
|
515
|
+
updatedAt: Date;
|
|
516
|
+
deletedAt: Date | null;
|
|
517
|
+
} | {
|
|
518
|
+
type: "company";
|
|
519
|
+
id: string;
|
|
520
|
+
userId: string;
|
|
521
|
+
workspaceId: string | null;
|
|
522
|
+
title: string | null;
|
|
523
|
+
preview: string | null;
|
|
524
|
+
documentId: string | null;
|
|
525
|
+
metadata: {
|
|
526
|
+
website?: string | undefined;
|
|
527
|
+
industry?: string | undefined;
|
|
528
|
+
foundedYear?: number | undefined;
|
|
529
|
+
};
|
|
530
|
+
fileUrl: string | null;
|
|
531
|
+
filePath: string | null;
|
|
532
|
+
fileSize: number | null;
|
|
533
|
+
fileType: string | null;
|
|
534
|
+
checksum: string | null;
|
|
535
|
+
version: number;
|
|
536
|
+
createdAt: Date;
|
|
537
|
+
updatedAt: Date;
|
|
538
|
+
deletedAt: Date | null;
|
|
539
|
+
})[];
|
|
188
540
|
};
|
|
189
541
|
meta: object;
|
|
190
542
|
}>;
|
|
@@ -194,18 +546,194 @@ id: string;
|
|
|
194
546
|
};
|
|
195
547
|
output: {
|
|
196
548
|
entity: {
|
|
549
|
+
type: "task";
|
|
550
|
+
id: string;
|
|
197
551
|
userId: string;
|
|
552
|
+
workspaceId: string | null;
|
|
553
|
+
title: string | null;
|
|
554
|
+
preview: string | null;
|
|
555
|
+
documentId: string | null;
|
|
556
|
+
metadata: {
|
|
557
|
+
status: "todo" | "in_progress" | "done" | "archived";
|
|
558
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
559
|
+
dueDate?: string | undefined;
|
|
560
|
+
completedAt?: string | undefined;
|
|
561
|
+
assignee?: string | undefined;
|
|
562
|
+
estimatedMinutes?: number | undefined;
|
|
563
|
+
actualMinutes?: number | undefined;
|
|
564
|
+
};
|
|
565
|
+
fileUrl: string | null;
|
|
566
|
+
filePath: string | null;
|
|
567
|
+
fileSize: number | null;
|
|
568
|
+
fileType: string | null;
|
|
569
|
+
checksum: string | null;
|
|
570
|
+
version: number;
|
|
571
|
+
createdAt: Date;
|
|
572
|
+
updatedAt: Date;
|
|
573
|
+
deletedAt: Date | null;
|
|
574
|
+
} | {
|
|
575
|
+
type: "note";
|
|
198
576
|
id: string;
|
|
577
|
+
userId: string;
|
|
578
|
+
workspaceId: string | null;
|
|
579
|
+
title: string | null;
|
|
580
|
+
preview: string | null;
|
|
581
|
+
documentId: string | null;
|
|
582
|
+
metadata: {
|
|
583
|
+
tags: string[];
|
|
584
|
+
format: "markdown" | "plain" | "rich";
|
|
585
|
+
isFavorite: boolean;
|
|
586
|
+
linkedEntities?: string[] | undefined;
|
|
587
|
+
};
|
|
588
|
+
fileUrl: string | null;
|
|
589
|
+
filePath: string | null;
|
|
590
|
+
fileSize: number | null;
|
|
591
|
+
fileType: string | null;
|
|
592
|
+
checksum: string | null;
|
|
593
|
+
version: number;
|
|
199
594
|
createdAt: Date;
|
|
200
|
-
|
|
595
|
+
updatedAt: Date;
|
|
596
|
+
deletedAt: Date | null;
|
|
597
|
+
} | {
|
|
598
|
+
type: "person";
|
|
599
|
+
id: string;
|
|
600
|
+
userId: string;
|
|
601
|
+
workspaceId: string | null;
|
|
201
602
|
title: string | null;
|
|
202
|
-
|
|
203
|
-
workspaceId: string;
|
|
603
|
+
preview: string | null;
|
|
204
604
|
documentId: string | null;
|
|
605
|
+
metadata: {
|
|
606
|
+
email?: string | undefined;
|
|
607
|
+
phone?: string | undefined;
|
|
608
|
+
company?: string | undefined;
|
|
609
|
+
role?: string | undefined;
|
|
610
|
+
linkedInUrl?: string | undefined;
|
|
611
|
+
twitterHandle?: string | undefined;
|
|
612
|
+
notes?: string | undefined;
|
|
613
|
+
};
|
|
614
|
+
fileUrl: string | null;
|
|
615
|
+
filePath: string | null;
|
|
616
|
+
fileSize: number | null;
|
|
617
|
+
fileType: string | null;
|
|
618
|
+
checksum: string | null;
|
|
619
|
+
version: number;
|
|
620
|
+
createdAt: Date;
|
|
621
|
+
updatedAt: Date;
|
|
622
|
+
deletedAt: Date | null;
|
|
623
|
+
} | {
|
|
624
|
+
type: "event";
|
|
625
|
+
id: string;
|
|
626
|
+
userId: string;
|
|
627
|
+
workspaceId: string | null;
|
|
628
|
+
title: string | null;
|
|
205
629
|
preview: string | null;
|
|
630
|
+
documentId: string | null;
|
|
631
|
+
metadata: {
|
|
632
|
+
startTime: string;
|
|
633
|
+
endTime: string;
|
|
634
|
+
recurring: boolean;
|
|
635
|
+
isAllDay: boolean;
|
|
636
|
+
location?: string | undefined;
|
|
637
|
+
attendees?: string[] | undefined;
|
|
638
|
+
recurrenceRule?: string | undefined;
|
|
639
|
+
reminderMinutes?: number | undefined;
|
|
640
|
+
};
|
|
641
|
+
fileUrl: string | null;
|
|
642
|
+
filePath: string | null;
|
|
643
|
+
fileSize: number | null;
|
|
644
|
+
fileType: string | null;
|
|
645
|
+
checksum: string | null;
|
|
646
|
+
version: number;
|
|
647
|
+
createdAt: Date;
|
|
206
648
|
updatedAt: Date;
|
|
207
|
-
|
|
649
|
+
deletedAt: Date | null;
|
|
650
|
+
} | {
|
|
651
|
+
type: "file";
|
|
652
|
+
id: string;
|
|
653
|
+
userId: string;
|
|
654
|
+
workspaceId: string | null;
|
|
655
|
+
title: string | null;
|
|
656
|
+
preview: string | null;
|
|
657
|
+
documentId: string | null;
|
|
658
|
+
metadata: {
|
|
659
|
+
mimeType: string;
|
|
660
|
+
sizeBytes: number;
|
|
661
|
+
extension: string;
|
|
662
|
+
thumbnailUrl?: string | undefined;
|
|
663
|
+
downloadUrl?: string | undefined;
|
|
664
|
+
};
|
|
665
|
+
fileUrl: string | null;
|
|
666
|
+
filePath: string | null;
|
|
667
|
+
fileSize: number | null;
|
|
668
|
+
fileType: string | null;
|
|
669
|
+
checksum: string | null;
|
|
670
|
+
version: number;
|
|
671
|
+
createdAt: Date;
|
|
672
|
+
updatedAt: Date;
|
|
673
|
+
deletedAt: Date | null;
|
|
674
|
+
} | {
|
|
675
|
+
type: "code";
|
|
676
|
+
id: string;
|
|
677
|
+
userId: string;
|
|
678
|
+
workspaceId: string | null;
|
|
679
|
+
title: string | null;
|
|
680
|
+
preview: string | null;
|
|
681
|
+
documentId: string | null;
|
|
682
|
+
metadata: {
|
|
683
|
+
language: string;
|
|
684
|
+
snippet?: string | undefined;
|
|
685
|
+
};
|
|
686
|
+
fileUrl: string | null;
|
|
687
|
+
filePath: string | null;
|
|
688
|
+
fileSize: number | null;
|
|
689
|
+
fileType: string | null;
|
|
690
|
+
checksum: string | null;
|
|
208
691
|
version: number;
|
|
692
|
+
createdAt: Date;
|
|
693
|
+
updatedAt: Date;
|
|
694
|
+
deletedAt: Date | null;
|
|
695
|
+
} | {
|
|
696
|
+
type: "bookmark";
|
|
697
|
+
id: string;
|
|
698
|
+
userId: string;
|
|
699
|
+
workspaceId: string | null;
|
|
700
|
+
title: string | null;
|
|
701
|
+
preview: string | null;
|
|
702
|
+
documentId: string | null;
|
|
703
|
+
metadata: {
|
|
704
|
+
url: string;
|
|
705
|
+
favicon?: string | undefined;
|
|
706
|
+
};
|
|
707
|
+
fileUrl: string | null;
|
|
708
|
+
filePath: string | null;
|
|
709
|
+
fileSize: number | null;
|
|
710
|
+
fileType: string | null;
|
|
711
|
+
checksum: string | null;
|
|
712
|
+
version: number;
|
|
713
|
+
createdAt: Date;
|
|
714
|
+
updatedAt: Date;
|
|
715
|
+
deletedAt: Date | null;
|
|
716
|
+
} | {
|
|
717
|
+
type: "company";
|
|
718
|
+
id: string;
|
|
719
|
+
userId: string;
|
|
720
|
+
workspaceId: string | null;
|
|
721
|
+
title: string | null;
|
|
722
|
+
preview: string | null;
|
|
723
|
+
documentId: string | null;
|
|
724
|
+
metadata: {
|
|
725
|
+
website?: string | undefined;
|
|
726
|
+
industry?: string | undefined;
|
|
727
|
+
foundedYear?: number | undefined;
|
|
728
|
+
};
|
|
729
|
+
fileUrl: string | null;
|
|
730
|
+
filePath: string | null;
|
|
731
|
+
fileSize: number | null;
|
|
732
|
+
fileType: string | null;
|
|
733
|
+
checksum: string | null;
|
|
734
|
+
version: number;
|
|
735
|
+
createdAt: Date;
|
|
736
|
+
updatedAt: Date;
|
|
209
737
|
deletedAt: Date | null;
|
|
210
738
|
};
|
|
211
739
|
};
|
|
@@ -213,12 +741,12 @@ meta: object;
|
|
|
213
741
|
}>;
|
|
214
742
|
update: TRPCMutationProcedure< {
|
|
215
743
|
input: {
|
|
216
|
-
id: string;
|
|
217
744
|
type: string;
|
|
745
|
+
id: string;
|
|
218
746
|
workspaceId: string;
|
|
219
747
|
title?: string | null | undefined;
|
|
220
|
-
documentId?: string | null | undefined;
|
|
221
748
|
preview?: string | null | undefined;
|
|
749
|
+
documentId?: string | null | undefined;
|
|
222
750
|
};
|
|
223
751
|
output: {
|
|
224
752
|
status: string;
|
|
@@ -251,18 +779,18 @@ transformer: true;
|
|
|
251
779
|
}, TRPCDecorateCreateRouterOptions< {
|
|
252
780
|
list: TRPCQueryProcedure< {
|
|
253
781
|
input: {
|
|
254
|
-
status?: "
|
|
255
|
-
limit?: number | undefined;
|
|
782
|
+
status?: "pending" | "validated" | "rejected" | "all" | undefined;
|
|
256
783
|
workspaceId?: string | undefined;
|
|
257
|
-
|
|
784
|
+
limit?: number | undefined;
|
|
785
|
+
targetType?: "entity" | "document" | "whiteboard" | "view" | undefined;
|
|
258
786
|
targetId?: string | undefined;
|
|
259
787
|
};
|
|
260
788
|
output: {
|
|
261
789
|
proposals: {
|
|
262
|
-
id: string;
|
|
263
|
-
createdAt: Date;
|
|
264
790
|
status: string;
|
|
791
|
+
id: string;
|
|
265
792
|
workspaceId: string;
|
|
793
|
+
createdAt: Date;
|
|
266
794
|
updatedAt: Date;
|
|
267
795
|
targetType: string;
|
|
268
796
|
targetId: string;
|
|
@@ -297,10 +825,10 @@ meta: object;
|
|
|
297
825
|
submit: TRPCMutationProcedure< {
|
|
298
826
|
input: {
|
|
299
827
|
data: Record<string, any>;
|
|
300
|
-
targetType: "
|
|
301
|
-
changeType: "
|
|
302
|
-
reasoning?: string | undefined;
|
|
828
|
+
targetType: "entity" | "relation" | "document" | "view" | "workspace";
|
|
829
|
+
changeType: "create" | "update" | "delete";
|
|
303
830
|
targetId?: string | undefined;
|
|
831
|
+
reasoning?: string | undefined;
|
|
304
832
|
};
|
|
305
833
|
output: {
|
|
306
834
|
success: boolean;
|
|
@@ -385,8 +913,8 @@ meta: object;
|
|
|
385
913
|
publishEvent: TRPCMutationProcedure< {
|
|
386
914
|
input: {
|
|
387
915
|
userId: string;
|
|
388
|
-
data: Record<string, unknown>;
|
|
389
916
|
type: string;
|
|
917
|
+
data: Record<string, unknown>;
|
|
390
918
|
subjectId?: string | undefined;
|
|
391
919
|
source?: "system" | "api" | "automation" | "sync" | "migration" | undefined;
|
|
392
920
|
correlationId?: string | undefined;
|
|
@@ -591,7 +1119,7 @@ transformer: true;
|
|
|
591
1119
|
}, TRPCDecorateCreateRouterOptions< {
|
|
592
1120
|
generateAccessToken: TRPCMutationProcedure< {
|
|
593
1121
|
input: {
|
|
594
|
-
scope: ("
|
|
1122
|
+
scope: ("entities" | "relations" | "projects" | "preferences" | "calendar" | "notes" | "tasks" | "conversations" | "knowledge_facts")[];
|
|
595
1123
|
requestId: string;
|
|
596
1124
|
expiresIn?: number | undefined;
|
|
597
1125
|
};
|
|
@@ -606,7 +1134,7 @@ requestData: TRPCQueryProcedure< {
|
|
|
606
1134
|
input: {
|
|
607
1135
|
[x: string]: unknown;
|
|
608
1136
|
token: string;
|
|
609
|
-
scope: ("
|
|
1137
|
+
scope: ("entities" | "relations" | "projects" | "preferences" | "calendar" | "notes" | "tasks" | "conversations" | "knowledge_facts")[];
|
|
610
1138
|
filters?: {
|
|
611
1139
|
limit?: number | undefined;
|
|
612
1140
|
entityTypes?: string[] | undefined;
|
|
@@ -623,7 +1151,7 @@ requestId: string;
|
|
|
623
1151
|
data: Record<string, unknown>;
|
|
624
1152
|
metadata: {
|
|
625
1153
|
retrievedAt: string;
|
|
626
|
-
scope: ("
|
|
1154
|
+
scope: ("entities" | "relations" | "projects" | "preferences" | "calendar" | "notes" | "tasks" | "conversations" | "knowledge_facts")[];
|
|
627
1155
|
recordCount: number;
|
|
628
1156
|
};
|
|
629
1157
|
};
|
|
@@ -788,10 +1316,10 @@ userId: string;
|
|
|
788
1316
|
id: string;
|
|
789
1317
|
createdAt: Date;
|
|
790
1318
|
name: string;
|
|
791
|
-
active: boolean;
|
|
792
1319
|
url: string;
|
|
793
1320
|
eventTypes: string[];
|
|
794
1321
|
secret: string;
|
|
1322
|
+
active: boolean;
|
|
795
1323
|
retryConfig: unknown;
|
|
796
1324
|
lastTriggeredAt: Date | null;
|
|
797
1325
|
};
|
|
@@ -806,9 +1334,9 @@ userId: string;
|
|
|
806
1334
|
id: string;
|
|
807
1335
|
createdAt: Date;
|
|
808
1336
|
name: string;
|
|
809
|
-
active: boolean;
|
|
810
1337
|
url: string;
|
|
811
1338
|
eventTypes: string[];
|
|
1339
|
+
active: boolean;
|
|
812
1340
|
retryConfig: unknown;
|
|
813
1341
|
lastTriggeredAt: Date | null;
|
|
814
1342
|
}[];
|
|
@@ -818,9 +1346,9 @@ update: TRPCMutationProcedure< {
|
|
|
818
1346
|
input: {
|
|
819
1347
|
id: string;
|
|
820
1348
|
name?: string | undefined;
|
|
821
|
-
active?: boolean | undefined;
|
|
822
1349
|
url?: string | undefined;
|
|
823
1350
|
eventTypes?: string[] | undefined;
|
|
1351
|
+
active?: boolean | undefined;
|
|
824
1352
|
};
|
|
825
1353
|
output: {
|
|
826
1354
|
id: string;
|
|
@@ -969,13 +1497,13 @@ input: {
|
|
|
969
1497
|
versionId: string;
|
|
970
1498
|
};
|
|
971
1499
|
output: {
|
|
972
|
-
id: string;
|
|
973
|
-
createdAt: Date;
|
|
974
|
-
type: string;
|
|
975
1500
|
message: string | null;
|
|
976
|
-
|
|
1501
|
+
type: string;
|
|
1502
|
+
id: string;
|
|
977
1503
|
documentId: string;
|
|
978
1504
|
version: number;
|
|
1505
|
+
createdAt: Date;
|
|
1506
|
+
content: string;
|
|
979
1507
|
delta: unknown;
|
|
980
1508
|
author: string;
|
|
981
1509
|
authorId: string;
|
|
@@ -1035,7 +1563,7 @@ transformer: true;
|
|
|
1035
1563
|
createFromText: TRPCMutationProcedure< {
|
|
1036
1564
|
input: {
|
|
1037
1565
|
content: string;
|
|
1038
|
-
targetType: "
|
|
1566
|
+
targetType: "task" | "note";
|
|
1039
1567
|
metadata?: {
|
|
1040
1568
|
title?: string | undefined;
|
|
1041
1569
|
tags?: string[] | undefined;
|
|
@@ -1056,8 +1584,8 @@ file: string;
|
|
|
1056
1584
|
filename: string;
|
|
1057
1585
|
contentType: string;
|
|
1058
1586
|
metadata?: {
|
|
1059
|
-
description?: string | undefined;
|
|
1060
1587
|
title?: string | undefined;
|
|
1588
|
+
description?: string | undefined;
|
|
1061
1589
|
tags?: string[] | undefined;
|
|
1062
1590
|
} | undefined;
|
|
1063
1591
|
};
|
|
@@ -1201,22 +1729,22 @@ list: TRPCQueryProcedure< {
|
|
|
1201
1729
|
input: {
|
|
1202
1730
|
status?: "archived" | "unread" | "snoozed" | undefined;
|
|
1203
1731
|
limit?: number | undefined;
|
|
1204
|
-
types?: string[] | undefined;
|
|
1205
1732
|
offset?: number | undefined;
|
|
1733
|
+
types?: string[] | undefined;
|
|
1206
1734
|
};
|
|
1207
1735
|
output: {
|
|
1208
1736
|
userId: string;
|
|
1209
|
-
id: string;
|
|
1210
|
-
createdAt: Date;
|
|
1211
|
-
data: unknown;
|
|
1212
1737
|
type: string;
|
|
1213
1738
|
status: string | null;
|
|
1214
|
-
|
|
1215
|
-
tags: string[] | null;
|
|
1739
|
+
id: string;
|
|
1216
1740
|
workspaceId: string;
|
|
1741
|
+
projectIds: string[] | null;
|
|
1742
|
+
title: string;
|
|
1217
1743
|
preview: string | null;
|
|
1744
|
+
createdAt: Date;
|
|
1218
1745
|
updatedAt: Date;
|
|
1219
|
-
|
|
1746
|
+
data: unknown;
|
|
1747
|
+
tags: string[] | null;
|
|
1220
1748
|
timestamp: Date;
|
|
1221
1749
|
priority: string | null;
|
|
1222
1750
|
provider: string;
|
|
@@ -1230,8 +1758,8 @@ meta: object;
|
|
|
1230
1758
|
}>;
|
|
1231
1759
|
updateStatus: TRPCMutationProcedure< {
|
|
1232
1760
|
input: {
|
|
1233
|
-
id: string;
|
|
1234
1761
|
status: "archived" | "read" | "snoozed";
|
|
1762
|
+
id: string;
|
|
1235
1763
|
snoozedUntil?: Date | undefined;
|
|
1236
1764
|
};
|
|
1237
1765
|
output: {
|
|
@@ -1274,20 +1802,20 @@ capabilities: string[];
|
|
|
1274
1802
|
serviceId: string;
|
|
1275
1803
|
webhookUrl: string;
|
|
1276
1804
|
apiKey: string;
|
|
1277
|
-
description?: string | undefined;
|
|
1278
1805
|
metadata?: Record<string, unknown> | undefined;
|
|
1279
1806
|
version?: string | undefined;
|
|
1807
|
+
description?: string | undefined;
|
|
1280
1808
|
pricing?: "custom" | "free" | "premium" | "enterprise" | undefined;
|
|
1281
1809
|
};
|
|
1282
1810
|
output: {
|
|
1811
|
+
status: string;
|
|
1283
1812
|
id: string;
|
|
1813
|
+
metadata: Record<string, unknown> | null;
|
|
1814
|
+
version: string | null;
|
|
1284
1815
|
createdAt: Date;
|
|
1816
|
+
updatedAt: Date;
|
|
1285
1817
|
name: string;
|
|
1286
1818
|
description: string | null;
|
|
1287
|
-
status: string;
|
|
1288
|
-
metadata: Record<string, unknown> | null;
|
|
1289
|
-
updatedAt: Date;
|
|
1290
|
-
version: string | null;
|
|
1291
1819
|
capabilities: string[];
|
|
1292
1820
|
serviceId: string;
|
|
1293
1821
|
webhookUrl: string;
|
|
@@ -1323,14 +1851,14 @@ input: {
|
|
|
1323
1851
|
id: string;
|
|
1324
1852
|
};
|
|
1325
1853
|
output: {
|
|
1854
|
+
status: string;
|
|
1326
1855
|
id: string;
|
|
1856
|
+
metadata: Record<string, unknown> | null;
|
|
1857
|
+
version: string | null;
|
|
1327
1858
|
createdAt: Date;
|
|
1859
|
+
updatedAt: Date;
|
|
1328
1860
|
name: string;
|
|
1329
1861
|
description: string | null;
|
|
1330
|
-
status: string;
|
|
1331
|
-
metadata: Record<string, unknown> | null;
|
|
1332
|
-
updatedAt: Date;
|
|
1333
|
-
version: string | null;
|
|
1334
1862
|
capabilities: string[];
|
|
1335
1863
|
serviceId: string;
|
|
1336
1864
|
webhookUrl: string;
|
|
@@ -1343,11 +1871,11 @@ meta: object;
|
|
|
1343
1871
|
update: TRPCMutationProcedure< {
|
|
1344
1872
|
input: {
|
|
1345
1873
|
id: string;
|
|
1346
|
-
name?: string | undefined;
|
|
1347
|
-
description?: string | undefined;
|
|
1348
1874
|
status?: "active" | "inactive" | "suspended" | undefined;
|
|
1349
1875
|
metadata?: Record<string, unknown> | undefined;
|
|
1350
1876
|
version?: string | undefined;
|
|
1877
|
+
name?: string | undefined;
|
|
1878
|
+
description?: string | undefined;
|
|
1351
1879
|
capabilities?: string[] | undefined;
|
|
1352
1880
|
webhookUrl?: string | undefined;
|
|
1353
1881
|
enabled?: boolean | undefined;
|
|
@@ -1445,10 +1973,10 @@ output: {
|
|
|
1445
1973
|
tags: {
|
|
1446
1974
|
userId: string;
|
|
1447
1975
|
id: string;
|
|
1448
|
-
createdAt: Date;
|
|
1449
|
-
name: string;
|
|
1450
1976
|
workspaceId: string;
|
|
1451
1977
|
projectIds: string[] | null;
|
|
1978
|
+
createdAt: Date;
|
|
1979
|
+
name: string;
|
|
1452
1980
|
color: string | null;
|
|
1453
1981
|
}[];
|
|
1454
1982
|
};
|
|
@@ -1484,9 +2012,9 @@ color: string | null;
|
|
|
1484
2012
|
updatedAt: Date;
|
|
1485
2013
|
userId: string;
|
|
1486
2014
|
id: string;
|
|
1487
|
-
createdAt: Date;
|
|
1488
2015
|
workspaceId: string;
|
|
1489
2016
|
projectIds: string[] | null;
|
|
2017
|
+
createdAt: Date;
|
|
1490
2018
|
};
|
|
1491
2019
|
};
|
|
1492
2020
|
meta: object;
|
|
@@ -1549,23 +2077,23 @@ transformer: true;
|
|
|
1549
2077
|
entities: TRPCQueryProcedure< {
|
|
1550
2078
|
input: {
|
|
1551
2079
|
query: string;
|
|
1552
|
-
type?: "
|
|
2080
|
+
type?: "task" | "note" | "project" | "document" | undefined;
|
|
1553
2081
|
limit?: number | undefined;
|
|
1554
2082
|
};
|
|
1555
2083
|
output: {
|
|
1556
2084
|
entities: {
|
|
1557
2085
|
userId: string;
|
|
1558
|
-
id: string;
|
|
1559
|
-
createdAt: Date;
|
|
1560
2086
|
type: string;
|
|
1561
|
-
|
|
1562
|
-
metadata: unknown;
|
|
2087
|
+
id: string;
|
|
1563
2088
|
workspaceId: string;
|
|
1564
|
-
documentId: string | null;
|
|
1565
|
-
preview: string | null;
|
|
1566
|
-
updatedAt: Date;
|
|
1567
2089
|
projectIds: string[] | null;
|
|
2090
|
+
title: string | null;
|
|
2091
|
+
preview: string | null;
|
|
2092
|
+
documentId: string | null;
|
|
2093
|
+
metadata: unknown;
|
|
1568
2094
|
version: number;
|
|
2095
|
+
createdAt: Date;
|
|
2096
|
+
updatedAt: Date;
|
|
1569
2097
|
deletedAt: Date | null;
|
|
1570
2098
|
}[];
|
|
1571
2099
|
};
|
|
@@ -1574,7 +2102,7 @@ meta: object;
|
|
|
1574
2102
|
semantic: TRPCQueryProcedure< {
|
|
1575
2103
|
input: {
|
|
1576
2104
|
query: string;
|
|
1577
|
-
type?: "
|
|
2105
|
+
type?: "task" | "note" | "project" | "document" | undefined;
|
|
1578
2106
|
limit?: number | undefined;
|
|
1579
2107
|
threshold?: number | undefined;
|
|
1580
2108
|
};
|
|
@@ -1592,17 +2120,17 @@ limit?: number | undefined;
|
|
|
1592
2120
|
output: {
|
|
1593
2121
|
entities: {
|
|
1594
2122
|
userId: string;
|
|
1595
|
-
id: string;
|
|
1596
|
-
createdAt: Date;
|
|
1597
2123
|
type: string;
|
|
1598
|
-
|
|
1599
|
-
metadata: unknown;
|
|
2124
|
+
id: string;
|
|
1600
2125
|
workspaceId: string;
|
|
1601
|
-
documentId: string | null;
|
|
1602
|
-
preview: string | null;
|
|
1603
|
-
updatedAt: Date;
|
|
1604
2126
|
projectIds: string[] | null;
|
|
2127
|
+
title: string | null;
|
|
2128
|
+
preview: string | null;
|
|
2129
|
+
documentId: string | null;
|
|
2130
|
+
metadata: unknown;
|
|
1605
2131
|
version: number;
|
|
2132
|
+
createdAt: Date;
|
|
2133
|
+
updatedAt: Date;
|
|
1606
2134
|
deletedAt: Date | null;
|
|
1607
2135
|
}[];
|
|
1608
2136
|
};
|
|
@@ -1635,11 +2163,11 @@ direction?: "source" | "target" | "both" | undefined;
|
|
|
1635
2163
|
output: {
|
|
1636
2164
|
relations: {
|
|
1637
2165
|
userId: string;
|
|
1638
|
-
id: string;
|
|
1639
|
-
createdAt: Date;
|
|
1640
2166
|
type: string;
|
|
2167
|
+
id: string;
|
|
1641
2168
|
workspaceId: string;
|
|
1642
2169
|
projectIds: string[] | null;
|
|
2170
|
+
createdAt: Date;
|
|
1643
2171
|
sourceEntityId: string;
|
|
1644
2172
|
targetEntityId: string;
|
|
1645
2173
|
}[];
|
|
@@ -1656,17 +2184,17 @@ direction?: "source" | "target" | "both" | undefined;
|
|
|
1656
2184
|
output: {
|
|
1657
2185
|
entities: {
|
|
1658
2186
|
userId: string;
|
|
1659
|
-
id: string;
|
|
1660
|
-
createdAt: Date;
|
|
1661
2187
|
type: string;
|
|
1662
|
-
|
|
1663
|
-
metadata: unknown;
|
|
2188
|
+
id: string;
|
|
1664
2189
|
workspaceId: string;
|
|
1665
|
-
documentId: string | null;
|
|
1666
|
-
preview: string | null;
|
|
1667
|
-
updatedAt: Date;
|
|
1668
2190
|
projectIds: string[] | null;
|
|
2191
|
+
title: string | null;
|
|
2192
|
+
preview: string | null;
|
|
2193
|
+
documentId: string | null;
|
|
2194
|
+
metadata: unknown;
|
|
1669
2195
|
version: number;
|
|
2196
|
+
createdAt: Date;
|
|
2197
|
+
updatedAt: Date;
|
|
1670
2198
|
deletedAt: Date | null;
|
|
1671
2199
|
}[];
|
|
1672
2200
|
};
|
|
@@ -1725,17 +2253,17 @@ includeRelatedPreviews?: boolean | undefined;
|
|
|
1725
2253
|
output: {
|
|
1726
2254
|
entity: {
|
|
1727
2255
|
userId: string;
|
|
1728
|
-
id: string;
|
|
1729
|
-
createdAt: Date;
|
|
1730
2256
|
type: string;
|
|
1731
|
-
|
|
1732
|
-
metadata: unknown;
|
|
2257
|
+
id: string;
|
|
1733
2258
|
workspaceId: string;
|
|
1734
|
-
documentId: string | null;
|
|
1735
|
-
preview: string | null;
|
|
1736
|
-
updatedAt: Date;
|
|
1737
2259
|
projectIds: string[] | null;
|
|
2260
|
+
title: string | null;
|
|
2261
|
+
preview: string | null;
|
|
2262
|
+
documentId: string | null;
|
|
2263
|
+
metadata: unknown;
|
|
1738
2264
|
version: number;
|
|
2265
|
+
createdAt: Date;
|
|
2266
|
+
updatedAt: Date;
|
|
1739
2267
|
deletedAt: Date | null;
|
|
1740
2268
|
};
|
|
1741
2269
|
relations: never[];
|
|
@@ -1744,26 +2272,26 @@ stats: null;
|
|
|
1744
2272
|
} | {
|
|
1745
2273
|
entity: {
|
|
1746
2274
|
userId: string;
|
|
1747
|
-
id: string;
|
|
1748
|
-
createdAt: Date;
|
|
1749
2275
|
type: string;
|
|
1750
|
-
|
|
1751
|
-
metadata: unknown;
|
|
2276
|
+
id: string;
|
|
1752
2277
|
workspaceId: string;
|
|
1753
|
-
documentId: string | null;
|
|
1754
|
-
preview: string | null;
|
|
1755
|
-
updatedAt: Date;
|
|
1756
2278
|
projectIds: string[] | null;
|
|
2279
|
+
title: string | null;
|
|
2280
|
+
preview: string | null;
|
|
2281
|
+
documentId: string | null;
|
|
2282
|
+
metadata: unknown;
|
|
1757
2283
|
version: number;
|
|
2284
|
+
createdAt: Date;
|
|
2285
|
+
updatedAt: Date;
|
|
1758
2286
|
deletedAt: Date | null;
|
|
1759
2287
|
};
|
|
1760
2288
|
relations: {
|
|
1761
2289
|
userId: string;
|
|
1762
|
-
id: string;
|
|
1763
|
-
createdAt: Date;
|
|
1764
2290
|
type: string;
|
|
2291
|
+
id: string;
|
|
1765
2292
|
workspaceId: string;
|
|
1766
2293
|
projectIds: string[] | null;
|
|
2294
|
+
createdAt: Date;
|
|
1767
2295
|
sourceEntityId: string;
|
|
1768
2296
|
targetEntityId: string;
|
|
1769
2297
|
}[];
|
|
@@ -1786,26 +2314,26 @@ includeExternalRelations?: boolean | undefined;
|
|
|
1786
2314
|
output: {
|
|
1787
2315
|
entities: {
|
|
1788
2316
|
userId: string;
|
|
1789
|
-
id: string;
|
|
1790
|
-
createdAt: Date;
|
|
1791
2317
|
type: string;
|
|
1792
|
-
|
|
1793
|
-
metadata: unknown;
|
|
2318
|
+
id: string;
|
|
1794
2319
|
workspaceId: string;
|
|
1795
|
-
documentId: string | null;
|
|
1796
|
-
preview: string | null;
|
|
1797
|
-
updatedAt: Date;
|
|
1798
2320
|
projectIds: string[] | null;
|
|
2321
|
+
title: string | null;
|
|
2322
|
+
preview: string | null;
|
|
2323
|
+
documentId: string | null;
|
|
2324
|
+
metadata: unknown;
|
|
1799
2325
|
version: number;
|
|
2326
|
+
createdAt: Date;
|
|
2327
|
+
updatedAt: Date;
|
|
1800
2328
|
deletedAt: Date | null;
|
|
1801
2329
|
}[];
|
|
1802
2330
|
relations: {
|
|
1803
2331
|
userId: string;
|
|
1804
|
-
id: string;
|
|
1805
|
-
createdAt: Date;
|
|
1806
2332
|
type: string;
|
|
2333
|
+
id: string;
|
|
1807
2334
|
workspaceId: string;
|
|
1808
2335
|
projectIds: string[] | null;
|
|
2336
|
+
createdAt: Date;
|
|
1809
2337
|
sourceEntityId: string;
|
|
1810
2338
|
targetEntityId: string;
|
|
1811
2339
|
}[];
|
|
@@ -1850,8 +2378,8 @@ transformer: true;
|
|
|
1850
2378
|
create: TRPCMutationProcedure< {
|
|
1851
2379
|
input: {
|
|
1852
2380
|
name: string;
|
|
1853
|
-
description?: string | undefined;
|
|
1854
2381
|
type?: "enterprise" | "personal" | "team" | undefined;
|
|
2382
|
+
description?: string | undefined;
|
|
1855
2383
|
settings?: Record<string, unknown> | undefined;
|
|
1856
2384
|
};
|
|
1857
2385
|
output: {
|
|
@@ -1866,12 +2394,12 @@ input: void;
|
|
|
1866
2394
|
output: {
|
|
1867
2395
|
role: string;
|
|
1868
2396
|
joinedAt: Date;
|
|
2397
|
+
type: string;
|
|
1869
2398
|
id: string;
|
|
1870
2399
|
createdAt: Date;
|
|
2400
|
+
updatedAt: Date;
|
|
1871
2401
|
name: string;
|
|
1872
2402
|
description: string | null;
|
|
1873
|
-
type: string;
|
|
1874
|
-
updatedAt: Date;
|
|
1875
2403
|
settings: WorkspaceSettings;
|
|
1876
2404
|
ownerId: string;
|
|
1877
2405
|
subscriptionTier: string | null;
|
|
@@ -1886,12 +2414,12 @@ id: string;
|
|
|
1886
2414
|
};
|
|
1887
2415
|
output: {
|
|
1888
2416
|
role: string;
|
|
2417
|
+
type: string;
|
|
1889
2418
|
id: string;
|
|
1890
2419
|
createdAt: Date;
|
|
2420
|
+
updatedAt: Date;
|
|
1891
2421
|
name: string;
|
|
1892
2422
|
description: string | null;
|
|
1893
|
-
type: string;
|
|
1894
|
-
updatedAt: Date;
|
|
1895
2423
|
settings: WorkspaceSettings;
|
|
1896
2424
|
ownerId: string;
|
|
1897
2425
|
subscriptionTier: string | null;
|
|
@@ -1980,11 +2508,11 @@ role: "editor" | "viewer" | "admin";
|
|
|
1980
2508
|
};
|
|
1981
2509
|
output: {
|
|
1982
2510
|
id: string;
|
|
1983
|
-
expiresAt: Date;
|
|
1984
|
-
createdAt: Date;
|
|
1985
2511
|
workspaceId: string;
|
|
2512
|
+
createdAt: Date;
|
|
1986
2513
|
email: string;
|
|
1987
2514
|
role: string;
|
|
2515
|
+
expiresAt: Date;
|
|
1988
2516
|
invitedBy: string;
|
|
1989
2517
|
token: string;
|
|
1990
2518
|
};
|
|
@@ -1996,11 +2524,11 @@ workspaceId: string;
|
|
|
1996
2524
|
};
|
|
1997
2525
|
output: {
|
|
1998
2526
|
id: string;
|
|
1999
|
-
expiresAt: Date;
|
|
2000
|
-
createdAt: Date;
|
|
2001
2527
|
workspaceId: string;
|
|
2528
|
+
createdAt: Date;
|
|
2002
2529
|
email: string;
|
|
2003
2530
|
role: string;
|
|
2531
|
+
expiresAt: Date;
|
|
2004
2532
|
invitedBy: string;
|
|
2005
2533
|
token: string;
|
|
2006
2534
|
}[];
|
|
@@ -2035,10 +2563,10 @@ transformer: true;
|
|
|
2035
2563
|
}, TRPCDecorateCreateRouterOptions< {
|
|
2036
2564
|
create: TRPCMutationProcedure< {
|
|
2037
2565
|
input: {
|
|
2566
|
+
type: "list" | "calendar" | "grid" | "timeline" | "whiteboard" | "table" | "graph" | "kanban" | "gallery" | "gantt" | "mindmap";
|
|
2038
2567
|
name: string;
|
|
2039
|
-
type: "calendar" | "list" | "grid" | "timeline" | "table" | "whiteboard" | "graph" | "kanban" | "gallery" | "gantt" | "mindmap";
|
|
2040
|
-
description?: string | null | undefined;
|
|
2041
2568
|
workspaceId?: string | null | undefined;
|
|
2569
|
+
description?: string | null | undefined;
|
|
2042
2570
|
initialContent?: any;
|
|
2043
2571
|
};
|
|
2044
2572
|
output: {
|
|
@@ -2046,7 +2574,7 @@ view: {
|
|
|
2046
2574
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
2047
2575
|
workspaceId: string | null | undefined;
|
|
2048
2576
|
userId: string;
|
|
2049
|
-
type: "
|
|
2577
|
+
type: "list" | "calendar" | "grid" | "timeline" | "whiteboard" | "table" | "graph" | "kanban" | "gallery" | "gantt" | "mindmap";
|
|
2050
2578
|
category: ViewCategory;
|
|
2051
2579
|
name: string;
|
|
2052
2580
|
description: string | null | undefined;
|
|
@@ -2065,21 +2593,21 @@ meta: object;
|
|
|
2065
2593
|
}>;
|
|
2066
2594
|
list: TRPCQueryProcedure< {
|
|
2067
2595
|
input: {
|
|
2068
|
-
type?: "
|
|
2596
|
+
type?: "list" | "calendar" | "grid" | "timeline" | "whiteboard" | "all" | "table" | "graph" | "kanban" | "gallery" | "gantt" | "mindmap" | undefined;
|
|
2069
2597
|
workspaceId?: string | undefined;
|
|
2070
2598
|
};
|
|
2071
2599
|
output: {
|
|
2072
2600
|
userId: string;
|
|
2073
|
-
id: string;
|
|
2074
|
-
createdAt: Date;
|
|
2075
|
-
name: string;
|
|
2076
|
-
description: string | null;
|
|
2077
2601
|
type: string;
|
|
2078
|
-
|
|
2602
|
+
id: string;
|
|
2079
2603
|
workspaceId: string | null;
|
|
2604
|
+
projectIds: string[] | null;
|
|
2080
2605
|
documentId: string | null;
|
|
2606
|
+
metadata: unknown;
|
|
2607
|
+
createdAt: Date;
|
|
2081
2608
|
updatedAt: Date;
|
|
2082
|
-
|
|
2609
|
+
name: string;
|
|
2610
|
+
description: string | null;
|
|
2083
2611
|
category: string;
|
|
2084
2612
|
yjsRoomId: string | null;
|
|
2085
2613
|
thumbnailUrl: string | null;
|
|
@@ -2093,16 +2621,16 @@ id: string;
|
|
|
2093
2621
|
output: {
|
|
2094
2622
|
view: {
|
|
2095
2623
|
userId: string;
|
|
2096
|
-
id: string;
|
|
2097
|
-
createdAt: Date;
|
|
2098
|
-
name: string;
|
|
2099
|
-
description: string | null;
|
|
2100
2624
|
type: string;
|
|
2101
|
-
|
|
2625
|
+
id: string;
|
|
2102
2626
|
workspaceId: string | null;
|
|
2627
|
+
projectIds: string[] | null;
|
|
2103
2628
|
documentId: string | null;
|
|
2629
|
+
metadata: unknown;
|
|
2630
|
+
createdAt: Date;
|
|
2104
2631
|
updatedAt: Date;
|
|
2105
|
-
|
|
2632
|
+
name: string;
|
|
2633
|
+
description: string | null;
|
|
2106
2634
|
category: string;
|
|
2107
2635
|
yjsRoomId: string | null;
|
|
2108
2636
|
thumbnailUrl: string | null;
|
|
@@ -2118,16 +2646,16 @@ id: string;
|
|
|
2118
2646
|
output: {
|
|
2119
2647
|
view: {
|
|
2120
2648
|
userId: string;
|
|
2121
|
-
id: string;
|
|
2122
|
-
createdAt: Date;
|
|
2123
|
-
name: string;
|
|
2124
|
-
description: string | null;
|
|
2125
2649
|
type: string;
|
|
2126
|
-
|
|
2650
|
+
id: string;
|
|
2127
2651
|
workspaceId: string | null;
|
|
2652
|
+
projectIds: string[] | null;
|
|
2128
2653
|
documentId: string | null;
|
|
2654
|
+
metadata: unknown;
|
|
2655
|
+
createdAt: Date;
|
|
2129
2656
|
updatedAt: Date;
|
|
2130
|
-
|
|
2657
|
+
name: string;
|
|
2658
|
+
description: string | null;
|
|
2131
2659
|
category: string;
|
|
2132
2660
|
yjsRoomId: string | null;
|
|
2133
2661
|
thumbnailUrl: string | null;
|
|
@@ -2139,16 +2667,16 @@ config?: undefined;
|
|
|
2139
2667
|
} | {
|
|
2140
2668
|
view: {
|
|
2141
2669
|
userId: string;
|
|
2142
|
-
id: string;
|
|
2143
|
-
createdAt: Date;
|
|
2144
|
-
name: string;
|
|
2145
|
-
description: string | null;
|
|
2146
2670
|
type: string;
|
|
2147
|
-
|
|
2671
|
+
id: string;
|
|
2148
2672
|
workspaceId: string | null;
|
|
2673
|
+
projectIds: string[] | null;
|
|
2149
2674
|
documentId: string | null;
|
|
2675
|
+
metadata: unknown;
|
|
2676
|
+
createdAt: Date;
|
|
2150
2677
|
updatedAt: Date;
|
|
2151
|
-
|
|
2678
|
+
name: string;
|
|
2679
|
+
description: string | null;
|
|
2152
2680
|
category: string;
|
|
2153
2681
|
yjsRoomId: string | null;
|
|
2154
2682
|
thumbnailUrl: string | null;
|
|
@@ -2160,16 +2688,16 @@ content?: undefined;
|
|
|
2160
2688
|
} | {
|
|
2161
2689
|
view: {
|
|
2162
2690
|
userId: string;
|
|
2163
|
-
id: string;
|
|
2164
|
-
createdAt: Date;
|
|
2165
|
-
name: string;
|
|
2166
|
-
description: string | null;
|
|
2167
2691
|
type: string;
|
|
2168
|
-
|
|
2692
|
+
id: string;
|
|
2169
2693
|
workspaceId: string | null;
|
|
2694
|
+
projectIds: string[] | null;
|
|
2170
2695
|
documentId: string | null;
|
|
2696
|
+
metadata: unknown;
|
|
2697
|
+
createdAt: Date;
|
|
2171
2698
|
updatedAt: Date;
|
|
2172
|
-
|
|
2699
|
+
name: string;
|
|
2700
|
+
description: string | null;
|
|
2173
2701
|
category: string;
|
|
2174
2702
|
yjsRoomId: string | null;
|
|
2175
2703
|
thumbnailUrl: string | null;
|
|
@@ -2207,8 +2735,8 @@ meta: object;
|
|
|
2207
2735
|
save: TRPCMutationProcedure< {
|
|
2208
2736
|
input: {
|
|
2209
2737
|
id: string;
|
|
2210
|
-
content?: any;
|
|
2211
2738
|
metadata?: Record<string, any> | undefined;
|
|
2739
|
+
content?: any;
|
|
2212
2740
|
};
|
|
2213
2741
|
output: {
|
|
2214
2742
|
success: boolean;
|
|
@@ -2332,11 +2860,11 @@ input: {
|
|
|
2332
2860
|
theme?: "system" | "light" | "dark" | undefined;
|
|
2333
2861
|
customTheme?: {
|
|
2334
2862
|
colors?: {
|
|
2335
|
-
text?: string | undefined;
|
|
2336
2863
|
primary?: string | undefined;
|
|
2337
2864
|
accent?: string | undefined;
|
|
2338
2865
|
background?: string | undefined;
|
|
2339
2866
|
border?: string | undefined;
|
|
2867
|
+
text?: string | undefined;
|
|
2340
2868
|
} | undefined;
|
|
2341
2869
|
spacing?: {
|
|
2342
2870
|
small?: string | undefined;
|
|
@@ -2429,12 +2957,12 @@ workspaceId?: string | undefined;
|
|
|
2429
2957
|
} | undefined;
|
|
2430
2958
|
output: {
|
|
2431
2959
|
id: string;
|
|
2960
|
+
workspaceId: string | null;
|
|
2432
2961
|
createdAt: Date;
|
|
2433
|
-
|
|
2962
|
+
updatedAt: Date;
|
|
2434
2963
|
name: string;
|
|
2435
2964
|
description: string | null;
|
|
2436
|
-
|
|
2437
|
-
updatedAt: Date;
|
|
2965
|
+
createdBy: string;
|
|
2438
2966
|
permissions: unknown;
|
|
2439
2967
|
filters: unknown;
|
|
2440
2968
|
}[];
|
|
@@ -2446,12 +2974,12 @@ id: string;
|
|
|
2446
2974
|
};
|
|
2447
2975
|
output: {
|
|
2448
2976
|
id: string;
|
|
2977
|
+
workspaceId: string | null;
|
|
2449
2978
|
createdAt: Date;
|
|
2450
|
-
|
|
2979
|
+
updatedAt: Date;
|
|
2451
2980
|
name: string;
|
|
2452
2981
|
description: string | null;
|
|
2453
|
-
|
|
2454
|
-
updatedAt: Date;
|
|
2982
|
+
createdBy: string;
|
|
2455
2983
|
permissions: unknown;
|
|
2456
2984
|
filters: unknown;
|
|
2457
2985
|
};
|
|
@@ -2461,8 +2989,8 @@ create: TRPCMutationProcedure< {
|
|
|
2461
2989
|
input: {
|
|
2462
2990
|
name: string;
|
|
2463
2991
|
permissions: Record<string, any>;
|
|
2464
|
-
description?: string | undefined;
|
|
2465
2992
|
workspaceId?: string | undefined;
|
|
2993
|
+
description?: string | undefined;
|
|
2466
2994
|
filters?: Record<string, any> | undefined;
|
|
2467
2995
|
};
|
|
2468
2996
|
output: {
|
|
@@ -2544,30 +3072,30 @@ token: string;
|
|
|
2544
3072
|
output: {
|
|
2545
3073
|
resource: {
|
|
2546
3074
|
userId: string;
|
|
2547
|
-
id: string;
|
|
2548
|
-
createdAt: Date;
|
|
2549
3075
|
type: string;
|
|
2550
|
-
|
|
2551
|
-
metadata: unknown;
|
|
3076
|
+
id: string;
|
|
2552
3077
|
workspaceId: string;
|
|
2553
|
-
documentId: string | null;
|
|
2554
|
-
preview: string | null;
|
|
2555
|
-
updatedAt: Date;
|
|
2556
3078
|
projectIds: string[] | null;
|
|
3079
|
+
title: string | null;
|
|
3080
|
+
preview: string | null;
|
|
3081
|
+
documentId: string | null;
|
|
3082
|
+
metadata: unknown;
|
|
2557
3083
|
version: number;
|
|
3084
|
+
createdAt: Date;
|
|
3085
|
+
updatedAt: Date;
|
|
2558
3086
|
deletedAt: Date | null;
|
|
2559
3087
|
} | {
|
|
2560
3088
|
userId: string;
|
|
2561
|
-
id: string;
|
|
2562
|
-
createdAt: Date;
|
|
2563
|
-
name: string;
|
|
2564
|
-
description: string | null;
|
|
2565
3089
|
type: string;
|
|
2566
|
-
|
|
3090
|
+
id: string;
|
|
2567
3091
|
workspaceId: string | null;
|
|
3092
|
+
projectIds: string[] | null;
|
|
2568
3093
|
documentId: string | null;
|
|
3094
|
+
metadata: unknown;
|
|
3095
|
+
createdAt: Date;
|
|
2569
3096
|
updatedAt: Date;
|
|
2570
|
-
|
|
3097
|
+
name: string;
|
|
3098
|
+
description: string | null;
|
|
2571
3099
|
category: string;
|
|
2572
3100
|
yjsRoomId: string | null;
|
|
2573
3101
|
thumbnailUrl: string | null;
|
|
@@ -2586,10 +3114,10 @@ visibility?: string | undefined;
|
|
|
2586
3114
|
};
|
|
2587
3115
|
output: {
|
|
2588
3116
|
id: string;
|
|
2589
|
-
expiresAt: Date | null;
|
|
2590
3117
|
createdAt: Date;
|
|
2591
|
-
createdBy: string;
|
|
2592
3118
|
updatedAt: Date;
|
|
3119
|
+
expiresAt: Date | null;
|
|
3120
|
+
createdBy: string;
|
|
2593
3121
|
permissions: unknown;
|
|
2594
3122
|
resourceType: string;
|
|
2595
3123
|
resourceId: string;
|
|
@@ -2621,7 +3149,7 @@ list: TRPCQueryProcedure< {
|
|
|
2621
3149
|
input: {
|
|
2622
3150
|
workspaceId?: string | undefined;
|
|
2623
3151
|
entityType?: string | undefined;
|
|
2624
|
-
targetType?: "project" | "
|
|
3152
|
+
targetType?: "project" | "entity" | "document" | "inbox_item" | undefined;
|
|
2625
3153
|
inboxItemType?: string | undefined;
|
|
2626
3154
|
includePublic?: boolean | undefined;
|
|
2627
3155
|
};
|
|
@@ -2636,6 +3164,7 @@ targetType: string;
|
|
|
2636
3164
|
entityType: string | null;
|
|
2637
3165
|
inboxItemType: string | null;
|
|
2638
3166
|
config: unknown;
|
|
3167
|
+
schema: unknown;
|
|
2639
3168
|
isDefault: boolean;
|
|
2640
3169
|
isPublic: boolean;
|
|
2641
3170
|
version: number;
|
|
@@ -2646,7 +3175,7 @@ meta: object;
|
|
|
2646
3175
|
}>;
|
|
2647
3176
|
getDefault: TRPCQueryProcedure< {
|
|
2648
3177
|
input: {
|
|
2649
|
-
targetType: "project" | "
|
|
3178
|
+
targetType: "project" | "entity" | "document" | "inbox_item";
|
|
2650
3179
|
workspaceId?: string | undefined;
|
|
2651
3180
|
entityType?: string | undefined;
|
|
2652
3181
|
inboxItemType?: string | undefined;
|
|
@@ -2657,7 +3186,7 @@ meta: object;
|
|
|
2657
3186
|
create: TRPCMutationProcedure< {
|
|
2658
3187
|
input: {
|
|
2659
3188
|
name: string;
|
|
2660
|
-
targetType: "project" | "
|
|
3189
|
+
targetType: "project" | "entity" | "document" | "inbox_item";
|
|
2661
3190
|
config: {
|
|
2662
3191
|
layout?: {
|
|
2663
3192
|
structure: {
|
|
@@ -2753,8 +3282,9 @@ shadow?: string | undefined;
|
|
|
2753
3282
|
fontFamily?: string | undefined;
|
|
2754
3283
|
} | undefined;
|
|
2755
3284
|
};
|
|
2756
|
-
description?: string | null | undefined;
|
|
2757
3285
|
workspaceId?: string | null | undefined;
|
|
3286
|
+
schema?: Record<string, any> | undefined;
|
|
3287
|
+
description?: string | null | undefined;
|
|
2758
3288
|
entityType?: string | null | undefined;
|
|
2759
3289
|
inboxItemType?: string | null | undefined;
|
|
2760
3290
|
isDefault?: boolean | undefined;
|
|
@@ -2770,6 +3300,7 @@ update: TRPCMutationProcedure< {
|
|
|
2770
3300
|
input: {
|
|
2771
3301
|
id: string;
|
|
2772
3302
|
name?: string | undefined;
|
|
3303
|
+
schema?: Record<string, any> | undefined;
|
|
2773
3304
|
description?: string | null | undefined;
|
|
2774
3305
|
config?: {
|
|
2775
3306
|
layout?: {
|
|
@@ -2890,13 +3421,14 @@ id: string;
|
|
|
2890
3421
|
output: {
|
|
2891
3422
|
userId: string | null;
|
|
2892
3423
|
id: string;
|
|
2893
|
-
createdAt: Date;
|
|
2894
|
-
name: string;
|
|
2895
|
-
description: string | null;
|
|
2896
3424
|
workspaceId: string | null;
|
|
2897
|
-
updatedAt: Date;
|
|
2898
3425
|
projectIds: string[] | null;
|
|
2899
3426
|
version: number;
|
|
3427
|
+
createdAt: Date;
|
|
3428
|
+
updatedAt: Date;
|
|
3429
|
+
name: string;
|
|
3430
|
+
schema: unknown;
|
|
3431
|
+
description: string | null;
|
|
2900
3432
|
entityType: string | null;
|
|
2901
3433
|
targetType: string;
|
|
2902
3434
|
inboxItemType: string | null;
|
|
@@ -2940,13 +3472,13 @@ limit?: number | undefined;
|
|
|
2940
3472
|
};
|
|
2941
3473
|
output: {
|
|
2942
3474
|
versions: {
|
|
2943
|
-
id: string;
|
|
2944
|
-
createdAt: Date;
|
|
2945
|
-
type: string;
|
|
2946
3475
|
message: string | null;
|
|
2947
|
-
|
|
3476
|
+
type: string;
|
|
3477
|
+
id: string;
|
|
2948
3478
|
documentId: string;
|
|
2949
3479
|
version: number;
|
|
3480
|
+
createdAt: Date;
|
|
3481
|
+
content: string;
|
|
2950
3482
|
delta: unknown;
|
|
2951
3483
|
author: string;
|
|
2952
3484
|
authorId: string;
|
|
@@ -2971,13 +3503,13 @@ versionId: string;
|
|
|
2971
3503
|
};
|
|
2972
3504
|
output: {
|
|
2973
3505
|
version: {
|
|
2974
|
-
id: string;
|
|
2975
|
-
createdAt: Date;
|
|
2976
|
-
type: string;
|
|
2977
3506
|
message: string | null;
|
|
2978
|
-
|
|
3507
|
+
type: string;
|
|
3508
|
+
id: string;
|
|
2979
3509
|
documentId: string;
|
|
2980
3510
|
version: number;
|
|
3511
|
+
createdAt: Date;
|
|
3512
|
+
content: string;
|
|
2981
3513
|
delta: unknown;
|
|
2982
3514
|
author: string;
|
|
2983
3515
|
authorId: string;
|