Showing the changes to plugins/openapi/shared (2 of 15 files). Show all
Unified · Split
| @@ -3,8 +3,9 @@ import * as Schema from "effect/Schema"; · 2 unmodified lines | |||
| 3 | import YAML from "yaml"; | 3 | import YAML from "yaml"; |
| 4 | 4 | ||
| 5 | import { | 5 | import { |
| 6 | SecretRefSchema, | ||
| 6 | StringMapSchema, | 7 | StringMapSchema, |
| 7 | } from "@executor/source-core"; | 8 | } from "@executor/platform-sdk/schema"; |
| 8 | 9 | ||
| 9 | export const OpenApiConnectionAuthSchema = Schema.Union( | 10 | export const OpenApiConnectionAuthSchema = Schema.Union( |
| 10 | Schema.Struct({ | 11 | Schema.Struct({ |
| @@ -12,7 +13,7 @@ export const OpenApiConnectionAuthSchema = Schema.Union( · 1 unmodified line | |||
| 12 | }), | 13 | }), |
| 13 | Schema.Struct({ | 14 | Schema.Struct({ |
| 14 | kind: Schema.Literal("bearer"), | 15 | kind: Schema.Literal("bearer"), |
| 15 | tokenSecretRef: Schema.String, | 16 | tokenSecretRef: SecretRefSchema, |
| 16 | }), | 17 | }), |
| 17 | ); | 18 | ); |
| 18 | 19 | ||
| @@ -12,6 +12,7 @@ · 11 unmodified lines | |||
| 12 | "typecheck": "bunx tsc --noEmit -p tsconfig.json" | 12 | "typecheck": "bunx tsc --noEmit -p tsconfig.json" |
| 13 | }, | 13 | }, |
| 14 | "dependencies": { | 14 | "dependencies": { |
| 15 | "@executor/platform-sdk": "workspace:*", | ||
| 15 | "@executor/source-core": "workspace:*", | 16 | "@executor/source-core": "workspace:*", |
| 16 | "effect": "catalog:", | 17 | "effect": "catalog:", |
| 17 | "yaml": "^2.8.1" | 18 | "yaml": "^2.8.1" |