feat(core): map providers to integrations (#33562)

This commit is contained in:
Dax
2026-06-24 00:53:31 +00:00
committed by GitHub
parent c556bddda3
commit 4898263dec
8 changed files with 202 additions and 141 deletions
+2
View File
@@ -1,6 +1,7 @@
export * as ProviderV2 from "./provider"
import { withStatics } from "./schema"
import { IntegrationSchema } from "./integration/schema"
import { Schema, Types } from "effect"
export const ID = Schema.String.pipe(
@@ -49,6 +50,7 @@ export type Request = typeof Request.Type
export class Info extends Schema.Class<Info>("ProviderV2.Info")({
id: ID,
integrationID: IntegrationSchema.ID.pipe(Schema.optional),
name: Schema.String,
disabled: Schema.Boolean.pipe(Schema.optional),
api: Api,