@usine/gateway 0.2.1-next.264.gfdecd7e → 0.2.1-next.269.gf76a8c9

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
@@ -83,23 +83,7 @@ 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<"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<{
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<"attach", "POST", "/v1/attachments", never, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
86
+ 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, {
103
87
  readonly _tag: "AttachmentAlreadyExpired";
104
88
  readonly worker: string;
105
89
  readonly repository: string;
@@ -131,7 +115,23 @@ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApi
131
115
  }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
132
116
  readonly operation: Schema.Literals<readonly ["read", "write"]>;
133
117
  readonly message: Schema.String;
134
- }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"renew", "PUT", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
118
+ }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
119
+ id: Schema.brand<Schema.String, "AttachmentId">;
120
+ }>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
121
+ readonly _tag: "AttachmentPersistenceError";
122
+ readonly operation: "read" | "write";
123
+ readonly message: string;
124
+ }, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
125
+ readonly operation: Schema.Literals<readonly ["read", "write"]>;
126
+ readonly message: Schema.String;
127
+ }>], {
128
+ readonly _tag: "AttachmentPersistenceError";
129
+ readonly operation: "read" | "write";
130
+ readonly message: string;
131
+ }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
132
+ readonly operation: Schema.Literals<readonly ["read", "write"]>;
133
+ readonly message: Schema.String;
134
+ }>, 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<{
135
135
  id: Schema.brand<Schema.String, "AttachmentId">;
136
136
  }>>, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
137
137
  readonly _tag: "AttachmentAlreadyExpired";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usine/gateway",
3
- "version": "0.2.1-next.264.gfdecd7e",
3
+ "version": "0.2.1-next.269.gf76a8c9",
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.264.gfdecd7e"
40
+ "@usine/core": "0.5.1-next.269.gf76a8c9"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@effect/vitest": "4.0.6",