Skip to contentOpen History to see the last commit
composer-image-schema.ts
11 lines299 Bytes
1import * as Schema from "effect/Schema"; 3export const DraftComposerImageAttachmentSchema = Schema.Struct({ 5 previewUri: Schema.String, 6 type: Schema.Literal("image"), 8 mimeType: Schema.String, 9 sizeBytes: Schema.Number, 10 dataUrl: Schema.String,