refactor(protocol): extract server contracts (#33708)
This commit is contained in:
parent
f9dac262ff
commit
56a37c3640
77 changed files with 1070 additions and 878 deletions
7
packages/schema/src/integration-id.ts
Normal file
7
packages/schema/src/integration-id.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Schema } from "effect"
|
||||
|
||||
export const IntegrationID = Schema.String.pipe(Schema.brand("Integration.ID"))
|
||||
export type IntegrationID = typeof IntegrationID.Type
|
||||
|
||||
export const IntegrationMethodID = Schema.String.pipe(Schema.brand("Integration.MethodID"))
|
||||
export type IntegrationMethodID = typeof IntegrationMethodID.Type
|
||||
Loading…
Add table
Add a link
Reference in a new issue