@usine/gateway 0.2.1-next.307.g98eb9cd → 0.2.1-next.308.gd64b7c3

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.
@@ -115,7 +115,23 @@ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApi
115
115
  }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
116
116
  readonly operation: Schema.Literals<readonly ["read", "write"]>;
117
117
  readonly message: Schema.String;
118
- }>, 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<{
119
135
  id: Schema.brand<Schema.String, "AttachmentId">;
120
136
  }>>, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
121
137
  readonly _tag: "AttachmentAlreadyExpired";
@@ -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
- }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/v1/attachments", never, never, never, never, Schema.toCodecJson<typeof AttachmentList>, 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>>;
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
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/admin/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EACL,OAAO,EACP,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,UAAU,EACf,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAG3B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;;;;;;;AAExE,mGAAmG;AACnG,qBAAa,aAAc,SAAQ,kBAKjC;CAAG;;;;;;;;AAEL,uCAAuC;AACvC,qBAAa,iBAAkB,SAAQ,sBAQrC;IACA,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,iBAAiB,CAQ/D;CACF;;;;;AAED;;;GAGG;AACH,qBAAa,QAAS,SAAQ,aAG5B;CAAG;;;;AAEL,8EAA8E;AAC9E,qBAAa,QAAS,SAAQ,aAE5B;CAAG;;;;AAEL,qBAAa,cAAe,SAAQ,mBAElC;CAAG;;;;;AAEL,yGAAyG;AACzG,qBAAa,kBAAmB,SAAQ,uBAKtC;CAAG;;;;AAEL,0HAA0H;AAC1H,qBAAa,eAAgB,SAAQ,oBAInC;IACA,MAAM,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,YAAY,GAAG,eAAe,CAWzE;CACF;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;IACA,MAAM,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,YAAY,GAAG,eAAe,CAWzE;CACF;;;;;;;;;;;;;AAED;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,uBAGvC;CAAG;AAEJ;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iRAiC3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usine/gateway",
3
- "version": "0.2.1-next.307.g98eb9cd",
3
+ "version": "0.2.1-next.308.gd64b7c3",
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.307.g98eb9cd"
40
+ "@usine/core": "0.5.1-next.308.gd64b7c3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@effect/vitest": "4.0.6",