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

This commit is contained in:
Dax 2026-06-23 20:53:31 -04:00 committed by GitHub
commit 4898263dec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 201 additions and 140 deletions

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,