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 | 3 | import YAML from "yaml"; |
| 4 | 4 | |
| 5 | 5 | import { |
| 6 | + SecretRefSchema, | |
| 6 | 7 | StringMapSchema, |
| 7 | −} from "@executor/source-core"; | |
| 8 | +} from "@executor/platform-sdk/schema"; | |
| 8 | 9 | |
| 9 | 10 | export const OpenApiConnectionAuthSchema = Schema.Union( |
| 10 | 11 | Schema.Struct({ |
| @@ -12,7 +13,7 @@ export const OpenApiConnectionAuthSchema = Schema.Union( · 1 unmodified line | ||
| 12 | 13 | }), |
| 13 | 14 | Schema.Struct({ |
| 14 | 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 | 12 | "typecheck": "bunx tsc --noEmit -p tsconfig.json" |
| 13 | 13 | }, |
| 14 | 14 | "dependencies": { |
| 15 | + "@executor/platform-sdk": "workspace:*", | |
| 15 | 16 | "@executor/source-core": "workspace:*", |
| 16 | 17 | "effect": "catalog:", |
| 17 | 18 | "yaml": "^2.8.1" |