@sixb/server 0.1.1 → 0.1.3
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 +3 -3
- package/dist/auth/application-access.d.ts +2 -2
- package/dist/auth/application-access.d.ts.map +1 -1
- package/dist/auth/connector-callback-cookie.d.ts +12 -0
- package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
- package/dist/auth/experience.d.ts +33 -0
- package/dist/auth/experience.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +3 -3
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +13 -27
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts +2 -2
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +16 -0
- package/dist/connectors/http.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3903 -2760
- package/dist/index.js.map +58 -50
- package/dist/openapi/tags.d.ts +15 -3
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +6 -2
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +21 -31
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +12 -11
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts +2 -2
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +230 -159
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts +31 -0
- package/dist/routes/ai-accounting.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +149 -92
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +794 -0
- package/dist/routes/connector-connection-runs.d.ts.map +1 -0
- package/dist/routes/connector-connections.d.ts +219 -0
- package/dist/routes/connector-connections.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +10 -4
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +16 -12
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +9 -9
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +19 -18
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +11 -11
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/logs.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +37 -37
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +50 -50
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +28 -38
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/project.d.ts +2 -2
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +145 -85
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +6 -6
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +2 -2
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +23 -28
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +9 -9
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +9 -9
- package/dist/routes/webhook-runs.d.ts.map +1 -1
- package/dist/routes/webhooks.d.ts +2 -2
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +177 -66
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +11 -5
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +8 -8
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/logs.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +89 -194
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +791 -471
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +2393 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -0
- package/dist/schemas/ai-usage.d.ts +34 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +102 -102
- package/dist/schemas/common.d.ts +37 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +713 -2
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +2 -2
- package/dist/schemas/event-payloads.d.ts +12 -12
- package/dist/schemas/events.d.ts +40 -40
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +10 -10
- package/dist/schemas/ontology.d.ts +118 -118
- package/dist/schemas/pipelines.d.ts +89 -184
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +1030 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/syncs.d.ts +65 -108
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +41 -41
- package/dist/schemas/webhook-runs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +1189 -185
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +11 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts +2 -0
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +4 -3
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/access-token-boundary.ts +4 -4
- package/src/auth/application-access.ts +8 -9
- package/src/auth/connector-callback-cookie.ts +95 -0
- package/src/auth/experience.ts +190 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +20 -0
- package/src/auth/scope.ts +26 -36
- package/src/auth/session-cookies.ts +3 -3
- package/src/connectors/http.ts +110 -0
- package/src/index.ts +1 -0
- package/src/openapi/tags.ts +13 -1
- package/src/registerRoutes.ts +36 -23
- package/src/routes/action-runs.ts +39 -39
- package/src/routes/actions.ts +7 -13
- package/src/routes/agent-api-gateway.ts +41 -38
- package/src/routes/agents.ts +90 -200
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +274 -122
- package/src/routes/connector-connection-runs.ts +346 -0
- package/src/routes/connector-connections.ts +135 -0
- package/src/routes/connectors.ts +24 -12
- package/src/routes/datasets.ts +55 -54
- package/src/routes/events.ts +5 -5
- package/src/routes/files.ts +22 -30
- package/src/routes/links.ts +31 -35
- package/src/routes/logs.ts +6 -11
- package/src/routes/objects.ts +51 -114
- package/src/routes/ontology.ts +27 -38
- package/src/routes/pipelines.ts +28 -62
- package/src/routes/project.ts +3 -3
- package/src/routes/projections.ts +44 -42
- package/src/routes/rules.ts +11 -25
- package/src/routes/status.ts +5 -5
- package/src/routes/syncs.ts +19 -45
- package/src/routes/telemetry.ts +18 -29
- package/src/routes/webhook-runs.ts +5 -5
- package/src/routes/webhooks.ts +259 -341
- package/src/routes/workflows.ts +242 -248
- package/src/routes/ws/agents.ts +196 -66
- package/src/routes/ws/events.ts +11 -10
- package/src/routes/ws/log-subscription-hub.ts +6 -12
- package/src/routes/ws/logs.ts +13 -5
- package/src/schemas/actions.ts +58 -25
- package/src/schemas/agents.ts +23 -23
- package/src/schemas/ai-accounting.ts +182 -0
- package/src/schemas/ai-usage.ts +16 -0
- package/src/schemas/common.ts +24 -0
- package/src/schemas/connectors.ts +164 -0
- package/src/schemas/pipelines.ts +23 -15
- package/src/schemas/projections.ts +23 -3
- package/src/schemas/syncs.ts +13 -8
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +23 -8
- package/src/server.ts +75 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
package/dist/openapi/tags.d.ts
CHANGED
|
@@ -7,13 +7,25 @@ export declare const OPENAPI_TAGS: {
|
|
|
7
7
|
readonly name: "Status";
|
|
8
8
|
readonly description: "Runtime status";
|
|
9
9
|
};
|
|
10
|
+
readonly aiAccounting: {
|
|
11
|
+
readonly name: "AI Accounting";
|
|
12
|
+
readonly description: "Project AI token usage, cost analytics, and model-call accounting";
|
|
13
|
+
};
|
|
10
14
|
readonly ontology: {
|
|
11
15
|
readonly name: "Ontology";
|
|
12
16
|
readonly description: "Object type definitions";
|
|
13
17
|
};
|
|
14
18
|
readonly connectors: {
|
|
15
19
|
readonly name: "Connectors";
|
|
16
|
-
readonly description: "Connector metadata
|
|
20
|
+
readonly description: "Connector metadata";
|
|
21
|
+
};
|
|
22
|
+
readonly connectorConnections: {
|
|
23
|
+
readonly name: "Connector Connections";
|
|
24
|
+
readonly description: "Connected external accounts";
|
|
25
|
+
};
|
|
26
|
+
readonly connectorConnectionRuns: {
|
|
27
|
+
readonly name: "Connector Connection Runs";
|
|
28
|
+
readonly description: "Interactive OAuth connection runs";
|
|
17
29
|
};
|
|
18
30
|
readonly webhooks: {
|
|
19
31
|
readonly name: "Webhooks";
|
|
@@ -145,7 +157,7 @@ export declare const OPENAPI_TAGS: {
|
|
|
145
157
|
};
|
|
146
158
|
};
|
|
147
159
|
export declare const OPENAPI_TAG_METADATA: {
|
|
148
|
-
name: "Project" | "Status" | "Ontology" | "Connectors" | "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";
|
|
149
|
-
description: "Current project metadata" | "Runtime status" | "Object type definitions" | "Connector 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";
|
|
150
162
|
}[];
|
|
151
163
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Jf,CAAA;AAEV,eAAO,MAAM,oBAAoB;;;GAG9B,CAAA"}
|
package/dist/registerRoutes.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
|
|
3
|
+
import { type ConnectorConnectionRouteOptions } from "./routes/connector-connection-runs";
|
|
4
|
+
export interface HttpRouteOptions {
|
|
5
|
+
readonly connectorConnections: ConnectorConnectionRouteOptions;
|
|
6
|
+
}
|
|
7
|
+
export declare function registerHttpRoutes(app: Elysia, host: SixbHostView, options: HttpRouteOptions): Elysia<"", {
|
|
4
8
|
decorator: {};
|
|
5
9
|
store: {};
|
|
6
10
|
derive: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerRoutes.d.ts","sourceRoot":"","sources":["../src/registerRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
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;AAoB3C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2B5F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
export declare function registerActionRunRoutes(app: Elysia,
|
|
3
|
+
export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -23,14 +23,14 @@ export declare function registerActionRunRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
23
23
|
params: {};
|
|
24
24
|
query: {
|
|
25
25
|
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
26
|
-
limit?: string | undefined;
|
|
27
|
-
offset?: string | undefined;
|
|
28
|
-
order?: "asc" | "desc" | undefined;
|
|
29
26
|
objectTypeId?: string | undefined;
|
|
30
27
|
actionId?: string | undefined;
|
|
31
28
|
primaryId?: string | undefined;
|
|
32
29
|
startedAfter?: string | undefined;
|
|
33
30
|
startedBefore?: string | undefined;
|
|
31
|
+
limit?: string | undefined;
|
|
32
|
+
offset?: string | undefined;
|
|
33
|
+
order?: "asc" | "desc" | undefined;
|
|
34
34
|
};
|
|
35
35
|
headers: unknown;
|
|
36
36
|
response: {
|
|
@@ -48,11 +48,7 @@ export declare function registerActionRunRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
48
48
|
primaryId: string;
|
|
49
49
|
};
|
|
50
50
|
queuedAt: string;
|
|
51
|
-
error?:
|
|
52
|
-
message: string;
|
|
53
|
-
name?: string | undefined;
|
|
54
|
-
phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
|
|
55
|
-
} | undefined;
|
|
51
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit"> | undefined;
|
|
56
52
|
phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
|
|
57
53
|
startedAt?: string | undefined;
|
|
58
54
|
finishedAt?: string | undefined;
|
|
@@ -94,8 +90,8 @@ export declare function registerActionRunRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
94
90
|
200: {
|
|
95
91
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
96
92
|
projectId: string;
|
|
97
|
-
params: Record<string, unknown>;
|
|
98
93
|
id: string;
|
|
94
|
+
params: Record<string, unknown>;
|
|
99
95
|
actionId: string;
|
|
100
96
|
subject: {
|
|
101
97
|
kind: "none";
|
|
@@ -105,38 +101,32 @@ export declare function registerActionRunRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
105
101
|
primaryId: string;
|
|
106
102
|
};
|
|
107
103
|
queuedAt: string;
|
|
108
|
-
error?:
|
|
109
|
-
message: string;
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
|
|
112
|
-
} | undefined;
|
|
104
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit"> | undefined;
|
|
113
105
|
writeback?: {
|
|
114
|
-
status: "succeeded"
|
|
106
|
+
status: "succeeded";
|
|
107
|
+
completedAt: string;
|
|
108
|
+
result: import("../schemas/common").JsonValue;
|
|
109
|
+
} | {
|
|
110
|
+
error: import("@sixb/core").ActionRunFailure<"writeback">;
|
|
111
|
+
status: "failed";
|
|
115
112
|
completedAt: string;
|
|
116
|
-
error?: {
|
|
117
|
-
message: string;
|
|
118
|
-
name?: string | undefined;
|
|
119
|
-
phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
|
|
120
|
-
} | undefined;
|
|
121
|
-
result?: unknown;
|
|
122
113
|
} | undefined;
|
|
123
114
|
effects?: {
|
|
124
|
-
status: "succeeded"
|
|
115
|
+
status: "succeeded";
|
|
116
|
+
completedAt: string;
|
|
117
|
+
} | {
|
|
118
|
+
error: import("@sixb/core").ActionRunFailure<"effects">;
|
|
119
|
+
status: "failed";
|
|
125
120
|
completedAt: string;
|
|
126
|
-
error?: {
|
|
127
|
-
message: string;
|
|
128
|
-
name?: string | undefined;
|
|
129
|
-
phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
|
|
130
|
-
} | undefined;
|
|
131
121
|
} | undefined;
|
|
132
122
|
phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
|
|
133
123
|
startedAt?: string | undefined;
|
|
134
124
|
finishedAt?: string | undefined;
|
|
135
125
|
};
|
|
136
|
-
|
|
126
|
+
404: {
|
|
137
127
|
error: string;
|
|
138
128
|
};
|
|
139
|
-
|
|
129
|
+
400: {
|
|
140
130
|
error: string;
|
|
141
131
|
};
|
|
142
132
|
501: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-runs.d.ts","sourceRoot":"","sources":["../../src/routes/action-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"action-runs.d.ts","sourceRoot":"","sources":["../../src/routes/action-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAwHpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0HtE"}
|
package/dist/routes/actions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
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: {};
|
|
@@ -25,17 +25,17 @@ export declare function registerActionRoutes(app: Elysia, sixb: Sixb<readonly On
|
|
|
25
25
|
headers: unknown;
|
|
26
26
|
response: {
|
|
27
27
|
200: {
|
|
28
|
+
id: string;
|
|
28
29
|
name: string;
|
|
29
30
|
params: {
|
|
30
|
-
name: string;
|
|
31
31
|
id: string;
|
|
32
|
+
name: string;
|
|
32
33
|
description?: string | undefined;
|
|
33
|
-
required?: boolean | undefined;
|
|
34
34
|
nullable?: boolean | undefined;
|
|
35
|
+
required?: boolean | undefined;
|
|
35
36
|
semanticType?: string | undefined;
|
|
36
37
|
schema?: unknown;
|
|
37
38
|
}[];
|
|
38
|
-
id: string;
|
|
39
39
|
phases: {
|
|
40
40
|
validate: boolean;
|
|
41
41
|
writeback: boolean;
|
|
@@ -71,17 +71,17 @@ export declare function registerActionRoutes(app: Elysia, sixb: Sixb<readonly On
|
|
|
71
71
|
headers: unknown;
|
|
72
72
|
response: {
|
|
73
73
|
200: {
|
|
74
|
+
id: string;
|
|
74
75
|
name: string;
|
|
75
76
|
params: {
|
|
76
|
-
name: string;
|
|
77
77
|
id: string;
|
|
78
|
+
name: string;
|
|
78
79
|
description?: string | undefined;
|
|
79
|
-
required?: boolean | undefined;
|
|
80
80
|
nullable?: boolean | undefined;
|
|
81
|
+
required?: boolean | undefined;
|
|
81
82
|
semanticType?: string | undefined;
|
|
82
83
|
schema?: unknown;
|
|
83
84
|
}[];
|
|
84
|
-
id: string;
|
|
85
85
|
phases: {
|
|
86
86
|
validate: boolean;
|
|
87
87
|
writeback: boolean;
|
|
@@ -137,14 +137,15 @@ export declare function registerActionRoutes(app: Elysia, sixb: Sixb<readonly On
|
|
|
137
137
|
jobId?: string | undefined;
|
|
138
138
|
} | {
|
|
139
139
|
error: string;
|
|
140
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
140
141
|
};
|
|
141
|
-
|
|
142
|
+
404: {
|
|
142
143
|
error: string;
|
|
143
144
|
};
|
|
144
|
-
|
|
145
|
+
403: {
|
|
145
146
|
error: string;
|
|
146
147
|
};
|
|
147
|
-
|
|
148
|
+
400: {
|
|
148
149
|
error: string;
|
|
149
150
|
};
|
|
150
151
|
202: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAuCpC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EpE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
export declare function registerAgentApiGatewayRoutes(app: Elysia,
|
|
3
|
+
export declare function registerAgentApiGatewayRoutes(app: Elysia, host: SixbHostView): void;
|
|
4
4
|
//# sourceMappingURL=agent-api-gateway.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-api-gateway.d.ts","sourceRoot":"","sources":["../../src/routes/agent-api-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"agent-api-gateway.d.ts","sourceRoot":"","sources":["../../src/routes/agent-api-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,YAAY,CAAA;AAUpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgBpC,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,QAuB5E"}
|