@synap-core/api-types 1.10.3 → 1.10.4
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 +533 -93
- package/package.json +1 -1
- package/src/generated.d.ts +533 -93
package/dist/generated.d.ts
CHANGED
|
@@ -429,6 +429,43 @@ declare const channels: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
429
429
|
identity: undefined;
|
|
430
430
|
generated: undefined;
|
|
431
431
|
}, {}, {}>;
|
|
432
|
+
resultSummary: import("drizzle-orm/pg-core").PgColumn<{
|
|
433
|
+
name: "result_summary";
|
|
434
|
+
tableName: "channels";
|
|
435
|
+
dataType: "string";
|
|
436
|
+
columnType: "PgText";
|
|
437
|
+
data: string;
|
|
438
|
+
driverParam: string;
|
|
439
|
+
notNull: false;
|
|
440
|
+
hasDefault: false;
|
|
441
|
+
isPrimaryKey: false;
|
|
442
|
+
isAutoincrement: false;
|
|
443
|
+
hasRuntimeDefault: false;
|
|
444
|
+
enumValues: [
|
|
445
|
+
string,
|
|
446
|
+
...string[]
|
|
447
|
+
];
|
|
448
|
+
baseColumn: never;
|
|
449
|
+
identity: undefined;
|
|
450
|
+
generated: undefined;
|
|
451
|
+
}, {}, {}>;
|
|
452
|
+
mergedIntoStateId: import("drizzle-orm/pg-core").PgColumn<{
|
|
453
|
+
name: "merged_into_state_id";
|
|
454
|
+
tableName: "channels";
|
|
455
|
+
dataType: "string";
|
|
456
|
+
columnType: "PgUUID";
|
|
457
|
+
data: string;
|
|
458
|
+
driverParam: string;
|
|
459
|
+
notNull: false;
|
|
460
|
+
hasDefault: false;
|
|
461
|
+
isPrimaryKey: false;
|
|
462
|
+
isAutoincrement: false;
|
|
463
|
+
hasRuntimeDefault: false;
|
|
464
|
+
enumValues: undefined;
|
|
465
|
+
baseColumn: never;
|
|
466
|
+
identity: undefined;
|
|
467
|
+
generated: undefined;
|
|
468
|
+
}, {}, {}>;
|
|
432
469
|
externalSource: import("drizzle-orm/pg-core").PgColumn<{
|
|
433
470
|
name: "external_source";
|
|
434
471
|
tableName: "channels";
|
|
@@ -581,11 +618,17 @@ export interface InputOverride {
|
|
|
581
618
|
* - Enterprise (advanced features)
|
|
582
619
|
*/
|
|
583
620
|
export interface WorkspaceSidebarItem {
|
|
584
|
-
kind: "app" | "view" | "external";
|
|
621
|
+
kind: "app" | "view" | "profile" | "external";
|
|
585
622
|
/** App ID for kind='app' (e.g. 'dashboard', 'intelligence', 'data') */
|
|
586
623
|
appId?: string;
|
|
587
624
|
/** View name for kind='view' — resolved lazily at click time */
|
|
588
625
|
viewName?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Profile slug for kind='profile'.
|
|
628
|
+
* ActivityBar resolves this to the profile bento view via workspace.settings.profileBentoViewIds,
|
|
629
|
+
* or lazily creates one via ensureProfileBento if not yet set.
|
|
630
|
+
*/
|
|
631
|
+
profileSlug?: string;
|
|
589
632
|
/** URL template for kind='external'. Use __POD_URL__ as a placeholder. */
|
|
590
633
|
url?: string;
|
|
591
634
|
/** Display label shown in the sidebar */
|
|
@@ -596,6 +639,12 @@ export interface WorkspaceSidebarItem {
|
|
|
596
639
|
export interface WorkspaceLayoutConfig {
|
|
597
640
|
pinnedApps?: string[];
|
|
598
641
|
defaultView?: string;
|
|
642
|
+
/**
|
|
643
|
+
* Default app view to navigate to when a workspace is first opened (browser only).
|
|
644
|
+
* Applied once per profile switch by useTemplateIntegration.
|
|
645
|
+
* Valid values: 'browser' | 'dashboard' | 'data' | 'intelligence' | 'terminal' | …
|
|
646
|
+
*/
|
|
647
|
+
defaultApp?: string;
|
|
599
648
|
theme?: string;
|
|
600
649
|
/** Ordered list of sidebar items. When set, replaces the generic app list. */
|
|
601
650
|
sidebarItems?: WorkspaceSidebarItem[];
|
|
@@ -626,7 +675,32 @@ export interface WorkspaceSettings {
|
|
|
626
675
|
/** External MCP servers whose tools will be available to AI agents in this workspace */
|
|
627
676
|
mcpServers?: McpServerConfig[];
|
|
628
677
|
layout?: WorkspaceLayoutConfig;
|
|
678
|
+
/**
|
|
679
|
+
* Maps profile slug → bento dashboard view ID for this workspace.
|
|
680
|
+
* Each entry is the "home page" view for all entities of that profile type.
|
|
681
|
+
* Stored here (not on the profile row) so system/shared profiles can have
|
|
682
|
+
* different bento views per workspace.
|
|
683
|
+
* Populated on workspace creation and lazily via ensureProfileBento.
|
|
684
|
+
* Example: { "deal": "uuid-deal-bento", "contact": "uuid-contact-bento" }
|
|
685
|
+
*/
|
|
686
|
+
profileBentoViewIds?: Record<string, string>;
|
|
687
|
+
/**
|
|
688
|
+
* Per-profile default bento layout for entity instance dashboards.
|
|
689
|
+
* When a user opens a single entity in bento mode for the first time,
|
|
690
|
+
* this template is used to seed the bento view (instead of the generic default).
|
|
691
|
+
* Populated from the workspace template at creation time.
|
|
692
|
+
* Example: { "deal": { blocks: [...] }, "contact": { blocks: [...] } }
|
|
693
|
+
*/
|
|
694
|
+
profileEntityBentoTemplates?: Record<string, {
|
|
695
|
+
blocks: Array<Record<string, unknown>>;
|
|
696
|
+
}>;
|
|
697
|
+
/** UUID of the main whiteboard view for this workspace */
|
|
629
698
|
mainWhiteboardId?: string;
|
|
699
|
+
/**
|
|
700
|
+
* Home dashboard view ID (type='bento', metadata.homeScope='workspace').
|
|
701
|
+
* Stored here for O(1) lookup on workspace open.
|
|
702
|
+
*/
|
|
703
|
+
homeDashboardViewId?: string;
|
|
630
704
|
intelligenceServiceId?: string;
|
|
631
705
|
intelligenceServiceOverrides?: {
|
|
632
706
|
chat?: string;
|
|
@@ -897,7 +971,7 @@ export type MessageLink = typeof messageLinks.$inferSelect;
|
|
|
897
971
|
* be explicitly approved by a workspace owner before its tools are injected
|
|
898
972
|
* into LLM requests.
|
|
899
973
|
*/
|
|
900
|
-
export type McpTransport = "stdio" | "http"
|
|
974
|
+
export type McpTransport = "stdio" | "http";
|
|
901
975
|
export type McpStatus = "connected" | "disconnected" | "error" | "unknown";
|
|
902
976
|
declare enum PropertyValueType {
|
|
903
977
|
STRING = "string",
|
|
@@ -1402,13 +1476,21 @@ export interface ExecutionStats {
|
|
|
1402
1476
|
export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1403
1477
|
ctx: Context;
|
|
1404
1478
|
meta: object;
|
|
1405
|
-
errorShape:
|
|
1479
|
+
errorShape: {
|
|
1480
|
+
message: string;
|
|
1481
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1482
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
1483
|
+
};
|
|
1406
1484
|
transformer: true;
|
|
1407
1485
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1408
1486
|
setup: import("@trpc/server").TRPCBuiltRouter<{
|
|
1409
1487
|
ctx: Context;
|
|
1410
1488
|
meta: object;
|
|
1411
|
-
errorShape:
|
|
1489
|
+
errorShape: {
|
|
1490
|
+
message: string;
|
|
1491
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1492
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
1493
|
+
};
|
|
1412
1494
|
transformer: true;
|
|
1413
1495
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1414
1496
|
status: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1423,7 +1505,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1423
1505
|
events: import("@trpc/server").TRPCBuiltRouter<{
|
|
1424
1506
|
ctx: Context;
|
|
1425
1507
|
meta: object;
|
|
1426
|
-
errorShape:
|
|
1508
|
+
errorShape: {
|
|
1509
|
+
message: string;
|
|
1510
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1511
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
1512
|
+
};
|
|
1427
1513
|
transformer: true;
|
|
1428
1514
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1429
1515
|
log: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1483,7 +1569,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1483
1569
|
capture: import("@trpc/server").TRPCBuiltRouter<{
|
|
1484
1570
|
ctx: Context;
|
|
1485
1571
|
meta: object;
|
|
1486
|
-
errorShape:
|
|
1572
|
+
errorShape: {
|
|
1573
|
+
message: string;
|
|
1574
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1575
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
1576
|
+
};
|
|
1487
1577
|
transformer: true;
|
|
1488
1578
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1489
1579
|
thought: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1508,7 +1598,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1508
1598
|
entities: import("@trpc/server").TRPCBuiltRouter<{
|
|
1509
1599
|
ctx: Context;
|
|
1510
1600
|
meta: object;
|
|
1511
|
-
errorShape:
|
|
1601
|
+
errorShape: {
|
|
1602
|
+
message: string;
|
|
1603
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1604
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
1605
|
+
};
|
|
1512
1606
|
transformer: true;
|
|
1513
1607
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1514
1608
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1554,6 +1648,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1554
1648
|
createdAt: Date;
|
|
1555
1649
|
updatedAt: Date;
|
|
1556
1650
|
deletedAt: Date | null;
|
|
1651
|
+
systemData?: Record<string, unknown> | undefined;
|
|
1557
1652
|
};
|
|
1558
1653
|
proposalId?: undefined;
|
|
1559
1654
|
};
|
|
@@ -1585,6 +1680,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1585
1680
|
createdAt: Date;
|
|
1586
1681
|
updatedAt: Date;
|
|
1587
1682
|
deletedAt: Date | null;
|
|
1683
|
+
systemData?: Record<string, unknown> | undefined;
|
|
1588
1684
|
}[];
|
|
1589
1685
|
};
|
|
1590
1686
|
meta: object;
|
|
@@ -1614,6 +1710,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1614
1710
|
createdAt: Date;
|
|
1615
1711
|
updatedAt: Date;
|
|
1616
1712
|
deletedAt: Date | null;
|
|
1713
|
+
systemData?: Record<string, unknown> | undefined;
|
|
1617
1714
|
}[];
|
|
1618
1715
|
};
|
|
1619
1716
|
meta: object;
|
|
@@ -1645,6 +1742,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1645
1742
|
createdAt: Date;
|
|
1646
1743
|
updatedAt: Date;
|
|
1647
1744
|
deletedAt: Date | null;
|
|
1745
|
+
systemData?: Record<string, unknown> | undefined;
|
|
1648
1746
|
}[];
|
|
1649
1747
|
};
|
|
1650
1748
|
meta: object;
|
|
@@ -1686,6 +1784,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1686
1784
|
createdAt: Date;
|
|
1687
1785
|
updatedAt: Date;
|
|
1688
1786
|
deletedAt: Date | null;
|
|
1787
|
+
systemData?: Record<string, unknown> | undefined;
|
|
1689
1788
|
}[];
|
|
1690
1789
|
};
|
|
1691
1790
|
meta: object;
|
|
@@ -1767,7 +1866,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1767
1866
|
chat: import("@trpc/server").TRPCBuiltRouter<{
|
|
1768
1867
|
ctx: Context;
|
|
1769
1868
|
meta: object;
|
|
1770
|
-
errorShape:
|
|
1869
|
+
errorShape: {
|
|
1870
|
+
message: string;
|
|
1871
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1872
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
1873
|
+
};
|
|
1771
1874
|
transformer: true;
|
|
1772
1875
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1773
1876
|
createChannel: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1806,6 +1909,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1806
1909
|
agentType: ChannelAgentType;
|
|
1807
1910
|
agentConfig: unknown;
|
|
1808
1911
|
contextSummary: string | null;
|
|
1912
|
+
resultSummary: string | null;
|
|
1913
|
+
mergedIntoStateId: string | null;
|
|
1809
1914
|
externalChannelId: string | null;
|
|
1810
1915
|
mergedAt: Date | null;
|
|
1811
1916
|
};
|
|
@@ -1911,6 +2016,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1911
2016
|
agentType: ChannelAgentType;
|
|
1912
2017
|
agentConfig: unknown;
|
|
1913
2018
|
contextSummary: string | null;
|
|
2019
|
+
resultSummary: string | null;
|
|
2020
|
+
mergedIntoStateId: string | null;
|
|
1914
2021
|
externalChannelId: string | null;
|
|
1915
2022
|
mergedAt: Date | null;
|
|
1916
2023
|
} | undefined;
|
|
@@ -1990,6 +2097,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1990
2097
|
inboxItemId: string | null;
|
|
1991
2098
|
previousHash: string | null;
|
|
1992
2099
|
hash: string;
|
|
2100
|
+
sessionId: string | null;
|
|
1993
2101
|
}[];
|
|
1994
2102
|
nextCursor: string | undefined;
|
|
1995
2103
|
hasMore: boolean;
|
|
@@ -2027,6 +2135,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2027
2135
|
agentType: ChannelAgentType;
|
|
2028
2136
|
agentConfig: unknown;
|
|
2029
2137
|
contextSummary: string | null;
|
|
2138
|
+
resultSummary: string | null;
|
|
2139
|
+
mergedIntoStateId: string | null;
|
|
2030
2140
|
externalChannelId: string | null;
|
|
2031
2141
|
mergedAt: Date | null;
|
|
2032
2142
|
}[];
|
|
@@ -2064,12 +2174,47 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2064
2174
|
agentType: ChannelAgentType;
|
|
2065
2175
|
agentConfig: unknown;
|
|
2066
2176
|
contextSummary: string | null;
|
|
2177
|
+
resultSummary: string | null;
|
|
2178
|
+
mergedIntoStateId: string | null;
|
|
2067
2179
|
externalChannelId: string | null;
|
|
2068
2180
|
mergedAt: Date | null;
|
|
2069
2181
|
}[];
|
|
2070
2182
|
};
|
|
2071
2183
|
meta: object;
|
|
2072
2184
|
}>;
|
|
2185
|
+
getPersonalChannel: import("@trpc/server").TRPCQueryProcedure<{
|
|
2186
|
+
input: {
|
|
2187
|
+
workspaceId: string;
|
|
2188
|
+
};
|
|
2189
|
+
output: {
|
|
2190
|
+
channel: {
|
|
2191
|
+
workspaceId: string | null;
|
|
2192
|
+
userId: string;
|
|
2193
|
+
id: string;
|
|
2194
|
+
updatedAt: Date;
|
|
2195
|
+
createdAt: Date;
|
|
2196
|
+
metadata: unknown;
|
|
2197
|
+
title: string | null;
|
|
2198
|
+
externalSource: string | null;
|
|
2199
|
+
status: ChannelStatus;
|
|
2200
|
+
channelType: ChannelType;
|
|
2201
|
+
contextObjectType: string | null;
|
|
2202
|
+
contextObjectId: string | null;
|
|
2203
|
+
parentChannelId: string | null;
|
|
2204
|
+
branchedFromMessageId: string | null;
|
|
2205
|
+
branchPurpose: string | null;
|
|
2206
|
+
agentId: string;
|
|
2207
|
+
agentType: ChannelAgentType;
|
|
2208
|
+
agentConfig: unknown;
|
|
2209
|
+
contextSummary: string | null;
|
|
2210
|
+
resultSummary: string | null;
|
|
2211
|
+
mergedIntoStateId: string | null;
|
|
2212
|
+
externalChannelId: string | null;
|
|
2213
|
+
mergedAt: Date | null;
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
2216
|
+
meta: object;
|
|
2217
|
+
}>;
|
|
2073
2218
|
getBranches: import("@trpc/server").TRPCQueryProcedure<{
|
|
2074
2219
|
input: {
|
|
2075
2220
|
parentChannelId: string;
|
|
@@ -2095,6 +2240,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2095
2240
|
agentType: ChannelAgentType;
|
|
2096
2241
|
agentConfig: unknown;
|
|
2097
2242
|
contextSummary: string | null;
|
|
2243
|
+
resultSummary: string | null;
|
|
2244
|
+
mergedIntoStateId: string | null;
|
|
2098
2245
|
externalChannelId: string | null;
|
|
2099
2246
|
mergedAt: Date | null;
|
|
2100
2247
|
}[];
|
|
@@ -2154,6 +2301,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2154
2301
|
agentType: ChannelAgentType;
|
|
2155
2302
|
agentConfig: unknown;
|
|
2156
2303
|
contextSummary: string | null;
|
|
2304
|
+
resultSummary: string | null;
|
|
2305
|
+
mergedIntoStateId: string | null;
|
|
2157
2306
|
externalChannelId: string | null;
|
|
2158
2307
|
mergedAt: Date | null;
|
|
2159
2308
|
};
|
|
@@ -2168,6 +2317,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2168
2317
|
objectId: string;
|
|
2169
2318
|
relationshipType: ChannelContextRelationshipType;
|
|
2170
2319
|
conflictStatus: ChannelContextConflictStatus;
|
|
2320
|
+
relevanceScore: number | null;
|
|
2171
2321
|
}[] | undefined;
|
|
2172
2322
|
branchTree: any;
|
|
2173
2323
|
};
|
|
@@ -2223,6 +2373,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2223
2373
|
agentType: ChannelAgentType;
|
|
2224
2374
|
agentConfig: unknown;
|
|
2225
2375
|
contextSummary: string | null;
|
|
2376
|
+
resultSummary: string | null;
|
|
2377
|
+
mergedIntoStateId: string | null;
|
|
2226
2378
|
externalChannelId: string | null;
|
|
2227
2379
|
mergedAt: Date | null;
|
|
2228
2380
|
}[];
|
|
@@ -2246,6 +2398,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2246
2398
|
agentType: ChannelAgentType;
|
|
2247
2399
|
agentConfig: unknown;
|
|
2248
2400
|
contextSummary: string | null;
|
|
2401
|
+
resultSummary: string | null;
|
|
2402
|
+
mergedIntoStateId: string | null;
|
|
2249
2403
|
externalChannelId: string | null;
|
|
2250
2404
|
mergedAt: Date | null;
|
|
2251
2405
|
}[];
|
|
@@ -2269,6 +2423,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2269
2423
|
agentType: ChannelAgentType;
|
|
2270
2424
|
agentConfig: unknown;
|
|
2271
2425
|
contextSummary: string | null;
|
|
2426
|
+
resultSummary: string | null;
|
|
2427
|
+
mergedIntoStateId: string | null;
|
|
2272
2428
|
externalChannelId: string | null;
|
|
2273
2429
|
mergedAt: Date | null;
|
|
2274
2430
|
}[];
|
|
@@ -2293,6 +2449,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2293
2449
|
objectId: string;
|
|
2294
2450
|
relationshipType: ChannelContextRelationshipType;
|
|
2295
2451
|
conflictStatus: ChannelContextConflictStatus;
|
|
2452
|
+
relevanceScore: number | null;
|
|
2296
2453
|
}[];
|
|
2297
2454
|
entities: {
|
|
2298
2455
|
workspaceId: string;
|
|
@@ -2305,6 +2462,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2305
2462
|
objectId: string;
|
|
2306
2463
|
relationshipType: ChannelContextRelationshipType;
|
|
2307
2464
|
conflictStatus: ChannelContextConflictStatus;
|
|
2465
|
+
relevanceScore: number | null;
|
|
2308
2466
|
}[];
|
|
2309
2467
|
documents: {
|
|
2310
2468
|
workspaceId: string;
|
|
@@ -2317,15 +2475,42 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2317
2475
|
objectId: string;
|
|
2318
2476
|
relationshipType: ChannelContextRelationshipType;
|
|
2319
2477
|
conflictStatus: ChannelContextConflictStatus;
|
|
2478
|
+
relevanceScore: number | null;
|
|
2320
2479
|
}[];
|
|
2321
2480
|
};
|
|
2322
2481
|
meta: object;
|
|
2323
2482
|
}>;
|
|
2483
|
+
addContextItem: import("@trpc/server").TRPCMutationProcedure<{
|
|
2484
|
+
input: {
|
|
2485
|
+
channelId: string;
|
|
2486
|
+
objectType: "entity" | "view" | "document";
|
|
2487
|
+
objectId: string;
|
|
2488
|
+
};
|
|
2489
|
+
output: {
|
|
2490
|
+
ok: boolean;
|
|
2491
|
+
};
|
|
2492
|
+
meta: object;
|
|
2493
|
+
}>;
|
|
2494
|
+
removeContextItem: import("@trpc/server").TRPCMutationProcedure<{
|
|
2495
|
+
input: {
|
|
2496
|
+
channelId: string;
|
|
2497
|
+
objectId: string;
|
|
2498
|
+
objectType: "entity" | "view" | "document";
|
|
2499
|
+
};
|
|
2500
|
+
output: {
|
|
2501
|
+
ok: boolean;
|
|
2502
|
+
};
|
|
2503
|
+
meta: object;
|
|
2504
|
+
}>;
|
|
2324
2505
|
}>>;
|
|
2325
2506
|
proposals: import("@trpc/server").TRPCBuiltRouter<{
|
|
2326
2507
|
ctx: Context;
|
|
2327
2508
|
meta: object;
|
|
2328
|
-
errorShape:
|
|
2509
|
+
errorShape: {
|
|
2510
|
+
message: string;
|
|
2511
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2512
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
2513
|
+
};
|
|
2329
2514
|
transformer: true;
|
|
2330
2515
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2331
2516
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2438,13 +2623,21 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2438
2623
|
suggestions: import("@trpc/server").TRPCBuiltRouter<{
|
|
2439
2624
|
ctx: Context;
|
|
2440
2625
|
meta: object;
|
|
2441
|
-
errorShape:
|
|
2626
|
+
errorShape: {
|
|
2627
|
+
message: string;
|
|
2628
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2629
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
2630
|
+
};
|
|
2442
2631
|
transformer: true;
|
|
2443
2632
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{}>>;
|
|
2444
2633
|
system: import("@trpc/server").TRPCBuiltRouter<{
|
|
2445
2634
|
ctx: Context;
|
|
2446
2635
|
meta: object;
|
|
2447
|
-
errorShape:
|
|
2636
|
+
errorShape: {
|
|
2637
|
+
message: string;
|
|
2638
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2639
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
2640
|
+
};
|
|
2448
2641
|
transformer: true;
|
|
2449
2642
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2450
2643
|
getCapabilities: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2510,7 +2703,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2510
2703
|
input: {
|
|
2511
2704
|
type: string;
|
|
2512
2705
|
data: Record<string, unknown>;
|
|
2513
|
-
userId
|
|
2706
|
+
userId?: string | undefined;
|
|
2514
2707
|
subjectId?: string | undefined;
|
|
2515
2708
|
source?: "system" | "sync" | "api" | "automation" | "migration" | undefined;
|
|
2516
2709
|
correlationId?: string | undefined;
|
|
@@ -2649,7 +2842,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2649
2842
|
input: {
|
|
2650
2843
|
toolName: string;
|
|
2651
2844
|
parameters: Record<string, any>;
|
|
2652
|
-
userId: string;
|
|
2653
2845
|
threadId?: string | undefined;
|
|
2654
2846
|
};
|
|
2655
2847
|
output: {
|
|
@@ -2756,7 +2948,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2756
2948
|
hub: import("@trpc/server").TRPCBuiltRouter<{
|
|
2757
2949
|
ctx: Context;
|
|
2758
2950
|
meta: object;
|
|
2759
|
-
errorShape:
|
|
2951
|
+
errorShape: {
|
|
2952
|
+
message: string;
|
|
2953
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2954
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
2955
|
+
};
|
|
2760
2956
|
transformer: true;
|
|
2761
2957
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2762
2958
|
generateAccessToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -2821,7 +3017,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2821
3017
|
apiKeys: import("@trpc/server").TRPCBuiltRouter<{
|
|
2822
3018
|
ctx: Context;
|
|
2823
3019
|
meta: object;
|
|
2824
|
-
errorShape:
|
|
3020
|
+
errorShape: {
|
|
3021
|
+
message: string;
|
|
3022
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3023
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3024
|
+
};
|
|
2825
3025
|
transformer: true;
|
|
2826
3026
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2827
3027
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2952,7 +3152,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2952
3152
|
health: import("@trpc/server").TRPCBuiltRouter<{
|
|
2953
3153
|
ctx: Context;
|
|
2954
3154
|
meta: object;
|
|
2955
|
-
errorShape:
|
|
3155
|
+
errorShape: {
|
|
3156
|
+
message: string;
|
|
3157
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3158
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3159
|
+
};
|
|
2956
3160
|
transformer: true;
|
|
2957
3161
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2958
3162
|
alive: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -3011,7 +3215,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3011
3215
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
3012
3216
|
ctx: Context;
|
|
3013
3217
|
meta: object;
|
|
3014
|
-
errorShape:
|
|
3218
|
+
errorShape: {
|
|
3219
|
+
message: string;
|
|
3220
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3221
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3222
|
+
};
|
|
3015
3223
|
transformer: true;
|
|
3016
3224
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3017
3225
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -3087,7 +3295,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3087
3295
|
documents: import("@trpc/server").TRPCBuiltRouter<{
|
|
3088
3296
|
ctx: Context;
|
|
3089
3297
|
meta: object;
|
|
3090
|
-
errorShape:
|
|
3298
|
+
errorShape: {
|
|
3299
|
+
message: string;
|
|
3300
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3301
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3302
|
+
};
|
|
3091
3303
|
transformer: true;
|
|
3092
3304
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3093
3305
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -3295,7 +3507,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3295
3507
|
content: import("@trpc/server").TRPCBuiltRouter<{
|
|
3296
3508
|
ctx: Context;
|
|
3297
3509
|
meta: object;
|
|
3298
|
-
errorShape:
|
|
3510
|
+
errorShape: {
|
|
3511
|
+
message: string;
|
|
3512
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3513
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3514
|
+
};
|
|
3299
3515
|
transformer: true;
|
|
3300
3516
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3301
3517
|
createFromText: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -3334,7 +3550,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3334
3550
|
storage: import("@trpc/server").TRPCBuiltRouter<{
|
|
3335
3551
|
ctx: Context;
|
|
3336
3552
|
meta: object;
|
|
3337
|
-
errorShape:
|
|
3553
|
+
errorShape: {
|
|
3554
|
+
message: string;
|
|
3555
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3556
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3557
|
+
};
|
|
3338
3558
|
transformer: true;
|
|
3339
3559
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3340
3560
|
listBuckets: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -3448,7 +3668,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3448
3668
|
notifications: import("@trpc/server").TRPCBuiltRouter<{
|
|
3449
3669
|
ctx: Context;
|
|
3450
3670
|
meta: object;
|
|
3451
|
-
errorShape:
|
|
3671
|
+
errorShape: {
|
|
3672
|
+
message: string;
|
|
3673
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3674
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3675
|
+
};
|
|
3452
3676
|
transformer: true;
|
|
3453
3677
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3454
3678
|
ingest: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -3486,10 +3710,10 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3486
3710
|
userId: string;
|
|
3487
3711
|
id: string;
|
|
3488
3712
|
data: unknown;
|
|
3713
|
+
type: string;
|
|
3489
3714
|
updatedAt: Date;
|
|
3490
3715
|
createdAt: Date;
|
|
3491
3716
|
timestamp: Date;
|
|
3492
|
-
type: string;
|
|
3493
3717
|
title: string;
|
|
3494
3718
|
preview: string | null;
|
|
3495
3719
|
status: string | null;
|
|
@@ -3540,7 +3764,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3540
3764
|
intelligenceRegistry: import("@trpc/server").TRPCBuiltRouter<{
|
|
3541
3765
|
ctx: Context;
|
|
3542
3766
|
meta: object;
|
|
3543
|
-
errorShape:
|
|
3767
|
+
errorShape: {
|
|
3768
|
+
message: string;
|
|
3769
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3770
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
3771
|
+
};
|
|
3544
3772
|
transformer: true;
|
|
3545
3773
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3546
3774
|
register: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -3558,12 +3786,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3558
3786
|
output: {
|
|
3559
3787
|
name: string;
|
|
3560
3788
|
id: string;
|
|
3789
|
+
description: string | null;
|
|
3561
3790
|
updatedAt: Date;
|
|
3562
3791
|
createdAt: Date;
|
|
3563
3792
|
metadata: Record<string, unknown> | null;
|
|
3564
3793
|
version: string | null;
|
|
3565
3794
|
status: string;
|
|
3566
|
-
description: string | null;
|
|
3567
3795
|
capabilities: string[];
|
|
3568
3796
|
serviceId: string;
|
|
3569
3797
|
webhookUrl: string;
|
|
@@ -3604,12 +3832,12 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3604
3832
|
output: {
|
|
3605
3833
|
name: string;
|
|
3606
3834
|
id: string;
|
|
3835
|
+
description: string | null;
|
|
3607
3836
|
updatedAt: Date;
|
|
3608
3837
|
createdAt: Date;
|
|
3609
3838
|
metadata: Record<string, unknown> | null;
|
|
3610
3839
|
version: string | null;
|
|
3611
3840
|
status: string;
|
|
3612
|
-
description: string | null;
|
|
3613
3841
|
capabilities: string[];
|
|
3614
3842
|
serviceId: string;
|
|
3615
3843
|
webhookUrl: string;
|
|
@@ -3831,7 +4059,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3831
4059
|
intelligence: import("@trpc/server").TRPCBuiltRouter<{
|
|
3832
4060
|
ctx: Context;
|
|
3833
4061
|
meta: object;
|
|
3834
|
-
errorShape:
|
|
4062
|
+
errorShape: {
|
|
4063
|
+
message: string;
|
|
4064
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4065
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
4066
|
+
};
|
|
3835
4067
|
transformer: true;
|
|
3836
4068
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3837
4069
|
listCommands: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4152,6 +4384,25 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4152
4384
|
};
|
|
4153
4385
|
meta: object;
|
|
4154
4386
|
}>;
|
|
4387
|
+
relayToService: import("@trpc/server").TRPCMutationProcedure<{
|
|
4388
|
+
input: {
|
|
4389
|
+
serviceId: string;
|
|
4390
|
+
command: "configure_channel" | "install_skill" | "list_channels";
|
|
4391
|
+
payload?: Record<string, unknown> | undefined;
|
|
4392
|
+
};
|
|
4393
|
+
output: {
|
|
4394
|
+
success: boolean;
|
|
4395
|
+
pending: boolean;
|
|
4396
|
+
data: any;
|
|
4397
|
+
message?: undefined;
|
|
4398
|
+
} | {
|
|
4399
|
+
success: boolean;
|
|
4400
|
+
pending: boolean;
|
|
4401
|
+
message: string;
|
|
4402
|
+
data?: undefined;
|
|
4403
|
+
};
|
|
4404
|
+
meta: object;
|
|
4405
|
+
}>;
|
|
4155
4406
|
startAIChannel: import("@trpc/server").TRPCMutationProcedure<{
|
|
4156
4407
|
input: {
|
|
4157
4408
|
topic: string;
|
|
@@ -4172,11 +4423,72 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4172
4423
|
output: any;
|
|
4173
4424
|
meta: object;
|
|
4174
4425
|
}>;
|
|
4426
|
+
getServiceCommands: import("@trpc/server").TRPCQueryProcedure<{
|
|
4427
|
+
input: void;
|
|
4428
|
+
output: {
|
|
4429
|
+
commands: Record<string, string>;
|
|
4430
|
+
};
|
|
4431
|
+
meta: object;
|
|
4432
|
+
}>;
|
|
4433
|
+
provisionService: import("@trpc/server").TRPCMutationProcedure<{
|
|
4434
|
+
input: {
|
|
4435
|
+
serviceType: "openclaw";
|
|
4436
|
+
podUrlOverride?: string | undefined;
|
|
4437
|
+
};
|
|
4438
|
+
output: {
|
|
4439
|
+
alreadyProvisioned: boolean;
|
|
4440
|
+
agentUserId: string;
|
|
4441
|
+
dockerRunCommand: string | null;
|
|
4442
|
+
env: {
|
|
4443
|
+
SYNAP_POD_URL: string;
|
|
4444
|
+
SYNAP_HUB_API_KEY: string;
|
|
4445
|
+
SYNAP_WORKSPACE_ID: string;
|
|
4446
|
+
SYNAP_AGENT_USER_ID: string;
|
|
4447
|
+
};
|
|
4448
|
+
};
|
|
4449
|
+
meta: object;
|
|
4450
|
+
}>;
|
|
4451
|
+
provisionMcpService: import("@trpc/server").TRPCMutationProcedure<{
|
|
4452
|
+
input: {
|
|
4453
|
+
serviceType: "firecrawl";
|
|
4454
|
+
};
|
|
4455
|
+
output: {
|
|
4456
|
+
alreadyProvisioned: boolean;
|
|
4457
|
+
dockerRunCommand: string;
|
|
4458
|
+
};
|
|
4459
|
+
meta: object;
|
|
4460
|
+
}>;
|
|
4461
|
+
getLatestMemoryState: import("@trpc/server").TRPCQueryProcedure<{
|
|
4462
|
+
input: void;
|
|
4463
|
+
output: {
|
|
4464
|
+
id: string;
|
|
4465
|
+
version: number;
|
|
4466
|
+
compactionModel: string | null;
|
|
4467
|
+
createdAt: Date;
|
|
4468
|
+
blocks: {
|
|
4469
|
+
identity: string;
|
|
4470
|
+
userModel: string;
|
|
4471
|
+
continuity: string;
|
|
4472
|
+
activeGoals: string;
|
|
4473
|
+
entityContext: string;
|
|
4474
|
+
};
|
|
4475
|
+
metrics: {
|
|
4476
|
+
rawTokenCount: number | null;
|
|
4477
|
+
compressedTokenCount: number | null;
|
|
4478
|
+
compressionRatio: number | null;
|
|
4479
|
+
};
|
|
4480
|
+
} | null;
|
|
4481
|
+
meta: object;
|
|
4482
|
+
}>;
|
|
4175
4483
|
}>>;
|
|
4176
4484
|
capabilities: import("@trpc/server").TRPCBuiltRouter<{
|
|
4177
4485
|
ctx: Context;
|
|
4178
4486
|
meta: object;
|
|
4179
|
-
errorShape:
|
|
4487
|
+
errorShape: {
|
|
4488
|
+
message: string;
|
|
4489
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4490
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
4491
|
+
};
|
|
4180
4492
|
transformer: true;
|
|
4181
4493
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4182
4494
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4246,7 +4558,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4246
4558
|
search: import("@trpc/server").TRPCBuiltRouter<{
|
|
4247
4559
|
ctx: Context;
|
|
4248
4560
|
meta: object;
|
|
4249
|
-
errorShape:
|
|
4561
|
+
errorShape: {
|
|
4562
|
+
message: string;
|
|
4563
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4564
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
4565
|
+
};
|
|
4250
4566
|
transformer: true;
|
|
4251
4567
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4252
4568
|
entities: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4289,14 +4605,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4289
4605
|
workspaceId: string | null;
|
|
4290
4606
|
userId: string;
|
|
4291
4607
|
id: string;
|
|
4608
|
+
type: string;
|
|
4292
4609
|
updatedAt: Date;
|
|
4293
4610
|
createdAt: Date;
|
|
4294
|
-
type: string;
|
|
4295
4611
|
profileId: string | null;
|
|
4296
4612
|
title: string | null;
|
|
4297
4613
|
preview: string | null;
|
|
4298
4614
|
documentId: string | null;
|
|
4299
4615
|
properties: unknown;
|
|
4616
|
+
systemData: unknown;
|
|
4300
4617
|
version: number;
|
|
4301
4618
|
deletedAt: Date | null;
|
|
4302
4619
|
}[];
|
|
@@ -4317,7 +4634,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4317
4634
|
relations: import("@trpc/server").TRPCBuiltRouter<{
|
|
4318
4635
|
ctx: Context;
|
|
4319
4636
|
meta: object;
|
|
4320
|
-
errorShape:
|
|
4637
|
+
errorShape: {
|
|
4638
|
+
message: string;
|
|
4639
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4640
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
4641
|
+
};
|
|
4321
4642
|
transformer: true;
|
|
4322
4643
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4323
4644
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4331,8 +4652,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4331
4652
|
workspaceId: string;
|
|
4332
4653
|
userId: string;
|
|
4333
4654
|
id: string;
|
|
4334
|
-
createdAt: Date;
|
|
4335
4655
|
type: string;
|
|
4656
|
+
createdAt: Date;
|
|
4336
4657
|
metadata: unknown;
|
|
4337
4658
|
sourceEntityId: string;
|
|
4338
4659
|
targetEntityId: string;
|
|
@@ -4366,8 +4687,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4366
4687
|
workspaceId: string;
|
|
4367
4688
|
userId: string;
|
|
4368
4689
|
id: string;
|
|
4369
|
-
createdAt: Date;
|
|
4370
4690
|
type: string;
|
|
4691
|
+
createdAt: Date;
|
|
4371
4692
|
metadata: unknown;
|
|
4372
4693
|
sourceEntityId: string;
|
|
4373
4694
|
targetEntityId: string;
|
|
@@ -4387,14 +4708,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4387
4708
|
workspaceId: string | null;
|
|
4388
4709
|
userId: string;
|
|
4389
4710
|
id: string;
|
|
4711
|
+
type: string;
|
|
4390
4712
|
updatedAt: Date;
|
|
4391
4713
|
createdAt: Date;
|
|
4392
|
-
type: string;
|
|
4393
4714
|
profileId: string | null;
|
|
4394
4715
|
title: string | null;
|
|
4395
4716
|
preview: string | null;
|
|
4396
4717
|
documentId: string | null;
|
|
4397
4718
|
properties: unknown;
|
|
4719
|
+
systemData: unknown;
|
|
4398
4720
|
version: number;
|
|
4399
4721
|
deletedAt: Date | null;
|
|
4400
4722
|
}[];
|
|
@@ -4444,14 +4766,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4444
4766
|
workspaceId: string | null;
|
|
4445
4767
|
userId: string;
|
|
4446
4768
|
id: string;
|
|
4769
|
+
type: string;
|
|
4447
4770
|
updatedAt: Date;
|
|
4448
4771
|
createdAt: Date;
|
|
4449
|
-
type: string;
|
|
4450
4772
|
profileId: string | null;
|
|
4451
4773
|
title: string | null;
|
|
4452
4774
|
preview: string | null;
|
|
4453
4775
|
documentId: string | null;
|
|
4454
4776
|
properties: unknown;
|
|
4777
|
+
systemData: unknown;
|
|
4455
4778
|
version: number;
|
|
4456
4779
|
deletedAt: Date | null;
|
|
4457
4780
|
} | null;
|
|
@@ -4492,7 +4815,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4492
4815
|
graph: import("@trpc/server").TRPCBuiltRouter<{
|
|
4493
4816
|
ctx: Context;
|
|
4494
4817
|
meta: object;
|
|
4495
|
-
errorShape:
|
|
4818
|
+
errorShape: {
|
|
4819
|
+
message: string;
|
|
4820
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4821
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
4822
|
+
};
|
|
4496
4823
|
transformer: true;
|
|
4497
4824
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4498
4825
|
getNode: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4507,14 +4834,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4507
4834
|
workspaceId: string | null;
|
|
4508
4835
|
userId: string;
|
|
4509
4836
|
id: string;
|
|
4837
|
+
type: string;
|
|
4510
4838
|
updatedAt: Date;
|
|
4511
4839
|
createdAt: Date;
|
|
4512
|
-
type: string;
|
|
4513
4840
|
profileId: string | null;
|
|
4514
4841
|
title: string | null;
|
|
4515
4842
|
preview: string | null;
|
|
4516
4843
|
documentId: string | null;
|
|
4517
4844
|
properties: unknown;
|
|
4845
|
+
systemData: unknown;
|
|
4518
4846
|
version: number;
|
|
4519
4847
|
deletedAt: Date | null;
|
|
4520
4848
|
};
|
|
@@ -4526,14 +4854,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4526
4854
|
workspaceId: string | null;
|
|
4527
4855
|
userId: string;
|
|
4528
4856
|
id: string;
|
|
4857
|
+
type: string;
|
|
4529
4858
|
updatedAt: Date;
|
|
4530
4859
|
createdAt: Date;
|
|
4531
|
-
type: string;
|
|
4532
4860
|
profileId: string | null;
|
|
4533
4861
|
title: string | null;
|
|
4534
4862
|
preview: string | null;
|
|
4535
4863
|
documentId: string | null;
|
|
4536
4864
|
properties: unknown;
|
|
4865
|
+
systemData: unknown;
|
|
4537
4866
|
version: number;
|
|
4538
4867
|
deletedAt: Date | null;
|
|
4539
4868
|
};
|
|
@@ -4541,8 +4870,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4541
4870
|
workspaceId: string;
|
|
4542
4871
|
userId: string;
|
|
4543
4872
|
id: string;
|
|
4544
|
-
createdAt: Date;
|
|
4545
4873
|
type: string;
|
|
4874
|
+
createdAt: Date;
|
|
4546
4875
|
metadata: unknown;
|
|
4547
4876
|
sourceEntityId: string;
|
|
4548
4877
|
targetEntityId: string;
|
|
@@ -4568,14 +4897,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4568
4897
|
workspaceId: string | null;
|
|
4569
4898
|
userId: string;
|
|
4570
4899
|
id: string;
|
|
4900
|
+
type: string;
|
|
4571
4901
|
updatedAt: Date;
|
|
4572
4902
|
createdAt: Date;
|
|
4573
|
-
type: string;
|
|
4574
4903
|
profileId: string | null;
|
|
4575
4904
|
title: string | null;
|
|
4576
4905
|
preview: string | null;
|
|
4577
4906
|
documentId: string | null;
|
|
4578
4907
|
properties: unknown;
|
|
4908
|
+
systemData: unknown;
|
|
4579
4909
|
version: number;
|
|
4580
4910
|
deletedAt: Date | null;
|
|
4581
4911
|
}[];
|
|
@@ -4583,8 +4913,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4583
4913
|
workspaceId: string;
|
|
4584
4914
|
userId: string;
|
|
4585
4915
|
id: string;
|
|
4586
|
-
createdAt: Date;
|
|
4587
4916
|
type: string;
|
|
4917
|
+
createdAt: Date;
|
|
4588
4918
|
metadata: unknown;
|
|
4589
4919
|
sourceEntityId: string;
|
|
4590
4920
|
targetEntityId: string;
|
|
@@ -4624,7 +4954,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4624
4954
|
workspaces: import("@trpc/server").TRPCBuiltRouter<{
|
|
4625
4955
|
ctx: Context;
|
|
4626
4956
|
meta: object;
|
|
4627
|
-
errorShape:
|
|
4957
|
+
errorShape: {
|
|
4958
|
+
message: string;
|
|
4959
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4960
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
4961
|
+
};
|
|
4628
4962
|
transformer: true;
|
|
4629
4963
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4630
4964
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -4654,10 +4988,10 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4654
4988
|
joinedAt: Date;
|
|
4655
4989
|
name: string;
|
|
4656
4990
|
id: string;
|
|
4657
|
-
updatedAt: Date;
|
|
4658
|
-
createdAt: Date;
|
|
4659
4991
|
type: string;
|
|
4660
4992
|
description: string | null;
|
|
4993
|
+
updatedAt: Date;
|
|
4994
|
+
createdAt: Date;
|
|
4661
4995
|
settings: WorkspaceSettings;
|
|
4662
4996
|
ownerId: string;
|
|
4663
4997
|
subscriptionTier: string | null;
|
|
@@ -4674,10 +5008,10 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4674
5008
|
role: string;
|
|
4675
5009
|
name: string;
|
|
4676
5010
|
id: string;
|
|
4677
|
-
updatedAt: Date;
|
|
4678
|
-
createdAt: Date;
|
|
4679
5011
|
type: string;
|
|
4680
5012
|
description: string | null;
|
|
5013
|
+
updatedAt: Date;
|
|
5014
|
+
createdAt: Date;
|
|
4681
5015
|
settings: WorkspaceSettings;
|
|
4682
5016
|
ownerId: string;
|
|
4683
5017
|
subscriptionTier: string | null;
|
|
@@ -4894,8 +5228,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4894
5228
|
}[] | undefined;
|
|
4895
5229
|
}[] | undefined;
|
|
4896
5230
|
views?: {
|
|
4897
|
-
name: string;
|
|
4898
5231
|
type: string;
|
|
5232
|
+
name?: string | undefined;
|
|
5233
|
+
displayName?: string | undefined;
|
|
4899
5234
|
scopeProfileSlug?: string | undefined;
|
|
4900
5235
|
scopeProfileSlugs?: string[] | undefined;
|
|
4901
5236
|
config?: Record<string, unknown> | undefined;
|
|
@@ -4946,14 +5281,18 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4946
5281
|
defaultView?: string | undefined;
|
|
4947
5282
|
theme?: string | undefined;
|
|
4948
5283
|
sidebarItems?: {
|
|
4949
|
-
kind: "view" | "external" | "app";
|
|
5284
|
+
kind: "view" | "external" | "profile" | "app";
|
|
4950
5285
|
appId?: string | undefined;
|
|
4951
5286
|
viewName?: string | undefined;
|
|
5287
|
+
profileSlug?: string | undefined;
|
|
4952
5288
|
url?: string | undefined;
|
|
4953
5289
|
label?: string | undefined;
|
|
4954
5290
|
icon?: string | undefined;
|
|
4955
5291
|
}[] | undefined;
|
|
4956
5292
|
} | undefined;
|
|
5293
|
+
profileEntityBentoTemplates?: Record<string, {
|
|
5294
|
+
blocks: Record<string, unknown>[];
|
|
5295
|
+
}> | undefined;
|
|
4957
5296
|
entityLinks?: {
|
|
4958
5297
|
sourceProfileSlug: string;
|
|
4959
5298
|
targetProfileSlug: string;
|
|
@@ -5040,7 +5379,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5040
5379
|
views: import("@trpc/server").TRPCBuiltRouter<{
|
|
5041
5380
|
ctx: Context;
|
|
5042
5381
|
meta: object;
|
|
5043
|
-
errorShape:
|
|
5382
|
+
errorShape: {
|
|
5383
|
+
message: string;
|
|
5384
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
5385
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
5386
|
+
};
|
|
5044
5387
|
transformer: true;
|
|
5045
5388
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5046
5389
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -5080,13 +5423,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5080
5423
|
userId: string;
|
|
5081
5424
|
id: string;
|
|
5082
5425
|
query: unknown;
|
|
5426
|
+
type: string;
|
|
5427
|
+
description: string | null;
|
|
5083
5428
|
columns: unknown;
|
|
5084
5429
|
updatedAt: Date;
|
|
5085
5430
|
createdAt: Date;
|
|
5086
|
-
type: string;
|
|
5087
5431
|
metadata: unknown;
|
|
5088
5432
|
documentId: string | null;
|
|
5089
|
-
description: string | null;
|
|
5090
5433
|
category: string;
|
|
5091
5434
|
scopeProfileIds: string[] | null;
|
|
5092
5435
|
scopeMode: string | null;
|
|
@@ -5118,13 +5461,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5118
5461
|
userId: string;
|
|
5119
5462
|
id: string;
|
|
5120
5463
|
query: unknown;
|
|
5464
|
+
type: string;
|
|
5465
|
+
description: string | null;
|
|
5121
5466
|
columns: unknown;
|
|
5122
5467
|
updatedAt: Date;
|
|
5123
5468
|
createdAt: Date;
|
|
5124
|
-
type: string;
|
|
5125
5469
|
metadata: unknown;
|
|
5126
5470
|
documentId: string | null;
|
|
5127
|
-
description: string | null;
|
|
5128
5471
|
category: string;
|
|
5129
5472
|
scopeProfileIds: string[] | null;
|
|
5130
5473
|
scopeMode: string | null;
|
|
@@ -5152,13 +5495,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5152
5495
|
userId: string;
|
|
5153
5496
|
id: string;
|
|
5154
5497
|
query: unknown;
|
|
5498
|
+
type: string;
|
|
5499
|
+
description: string | null;
|
|
5155
5500
|
columns: unknown;
|
|
5156
5501
|
updatedAt: Date;
|
|
5157
5502
|
createdAt: Date;
|
|
5158
|
-
type: string;
|
|
5159
5503
|
metadata: unknown;
|
|
5160
5504
|
documentId: string | null;
|
|
5161
|
-
description: string | null;
|
|
5162
5505
|
category: string;
|
|
5163
5506
|
scopeProfileIds: string[] | null;
|
|
5164
5507
|
scopeMode: string | null;
|
|
@@ -5186,13 +5529,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5186
5529
|
userId: string;
|
|
5187
5530
|
id: string;
|
|
5188
5531
|
query: unknown;
|
|
5532
|
+
type: string;
|
|
5533
|
+
description: string | null;
|
|
5189
5534
|
columns: unknown;
|
|
5190
5535
|
updatedAt: Date;
|
|
5191
5536
|
createdAt: Date;
|
|
5192
|
-
type: string;
|
|
5193
5537
|
metadata: unknown;
|
|
5194
5538
|
documentId: string | null;
|
|
5195
|
-
description: string | null;
|
|
5196
5539
|
category: string;
|
|
5197
5540
|
scopeProfileIds: string[] | null;
|
|
5198
5541
|
scopeMode: string | null;
|
|
@@ -5221,13 +5564,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5221
5564
|
userId: string;
|
|
5222
5565
|
id: string;
|
|
5223
5566
|
query: unknown;
|
|
5567
|
+
type: string;
|
|
5568
|
+
description: string | null;
|
|
5224
5569
|
columns: unknown;
|
|
5225
5570
|
updatedAt: Date;
|
|
5226
5571
|
createdAt: Date;
|
|
5227
|
-
type: string;
|
|
5228
5572
|
metadata: unknown;
|
|
5229
5573
|
documentId: string | null;
|
|
5230
|
-
description: string | null;
|
|
5231
5574
|
category: string;
|
|
5232
5575
|
scopeProfileIds: string[] | null;
|
|
5233
5576
|
scopeMode: string | null;
|
|
@@ -5254,13 +5597,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5254
5597
|
userId: string;
|
|
5255
5598
|
id: string;
|
|
5256
5599
|
query: unknown;
|
|
5600
|
+
type: string;
|
|
5601
|
+
description: string | null;
|
|
5257
5602
|
columns: unknown;
|
|
5258
5603
|
updatedAt: Date;
|
|
5259
5604
|
createdAt: Date;
|
|
5260
|
-
type: string;
|
|
5261
5605
|
metadata: unknown;
|
|
5262
5606
|
documentId: string | null;
|
|
5263
|
-
description: string | null;
|
|
5264
5607
|
category: string;
|
|
5265
5608
|
scopeProfileIds: string[] | null;
|
|
5266
5609
|
scopeMode: string | null;
|
|
@@ -5286,6 +5629,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5286
5629
|
preview: string | null;
|
|
5287
5630
|
documentId: string | null;
|
|
5288
5631
|
properties: unknown;
|
|
5632
|
+
systemData: unknown;
|
|
5289
5633
|
version: number;
|
|
5290
5634
|
createdAt: Date;
|
|
5291
5635
|
updatedAt: Date;
|
|
@@ -5347,13 +5691,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5347
5691
|
userId: string;
|
|
5348
5692
|
id: string;
|
|
5349
5693
|
query: unknown;
|
|
5694
|
+
type: string;
|
|
5695
|
+
description: string | null;
|
|
5350
5696
|
columns: unknown;
|
|
5351
5697
|
updatedAt: Date;
|
|
5352
5698
|
createdAt: Date;
|
|
5353
|
-
type: string;
|
|
5354
5699
|
metadata: unknown;
|
|
5355
5700
|
documentId: string | null;
|
|
5356
|
-
description: string | null;
|
|
5357
5701
|
category: string;
|
|
5358
5702
|
scopeProfileIds: string[] | null;
|
|
5359
5703
|
scopeMode: string | null;
|
|
@@ -5402,11 +5746,24 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5402
5746
|
};
|
|
5403
5747
|
meta: object;
|
|
5404
5748
|
}>;
|
|
5749
|
+
ensureProfileBento: import("@trpc/server").TRPCMutationProcedure<{
|
|
5750
|
+
input: {
|
|
5751
|
+
profileSlug: string;
|
|
5752
|
+
};
|
|
5753
|
+
output: {
|
|
5754
|
+
viewId: string;
|
|
5755
|
+
};
|
|
5756
|
+
meta: object;
|
|
5757
|
+
}>;
|
|
5405
5758
|
}>>;
|
|
5406
5759
|
preferences: import("@trpc/server").TRPCBuiltRouter<{
|
|
5407
5760
|
ctx: Context;
|
|
5408
5761
|
meta: object;
|
|
5409
|
-
errorShape:
|
|
5762
|
+
errorShape: {
|
|
5763
|
+
message: string;
|
|
5764
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
5765
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
5766
|
+
};
|
|
5410
5767
|
transformer: true;
|
|
5411
5768
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5412
5769
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -5573,7 +5930,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5573
5930
|
roles: import("@trpc/server").TRPCBuiltRouter<{
|
|
5574
5931
|
ctx: Context;
|
|
5575
5932
|
meta: object;
|
|
5576
|
-
errorShape:
|
|
5933
|
+
errorShape: {
|
|
5934
|
+
message: string;
|
|
5935
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
5936
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
5937
|
+
};
|
|
5577
5938
|
transformer: true;
|
|
5578
5939
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5579
5940
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -5584,9 +5945,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5584
5945
|
name: string;
|
|
5585
5946
|
workspaceId: string | null;
|
|
5586
5947
|
id: string;
|
|
5948
|
+
description: string | null;
|
|
5587
5949
|
updatedAt: Date;
|
|
5588
5950
|
createdAt: Date;
|
|
5589
|
-
description: string | null;
|
|
5590
5951
|
createdBy: string;
|
|
5591
5952
|
permissions: unknown;
|
|
5592
5953
|
filters: unknown;
|
|
@@ -5601,9 +5962,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5601
5962
|
name: string;
|
|
5602
5963
|
workspaceId: string | null;
|
|
5603
5964
|
id: string;
|
|
5965
|
+
description: string | null;
|
|
5604
5966
|
updatedAt: Date;
|
|
5605
5967
|
createdAt: Date;
|
|
5606
|
-
description: string | null;
|
|
5607
5968
|
createdBy: string;
|
|
5608
5969
|
permissions: unknown;
|
|
5609
5970
|
filters: unknown;
|
|
@@ -5665,7 +6026,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5665
6026
|
sharing: import("@trpc/server").TRPCBuiltRouter<{
|
|
5666
6027
|
ctx: Context;
|
|
5667
6028
|
meta: object;
|
|
5668
|
-
errorShape:
|
|
6029
|
+
errorShape: {
|
|
6030
|
+
message: string;
|
|
6031
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6032
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6033
|
+
};
|
|
5669
6034
|
transformer: true;
|
|
5670
6035
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5671
6036
|
createPublicLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -5714,14 +6079,15 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5714
6079
|
workspaceId: string | null;
|
|
5715
6080
|
userId: string;
|
|
5716
6081
|
id: string;
|
|
6082
|
+
type: string;
|
|
5717
6083
|
updatedAt: Date;
|
|
5718
6084
|
createdAt: Date;
|
|
5719
|
-
type: string;
|
|
5720
6085
|
profileId: string | null;
|
|
5721
6086
|
title: string | null;
|
|
5722
6087
|
preview: string | null;
|
|
5723
6088
|
documentId: string | null;
|
|
5724
6089
|
properties: unknown;
|
|
6090
|
+
systemData: unknown;
|
|
5725
6091
|
version: number;
|
|
5726
6092
|
deletedAt: Date | null;
|
|
5727
6093
|
} | {
|
|
@@ -5730,13 +6096,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5730
6096
|
userId: string;
|
|
5731
6097
|
id: string;
|
|
5732
6098
|
query: unknown;
|
|
6099
|
+
type: string;
|
|
6100
|
+
description: string | null;
|
|
5733
6101
|
columns: unknown;
|
|
5734
6102
|
updatedAt: Date;
|
|
5735
6103
|
createdAt: Date;
|
|
5736
|
-
type: string;
|
|
5737
6104
|
metadata: unknown;
|
|
5738
6105
|
documentId: string | null;
|
|
5739
|
-
description: string | null;
|
|
5740
6106
|
category: string;
|
|
5741
6107
|
scopeProfileIds: string[] | null;
|
|
5742
6108
|
scopeMode: string | null;
|
|
@@ -5846,7 +6212,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5846
6212
|
templates: import("@trpc/server").TRPCBuiltRouter<{
|
|
5847
6213
|
ctx: Context;
|
|
5848
6214
|
meta: object;
|
|
5849
|
-
errorShape:
|
|
6215
|
+
errorShape: {
|
|
6216
|
+
message: string;
|
|
6217
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6218
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6219
|
+
};
|
|
5850
6220
|
transformer: true;
|
|
5851
6221
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5852
6222
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -5953,7 +6323,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5953
6323
|
fieldMapping: Record<string, {
|
|
5954
6324
|
slot: string;
|
|
5955
6325
|
renderer?: {
|
|
5956
|
-
type: "number" | "date" | "
|
|
6326
|
+
type: "number" | "date" | "link" | "relations" | "tag" | "text" | "badge" | "avatar" | "progress" | "checkbox" | "currency";
|
|
5957
6327
|
variant?: string | undefined;
|
|
5958
6328
|
size?: string | undefined;
|
|
5959
6329
|
format?: string | undefined;
|
|
@@ -6067,7 +6437,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6067
6437
|
fieldMapping: Record<string, {
|
|
6068
6438
|
slot: string;
|
|
6069
6439
|
renderer?: {
|
|
6070
|
-
type: "number" | "date" | "
|
|
6440
|
+
type: "number" | "date" | "link" | "relations" | "tag" | "text" | "badge" | "avatar" | "progress" | "checkbox" | "currency";
|
|
6071
6441
|
variant?: string | undefined;
|
|
6072
6442
|
size?: string | undefined;
|
|
6073
6443
|
format?: string | undefined;
|
|
@@ -6126,11 +6496,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6126
6496
|
workspaceId: string | null;
|
|
6127
6497
|
userId: string | null;
|
|
6128
6498
|
id: string;
|
|
6499
|
+
description: string | null;
|
|
6129
6500
|
updatedAt: Date;
|
|
6130
6501
|
createdAt: Date;
|
|
6131
6502
|
version: number;
|
|
6132
6503
|
entityType: string | null;
|
|
6133
|
-
description: string | null;
|
|
6134
6504
|
config: unknown;
|
|
6135
6505
|
targetType: string;
|
|
6136
6506
|
inboxItemType: string | null;
|
|
@@ -6153,7 +6523,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6153
6523
|
whiteboards: import("@trpc/server").TRPCBuiltRouter<{
|
|
6154
6524
|
ctx: Context;
|
|
6155
6525
|
meta: object;
|
|
6156
|
-
errorShape:
|
|
6526
|
+
errorShape: {
|
|
6527
|
+
message: string;
|
|
6528
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6529
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6530
|
+
};
|
|
6157
6531
|
transformer: true;
|
|
6158
6532
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6159
6533
|
saveVersion: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -6239,7 +6613,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6239
6613
|
skills: import("@trpc/server").TRPCBuiltRouter<{
|
|
6240
6614
|
ctx: Context;
|
|
6241
6615
|
meta: object;
|
|
6242
|
-
errorShape:
|
|
6616
|
+
errorShape: {
|
|
6617
|
+
message: string;
|
|
6618
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6619
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6620
|
+
};
|
|
6243
6621
|
transformer: true;
|
|
6244
6622
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6245
6623
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -6358,7 +6736,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6358
6736
|
backgroundTasks: import("@trpc/server").TRPCBuiltRouter<{
|
|
6359
6737
|
ctx: Context;
|
|
6360
6738
|
meta: object;
|
|
6361
|
-
errorShape:
|
|
6739
|
+
errorShape: {
|
|
6740
|
+
message: string;
|
|
6741
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6742
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6743
|
+
};
|
|
6362
6744
|
transformer: true;
|
|
6363
6745
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6364
6746
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -6440,7 +6822,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6440
6822
|
messageLinks: import("@trpc/server").TRPCBuiltRouter<{
|
|
6441
6823
|
ctx: Context;
|
|
6442
6824
|
meta: object;
|
|
6443
|
-
errorShape:
|
|
6825
|
+
errorShape: {
|
|
6826
|
+
message: string;
|
|
6827
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6828
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6829
|
+
};
|
|
6444
6830
|
transformer: true;
|
|
6445
6831
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6446
6832
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -6572,7 +6958,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6572
6958
|
profiles: import("@trpc/server").TRPCBuiltRouter<{
|
|
6573
6959
|
ctx: Context;
|
|
6574
6960
|
meta: object;
|
|
6575
|
-
errorShape:
|
|
6961
|
+
errorShape: {
|
|
6962
|
+
message: string;
|
|
6963
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6964
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
6965
|
+
};
|
|
6576
6966
|
transformer: true;
|
|
6577
6967
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6578
6968
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -6795,11 +7185,25 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6795
7185
|
};
|
|
6796
7186
|
meta: object;
|
|
6797
7187
|
}>;
|
|
7188
|
+
reorderProperties: import("@trpc/server").TRPCMutationProcedure<{
|
|
7189
|
+
input: {
|
|
7190
|
+
profileId: string;
|
|
7191
|
+
orderedPropertyDefIds: string[];
|
|
7192
|
+
};
|
|
7193
|
+
output: {
|
|
7194
|
+
success: boolean;
|
|
7195
|
+
};
|
|
7196
|
+
meta: object;
|
|
7197
|
+
}>;
|
|
6798
7198
|
}>>;
|
|
6799
7199
|
propertyDefs: import("@trpc/server").TRPCBuiltRouter<{
|
|
6800
7200
|
ctx: Context;
|
|
6801
7201
|
meta: object;
|
|
6802
|
-
errorShape:
|
|
7202
|
+
errorShape: {
|
|
7203
|
+
message: string;
|
|
7204
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7205
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7206
|
+
};
|
|
6803
7207
|
transformer: true;
|
|
6804
7208
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6805
7209
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -6906,7 +7310,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6906
7310
|
profileProperties: import("@trpc/server").TRPCBuiltRouter<{
|
|
6907
7311
|
ctx: Context;
|
|
6908
7312
|
meta: object;
|
|
6909
|
-
errorShape:
|
|
7313
|
+
errorShape: {
|
|
7314
|
+
message: string;
|
|
7315
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7316
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7317
|
+
};
|
|
6910
7318
|
transformer: true;
|
|
6911
7319
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6912
7320
|
link: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -6970,7 +7378,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6970
7378
|
relationDefs: import("@trpc/server").TRPCBuiltRouter<{
|
|
6971
7379
|
ctx: Context;
|
|
6972
7380
|
meta: object;
|
|
6973
|
-
errorShape:
|
|
7381
|
+
errorShape: {
|
|
7382
|
+
message: string;
|
|
7383
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7384
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7385
|
+
};
|
|
6974
7386
|
transformer: true;
|
|
6975
7387
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6976
7388
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -6980,9 +7392,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6980
7392
|
workspaceId: string;
|
|
6981
7393
|
userId: string;
|
|
6982
7394
|
id: string;
|
|
7395
|
+
description: string | null;
|
|
6983
7396
|
updatedAt: Date;
|
|
6984
7397
|
createdAt: Date;
|
|
6985
|
-
description: string | null;
|
|
6986
7398
|
slug: string;
|
|
6987
7399
|
uiHints: unknown;
|
|
6988
7400
|
displayName: string;
|
|
@@ -7004,9 +7416,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7004
7416
|
workspaceId: string;
|
|
7005
7417
|
userId: string;
|
|
7006
7418
|
id: string;
|
|
7419
|
+
description: string | null;
|
|
7007
7420
|
updatedAt: Date;
|
|
7008
7421
|
createdAt: Date;
|
|
7009
|
-
description: string | null;
|
|
7010
7422
|
slug: string;
|
|
7011
7423
|
uiHints: unknown;
|
|
7012
7424
|
displayName: string;
|
|
@@ -7028,9 +7440,9 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7028
7440
|
workspaceId: string;
|
|
7029
7441
|
userId: string;
|
|
7030
7442
|
id: string;
|
|
7443
|
+
description: string | null;
|
|
7031
7444
|
updatedAt: Date;
|
|
7032
7445
|
createdAt: Date;
|
|
7033
|
-
description: string | null;
|
|
7034
7446
|
slug: string;
|
|
7035
7447
|
uiHints: unknown;
|
|
7036
7448
|
displayName: string;
|
|
@@ -7052,7 +7464,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7052
7464
|
profileRelations: import("@trpc/server").TRPCBuiltRouter<{
|
|
7053
7465
|
ctx: Context;
|
|
7054
7466
|
meta: object;
|
|
7055
|
-
errorShape:
|
|
7467
|
+
errorShape: {
|
|
7468
|
+
message: string;
|
|
7469
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7470
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7471
|
+
};
|
|
7056
7472
|
transformer: true;
|
|
7057
7473
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7058
7474
|
link: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -7104,7 +7520,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7104
7520
|
agentUsers: import("@trpc/server").TRPCBuiltRouter<{
|
|
7105
7521
|
ctx: Context;
|
|
7106
7522
|
meta: object;
|
|
7107
|
-
errorShape:
|
|
7523
|
+
errorShape: {
|
|
7524
|
+
message: string;
|
|
7525
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7526
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7527
|
+
};
|
|
7108
7528
|
transformer: true;
|
|
7109
7529
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7110
7530
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -7167,7 +7587,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7167
7587
|
mcpServers: import("@trpc/server").TRPCBuiltRouter<{
|
|
7168
7588
|
ctx: Context;
|
|
7169
7589
|
meta: object;
|
|
7170
|
-
errorShape:
|
|
7590
|
+
errorShape: {
|
|
7591
|
+
message: string;
|
|
7592
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7593
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7594
|
+
};
|
|
7171
7595
|
transformer: true;
|
|
7172
7596
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7173
7597
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -7178,11 +7602,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7178
7602
|
workspaceId: string;
|
|
7179
7603
|
id: string;
|
|
7180
7604
|
errorMessage: string | null;
|
|
7605
|
+
description: string | null;
|
|
7181
7606
|
updatedAt: Date;
|
|
7182
7607
|
createdAt: Date;
|
|
7183
7608
|
metadata: Record<string, unknown>;
|
|
7184
7609
|
status: McpStatus;
|
|
7185
|
-
description: string | null;
|
|
7186
7610
|
url: string | null;
|
|
7187
7611
|
enabled: boolean;
|
|
7188
7612
|
slug: string;
|
|
@@ -7200,7 +7624,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7200
7624
|
input: {
|
|
7201
7625
|
slug: string;
|
|
7202
7626
|
name: string;
|
|
7203
|
-
transport: "
|
|
7627
|
+
transport: "stdio" | "http";
|
|
7204
7628
|
description?: string | undefined;
|
|
7205
7629
|
command?: string | undefined;
|
|
7206
7630
|
args?: string[] | undefined;
|
|
@@ -7213,11 +7637,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7213
7637
|
workspaceId: string;
|
|
7214
7638
|
id: string;
|
|
7215
7639
|
errorMessage: string | null;
|
|
7640
|
+
description: string | null;
|
|
7216
7641
|
updatedAt: Date;
|
|
7217
7642
|
createdAt: Date;
|
|
7218
7643
|
metadata: Record<string, unknown>;
|
|
7219
7644
|
status: McpStatus;
|
|
7220
|
-
description: string | null;
|
|
7221
7645
|
url: string | null;
|
|
7222
7646
|
enabled: boolean;
|
|
7223
7647
|
slug: string;
|
|
@@ -7238,7 +7662,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7238
7662
|
slug?: string | undefined;
|
|
7239
7663
|
name?: string | undefined;
|
|
7240
7664
|
description?: string | undefined;
|
|
7241
|
-
transport?: "
|
|
7665
|
+
transport?: "stdio" | "http" | undefined;
|
|
7242
7666
|
command?: string | undefined;
|
|
7243
7667
|
args?: string[] | undefined;
|
|
7244
7668
|
url?: string | undefined;
|
|
@@ -7325,6 +7749,18 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7325
7749
|
};
|
|
7326
7750
|
meta: object;
|
|
7327
7751
|
}>;
|
|
7752
|
+
listTools: import("@trpc/server").TRPCQueryProcedure<{
|
|
7753
|
+
input: {
|
|
7754
|
+
id: string;
|
|
7755
|
+
};
|
|
7756
|
+
output: {
|
|
7757
|
+
tools: {
|
|
7758
|
+
name: string;
|
|
7759
|
+
description: string;
|
|
7760
|
+
}[];
|
|
7761
|
+
};
|
|
7762
|
+
meta: object;
|
|
7763
|
+
}>;
|
|
7328
7764
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
7329
7765
|
input: {
|
|
7330
7766
|
id: string;
|
|
@@ -7338,7 +7774,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7338
7774
|
agentConfigs: import("@trpc/server").TRPCBuiltRouter<{
|
|
7339
7775
|
ctx: Context;
|
|
7340
7776
|
meta: object;
|
|
7341
|
-
errorShape:
|
|
7777
|
+
errorShape: {
|
|
7778
|
+
message: string;
|
|
7779
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7780
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
7781
|
+
};
|
|
7342
7782
|
transformer: true;
|
|
7343
7783
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7344
7784
|
list: import("@trpc/server").TRPCQueryProcedure<{
|