@sixb/server 0.1.3 → 0.1.5
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/README.md +1 -1
- package/dist/index.js +1127 -937
- package/dist/index.js.map +17 -15
- package/dist/openapi/tags.d.ts +6 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +2 -1
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +15 -0
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/links.d.ts +0 -51
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +1 -1
- package/dist/routes/models.d.ts +60 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/objects.d.ts +48 -0
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +88 -86
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +32 -32
- package/dist/schemas/actions.d.ts +92 -0
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +127 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +26 -26
- package/dist/schemas/connectors.d.ts +11 -1
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/links.d.ts +0 -41
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +4 -4
- package/dist/schemas/models.d.ts +50 -0
- package/dist/schemas/models.d.ts.map +1 -0
- package/dist/schemas/objects.d.ts +22 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +542 -513
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +23 -23
- package/package.json +4 -4
- package/src/openapi/tags.ts +4 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/actions.ts +18 -3
- package/src/routes/agents.ts +21 -3
- package/src/routes/links.ts +2 -53
- package/src/routes/models.ts +31 -0
- package/src/routes/objects.ts +103 -0
- package/src/schemas/actions.ts +5 -0
- package/src/schemas/agents.ts +15 -0
- package/src/schemas/connectors.ts +13 -3
- package/src/schemas/links.ts +0 -17
- package/src/schemas/models.ts +15 -0
- package/src/schemas/objects.ts +104 -0
- package/src/schemas/projections.ts +6 -3
package/dist/openapi/tags.d.ts
CHANGED
|
@@ -107,6 +107,10 @@ export declare const OPENAPI_TAGS: {
|
|
|
107
107
|
readonly name: "Agents";
|
|
108
108
|
readonly description: "Agent catalog";
|
|
109
109
|
};
|
|
110
|
+
readonly models: {
|
|
111
|
+
readonly name: "Models";
|
|
112
|
+
readonly description: "Project model catalog";
|
|
113
|
+
};
|
|
110
114
|
readonly agentThreads: {
|
|
111
115
|
readonly name: "Agent Threads";
|
|
112
116
|
readonly description: "Agent conversation threads and messages";
|
|
@@ -157,7 +161,7 @@ export declare const OPENAPI_TAGS: {
|
|
|
157
161
|
};
|
|
158
162
|
};
|
|
159
163
|
export declare const OPENAPI_TAG_METADATA: {
|
|
160
|
-
name: "Project" | "Status" | "AI Accounting" | "Ontology" | "Connectors" | "Connector Connections" | "Connector Connection Runs" | "Webhooks" | "Datasets" | "Dataset Versions" | "Dataset Rows" | "Syncs" | "Sync Runs" | "Pipelines" | "Pipeline Runs" | "Workflows" | "Workflow Runs" | "Workflow Interventions" | "Rules" | "Rule States" | "Projections" | "Projection Runs" | "Objects" | "Object Files" | "Actions" | "Action Runs" | "Agents" | "Agent Threads" | "Agent Runs" | "Files" | "Links" | "Telemetry" | "Events" | "Logs" | "Auth Sessions" | "Auth Members" | "Auth Invitations" | "Auth Access Tokens" | "Auth Service Accounts";
|
|
161
|
-
description: "Current project metadata" | "Runtime status" | "Project AI token usage, cost analytics, and model-call accounting" | "Object type definitions" | "Connector metadata" | "Connected external accounts" | "Interactive OAuth connection runs" | "Webhook run history" | "Dataset definitions" | "Dataset version history" | "Dataset row previews" | "Sync metadata" | "Sync run history and requests" | "Pipeline metadata" | "Pipeline run history and requests" | "Workflow metadata" | "Workflow run history and requests" | "Workflow intervention tasks" | "Rule definitions" | "Active rule states" | "Projection definitions" | "Projection run history" | "Twin objects and state" | "Object-backed file content" | "Action metadata and requests" | "Action run history" | "Agent catalog" | "Agent conversation threads and messages" | "Agent run state and cancellation" | "File uploads and file references" | "Object relationship links" | "Telemetry history and appends" | "Domain event stream" | "Run log stream" | "Authentication sessions and sign-out" | "User membership administration" | "User invitations" | "Personal access-token management" | "Service accounts and service-account access tokens";
|
|
164
|
+
name: "Project" | "Status" | "AI Accounting" | "Ontology" | "Connectors" | "Connector Connections" | "Connector Connection Runs" | "Webhooks" | "Datasets" | "Dataset Versions" | "Dataset Rows" | "Syncs" | "Sync Runs" | "Pipelines" | "Pipeline Runs" | "Workflows" | "Workflow Runs" | "Workflow Interventions" | "Rules" | "Rule States" | "Projections" | "Projection Runs" | "Objects" | "Object Files" | "Actions" | "Action Runs" | "Agents" | "Models" | "Agent Threads" | "Agent Runs" | "Files" | "Links" | "Telemetry" | "Events" | "Logs" | "Auth Sessions" | "Auth Members" | "Auth Invitations" | "Auth Access Tokens" | "Auth Service Accounts";
|
|
165
|
+
description: "Current project metadata" | "Runtime status" | "Project AI token usage, cost analytics, and model-call accounting" | "Object type definitions" | "Connector metadata" | "Connected external accounts" | "Interactive OAuth connection runs" | "Webhook run history" | "Dataset definitions" | "Dataset version history" | "Dataset row previews" | "Sync metadata" | "Sync run history and requests" | "Pipeline metadata" | "Pipeline run history and requests" | "Workflow metadata" | "Workflow run history and requests" | "Workflow intervention tasks" | "Rule definitions" | "Active rule states" | "Projection definitions" | "Projection run history" | "Twin objects and state" | "Object-backed file content" | "Action metadata and requests" | "Action run history" | "Agent catalog" | "Project model catalog" | "Agent conversation threads and messages" | "Agent run state and cancellation" | "File uploads and file references" | "Object relationship links" | "Telemetry history and appends" | "Domain event stream" | "Run log stream" | "Authentication sessions and sign-out" | "User membership administration" | "User invitations" | "Personal access-token management" | "Service accounts and service-account access tokens";
|
|
162
166
|
}[];
|
|
163
167
|
//# sourceMappingURL=tags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../src/openapi/tags.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../src/openapi/tags.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKf,CAAA;AAEV,eAAO,MAAM,oBAAoB;;;GAG9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAMpC,OAAO,EACL,KAAK,+BAA+B,EAErC,MAAM,oCAAoC,CAAA;
|
|
1
|
+
{"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAMpC,OAAO,EACL,KAAK,+BAA+B,EAErC,MAAM,oCAAoC,CAAA;AAqB3C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,oBAAoB,EAAE,+BAA+B,CAAA;CAC/D;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4B5F"}
|
package/dist/routes/actions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
export declare function registerActionRoutes(app: Elysia,
|
|
3
|
+
export declare function registerActionRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -88,6 +88,7 @@ export declare function registerActionRoutes(app: Elysia, _host: SixbHostView):
|
|
|
88
88
|
edits: boolean;
|
|
89
89
|
effects: boolean;
|
|
90
90
|
};
|
|
91
|
+
inputSchema: Record<string, unknown>;
|
|
91
92
|
description?: string | undefined;
|
|
92
93
|
objectTypeId?: string | undefined;
|
|
93
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqDpC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EnE"}
|
package/dist/routes/agents.d.ts
CHANGED
|
@@ -34,6 +34,11 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
34
34
|
modelId?: string | undefined;
|
|
35
35
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
36
36
|
loop?: {
|
|
37
|
+
context?: {
|
|
38
|
+
windowTokens?: number | undefined;
|
|
39
|
+
reserveTokens?: number | undefined;
|
|
40
|
+
keepRecentTokens?: number | undefined;
|
|
41
|
+
} | undefined;
|
|
37
42
|
stopWhen?: {
|
|
38
43
|
maxSteps?: number | undefined;
|
|
39
44
|
} | undefined;
|
|
@@ -72,6 +77,11 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
72
77
|
modelId?: string | undefined;
|
|
73
78
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
74
79
|
loop?: {
|
|
80
|
+
context?: {
|
|
81
|
+
windowTokens?: number | undefined;
|
|
82
|
+
reserveTokens?: number | undefined;
|
|
83
|
+
keepRecentTokens?: number | undefined;
|
|
84
|
+
} | undefined;
|
|
75
85
|
stopWhen?: {
|
|
76
86
|
maxSteps?: number | undefined;
|
|
77
87
|
} | undefined;
|
|
@@ -375,6 +385,11 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
375
385
|
id: string;
|
|
376
386
|
type: "user" | "serviceAccount" | "system";
|
|
377
387
|
} | undefined;
|
|
388
|
+
compaction?: {
|
|
389
|
+
summary: string;
|
|
390
|
+
createdAt: string;
|
|
391
|
+
checkpointId: string;
|
|
392
|
+
} | undefined;
|
|
378
393
|
metadata?: import("../schemas/common").JsonValue | undefined;
|
|
379
394
|
}[];
|
|
380
395
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,E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C5E,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0pBjB"}
|
package/dist/routes/links.d.ts
CHANGED
|
@@ -16,57 +16,6 @@ export declare function registerLinkRoutes(app: Elysia, _host: SixbHostView): El
|
|
|
16
16
|
parser: {};
|
|
17
17
|
response: {};
|
|
18
18
|
}, {
|
|
19
|
-
api: {
|
|
20
|
-
objects: {
|
|
21
|
-
":objectTypeId": {
|
|
22
|
-
":objectId": {
|
|
23
|
-
links: {
|
|
24
|
-
get: {
|
|
25
|
-
body: unknown;
|
|
26
|
-
params: {
|
|
27
|
-
objectTypeId: string;
|
|
28
|
-
objectId: string;
|
|
29
|
-
};
|
|
30
|
-
query: {
|
|
31
|
-
direction: "outgoing" | "incoming" | "both";
|
|
32
|
-
linkId?: string | undefined;
|
|
33
|
-
};
|
|
34
|
-
headers: unknown;
|
|
35
|
-
response: {
|
|
36
|
-
200: {
|
|
37
|
-
projectId: string;
|
|
38
|
-
sourceId: string;
|
|
39
|
-
createdAt: string;
|
|
40
|
-
updatedAt: string;
|
|
41
|
-
sourceTypeId: string;
|
|
42
|
-
linkId: string;
|
|
43
|
-
targetTypeId: string;
|
|
44
|
-
targetId: string;
|
|
45
|
-
properties?: Record<string, unknown> | undefined;
|
|
46
|
-
}[];
|
|
47
|
-
404: {
|
|
48
|
-
error: string;
|
|
49
|
-
};
|
|
50
|
-
400: {
|
|
51
|
-
error: string;
|
|
52
|
-
};
|
|
53
|
-
422: {
|
|
54
|
-
type: "validation";
|
|
55
|
-
on: string;
|
|
56
|
-
summary?: string;
|
|
57
|
-
message?: string;
|
|
58
|
-
found?: unknown;
|
|
59
|
-
property?: string;
|
|
60
|
-
expected?: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
} & {
|
|
70
19
|
api: {
|
|
71
20
|
objects: {
|
|
72
21
|
":objectTypeId": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/routes/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/routes/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+ElE"}
|
package/dist/routes/logs.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
|
|
|
26
26
|
runId?: string | undefined;
|
|
27
27
|
limit?: number | undefined;
|
|
28
28
|
afterCursor?: string | undefined;
|
|
29
|
-
direction?: "forward" | "backward" | undefined;
|
|
30
29
|
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
30
|
+
direction?: "forward" | "backward" | undefined;
|
|
31
31
|
beforeCursor?: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
headers: unknown;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { SixbHostView } from "@sixb/core";
|
|
2
|
+
import type { Elysia } from "elysia";
|
|
3
|
+
export declare function registerModelRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
4
|
+
decorator: {};
|
|
5
|
+
store: {};
|
|
6
|
+
derive: {};
|
|
7
|
+
resolve: {};
|
|
8
|
+
}, {
|
|
9
|
+
typebox: {};
|
|
10
|
+
error: {};
|
|
11
|
+
}, {
|
|
12
|
+
schema: {};
|
|
13
|
+
standaloneSchema: {};
|
|
14
|
+
macro: {};
|
|
15
|
+
macroFn: {};
|
|
16
|
+
parser: {};
|
|
17
|
+
response: {};
|
|
18
|
+
}, {
|
|
19
|
+
api: {
|
|
20
|
+
models: {
|
|
21
|
+
get: {
|
|
22
|
+
body: unknown;
|
|
23
|
+
params: {};
|
|
24
|
+
query: unknown;
|
|
25
|
+
headers: unknown;
|
|
26
|
+
response: {
|
|
27
|
+
200: {
|
|
28
|
+
language: {
|
|
29
|
+
modelId: string;
|
|
30
|
+
provider: string;
|
|
31
|
+
isDefault: boolean;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
422: {
|
|
35
|
+
type: "validation";
|
|
36
|
+
on: string;
|
|
37
|
+
summary?: string;
|
|
38
|
+
message?: string;
|
|
39
|
+
found?: unknown;
|
|
40
|
+
property?: string;
|
|
41
|
+
expected?: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
derive: {};
|
|
49
|
+
resolve: {};
|
|
50
|
+
schema: {};
|
|
51
|
+
standaloneSchema: {};
|
|
52
|
+
response: {};
|
|
53
|
+
}, {
|
|
54
|
+
derive: {};
|
|
55
|
+
resolve: {};
|
|
56
|
+
schema: {};
|
|
57
|
+
standaloneSchema: {};
|
|
58
|
+
response: {};
|
|
59
|
+
}>;
|
|
60
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/routes/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,YAAY,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBlE"}
|
package/dist/routes/objects.d.ts
CHANGED
|
@@ -164,6 +164,54 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
};
|
|
167
|
+
} & {
|
|
168
|
+
api: {
|
|
169
|
+
objects: {
|
|
170
|
+
query: {
|
|
171
|
+
links: {
|
|
172
|
+
post: {
|
|
173
|
+
body: unknown;
|
|
174
|
+
params: {};
|
|
175
|
+
query: unknown;
|
|
176
|
+
headers: unknown;
|
|
177
|
+
response: {
|
|
178
|
+
200: {
|
|
179
|
+
error: string;
|
|
180
|
+
issues?: undefined;
|
|
181
|
+
} | {
|
|
182
|
+
error: string;
|
|
183
|
+
issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
|
|
184
|
+
} | {
|
|
185
|
+
nextPageToken?: string | undefined;
|
|
186
|
+
objects: {
|
|
187
|
+
primaryId: string;
|
|
188
|
+
objectTypeId: string;
|
|
189
|
+
properties: Record<string, unknown>;
|
|
190
|
+
createdAt: string;
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
}[];
|
|
193
|
+
links: {
|
|
194
|
+
createdAt: string;
|
|
195
|
+
updatedAt: string;
|
|
196
|
+
properties?: Record<string, unknown> | undefined;
|
|
197
|
+
source: {
|
|
198
|
+
objectTypeId: string;
|
|
199
|
+
primaryId: string;
|
|
200
|
+
};
|
|
201
|
+
linkId: string;
|
|
202
|
+
target: {
|
|
203
|
+
objectTypeId: string;
|
|
204
|
+
primaryId: string;
|
|
205
|
+
};
|
|
206
|
+
}[];
|
|
207
|
+
hasMore: boolean;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
167
215
|
} & {
|
|
168
216
|
api: {
|
|
169
217
|
objects: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAOnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAOnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCpC,iBAAS,eAAe,CAAC,GAAG,EAAE;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA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