project-id.ts 251 B

12345678
  1. import { Schema } from "effect"
  2. import { statics } from "./schema"
  3. export const ProjectID = Schema.String.pipe(
  4. Schema.brand("Project.ID"),
  5. statics((schema) => ({ global: schema.make("global") })),
  6. )
  7. export type ProjectID = typeof ProjectID.Type