@synap-core/api-types 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated.d.ts +959 -146
- package/package.json +1 -1
- package/src/generated.d.ts +959 -146
package/dist/generated.d.ts
CHANGED
|
@@ -57,6 +57,20 @@ export interface Context {
|
|
|
57
57
|
workspaceId?: string | null;
|
|
58
58
|
workspaceRole?: string | null;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Users Table - Cache for Kratos Identity Data
|
|
62
|
+
*
|
|
63
|
+
* Purpose: Store Kratos identity data in Synap DB for performance
|
|
64
|
+
* - Allows JOINs without calling Kratos API
|
|
65
|
+
* - Can add Synap-specific fields (avatar, timezone)
|
|
66
|
+
* - Kratos remains source of truth for authentication
|
|
67
|
+
*/
|
|
68
|
+
export interface AgentMetadata {
|
|
69
|
+
agentType: string;
|
|
70
|
+
description?: string;
|
|
71
|
+
createdByUserId: string;
|
|
72
|
+
capabilities?: string[];
|
|
73
|
+
}
|
|
60
74
|
declare enum ChatThreadType {
|
|
61
75
|
MAIN = "main",
|
|
62
76
|
BRANCH = "branch"
|
|
@@ -73,7 +87,9 @@ declare enum ChatThreadAgentType {
|
|
|
73
87
|
KNOWLEDGE_SEARCH = "knowledge-search",
|
|
74
88
|
CODE = "code",
|
|
75
89
|
WRITING = "writing",
|
|
76
|
-
ACTION = "action"
|
|
90
|
+
ACTION = "action",
|
|
91
|
+
ONBOARDING = "onboarding",
|
|
92
|
+
WORKSPACE_CREATION = "workspace-creation"
|
|
77
93
|
}
|
|
78
94
|
declare const chatThreads: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
79
95
|
name: "chat_threads";
|
|
@@ -116,6 +132,23 @@ declare const chatThreads: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
116
132
|
identity: undefined;
|
|
117
133
|
generated: undefined;
|
|
118
134
|
}, {}, {}>;
|
|
135
|
+
workspaceId: import("drizzle-orm/pg-core").PgColumn<{
|
|
136
|
+
name: "workspace_id";
|
|
137
|
+
tableName: "chat_threads";
|
|
138
|
+
dataType: "string";
|
|
139
|
+
columnType: "PgUUID";
|
|
140
|
+
data: string;
|
|
141
|
+
driverParam: string;
|
|
142
|
+
notNull: false;
|
|
143
|
+
hasDefault: false;
|
|
144
|
+
isPrimaryKey: false;
|
|
145
|
+
isAutoincrement: false;
|
|
146
|
+
hasRuntimeDefault: false;
|
|
147
|
+
enumValues: undefined;
|
|
148
|
+
baseColumn: never;
|
|
149
|
+
identity: undefined;
|
|
150
|
+
generated: undefined;
|
|
151
|
+
}, {}, {}>;
|
|
119
152
|
title: import("drizzle-orm/pg-core").PgColumn<{
|
|
120
153
|
name: "title";
|
|
121
154
|
tableName: "chat_threads";
|
|
@@ -270,7 +303,9 @@ declare const chatThreads: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
270
303
|
ChatThreadAgentType.KNOWLEDGE_SEARCH,
|
|
271
304
|
ChatThreadAgentType.CODE,
|
|
272
305
|
ChatThreadAgentType.WRITING,
|
|
273
|
-
ChatThreadAgentType.ACTION
|
|
306
|
+
ChatThreadAgentType.ACTION,
|
|
307
|
+
ChatThreadAgentType.ONBOARDING,
|
|
308
|
+
ChatThreadAgentType.WORKSPACE_CREATION
|
|
274
309
|
];
|
|
275
310
|
baseColumn: never;
|
|
276
311
|
identity: undefined;
|
|
@@ -409,6 +444,18 @@ declare enum ThreadDocumentConflictStatus {
|
|
|
409
444
|
PENDING = "pending",
|
|
410
445
|
RESOLVED = "resolved"
|
|
411
446
|
}
|
|
447
|
+
export interface DerivedInput {
|
|
448
|
+
name: string;
|
|
449
|
+
label?: string;
|
|
450
|
+
type?: string;
|
|
451
|
+
options?: string[];
|
|
452
|
+
default?: string;
|
|
453
|
+
}
|
|
454
|
+
export interface InputOverride {
|
|
455
|
+
label?: string;
|
|
456
|
+
default?: string;
|
|
457
|
+
options?: string[];
|
|
458
|
+
}
|
|
412
459
|
/**
|
|
413
460
|
* Workspaces Schema - Multi-user workspace support
|
|
414
461
|
*
|
|
@@ -417,11 +464,18 @@ declare enum ThreadDocumentConflictStatus {
|
|
|
417
464
|
* - Team (multiple users with roles)
|
|
418
465
|
* - Enterprise (advanced features)
|
|
419
466
|
*/
|
|
467
|
+
export interface WorkspaceLayoutConfig {
|
|
468
|
+
pinnedApps?: string[];
|
|
469
|
+
sidebarApps?: string[];
|
|
470
|
+
defaultView?: string;
|
|
471
|
+
theme?: string;
|
|
472
|
+
}
|
|
420
473
|
export interface WorkspaceSettings {
|
|
421
474
|
defaultEntityTypes?: string[];
|
|
422
475
|
theme?: string;
|
|
423
476
|
aiEnabled?: boolean;
|
|
424
477
|
allowExternalSharing?: boolean;
|
|
478
|
+
layout?: WorkspaceLayoutConfig;
|
|
425
479
|
mainWhiteboardId?: string;
|
|
426
480
|
intelligenceServiceId?: string;
|
|
427
481
|
intelligenceServiceOverrides?: {
|
|
@@ -445,11 +499,25 @@ export interface WorkspaceSettings {
|
|
|
445
499
|
};
|
|
446
500
|
};
|
|
447
501
|
};
|
|
502
|
+
/** Name of the template used to seed this workspace. When set, workspace-init skips default views. */
|
|
503
|
+
templateName?: string;
|
|
504
|
+
/** Slug of the control plane package used to create this workspace. */
|
|
505
|
+
packageSlug?: string;
|
|
506
|
+
/** Version of the package at time of creation. */
|
|
507
|
+
packageVersion?: string;
|
|
508
|
+
/** Who/what created this workspace: user, control-plane provisioning, or plugin seed */
|
|
509
|
+
createdBy?: "user" | "provisioning" | "plugin";
|
|
510
|
+
/** ISO timestamp when provisioning created this workspace */
|
|
511
|
+
provisionedAt?: string;
|
|
512
|
+
/** Current provisioning status */
|
|
513
|
+
provisioningStatus?: "pending" | "active" | "failed";
|
|
448
514
|
aiGovernance?: {
|
|
449
515
|
autoApprove?: boolean;
|
|
450
516
|
requireReviewFor?: string[];
|
|
451
517
|
maxAgentsPerUser?: number;
|
|
452
518
|
allowAgentCreation?: boolean;
|
|
519
|
+
/** Who can approve AI proposals. Default: "owner_and_admins" */
|
|
520
|
+
proposalApprovalPolicy?: "owner_and_admins" | "any_editor" | "admins_only";
|
|
453
521
|
};
|
|
454
522
|
}
|
|
455
523
|
declare enum ProposalStatus {
|
|
@@ -651,7 +719,8 @@ declare enum PropertyValueType {
|
|
|
651
719
|
DATE = "date",
|
|
652
720
|
ENTITY_ID = "entity_id",
|
|
653
721
|
ARRAY = "array",
|
|
654
|
-
OBJECT = "object"
|
|
722
|
+
OBJECT = "object",
|
|
723
|
+
SECRET = "secret"
|
|
655
724
|
}
|
|
656
725
|
declare const propertyDefs: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
657
726
|
name: "property_defs";
|
|
@@ -713,7 +782,8 @@ declare const propertyDefs: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
713
782
|
PropertyValueType.DATE,
|
|
714
783
|
PropertyValueType.ENTITY_ID,
|
|
715
784
|
PropertyValueType.ARRAY,
|
|
716
|
-
PropertyValueType.OBJECT
|
|
785
|
+
PropertyValueType.OBJECT,
|
|
786
|
+
PropertyValueType.SECRET
|
|
717
787
|
];
|
|
718
788
|
baseColumn: never;
|
|
719
789
|
identity: undefined;
|
|
@@ -899,19 +969,6 @@ export interface EntityQuery {
|
|
|
899
969
|
/** Group by field (for kanban, timeline) */
|
|
900
970
|
groupBy?: string;
|
|
901
971
|
}
|
|
902
|
-
/**
|
|
903
|
-
* View Content Types
|
|
904
|
-
*
|
|
905
|
-
* Defines the discriminated union for view content based on category.
|
|
906
|
-
* Categories determine the structure and purpose of view content.
|
|
907
|
-
*/
|
|
908
|
-
/**
|
|
909
|
-
* View category determines content structure and rendering approach
|
|
910
|
-
* - structured: Query-based views with interchangeable layouts (table, kanban, graph, etc.)
|
|
911
|
-
* - canvas: Freeform drawing views (whiteboard, mindmap)
|
|
912
|
-
* - composite: Views that compose other views (bento grid, dashboard)
|
|
913
|
-
*/
|
|
914
|
-
export type ViewCategory = "structured" | "canvas" | "composite";
|
|
915
972
|
declare enum AgentType {
|
|
916
973
|
DEFAULT = "default",
|
|
917
974
|
META = "meta",
|
|
@@ -1189,16 +1246,77 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1189
1246
|
description?: string | undefined;
|
|
1190
1247
|
properties?: Record<string, unknown> | undefined;
|
|
1191
1248
|
documentId?: string | undefined;
|
|
1249
|
+
content?: string | undefined;
|
|
1250
|
+
global?: boolean | undefined;
|
|
1251
|
+
source?: "user" | "system" | "intelligence" | "ai" | undefined;
|
|
1252
|
+
reasoning?: string | undefined;
|
|
1253
|
+
agentUserId?: string | undefined;
|
|
1192
1254
|
};
|
|
1193
1255
|
output: {
|
|
1194
1256
|
status: string;
|
|
1195
1257
|
message: string;
|
|
1196
|
-
id: string
|
|
1258
|
+
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
1197
1259
|
entity: any;
|
|
1260
|
+
proposalId: string;
|
|
1261
|
+
} | {
|
|
1262
|
+
status: string;
|
|
1263
|
+
message: string;
|
|
1264
|
+
id: any;
|
|
1265
|
+
entity: {
|
|
1266
|
+
id: string;
|
|
1267
|
+
userId: string;
|
|
1268
|
+
workspaceId: string | null;
|
|
1269
|
+
type: string;
|
|
1270
|
+
profileId: string | null;
|
|
1271
|
+
title: string | null;
|
|
1272
|
+
preview: string | null;
|
|
1273
|
+
documentId: string | null;
|
|
1274
|
+
properties: Record<string, unknown>;
|
|
1275
|
+
fileUrl: string | null;
|
|
1276
|
+
filePath: string | null;
|
|
1277
|
+
fileSize: number | null;
|
|
1278
|
+
fileType: string | null;
|
|
1279
|
+
checksum: string | null;
|
|
1280
|
+
version: number;
|
|
1281
|
+
createdAt: Date;
|
|
1282
|
+
updatedAt: Date;
|
|
1283
|
+
deletedAt: Date | null;
|
|
1284
|
+
};
|
|
1285
|
+
proposalId?: undefined;
|
|
1198
1286
|
};
|
|
1199
1287
|
meta: object;
|
|
1200
1288
|
}>;
|
|
1201
1289
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
1290
|
+
input: {
|
|
1291
|
+
profileSlug?: string | undefined;
|
|
1292
|
+
limit?: number | undefined;
|
|
1293
|
+
globalOnly?: boolean | undefined;
|
|
1294
|
+
};
|
|
1295
|
+
output: {
|
|
1296
|
+
entities: {
|
|
1297
|
+
id: string;
|
|
1298
|
+
userId: string;
|
|
1299
|
+
workspaceId: string | null;
|
|
1300
|
+
type: string;
|
|
1301
|
+
profileId: string | null;
|
|
1302
|
+
title: string | null;
|
|
1303
|
+
preview: string | null;
|
|
1304
|
+
documentId: string | null;
|
|
1305
|
+
properties: Record<string, unknown>;
|
|
1306
|
+
fileUrl: string | null;
|
|
1307
|
+
filePath: string | null;
|
|
1308
|
+
fileSize: number | null;
|
|
1309
|
+
fileType: string | null;
|
|
1310
|
+
checksum: string | null;
|
|
1311
|
+
version: number;
|
|
1312
|
+
createdAt: Date;
|
|
1313
|
+
updatedAt: Date;
|
|
1314
|
+
deletedAt: Date | null;
|
|
1315
|
+
}[];
|
|
1316
|
+
};
|
|
1317
|
+
meta: object;
|
|
1318
|
+
}>;
|
|
1319
|
+
listGlobal: import("@trpc/server").TRPCQueryProcedure<{
|
|
1202
1320
|
input: {
|
|
1203
1321
|
profileSlug?: string | undefined;
|
|
1204
1322
|
limit?: number | undefined;
|
|
@@ -1269,9 +1387,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1269
1387
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
1270
1388
|
input: {
|
|
1271
1389
|
id: string;
|
|
1390
|
+
includeProfile?: boolean | undefined;
|
|
1272
1391
|
};
|
|
1273
1392
|
output: {
|
|
1274
1393
|
entity: any;
|
|
1394
|
+
profile?: any;
|
|
1395
|
+
effectiveProperties?: any[] | undefined;
|
|
1275
1396
|
};
|
|
1276
1397
|
meta: object;
|
|
1277
1398
|
}>;
|
|
@@ -1280,21 +1401,38 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1280
1401
|
id: string;
|
|
1281
1402
|
title?: string | undefined;
|
|
1282
1403
|
description?: string | undefined;
|
|
1404
|
+
documentId?: string | null | undefined;
|
|
1283
1405
|
properties?: Record<string, unknown> | undefined;
|
|
1406
|
+
source?: "user" | "system" | "intelligence" | "ai" | undefined;
|
|
1407
|
+
reasoning?: string | undefined;
|
|
1408
|
+
agentUserId?: string | undefined;
|
|
1284
1409
|
};
|
|
1285
1410
|
output: {
|
|
1286
1411
|
status: string;
|
|
1287
1412
|
message: string;
|
|
1413
|
+
proposalId: string;
|
|
1414
|
+
} | {
|
|
1415
|
+
status: string;
|
|
1416
|
+
message: string;
|
|
1417
|
+
proposalId?: undefined;
|
|
1288
1418
|
};
|
|
1289
1419
|
meta: object;
|
|
1290
1420
|
}>;
|
|
1291
1421
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
1292
1422
|
input: {
|
|
1293
1423
|
id: string;
|
|
1424
|
+
source?: "user" | "system" | "intelligence" | "ai" | undefined;
|
|
1425
|
+
reasoning?: string | undefined;
|
|
1426
|
+
agentUserId?: string | undefined;
|
|
1294
1427
|
};
|
|
1295
1428
|
output: {
|
|
1296
1429
|
status: string;
|
|
1297
1430
|
message: string;
|
|
1431
|
+
proposalId: string;
|
|
1432
|
+
} | {
|
|
1433
|
+
status: string;
|
|
1434
|
+
message: string;
|
|
1435
|
+
proposalId?: undefined;
|
|
1298
1436
|
};
|
|
1299
1437
|
meta: object;
|
|
1300
1438
|
}>;
|
|
@@ -1310,18 +1448,19 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1310
1448
|
parentThreadId?: string | undefined;
|
|
1311
1449
|
branchPurpose?: string | undefined;
|
|
1312
1450
|
agentId?: string | undefined;
|
|
1313
|
-
agentType?: "code" | "action" | "meta" | "default" | "prompting" | "knowledge-search" | "writing" | undefined;
|
|
1451
|
+
agentType?: "code" | "action" | "meta" | "default" | "prompting" | "knowledge-search" | "writing" | "onboarding" | undefined;
|
|
1314
1452
|
agentConfig?: Record<string, any> | undefined;
|
|
1315
1453
|
inheritContext?: boolean | undefined;
|
|
1316
1454
|
};
|
|
1317
1455
|
output: {
|
|
1318
|
-
threadId:
|
|
1456
|
+
threadId: `${string}-${string}-${string}-${string}-${string}`;
|
|
1319
1457
|
status: string;
|
|
1320
1458
|
message: string;
|
|
1321
1459
|
thread?: undefined;
|
|
1322
1460
|
} | {
|
|
1323
1461
|
threadId: string;
|
|
1324
1462
|
thread: {
|
|
1463
|
+
workspaceId: string | null;
|
|
1325
1464
|
userId: string;
|
|
1326
1465
|
id: string;
|
|
1327
1466
|
updatedAt: Date;
|
|
@@ -1344,13 +1483,30 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1344
1483
|
};
|
|
1345
1484
|
meta: object;
|
|
1346
1485
|
}>;
|
|
1486
|
+
createDocumentComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
1487
|
+
input: {
|
|
1488
|
+
documentId: string;
|
|
1489
|
+
position: {
|
|
1490
|
+
start: number;
|
|
1491
|
+
end: number;
|
|
1492
|
+
};
|
|
1493
|
+
content: string;
|
|
1494
|
+
};
|
|
1495
|
+
output: {
|
|
1496
|
+
threadId: `${string}-${string}-${string}-${string}-${string}`;
|
|
1497
|
+
messageId: `${string}-${string}-${string}-${string}-${string}`;
|
|
1498
|
+
};
|
|
1499
|
+
meta: object;
|
|
1500
|
+
}>;
|
|
1347
1501
|
sendMessage: import("@trpc/server").TRPCMutationProcedure<{
|
|
1348
1502
|
input: {
|
|
1349
|
-
threadId: string;
|
|
1350
1503
|
content: string;
|
|
1504
|
+
threadId?: string | undefined;
|
|
1351
1505
|
workspaceId?: string | undefined;
|
|
1506
|
+
agentType?: "code" | "action" | "meta" | "default" | "prompting" | "knowledge-search" | "writing" | "onboarding" | undefined;
|
|
1352
1507
|
};
|
|
1353
1508
|
output: {
|
|
1509
|
+
threadId: string;
|
|
1354
1510
|
messageId: `${string}-${string}-${string}-${string}-${string}`;
|
|
1355
1511
|
content: string;
|
|
1356
1512
|
entities: {
|
|
@@ -1360,6 +1516,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1360
1516
|
}[];
|
|
1361
1517
|
branchDecision: BranchDecision | undefined;
|
|
1362
1518
|
branchThread: {
|
|
1519
|
+
workspaceId: string | null;
|
|
1363
1520
|
userId: string;
|
|
1364
1521
|
id: string;
|
|
1365
1522
|
updatedAt: Date;
|
|
@@ -1401,7 +1558,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1401
1558
|
}[];
|
|
1402
1559
|
executionSummaries: {
|
|
1403
1560
|
tool: string;
|
|
1404
|
-
status: "error" | "
|
|
1561
|
+
status: "error" | "success" | "skipped";
|
|
1405
1562
|
result?: unknown;
|
|
1406
1563
|
error?: string | undefined;
|
|
1407
1564
|
}[];
|
|
@@ -1446,7 +1603,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1446
1603
|
content: string;
|
|
1447
1604
|
threadId: string;
|
|
1448
1605
|
parentId: string | null;
|
|
1449
|
-
role: "user" | "
|
|
1606
|
+
role: "user" | "system" | "assistant";
|
|
1450
1607
|
previousHash: string | null;
|
|
1451
1608
|
hash: string;
|
|
1452
1609
|
}[];
|
|
@@ -1457,11 +1614,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1457
1614
|
}>;
|
|
1458
1615
|
listThreads: import("@trpc/server").TRPCQueryProcedure<{
|
|
1459
1616
|
input: {
|
|
1617
|
+
workspaceId?: string | undefined;
|
|
1460
1618
|
threadType?: "main" | "branch" | undefined;
|
|
1461
1619
|
limit?: number | undefined;
|
|
1462
1620
|
};
|
|
1463
1621
|
output: {
|
|
1464
1622
|
threads: {
|
|
1623
|
+
workspaceId: string | null;
|
|
1465
1624
|
userId: string;
|
|
1466
1625
|
id: string;
|
|
1467
1626
|
updatedAt: Date;
|
|
@@ -1488,6 +1647,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1488
1647
|
};
|
|
1489
1648
|
output: {
|
|
1490
1649
|
branches: {
|
|
1650
|
+
workspaceId: string | null;
|
|
1491
1651
|
userId: string;
|
|
1492
1652
|
id: string;
|
|
1493
1653
|
updatedAt: Date;
|
|
@@ -1527,6 +1687,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1527
1687
|
};
|
|
1528
1688
|
output: {
|
|
1529
1689
|
thread: {
|
|
1690
|
+
workspaceId: string | null;
|
|
1530
1691
|
userId: string;
|
|
1531
1692
|
id: string;
|
|
1532
1693
|
updatedAt: Date;
|
|
@@ -1577,7 +1738,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1577
1738
|
threadId: string;
|
|
1578
1739
|
title?: string | undefined;
|
|
1579
1740
|
agentId?: string | undefined;
|
|
1580
|
-
agentType?: "code" | "action" | "meta" | "default" | "prompting" | "knowledge-search" | "writing" | undefined;
|
|
1741
|
+
agentType?: "code" | "action" | "meta" | "default" | "prompting" | "knowledge-search" | "writing" | "onboarding" | undefined;
|
|
1581
1742
|
agentConfig?: Record<string, unknown> | undefined;
|
|
1582
1743
|
};
|
|
1583
1744
|
output: {
|
|
@@ -1606,6 +1767,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1606
1767
|
children: any[];
|
|
1607
1768
|
} | null;
|
|
1608
1769
|
flatBranches: {
|
|
1770
|
+
workspaceId: string | null;
|
|
1609
1771
|
userId: string;
|
|
1610
1772
|
id: string;
|
|
1611
1773
|
updatedAt: Date;
|
|
@@ -1624,6 +1786,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1624
1786
|
mergedAt: Date | null;
|
|
1625
1787
|
}[];
|
|
1626
1788
|
activeBranches: {
|
|
1789
|
+
workspaceId: string | null;
|
|
1627
1790
|
userId: string;
|
|
1628
1791
|
id: string;
|
|
1629
1792
|
updatedAt: Date;
|
|
@@ -1642,6 +1805,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1642
1805
|
mergedAt: Date | null;
|
|
1643
1806
|
}[];
|
|
1644
1807
|
mergedBranches: {
|
|
1808
|
+
workspaceId: string | null;
|
|
1645
1809
|
userId: string;
|
|
1646
1810
|
id: string;
|
|
1647
1811
|
updatedAt: Date;
|
|
@@ -1665,7 +1829,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1665
1829
|
getThreadContext: import("@trpc/server").TRPCQueryProcedure<{
|
|
1666
1830
|
input: {
|
|
1667
1831
|
threadId: string;
|
|
1668
|
-
relationshipTypes?: ("
|
|
1832
|
+
relationshipTypes?: ("created" | "updated" | "used_as_context" | "referenced" | "inherited_from_parent")[] | undefined;
|
|
1669
1833
|
};
|
|
1670
1834
|
output: {
|
|
1671
1835
|
entities: {
|
|
@@ -1705,7 +1869,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1705
1869
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
1706
1870
|
input: {
|
|
1707
1871
|
workspaceId?: string | undefined;
|
|
1708
|
-
targetType?: "entity" | "document" | "
|
|
1872
|
+
targetType?: "entity" | "view" | "document" | "profile" | "whiteboard" | undefined;
|
|
1709
1873
|
targetId?: string | undefined;
|
|
1710
1874
|
status?: "pending" | "validated" | "rejected" | "all" | undefined;
|
|
1711
1875
|
limit?: number | undefined;
|
|
@@ -1749,9 +1913,33 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1749
1913
|
};
|
|
1750
1914
|
meta: object;
|
|
1751
1915
|
}>;
|
|
1916
|
+
batchApprove: import("@trpc/server").TRPCMutationProcedure<{
|
|
1917
|
+
input: {
|
|
1918
|
+
proposalIds: string[];
|
|
1919
|
+
comment?: string | undefined;
|
|
1920
|
+
};
|
|
1921
|
+
output: {
|
|
1922
|
+
results: {
|
|
1923
|
+
proposalId: string;
|
|
1924
|
+
success: boolean;
|
|
1925
|
+
error?: string;
|
|
1926
|
+
}[];
|
|
1927
|
+
};
|
|
1928
|
+
meta: object;
|
|
1929
|
+
}>;
|
|
1930
|
+
batchReject: import("@trpc/server").TRPCMutationProcedure<{
|
|
1931
|
+
input: {
|
|
1932
|
+
proposalIds: string[];
|
|
1933
|
+
reason?: string | undefined;
|
|
1934
|
+
};
|
|
1935
|
+
output: {
|
|
1936
|
+
success: boolean;
|
|
1937
|
+
};
|
|
1938
|
+
meta: object;
|
|
1939
|
+
}>;
|
|
1752
1940
|
submit: import("@trpc/server").TRPCMutationProcedure<{
|
|
1753
1941
|
input: {
|
|
1754
|
-
targetType: "workspace" | "entity" | "
|
|
1942
|
+
targetType: "workspace" | "entity" | "view" | "document" | "relation" | "profile";
|
|
1755
1943
|
changeType: "create" | "update" | "delete";
|
|
1756
1944
|
data: Record<string, any>;
|
|
1757
1945
|
targetId?: string | undefined;
|
|
@@ -1759,12 +1947,24 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1759
1947
|
};
|
|
1760
1948
|
output: {
|
|
1761
1949
|
success: boolean;
|
|
1762
|
-
requestId:
|
|
1950
|
+
requestId: string;
|
|
1763
1951
|
status: string;
|
|
1764
1952
|
message: string;
|
|
1765
1953
|
};
|
|
1766
1954
|
meta: object;
|
|
1767
1955
|
}>;
|
|
1956
|
+
createDocumentEdit: import("@trpc/server").TRPCMutationProcedure<{
|
|
1957
|
+
input: {
|
|
1958
|
+
documentId: string;
|
|
1959
|
+
from: number;
|
|
1960
|
+
to: number;
|
|
1961
|
+
replacementText: string;
|
|
1962
|
+
};
|
|
1963
|
+
output: {
|
|
1964
|
+
proposalId: string;
|
|
1965
|
+
};
|
|
1966
|
+
meta: object;
|
|
1967
|
+
}>;
|
|
1768
1968
|
}>>;
|
|
1769
1969
|
suggestions: import("@trpc/server").TRPCBuiltRouter<{
|
|
1770
1970
|
ctx: Context;
|
|
@@ -2047,6 +2247,42 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2047
2247
|
}[];
|
|
2048
2248
|
meta: object;
|
|
2049
2249
|
}>;
|
|
2250
|
+
getDataPodStats: import("@trpc/server").TRPCQueryProcedure<{
|
|
2251
|
+
input: void;
|
|
2252
|
+
output: {
|
|
2253
|
+
userCount: number;
|
|
2254
|
+
agentCount: number;
|
|
2255
|
+
workspaceCount: number;
|
|
2256
|
+
entityCount: number;
|
|
2257
|
+
documentCount: number;
|
|
2258
|
+
};
|
|
2259
|
+
meta: object;
|
|
2260
|
+
}>;
|
|
2261
|
+
listUsers: import("@trpc/server").TRPCQueryProcedure<{
|
|
2262
|
+
input: {
|
|
2263
|
+
type?: "all" | "human" | "agent" | undefined;
|
|
2264
|
+
limit?: number | undefined;
|
|
2265
|
+
offset?: number | undefined;
|
|
2266
|
+
};
|
|
2267
|
+
output: {
|
|
2268
|
+
users: {
|
|
2269
|
+
id: string;
|
|
2270
|
+
email: string;
|
|
2271
|
+
name: string | null;
|
|
2272
|
+
userType: string;
|
|
2273
|
+
agentMetadata: AgentMetadata | null;
|
|
2274
|
+
createdAt: string;
|
|
2275
|
+
workspaceMembershipCount: number;
|
|
2276
|
+
}[];
|
|
2277
|
+
pagination: {
|
|
2278
|
+
total: number;
|
|
2279
|
+
limit: number;
|
|
2280
|
+
offset: number;
|
|
2281
|
+
hasMore: boolean;
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
meta: object;
|
|
2285
|
+
}>;
|
|
2050
2286
|
}>>;
|
|
2051
2287
|
hub: import("@trpc/server").TRPCBuiltRouter<{
|
|
2052
2288
|
ctx: Context;
|
|
@@ -2143,13 +2379,22 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2143
2379
|
scope: string[];
|
|
2144
2380
|
hubId?: string | undefined;
|
|
2145
2381
|
expiresInDays?: number | undefined;
|
|
2382
|
+
workspaceId?: string | undefined;
|
|
2146
2383
|
};
|
|
2147
2384
|
output: {
|
|
2148
2385
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
2149
2386
|
key: string;
|
|
2150
2387
|
keyPrefix: string;
|
|
2151
|
-
status:
|
|
2388
|
+
status: "proposed";
|
|
2389
|
+
proposalId: string;
|
|
2390
|
+
message?: undefined;
|
|
2391
|
+
} | {
|
|
2392
|
+
id: any;
|
|
2393
|
+
key: string;
|
|
2394
|
+
keyPrefix: string;
|
|
2395
|
+
status: "created";
|
|
2152
2396
|
message: string;
|
|
2397
|
+
proposalId?: undefined;
|
|
2153
2398
|
};
|
|
2154
2399
|
meta: object;
|
|
2155
2400
|
}>;
|
|
@@ -2157,20 +2402,36 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2157
2402
|
input: {
|
|
2158
2403
|
keyId: string;
|
|
2159
2404
|
reason?: string | undefined;
|
|
2405
|
+
workspaceId?: string | undefined;
|
|
2160
2406
|
};
|
|
2161
2407
|
output: {
|
|
2162
|
-
status:
|
|
2163
|
-
|
|
2408
|
+
status: "proposed";
|
|
2409
|
+
proposalId: string;
|
|
2410
|
+
} | {
|
|
2411
|
+
status: "revoked";
|
|
2412
|
+
proposalId?: undefined;
|
|
2164
2413
|
};
|
|
2165
2414
|
meta: object;
|
|
2166
2415
|
}>;
|
|
2167
2416
|
rotate: import("@trpc/server").TRPCMutationProcedure<{
|
|
2168
2417
|
input: {
|
|
2169
2418
|
keyId: string;
|
|
2419
|
+
workspaceId?: string | undefined;
|
|
2170
2420
|
};
|
|
2171
2421
|
output: {
|
|
2172
|
-
|
|
2422
|
+
id: string;
|
|
2423
|
+
key: string;
|
|
2424
|
+
keyPrefix: string;
|
|
2425
|
+
status: "proposed";
|
|
2426
|
+
proposalId: string;
|
|
2427
|
+
message?: undefined;
|
|
2428
|
+
} | {
|
|
2429
|
+
id: any;
|
|
2430
|
+
key: string;
|
|
2431
|
+
keyPrefix: string;
|
|
2432
|
+
status: "rotated";
|
|
2173
2433
|
message: string;
|
|
2434
|
+
proposalId?: undefined;
|
|
2174
2435
|
};
|
|
2175
2436
|
meta: object;
|
|
2176
2437
|
}>;
|
|
@@ -2240,11 +2501,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2240
2501
|
timestamp: string;
|
|
2241
2502
|
checks: {
|
|
2242
2503
|
database: string;
|
|
2243
|
-
|
|
2504
|
+
jobQueue: string;
|
|
2244
2505
|
};
|
|
2245
2506
|
details: {
|
|
2246
2507
|
database: any;
|
|
2247
|
-
|
|
2508
|
+
jobQueue: any;
|
|
2248
2509
|
};
|
|
2249
2510
|
};
|
|
2250
2511
|
meta: object;
|
|
@@ -2366,12 +2627,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2366
2627
|
content?: string | undefined;
|
|
2367
2628
|
type?: "code" | "text" | "markdown" | "pdf" | "docx" | undefined;
|
|
2368
2629
|
projectId?: string | undefined;
|
|
2630
|
+
workspaceId?: string | undefined;
|
|
2369
2631
|
};
|
|
2370
2632
|
output: {
|
|
2371
2633
|
status: string;
|
|
2372
2634
|
message: string;
|
|
2373
2635
|
document: {
|
|
2374
|
-
id:
|
|
2636
|
+
id: string;
|
|
2375
2637
|
title: string;
|
|
2376
2638
|
};
|
|
2377
2639
|
};
|
|
@@ -2385,11 +2647,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2385
2647
|
language?: string | undefined;
|
|
2386
2648
|
mimeType?: string | undefined;
|
|
2387
2649
|
projectId?: string | undefined;
|
|
2650
|
+
workspaceId?: string | undefined;
|
|
2388
2651
|
};
|
|
2389
2652
|
output: {
|
|
2390
2653
|
status: string;
|
|
2391
2654
|
message: string;
|
|
2392
|
-
documentId:
|
|
2655
|
+
documentId: string;
|
|
2393
2656
|
};
|
|
2394
2657
|
meta: object;
|
|
2395
2658
|
}>;
|
|
@@ -2413,6 +2676,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2413
2676
|
lastSavedVersion: number;
|
|
2414
2677
|
workingState: string | null;
|
|
2415
2678
|
workingStateUpdatedAt: Date | null;
|
|
2679
|
+
entityId: string | null;
|
|
2416
2680
|
metadata: unknown;
|
|
2417
2681
|
createdAt: Date;
|
|
2418
2682
|
updatedAt: Date;
|
|
@@ -2425,11 +2689,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2425
2689
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
2426
2690
|
input: {
|
|
2427
2691
|
documentId: string;
|
|
2428
|
-
version: number;
|
|
2429
2692
|
delta?: {
|
|
2430
2693
|
content: string;
|
|
2431
2694
|
}[] | undefined;
|
|
2695
|
+
version?: number | undefined;
|
|
2432
2696
|
message?: string | undefined;
|
|
2697
|
+
title?: string | undefined;
|
|
2433
2698
|
};
|
|
2434
2699
|
output: {
|
|
2435
2700
|
version: number;
|
|
@@ -2514,6 +2779,19 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2514
2779
|
};
|
|
2515
2780
|
meta: object;
|
|
2516
2781
|
}>;
|
|
2782
|
+
endSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
2783
|
+
input: {
|
|
2784
|
+
sessionId: string;
|
|
2785
|
+
};
|
|
2786
|
+
output: {
|
|
2787
|
+
success: boolean;
|
|
2788
|
+
alreadyEnded: boolean;
|
|
2789
|
+
} | {
|
|
2790
|
+
success: boolean;
|
|
2791
|
+
alreadyEnded?: undefined;
|
|
2792
|
+
};
|
|
2793
|
+
meta: object;
|
|
2794
|
+
}>;
|
|
2517
2795
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
2518
2796
|
input: {
|
|
2519
2797
|
projectId?: string | undefined;
|
|
@@ -2536,6 +2814,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2536
2814
|
lastSavedVersion: number;
|
|
2537
2815
|
workingState: string | null;
|
|
2538
2816
|
workingStateUpdatedAt: Date | null;
|
|
2817
|
+
entityId: string | null;
|
|
2539
2818
|
metadata: unknown;
|
|
2540
2819
|
createdAt: Date;
|
|
2541
2820
|
updatedAt: Date;
|
|
@@ -2555,7 +2834,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2555
2834
|
createFromText: import("@trpc/server").TRPCMutationProcedure<{
|
|
2556
2835
|
input: {
|
|
2557
2836
|
content: string;
|
|
2558
|
-
targetType: "
|
|
2837
|
+
targetType: "note" | "task";
|
|
2559
2838
|
metadata?: {
|
|
2560
2839
|
title?: string | undefined;
|
|
2561
2840
|
tags?: string[] | undefined;
|
|
@@ -2574,7 +2853,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2574
2853
|
file: string;
|
|
2575
2854
|
filename: string;
|
|
2576
2855
|
contentType: string;
|
|
2577
|
-
targetType: "
|
|
2856
|
+
targetType: "note" | "document";
|
|
2578
2857
|
metadata?: {
|
|
2579
2858
|
title?: string | undefined;
|
|
2580
2859
|
description?: string | undefined;
|
|
@@ -2761,7 +3040,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2761
3040
|
updateStatus: import("@trpc/server").TRPCMutationProcedure<{
|
|
2762
3041
|
input: {
|
|
2763
3042
|
id: string;
|
|
2764
|
-
status: "
|
|
3043
|
+
status: "read" | "archived" | "snoozed";
|
|
2765
3044
|
snoozedUntil?: unknown;
|
|
2766
3045
|
};
|
|
2767
3046
|
output: {
|
|
@@ -2924,80 +3203,288 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2924
3203
|
meta: object;
|
|
2925
3204
|
}>;
|
|
2926
3205
|
}>>;
|
|
2927
|
-
|
|
3206
|
+
intelligence: import("@trpc/server").TRPCBuiltRouter<{
|
|
2928
3207
|
ctx: Context;
|
|
2929
3208
|
meta: object;
|
|
2930
3209
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
2931
3210
|
transformer: true;
|
|
2932
3211
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2933
|
-
|
|
2934
|
-
input:
|
|
3212
|
+
listCommands: import("@trpc/server").TRPCQueryProcedure<{
|
|
3213
|
+
input: {
|
|
3214
|
+
limit?: number | undefined;
|
|
3215
|
+
};
|
|
2935
3216
|
output: {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
features: string[];
|
|
2939
|
-
};
|
|
2940
|
-
plugins: {
|
|
2941
|
-
name: string;
|
|
2942
|
-
version: string;
|
|
2943
|
-
enabled: boolean;
|
|
2944
|
-
}[];
|
|
2945
|
-
intelligenceServices: {
|
|
3217
|
+
commands: {
|
|
3218
|
+
workspaceId: string;
|
|
2946
3219
|
id: string;
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
3220
|
+
updatedAt: Date;
|
|
3221
|
+
createdAt: Date;
|
|
3222
|
+
title: string;
|
|
3223
|
+
createdBy: string;
|
|
3224
|
+
promptTemplate: string;
|
|
3225
|
+
compiledTemplateAst: unknown;
|
|
3226
|
+
derivedInputs: DerivedInput[] | null;
|
|
3227
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3228
|
+
allowedTools: string[] | null;
|
|
3229
|
+
allowedEntityTypes: string[] | null;
|
|
3230
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3231
|
+
canCreateViews: boolean;
|
|
3232
|
+
outputMode: "text" | "proposal" | "view";
|
|
3233
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3234
|
+
sharedScope: "workspace" | "user";
|
|
2952
3235
|
}[];
|
|
2953
3236
|
};
|
|
2954
3237
|
meta: object;
|
|
2955
3238
|
}>;
|
|
2956
|
-
|
|
3239
|
+
getCommand: import("@trpc/server").TRPCQueryProcedure<{
|
|
2957
3240
|
input: {
|
|
2958
|
-
|
|
3241
|
+
id: string;
|
|
2959
3242
|
};
|
|
2960
3243
|
output: {
|
|
2961
|
-
|
|
3244
|
+
workspaceId: string;
|
|
3245
|
+
id: string;
|
|
3246
|
+
updatedAt: Date;
|
|
3247
|
+
createdAt: Date;
|
|
3248
|
+
title: string;
|
|
3249
|
+
createdBy: string;
|
|
3250
|
+
promptTemplate: string;
|
|
3251
|
+
compiledTemplateAst: unknown;
|
|
3252
|
+
derivedInputs: DerivedInput[] | null;
|
|
3253
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3254
|
+
allowedTools: string[] | null;
|
|
3255
|
+
allowedEntityTypes: string[] | null;
|
|
3256
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3257
|
+
canCreateViews: boolean;
|
|
3258
|
+
outputMode: "text" | "proposal" | "view";
|
|
3259
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3260
|
+
sharedScope: "workspace" | "user";
|
|
2962
3261
|
};
|
|
2963
3262
|
meta: object;
|
|
2964
3263
|
}>;
|
|
2965
|
-
|
|
2966
|
-
search: 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
|
-
entities: import("@trpc/server").TRPCQueryProcedure<{
|
|
3264
|
+
createCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
2973
3265
|
input: {
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
3266
|
+
title: string;
|
|
3267
|
+
promptTemplate: string;
|
|
3268
|
+
inputOverrides?: Record<string, any> | undefined;
|
|
3269
|
+
allowedTools?: string[] | undefined;
|
|
3270
|
+
allowedEntityTypes?: string[] | undefined;
|
|
3271
|
+
maxEntitiesCreatedPerRun?: number | undefined;
|
|
3272
|
+
canCreateViews?: boolean | undefined;
|
|
3273
|
+
outputMode?: "text" | "proposal" | "view" | undefined;
|
|
3274
|
+
permissionsProfile?: "read_only" | "propose_writes" | undefined;
|
|
3275
|
+
sharedScope?: "workspace" | "user" | undefined;
|
|
2977
3276
|
};
|
|
2978
3277
|
output: {
|
|
2979
|
-
|
|
3278
|
+
workspaceId: string;
|
|
3279
|
+
id: string;
|
|
3280
|
+
updatedAt: Date;
|
|
3281
|
+
createdAt: Date;
|
|
3282
|
+
title: string;
|
|
3283
|
+
createdBy: string;
|
|
3284
|
+
promptTemplate: string;
|
|
3285
|
+
compiledTemplateAst: unknown;
|
|
3286
|
+
derivedInputs: DerivedInput[] | null;
|
|
3287
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3288
|
+
allowedTools: string[] | null;
|
|
3289
|
+
allowedEntityTypes: string[] | null;
|
|
3290
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3291
|
+
canCreateViews: boolean;
|
|
3292
|
+
outputMode: "text" | "proposal" | "view";
|
|
3293
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3294
|
+
sharedScope: "workspace" | "user";
|
|
3295
|
+
};
|
|
3296
|
+
meta: object;
|
|
3297
|
+
}>;
|
|
3298
|
+
updateCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
3299
|
+
input: {
|
|
3300
|
+
id: string;
|
|
3301
|
+
title?: string | undefined;
|
|
3302
|
+
promptTemplate?: string | undefined;
|
|
3303
|
+
inputOverrides?: Record<string, any> | undefined;
|
|
3304
|
+
allowedTools?: string[] | undefined;
|
|
3305
|
+
allowedEntityTypes?: string[] | undefined;
|
|
3306
|
+
maxEntitiesCreatedPerRun?: number | null | undefined;
|
|
3307
|
+
canCreateViews?: boolean | undefined;
|
|
3308
|
+
outputMode?: "text" | "proposal" | "view" | undefined;
|
|
3309
|
+
permissionsProfile?: "read_only" | "propose_writes" | undefined;
|
|
3310
|
+
sharedScope?: "workspace" | "user" | undefined;
|
|
3311
|
+
};
|
|
3312
|
+
output: {
|
|
3313
|
+
id: string;
|
|
3314
|
+
workspaceId: string;
|
|
3315
|
+
createdBy: string;
|
|
3316
|
+
title: string;
|
|
3317
|
+
promptTemplate: string;
|
|
3318
|
+
compiledTemplateAst: unknown;
|
|
3319
|
+
derivedInputs: DerivedInput[] | null;
|
|
3320
|
+
inputOverrides: Record<string, InputOverride> | null;
|
|
3321
|
+
allowedTools: string[] | null;
|
|
3322
|
+
allowedEntityTypes: string[] | null;
|
|
3323
|
+
maxEntitiesCreatedPerRun: number | null;
|
|
3324
|
+
canCreateViews: boolean;
|
|
3325
|
+
outputMode: "text" | "proposal" | "view";
|
|
3326
|
+
permissionsProfile: "read_only" | "propose_writes";
|
|
3327
|
+
sharedScope: "workspace" | "user";
|
|
3328
|
+
createdAt: Date;
|
|
3329
|
+
updatedAt: Date;
|
|
3330
|
+
};
|
|
3331
|
+
meta: object;
|
|
3332
|
+
}>;
|
|
3333
|
+
deleteCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
3334
|
+
input: {
|
|
3335
|
+
id: string;
|
|
3336
|
+
};
|
|
3337
|
+
output: {
|
|
3338
|
+
success: boolean;
|
|
3339
|
+
};
|
|
3340
|
+
meta: object;
|
|
3341
|
+
}>;
|
|
3342
|
+
runCommand: import("@trpc/server").TRPCMutationProcedure<{
|
|
3343
|
+
input: {
|
|
3344
|
+
commandId: string;
|
|
3345
|
+
argumentValues: Record<string, string>;
|
|
3346
|
+
selectionContext?: {
|
|
3347
|
+
type: "entities" | "documents" | "text" | "viewRows";
|
|
3348
|
+
entityIds?: string[] | undefined;
|
|
3349
|
+
viewId?: string | undefined;
|
|
3350
|
+
rowEntityIds?: string[] | undefined;
|
|
3351
|
+
documentIds?: string[] | undefined;
|
|
3352
|
+
text?: string | undefined;
|
|
3353
|
+
} | undefined;
|
|
3354
|
+
};
|
|
3355
|
+
output: {
|
|
3356
|
+
runId: string;
|
|
3357
|
+
threadId: string;
|
|
3358
|
+
};
|
|
3359
|
+
meta: object;
|
|
3360
|
+
}>;
|
|
3361
|
+
listRuns: import("@trpc/server").TRPCQueryProcedure<{
|
|
3362
|
+
input: {
|
|
3363
|
+
limit?: number | undefined;
|
|
3364
|
+
cursor?: string | undefined;
|
|
3365
|
+
};
|
|
3366
|
+
output: {
|
|
3367
|
+
runs: {
|
|
2980
3368
|
workspaceId: string;
|
|
2981
3369
|
userId: string;
|
|
2982
3370
|
id: string;
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
3371
|
+
errorMessage: string | null;
|
|
3372
|
+
startedAt: Date;
|
|
3373
|
+
threadId: string;
|
|
3374
|
+
status: "completed" | "failed" | "running";
|
|
3375
|
+
commandId: string;
|
|
3376
|
+
permissionsSnapshot: Record<string, unknown> | null;
|
|
3377
|
+
inputs: Record<string, unknown> | null;
|
|
3378
|
+
selectionContextSnapshot: unknown;
|
|
3379
|
+
outputSummary: string | null;
|
|
3380
|
+
proposedActions: unknown[] | null;
|
|
3381
|
+
approvedActions: unknown[] | null;
|
|
3382
|
+
completedAt: Date | null;
|
|
2993
3383
|
}[];
|
|
3384
|
+
nextCursor: string | undefined;
|
|
3385
|
+
hasMore: boolean;
|
|
3386
|
+
};
|
|
3387
|
+
meta: object;
|
|
3388
|
+
}>;
|
|
3389
|
+
getRun: import("@trpc/server").TRPCQueryProcedure<{
|
|
3390
|
+
input: {
|
|
3391
|
+
id: string;
|
|
3392
|
+
};
|
|
3393
|
+
output: {
|
|
3394
|
+
workspaceId: string;
|
|
3395
|
+
userId: string;
|
|
3396
|
+
id: string;
|
|
3397
|
+
errorMessage: string | null;
|
|
3398
|
+
startedAt: Date;
|
|
3399
|
+
threadId: string;
|
|
3400
|
+
status: "completed" | "failed" | "running";
|
|
3401
|
+
commandId: string;
|
|
3402
|
+
permissionsSnapshot: Record<string, unknown> | null;
|
|
3403
|
+
inputs: Record<string, unknown> | null;
|
|
3404
|
+
selectionContextSnapshot: unknown;
|
|
3405
|
+
outputSummary: string | null;
|
|
3406
|
+
proposedActions: unknown[] | null;
|
|
3407
|
+
approvedActions: unknown[] | null;
|
|
3408
|
+
completedAt: Date | null;
|
|
3409
|
+
};
|
|
3410
|
+
meta: object;
|
|
3411
|
+
}>;
|
|
3412
|
+
getEffectiveService: import("@trpc/server").TRPCQueryProcedure<{
|
|
3413
|
+
input: Record<string, never>;
|
|
3414
|
+
output: {
|
|
3415
|
+
serviceId: string;
|
|
3416
|
+
endpoint: string;
|
|
3417
|
+
manifest: {
|
|
3418
|
+
name: string;
|
|
3419
|
+
version?: string;
|
|
3420
|
+
capabilities: string[];
|
|
3421
|
+
endpoints?: string[];
|
|
3422
|
+
authType?: string;
|
|
3423
|
+
};
|
|
3424
|
+
};
|
|
3425
|
+
meta: object;
|
|
3426
|
+
}>;
|
|
3427
|
+
}>>;
|
|
3428
|
+
capabilities: import("@trpc/server").TRPCBuiltRouter<{
|
|
3429
|
+
ctx: Context;
|
|
3430
|
+
meta: object;
|
|
3431
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
3432
|
+
transformer: true;
|
|
3433
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3434
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3435
|
+
input: void;
|
|
3436
|
+
output: {
|
|
3437
|
+
core: {
|
|
3438
|
+
version: string;
|
|
3439
|
+
features: string[];
|
|
3440
|
+
};
|
|
3441
|
+
plugins: {
|
|
3442
|
+
name: string;
|
|
3443
|
+
version: string;
|
|
3444
|
+
enabled: boolean;
|
|
3445
|
+
}[];
|
|
3446
|
+
intelligenceServices: {
|
|
3447
|
+
id: string;
|
|
3448
|
+
serviceId: string;
|
|
3449
|
+
name: string;
|
|
3450
|
+
capabilities: string[];
|
|
3451
|
+
pricing: string;
|
|
3452
|
+
version: string | null;
|
|
3453
|
+
}[];
|
|
3454
|
+
};
|
|
3455
|
+
meta: object;
|
|
3456
|
+
}>;
|
|
3457
|
+
hasCapability: import("@trpc/server").TRPCQueryProcedure<{
|
|
3458
|
+
input: {
|
|
3459
|
+
capability: string;
|
|
3460
|
+
};
|
|
3461
|
+
output: {
|
|
3462
|
+
available: boolean;
|
|
3463
|
+
};
|
|
3464
|
+
meta: object;
|
|
3465
|
+
}>;
|
|
3466
|
+
}>>;
|
|
3467
|
+
search: import("@trpc/server").TRPCBuiltRouter<{
|
|
3468
|
+
ctx: Context;
|
|
3469
|
+
meta: object;
|
|
3470
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
3471
|
+
transformer: true;
|
|
3472
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3473
|
+
entities: import("@trpc/server").TRPCQueryProcedure<{
|
|
3474
|
+
input: {
|
|
3475
|
+
query: string;
|
|
3476
|
+
type?: "note" | "task" | "document" | "project" | undefined;
|
|
3477
|
+
limit?: number | undefined;
|
|
3478
|
+
};
|
|
3479
|
+
output: {
|
|
3480
|
+
entities: any[];
|
|
2994
3481
|
};
|
|
2995
3482
|
meta: object;
|
|
2996
3483
|
}>;
|
|
2997
3484
|
semantic: import("@trpc/server").TRPCQueryProcedure<{
|
|
2998
3485
|
input: {
|
|
2999
3486
|
query: string;
|
|
3000
|
-
type?: "
|
|
3487
|
+
type?: "note" | "task" | "document" | "project" | undefined;
|
|
3001
3488
|
limit?: number | undefined;
|
|
3002
3489
|
threshold?: number | undefined;
|
|
3003
3490
|
};
|
|
@@ -3014,7 +3501,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3014
3501
|
};
|
|
3015
3502
|
output: {
|
|
3016
3503
|
entities: {
|
|
3017
|
-
workspaceId: string;
|
|
3504
|
+
workspaceId: string | null;
|
|
3018
3505
|
userId: string;
|
|
3019
3506
|
id: string;
|
|
3020
3507
|
updatedAt: Date;
|
|
@@ -3091,7 +3578,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3091
3578
|
};
|
|
3092
3579
|
output: {
|
|
3093
3580
|
entities: {
|
|
3094
|
-
workspaceId: string;
|
|
3581
|
+
workspaceId: string | null;
|
|
3095
3582
|
userId: string;
|
|
3096
3583
|
id: string;
|
|
3097
3584
|
updatedAt: Date;
|
|
@@ -3129,19 +3616,27 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3129
3616
|
metadata?: Record<string, any> | undefined;
|
|
3130
3617
|
};
|
|
3131
3618
|
output: {
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3619
|
+
status: "proposed";
|
|
3620
|
+
proposalId: string;
|
|
3621
|
+
id?: undefined;
|
|
3622
|
+
} | {
|
|
3623
|
+
id: string;
|
|
3624
|
+
status: "created";
|
|
3625
|
+
proposalId?: undefined;
|
|
3135
3626
|
};
|
|
3136
3627
|
meta: object;
|
|
3137
3628
|
}>;
|
|
3138
3629
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
3139
3630
|
input: {
|
|
3140
3631
|
id: string;
|
|
3632
|
+
workspaceId?: string | undefined;
|
|
3141
3633
|
};
|
|
3142
3634
|
output: {
|
|
3143
|
-
status:
|
|
3144
|
-
|
|
3635
|
+
status: "proposed";
|
|
3636
|
+
proposalId: string;
|
|
3637
|
+
} | {
|
|
3638
|
+
status: "deleted";
|
|
3639
|
+
proposalId?: undefined;
|
|
3145
3640
|
};
|
|
3146
3641
|
meta: object;
|
|
3147
3642
|
}>;
|
|
@@ -3161,7 +3656,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3161
3656
|
};
|
|
3162
3657
|
output: {
|
|
3163
3658
|
entity: {
|
|
3164
|
-
workspaceId: string;
|
|
3659
|
+
workspaceId: string | null;
|
|
3165
3660
|
userId: string;
|
|
3166
3661
|
id: string;
|
|
3167
3662
|
updatedAt: Date;
|
|
@@ -3180,7 +3675,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3180
3675
|
stats: null;
|
|
3181
3676
|
} | {
|
|
3182
3677
|
entity: {
|
|
3183
|
-
workspaceId: string;
|
|
3678
|
+
workspaceId: string | null;
|
|
3184
3679
|
userId: string;
|
|
3185
3680
|
id: string;
|
|
3186
3681
|
updatedAt: Date;
|
|
@@ -3222,7 +3717,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3222
3717
|
};
|
|
3223
3718
|
output: {
|
|
3224
3719
|
entities: {
|
|
3225
|
-
workspaceId: string;
|
|
3720
|
+
workspaceId: string | null;
|
|
3226
3721
|
userId: string;
|
|
3227
3722
|
id: string;
|
|
3228
3723
|
updatedAt: Date;
|
|
@@ -3292,9 +3787,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3292
3787
|
type?: "enterprise" | "personal" | "team" | undefined;
|
|
3293
3788
|
};
|
|
3294
3789
|
output: {
|
|
3295
|
-
status:
|
|
3790
|
+
status: "proposed";
|
|
3791
|
+
proposalId: string;
|
|
3792
|
+
message: string;
|
|
3793
|
+
workspaceId?: undefined;
|
|
3794
|
+
} | {
|
|
3795
|
+
status: "created";
|
|
3796
|
+
workspaceId: string;
|
|
3296
3797
|
message: string;
|
|
3297
|
-
|
|
3798
|
+
proposalId?: undefined;
|
|
3298
3799
|
};
|
|
3299
3800
|
meta: object;
|
|
3300
3801
|
}>;
|
|
@@ -3345,8 +3846,29 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3345
3846
|
settings?: Record<string, unknown> | undefined;
|
|
3346
3847
|
};
|
|
3347
3848
|
output: {
|
|
3348
|
-
status:
|
|
3849
|
+
status: "proposed";
|
|
3850
|
+
proposalId: string;
|
|
3851
|
+
message: string;
|
|
3852
|
+
} | {
|
|
3853
|
+
status: "updated";
|
|
3854
|
+
message: string;
|
|
3855
|
+
proposalId?: undefined;
|
|
3856
|
+
};
|
|
3857
|
+
meta: object;
|
|
3858
|
+
}>;
|
|
3859
|
+
setIntelligenceService: import("@trpc/server").TRPCMutationProcedure<{
|
|
3860
|
+
input: {
|
|
3861
|
+
workspaceId: string;
|
|
3862
|
+
serviceId: string | null;
|
|
3863
|
+
};
|
|
3864
|
+
output: {
|
|
3865
|
+
status: "proposed";
|
|
3866
|
+
proposalId: string;
|
|
3867
|
+
message: string;
|
|
3868
|
+
} | {
|
|
3869
|
+
status: "updated";
|
|
3349
3870
|
message: string;
|
|
3871
|
+
proposalId?: undefined;
|
|
3350
3872
|
};
|
|
3351
3873
|
meta: object;
|
|
3352
3874
|
}>;
|
|
@@ -3355,8 +3877,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3355
3877
|
id: string;
|
|
3356
3878
|
};
|
|
3357
3879
|
output: {
|
|
3358
|
-
status:
|
|
3880
|
+
status: "proposed";
|
|
3881
|
+
proposalId: string;
|
|
3882
|
+
message: string;
|
|
3883
|
+
} | {
|
|
3884
|
+
status: "deleted";
|
|
3359
3885
|
message: string;
|
|
3886
|
+
proposalId?: undefined;
|
|
3360
3887
|
};
|
|
3361
3888
|
meta: object;
|
|
3362
3889
|
}>;
|
|
@@ -3367,8 +3894,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3367
3894
|
role: "owner" | "editor" | "viewer";
|
|
3368
3895
|
};
|
|
3369
3896
|
output: {
|
|
3370
|
-
status:
|
|
3897
|
+
status: "proposed";
|
|
3898
|
+
proposalId: string;
|
|
3899
|
+
message: string;
|
|
3900
|
+
memberId?: undefined;
|
|
3901
|
+
} | {
|
|
3902
|
+
status: "added";
|
|
3903
|
+
memberId: string;
|
|
3371
3904
|
message: string;
|
|
3905
|
+
proposalId?: undefined;
|
|
3372
3906
|
};
|
|
3373
3907
|
meta: object;
|
|
3374
3908
|
}>;
|
|
@@ -3392,7 +3926,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3392
3926
|
avatarUrl: string | null;
|
|
3393
3927
|
timezone: string;
|
|
3394
3928
|
locale: string;
|
|
3395
|
-
|
|
3929
|
+
userType: string;
|
|
3930
|
+
agentMetadata: AgentMetadata | null;
|
|
3931
|
+
kratosIdentityId: string | null;
|
|
3396
3932
|
lastSyncedAt: Date | null;
|
|
3397
3933
|
createdAt: Date;
|
|
3398
3934
|
};
|
|
@@ -3405,8 +3941,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3405
3941
|
userId: string;
|
|
3406
3942
|
};
|
|
3407
3943
|
output: {
|
|
3408
|
-
status:
|
|
3944
|
+
status: "proposed";
|
|
3945
|
+
proposalId: string;
|
|
3946
|
+
message: string;
|
|
3947
|
+
} | {
|
|
3948
|
+
status: "removed";
|
|
3409
3949
|
message: string;
|
|
3950
|
+
proposalId?: undefined;
|
|
3410
3951
|
};
|
|
3411
3952
|
meta: object;
|
|
3412
3953
|
}>;
|
|
@@ -3417,8 +3958,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3417
3958
|
role: "admin" | "editor" | "viewer";
|
|
3418
3959
|
};
|
|
3419
3960
|
output: {
|
|
3420
|
-
status:
|
|
3961
|
+
status: "proposed";
|
|
3962
|
+
proposalId: string;
|
|
3421
3963
|
message: string;
|
|
3964
|
+
} | {
|
|
3965
|
+
status: "updated";
|
|
3966
|
+
message: string;
|
|
3967
|
+
proposalId?: undefined;
|
|
3422
3968
|
};
|
|
3423
3969
|
meta: object;
|
|
3424
3970
|
}>;
|
|
@@ -3461,7 +4007,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3461
4007
|
token: string;
|
|
3462
4008
|
};
|
|
3463
4009
|
output: {
|
|
3464
|
-
status:
|
|
4010
|
+
status: "accepted";
|
|
3465
4011
|
workspaceId: string;
|
|
3466
4012
|
message: string;
|
|
3467
4013
|
};
|
|
@@ -3476,6 +4022,50 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3476
4022
|
};
|
|
3477
4023
|
meta: object;
|
|
3478
4024
|
}>;
|
|
4025
|
+
createFromDefinition: import("@trpc/server").TRPCMutationProcedure<{
|
|
4026
|
+
input: {
|
|
4027
|
+
definition: unknown;
|
|
4028
|
+
packageSlug?: string | undefined;
|
|
4029
|
+
packageVersion?: string | undefined;
|
|
4030
|
+
workspaceName?: string | undefined;
|
|
4031
|
+
};
|
|
4032
|
+
output: {
|
|
4033
|
+
status: "created";
|
|
4034
|
+
workspaceId: string;
|
|
4035
|
+
profileIds: string[];
|
|
4036
|
+
viewIds: string[];
|
|
4037
|
+
entityIds: string[];
|
|
4038
|
+
};
|
|
4039
|
+
meta: object;
|
|
4040
|
+
}>;
|
|
4041
|
+
seedPlugin: import("@trpc/server").TRPCMutationProcedure<{
|
|
4042
|
+
input: {
|
|
4043
|
+
pluginId: string;
|
|
4044
|
+
definition?: unknown;
|
|
4045
|
+
};
|
|
4046
|
+
output: {
|
|
4047
|
+
status: "created";
|
|
4048
|
+
workspaceId: string;
|
|
4049
|
+
};
|
|
4050
|
+
meta: object;
|
|
4051
|
+
}>;
|
|
4052
|
+
previewInvite: import("@trpc/server").TRPCQueryProcedure<{
|
|
4053
|
+
input: {
|
|
4054
|
+
token: string;
|
|
4055
|
+
};
|
|
4056
|
+
output: {
|
|
4057
|
+
expired: true;
|
|
4058
|
+
workspaceName?: undefined;
|
|
4059
|
+
role?: undefined;
|
|
4060
|
+
expiresAt?: undefined;
|
|
4061
|
+
} | {
|
|
4062
|
+
expired: false;
|
|
4063
|
+
workspaceName: string;
|
|
4064
|
+
role: string;
|
|
4065
|
+
expiresAt: Date;
|
|
4066
|
+
} | null;
|
|
4067
|
+
meta: object;
|
|
4068
|
+
}>;
|
|
3479
4069
|
}>>;
|
|
3480
4070
|
views: import("@trpc/server").TRPCBuiltRouter<{
|
|
3481
4071
|
ctx: Context;
|
|
@@ -3486,7 +4076,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3486
4076
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
3487
4077
|
input: {
|
|
3488
4078
|
name: string;
|
|
3489
|
-
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "
|
|
4079
|
+
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "timeline" | "grid" | "kanban" | "gallery" | "gantt" | "mindmap" | "flow" | "bento";
|
|
3490
4080
|
workspaceId?: string | undefined;
|
|
3491
4081
|
description?: string | undefined;
|
|
3492
4082
|
scopeProfileIds?: string[] | undefined;
|
|
@@ -3501,34 +4091,56 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3501
4091
|
} | undefined;
|
|
3502
4092
|
config?: Record<string, any> | undefined;
|
|
3503
4093
|
embeddedViewIds?: string[] | undefined;
|
|
4094
|
+
metadata?: Record<string, any> | undefined;
|
|
3504
4095
|
initialContent?: any;
|
|
4096
|
+
source?: "user" | "system" | "intelligence" | "ai" | undefined;
|
|
4097
|
+
reasoning?: string | undefined;
|
|
4098
|
+
agentUserId?: string | undefined;
|
|
3505
4099
|
};
|
|
3506
4100
|
output: {
|
|
4101
|
+
view: any;
|
|
4102
|
+
documentId: any;
|
|
4103
|
+
status: string;
|
|
4104
|
+
message: string;
|
|
4105
|
+
proposalId: string;
|
|
4106
|
+
} | {
|
|
3507
4107
|
view: {
|
|
3508
|
-
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
3509
|
-
workspaceId: string | undefined;
|
|
3510
|
-
userId: string;
|
|
3511
|
-
type: "calendar" | "list" | "table" | "whiteboard" | "graph" | "grid" | "timeline" | "kanban" | "gallery" | "gantt" | "mindmap" | "bento";
|
|
3512
|
-
category: ViewCategory;
|
|
3513
4108
|
name: string;
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
};
|
|
3520
|
-
createdAt: Date;
|
|
4109
|
+
workspaceId: string | null;
|
|
4110
|
+
userId: string;
|
|
4111
|
+
id: string;
|
|
4112
|
+
query: unknown;
|
|
4113
|
+
columns: unknown;
|
|
3521
4114
|
updatedAt: Date;
|
|
4115
|
+
createdAt: Date;
|
|
4116
|
+
type: string;
|
|
4117
|
+
metadata: unknown;
|
|
4118
|
+
documentId: string | null;
|
|
4119
|
+
description: string | null;
|
|
4120
|
+
category: string;
|
|
4121
|
+
scopeProfileIds: string[] | null;
|
|
4122
|
+
scopeMode: string | null;
|
|
4123
|
+
config: unknown;
|
|
4124
|
+
filter: unknown;
|
|
4125
|
+
sort: unknown;
|
|
4126
|
+
layoutConfig: unknown;
|
|
4127
|
+
yjsRoomId: string | null;
|
|
4128
|
+
thumbnailUrl: string | null;
|
|
4129
|
+
schemaSnapshot: unknown;
|
|
4130
|
+
snapshotUpdatedAt: Date | null;
|
|
4131
|
+
embeddedViewIds: string[] | null;
|
|
3522
4132
|
};
|
|
3523
4133
|
documentId: string;
|
|
3524
4134
|
status: string;
|
|
4135
|
+
message?: undefined;
|
|
4136
|
+
proposalId?: undefined;
|
|
3525
4137
|
};
|
|
3526
4138
|
meta: object;
|
|
3527
4139
|
}>;
|
|
3528
4140
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3529
4141
|
input: {
|
|
3530
4142
|
workspaceId?: string | undefined;
|
|
3531
|
-
type?: "calendar" | "list" | "table" | "whiteboard" | "all" | "graph" | "
|
|
4143
|
+
type?: "calendar" | "list" | "table" | "whiteboard" | "all" | "graph" | "timeline" | "grid" | "kanban" | "gallery" | "gantt" | "mindmap" | undefined;
|
|
3532
4144
|
};
|
|
3533
4145
|
output: {
|
|
3534
4146
|
name: string;
|
|
@@ -3558,6 +4170,41 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3558
4170
|
}[];
|
|
3559
4171
|
meta: object;
|
|
3560
4172
|
}>;
|
|
4173
|
+
getHome: import("@trpc/server").TRPCQueryProcedure<{
|
|
4174
|
+
input: {
|
|
4175
|
+
workspaceId: string;
|
|
4176
|
+
scope?: "workspace" | "user" | "effective" | undefined;
|
|
4177
|
+
};
|
|
4178
|
+
output: {
|
|
4179
|
+
view: {
|
|
4180
|
+
name: string;
|
|
4181
|
+
workspaceId: string | null;
|
|
4182
|
+
userId: string;
|
|
4183
|
+
id: string;
|
|
4184
|
+
query: unknown;
|
|
4185
|
+
columns: unknown;
|
|
4186
|
+
updatedAt: Date;
|
|
4187
|
+
createdAt: Date;
|
|
4188
|
+
type: string;
|
|
4189
|
+
metadata: unknown;
|
|
4190
|
+
documentId: string | null;
|
|
4191
|
+
description: string | null;
|
|
4192
|
+
category: string;
|
|
4193
|
+
scopeProfileIds: string[] | null;
|
|
4194
|
+
scopeMode: string | null;
|
|
4195
|
+
config: unknown;
|
|
4196
|
+
filter: unknown;
|
|
4197
|
+
sort: unknown;
|
|
4198
|
+
layoutConfig: unknown;
|
|
4199
|
+
yjsRoomId: string | null;
|
|
4200
|
+
thumbnailUrl: string | null;
|
|
4201
|
+
schemaSnapshot: unknown;
|
|
4202
|
+
snapshotUpdatedAt: Date | null;
|
|
4203
|
+
embeddedViewIds: string[] | null;
|
|
4204
|
+
} | null;
|
|
4205
|
+
};
|
|
4206
|
+
meta: object;
|
|
4207
|
+
}>;
|
|
3561
4208
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3562
4209
|
input: {
|
|
3563
4210
|
id: string;
|
|
@@ -3662,7 +4309,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3662
4309
|
entities: {
|
|
3663
4310
|
id: string;
|
|
3664
4311
|
userId: string;
|
|
3665
|
-
workspaceId: string;
|
|
4312
|
+
workspaceId: string | null;
|
|
3666
4313
|
profileId: string | null;
|
|
3667
4314
|
type: string;
|
|
3668
4315
|
title: string | null;
|
|
@@ -3719,11 +4366,37 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3719
4366
|
embeddedViewIds?: string[] | undefined;
|
|
3720
4367
|
schemaSnapshot?: Record<string, any> | undefined;
|
|
3721
4368
|
snapshotUpdatedAt?: Date | undefined;
|
|
3722
|
-
type?: "calendar" | "list" | "table" | "whiteboard" | "graph" | "
|
|
4369
|
+
type?: "calendar" | "list" | "table" | "whiteboard" | "graph" | "timeline" | "grid" | "kanban" | "gallery" | "gantt" | "mindmap" | "flow" | "bento" | undefined;
|
|
3723
4370
|
};
|
|
3724
4371
|
output: {
|
|
3725
4372
|
status: string;
|
|
3726
4373
|
message: string;
|
|
4374
|
+
view: {
|
|
4375
|
+
name: string;
|
|
4376
|
+
workspaceId: string | null;
|
|
4377
|
+
userId: string;
|
|
4378
|
+
id: string;
|
|
4379
|
+
query: unknown;
|
|
4380
|
+
columns: unknown;
|
|
4381
|
+
updatedAt: Date;
|
|
4382
|
+
createdAt: Date;
|
|
4383
|
+
type: string;
|
|
4384
|
+
metadata: unknown;
|
|
4385
|
+
documentId: string | null;
|
|
4386
|
+
description: string | null;
|
|
4387
|
+
category: string;
|
|
4388
|
+
scopeProfileIds: string[] | null;
|
|
4389
|
+
scopeMode: string | null;
|
|
4390
|
+
config: unknown;
|
|
4391
|
+
filter: unknown;
|
|
4392
|
+
sort: unknown;
|
|
4393
|
+
layoutConfig: unknown;
|
|
4394
|
+
yjsRoomId: string | null;
|
|
4395
|
+
thumbnailUrl: string | null;
|
|
4396
|
+
schemaSnapshot: unknown;
|
|
4397
|
+
snapshotUpdatedAt: Date | null;
|
|
4398
|
+
embeddedViewIds: string[] | null;
|
|
4399
|
+
};
|
|
3727
4400
|
};
|
|
3728
4401
|
meta: object;
|
|
3729
4402
|
}>;
|
|
@@ -3794,7 +4467,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3794
4467
|
} | undefined;
|
|
3795
4468
|
animations?: {
|
|
3796
4469
|
enabled?: boolean | undefined;
|
|
3797
|
-
speed?: "
|
|
4470
|
+
speed?: "normal" | "slow" | "fast" | undefined;
|
|
3798
4471
|
} | undefined;
|
|
3799
4472
|
} | undefined;
|
|
3800
4473
|
defaultTemplates?: Record<string, string> | undefined;
|
|
@@ -3810,7 +4483,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3810
4483
|
compactMode?: boolean | undefined;
|
|
3811
4484
|
fontSize?: string | undefined;
|
|
3812
4485
|
animations?: boolean | undefined;
|
|
3813
|
-
defaultView?: "list" | "
|
|
4486
|
+
defaultView?: "list" | "timeline" | "grid" | undefined;
|
|
4487
|
+
entityOpenMode?: "floating" | "side" | "modal" | undefined;
|
|
3814
4488
|
} | undefined;
|
|
3815
4489
|
graphPreferences?: {
|
|
3816
4490
|
forceSettings?: {
|
|
@@ -3859,7 +4533,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3859
4533
|
} | undefined;
|
|
3860
4534
|
animations?: {
|
|
3861
4535
|
enabled?: boolean | undefined;
|
|
3862
|
-
speed?: "
|
|
4536
|
+
speed?: "normal" | "slow" | "fast" | undefined;
|
|
3863
4537
|
} | undefined;
|
|
3864
4538
|
} | undefined;
|
|
3865
4539
|
};
|
|
@@ -3916,7 +4590,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3916
4590
|
}>;
|
|
3917
4591
|
setIntelligenceService: import("@trpc/server").TRPCMutationProcedure<{
|
|
3918
4592
|
input: {
|
|
3919
|
-
serviceId: string;
|
|
4593
|
+
serviceId: string | null;
|
|
3920
4594
|
capability?: "default" | "chat" | "analysis" | undefined;
|
|
3921
4595
|
};
|
|
3922
4596
|
output: {
|
|
@@ -3975,9 +4649,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3975
4649
|
filters?: Record<string, any> | undefined;
|
|
3976
4650
|
};
|
|
3977
4651
|
output: {
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
4652
|
+
status: "proposed";
|
|
4653
|
+
proposalId: string;
|
|
4654
|
+
id?: undefined;
|
|
4655
|
+
} | {
|
|
4656
|
+
id: any;
|
|
4657
|
+
status: "created";
|
|
4658
|
+
proposalId?: undefined;
|
|
3981
4659
|
};
|
|
3982
4660
|
meta: object;
|
|
3983
4661
|
}>;
|
|
@@ -3988,20 +4666,28 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3988
4666
|
description?: string | undefined;
|
|
3989
4667
|
permissions?: Record<string, any> | undefined;
|
|
3990
4668
|
filters?: Record<string, any> | undefined;
|
|
4669
|
+
workspaceId?: string | undefined;
|
|
3991
4670
|
};
|
|
3992
4671
|
output: {
|
|
3993
|
-
status:
|
|
3994
|
-
|
|
4672
|
+
status: "proposed";
|
|
4673
|
+
proposalId: string;
|
|
4674
|
+
} | {
|
|
4675
|
+
status: "updated";
|
|
4676
|
+
proposalId?: undefined;
|
|
3995
4677
|
};
|
|
3996
4678
|
meta: object;
|
|
3997
4679
|
}>;
|
|
3998
4680
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
3999
4681
|
input: {
|
|
4000
4682
|
id: string;
|
|
4683
|
+
workspaceId?: string | undefined;
|
|
4001
4684
|
};
|
|
4002
4685
|
output: {
|
|
4003
|
-
status:
|
|
4004
|
-
|
|
4686
|
+
status: "proposed";
|
|
4687
|
+
proposalId: string;
|
|
4688
|
+
} | {
|
|
4689
|
+
status: "deleted";
|
|
4690
|
+
proposalId?: undefined;
|
|
4005
4691
|
};
|
|
4006
4692
|
meta: object;
|
|
4007
4693
|
}>;
|
|
@@ -4014,7 +4700,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4014
4700
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4015
4701
|
createPublicLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
4016
4702
|
input: {
|
|
4017
|
-
resourceType: "entity" | "
|
|
4703
|
+
resourceType: "entity" | "view" | "document";
|
|
4018
4704
|
resourceId: string;
|
|
4019
4705
|
expiresInDays?: number | undefined;
|
|
4020
4706
|
access?: "workspace_only" | "anyone_with_link" | undefined;
|
|
@@ -4029,7 +4715,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4029
4715
|
}>;
|
|
4030
4716
|
invite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4031
4717
|
input: {
|
|
4032
|
-
resourceType: "entity" | "
|
|
4718
|
+
resourceType: "entity" | "view" | "document";
|
|
4033
4719
|
resourceId: string;
|
|
4034
4720
|
userEmail: string;
|
|
4035
4721
|
};
|
|
@@ -4055,7 +4741,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4055
4741
|
};
|
|
4056
4742
|
output: {
|
|
4057
4743
|
resource: {
|
|
4058
|
-
workspaceId: string;
|
|
4744
|
+
workspaceId: string | null;
|
|
4059
4745
|
userId: string;
|
|
4060
4746
|
id: string;
|
|
4061
4747
|
updatedAt: Date;
|
|
@@ -4130,7 +4816,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4130
4816
|
}>;
|
|
4131
4817
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4132
4818
|
input: {
|
|
4133
|
-
resourceType: "entity" | "
|
|
4819
|
+
resourceType: "entity" | "view" | "document";
|
|
4134
4820
|
resourceId: string;
|
|
4135
4821
|
visibility?: "public" | "private" | undefined;
|
|
4136
4822
|
expiresAt?: Date | undefined;
|
|
@@ -4620,8 +5306,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4620
5306
|
};
|
|
4621
5307
|
output: {
|
|
4622
5308
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
4623
|
-
|
|
4624
|
-
|
|
5309
|
+
status: "proposed";
|
|
5310
|
+
proposalId: string;
|
|
5311
|
+
} | {
|
|
5312
|
+
id: string;
|
|
5313
|
+
status: "created";
|
|
5314
|
+
proposalId?: undefined;
|
|
4625
5315
|
};
|
|
4626
5316
|
meta: object;
|
|
4627
5317
|
}>;
|
|
@@ -4637,8 +5327,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4637
5327
|
timeoutSeconds?: number | undefined;
|
|
4638
5328
|
};
|
|
4639
5329
|
output: {
|
|
4640
|
-
|
|
4641
|
-
|
|
5330
|
+
status: "proposed";
|
|
5331
|
+
proposalId: string;
|
|
5332
|
+
} | {
|
|
5333
|
+
status: "updated";
|
|
5334
|
+
proposalId?: undefined;
|
|
4642
5335
|
};
|
|
4643
5336
|
meta: object;
|
|
4644
5337
|
}>;
|
|
@@ -4647,8 +5340,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4647
5340
|
id: string;
|
|
4648
5341
|
};
|
|
4649
5342
|
output: {
|
|
4650
|
-
|
|
4651
|
-
|
|
5343
|
+
status: "proposed";
|
|
5344
|
+
proposalId: string;
|
|
5345
|
+
} | {
|
|
5346
|
+
status: "deleted";
|
|
5347
|
+
proposalId?: undefined;
|
|
4652
5348
|
};
|
|
4653
5349
|
meta: object;
|
|
4654
5350
|
}>;
|
|
@@ -4693,8 +5389,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4693
5389
|
};
|
|
4694
5390
|
output: {
|
|
4695
5391
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
4696
|
-
|
|
4697
|
-
|
|
5392
|
+
status: "proposed";
|
|
5393
|
+
proposalId: string;
|
|
5394
|
+
} | {
|
|
5395
|
+
id: string;
|
|
5396
|
+
status: "created";
|
|
5397
|
+
proposalId?: undefined;
|
|
4698
5398
|
};
|
|
4699
5399
|
meta: object;
|
|
4700
5400
|
}>;
|
|
@@ -4709,8 +5409,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4709
5409
|
status?: "error" | "active" | "paused" | undefined;
|
|
4710
5410
|
};
|
|
4711
5411
|
output: {
|
|
4712
|
-
|
|
4713
|
-
|
|
5412
|
+
status: "proposed";
|
|
5413
|
+
proposalId: string;
|
|
5414
|
+
} | {
|
|
5415
|
+
status: "updated";
|
|
5416
|
+
proposalId?: undefined;
|
|
4714
5417
|
};
|
|
4715
5418
|
meta: object;
|
|
4716
5419
|
}>;
|
|
@@ -4719,8 +5422,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4719
5422
|
id: string;
|
|
4720
5423
|
};
|
|
4721
5424
|
output: {
|
|
4722
|
-
|
|
4723
|
-
|
|
5425
|
+
status: "proposed";
|
|
5426
|
+
proposalId: string;
|
|
5427
|
+
} | {
|
|
5428
|
+
status: "deleted";
|
|
5429
|
+
proposalId?: undefined;
|
|
4724
5430
|
};
|
|
4725
5431
|
meta: object;
|
|
4726
5432
|
}>;
|
|
@@ -4913,6 +5619,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4913
5619
|
parentProfileId?: string | undefined;
|
|
4914
5620
|
uiHints?: Record<string, unknown> | undefined;
|
|
4915
5621
|
scope?: "workspace" | "user" | "system" | undefined;
|
|
5622
|
+
source?: "user" | "system" | "intelligence" | "ai" | undefined;
|
|
5623
|
+
reasoning?: string | undefined;
|
|
5624
|
+
agentUserId?: string | undefined;
|
|
4916
5625
|
};
|
|
4917
5626
|
output: {
|
|
4918
5627
|
profile: {
|
|
@@ -4929,6 +5638,35 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4929
5638
|
displayName: string;
|
|
4930
5639
|
parentProfileId: string | null;
|
|
4931
5640
|
};
|
|
5641
|
+
existing: boolean;
|
|
5642
|
+
status?: undefined;
|
|
5643
|
+
message?: undefined;
|
|
5644
|
+
proposalId?: undefined;
|
|
5645
|
+
} | {
|
|
5646
|
+
profile: any;
|
|
5647
|
+
status: string;
|
|
5648
|
+
message: string;
|
|
5649
|
+
proposalId: string;
|
|
5650
|
+
existing?: undefined;
|
|
5651
|
+
} | {
|
|
5652
|
+
profile: {
|
|
5653
|
+
workspaceId: string | null;
|
|
5654
|
+
userId: string | null;
|
|
5655
|
+
id: string;
|
|
5656
|
+
updatedAt: Date;
|
|
5657
|
+
createdAt: Date;
|
|
5658
|
+
version: number;
|
|
5659
|
+
isActive: boolean;
|
|
5660
|
+
scope: ProfileScope;
|
|
5661
|
+
slug: string;
|
|
5662
|
+
uiHints: unknown;
|
|
5663
|
+
displayName: string;
|
|
5664
|
+
parentProfileId: string | null;
|
|
5665
|
+
};
|
|
5666
|
+
existing?: undefined;
|
|
5667
|
+
status?: undefined;
|
|
5668
|
+
message?: undefined;
|
|
5669
|
+
proposalId?: undefined;
|
|
4932
5670
|
};
|
|
4933
5671
|
meta: object;
|
|
4934
5672
|
}>;
|
|
@@ -5053,6 +5791,18 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5053
5791
|
constraints: unknown;
|
|
5054
5792
|
uiHints: unknown;
|
|
5055
5793
|
};
|
|
5794
|
+
existing: boolean;
|
|
5795
|
+
} | {
|
|
5796
|
+
propertyDef: {
|
|
5797
|
+
id: string;
|
|
5798
|
+
updatedAt: Date;
|
|
5799
|
+
createdAt: Date;
|
|
5800
|
+
slug: string;
|
|
5801
|
+
valueType: PropertyValueType;
|
|
5802
|
+
constraints: unknown;
|
|
5803
|
+
uiHints: unknown;
|
|
5804
|
+
};
|
|
5805
|
+
existing?: undefined;
|
|
5056
5806
|
};
|
|
5057
5807
|
meta: object;
|
|
5058
5808
|
}>;
|
|
@@ -5151,6 +5901,69 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5151
5901
|
meta: object;
|
|
5152
5902
|
}>;
|
|
5153
5903
|
}>>;
|
|
5904
|
+
agentUsers: import("@trpc/server").TRPCBuiltRouter<{
|
|
5905
|
+
ctx: Context;
|
|
5906
|
+
meta: object;
|
|
5907
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
5908
|
+
transformer: true;
|
|
5909
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5910
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
5911
|
+
input: {
|
|
5912
|
+
workspaceId: string;
|
|
5913
|
+
agentType: string;
|
|
5914
|
+
name: string;
|
|
5915
|
+
role: "admin" | "editor" | "viewer";
|
|
5916
|
+
description?: string | undefined;
|
|
5917
|
+
capabilities?: string[] | undefined;
|
|
5918
|
+
};
|
|
5919
|
+
output: {
|
|
5920
|
+
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
5921
|
+
email: string;
|
|
5922
|
+
name: string;
|
|
5923
|
+
agentType: string;
|
|
5924
|
+
role: "admin" | "editor" | "viewer";
|
|
5925
|
+
};
|
|
5926
|
+
meta: object;
|
|
5927
|
+
}>;
|
|
5928
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
5929
|
+
input: {
|
|
5930
|
+
workspaceId: string;
|
|
5931
|
+
};
|
|
5932
|
+
output: {
|
|
5933
|
+
id: string;
|
|
5934
|
+
name: string | null;
|
|
5935
|
+
email: string;
|
|
5936
|
+
agentMetadata: AgentMetadata | null;
|
|
5937
|
+
role: string;
|
|
5938
|
+
joinedAt: Date;
|
|
5939
|
+
}[];
|
|
5940
|
+
meta: object;
|
|
5941
|
+
}>;
|
|
5942
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
5943
|
+
input: {
|
|
5944
|
+
workspaceId: string;
|
|
5945
|
+
agentUserId: string;
|
|
5946
|
+
name?: string | undefined;
|
|
5947
|
+
role?: "admin" | "editor" | "viewer" | undefined;
|
|
5948
|
+
description?: string | undefined;
|
|
5949
|
+
capabilities?: string[] | undefined;
|
|
5950
|
+
};
|
|
5951
|
+
output: {
|
|
5952
|
+
status: "updated";
|
|
5953
|
+
};
|
|
5954
|
+
meta: object;
|
|
5955
|
+
}>;
|
|
5956
|
+
remove: import("@trpc/server").TRPCMutationProcedure<{
|
|
5957
|
+
input: {
|
|
5958
|
+
workspaceId: string;
|
|
5959
|
+
agentUserId: string;
|
|
5960
|
+
};
|
|
5961
|
+
output: {
|
|
5962
|
+
status: "removed";
|
|
5963
|
+
};
|
|
5964
|
+
meta: object;
|
|
5965
|
+
}>;
|
|
5966
|
+
}>>;
|
|
5154
5967
|
}>>;
|
|
5155
5968
|
export type AppRouter = typeof coreRouter;
|
|
5156
5969
|
|