@usine/gateway 0.2.2-next.329.g45bb9cb.1.1 → 0.2.2-next.330.g25728fa.1.1

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.
Files changed (2) hide show
  1. package/dist/admin/api.d.ts +18 -18
  2. package/package.json +2 -2
@@ -105,23 +105,7 @@ export declare class AdminAuthorization extends AdminAuthorization_base {
105
105
  * for an attempt, and to read the gateway's LLM provider credential kinds (ADR 0013).
106
106
  * Renewal re-creates a missing attachment under the same ID, so caller tokens stay valid.
107
107
  */
108
- export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApiGroup.HttpApiGroup<"attachments", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/v1/attachments", never, never, never, never, Schema.toCodecJson<typeof AttachmentList>, never, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
109
- id: Schema.brand<Schema.String, "AttachmentId">;
110
- }>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
111
- readonly _tag: "AttachmentPersistenceError";
112
- readonly operation: "read" | "write";
113
- readonly message: string;
114
- }, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
115
- readonly operation: Schema.Literals<readonly ["read", "write"]>;
116
- readonly message: Schema.String;
117
- }>], {
118
- readonly _tag: "AttachmentPersistenceError";
119
- readonly operation: "read" | "write";
120
- readonly message: string;
121
- }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
122
- readonly operation: Schema.Literals<readonly ["read", "write"]>;
123
- readonly message: Schema.String;
124
- }>, never, 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, {
108
+ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApiGroup.HttpApiGroup<"attachments", HttpApiEndpoint.HttpApiEndpoint<"attach", "POST", "/v1/attachments", never, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
125
109
  readonly _tag: "AttachmentAlreadyExpired";
126
110
  readonly worker: string;
127
111
  readonly repository: string;
@@ -153,7 +137,23 @@ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApi
153
137
  }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
154
138
  readonly operation: Schema.Literals<readonly ["read", "write"]>;
155
139
  readonly message: Schema.String;
156
- }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"renew", "PUT", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
140
+ }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
141
+ id: Schema.brand<Schema.String, "AttachmentId">;
142
+ }>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
143
+ readonly _tag: "AttachmentPersistenceError";
144
+ readonly operation: "read" | "write";
145
+ readonly message: string;
146
+ }, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
147
+ readonly operation: Schema.Literals<readonly ["read", "write"]>;
148
+ readonly message: Schema.String;
149
+ }>], {
150
+ readonly _tag: "AttachmentPersistenceError";
151
+ readonly operation: "read" | "write";
152
+ readonly message: string;
153
+ }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
154
+ readonly operation: Schema.Literals<readonly ["read", "write"]>;
155
+ readonly message: Schema.String;
156
+ }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/v1/attachments", never, never, never, never, Schema.toCodecJson<typeof AttachmentList>, never, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"renew", "PUT", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
157
157
  id: Schema.brand<Schema.String, "AttachmentId">;
158
158
  }>>, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
159
159
  readonly _tag: "AttachmentAlreadyExpired";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usine/gateway",
3
- "version": "0.2.2-next.329.g45bb9cb.1.1",
3
+ "version": "0.2.2-next.330.g25728fa.1.1",
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.6.1-next.329.g45bb9cb.1.1"
40
+ "@usine/core": "0.6.1-next.330.g25728fa.1.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@effect/vitest": "4.0.6",