record.ts
This file
Path
packages/protocol/src/domain/record.ts
13 lines · 319 bytes · TypeScript
Last changed by
Merge build/comments-cli-protocol-checks into mainoscabrielbefore adoptionc86204f
History of this fileTake it
1234567891011121314import { Schema } from "effect";
import { ProjectName } from "../ids.ts";import { CreditRole } from "./credit.ts";
export const CreditSummary = Schema.Struct({ area: Schema.NonEmptyString, count: Schema.Int, project: ProjectName, role: CreditRole,});
export type CreditSummary = typeof CreditSummary.Type;