mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-03 07:21:16 +00:00
feat: initial share dialog impl
This commit is contained in:
9
apps/drive-web/src/sharing/share.ts
Normal file
9
apps/drive-web/src/sharing/share.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user