@synap-core/api-types 1.17.0 → 1.17.2
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 +427 -81
- package/package.json +1 -1
- package/src/generated.d.ts +427 -81
package/dist/generated.d.ts
CHANGED
|
@@ -2108,6 +2108,9 @@ export type Playbook = typeof playbooks.$inferSelect;
|
|
|
2108
2108
|
* source --feeds--> playbook (input-strategy source)
|
|
2109
2109
|
* tool --provided_by--> source (tool backed by a provider)
|
|
2110
2110
|
* participant|channel --member_of--> session (room participants)
|
|
2111
|
+
* entity(knowledge) --about--> tool | skill (knowledge↔config bridge)
|
|
2112
|
+
* entity(knowledge) --documents--> tool | skill (knowledge↔config bridge)
|
|
2113
|
+
* entity(knowledge) --concerns--> playbook|... (knowledge↔config bridge)
|
|
2111
2114
|
*
|
|
2112
2115
|
* Design doc: team/platform/playbooks-capability-substrate.mdx
|
|
2113
2116
|
*/
|
|
@@ -2117,7 +2120,23 @@ export type Playbook = typeof playbooks.$inferSelect;
|
|
|
2117
2120
|
*/
|
|
2118
2121
|
export type LinkEndpointType = "playbook" | "tool" | "skill" | "command" | "session" | "source" | "entity" | "channel" | "participant";
|
|
2119
2122
|
/** The relationship an edge expresses. */
|
|
2120
|
-
export type LinkType = "grants" | "requires" | "instantiated_from" | "used" | "targets" | "produced" | "member_of" | "feeds" | "promoted_to" | "provided_by";
|
|
2123
|
+
export type LinkType = "grants" | "requires" | "instantiated_from" | "used" | "targets" | "produced" | "member_of" | "feeds" | "promoted_to" | "provided_by" | "about" | "documents" | "concerns";
|
|
2124
|
+
/**
|
|
2125
|
+
* Playbook Runs Schema — the run ledger (executor spine, Phase 3)
|
|
2126
|
+
*
|
|
2127
|
+
* RUNTIME (not config, not entity DATA). A playbook_run is one execution of a
|
|
2128
|
+
* Playbook: created when `runPlaybook` dispatches a playbook to its executor
|
|
2129
|
+
* (`is-agent` | `external-agent` | `hybrid`). It links the config (`playbook_id`)
|
|
2130
|
+
* to the runtime (`session_id`) and records status/summary/error as the executor
|
|
2131
|
+
* reports back (capture-back via the Hub `POST /runs/:id/capture` route).
|
|
2132
|
+
*
|
|
2133
|
+
* Part of the Playbooks & Capability Substrate
|
|
2134
|
+
* (team/platform/playbooks-capability-substrate.mdx §4.3-4.4).
|
|
2135
|
+
*/
|
|
2136
|
+
/** Which "hands" ran this. Mirrors @synap/playbooks ExecutorRef. */
|
|
2137
|
+
export type PlaybookRunExecutorRef = "is-agent" | "external-agent" | "hybrid";
|
|
2138
|
+
/** Lifecycle of a run. */
|
|
2139
|
+
export type PlaybookRunStatus = "running" | "completed" | "failed" | "proposed";
|
|
2121
2140
|
/**
|
|
2122
2141
|
* EventRecord - Database representation of an event
|
|
2123
2142
|
*
|
|
@@ -2137,6 +2156,19 @@ export interface EventRecord {
|
|
|
2137
2156
|
causationId?: string;
|
|
2138
2157
|
correlationId?: string;
|
|
2139
2158
|
source: string;
|
|
2159
|
+
isAgent?: boolean;
|
|
2160
|
+
agentUserId?: string;
|
|
2161
|
+
agentType?: string;
|
|
2162
|
+
model?: string;
|
|
2163
|
+
provider?: string;
|
|
2164
|
+
costUsd?: number | null;
|
|
2165
|
+
tokensIn?: number;
|
|
2166
|
+
tokensOut?: number;
|
|
2167
|
+
tokensTotal?: number;
|
|
2168
|
+
latencyMs?: number;
|
|
2169
|
+
toolCount?: number;
|
|
2170
|
+
runStatus?: string;
|
|
2171
|
+
finishReason?: string;
|
|
2140
2172
|
}
|
|
2141
2173
|
/** Minimal message fields for list/preview */
|
|
2142
2174
|
export interface LinkedMessagePreview {
|
|
@@ -3198,6 +3230,45 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3198
3230
|
output: EventRecord[];
|
|
3199
3231
|
meta: object;
|
|
3200
3232
|
}>;
|
|
3233
|
+
listByCorrelationId: import("@trpc/server").TRPCQueryProcedure<{
|
|
3234
|
+
input: {
|
|
3235
|
+
correlationId: string;
|
|
3236
|
+
};
|
|
3237
|
+
output: {
|
|
3238
|
+
id: string;
|
|
3239
|
+
timestamp: Date;
|
|
3240
|
+
type: string;
|
|
3241
|
+
subjectType: string;
|
|
3242
|
+
subjectId: string;
|
|
3243
|
+
data: Record<string, unknown>;
|
|
3244
|
+
metadata: Record<string, unknown> | undefined;
|
|
3245
|
+
source: string;
|
|
3246
|
+
correlationId: string | undefined;
|
|
3247
|
+
userId: string;
|
|
3248
|
+
}[];
|
|
3249
|
+
meta: object;
|
|
3250
|
+
}>;
|
|
3251
|
+
aggregateTimeSeries: import("@trpc/server").TRPCQueryProcedure<{
|
|
3252
|
+
input: {
|
|
3253
|
+
workspaceId?: string | undefined;
|
|
3254
|
+
subjectId?: string | undefined;
|
|
3255
|
+
subjectType?: "user" | "message" | "apiKey" | "system" | "entity" | "chat" | "workspace" | "member" | "document" | "task" | "relation" | "project" | undefined;
|
|
3256
|
+
profileSlug?: string | undefined;
|
|
3257
|
+
eventTypes?: string[] | undefined;
|
|
3258
|
+
period?: "day" | "week" | "month" | undefined;
|
|
3259
|
+
range?: {
|
|
3260
|
+
from: unknown;
|
|
3261
|
+
to: unknown;
|
|
3262
|
+
} | undefined;
|
|
3263
|
+
};
|
|
3264
|
+
output: {
|
|
3265
|
+
points: {
|
|
3266
|
+
x: string;
|
|
3267
|
+
y: number;
|
|
3268
|
+
}[];
|
|
3269
|
+
};
|
|
3270
|
+
meta: object;
|
|
3271
|
+
}>;
|
|
3201
3272
|
count: import("@trpc/server").TRPCQueryProcedure<{
|
|
3202
3273
|
input: {
|
|
3203
3274
|
userId?: string | undefined;
|
|
@@ -3309,6 +3380,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3309
3380
|
}[];
|
|
3310
3381
|
followUp: string | null;
|
|
3311
3382
|
targetWorkspaceId: string | null;
|
|
3383
|
+
targetWorkspaceReason: string | null;
|
|
3384
|
+
targetWorkspaceConfidence: number | null;
|
|
3312
3385
|
dedupCandidates: Record<string, {
|
|
3313
3386
|
entityId: string;
|
|
3314
3387
|
title: string;
|
|
@@ -3333,6 +3406,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3333
3406
|
}[];
|
|
3334
3407
|
followUp: string | null;
|
|
3335
3408
|
targetWorkspaceId: string | null;
|
|
3409
|
+
targetWorkspaceReason: string | null;
|
|
3410
|
+
targetWorkspaceConfidence: number | null;
|
|
3336
3411
|
dedupCandidates: Record<string, {
|
|
3337
3412
|
entityId: string;
|
|
3338
3413
|
title: string;
|
|
@@ -3376,6 +3451,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3376
3451
|
relationType: string;
|
|
3377
3452
|
}[];
|
|
3378
3453
|
targetWorkspaceId?: string | null | undefined;
|
|
3454
|
+
idempotencyKey?: string | undefined;
|
|
3379
3455
|
};
|
|
3380
3456
|
output: {
|
|
3381
3457
|
created: {
|
|
@@ -3903,13 +3979,13 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3903
3979
|
createdByUserId: string | null;
|
|
3904
3980
|
createdAt: Date;
|
|
3905
3981
|
correlationId: string | null;
|
|
3982
|
+
agentUserId: string | null;
|
|
3906
3983
|
profileId: string | null;
|
|
3907
3984
|
title: string | null;
|
|
3908
3985
|
preview: string | null;
|
|
3909
3986
|
documentId: string | null;
|
|
3910
3987
|
version: number;
|
|
3911
3988
|
createdByKind: ProvenanceKind | null;
|
|
3912
|
-
agentUserId: string | null;
|
|
3913
3989
|
sourceProposalId: string | null;
|
|
3914
3990
|
deletedAt: Date | null;
|
|
3915
3991
|
};
|
|
@@ -3962,7 +4038,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3962
4038
|
input: {
|
|
3963
4039
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab";
|
|
3964
4040
|
workspaceId?: string | undefined;
|
|
3965
|
-
contextObjectType?: "user" | "entity" | "external" | "workspace" | "
|
|
4041
|
+
contextObjectType?: "user" | "entity" | "external" | "workspace" | "view" | "document" | "task" | "project" | undefined;
|
|
3966
4042
|
contextObjectId?: string | undefined;
|
|
3967
4043
|
parentChannelId?: string | undefined;
|
|
3968
4044
|
branchPurpose?: string | undefined;
|
|
@@ -4000,7 +4076,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4000
4076
|
title: string | null;
|
|
4001
4077
|
externalSource: string | null;
|
|
4002
4078
|
status: "active" | "merged" | "archived";
|
|
4003
|
-
scope: "user" | "
|
|
4079
|
+
scope: "user" | "workspace" | "pod";
|
|
4004
4080
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4005
4081
|
feedScope: "user" | "workspace" | null;
|
|
4006
4082
|
contextObjectType: string | null;
|
|
@@ -4041,6 +4117,21 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4041
4117
|
};
|
|
4042
4118
|
meta: object;
|
|
4043
4119
|
}>;
|
|
4120
|
+
createAndLinkToSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
4121
|
+
input: {
|
|
4122
|
+
sessionId: string;
|
|
4123
|
+
participants?: string[] | undefined;
|
|
4124
|
+
title?: string | undefined;
|
|
4125
|
+
};
|
|
4126
|
+
output: {
|
|
4127
|
+
channelId: string;
|
|
4128
|
+
status: "exists";
|
|
4129
|
+
} | {
|
|
4130
|
+
channelId: `${string}-${string}-${string}-${string}-${string}`;
|
|
4131
|
+
status: "created";
|
|
4132
|
+
};
|
|
4133
|
+
meta: object;
|
|
4134
|
+
}>;
|
|
4044
4135
|
createGroupChannel: import("@trpc/server").TRPCMutationProcedure<{
|
|
4045
4136
|
input: {
|
|
4046
4137
|
name: string;
|
|
@@ -4090,7 +4181,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4090
4181
|
deepAnalysis?: boolean | undefined;
|
|
4091
4182
|
channelType?: "personal" | "thread" | "sub_thread" | "agent_collab" | undefined;
|
|
4092
4183
|
contextObjectId?: string | undefined;
|
|
4093
|
-
contextObjectType?: "entity" | "
|
|
4184
|
+
contextObjectType?: "entity" | "view" | "document" | undefined;
|
|
4094
4185
|
branchPurpose?: string | undefined;
|
|
4095
4186
|
};
|
|
4096
4187
|
output: {
|
|
@@ -4121,7 +4212,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4121
4212
|
title: string | null;
|
|
4122
4213
|
externalSource: string | null;
|
|
4123
4214
|
status: "active" | "merged" | "archived";
|
|
4124
|
-
scope: "user" | "
|
|
4215
|
+
scope: "user" | "workspace" | "pod";
|
|
4125
4216
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4126
4217
|
feedScope: "user" | "workspace" | null;
|
|
4127
4218
|
contextObjectType: string | null;
|
|
@@ -4220,7 +4311,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4220
4311
|
error?: string | undefined;
|
|
4221
4312
|
title?: string | undefined;
|
|
4222
4313
|
description?: string | undefined;
|
|
4223
|
-
status?: "error" | "
|
|
4314
|
+
status?: "error" | "running" | "pending" | "complete" | undefined;
|
|
4224
4315
|
}[] | undefined;
|
|
4225
4316
|
agentType?: string | undefined;
|
|
4226
4317
|
} | null;
|
|
@@ -4283,7 +4374,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4283
4374
|
channelType?: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | undefined;
|
|
4284
4375
|
limit?: number | undefined;
|
|
4285
4376
|
contextObjectId?: string | undefined;
|
|
4286
|
-
contextObjectType?: "entity" | "
|
|
4377
|
+
contextObjectType?: "entity" | "view" | "document" | undefined;
|
|
4287
4378
|
assignedAgentId?: string | undefined;
|
|
4288
4379
|
agentUserId?: string | undefined;
|
|
4289
4380
|
};
|
|
@@ -4300,7 +4391,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4300
4391
|
input: {
|
|
4301
4392
|
workspaceId?: string | undefined;
|
|
4302
4393
|
contextObjectId?: string | undefined;
|
|
4303
|
-
contextObjectType?: "entity" | "
|
|
4394
|
+
contextObjectType?: "entity" | "view" | "document" | undefined;
|
|
4304
4395
|
limit?: number | undefined;
|
|
4305
4396
|
offset?: number | undefined;
|
|
4306
4397
|
};
|
|
@@ -4419,7 +4510,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4419
4510
|
title: string | null;
|
|
4420
4511
|
externalSource: string | null;
|
|
4421
4512
|
status: "active" | "merged" | "archived";
|
|
4422
|
-
scope: "user" | "
|
|
4513
|
+
scope: "user" | "workspace" | "pod";
|
|
4423
4514
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4424
4515
|
feedScope: "user" | "workspace" | null;
|
|
4425
4516
|
contextObjectType: string | null;
|
|
@@ -4485,7 +4576,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4485
4576
|
title: string | null;
|
|
4486
4577
|
externalSource: string | null;
|
|
4487
4578
|
status: "active" | "merged" | "archived";
|
|
4488
|
-
scope: "user" | "
|
|
4579
|
+
scope: "user" | "workspace" | "pod";
|
|
4489
4580
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4490
4581
|
feedScope: "user" | "workspace" | null;
|
|
4491
4582
|
contextObjectType: string | null;
|
|
@@ -4513,7 +4604,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4513
4604
|
createdAt: Date;
|
|
4514
4605
|
channelId: string;
|
|
4515
4606
|
relevanceScore: number | null;
|
|
4516
|
-
objectType: "entity" | "
|
|
4607
|
+
objectType: "entity" | "proposal" | "view" | "document" | "inbox_item";
|
|
4517
4608
|
objectId: string;
|
|
4518
4609
|
relationshipType: "created" | "updated" | "used_as_context" | "referenced" | "inherited_from_parent";
|
|
4519
4610
|
conflictStatus: "pending" | "none" | "resolved";
|
|
@@ -4594,7 +4685,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4594
4685
|
title: string | null;
|
|
4595
4686
|
externalSource: string | null;
|
|
4596
4687
|
status: "active" | "merged" | "archived";
|
|
4597
|
-
scope: "user" | "
|
|
4688
|
+
scope: "user" | "workspace" | "pod";
|
|
4598
4689
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4599
4690
|
feedScope: "user" | "workspace" | null;
|
|
4600
4691
|
contextObjectType: string | null;
|
|
@@ -4624,7 +4715,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4624
4715
|
title: string | null;
|
|
4625
4716
|
externalSource: string | null;
|
|
4626
4717
|
status: "active" | "merged" | "archived";
|
|
4627
|
-
scope: "user" | "
|
|
4718
|
+
scope: "user" | "workspace" | "pod";
|
|
4628
4719
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4629
4720
|
feedScope: "user" | "workspace" | null;
|
|
4630
4721
|
contextObjectType: string | null;
|
|
@@ -4654,7 +4745,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4654
4745
|
title: string | null;
|
|
4655
4746
|
externalSource: string | null;
|
|
4656
4747
|
status: "active" | "merged" | "archived";
|
|
4657
|
-
scope: "user" | "
|
|
4748
|
+
scope: "user" | "workspace" | "pod";
|
|
4658
4749
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4659
4750
|
feedScope: "user" | "workspace" | null;
|
|
4660
4751
|
contextObjectType: string | null;
|
|
@@ -4680,7 +4771,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4680
4771
|
getChannelContext: import("@trpc/server").TRPCQueryProcedure<{
|
|
4681
4772
|
input: {
|
|
4682
4773
|
channelId: string;
|
|
4683
|
-
objectTypes?: ("entity" | "
|
|
4774
|
+
objectTypes?: ("entity" | "proposal" | "view" | "document" | "inbox_item")[] | undefined;
|
|
4684
4775
|
relationshipTypes?: ("created" | "updated" | "used_as_context" | "referenced" | "inherited_from_parent")[] | undefined;
|
|
4685
4776
|
};
|
|
4686
4777
|
output: {
|
|
@@ -4692,7 +4783,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4692
4783
|
createdAt: Date;
|
|
4693
4784
|
channelId: string;
|
|
4694
4785
|
relevanceScore: number | null;
|
|
4695
|
-
objectType: "entity" | "
|
|
4786
|
+
objectType: "entity" | "proposal" | "view" | "document" | "inbox_item";
|
|
4696
4787
|
objectId: string;
|
|
4697
4788
|
relationshipType: "created" | "updated" | "used_as_context" | "referenced" | "inherited_from_parent";
|
|
4698
4789
|
conflictStatus: "pending" | "none" | "resolved";
|
|
@@ -4705,7 +4796,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4705
4796
|
createdAt: Date;
|
|
4706
4797
|
channelId: string;
|
|
4707
4798
|
relevanceScore: number | null;
|
|
4708
|
-
objectType: "entity" | "
|
|
4799
|
+
objectType: "entity" | "proposal" | "view" | "document" | "inbox_item";
|
|
4709
4800
|
objectId: string;
|
|
4710
4801
|
relationshipType: "created" | "updated" | "used_as_context" | "referenced" | "inherited_from_parent";
|
|
4711
4802
|
conflictStatus: "pending" | "none" | "resolved";
|
|
@@ -4718,7 +4809,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4718
4809
|
createdAt: Date;
|
|
4719
4810
|
channelId: string;
|
|
4720
4811
|
relevanceScore: number | null;
|
|
4721
|
-
objectType: "entity" | "
|
|
4812
|
+
objectType: "entity" | "proposal" | "view" | "document" | "inbox_item";
|
|
4722
4813
|
objectId: string;
|
|
4723
4814
|
relationshipType: "created" | "updated" | "used_as_context" | "referenced" | "inherited_from_parent";
|
|
4724
4815
|
conflictStatus: "pending" | "none" | "resolved";
|
|
@@ -4729,7 +4820,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4729
4820
|
addContextItem: import("@trpc/server").TRPCMutationProcedure<{
|
|
4730
4821
|
input: {
|
|
4731
4822
|
channelId: string;
|
|
4732
|
-
objectType: "entity" | "
|
|
4823
|
+
objectType: "entity" | "view" | "document";
|
|
4733
4824
|
objectId: string;
|
|
4734
4825
|
};
|
|
4735
4826
|
output: {
|
|
@@ -4751,7 +4842,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4751
4842
|
input: {
|
|
4752
4843
|
channelId: string;
|
|
4753
4844
|
objectId: string;
|
|
4754
|
-
objectType: "entity" | "
|
|
4845
|
+
objectType: "entity" | "view" | "document";
|
|
4755
4846
|
};
|
|
4756
4847
|
output: {
|
|
4757
4848
|
ok: boolean;
|
|
@@ -4819,7 +4910,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4819
4910
|
title: string | null;
|
|
4820
4911
|
externalSource: string | null;
|
|
4821
4912
|
status: "active" | "merged" | "archived";
|
|
4822
|
-
scope: "user" | "
|
|
4913
|
+
scope: "user" | "workspace" | "pod";
|
|
4823
4914
|
channelType: "external" | "personal" | "thread" | "sub_thread" | "feed" | "agent_collab" | "group";
|
|
4824
4915
|
feedScope: "user" | "workspace" | null;
|
|
4825
4916
|
contextObjectType: string | null;
|
|
@@ -4958,7 +5049,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4958
5049
|
limit?: number | undefined;
|
|
4959
5050
|
offset?: number | undefined;
|
|
4960
5051
|
workspaceId?: string | null | undefined;
|
|
4961
|
-
targetType?: "entity" | "
|
|
5052
|
+
targetType?: "entity" | "view" | "document" | "whiteboard" | "profile" | undefined;
|
|
4962
5053
|
targetId?: string | undefined;
|
|
4963
5054
|
threadId?: string | undefined;
|
|
4964
5055
|
correlationId?: string | undefined;
|
|
@@ -5143,7 +5234,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5143
5234
|
}>;
|
|
5144
5235
|
submit: import("@trpc/server").TRPCMutationProcedure<{
|
|
5145
5236
|
input: {
|
|
5146
|
-
targetType: "entity" | "workspace" | "
|
|
5237
|
+
targetType: "entity" | "workspace" | "view" | "document" | "relation" | "profile";
|
|
5147
5238
|
changeType: "create" | "update" | "delete";
|
|
5148
5239
|
data: Record<string, any>;
|
|
5149
5240
|
targetId?: string | undefined;
|
|
@@ -6914,11 +7005,11 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6914
7005
|
timestamp: Date;
|
|
6915
7006
|
updatedAt: Date;
|
|
6916
7007
|
createdAt: Date;
|
|
7008
|
+
provider: string;
|
|
6917
7009
|
title: string;
|
|
6918
7010
|
preview: string | null;
|
|
6919
7011
|
status: string | null;
|
|
6920
7012
|
externalId: string;
|
|
6921
|
-
provider: string;
|
|
6922
7013
|
account: string;
|
|
6923
7014
|
deepLink: string | null;
|
|
6924
7015
|
snoozedUntil: Date | null;
|
|
@@ -7435,7 +7526,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7435
7526
|
allowedEntityTypes: string[] | null;
|
|
7436
7527
|
maxEntitiesCreatedPerRun: number | null;
|
|
7437
7528
|
canCreateViews: boolean;
|
|
7438
|
-
outputMode: "
|
|
7529
|
+
outputMode: "proposal" | "view" | "text";
|
|
7439
7530
|
permissionsProfile: "read_only" | "propose_writes";
|
|
7440
7531
|
sharedScope: "user" | "workspace";
|
|
7441
7532
|
}[];
|
|
@@ -7461,7 +7552,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7461
7552
|
allowedEntityTypes: string[] | null;
|
|
7462
7553
|
maxEntitiesCreatedPerRun: number | null;
|
|
7463
7554
|
canCreateViews: boolean;
|
|
7464
|
-
outputMode: "
|
|
7555
|
+
outputMode: "proposal" | "view" | "text";
|
|
7465
7556
|
permissionsProfile: "read_only" | "propose_writes";
|
|
7466
7557
|
sharedScope: "user" | "workspace";
|
|
7467
7558
|
};
|
|
@@ -7476,7 +7567,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7476
7567
|
allowedEntityTypes?: string[] | undefined;
|
|
7477
7568
|
maxEntitiesCreatedPerRun?: number | undefined;
|
|
7478
7569
|
canCreateViews?: boolean | undefined;
|
|
7479
|
-
outputMode?: "
|
|
7570
|
+
outputMode?: "proposal" | "view" | "text" | undefined;
|
|
7480
7571
|
permissionsProfile?: "read_only" | "propose_writes" | undefined;
|
|
7481
7572
|
sharedScope?: "user" | "workspace" | undefined;
|
|
7482
7573
|
};
|
|
@@ -7495,7 +7586,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7495
7586
|
allowedEntityTypes: string[] | null;
|
|
7496
7587
|
maxEntitiesCreatedPerRun: number | null;
|
|
7497
7588
|
canCreateViews: boolean;
|
|
7498
|
-
outputMode: "
|
|
7589
|
+
outputMode: "proposal" | "view" | "text";
|
|
7499
7590
|
permissionsProfile: "read_only" | "propose_writes";
|
|
7500
7591
|
sharedScope: "user" | "workspace";
|
|
7501
7592
|
};
|
|
@@ -7511,7 +7602,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7511
7602
|
allowedEntityTypes?: string[] | undefined;
|
|
7512
7603
|
maxEntitiesCreatedPerRun?: number | null | undefined;
|
|
7513
7604
|
canCreateViews?: boolean | undefined;
|
|
7514
|
-
outputMode?: "
|
|
7605
|
+
outputMode?: "proposal" | "view" | "text" | undefined;
|
|
7515
7606
|
permissionsProfile?: "read_only" | "propose_writes" | undefined;
|
|
7516
7607
|
sharedScope?: "user" | "workspace" | undefined;
|
|
7517
7608
|
};
|
|
@@ -7528,7 +7619,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7528
7619
|
allowedEntityTypes: string[] | null;
|
|
7529
7620
|
maxEntitiesCreatedPerRun: number | null;
|
|
7530
7621
|
canCreateViews: boolean;
|
|
7531
|
-
outputMode: "
|
|
7622
|
+
outputMode: "proposal" | "view" | "text";
|
|
7532
7623
|
permissionsProfile: "read_only" | "propose_writes";
|
|
7533
7624
|
sharedScope: "user" | "workspace";
|
|
7534
7625
|
createdAt: Date;
|
|
@@ -8134,6 +8225,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8134
8225
|
createdByUserId: string | null;
|
|
8135
8226
|
createdAt: Date;
|
|
8136
8227
|
correlationId: string | null;
|
|
8228
|
+
agentUserId: string | null;
|
|
8137
8229
|
profileId: string | null;
|
|
8138
8230
|
title: string | null;
|
|
8139
8231
|
preview: string | null;
|
|
@@ -8142,7 +8234,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8142
8234
|
systemData: unknown;
|
|
8143
8235
|
version: number;
|
|
8144
8236
|
createdByKind: ProvenanceKind | null;
|
|
8145
|
-
agentUserId: string | null;
|
|
8146
8237
|
sourceProposalId: string | null;
|
|
8147
8238
|
deletedAt: Date | null;
|
|
8148
8239
|
}[];
|
|
@@ -8186,8 +8277,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8186
8277
|
createdAt: Date;
|
|
8187
8278
|
metadata: unknown;
|
|
8188
8279
|
correlationId: string | null;
|
|
8189
|
-
createdByKind: ProvenanceKind | null;
|
|
8190
8280
|
agentUserId: string | null;
|
|
8281
|
+
createdByKind: ProvenanceKind | null;
|
|
8191
8282
|
sourceProposalId: string | null;
|
|
8192
8283
|
sourceEntityId: string | null;
|
|
8193
8284
|
targetEntityId: string | null;
|
|
@@ -8230,8 +8321,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8230
8321
|
createdAt: Date;
|
|
8231
8322
|
metadata: unknown;
|
|
8232
8323
|
correlationId: string | null;
|
|
8233
|
-
createdByKind: ProvenanceKind | null;
|
|
8234
8324
|
agentUserId: string | null;
|
|
8325
|
+
createdByKind: ProvenanceKind | null;
|
|
8235
8326
|
sourceProposalId: string | null;
|
|
8236
8327
|
sourceEntityId: string | null;
|
|
8237
8328
|
targetEntityId: string | null;
|
|
@@ -8260,6 +8351,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8260
8351
|
createdByUserId: string | null;
|
|
8261
8352
|
createdAt: Date;
|
|
8262
8353
|
correlationId: string | null;
|
|
8354
|
+
agentUserId: string | null;
|
|
8263
8355
|
profileId: string | null;
|
|
8264
8356
|
title: string | null;
|
|
8265
8357
|
preview: string | null;
|
|
@@ -8268,10 +8360,21 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8268
8360
|
systemData: unknown;
|
|
8269
8361
|
version: number;
|
|
8270
8362
|
createdByKind: ProvenanceKind | null;
|
|
8271
|
-
agentUserId: string | null;
|
|
8272
8363
|
sourceProposalId: string | null;
|
|
8273
8364
|
deletedAt: Date | null;
|
|
8274
8365
|
}[];
|
|
8366
|
+
configLinks: {
|
|
8367
|
+
workspaceId: string | null;
|
|
8368
|
+
id: string;
|
|
8369
|
+
createdAt: Date;
|
|
8370
|
+
metadata: unknown;
|
|
8371
|
+
createdBy: string | null;
|
|
8372
|
+
linkType: LinkType;
|
|
8373
|
+
fromType: LinkEndpointType;
|
|
8374
|
+
fromId: string;
|
|
8375
|
+
toType: LinkEndpointType;
|
|
8376
|
+
toId: string;
|
|
8377
|
+
}[];
|
|
8275
8378
|
};
|
|
8276
8379
|
meta: object;
|
|
8277
8380
|
}>;
|
|
@@ -8323,6 +8426,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8323
8426
|
createdByUserId: string | null;
|
|
8324
8427
|
createdAt: Date;
|
|
8325
8428
|
correlationId: string | null;
|
|
8429
|
+
agentUserId: string | null;
|
|
8326
8430
|
profileId: string | null;
|
|
8327
8431
|
title: string | null;
|
|
8328
8432
|
preview: string | null;
|
|
@@ -8331,7 +8435,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8331
8435
|
systemData: unknown;
|
|
8332
8436
|
version: number;
|
|
8333
8437
|
createdByKind: ProvenanceKind | null;
|
|
8334
|
-
agentUserId: string | null;
|
|
8335
8438
|
sourceProposalId: string | null;
|
|
8336
8439
|
deletedAt: Date | null;
|
|
8337
8440
|
} | null;
|
|
@@ -8453,6 +8556,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8453
8556
|
createdByUserId: string | null;
|
|
8454
8557
|
createdAt: Date;
|
|
8455
8558
|
correlationId: string | null;
|
|
8559
|
+
agentUserId: string | null;
|
|
8456
8560
|
profileId: string | null;
|
|
8457
8561
|
title: string | null;
|
|
8458
8562
|
preview: string | null;
|
|
@@ -8461,7 +8565,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8461
8565
|
systemData: unknown;
|
|
8462
8566
|
version: number;
|
|
8463
8567
|
createdByKind: ProvenanceKind | null;
|
|
8464
|
-
agentUserId: string | null;
|
|
8465
8568
|
sourceProposalId: string | null;
|
|
8466
8569
|
deletedAt: Date | null;
|
|
8467
8570
|
};
|
|
@@ -8478,6 +8581,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8478
8581
|
createdByUserId: string | null;
|
|
8479
8582
|
createdAt: Date;
|
|
8480
8583
|
correlationId: string | null;
|
|
8584
|
+
agentUserId: string | null;
|
|
8481
8585
|
profileId: string | null;
|
|
8482
8586
|
title: string | null;
|
|
8483
8587
|
preview: string | null;
|
|
@@ -8486,7 +8590,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8486
8590
|
systemData: unknown;
|
|
8487
8591
|
version: number;
|
|
8488
8592
|
createdByKind: ProvenanceKind | null;
|
|
8489
|
-
agentUserId: string | null;
|
|
8490
8593
|
sourceProposalId: string | null;
|
|
8491
8594
|
deletedAt: Date | null;
|
|
8492
8595
|
};
|
|
@@ -8499,8 +8602,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8499
8602
|
createdAt: Date;
|
|
8500
8603
|
metadata: unknown;
|
|
8501
8604
|
correlationId: string | null;
|
|
8502
|
-
createdByKind: ProvenanceKind | null;
|
|
8503
8605
|
agentUserId: string | null;
|
|
8606
|
+
createdByKind: ProvenanceKind | null;
|
|
8504
8607
|
sourceProposalId: string | null;
|
|
8505
8608
|
sourceEntityId: string | null;
|
|
8506
8609
|
targetEntityId: string | null;
|
|
@@ -8535,6 +8638,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8535
8638
|
createdByUserId: string | null;
|
|
8536
8639
|
createdAt: Date;
|
|
8537
8640
|
correlationId: string | null;
|
|
8641
|
+
agentUserId: string | null;
|
|
8538
8642
|
profileId: string | null;
|
|
8539
8643
|
title: string | null;
|
|
8540
8644
|
preview: string | null;
|
|
@@ -8543,7 +8647,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8543
8647
|
systemData: unknown;
|
|
8544
8648
|
version: number;
|
|
8545
8649
|
createdByKind: ProvenanceKind | null;
|
|
8546
|
-
agentUserId: string | null;
|
|
8547
8650
|
sourceProposalId: string | null;
|
|
8548
8651
|
deletedAt: Date | null;
|
|
8549
8652
|
}[];
|
|
@@ -8556,8 +8659,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8556
8659
|
createdAt: Date;
|
|
8557
8660
|
metadata: unknown;
|
|
8558
8661
|
correlationId: string | null;
|
|
8559
|
-
createdByKind: ProvenanceKind | null;
|
|
8560
8662
|
agentUserId: string | null;
|
|
8663
|
+
createdByKind: ProvenanceKind | null;
|
|
8561
8664
|
sourceProposalId: string | null;
|
|
8562
8665
|
sourceEntityId: string | null;
|
|
8563
8666
|
targetEntityId: string | null;
|
|
@@ -8591,8 +8694,8 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8591
8694
|
createdAt: Date;
|
|
8592
8695
|
metadata: unknown;
|
|
8593
8696
|
correlationId: string | null;
|
|
8594
|
-
createdByKind: ProvenanceKind | null;
|
|
8595
8697
|
agentUserId: string | null;
|
|
8698
|
+
createdByKind: ProvenanceKind | null;
|
|
8596
8699
|
sourceProposalId: string | null;
|
|
8597
8700
|
sourceEntityId: string | null;
|
|
8598
8701
|
targetEntityId: string | null;
|
|
@@ -8975,7 +9078,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8975
9078
|
email: string;
|
|
8976
9079
|
workspaceId: string | null;
|
|
8977
9080
|
id: string;
|
|
8978
|
-
type: "
|
|
9081
|
+
type: "workspace" | "pod";
|
|
8979
9082
|
token: string;
|
|
8980
9083
|
createdAt: Date;
|
|
8981
9084
|
role: string;
|
|
@@ -8989,14 +9092,14 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8989
9092
|
}>;
|
|
8990
9093
|
listInvites: import("@trpc/server").TRPCQueryProcedure<{
|
|
8991
9094
|
input: {
|
|
8992
|
-
type: "
|
|
9095
|
+
type: "workspace" | "pod";
|
|
8993
9096
|
workspaceId?: string | undefined;
|
|
8994
9097
|
};
|
|
8995
9098
|
output: {
|
|
8996
9099
|
email: string;
|
|
8997
9100
|
workspaceId: string | null;
|
|
8998
9101
|
id: string;
|
|
8999
|
-
type: "
|
|
9102
|
+
type: "workspace" | "pod";
|
|
9000
9103
|
token: string;
|
|
9001
9104
|
createdAt: Date;
|
|
9002
9105
|
role: string;
|
|
@@ -9053,7 +9156,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9053
9156
|
input: void;
|
|
9054
9157
|
output: {
|
|
9055
9158
|
id: string;
|
|
9056
|
-
type: "
|
|
9159
|
+
type: "workspace" | "pod";
|
|
9057
9160
|
email: string;
|
|
9058
9161
|
role: string;
|
|
9059
9162
|
token: string;
|
|
@@ -10190,7 +10293,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10190
10293
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
10191
10294
|
createPublicLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
10192
10295
|
input: {
|
|
10193
|
-
resourceType: "entity" | "
|
|
10296
|
+
resourceType: "entity" | "view" | "document";
|
|
10194
10297
|
resourceId: string;
|
|
10195
10298
|
expiresInDays?: number | undefined;
|
|
10196
10299
|
access?: "workspace_only" | "anyone_with_link" | undefined;
|
|
@@ -10205,7 +10308,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10205
10308
|
}>;
|
|
10206
10309
|
invite: import("@trpc/server").TRPCMutationProcedure<{
|
|
10207
10310
|
input: {
|
|
10208
|
-
resourceType: "entity" | "
|
|
10311
|
+
resourceType: "entity" | "view" | "document";
|
|
10209
10312
|
resourceId: string;
|
|
10210
10313
|
userEmail: string;
|
|
10211
10314
|
};
|
|
@@ -10239,6 +10342,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10239
10342
|
createdByUserId: string | null;
|
|
10240
10343
|
createdAt: Date;
|
|
10241
10344
|
correlationId: string | null;
|
|
10345
|
+
agentUserId: string | null;
|
|
10242
10346
|
profileId: string | null;
|
|
10243
10347
|
title: string | null;
|
|
10244
10348
|
preview: string | null;
|
|
@@ -10247,7 +10351,6 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10247
10351
|
systemData: unknown;
|
|
10248
10352
|
version: number;
|
|
10249
10353
|
createdByKind: ProvenanceKind | null;
|
|
10250
|
-
agentUserId: string | null;
|
|
10251
10354
|
sourceProposalId: string | null;
|
|
10252
10355
|
deletedAt: Date | null;
|
|
10253
10356
|
} | {
|
|
@@ -10312,7 +10415,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10312
10415
|
}>;
|
|
10313
10416
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
10314
10417
|
input: {
|
|
10315
|
-
resourceType: "entity" | "
|
|
10418
|
+
resourceType: "entity" | "view" | "document";
|
|
10316
10419
|
resourceId: string;
|
|
10317
10420
|
visibility?: "private" | "public" | undefined;
|
|
10318
10421
|
expiresAt?: Date | undefined;
|
|
@@ -10795,7 +10898,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10795
10898
|
input: {
|
|
10796
10899
|
workspaceId?: string | undefined;
|
|
10797
10900
|
kind?: "code" | "instruction" | undefined;
|
|
10798
|
-
scope?: "user" | "
|
|
10901
|
+
scope?: "user" | "workspace" | "pod" | undefined;
|
|
10799
10902
|
status?: "error" | "active" | "inactive" | "all" | undefined;
|
|
10800
10903
|
limit?: number | undefined;
|
|
10801
10904
|
offset?: number | undefined;
|
|
@@ -10820,7 +10923,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10820
10923
|
code: string;
|
|
10821
10924
|
workspaceId?: string | undefined;
|
|
10822
10925
|
kind?: "code" | "instruction" | undefined;
|
|
10823
|
-
scope?: "user" | "
|
|
10926
|
+
scope?: "user" | "workspace" | "pod" | undefined;
|
|
10824
10927
|
agentTypes?: string[] | undefined;
|
|
10825
10928
|
description?: string | undefined;
|
|
10826
10929
|
parameters?: Record<string, unknown> | undefined;
|
|
@@ -10843,7 +10946,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10843
10946
|
input: {
|
|
10844
10947
|
id: string;
|
|
10845
10948
|
kind?: "code" | "instruction" | undefined;
|
|
10846
|
-
scope?: "user" | "
|
|
10949
|
+
scope?: "user" | "workspace" | "pod" | undefined;
|
|
10847
10950
|
agentTypes?: string[] | null | undefined;
|
|
10848
10951
|
name?: string | undefined;
|
|
10849
10952
|
description?: string | undefined;
|
|
@@ -10906,7 +11009,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10906
11009
|
createTrigger: import("@trpc/server").TRPCMutationProcedure<{
|
|
10907
11010
|
input: {
|
|
10908
11011
|
skillId: string;
|
|
10909
|
-
type: "
|
|
11012
|
+
type: "cron" | "manual" | "entity_event";
|
|
10910
11013
|
eventPattern?: string | undefined;
|
|
10911
11014
|
filters?: Record<string, unknown> | undefined;
|
|
10912
11015
|
cronExpression?: string | undefined;
|
|
@@ -10916,7 +11019,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10916
11019
|
userId: string;
|
|
10917
11020
|
workspaceId: string | null;
|
|
10918
11021
|
id: string;
|
|
10919
|
-
type: "
|
|
11022
|
+
type: "cron" | "manual" | "entity_event";
|
|
10920
11023
|
updatedAt: Date;
|
|
10921
11024
|
createdAt: Date;
|
|
10922
11025
|
isActive: boolean;
|
|
@@ -10934,19 +11037,19 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10934
11037
|
skillId?: string | undefined;
|
|
10935
11038
|
};
|
|
10936
11039
|
output: {
|
|
11040
|
+
userId: string;
|
|
11041
|
+
workspaceId: string | null;
|
|
10937
11042
|
id: string;
|
|
11043
|
+
type: "cron" | "manual" | "entity_event";
|
|
11044
|
+
updatedAt: Date;
|
|
11045
|
+
createdAt: Date;
|
|
11046
|
+
isActive: boolean;
|
|
11047
|
+
channelType: "personal_thread" | "new_thread";
|
|
11048
|
+
filters: Record<string, unknown> | null;
|
|
10938
11049
|
skillId: string;
|
|
10939
|
-
workspaceId: string | null;
|
|
10940
|
-
userId: string;
|
|
10941
|
-
type: "entity_event" | "cron" | "manual";
|
|
10942
11050
|
eventPattern: string | null;
|
|
10943
|
-
filters: Record<string, unknown> | null;
|
|
10944
11051
|
cronExpression: string | null;
|
|
10945
|
-
channelType: "personal_thread" | "new_thread";
|
|
10946
|
-
isActive: boolean;
|
|
10947
11052
|
automationId: string | null;
|
|
10948
|
-
createdAt: Date;
|
|
10949
|
-
updatedAt: Date;
|
|
10950
11053
|
}[];
|
|
10951
11054
|
meta: object;
|
|
10952
11055
|
}>;
|
|
@@ -10960,7 +11063,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10960
11063
|
skillId: string;
|
|
10961
11064
|
workspaceId: string | null;
|
|
10962
11065
|
userId: string;
|
|
10963
|
-
type: "
|
|
11066
|
+
type: "cron" | "manual" | "entity_event";
|
|
10964
11067
|
eventPattern: string | null;
|
|
10965
11068
|
filters: Record<string, unknown> | null;
|
|
10966
11069
|
cronExpression: string | null;
|
|
@@ -11275,7 +11378,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11275
11378
|
parentProfileId: string | null;
|
|
11276
11379
|
defaultValues: unknown;
|
|
11277
11380
|
semanticSlug: string | null;
|
|
11278
|
-
entityScope: "
|
|
11381
|
+
entityScope: "workspace" | "pod";
|
|
11279
11382
|
defaultListRenderer: unknown;
|
|
11280
11383
|
defaultDetailRenderer: unknown;
|
|
11281
11384
|
defaultDashboardRenderer: unknown;
|
|
@@ -11304,7 +11407,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11304
11407
|
parentProfileId: string | null;
|
|
11305
11408
|
defaultValues: unknown;
|
|
11306
11409
|
semanticSlug: string | null;
|
|
11307
|
-
entityScope: "
|
|
11410
|
+
entityScope: "workspace" | "pod";
|
|
11308
11411
|
defaultListRenderer: unknown;
|
|
11309
11412
|
defaultDetailRenderer: unknown;
|
|
11310
11413
|
defaultDashboardRenderer: unknown;
|
|
@@ -11323,7 +11426,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11323
11426
|
defaultValues?: Record<string, unknown> | undefined;
|
|
11324
11427
|
scope?: "user" | "shared" | "system" | "workspace" | undefined;
|
|
11325
11428
|
allowedWorkspaceIds?: string[] | undefined;
|
|
11326
|
-
entityScope?: "
|
|
11429
|
+
entityScope?: "workspace" | "pod" | undefined;
|
|
11327
11430
|
source?: "user" | "system" | "ai" | "intelligence" | undefined;
|
|
11328
11431
|
reasoning?: string | undefined;
|
|
11329
11432
|
agentUserId?: string | undefined;
|
|
@@ -11344,7 +11447,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11344
11447
|
parentProfileId: string | null;
|
|
11345
11448
|
defaultValues: unknown;
|
|
11346
11449
|
semanticSlug: string | null;
|
|
11347
|
-
entityScope: "
|
|
11450
|
+
entityScope: "workspace" | "pod";
|
|
11348
11451
|
defaultListRenderer: unknown;
|
|
11349
11452
|
defaultDetailRenderer: unknown;
|
|
11350
11453
|
defaultDashboardRenderer: unknown;
|
|
@@ -11376,7 +11479,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11376
11479
|
parentProfileId: string | null;
|
|
11377
11480
|
defaultValues: unknown;
|
|
11378
11481
|
semanticSlug: string | null;
|
|
11379
|
-
entityScope: "
|
|
11482
|
+
entityScope: "workspace" | "pod";
|
|
11380
11483
|
defaultListRenderer: unknown;
|
|
11381
11484
|
defaultDetailRenderer: unknown;
|
|
11382
11485
|
defaultDashboardRenderer: unknown;
|
|
@@ -11398,7 +11501,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11398
11501
|
defaultValues?: Record<string, unknown> | undefined;
|
|
11399
11502
|
scope?: "user" | "shared" | "system" | "workspace" | undefined;
|
|
11400
11503
|
allowedWorkspaceIds?: string[] | undefined;
|
|
11401
|
-
entityScope?: "
|
|
11504
|
+
entityScope?: "workspace" | "pod" | undefined;
|
|
11402
11505
|
defaultListRenderer?: {
|
|
11403
11506
|
kind: "cell";
|
|
11404
11507
|
cellKey: string;
|
|
@@ -11521,7 +11624,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11521
11624
|
parentProfileId: string | null;
|
|
11522
11625
|
defaultValues: unknown;
|
|
11523
11626
|
semanticSlug: string | null;
|
|
11524
|
-
entityScope: "
|
|
11627
|
+
entityScope: "workspace" | "pod";
|
|
11525
11628
|
defaultListRenderer: unknown;
|
|
11526
11629
|
defaultDetailRenderer: unknown;
|
|
11527
11630
|
defaultDashboardRenderer: unknown;
|
|
@@ -11568,7 +11671,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11568
11671
|
parentProfileId: string | null;
|
|
11569
11672
|
defaultValues: unknown;
|
|
11570
11673
|
semanticSlug: string | null;
|
|
11571
|
-
entityScope: "
|
|
11674
|
+
entityScope: "workspace" | "pod";
|
|
11572
11675
|
defaultListRenderer: unknown;
|
|
11573
11676
|
defaultDetailRenderer: unknown;
|
|
11574
11677
|
defaultDashboardRenderer: unknown;
|
|
@@ -11607,7 +11710,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11607
11710
|
parentProfileId: string | null;
|
|
11608
11711
|
defaultValues: unknown;
|
|
11609
11712
|
semanticSlug: string | null;
|
|
11610
|
-
entityScope: "
|
|
11713
|
+
entityScope: "workspace" | "pod";
|
|
11611
11714
|
defaultListRenderer: unknown;
|
|
11612
11715
|
defaultDetailRenderer: unknown;
|
|
11613
11716
|
defaultDashboardRenderer: unknown;
|
|
@@ -11637,7 +11740,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11637
11740
|
parentProfileId: string | null;
|
|
11638
11741
|
defaultValues: unknown;
|
|
11639
11742
|
semanticSlug: string | null;
|
|
11640
|
-
entityScope: "
|
|
11743
|
+
entityScope: "workspace" | "pod";
|
|
11641
11744
|
defaultListRenderer: unknown;
|
|
11642
11745
|
defaultDetailRenderer: unknown;
|
|
11643
11746
|
defaultDashboardRenderer: unknown;
|
|
@@ -13083,12 +13186,65 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
13083
13186
|
source: "markdown" | "obsidian" | "csv" | "bookmark";
|
|
13084
13187
|
operations: Record<string, unknown>[];
|
|
13085
13188
|
workspaceId?: string | undefined;
|
|
13189
|
+
idempotencyKey?: string | undefined;
|
|
13190
|
+
};
|
|
13191
|
+
output: {
|
|
13192
|
+
workspaceId: string;
|
|
13193
|
+
source: ImportRevealSource;
|
|
13194
|
+
created: number;
|
|
13195
|
+
linked: number;
|
|
13196
|
+
};
|
|
13197
|
+
meta: object;
|
|
13198
|
+
}>;
|
|
13199
|
+
analyzeLarge: import("@trpc/server").TRPCMutationProcedure<{
|
|
13200
|
+
input: {
|
|
13201
|
+
source: "markdown" | "obsidian" | "csv" | "bookmark";
|
|
13202
|
+
items: {
|
|
13203
|
+
path: string;
|
|
13204
|
+
content: string;
|
|
13205
|
+
}[];
|
|
13206
|
+
workspaceId?: string | undefined;
|
|
13207
|
+
relationType?: string | undefined;
|
|
13208
|
+
aiStructure?: boolean | undefined;
|
|
13209
|
+
};
|
|
13210
|
+
output: {
|
|
13211
|
+
workspaceId: string;
|
|
13212
|
+
source: ImportRevealSource;
|
|
13213
|
+
mode: "deep";
|
|
13214
|
+
proposalId: string | null;
|
|
13215
|
+
operations: CompositeProposalOperation[];
|
|
13216
|
+
summary: string;
|
|
13217
|
+
stats: {
|
|
13218
|
+
itemsProcessed: number;
|
|
13219
|
+
itemsFailed: number;
|
|
13220
|
+
entityCount: number;
|
|
13221
|
+
relationCount: number;
|
|
13222
|
+
duplicatesMerged: number;
|
|
13223
|
+
linkedToExisting: number;
|
|
13224
|
+
documentCount: number;
|
|
13225
|
+
sourceDocCount: number;
|
|
13226
|
+
byType: Record<string, number>;
|
|
13227
|
+
wikilinkLinksResolved: number;
|
|
13228
|
+
wikilinkLinksUnresolved: number;
|
|
13229
|
+
chunks: number;
|
|
13230
|
+
};
|
|
13231
|
+
aiTyped: number;
|
|
13232
|
+
};
|
|
13233
|
+
meta: object;
|
|
13234
|
+
}>;
|
|
13235
|
+
applyLarge: import("@trpc/server").TRPCMutationProcedure<{
|
|
13236
|
+
input: {
|
|
13237
|
+
source: "markdown" | "obsidian" | "csv" | "bookmark";
|
|
13238
|
+
operations: Record<string, unknown>[];
|
|
13239
|
+
workspaceId?: string | undefined;
|
|
13240
|
+
idempotencyKey?: string | undefined;
|
|
13086
13241
|
};
|
|
13087
13242
|
output: {
|
|
13088
13243
|
workspaceId: string;
|
|
13089
13244
|
source: ImportRevealSource;
|
|
13090
13245
|
created: number;
|
|
13091
13246
|
linked: number;
|
|
13247
|
+
chunks: number;
|
|
13092
13248
|
};
|
|
13093
13249
|
meta: object;
|
|
13094
13250
|
}>;
|
|
@@ -13645,7 +13801,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
13645
13801
|
addPeer: import("@trpc/server").TRPCMutationProcedure<{
|
|
13646
13802
|
input: {
|
|
13647
13803
|
peerPodUrl: string;
|
|
13648
|
-
direction: "push" | "bidirectional" | "pull";
|
|
13804
|
+
direction: "push" | "bidirectional" | "pull" | "inbound";
|
|
13649
13805
|
label?: string | undefined;
|
|
13650
13806
|
authToken?: string | undefined;
|
|
13651
13807
|
workspaceIds?: string[] | undefined;
|
|
@@ -15068,6 +15224,49 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15068
15224
|
};
|
|
15069
15225
|
transformer: true;
|
|
15070
15226
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
15227
|
+
links: import("@trpc/server").TRPCBuiltRouter<{
|
|
15228
|
+
ctx: Context;
|
|
15229
|
+
meta: object;
|
|
15230
|
+
errorShape: {
|
|
15231
|
+
message: string;
|
|
15232
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15233
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
15234
|
+
};
|
|
15235
|
+
transformer: true;
|
|
15236
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
15237
|
+
bySession: import("@trpc/server").TRPCQueryProcedure<{
|
|
15238
|
+
input: {
|
|
15239
|
+
sessionId: string;
|
|
15240
|
+
};
|
|
15241
|
+
output: {
|
|
15242
|
+
edges: {
|
|
15243
|
+
workspaceId: string | null;
|
|
15244
|
+
id: string;
|
|
15245
|
+
createdAt: Date;
|
|
15246
|
+
metadata: unknown;
|
|
15247
|
+
createdBy: string | null;
|
|
15248
|
+
linkType: LinkType;
|
|
15249
|
+
fromType: LinkEndpointType;
|
|
15250
|
+
fromId: string;
|
|
15251
|
+
toType: LinkEndpointType;
|
|
15252
|
+
toId: string;
|
|
15253
|
+
}[];
|
|
15254
|
+
grouped: Record<string, {
|
|
15255
|
+
workspaceId: string | null;
|
|
15256
|
+
id: string;
|
|
15257
|
+
createdAt: Date;
|
|
15258
|
+
metadata: unknown;
|
|
15259
|
+
createdBy: string | null;
|
|
15260
|
+
linkType: LinkType;
|
|
15261
|
+
fromType: LinkEndpointType;
|
|
15262
|
+
fromId: string;
|
|
15263
|
+
toType: LinkEndpointType;
|
|
15264
|
+
toId: string;
|
|
15265
|
+
}[]>;
|
|
15266
|
+
};
|
|
15267
|
+
meta: object;
|
|
15268
|
+
}>;
|
|
15269
|
+
}>>;
|
|
15071
15270
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
15072
15271
|
input: {
|
|
15073
15272
|
workspaceId: string;
|
|
@@ -15287,6 +15486,26 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15287
15486
|
};
|
|
15288
15487
|
meta: object;
|
|
15289
15488
|
}>;
|
|
15489
|
+
grantCapability: import("@trpc/server").TRPCMutationProcedure<{
|
|
15490
|
+
input: {
|
|
15491
|
+
sessionId: string;
|
|
15492
|
+
capabilityKind: "command" | "tool" | "skill";
|
|
15493
|
+
capabilityId: string;
|
|
15494
|
+
agentUserId?: string | undefined;
|
|
15495
|
+
source?: string | undefined;
|
|
15496
|
+
reasoning?: string | undefined;
|
|
15497
|
+
};
|
|
15498
|
+
output: {
|
|
15499
|
+
granted: boolean;
|
|
15500
|
+
status: "proposed";
|
|
15501
|
+
proposalId: string;
|
|
15502
|
+
} | {
|
|
15503
|
+
granted: boolean;
|
|
15504
|
+
status: "granted";
|
|
15505
|
+
proposalId?: undefined;
|
|
15506
|
+
};
|
|
15507
|
+
meta: object;
|
|
15508
|
+
}>;
|
|
15290
15509
|
}>>;
|
|
15291
15510
|
playbooks: import("@trpc/server").TRPCBuiltRouter<{
|
|
15292
15511
|
ctx: Context;
|
|
@@ -15555,6 +15774,133 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15555
15774
|
};
|
|
15556
15775
|
meta: object;
|
|
15557
15776
|
}>;
|
|
15777
|
+
run: import("@trpc/server").TRPCMutationProcedure<{
|
|
15778
|
+
input: {
|
|
15779
|
+
playbookId: string;
|
|
15780
|
+
params?: Record<string, unknown> | undefined;
|
|
15781
|
+
agentIds?: string[] | undefined;
|
|
15782
|
+
agentUserId?: string | undefined;
|
|
15783
|
+
source?: string | undefined;
|
|
15784
|
+
reasoning?: string | undefined;
|
|
15785
|
+
};
|
|
15786
|
+
output: {
|
|
15787
|
+
run: null;
|
|
15788
|
+
session: FocusSession | null;
|
|
15789
|
+
status: "proposed";
|
|
15790
|
+
message: string;
|
|
15791
|
+
proposalId: string;
|
|
15792
|
+
} | {
|
|
15793
|
+
run: {
|
|
15794
|
+
error: string | null;
|
|
15795
|
+
workspaceId: string | null;
|
|
15796
|
+
sessionId: string | null;
|
|
15797
|
+
id: string;
|
|
15798
|
+
input: unknown;
|
|
15799
|
+
startedAt: Date;
|
|
15800
|
+
status: PlaybookRunStatus;
|
|
15801
|
+
createdBy: string;
|
|
15802
|
+
completedAt: Date | null;
|
|
15803
|
+
playbookId: string;
|
|
15804
|
+
executor: PlaybookRunExecutorRef;
|
|
15805
|
+
summary: string | null;
|
|
15806
|
+
};
|
|
15807
|
+
session: {
|
|
15808
|
+
userId: string;
|
|
15809
|
+
workspaceId: string;
|
|
15810
|
+
id: string;
|
|
15811
|
+
updatedAt: Date;
|
|
15812
|
+
createdAt: Date;
|
|
15813
|
+
correlationId: string | null;
|
|
15814
|
+
channelId: string | null;
|
|
15815
|
+
startedAt: Date;
|
|
15816
|
+
status: "active" | "paused" | "closed";
|
|
15817
|
+
goal: string;
|
|
15818
|
+
templateId: string | null;
|
|
15819
|
+
playbookId: string | null;
|
|
15820
|
+
expectedOutputs: unknown;
|
|
15821
|
+
progress: number | null;
|
|
15822
|
+
agentIds: string[] | null;
|
|
15823
|
+
closedAt: Date | null;
|
|
15824
|
+
contextReport: unknown;
|
|
15825
|
+
planReport: unknown;
|
|
15826
|
+
executionLog: unknown;
|
|
15827
|
+
verificationReport: unknown;
|
|
15828
|
+
};
|
|
15829
|
+
status: "running";
|
|
15830
|
+
message: string;
|
|
15831
|
+
proposalId: string | null;
|
|
15832
|
+
};
|
|
15833
|
+
meta: object;
|
|
15834
|
+
}>;
|
|
15835
|
+
}>>;
|
|
15836
|
+
playbookRuns: import("@trpc/server").TRPCBuiltRouter<{
|
|
15837
|
+
ctx: Context;
|
|
15838
|
+
meta: object;
|
|
15839
|
+
errorShape: {
|
|
15840
|
+
message: string;
|
|
15841
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15842
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
15843
|
+
};
|
|
15844
|
+
transformer: true;
|
|
15845
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
15846
|
+
listBySession: import("@trpc/server").TRPCQueryProcedure<{
|
|
15847
|
+
input: {
|
|
15848
|
+
sessionId: string;
|
|
15849
|
+
};
|
|
15850
|
+
output: {
|
|
15851
|
+
id: string;
|
|
15852
|
+
workspaceId: string | null;
|
|
15853
|
+
playbookId: string;
|
|
15854
|
+
sessionId: string | null;
|
|
15855
|
+
executor: PlaybookRunExecutorRef;
|
|
15856
|
+
status: PlaybookRunStatus;
|
|
15857
|
+
input: unknown;
|
|
15858
|
+
summary: string | null;
|
|
15859
|
+
error: string | null;
|
|
15860
|
+
startedAt: Date;
|
|
15861
|
+
completedAt: Date | null;
|
|
15862
|
+
createdBy: string;
|
|
15863
|
+
}[];
|
|
15864
|
+
meta: object;
|
|
15865
|
+
}>;
|
|
15866
|
+
}>>;
|
|
15867
|
+
agentRuns: import("@trpc/server").TRPCBuiltRouter<{
|
|
15868
|
+
ctx: Context;
|
|
15869
|
+
meta: object;
|
|
15870
|
+
errorShape: {
|
|
15871
|
+
message: string;
|
|
15872
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15873
|
+
data: import("@trpc/server").TRPCDefaultErrorData;
|
|
15874
|
+
};
|
|
15875
|
+
transformer: true;
|
|
15876
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
15877
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
15878
|
+
input: {
|
|
15879
|
+
workspaceId?: string | undefined;
|
|
15880
|
+
limit?: number | undefined;
|
|
15881
|
+
};
|
|
15882
|
+
output: {
|
|
15883
|
+
id: string;
|
|
15884
|
+
agentUserId: string | undefined;
|
|
15885
|
+
agentType: string | undefined;
|
|
15886
|
+
model: string | undefined;
|
|
15887
|
+
provider: string | undefined;
|
|
15888
|
+
costUsd: number | null | undefined;
|
|
15889
|
+
tokensIn: number | undefined;
|
|
15890
|
+
tokensOut: number | undefined;
|
|
15891
|
+
tokensTotal: number | undefined;
|
|
15892
|
+
latencyMs: number | undefined;
|
|
15893
|
+
toolCount: number | undefined;
|
|
15894
|
+
runStatus: string | undefined;
|
|
15895
|
+
finishReason: string | undefined;
|
|
15896
|
+
summary: string | undefined;
|
|
15897
|
+
workspaceId: string | undefined;
|
|
15898
|
+
sessionId: string | undefined;
|
|
15899
|
+
correlationId: string | undefined;
|
|
15900
|
+
createdAt: Date;
|
|
15901
|
+
}[];
|
|
15902
|
+
meta: object;
|
|
15903
|
+
}>;
|
|
15558
15904
|
}>>;
|
|
15559
15905
|
artifacts: import("@trpc/server").TRPCBuiltRouter<{
|
|
15560
15906
|
ctx: Context;
|
|
@@ -15577,7 +15923,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15577
15923
|
id: string;
|
|
15578
15924
|
workspaceId: string;
|
|
15579
15925
|
userId: string;
|
|
15580
|
-
kind: "url" | "entity" | "cell" | "
|
|
15926
|
+
kind: "url" | "entity" | "cell" | "view" | "document";
|
|
15581
15927
|
refId: string | null;
|
|
15582
15928
|
cellKey: string | null;
|
|
15583
15929
|
props: unknown;
|
|
@@ -15605,7 +15951,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15605
15951
|
id: string;
|
|
15606
15952
|
workspaceId: string;
|
|
15607
15953
|
userId: string;
|
|
15608
|
-
kind: "url" | "entity" | "cell" | "
|
|
15954
|
+
kind: "url" | "entity" | "cell" | "view" | "document";
|
|
15609
15955
|
refId: string | null;
|
|
15610
15956
|
cellKey: string | null;
|
|
15611
15957
|
props: unknown;
|
|
@@ -15634,7 +15980,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15634
15980
|
updatedAt: Date;
|
|
15635
15981
|
createdAt: Date;
|
|
15636
15982
|
title: string;
|
|
15637
|
-
kind: "url" | "entity" | "cell" | "
|
|
15983
|
+
kind: "url" | "entity" | "cell" | "view" | "document";
|
|
15638
15984
|
refId: string | null;
|
|
15639
15985
|
cellKey: string | null;
|
|
15640
15986
|
props: unknown;
|
|
@@ -15649,7 +15995,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15649
15995
|
}>;
|
|
15650
15996
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
15651
15997
|
input: {
|
|
15652
|
-
kind: "url" | "entity" | "cell" | "
|
|
15998
|
+
kind: "url" | "entity" | "cell" | "view" | "document";
|
|
15653
15999
|
title: string;
|
|
15654
16000
|
refId?: string | undefined;
|
|
15655
16001
|
cellKey?: string | undefined;
|
|
@@ -15667,7 +16013,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15667
16013
|
updatedAt: Date;
|
|
15668
16014
|
createdAt: Date;
|
|
15669
16015
|
title: string;
|
|
15670
|
-
kind: "url" | "entity" | "cell" | "
|
|
16016
|
+
kind: "url" | "entity" | "cell" | "view" | "document";
|
|
15671
16017
|
refId: string | null;
|
|
15672
16018
|
cellKey: string | null;
|
|
15673
16019
|
props: unknown;
|
|
@@ -15694,7 +16040,7 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15694
16040
|
updatedAt: Date;
|
|
15695
16041
|
createdAt: Date;
|
|
15696
16042
|
title: string;
|
|
15697
|
-
kind: "url" | "entity" | "cell" | "
|
|
16043
|
+
kind: "url" | "entity" | "cell" | "view" | "document";
|
|
15698
16044
|
refId: string | null;
|
|
15699
16045
|
cellKey: string | null;
|
|
15700
16046
|
props: unknown;
|