mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-03 04:11:16 +00:00
10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
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
|