@usine/gateway 0.2.1-next.293.gde8dcb8 → 0.2.1-next.295.g3fa96e0
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/admin/api.d.ts +17 -17
- package/package.json +2 -2
package/dist/admin/api.d.ts
CHANGED
|
@@ -83,7 +83,23 @@ export declare class AdminAuthorization extends AdminAuthorization_base {
|
|
|
83
83
|
* for an Attempt, and to read the Gateway's LLM provider credential kinds (ADR 0013).
|
|
84
84
|
* Renewal re-creates a missing attachment under the same ID, so caller tokens stay valid.
|
|
85
85
|
*/
|
|
86
|
-
export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApiGroup.HttpApiGroup<"attachments", HttpApiEndpoint.HttpApiEndpoint<"
|
|
86
|
+
export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApiGroup.HttpApiGroup<"attachments", HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
87
|
+
id: Schema.brand<Schema.String, "AttachmentId">;
|
|
88
|
+
}>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
|
|
89
|
+
readonly _tag: "AttachmentPersistenceError";
|
|
90
|
+
readonly operation: "read" | "write";
|
|
91
|
+
readonly message: string;
|
|
92
|
+
}, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
|
|
93
|
+
readonly operation: Schema.Literals<readonly ["read", "write"]>;
|
|
94
|
+
readonly message: Schema.String;
|
|
95
|
+
}>], {
|
|
96
|
+
readonly _tag: "AttachmentPersistenceError";
|
|
97
|
+
readonly operation: "read" | "write";
|
|
98
|
+
readonly message: string;
|
|
99
|
+
}>, Schema.TaggedStruct<"AttachmentPersistenceError", {
|
|
100
|
+
readonly operation: Schema.Literals<readonly ["read", "write"]>;
|
|
101
|
+
readonly message: Schema.String;
|
|
102
|
+
}>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/v1/attachments", never, never, never, never, Schema.toCodecJson<typeof AttachmentList>, never, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"attach", "POST", "/v1/attachments", never, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
|
|
87
103
|
readonly _tag: "AttachmentAlreadyExpired";
|
|
88
104
|
readonly worker: string;
|
|
89
105
|
readonly repository: string;
|
|
@@ -167,21 +183,5 @@ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApi
|
|
|
167
183
|
}>, Schema.TaggedStruct<"AttachmentPersistenceError", {
|
|
168
184
|
readonly operation: Schema.Literals<readonly ["read", "write"]>;
|
|
169
185
|
readonly message: Schema.String;
|
|
170
|
-
}>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
171
|
-
id: Schema.brand<Schema.String, "AttachmentId">;
|
|
172
|
-
}>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
|
|
173
|
-
readonly _tag: "AttachmentPersistenceError";
|
|
174
|
-
readonly operation: "read" | "write";
|
|
175
|
-
readonly message: string;
|
|
176
|
-
}, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
|
|
177
|
-
readonly operation: Schema.Literals<readonly ["read", "write"]>;
|
|
178
|
-
readonly message: Schema.String;
|
|
179
|
-
}>], {
|
|
180
|
-
readonly _tag: "AttachmentPersistenceError";
|
|
181
|
-
readonly operation: "read" | "write";
|
|
182
|
-
readonly message: string;
|
|
183
|
-
}>, Schema.TaggedStruct<"AttachmentPersistenceError", {
|
|
184
|
-
readonly operation: Schema.Literals<readonly ["read", "write"]>;
|
|
185
|
-
readonly message: Schema.String;
|
|
186
186
|
}>, never, never>>, AdminAuthorization, never>, false> | HttpApiGroup.HttpApiGroup<"llm", HttpApiEndpoint.HttpApiEndpoint<"providers", "GET", "/v1/providers", never, never, never, never, Schema.toCodecJson<typeof LlmProviderList>, never, AdminAuthorization, never>, false>>;
|
|
187
187
|
//# sourceMappingURL=api.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usine/gateway",
|
|
3
|
-
"version": "0.2.1-next.
|
|
3
|
+
"version": "0.2.1-next.295.g3fa96e0",
|
|
4
4
|
"description": "The usine gateway: a credential-injecting proxy for GitHub and LLM providers, and an egress allowlist, in front of Worker VMs.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@effect/platform-node": "4.0.6",
|
|
39
39
|
"@effect/platform-node-shared": "4.0.6",
|
|
40
|
-
"@usine/core": "0.5.1-next.
|
|
40
|
+
"@usine/core": "0.5.1-next.295.g3fa96e0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@effect/vitest": "4.0.6",
|