mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
13 lines
448 B
TypeScript
13 lines
448 B
TypeScript
import { Schema } from "effect"
|
|
|
|
export const IntegrationID = Schema.String.pipe(
|
|
Schema.brand("Integration.ID"),
|
|
Schema.annotate({ identifier: "Integration.ID" }),
|
|
)
|
|
export type IntegrationID = typeof IntegrationID.Type
|
|
|
|
export const IntegrationMethodID = Schema.String.pipe(
|
|
Schema.brand("Integration.MethodID"),
|
|
Schema.annotate({ identifier: "Integration.MethodID" }),
|
|
)
|
|
export type IntegrationMethodID = typeof IntegrationMethodID.Type
|