@synap-core/api-types 1.3.1 → 1.4.1
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/generated.d.ts +825 -164
- package/package.json +1 -1
- package/src/generated.d.ts +5260 -5170
package/dist/generated.d.ts
CHANGED
|
@@ -116,49 +116,23 @@ declare const chatThreads: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
116
116
|
identity: undefined;
|
|
117
117
|
generated: undefined;
|
|
118
118
|
}, {}, {}>;
|
|
119
|
-
|
|
120
|
-
name: "
|
|
119
|
+
workspaceId: import("drizzle-orm/pg-core").PgColumn<{
|
|
120
|
+
name: "workspace_id";
|
|
121
121
|
tableName: "chat_threads";
|
|
122
|
-
dataType: "
|
|
123
|
-
columnType: "
|
|
124
|
-
data: string
|
|
125
|
-
driverParam: string
|
|
122
|
+
dataType: "string";
|
|
123
|
+
columnType: "PgUUID";
|
|
124
|
+
data: string;
|
|
125
|
+
driverParam: string;
|
|
126
126
|
notNull: false;
|
|
127
127
|
hasDefault: false;
|
|
128
128
|
isPrimaryKey: false;
|
|
129
129
|
isAutoincrement: false;
|
|
130
130
|
hasRuntimeDefault: false;
|
|
131
131
|
enumValues: undefined;
|
|
132
|
-
baseColumn:
|
|
133
|
-
name: "project_ids";
|
|
134
|
-
tableName: "chat_threads";
|
|
135
|
-
dataType: "string";
|
|
136
|
-
columnType: "PgUUID";
|
|
137
|
-
data: string;
|
|
138
|
-
driverParam: string;
|
|
139
|
-
notNull: false;
|
|
140
|
-
hasDefault: false;
|
|
141
|
-
isPrimaryKey: false;
|
|
142
|
-
isAutoincrement: false;
|
|
143
|
-
hasRuntimeDefault: false;
|
|
144
|
-
enumValues: undefined;
|
|
145
|
-
baseColumn: never;
|
|
146
|
-
identity: undefined;
|
|
147
|
-
generated: undefined;
|
|
148
|
-
}, {}, {}>;
|
|
132
|
+
baseColumn: never;
|
|
149
133
|
identity: undefined;
|
|
150
134
|
generated: undefined;
|
|
151
|
-
}, {}, {
|
|
152
|
-
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
153
|
-
name: "project_ids";
|
|
154
|
-
dataType: "string";
|
|
155
|
-
columnType: "PgUUID";
|
|
156
|
-
data: string;
|
|
157
|
-
driverParam: string;
|
|
158
|
-
enumValues: undefined;
|
|
159
|
-
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
160
|
-
size: undefined;
|
|
161
|
-
}>;
|
|
135
|
+
}, {}, {}>;
|
|
162
136
|
title: import("drizzle-orm/pg-core").PgColumn<{
|
|
163
137
|
name: "title";
|
|
164
138
|
tableName: "chat_threads";
|
|
@@ -452,6 +426,18 @@ declare enum ThreadDocumentConflictStatus {
|
|
|
452
426
|
PENDING = "pending",
|
|
453
427
|
RESOLVED = "resolved"
|
|
454
428
|
}
|
|
429
|
+
export interface DerivedInput {
|
|
430
|
+
name: string;
|
|
431
|
+
label?: string;
|
|
432
|
+
type?: string;
|
|
433
|
+
options?: string[];
|
|
434
|
+
default?: string;
|
|
435
|
+
}
|
|
436
|
+
export interface InputOverride {
|
|
437
|
+
label?: string;
|
|
438
|
+
default?: string;
|
|
439
|
+
options?: string[];
|
|
440
|
+
}
|
|
455
441
|
/**
|
|
456
442
|
* Workspaces Schema - Multi-user workspace support
|
|
457
443
|
*
|
|
@@ -500,6 +486,193 @@ declare enum ProposalStatus {
|
|
|
500
486
|
APPROVED = "approved",
|
|
501
487
|
REJECTED = "rejected"
|
|
502
488
|
}
|
|
489
|
+
declare const messageLinks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
490
|
+
name: "message_links";
|
|
491
|
+
schema: undefined;
|
|
492
|
+
columns: {
|
|
493
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
494
|
+
name: "id";
|
|
495
|
+
tableName: "message_links";
|
|
496
|
+
dataType: "string";
|
|
497
|
+
columnType: "PgUUID";
|
|
498
|
+
data: string;
|
|
499
|
+
driverParam: string;
|
|
500
|
+
notNull: true;
|
|
501
|
+
hasDefault: true;
|
|
502
|
+
isPrimaryKey: true;
|
|
503
|
+
isAutoincrement: false;
|
|
504
|
+
hasRuntimeDefault: false;
|
|
505
|
+
enumValues: undefined;
|
|
506
|
+
baseColumn: never;
|
|
507
|
+
identity: undefined;
|
|
508
|
+
generated: undefined;
|
|
509
|
+
}, {}, {}>;
|
|
510
|
+
messageId: import("drizzle-orm/pg-core").PgColumn<{
|
|
511
|
+
name: "message_id";
|
|
512
|
+
tableName: "message_links";
|
|
513
|
+
dataType: "string";
|
|
514
|
+
columnType: "PgUUID";
|
|
515
|
+
data: string;
|
|
516
|
+
driverParam: string;
|
|
517
|
+
notNull: true;
|
|
518
|
+
hasDefault: false;
|
|
519
|
+
isPrimaryKey: false;
|
|
520
|
+
isAutoincrement: false;
|
|
521
|
+
hasRuntimeDefault: false;
|
|
522
|
+
enumValues: undefined;
|
|
523
|
+
baseColumn: never;
|
|
524
|
+
identity: undefined;
|
|
525
|
+
generated: undefined;
|
|
526
|
+
}, {}, {}>;
|
|
527
|
+
targetType: import("drizzle-orm/pg-core").PgColumn<{
|
|
528
|
+
name: "target_type";
|
|
529
|
+
tableName: "message_links";
|
|
530
|
+
dataType: "string";
|
|
531
|
+
columnType: "PgText";
|
|
532
|
+
data: string;
|
|
533
|
+
driverParam: string;
|
|
534
|
+
notNull: true;
|
|
535
|
+
hasDefault: false;
|
|
536
|
+
isPrimaryKey: false;
|
|
537
|
+
isAutoincrement: false;
|
|
538
|
+
hasRuntimeDefault: false;
|
|
539
|
+
enumValues: [
|
|
540
|
+
string,
|
|
541
|
+
...string[]
|
|
542
|
+
];
|
|
543
|
+
baseColumn: never;
|
|
544
|
+
identity: undefined;
|
|
545
|
+
generated: undefined;
|
|
546
|
+
}, {}, {}>;
|
|
547
|
+
targetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
548
|
+
name: "target_id";
|
|
549
|
+
tableName: "message_links";
|
|
550
|
+
dataType: "string";
|
|
551
|
+
columnType: "PgUUID";
|
|
552
|
+
data: string;
|
|
553
|
+
driverParam: string;
|
|
554
|
+
notNull: true;
|
|
555
|
+
hasDefault: false;
|
|
556
|
+
isPrimaryKey: false;
|
|
557
|
+
isAutoincrement: false;
|
|
558
|
+
hasRuntimeDefault: false;
|
|
559
|
+
enumValues: undefined;
|
|
560
|
+
baseColumn: never;
|
|
561
|
+
identity: undefined;
|
|
562
|
+
generated: undefined;
|
|
563
|
+
}, {}, {}>;
|
|
564
|
+
relationshipType: import("drizzle-orm/pg-core").PgColumn<{
|
|
565
|
+
name: "relationship_type";
|
|
566
|
+
tableName: "message_links";
|
|
567
|
+
dataType: "string";
|
|
568
|
+
columnType: "PgText";
|
|
569
|
+
data: string;
|
|
570
|
+
driverParam: string;
|
|
571
|
+
notNull: true;
|
|
572
|
+
hasDefault: false;
|
|
573
|
+
isPrimaryKey: false;
|
|
574
|
+
isAutoincrement: false;
|
|
575
|
+
hasRuntimeDefault: false;
|
|
576
|
+
enumValues: [
|
|
577
|
+
string,
|
|
578
|
+
...string[]
|
|
579
|
+
];
|
|
580
|
+
baseColumn: never;
|
|
581
|
+
identity: undefined;
|
|
582
|
+
generated: undefined;
|
|
583
|
+
}, {}, {}>;
|
|
584
|
+
position: import("drizzle-orm/pg-core").PgColumn<{
|
|
585
|
+
name: "position";
|
|
586
|
+
tableName: "message_links";
|
|
587
|
+
dataType: "json";
|
|
588
|
+
columnType: "PgJsonb";
|
|
589
|
+
data: unknown;
|
|
590
|
+
driverParam: unknown;
|
|
591
|
+
notNull: false;
|
|
592
|
+
hasDefault: false;
|
|
593
|
+
isPrimaryKey: false;
|
|
594
|
+
isAutoincrement: false;
|
|
595
|
+
hasRuntimeDefault: false;
|
|
596
|
+
enumValues: undefined;
|
|
597
|
+
baseColumn: never;
|
|
598
|
+
identity: undefined;
|
|
599
|
+
generated: undefined;
|
|
600
|
+
}, {}, {}>;
|
|
601
|
+
metadata: import("drizzle-orm/pg-core").PgColumn<{
|
|
602
|
+
name: "metadata";
|
|
603
|
+
tableName: "message_links";
|
|
604
|
+
dataType: "json";
|
|
605
|
+
columnType: "PgJsonb";
|
|
606
|
+
data: unknown;
|
|
607
|
+
driverParam: unknown;
|
|
608
|
+
notNull: false;
|
|
609
|
+
hasDefault: false;
|
|
610
|
+
isPrimaryKey: false;
|
|
611
|
+
isAutoincrement: false;
|
|
612
|
+
hasRuntimeDefault: false;
|
|
613
|
+
enumValues: undefined;
|
|
614
|
+
baseColumn: never;
|
|
615
|
+
identity: undefined;
|
|
616
|
+
generated: undefined;
|
|
617
|
+
}, {}, {}>;
|
|
618
|
+
userId: import("drizzle-orm/pg-core").PgColumn<{
|
|
619
|
+
name: "user_id";
|
|
620
|
+
tableName: "message_links";
|
|
621
|
+
dataType: "string";
|
|
622
|
+
columnType: "PgText";
|
|
623
|
+
data: string;
|
|
624
|
+
driverParam: string;
|
|
625
|
+
notNull: true;
|
|
626
|
+
hasDefault: false;
|
|
627
|
+
isPrimaryKey: false;
|
|
628
|
+
isAutoincrement: false;
|
|
629
|
+
hasRuntimeDefault: false;
|
|
630
|
+
enumValues: [
|
|
631
|
+
string,
|
|
632
|
+
...string[]
|
|
633
|
+
];
|
|
634
|
+
baseColumn: never;
|
|
635
|
+
identity: undefined;
|
|
636
|
+
generated: undefined;
|
|
637
|
+
}, {}, {}>;
|
|
638
|
+
workspaceId: import("drizzle-orm/pg-core").PgColumn<{
|
|
639
|
+
name: "workspace_id";
|
|
640
|
+
tableName: "message_links";
|
|
641
|
+
dataType: "string";
|
|
642
|
+
columnType: "PgUUID";
|
|
643
|
+
data: string;
|
|
644
|
+
driverParam: string;
|
|
645
|
+
notNull: true;
|
|
646
|
+
hasDefault: false;
|
|
647
|
+
isPrimaryKey: false;
|
|
648
|
+
isAutoincrement: false;
|
|
649
|
+
hasRuntimeDefault: false;
|
|
650
|
+
enumValues: undefined;
|
|
651
|
+
baseColumn: never;
|
|
652
|
+
identity: undefined;
|
|
653
|
+
generated: undefined;
|
|
654
|
+
}, {}, {}>;
|
|
655
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
656
|
+
name: "created_at";
|
|
657
|
+
tableName: "message_links";
|
|
658
|
+
dataType: "date";
|
|
659
|
+
columnType: "PgTimestamp";
|
|
660
|
+
data: Date;
|
|
661
|
+
driverParam: string;
|
|
662
|
+
notNull: true;
|
|
663
|
+
hasDefault: true;
|
|
664
|
+
isPrimaryKey: false;
|
|
665
|
+
isAutoincrement: false;
|
|
666
|
+
hasRuntimeDefault: false;
|
|
667
|
+
enumValues: undefined;
|
|
668
|
+
baseColumn: never;
|
|
669
|
+
identity: undefined;
|
|
670
|
+
generated: undefined;
|
|
671
|
+
}, {}, {}>;
|
|
672
|
+
};
|
|
673
|
+
dialect: "pg";
|
|
674
|
+
}>;
|
|
675
|
+
export type MessageLink = typeof messageLinks.$inferSelect;
|
|
503
676
|
declare enum PropertyValueType {
|
|
504
677
|
STRING = "string",
|
|
505
678
|
NUMBER = "number",
|
|
@@ -672,6 +845,19 @@ export interface EventRecord {
|
|
|
672
845
|
correlationId?: string;
|
|
673
846
|
source: string;
|
|
674
847
|
}
|
|
848
|
+
/** Minimal message fields for list/preview */
|
|
849
|
+
export interface LinkedMessagePreview {
|
|
850
|
+
id: string;
|
|
851
|
+
threadId: string;
|
|
852
|
+
role: string;
|
|
853
|
+
content: string;
|
|
854
|
+
timestamp: Date;
|
|
855
|
+
userId: string;
|
|
856
|
+
}
|
|
857
|
+
export interface LinkedMessageItem {
|
|
858
|
+
link: MessageLink;
|
|
859
|
+
message: LinkedMessagePreview;
|
|
860
|
+
}
|
|
675
861
|
export interface EffectiveProperty extends PropertyDef {
|
|
676
862
|
required: boolean;
|
|
677
863
|
defaultValue: unknown;
|
|
@@ -752,8 +938,9 @@ export interface EntityQuery {
|
|
|
752
938
|
* View category determines content structure and rendering approach
|
|
753
939
|
* - structured: Query-based views with interchangeable layouts (table, kanban, graph, etc.)
|
|
754
940
|
* - canvas: Freeform drawing views (whiteboard, mindmap)
|
|
941
|
+
* - composite: Views that compose other views (bento grid, dashboard)
|
|
755
942
|
*/
|
|
756
|
-
export type ViewCategory = "structured" | "canvas";
|
|
943
|
+
export type ViewCategory = "structured" | "canvas" | "composite";
|
|
757
944
|
declare enum AgentType {
|
|
758
945
|
DEFAULT = "default",
|
|
759
946
|
META = "meta",
|
|
@@ -941,7 +1128,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
941
1128
|
log: import("@trpc/server").TRPCMutationProcedure<{
|
|
942
1129
|
input: {
|
|
943
1130
|
subjectId: string;
|
|
944
|
-
subjectType:
|
|
1131
|
+
subjectType: unknown;
|
|
945
1132
|
eventType: string;
|
|
946
1133
|
data: Record<string, unknown>;
|
|
947
1134
|
version: number;
|
|
@@ -961,6 +1148,36 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
961
1148
|
output: EventRecord[];
|
|
962
1149
|
meta: object;
|
|
963
1150
|
}>;
|
|
1151
|
+
search: import("@trpc/server").TRPCQueryProcedure<{
|
|
1152
|
+
input: {
|
|
1153
|
+
userId?: string | undefined;
|
|
1154
|
+
eventType?: string | undefined;
|
|
1155
|
+
subjectType?: unknown;
|
|
1156
|
+
subjectId?: string | undefined;
|
|
1157
|
+
correlationId?: string | undefined;
|
|
1158
|
+
fromDate?: Date | undefined;
|
|
1159
|
+
toDate?: Date | undefined;
|
|
1160
|
+
limit?: number | undefined;
|
|
1161
|
+
offset?: number | undefined;
|
|
1162
|
+
workspaceId?: string | undefined;
|
|
1163
|
+
};
|
|
1164
|
+
output: EventRecord[];
|
|
1165
|
+
meta: object;
|
|
1166
|
+
}>;
|
|
1167
|
+
count: import("@trpc/server").TRPCQueryProcedure<{
|
|
1168
|
+
input: {
|
|
1169
|
+
userId?: string | undefined;
|
|
1170
|
+
eventType?: string | undefined;
|
|
1171
|
+
subjectType?: unknown;
|
|
1172
|
+
fromDate?: Date | undefined;
|
|
1173
|
+
toDate?: Date | undefined;
|
|
1174
|
+
workspaceId?: string | undefined;
|
|
1175
|
+
};
|
|
1176
|
+
output: {
|
|
1177
|
+
count: number;
|
|
1178
|
+
};
|
|
1179
|
+
meta: object;
|
|
1180
|
+
}>;
|
|
964
1181
|
}>>;
|
|
965
1182
|
capture: import("@trpc/server").TRPCBuiltRouter<{
|
|
966
1183
|
ctx: Context;
|
|
@@ -1031,7 +1248,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1031
1248
|
fileSize: number | null;
|
|
1032
1249
|
fileType: string | null;
|
|
1033
1250
|
checksum: string | null;
|
|
1034
|
-
projectIds: string[] | null;
|
|
1035
1251
|
version: number;
|
|
1036
1252
|
createdAt: Date;
|
|
1037
1253
|
updatedAt: Date;
|
|
@@ -1062,7 +1278,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1062
1278
|
fileSize: number | null;
|
|
1063
1279
|
fileType: string | null;
|
|
1064
1280
|
checksum: string | null;
|
|
1065
|
-
projectIds: string[] | null;
|
|
1066
1281
|
version: number;
|
|
1067
1282
|
createdAt: Date;
|
|
1068
1283
|
updatedAt: Date;
|
|
@@ -1071,6 +1286,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1071
1286
|
};
|
|
1072
1287
|
meta: object;
|
|
1073
1288
|
}>;
|
|
1289
|
+
getByDocumentId: import("@trpc/server").TRPCQueryProcedure<{
|
|
1290
|
+
input: {
|
|
1291
|
+
documentId: string;
|
|
1292
|
+
};
|
|
1293
|
+
output: {
|
|
1294
|
+
entity: any;
|
|
1295
|
+
};
|
|
1296
|
+
meta: object;
|
|
1297
|
+
}>;
|
|
1074
1298
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
1075
1299
|
input: {
|
|
1076
1300
|
id: string;
|
|
@@ -1112,7 +1336,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1112
1336
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1113
1337
|
createThread: import("@trpc/server").TRPCMutationProcedure<{
|
|
1114
1338
|
input: {
|
|
1115
|
-
projectId?: string | undefined;
|
|
1116
1339
|
parentThreadId?: string | undefined;
|
|
1117
1340
|
branchPurpose?: string | undefined;
|
|
1118
1341
|
agentId?: string | undefined;
|
|
@@ -1128,12 +1351,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1128
1351
|
} | {
|
|
1129
1352
|
threadId: string;
|
|
1130
1353
|
thread: {
|
|
1354
|
+
workspaceId: string | null;
|
|
1131
1355
|
userId: string;
|
|
1132
1356
|
id: string;
|
|
1133
1357
|
updatedAt: Date;
|
|
1134
1358
|
createdAt: Date;
|
|
1135
1359
|
metadata: unknown;
|
|
1136
|
-
projectIds: string[] | null;
|
|
1137
1360
|
title: string | null;
|
|
1138
1361
|
status: ChatThreadStatus;
|
|
1139
1362
|
threadType: ChatThreadType;
|
|
@@ -1153,10 +1376,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1153
1376
|
}>;
|
|
1154
1377
|
sendMessage: import("@trpc/server").TRPCMutationProcedure<{
|
|
1155
1378
|
input: {
|
|
1156
|
-
threadId: string;
|
|
1157
1379
|
content: string;
|
|
1380
|
+
threadId?: string | undefined;
|
|
1381
|
+
workspaceId?: string | undefined;
|
|
1158
1382
|
};
|
|
1159
1383
|
output: {
|
|
1384
|
+
threadId: string;
|
|
1160
1385
|
messageId: `${string}-${string}-${string}-${string}-${string}`;
|
|
1161
1386
|
content: string;
|
|
1162
1387
|
entities: {
|
|
@@ -1166,12 +1391,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1166
1391
|
}[];
|
|
1167
1392
|
branchDecision: BranchDecision | undefined;
|
|
1168
1393
|
branchThread: {
|
|
1394
|
+
workspaceId: string | null;
|
|
1169
1395
|
userId: string;
|
|
1170
1396
|
id: string;
|
|
1171
1397
|
updatedAt: Date;
|
|
1172
1398
|
createdAt: Date;
|
|
1173
1399
|
metadata: unknown;
|
|
1174
|
-
projectIds: string[] | null;
|
|
1175
1400
|
title: string | null;
|
|
1176
1401
|
status: ChatThreadStatus;
|
|
1177
1402
|
threadType: ChatThreadType;
|
|
@@ -1264,18 +1489,18 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1264
1489
|
}>;
|
|
1265
1490
|
listThreads: import("@trpc/server").TRPCQueryProcedure<{
|
|
1266
1491
|
input: {
|
|
1267
|
-
|
|
1492
|
+
workspaceId?: string | undefined;
|
|
1268
1493
|
threadType?: "main" | "branch" | undefined;
|
|
1269
1494
|
limit?: number | undefined;
|
|
1270
1495
|
};
|
|
1271
1496
|
output: {
|
|
1272
1497
|
threads: {
|
|
1498
|
+
workspaceId: string | null;
|
|
1273
1499
|
userId: string;
|
|
1274
1500
|
id: string;
|
|
1275
1501
|
updatedAt: Date;
|
|
1276
1502
|
createdAt: Date;
|
|
1277
1503
|
metadata: unknown;
|
|
1278
|
-
projectIds: string[] | null;
|
|
1279
1504
|
title: string | null;
|
|
1280
1505
|
status: ChatThreadStatus;
|
|
1281
1506
|
threadType: ChatThreadType;
|
|
@@ -1297,12 +1522,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1297
1522
|
};
|
|
1298
1523
|
output: {
|
|
1299
1524
|
branches: {
|
|
1525
|
+
workspaceId: string | null;
|
|
1300
1526
|
userId: string;
|
|
1301
1527
|
id: string;
|
|
1302
1528
|
updatedAt: Date;
|
|
1303
1529
|
createdAt: Date;
|
|
1304
1530
|
metadata: unknown;
|
|
1305
|
-
projectIds: string[] | null;
|
|
1306
1531
|
title: string | null;
|
|
1307
1532
|
status: ChatThreadStatus;
|
|
1308
1533
|
threadType: ChatThreadType;
|
|
@@ -1337,12 +1562,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1337
1562
|
};
|
|
1338
1563
|
output: {
|
|
1339
1564
|
thread: {
|
|
1565
|
+
workspaceId: string | null;
|
|
1340
1566
|
userId: string;
|
|
1341
1567
|
id: string;
|
|
1342
1568
|
updatedAt: Date;
|
|
1343
1569
|
createdAt: Date;
|
|
1344
1570
|
metadata: unknown;
|
|
1345
|
-
projectIds: string[] | null;
|
|
1346
1571
|
title: string | null;
|
|
1347
1572
|
status: ChatThreadStatus;
|
|
1348
1573
|
threadType: ChatThreadType;
|
|
@@ -1356,8 +1581,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1356
1581
|
mergedAt: Date | null;
|
|
1357
1582
|
};
|
|
1358
1583
|
entities: {
|
|
1359
|
-
userId: string;
|
|
1360
1584
|
workspaceId: string;
|
|
1585
|
+
userId: string;
|
|
1361
1586
|
id: string;
|
|
1362
1587
|
createdAt: Date;
|
|
1363
1588
|
entityId: string;
|
|
@@ -1368,8 +1593,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1368
1593
|
sourceEventId: string | null;
|
|
1369
1594
|
}[] | undefined;
|
|
1370
1595
|
documents: {
|
|
1371
|
-
userId: string;
|
|
1372
1596
|
workspaceId: string;
|
|
1597
|
+
userId: string;
|
|
1373
1598
|
id: string;
|
|
1374
1599
|
createdAt: Date;
|
|
1375
1600
|
documentId: string;
|
|
@@ -1417,12 +1642,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1417
1642
|
children: any[];
|
|
1418
1643
|
} | null;
|
|
1419
1644
|
flatBranches: {
|
|
1645
|
+
workspaceId: string | null;
|
|
1420
1646
|
userId: string;
|
|
1421
1647
|
id: string;
|
|
1422
1648
|
updatedAt: Date;
|
|
1423
1649
|
createdAt: Date;
|
|
1424
1650
|
metadata: unknown;
|
|
1425
|
-
projectIds: string[] | null;
|
|
1426
1651
|
title: string | null;
|
|
1427
1652
|
status: ChatThreadStatus;
|
|
1428
1653
|
threadType: ChatThreadType;
|
|
@@ -1436,12 +1661,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1436
1661
|
mergedAt: Date | null;
|
|
1437
1662
|
}[];
|
|
1438
1663
|
activeBranches: {
|
|
1664
|
+
workspaceId: string | null;
|
|
1439
1665
|
userId: string;
|
|
1440
1666
|
id: string;
|
|
1441
1667
|
updatedAt: Date;
|
|
1442
1668
|
createdAt: Date;
|
|
1443
1669
|
metadata: unknown;
|
|
1444
|
-
projectIds: string[] | null;
|
|
1445
1670
|
title: string | null;
|
|
1446
1671
|
status: ChatThreadStatus;
|
|
1447
1672
|
threadType: ChatThreadType;
|
|
@@ -1455,12 +1680,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1455
1680
|
mergedAt: Date | null;
|
|
1456
1681
|
}[];
|
|
1457
1682
|
mergedBranches: {
|
|
1683
|
+
workspaceId: string | null;
|
|
1458
1684
|
userId: string;
|
|
1459
1685
|
id: string;
|
|
1460
1686
|
updatedAt: Date;
|
|
1461
1687
|
createdAt: Date;
|
|
1462
1688
|
metadata: unknown;
|
|
1463
|
-
projectIds: string[] | null;
|
|
1464
1689
|
title: string | null;
|
|
1465
1690
|
status: ChatThreadStatus;
|
|
1466
1691
|
threadType: ChatThreadType;
|
|
@@ -1483,8 +1708,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1483
1708
|
};
|
|
1484
1709
|
output: {
|
|
1485
1710
|
entities: {
|
|
1486
|
-
userId: string;
|
|
1487
1711
|
workspaceId: string;
|
|
1712
|
+
userId: string;
|
|
1488
1713
|
id: string;
|
|
1489
1714
|
createdAt: Date;
|
|
1490
1715
|
entityId: string;
|
|
@@ -1495,8 +1720,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1495
1720
|
sourceEventId: string | null;
|
|
1496
1721
|
}[];
|
|
1497
1722
|
documents: {
|
|
1498
|
-
userId: string;
|
|
1499
1723
|
workspaceId: string;
|
|
1724
|
+
userId: string;
|
|
1500
1725
|
id: string;
|
|
1501
1726
|
createdAt: Date;
|
|
1502
1727
|
documentId: string;
|
|
@@ -1519,7 +1744,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1519
1744
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
1520
1745
|
input: {
|
|
1521
1746
|
workspaceId?: string | undefined;
|
|
1522
|
-
targetType?: "entity" | "
|
|
1747
|
+
targetType?: "entity" | "view" | "document" | "whiteboard" | undefined;
|
|
1523
1748
|
targetId?: string | undefined;
|
|
1524
1749
|
status?: "pending" | "validated" | "rejected" | "all" | undefined;
|
|
1525
1750
|
limit?: number | undefined;
|
|
@@ -1565,7 +1790,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1565
1790
|
}>;
|
|
1566
1791
|
submit: import("@trpc/server").TRPCMutationProcedure<{
|
|
1567
1792
|
input: {
|
|
1568
|
-
targetType: "
|
|
1793
|
+
targetType: "workspace" | "entity" | "view" | "document" | "relation";
|
|
1569
1794
|
changeType: "create" | "update" | "delete";
|
|
1570
1795
|
data: Record<string, any>;
|
|
1571
1796
|
targetId?: string | undefined;
|
|
@@ -1988,6 +2213,50 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1988
2213
|
};
|
|
1989
2214
|
meta: object;
|
|
1990
2215
|
}>;
|
|
2216
|
+
listSystemKeys: import("@trpc/server").TRPCQueryProcedure<{
|
|
2217
|
+
input: void;
|
|
2218
|
+
output: {
|
|
2219
|
+
id: string;
|
|
2220
|
+
keyName: string;
|
|
2221
|
+
keyPrefix: string;
|
|
2222
|
+
hubId: string | null;
|
|
2223
|
+
scope: string[];
|
|
2224
|
+
isActive: boolean;
|
|
2225
|
+
expiresAt: Date | null;
|
|
2226
|
+
lastUsedAt: Date | null;
|
|
2227
|
+
usageCount: number;
|
|
2228
|
+
createdAt: Date;
|
|
2229
|
+
user: {
|
|
2230
|
+
id: string;
|
|
2231
|
+
email: string;
|
|
2232
|
+
name: string | null;
|
|
2233
|
+
};
|
|
2234
|
+
}[];
|
|
2235
|
+
meta: object;
|
|
2236
|
+
}>;
|
|
2237
|
+
listWorkspaceKeys: import("@trpc/server").TRPCQueryProcedure<{
|
|
2238
|
+
input: {
|
|
2239
|
+
workspaceId: string;
|
|
2240
|
+
};
|
|
2241
|
+
output: {
|
|
2242
|
+
id: string;
|
|
2243
|
+
keyName: string;
|
|
2244
|
+
keyPrefix: string;
|
|
2245
|
+
hubId: string | null;
|
|
2246
|
+
scope: string[];
|
|
2247
|
+
isActive: boolean;
|
|
2248
|
+
expiresAt: Date | null;
|
|
2249
|
+
lastUsedAt: Date | null;
|
|
2250
|
+
usageCount: number;
|
|
2251
|
+
createdAt: Date;
|
|
2252
|
+
user: {
|
|
2253
|
+
id: string;
|
|
2254
|
+
email: string;
|
|
2255
|
+
name: string | null;
|
|
2256
|
+
};
|
|
2257
|
+
}[];
|
|
2258
|
+
meta: object;
|
|
2259
|
+
}>;
|
|
1991
2260
|
}>>;
|
|
1992
2261
|
health: import("@trpc/server").TRPCBuiltRouter<{
|
|
1993
2262
|
ctx: Context;
|
|
@@ -2130,6 +2399,23 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2130
2399
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
2131
2400
|
transformer: true;
|
|
2132
2401
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2402
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
2403
|
+
input: {
|
|
2404
|
+
title: string;
|
|
2405
|
+
content?: string | undefined;
|
|
2406
|
+
type?: "code" | "text" | "markdown" | "pdf" | "docx" | undefined;
|
|
2407
|
+
projectId?: string | undefined;
|
|
2408
|
+
};
|
|
2409
|
+
output: {
|
|
2410
|
+
status: string;
|
|
2411
|
+
message: string;
|
|
2412
|
+
document: {
|
|
2413
|
+
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
2414
|
+
title: string;
|
|
2415
|
+
};
|
|
2416
|
+
};
|
|
2417
|
+
meta: object;
|
|
2418
|
+
}>;
|
|
2133
2419
|
upload: import("@trpc/server").TRPCMutationProcedure<{
|
|
2134
2420
|
input: {
|
|
2135
2421
|
type: "code" | "text" | "markdown" | "pdf" | "docx";
|
|
@@ -2155,7 +2441,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2155
2441
|
id: string;
|
|
2156
2442
|
userId: string;
|
|
2157
2443
|
workspaceId: string;
|
|
2158
|
-
projectIds: string[] | null;
|
|
2159
2444
|
title: string;
|
|
2160
2445
|
type: string;
|
|
2161
2446
|
language: string | null;
|
|
@@ -2279,7 +2564,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2279
2564
|
id: string;
|
|
2280
2565
|
userId: string;
|
|
2281
2566
|
workspaceId: string;
|
|
2282
|
-
projectIds: string[] | null;
|
|
2283
2567
|
title: string;
|
|
2284
2568
|
type: string;
|
|
2285
2569
|
language: string | null;
|
|
@@ -2491,16 +2775,14 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2491
2775
|
offset?: number | undefined;
|
|
2492
2776
|
};
|
|
2493
2777
|
output: {
|
|
2494
|
-
userId: string;
|
|
2495
2778
|
workspaceId: string;
|
|
2779
|
+
userId: string;
|
|
2496
2780
|
id: string;
|
|
2497
2781
|
data: unknown;
|
|
2498
2782
|
updatedAt: Date;
|
|
2499
|
-
tags: string[] | null;
|
|
2500
2783
|
createdAt: Date;
|
|
2501
2784
|
timestamp: Date;
|
|
2502
2785
|
type: string;
|
|
2503
|
-
projectIds: string[] | null;
|
|
2504
2786
|
title: string;
|
|
2505
2787
|
preview: string | null;
|
|
2506
2788
|
status: string | null;
|
|
@@ -2510,6 +2792,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2510
2792
|
deepLink: string | null;
|
|
2511
2793
|
snoozedUntil: Date | null;
|
|
2512
2794
|
priority: string | null;
|
|
2795
|
+
tags: string[] | null;
|
|
2513
2796
|
processedAt: Date | null;
|
|
2514
2797
|
}[];
|
|
2515
2798
|
meta: object;
|
|
@@ -2606,58 +2889,208 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2606
2889
|
}>;
|
|
2607
2890
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
2608
2891
|
input: {
|
|
2609
|
-
id: string;
|
|
2892
|
+
id: string;
|
|
2893
|
+
};
|
|
2894
|
+
output: {
|
|
2895
|
+
name: string;
|
|
2896
|
+
id: string;
|
|
2897
|
+
updatedAt: Date;
|
|
2898
|
+
createdAt: Date;
|
|
2899
|
+
metadata: Record<string, unknown> | null;
|
|
2900
|
+
version: string | null;
|
|
2901
|
+
status: string;
|
|
2902
|
+
description: string | null;
|
|
2903
|
+
capabilities: string[];
|
|
2904
|
+
serviceId: string;
|
|
2905
|
+
webhookUrl: string;
|
|
2906
|
+
pricing: string | null;
|
|
2907
|
+
enabled: boolean;
|
|
2908
|
+
lastHealthCheck: Date | null;
|
|
2909
|
+
};
|
|
2910
|
+
meta: object;
|
|
2911
|
+
}>;
|
|
2912
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
2913
|
+
input: {
|
|
2914
|
+
id: string;
|
|
2915
|
+
name?: string | undefined;
|
|
2916
|
+
description?: string | undefined;
|
|
2917
|
+
version?: string | undefined;
|
|
2918
|
+
webhookUrl?: string | undefined;
|
|
2919
|
+
capabilities?: string[] | undefined;
|
|
2920
|
+
status?: "active" | "inactive" | "suspended" | undefined;
|
|
2921
|
+
enabled?: boolean | undefined;
|
|
2922
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2923
|
+
};
|
|
2924
|
+
output: {
|
|
2925
|
+
id: string;
|
|
2926
|
+
serviceId: string;
|
|
2927
|
+
name: string;
|
|
2928
|
+
description: string | null;
|
|
2929
|
+
version: string | null;
|
|
2930
|
+
webhookUrl: string;
|
|
2931
|
+
apiKey: string;
|
|
2932
|
+
capabilities: string[];
|
|
2933
|
+
pricing: string | null;
|
|
2934
|
+
status: string;
|
|
2935
|
+
enabled: boolean;
|
|
2936
|
+
metadata: Record<string, unknown> | null;
|
|
2937
|
+
createdAt: Date;
|
|
2938
|
+
updatedAt: Date;
|
|
2939
|
+
lastHealthCheck: Date | null;
|
|
2940
|
+
};
|
|
2941
|
+
meta: object;
|
|
2942
|
+
}>;
|
|
2943
|
+
unregister: import("@trpc/server").TRPCMutationProcedure<{
|
|
2944
|
+
input: {
|
|
2945
|
+
id: string;
|
|
2946
|
+
};
|
|
2947
|
+
output: {
|
|
2948
|
+
success: boolean;
|
|
2949
|
+
};
|
|
2950
|
+
meta: object;
|
|
2951
|
+
}>;
|
|
2952
|
+
findByCapability: import("@trpc/server").TRPCQueryProcedure<{
|
|
2953
|
+
input: {
|
|
2954
|
+
capability: string;
|
|
2955
|
+
};
|
|
2956
|
+
output: {
|
|
2957
|
+
id: string;
|
|
2958
|
+
serviceId: string;
|
|
2959
|
+
name: string;
|
|
2960
|
+
capabilities: string[];
|
|
2961
|
+
webhookUrl: string;
|
|
2962
|
+
}[];
|
|
2963
|
+
meta: object;
|
|
2964
|
+
}>;
|
|
2965
|
+
}>>;
|
|
2966
|
+
intelligence: import("@trpc/server").TRPCBuiltRouter<{
|
|
2967
|
+
ctx: Context;
|
|
2968
|
+
meta: object;
|
|
2969
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
2970
|
+
transformer: true;
|
|
2971
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2972
|
+
listCommands: import("@trpc/server").TRPCQueryProcedure<{
|
|
2973
|
+
input: {
|
|
2974
|
+
limit?: number | undefined;
|
|
2975
|
+
};
|
|
2976
|
+
output: {
|
|
2977
|
+
commands: {
|
|
2978
|
+
workspaceId: string;
|
|
2979
|
+
id: string;
|
|
2980
|
+
updatedAt: Date;
|
|
2981
|
+
createdAt: Date;
|
|
2982
|
+
title: string;
|
|
2983
|
+
createdBy: string;
|
|
2984
|
+
promptTemplate: string;
|
|
2985
|
+
compiledTemplateAst: unknown;
|
|
2986
|
+
derivedInputs: DerivedInput[] | null;
|
|
2987
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
2988
|
+
allowedTools: string[] | null;
|
|
2989
|
+
allowedEntityTypes: string[] | null;
|
|
2990
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
2991
|
+
canCreateViews: boolean;
|
|
2992
|
+
outputMode: "text" | "proposal" | "view";
|
|
2993
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
2994
|
+
sharedScope: "workspace" | "user";
|
|
2995
|
+
}[];
|
|
2996
|
+
};
|
|
2997
|
+
meta: object;
|
|
2998
|
+
}>;
|
|
2999
|
+
getCommand: import("@trpc/server").TRPCQueryProcedure<{
|
|
3000
|
+
input: {
|
|
3001
|
+
id: string;
|
|
3002
|
+
};
|
|
3003
|
+
output: {
|
|
3004
|
+
workspaceId: string;
|
|
3005
|
+
id: string;
|
|
3006
|
+
updatedAt: Date;
|
|
3007
|
+
createdAt: Date;
|
|
3008
|
+
title: string;
|
|
3009
|
+
createdBy: string;
|
|
3010
|
+
promptTemplate: string;
|
|
3011
|
+
compiledTemplateAst: unknown;
|
|
3012
|
+
derivedInputs: DerivedInput[] | null;
|
|
3013
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3014
|
+
allowedTools: string[] | null;
|
|
3015
|
+
allowedEntityTypes: string[] | null;
|
|
3016
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3017
|
+
canCreateViews: boolean;
|
|
3018
|
+
outputMode: "text" | "proposal" | "view";
|
|
3019
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3020
|
+
sharedScope: "workspace" | "user";
|
|
3021
|
+
};
|
|
3022
|
+
meta: object;
|
|
3023
|
+
}>;
|
|
3024
|
+
createCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
3025
|
+
input: {
|
|
3026
|
+
title: string;
|
|
3027
|
+
promptTemplate: string;
|
|
3028
|
+
inputOverrides?: Record<string, any> | undefined;
|
|
3029
|
+
allowedTools?: string[] | undefined;
|
|
3030
|
+
allowedEntityTypes?: string[] | undefined;
|
|
3031
|
+
maxEntitiesCreatedPerRun?: number | undefined;
|
|
3032
|
+
canCreateViews?: boolean | undefined;
|
|
3033
|
+
outputMode?: "text" | "proposal" | "view" | undefined;
|
|
3034
|
+
permissionsProfile?: "read_only" | "propose_writes" | undefined;
|
|
3035
|
+
sharedScope?: "workspace" | "user" | undefined;
|
|
2610
3036
|
};
|
|
2611
3037
|
output: {
|
|
2612
|
-
|
|
3038
|
+
workspaceId: string;
|
|
2613
3039
|
id: string;
|
|
2614
3040
|
updatedAt: Date;
|
|
2615
3041
|
createdAt: Date;
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
3042
|
+
title: string;
|
|
3043
|
+
createdBy: string;
|
|
3044
|
+
promptTemplate: string;
|
|
3045
|
+
compiledTemplateAst: unknown;
|
|
3046
|
+
derivedInputs: DerivedInput[] | null;
|
|
3047
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3048
|
+
allowedTools: string[] | null;
|
|
3049
|
+
allowedEntityTypes: string[] | null;
|
|
3050
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3051
|
+
canCreateViews: boolean;
|
|
3052
|
+
outputMode: "text" | "proposal" | "view";
|
|
3053
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3054
|
+
sharedScope: "workspace" | "user";
|
|
2626
3055
|
};
|
|
2627
3056
|
meta: object;
|
|
2628
3057
|
}>;
|
|
2629
|
-
|
|
3058
|
+
updateCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
2630
3059
|
input: {
|
|
2631
3060
|
id: string;
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
3061
|
+
title?: string | undefined;
|
|
3062
|
+
promptTemplate?: string | undefined;
|
|
3063
|
+
inputOverrides?: Record<string, any> | undefined;
|
|
3064
|
+
allowedTools?: string[] | undefined;
|
|
3065
|
+
allowedEntityTypes?: string[] | undefined;
|
|
3066
|
+
maxEntitiesCreatedPerRun?: number | null | undefined;
|
|
3067
|
+
canCreateViews?: boolean | undefined;
|
|
3068
|
+
outputMode?: "text" | "proposal" | "view" | undefined;
|
|
3069
|
+
permissionsProfile?: "read_only" | "propose_writes" | undefined;
|
|
3070
|
+
sharedScope?: "workspace" | "user" | undefined;
|
|
2640
3071
|
};
|
|
2641
3072
|
output: {
|
|
2642
3073
|
id: string;
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
3074
|
+
workspaceId: string;
|
|
3075
|
+
createdBy: string;
|
|
3076
|
+
title: string;
|
|
3077
|
+
promptTemplate: string;
|
|
3078
|
+
compiledTemplateAst: unknown;
|
|
3079
|
+
derivedInputs: DerivedInput[] | null;
|
|
3080
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3081
|
+
allowedTools: string[] | null;
|
|
3082
|
+
allowedEntityTypes: string[] | null;
|
|
3083
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3084
|
+
canCreateViews: boolean;
|
|
3085
|
+
outputMode: "text" | "proposal" | "view";
|
|
3086
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3087
|
+
sharedScope: "workspace" | "user";
|
|
2654
3088
|
createdAt: Date;
|
|
2655
3089
|
updatedAt: Date;
|
|
2656
|
-
lastHealthCheck: Date | null;
|
|
2657
3090
|
};
|
|
2658
3091
|
meta: object;
|
|
2659
3092
|
}>;
|
|
2660
|
-
|
|
3093
|
+
deleteCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
2661
3094
|
input: {
|
|
2662
3095
|
id: string;
|
|
2663
3096
|
};
|
|
@@ -2666,17 +3099,89 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2666
3099
|
};
|
|
2667
3100
|
meta: object;
|
|
2668
3101
|
}>;
|
|
2669
|
-
|
|
3102
|
+
runCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
2670
3103
|
input: {
|
|
2671
|
-
|
|
3104
|
+
commandId: string;
|
|
3105
|
+
argumentValues: Record<string, string>;
|
|
3106
|
+
selectionContext?: {
|
|
3107
|
+
type: "entities" | "documents" | "text" | "viewRows";
|
|
3108
|
+
entityIds?: string[] | undefined;
|
|
3109
|
+
viewId?: string | undefined;
|
|
3110
|
+
rowEntityIds?: string[] | undefined;
|
|
3111
|
+
documentIds?: string[] | undefined;
|
|
3112
|
+
text?: string | undefined;
|
|
3113
|
+
} | undefined;
|
|
3114
|
+
};
|
|
3115
|
+
output: {
|
|
3116
|
+
runId: string;
|
|
3117
|
+
threadId: string;
|
|
3118
|
+
};
|
|
3119
|
+
meta: object;
|
|
3120
|
+
}>;
|
|
3121
|
+
listRuns: import("@trpc/server").TRPCQueryProcedure<{
|
|
3122
|
+
input: {
|
|
3123
|
+
limit?: number | undefined;
|
|
3124
|
+
cursor?: string | undefined;
|
|
3125
|
+
};
|
|
3126
|
+
output: {
|
|
3127
|
+
runs: {
|
|
3128
|
+
workspaceId: string;
|
|
3129
|
+
userId: string;
|
|
3130
|
+
id: string;
|
|
3131
|
+
errorMessage: string | null;
|
|
3132
|
+
startedAt: Date;
|
|
3133
|
+
threadId: string;
|
|
3134
|
+
status: "completed" | "running" | "failed";
|
|
3135
|
+
commandId: string;
|
|
3136
|
+
permissionsSnapshot: Record<string, unknown> | null;
|
|
3137
|
+
inputs: Record<string, unknown> | null;
|
|
3138
|
+
selectionContextSnapshot: unknown;
|
|
3139
|
+
outputSummary: string | null;
|
|
3140
|
+
proposedActions: unknown[] | null;
|
|
3141
|
+
approvedActions: unknown[] | null;
|
|
3142
|
+
completedAt: Date | null;
|
|
3143
|
+
}[];
|
|
3144
|
+
nextCursor: string | undefined;
|
|
3145
|
+
hasMore: boolean;
|
|
3146
|
+
};
|
|
3147
|
+
meta: object;
|
|
3148
|
+
}>;
|
|
3149
|
+
getRun: import("@trpc/server").TRPCQueryProcedure<{
|
|
3150
|
+
input: {
|
|
3151
|
+
id: string;
|
|
2672
3152
|
};
|
|
2673
3153
|
output: {
|
|
3154
|
+
workspaceId: string;
|
|
3155
|
+
userId: string;
|
|
2674
3156
|
id: string;
|
|
3157
|
+
errorMessage: string | null;
|
|
3158
|
+
startedAt: Date;
|
|
3159
|
+
threadId: string;
|
|
3160
|
+
status: "completed" | "running" | "failed";
|
|
3161
|
+
commandId: string;
|
|
3162
|
+
permissionsSnapshot: Record<string, unknown> | null;
|
|
3163
|
+
inputs: Record<string, unknown> | null;
|
|
3164
|
+
selectionContextSnapshot: unknown;
|
|
3165
|
+
outputSummary: string | null;
|
|
3166
|
+
proposedActions: unknown[] | null;
|
|
3167
|
+
approvedActions: unknown[] | null;
|
|
3168
|
+
completedAt: Date | null;
|
|
3169
|
+
};
|
|
3170
|
+
meta: object;
|
|
3171
|
+
}>;
|
|
3172
|
+
getEffectiveService: import("@trpc/server").TRPCQueryProcedure<{
|
|
3173
|
+
input: Record<string, never>;
|
|
3174
|
+
output: {
|
|
2675
3175
|
serviceId: string;
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
3176
|
+
endpoint: string;
|
|
3177
|
+
manifest: {
|
|
3178
|
+
name: string;
|
|
3179
|
+
version?: string;
|
|
3180
|
+
capabilities: string[];
|
|
3181
|
+
endpoints?: string[];
|
|
3182
|
+
authType?: string;
|
|
3183
|
+
};
|
|
3184
|
+
};
|
|
2680
3185
|
meta: object;
|
|
2681
3186
|
}>;
|
|
2682
3187
|
}>>;
|
|
@@ -2728,18 +3233,17 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2728
3233
|
entities: import("@trpc/server").TRPCQueryProcedure<{
|
|
2729
3234
|
input: {
|
|
2730
3235
|
query: string;
|
|
2731
|
-
type?: "task" | "document" | "
|
|
3236
|
+
type?: "task" | "document" | "project" | "note" | undefined;
|
|
2732
3237
|
limit?: number | undefined;
|
|
2733
3238
|
};
|
|
2734
3239
|
output: {
|
|
2735
3240
|
entities: {
|
|
2736
|
-
userId: string;
|
|
2737
3241
|
workspaceId: string;
|
|
3242
|
+
userId: string;
|
|
2738
3243
|
id: string;
|
|
2739
3244
|
updatedAt: Date;
|
|
2740
3245
|
createdAt: Date;
|
|
2741
3246
|
type: string;
|
|
2742
|
-
projectIds: string[] | null;
|
|
2743
3247
|
profileId: string | null;
|
|
2744
3248
|
title: string | null;
|
|
2745
3249
|
preview: string | null;
|
|
@@ -2754,7 +3258,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2754
3258
|
semantic: import("@trpc/server").TRPCQueryProcedure<{
|
|
2755
3259
|
input: {
|
|
2756
3260
|
query: string;
|
|
2757
|
-
type?: "task" | "document" | "
|
|
3261
|
+
type?: "task" | "document" | "project" | "note" | undefined;
|
|
2758
3262
|
limit?: number | undefined;
|
|
2759
3263
|
threshold?: number | undefined;
|
|
2760
3264
|
};
|
|
@@ -2771,13 +3275,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2771
3275
|
};
|
|
2772
3276
|
output: {
|
|
2773
3277
|
entities: {
|
|
2774
|
-
userId: string;
|
|
2775
3278
|
workspaceId: string;
|
|
3279
|
+
userId: string;
|
|
2776
3280
|
id: string;
|
|
2777
3281
|
updatedAt: Date;
|
|
2778
3282
|
createdAt: Date;
|
|
2779
3283
|
type: string;
|
|
2780
|
-
projectIds: string[] | null;
|
|
2781
3284
|
profileId: string | null;
|
|
2782
3285
|
title: string | null;
|
|
2783
3286
|
preview: string | null;
|
|
@@ -2806,21 +3309,34 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2806
3309
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
2807
3310
|
transformer: true;
|
|
2808
3311
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3312
|
+
listTypes: import("@trpc/server").TRPCQueryProcedure<{
|
|
3313
|
+
input: void;
|
|
3314
|
+
output: {
|
|
3315
|
+
types: {
|
|
3316
|
+
label: string;
|
|
3317
|
+
description: string;
|
|
3318
|
+
directionality: "unidirectional" | "bidirectional";
|
|
3319
|
+
category: "workflow" | "social" | "reference" | "hierarchy";
|
|
3320
|
+
type: string;
|
|
3321
|
+
}[];
|
|
3322
|
+
};
|
|
3323
|
+
meta: object;
|
|
3324
|
+
}>;
|
|
2809
3325
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
2810
3326
|
input: {
|
|
2811
3327
|
entityId: string;
|
|
2812
|
-
type?: "created_by" | "depends_on" | "assigned_to" | "mentions" | "links_to" | "parent_of" | "relates_to" | "tagged_with" | "attended_by" | "blocks" | undefined;
|
|
3328
|
+
type?: "created_by" | "depends_on" | "assigned_to" | "mentions" | "links_to" | "parent_of" | "relates_to" | "tagged_with" | "attended_by" | "blocks" | "belongs_to_project" | "embedded_in" | "visualized_in" | "references" | undefined;
|
|
2813
3329
|
direction?: "source" | "target" | "both" | undefined;
|
|
2814
3330
|
limit?: number | undefined;
|
|
2815
3331
|
};
|
|
2816
3332
|
output: {
|
|
2817
3333
|
relations: {
|
|
2818
|
-
userId: string;
|
|
2819
3334
|
workspaceId: string;
|
|
3335
|
+
userId: string;
|
|
2820
3336
|
id: string;
|
|
2821
3337
|
createdAt: Date;
|
|
2822
3338
|
type: string;
|
|
2823
|
-
|
|
3339
|
+
metadata: unknown;
|
|
2824
3340
|
sourceEntityId: string;
|
|
2825
3341
|
targetEntityId: string;
|
|
2826
3342
|
}[];
|
|
@@ -2830,19 +3346,18 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2830
3346
|
getRelated: import("@trpc/server").TRPCQueryProcedure<{
|
|
2831
3347
|
input: {
|
|
2832
3348
|
entityId: string;
|
|
2833
|
-
type?: "created_by" | "depends_on" | "assigned_to" | "mentions" | "links_to" | "parent_of" | "relates_to" | "tagged_with" | "attended_by" | "blocks" | undefined;
|
|
3349
|
+
type?: "created_by" | "depends_on" | "assigned_to" | "mentions" | "links_to" | "parent_of" | "relates_to" | "tagged_with" | "attended_by" | "blocks" | "belongs_to_project" | "embedded_in" | "visualized_in" | "references" | undefined;
|
|
2834
3350
|
direction?: "source" | "target" | "both" | undefined;
|
|
2835
3351
|
limit?: number | undefined;
|
|
2836
3352
|
};
|
|
2837
3353
|
output: {
|
|
2838
3354
|
entities: {
|
|
2839
|
-
userId: string;
|
|
2840
3355
|
workspaceId: string;
|
|
3356
|
+
userId: string;
|
|
2841
3357
|
id: string;
|
|
2842
3358
|
updatedAt: Date;
|
|
2843
3359
|
createdAt: Date;
|
|
2844
3360
|
type: string;
|
|
2845
|
-
projectIds: string[] | null;
|
|
2846
3361
|
profileId: string | null;
|
|
2847
3362
|
title: string | null;
|
|
2848
3363
|
preview: string | null;
|
|
@@ -2870,7 +3385,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2870
3385
|
input: {
|
|
2871
3386
|
sourceEntityId: string;
|
|
2872
3387
|
targetEntityId: string;
|
|
2873
|
-
type: "created_by" | "depends_on" | "assigned_to" | "mentions" | "links_to" | "parent_of" | "relates_to" | "tagged_with" | "attended_by" | "blocks";
|
|
3388
|
+
type: "created_by" | "depends_on" | "assigned_to" | "mentions" | "links_to" | "parent_of" | "relates_to" | "tagged_with" | "attended_by" | "blocks" | "belongs_to_project" | "embedded_in" | "visualized_in" | "references";
|
|
3389
|
+
workspaceId: string;
|
|
2874
3390
|
metadata?: Record<string, any> | undefined;
|
|
2875
3391
|
};
|
|
2876
3392
|
output: {
|
|
@@ -2906,13 +3422,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2906
3422
|
};
|
|
2907
3423
|
output: {
|
|
2908
3424
|
entity: {
|
|
2909
|
-
userId: string;
|
|
2910
3425
|
workspaceId: string;
|
|
3426
|
+
userId: string;
|
|
2911
3427
|
id: string;
|
|
2912
3428
|
updatedAt: Date;
|
|
2913
3429
|
createdAt: Date;
|
|
2914
3430
|
type: string;
|
|
2915
|
-
projectIds: string[] | null;
|
|
2916
3431
|
profileId: string | null;
|
|
2917
3432
|
title: string | null;
|
|
2918
3433
|
preview: string | null;
|
|
@@ -2926,13 +3441,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2926
3441
|
stats: null;
|
|
2927
3442
|
} | {
|
|
2928
3443
|
entity: {
|
|
2929
|
-
userId: string;
|
|
2930
3444
|
workspaceId: string;
|
|
3445
|
+
userId: string;
|
|
2931
3446
|
id: string;
|
|
2932
3447
|
updatedAt: Date;
|
|
2933
3448
|
createdAt: Date;
|
|
2934
3449
|
type: string;
|
|
2935
|
-
projectIds: string[] | null;
|
|
2936
3450
|
profileId: string | null;
|
|
2937
3451
|
title: string | null;
|
|
2938
3452
|
preview: string | null;
|
|
@@ -2942,12 +3456,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2942
3456
|
deletedAt: Date | null;
|
|
2943
3457
|
};
|
|
2944
3458
|
relations: {
|
|
2945
|
-
userId: string;
|
|
2946
3459
|
workspaceId: string;
|
|
3460
|
+
userId: string;
|
|
2947
3461
|
id: string;
|
|
2948
3462
|
createdAt: Date;
|
|
2949
3463
|
type: string;
|
|
2950
|
-
|
|
3464
|
+
metadata: unknown;
|
|
2951
3465
|
sourceEntityId: string;
|
|
2952
3466
|
targetEntityId: string;
|
|
2953
3467
|
}[];
|
|
@@ -2969,13 +3483,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2969
3483
|
};
|
|
2970
3484
|
output: {
|
|
2971
3485
|
entities: {
|
|
2972
|
-
userId: string;
|
|
2973
3486
|
workspaceId: string;
|
|
3487
|
+
userId: string;
|
|
2974
3488
|
id: string;
|
|
2975
3489
|
updatedAt: Date;
|
|
2976
3490
|
createdAt: Date;
|
|
2977
3491
|
type: string;
|
|
2978
|
-
projectIds: string[] | null;
|
|
2979
3492
|
profileId: string | null;
|
|
2980
3493
|
title: string | null;
|
|
2981
3494
|
preview: string | null;
|
|
@@ -2985,12 +3498,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2985
3498
|
deletedAt: Date | null;
|
|
2986
3499
|
}[];
|
|
2987
3500
|
relations: {
|
|
2988
|
-
userId: string;
|
|
2989
3501
|
workspaceId: string;
|
|
3502
|
+
userId: string;
|
|
2990
3503
|
id: string;
|
|
2991
3504
|
createdAt: Date;
|
|
2992
3505
|
type: string;
|
|
2993
|
-
|
|
3506
|
+
metadata: unknown;
|
|
2994
3507
|
sourceEntityId: string;
|
|
2995
3508
|
targetEntityId: string;
|
|
2996
3509
|
}[];
|
|
@@ -3098,6 +3611,17 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3098
3611
|
};
|
|
3099
3612
|
meta: object;
|
|
3100
3613
|
}>;
|
|
3614
|
+
setIntelligenceService: import("@trpc/server").TRPCMutationProcedure<{
|
|
3615
|
+
input: {
|
|
3616
|
+
workspaceId: string;
|
|
3617
|
+
serviceId: string | null;
|
|
3618
|
+
};
|
|
3619
|
+
output: {
|
|
3620
|
+
status: string;
|
|
3621
|
+
message: string;
|
|
3622
|
+
};
|
|
3623
|
+
meta: object;
|
|
3624
|
+
}>;
|
|
3101
3625
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
3102
3626
|
input: {
|
|
3103
3627
|
id: string;
|
|
@@ -3125,12 +3649,25 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3125
3649
|
workspaceId: string;
|
|
3126
3650
|
};
|
|
3127
3651
|
output: {
|
|
3128
|
-
userId: string;
|
|
3129
3652
|
workspaceId: string;
|
|
3653
|
+
userId: string;
|
|
3130
3654
|
id: string;
|
|
3131
3655
|
role: string;
|
|
3132
3656
|
joinedAt: Date;
|
|
3133
3657
|
invitedBy: string | null;
|
|
3658
|
+
user: {
|
|
3659
|
+
email: string;
|
|
3660
|
+
name: string | null;
|
|
3661
|
+
id: string;
|
|
3662
|
+
updatedAt: Date;
|
|
3663
|
+
emailVerified: boolean;
|
|
3664
|
+
avatarUrl: string | null;
|
|
3665
|
+
timezone: string;
|
|
3666
|
+
locale: string;
|
|
3667
|
+
kratosIdentityId: string;
|
|
3668
|
+
lastSyncedAt: Date | null;
|
|
3669
|
+
createdAt: Date;
|
|
3670
|
+
};
|
|
3134
3671
|
}[];
|
|
3135
3672
|
meta: object;
|
|
3136
3673
|
}>;
|
|
@@ -3149,7 +3686,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3149
3686
|
input: {
|
|
3150
3687
|
workspaceId: string;
|
|
3151
3688
|
userId: string;
|
|
3152
|
-
role: "
|
|
3689
|
+
role: "admin" | "editor" | "viewer";
|
|
3153
3690
|
};
|
|
3154
3691
|
output: {
|
|
3155
3692
|
status: string;
|
|
@@ -3161,7 +3698,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3161
3698
|
input: {
|
|
3162
3699
|
workspaceId: string;
|
|
3163
3700
|
email: string;
|
|
3164
|
-
role: "
|
|
3701
|
+
role: "admin" | "editor" | "viewer";
|
|
3165
3702
|
};
|
|
3166
3703
|
output: {
|
|
3167
3704
|
email: string;
|
|
@@ -3221,7 +3758,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3221
3758
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
3222
3759
|
input: {
|
|
3223
3760
|
name: string;
|
|
3224
|
-
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "
|
|
3761
|
+
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "grid" | "timeline" | "kanban" | "gallery" | "gantt" | "mindmap" | "bento";
|
|
3225
3762
|
workspaceId?: string | undefined;
|
|
3226
3763
|
description?: string | undefined;
|
|
3227
3764
|
scopeProfileIds?: string[] | undefined;
|
|
@@ -3235,6 +3772,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3235
3772
|
groupBy?: string | undefined;
|
|
3236
3773
|
} | undefined;
|
|
3237
3774
|
config?: Record<string, any> | undefined;
|
|
3775
|
+
embeddedViewIds?: string[] | undefined;
|
|
3776
|
+
metadata?: Record<string, any> | undefined;
|
|
3238
3777
|
initialContent?: any;
|
|
3239
3778
|
};
|
|
3240
3779
|
output: {
|
|
@@ -3242,7 +3781,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3242
3781
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
3243
3782
|
workspaceId: string | undefined;
|
|
3244
3783
|
userId: string;
|
|
3245
|
-
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "
|
|
3784
|
+
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "grid" | "timeline" | "kanban" | "gallery" | "gantt" | "mindmap" | "bento";
|
|
3246
3785
|
category: ViewCategory;
|
|
3247
3786
|
name: string;
|
|
3248
3787
|
description: string | undefined;
|
|
@@ -3262,12 +3801,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3262
3801
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3263
3802
|
input: {
|
|
3264
3803
|
workspaceId?: string | undefined;
|
|
3265
|
-
type?: "calendar" | "list" | "table" | "whiteboard" | "all" | "graph" | "
|
|
3804
|
+
type?: "calendar" | "list" | "table" | "whiteboard" | "all" | "graph" | "grid" | "timeline" | "kanban" | "gallery" | "gantt" | "mindmap" | undefined;
|
|
3266
3805
|
};
|
|
3267
3806
|
output: {
|
|
3268
3807
|
name: string;
|
|
3269
|
-
userId: string;
|
|
3270
3808
|
workspaceId: string | null;
|
|
3809
|
+
userId: string;
|
|
3271
3810
|
id: string;
|
|
3272
3811
|
query: unknown;
|
|
3273
3812
|
columns: unknown;
|
|
@@ -3275,7 +3814,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3275
3814
|
createdAt: Date;
|
|
3276
3815
|
type: string;
|
|
3277
3816
|
metadata: unknown;
|
|
3278
|
-
projectIds: string[] | null;
|
|
3279
3817
|
documentId: string | null;
|
|
3280
3818
|
description: string | null;
|
|
3281
3819
|
category: string;
|
|
@@ -3289,9 +3827,45 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3289
3827
|
thumbnailUrl: string | null;
|
|
3290
3828
|
schemaSnapshot: unknown;
|
|
3291
3829
|
snapshotUpdatedAt: Date | null;
|
|
3830
|
+
embeddedViewIds: string[] | null;
|
|
3292
3831
|
}[];
|
|
3293
3832
|
meta: object;
|
|
3294
3833
|
}>;
|
|
3834
|
+
getHome: import("@trpc/server").TRPCQueryProcedure<{
|
|
3835
|
+
input: {
|
|
3836
|
+
workspaceId: string;
|
|
3837
|
+
scope?: "workspace" | "user" | "effective" | undefined;
|
|
3838
|
+
};
|
|
3839
|
+
output: {
|
|
3840
|
+
view: {
|
|
3841
|
+
name: string;
|
|
3842
|
+
workspaceId: string | null;
|
|
3843
|
+
userId: string;
|
|
3844
|
+
id: string;
|
|
3845
|
+
query: unknown;
|
|
3846
|
+
columns: unknown;
|
|
3847
|
+
updatedAt: Date;
|
|
3848
|
+
createdAt: Date;
|
|
3849
|
+
type: string;
|
|
3850
|
+
metadata: unknown;
|
|
3851
|
+
documentId: string | null;
|
|
3852
|
+
description: string | null;
|
|
3853
|
+
category: string;
|
|
3854
|
+
scopeProfileIds: string[] | null;
|
|
3855
|
+
scopeMode: string | null;
|
|
3856
|
+
config: unknown;
|
|
3857
|
+
filter: unknown;
|
|
3858
|
+
sort: unknown;
|
|
3859
|
+
layoutConfig: unknown;
|
|
3860
|
+
yjsRoomId: string | null;
|
|
3861
|
+
thumbnailUrl: string | null;
|
|
3862
|
+
schemaSnapshot: unknown;
|
|
3863
|
+
snapshotUpdatedAt: Date | null;
|
|
3864
|
+
embeddedViewIds: string[] | null;
|
|
3865
|
+
} | null;
|
|
3866
|
+
};
|
|
3867
|
+
meta: object;
|
|
3868
|
+
}>;
|
|
3295
3869
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3296
3870
|
input: {
|
|
3297
3871
|
id: string;
|
|
@@ -3299,8 +3873,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3299
3873
|
output: {
|
|
3300
3874
|
view: {
|
|
3301
3875
|
name: string;
|
|
3302
|
-
userId: string;
|
|
3303
3876
|
workspaceId: string | null;
|
|
3877
|
+
userId: string;
|
|
3304
3878
|
id: string;
|
|
3305
3879
|
query: unknown;
|
|
3306
3880
|
columns: unknown;
|
|
@@ -3308,7 +3882,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3308
3882
|
createdAt: Date;
|
|
3309
3883
|
type: string;
|
|
3310
3884
|
metadata: unknown;
|
|
3311
|
-
projectIds: string[] | null;
|
|
3312
3885
|
documentId: string | null;
|
|
3313
3886
|
description: string | null;
|
|
3314
3887
|
category: string;
|
|
@@ -3322,6 +3895,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3322
3895
|
thumbnailUrl: string | null;
|
|
3323
3896
|
schemaSnapshot: unknown;
|
|
3324
3897
|
snapshotUpdatedAt: Date | null;
|
|
3898
|
+
embeddedViewIds: string[] | null;
|
|
3325
3899
|
};
|
|
3326
3900
|
content: {};
|
|
3327
3901
|
};
|
|
@@ -3334,8 +3908,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3334
3908
|
output: {
|
|
3335
3909
|
view: {
|
|
3336
3910
|
name: string;
|
|
3337
|
-
userId: string;
|
|
3338
3911
|
workspaceId: string | null;
|
|
3912
|
+
userId: string;
|
|
3339
3913
|
id: string;
|
|
3340
3914
|
query: unknown;
|
|
3341
3915
|
columns: unknown;
|
|
@@ -3343,7 +3917,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3343
3917
|
createdAt: Date;
|
|
3344
3918
|
type: string;
|
|
3345
3919
|
metadata: unknown;
|
|
3346
|
-
projectIds: string[] | null;
|
|
3347
3920
|
documentId: string | null;
|
|
3348
3921
|
description: string | null;
|
|
3349
3922
|
category: string;
|
|
@@ -3357,6 +3930,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3357
3930
|
thumbnailUrl: string | null;
|
|
3358
3931
|
schemaSnapshot: unknown;
|
|
3359
3932
|
snapshotUpdatedAt: Date | null;
|
|
3933
|
+
embeddedViewIds: string[] | null;
|
|
3360
3934
|
};
|
|
3361
3935
|
content: {};
|
|
3362
3936
|
entities: never[];
|
|
@@ -3367,8 +3941,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3367
3941
|
} | {
|
|
3368
3942
|
view: {
|
|
3369
3943
|
name: string;
|
|
3370
|
-
userId: string;
|
|
3371
3944
|
workspaceId: string | null;
|
|
3945
|
+
userId: string;
|
|
3372
3946
|
id: string;
|
|
3373
3947
|
query: unknown;
|
|
3374
3948
|
columns: unknown;
|
|
@@ -3376,7 +3950,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3376
3950
|
createdAt: Date;
|
|
3377
3951
|
type: string;
|
|
3378
3952
|
metadata: unknown;
|
|
3379
|
-
projectIds: string[] | null;
|
|
3380
3953
|
documentId: string | null;
|
|
3381
3954
|
description: string | null;
|
|
3382
3955
|
category: string;
|
|
@@ -3390,6 +3963,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3390
3963
|
thumbnailUrl: string | null;
|
|
3391
3964
|
schemaSnapshot: unknown;
|
|
3392
3965
|
snapshotUpdatedAt: Date | null;
|
|
3966
|
+
embeddedViewIds: string[] | null;
|
|
3393
3967
|
};
|
|
3394
3968
|
query: EntityQuery;
|
|
3395
3969
|
config: {};
|
|
@@ -3397,7 +3971,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3397
3971
|
id: string;
|
|
3398
3972
|
userId: string;
|
|
3399
3973
|
workspaceId: string;
|
|
3400
|
-
projectIds: string[] | null;
|
|
3401
3974
|
profileId: string | null;
|
|
3402
3975
|
type: string;
|
|
3403
3976
|
title: string | null;
|
|
@@ -3413,10 +3986,10 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3413
3986
|
id: string;
|
|
3414
3987
|
userId: string;
|
|
3415
3988
|
workspaceId: string;
|
|
3416
|
-
projectIds: string[] | null;
|
|
3417
3989
|
sourceEntityId: string;
|
|
3418
3990
|
targetEntityId: string;
|
|
3419
3991
|
type: string;
|
|
3992
|
+
metadata: unknown;
|
|
3420
3993
|
createdAt: Date;
|
|
3421
3994
|
}[];
|
|
3422
3995
|
columns: ViewColumn[];
|
|
@@ -3440,6 +4013,21 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3440
4013
|
id: string;
|
|
3441
4014
|
name?: string | undefined;
|
|
3442
4015
|
description?: string | undefined;
|
|
4016
|
+
scopeProfileIds?: string[] | undefined;
|
|
4017
|
+
scopeMode?: "explicit" | "observed" | undefined;
|
|
4018
|
+
query?: {
|
|
4019
|
+
filters?: any[] | undefined;
|
|
4020
|
+
sorts?: any[] | undefined;
|
|
4021
|
+
search?: string | undefined;
|
|
4022
|
+
limit?: number | undefined;
|
|
4023
|
+
offset?: number | undefined;
|
|
4024
|
+
groupBy?: string | undefined;
|
|
4025
|
+
} | undefined;
|
|
4026
|
+
config?: Record<string, any> | undefined;
|
|
4027
|
+
embeddedViewIds?: string[] | undefined;
|
|
4028
|
+
schemaSnapshot?: Record<string, any> | undefined;
|
|
4029
|
+
snapshotUpdatedAt?: Date | undefined;
|
|
4030
|
+
type?: "calendar" | "list" | "table" | "whiteboard" | "graph" | "grid" | "timeline" | "kanban" | "gallery" | "gantt" | "mindmap" | "bento" | undefined;
|
|
3443
4031
|
};
|
|
3444
4032
|
output: {
|
|
3445
4033
|
status: string;
|
|
@@ -3530,7 +4118,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3530
4118
|
compactMode?: boolean | undefined;
|
|
3531
4119
|
fontSize?: string | undefined;
|
|
3532
4120
|
animations?: boolean | undefined;
|
|
3533
|
-
defaultView?: "list" | "
|
|
4121
|
+
defaultView?: "list" | "grid" | "timeline" | undefined;
|
|
4122
|
+
entityOpenMode?: "floating" | "side" | "modal" | undefined;
|
|
3534
4123
|
} | undefined;
|
|
3535
4124
|
graphPreferences?: {
|
|
3536
4125
|
forceSettings?: {
|
|
@@ -3734,9 +4323,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3734
4323
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3735
4324
|
createPublicLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
3736
4325
|
input: {
|
|
3737
|
-
resourceType: "entity" | "
|
|
4326
|
+
resourceType: "entity" | "view" | "document";
|
|
3738
4327
|
resourceId: string;
|
|
3739
4328
|
expiresInDays?: number | undefined;
|
|
4329
|
+
access?: "workspace_only" | "anyone_with_link" | undefined;
|
|
4330
|
+
password?: string | undefined;
|
|
3740
4331
|
};
|
|
3741
4332
|
output: {
|
|
3742
4333
|
status: string;
|
|
@@ -3747,7 +4338,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3747
4338
|
}>;
|
|
3748
4339
|
invite: import("@trpc/server").TRPCMutationProcedure<{
|
|
3749
4340
|
input: {
|
|
3750
|
-
resourceType: "entity" | "
|
|
4341
|
+
resourceType: "entity" | "view" | "document";
|
|
3751
4342
|
resourceId: string;
|
|
3752
4343
|
userEmail: string;
|
|
3753
4344
|
};
|
|
@@ -3769,16 +4360,16 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3769
4360
|
getPublic: import("@trpc/server").TRPCQueryProcedure<{
|
|
3770
4361
|
input: {
|
|
3771
4362
|
token: string;
|
|
4363
|
+
password?: string | undefined;
|
|
3772
4364
|
};
|
|
3773
4365
|
output: {
|
|
3774
4366
|
resource: {
|
|
3775
|
-
userId: string;
|
|
3776
4367
|
workspaceId: string;
|
|
4368
|
+
userId: string;
|
|
3777
4369
|
id: string;
|
|
3778
4370
|
updatedAt: Date;
|
|
3779
4371
|
createdAt: Date;
|
|
3780
4372
|
type: string;
|
|
3781
|
-
projectIds: string[] | null;
|
|
3782
4373
|
profileId: string | null;
|
|
3783
4374
|
title: string | null;
|
|
3784
4375
|
preview: string | null;
|
|
@@ -3788,8 +4379,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3788
4379
|
deletedAt: Date | null;
|
|
3789
4380
|
} | {
|
|
3790
4381
|
name: string;
|
|
3791
|
-
userId: string;
|
|
3792
4382
|
workspaceId: string | null;
|
|
4383
|
+
userId: string;
|
|
3793
4384
|
id: string;
|
|
3794
4385
|
query: unknown;
|
|
3795
4386
|
columns: unknown;
|
|
@@ -3797,7 +4388,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3797
4388
|
createdAt: Date;
|
|
3798
4389
|
type: string;
|
|
3799
4390
|
metadata: unknown;
|
|
3800
|
-
projectIds: string[] | null;
|
|
3801
4391
|
documentId: string | null;
|
|
3802
4392
|
description: string | null;
|
|
3803
4393
|
category: string;
|
|
@@ -3811,15 +4401,45 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3811
4401
|
thumbnailUrl: string | null;
|
|
3812
4402
|
schemaSnapshot: unknown;
|
|
3813
4403
|
snapshotUpdatedAt: Date | null;
|
|
4404
|
+
embeddedViewIds: string[] | null;
|
|
3814
4405
|
document: never;
|
|
3815
4406
|
};
|
|
4407
|
+
resourceType: string;
|
|
3816
4408
|
permissions: unknown;
|
|
3817
4409
|
};
|
|
3818
4410
|
meta: object;
|
|
3819
4411
|
}>;
|
|
4412
|
+
listByWorkspace: import("@trpc/server").TRPCQueryProcedure<{
|
|
4413
|
+
input: {
|
|
4414
|
+
workspaceId: string;
|
|
4415
|
+
};
|
|
4416
|
+
output: {
|
|
4417
|
+
shares: {
|
|
4418
|
+
id: string;
|
|
4419
|
+
updatedAt: Date;
|
|
4420
|
+
createdAt: Date;
|
|
4421
|
+
expiresAt: Date | null;
|
|
4422
|
+
createdBy: string;
|
|
4423
|
+
revokedAt: Date | null;
|
|
4424
|
+
permissions: unknown;
|
|
4425
|
+
resourceType: string;
|
|
4426
|
+
resourceId: string;
|
|
4427
|
+
visibility: string;
|
|
4428
|
+
publicToken: string | null;
|
|
4429
|
+
tokenHash: string | null;
|
|
4430
|
+
passwordHash: string | null;
|
|
4431
|
+
access: string | null;
|
|
4432
|
+
invitedUsers: string[] | null;
|
|
4433
|
+
viewCount: number | null;
|
|
4434
|
+
lastAccessedAt: Date | null;
|
|
4435
|
+
}[];
|
|
4436
|
+
resourceLabels: Record<string, string>;
|
|
4437
|
+
};
|
|
4438
|
+
meta: object;
|
|
4439
|
+
}>;
|
|
3820
4440
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3821
4441
|
input: {
|
|
3822
|
-
resourceType: "entity" | "
|
|
4442
|
+
resourceType: "entity" | "view" | "document";
|
|
3823
4443
|
resourceId: string;
|
|
3824
4444
|
visibility?: "public" | "private" | undefined;
|
|
3825
4445
|
expiresAt?: Date | undefined;
|
|
@@ -3830,11 +4450,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3830
4450
|
createdAt: Date;
|
|
3831
4451
|
expiresAt: Date | null;
|
|
3832
4452
|
createdBy: string;
|
|
4453
|
+
revokedAt: Date | null;
|
|
3833
4454
|
permissions: unknown;
|
|
3834
4455
|
resourceType: string;
|
|
3835
4456
|
resourceId: string;
|
|
3836
4457
|
visibility: string;
|
|
3837
4458
|
publicToken: string | null;
|
|
4459
|
+
tokenHash: string | null;
|
|
4460
|
+
passwordHash: string | null;
|
|
4461
|
+
access: string | null;
|
|
3838
4462
|
invitedUsers: string[] | null;
|
|
3839
4463
|
viewCount: number | null;
|
|
3840
4464
|
lastAccessedAt: Date | null;
|
|
@@ -3850,6 +4474,27 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3850
4474
|
};
|
|
3851
4475
|
meta: object;
|
|
3852
4476
|
}>;
|
|
4477
|
+
extendShareLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
4478
|
+
input: {
|
|
4479
|
+
shareId: string;
|
|
4480
|
+
expiresInDays: number;
|
|
4481
|
+
};
|
|
4482
|
+
output: {
|
|
4483
|
+
status: string;
|
|
4484
|
+
expiresAt: Date;
|
|
4485
|
+
};
|
|
4486
|
+
meta: object;
|
|
4487
|
+
}>;
|
|
4488
|
+
rotateShareLinkToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
4489
|
+
input: {
|
|
4490
|
+
shareId: string;
|
|
4491
|
+
};
|
|
4492
|
+
output: {
|
|
4493
|
+
status: string;
|
|
4494
|
+
url: string;
|
|
4495
|
+
};
|
|
4496
|
+
meta: object;
|
|
4497
|
+
}>;
|
|
3853
4498
|
}>>;
|
|
3854
4499
|
templates: import("@trpc/server").TRPCBuiltRouter<{
|
|
3855
4500
|
ctx: Context;
|
|
@@ -3859,7 +4504,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3859
4504
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3860
4505
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3861
4506
|
input: {
|
|
3862
|
-
targetType?: "entity" | "
|
|
4507
|
+
targetType?: "entity" | "inbox_item" | "document" | "project" | undefined;
|
|
3863
4508
|
entityType?: string | undefined;
|
|
3864
4509
|
inboxItemType?: string | undefined;
|
|
3865
4510
|
workspaceId?: string | undefined;
|
|
@@ -3871,7 +4516,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3871
4516
|
description: string | null;
|
|
3872
4517
|
userId: string | null;
|
|
3873
4518
|
workspaceId: string | null;
|
|
3874
|
-
projectIds: string[] | null;
|
|
3875
4519
|
targetType: string;
|
|
3876
4520
|
entityType: string | null;
|
|
3877
4521
|
inboxItemType: string | null;
|
|
@@ -3887,7 +4531,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3887
4531
|
}>;
|
|
3888
4532
|
getDefault: import("@trpc/server").TRPCQueryProcedure<{
|
|
3889
4533
|
input: {
|
|
3890
|
-
targetType: "entity" | "
|
|
4534
|
+
targetType: "entity" | "inbox_item" | "document" | "project";
|
|
3891
4535
|
entityType?: string | undefined;
|
|
3892
4536
|
inboxItemType?: string | undefined;
|
|
3893
4537
|
workspaceId?: string | undefined;
|
|
@@ -3898,7 +4542,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3898
4542
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
3899
4543
|
input: {
|
|
3900
4544
|
name: string;
|
|
3901
|
-
targetType: "entity" | "
|
|
4545
|
+
targetType: "entity" | "inbox_item" | "document" | "project";
|
|
3902
4546
|
config: {
|
|
3903
4547
|
layout?: {
|
|
3904
4548
|
structure: {
|
|
@@ -4132,12 +4776,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4132
4776
|
};
|
|
4133
4777
|
output: {
|
|
4134
4778
|
name: string;
|
|
4135
|
-
userId: string | null;
|
|
4136
4779
|
workspaceId: string | null;
|
|
4780
|
+
userId: string | null;
|
|
4137
4781
|
id: string;
|
|
4138
4782
|
updatedAt: Date;
|
|
4139
4783
|
createdAt: Date;
|
|
4140
|
-
projectIds: string[] | null;
|
|
4141
4784
|
version: number;
|
|
4142
4785
|
entityType: string | null;
|
|
4143
4786
|
description: string | null;
|
|
@@ -4193,6 +4836,10 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4193
4836
|
authorId: string;
|
|
4194
4837
|
message: string | null;
|
|
4195
4838
|
}[];
|
|
4839
|
+
latest: {
|
|
4840
|
+
currentVersion: number;
|
|
4841
|
+
lastSavedVersion: number;
|
|
4842
|
+
};
|
|
4196
4843
|
};
|
|
4197
4844
|
meta: object;
|
|
4198
4845
|
}>;
|
|
@@ -4406,8 +5053,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4406
5053
|
metadata?: Record<string, unknown> | undefined;
|
|
4407
5054
|
};
|
|
4408
5055
|
output: {
|
|
4409
|
-
userId: string;
|
|
4410
5056
|
workspaceId: string;
|
|
5057
|
+
userId: string;
|
|
4411
5058
|
id: string;
|
|
4412
5059
|
createdAt: Date;
|
|
4413
5060
|
metadata: unknown;
|
|
@@ -4433,8 +5080,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4433
5080
|
messageId: string;
|
|
4434
5081
|
};
|
|
4435
5082
|
output: {
|
|
4436
|
-
userId: string;
|
|
4437
5083
|
workspaceId: string;
|
|
5084
|
+
userId: string;
|
|
4438
5085
|
id: string;
|
|
4439
5086
|
createdAt: Date;
|
|
4440
5087
|
metadata: unknown;
|
|
@@ -4452,8 +5099,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4452
5099
|
targetId: string;
|
|
4453
5100
|
};
|
|
4454
5101
|
output: {
|
|
4455
|
-
userId: string;
|
|
4456
5102
|
workspaceId: string;
|
|
5103
|
+
userId: string;
|
|
4457
5104
|
id: string;
|
|
4458
5105
|
createdAt: Date;
|
|
4459
5106
|
metadata: unknown;
|
|
@@ -4470,8 +5117,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4470
5117
|
proposalId: string;
|
|
4471
5118
|
};
|
|
4472
5119
|
output: {
|
|
4473
|
-
userId: string;
|
|
4474
5120
|
workspaceId: string;
|
|
5121
|
+
userId: string;
|
|
4475
5122
|
id: string;
|
|
4476
5123
|
createdAt: Date;
|
|
4477
5124
|
metadata: unknown;
|
|
@@ -4491,8 +5138,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4491
5138
|
relationshipType?: MessageLinkRelationshipType | undefined;
|
|
4492
5139
|
};
|
|
4493
5140
|
output: {
|
|
4494
|
-
userId: string;
|
|
4495
5141
|
workspaceId: string;
|
|
5142
|
+
userId: string;
|
|
4496
5143
|
id: string;
|
|
4497
5144
|
createdAt: Date;
|
|
4498
5145
|
metadata: unknown;
|
|
@@ -4504,6 +5151,20 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4504
5151
|
}[];
|
|
4505
5152
|
meta: object;
|
|
4506
5153
|
}>;
|
|
5154
|
+
listLinkedMessages: import("@trpc/server").TRPCQueryProcedure<{
|
|
5155
|
+
input: {
|
|
5156
|
+
targetType: MessageLinkTargetType;
|
|
5157
|
+
targetId: string;
|
|
5158
|
+
limit?: number | undefined;
|
|
5159
|
+
cursor?: string | undefined;
|
|
5160
|
+
};
|
|
5161
|
+
output: {
|
|
5162
|
+
items: LinkedMessageItem[];
|
|
5163
|
+
nextCursor: string | undefined;
|
|
5164
|
+
hasMore: boolean;
|
|
5165
|
+
};
|
|
5166
|
+
meta: object;
|
|
5167
|
+
}>;
|
|
4507
5168
|
}>>;
|
|
4508
5169
|
profiles: import("@trpc/server").TRPCBuiltRouter<{
|
|
4509
5170
|
ctx: Context;
|
|
@@ -4515,8 +5176,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4515
5176
|
input: void;
|
|
4516
5177
|
output: {
|
|
4517
5178
|
profiles: {
|
|
4518
|
-
userId: string | null;
|
|
4519
5179
|
workspaceId: string | null;
|
|
5180
|
+
userId: string | null;
|
|
4520
5181
|
id: string;
|
|
4521
5182
|
updatedAt: Date;
|
|
4522
5183
|
createdAt: Date;
|
|
@@ -4537,8 +5198,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4537
5198
|
};
|
|
4538
5199
|
output: {
|
|
4539
5200
|
profile: {
|
|
4540
|
-
userId: string | null;
|
|
4541
5201
|
workspaceId: string | null;
|
|
5202
|
+
userId: string | null;
|
|
4542
5203
|
id: string;
|
|
4543
5204
|
updatedAt: Date;
|
|
4544
5205
|
createdAt: Date;
|
|
@@ -4560,12 +5221,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4560
5221
|
displayName: string;
|
|
4561
5222
|
parentProfileId?: string | undefined;
|
|
4562
5223
|
uiHints?: Record<string, unknown> | undefined;
|
|
4563
|
-
scope?: "
|
|
5224
|
+
scope?: "workspace" | "user" | "system" | undefined;
|
|
4564
5225
|
};
|
|
4565
5226
|
output: {
|
|
4566
5227
|
profile: {
|
|
4567
|
-
userId: string | null;
|
|
4568
5228
|
workspaceId: string | null;
|
|
5229
|
+
userId: string | null;
|
|
4569
5230
|
id: string;
|
|
4570
5231
|
updatedAt: Date;
|
|
4571
5232
|
createdAt: Date;
|
|
@@ -4589,8 +5250,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4589
5250
|
};
|
|
4590
5251
|
output: {
|
|
4591
5252
|
profile: {
|
|
4592
|
-
userId: string | null;
|
|
4593
5253
|
workspaceId: string | null;
|
|
5254
|
+
userId: string | null;
|
|
4594
5255
|
id: string;
|
|
4595
5256
|
updatedAt: Date;
|
|
4596
5257
|
createdAt: Date;
|
|
@@ -4629,8 +5290,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4629
5290
|
};
|
|
4630
5291
|
output: {
|
|
4631
5292
|
hierarchy: {
|
|
4632
|
-
userId: string | null;
|
|
4633
5293
|
workspaceId: string | null;
|
|
5294
|
+
userId: string | null;
|
|
4634
5295
|
id: string;
|
|
4635
5296
|
updatedAt: Date;
|
|
4636
5297
|
createdAt: Date;
|