Files
drive/apps/drive-web/src/sharing/share.ts

10 lines
235 B
TypeScript
Raw Normal View History

2025-12-27 19:27:31 +00:00
import { type } from "arktype"
export const Share = type({
id: "string",
expiresAt: "string.date.iso.parse | null",
createdAt: "string.date.iso.parse",
updatedAt: "string.date.iso.parse",
})
export type Share = typeof Share.infer