File
Blob: src/worker/db/types.ts
| 1 | export type DavScope = |
| 2 | | "dav:files:read" |
| 3 | | "dav:files:write" |
| 4 | | "dav:caldav:read" |
| 5 | | "dav:caldav:write" |
| 6 | | "dav:carddav:read" |
| 7 | | "dav:carddav:write"; |
| 8 | |
| 9 | export type JsonObject = Record<string, unknown>; |
| 10 | export type NodeKind = "collection" | "file"; |
| 11 | export type LockScope = "exclusive" | "shared"; |
| 12 | export type LockDepth = "0" | "infinity"; |
| 13 | export type PendingUploadState = "pending" | "committed" | "aborted"; |
| 14 | export type FileChangeType = "created" | "updated" | "deleted" | "moved"; |
| 15 | export type CalendarComponentType = "VEVENT" | "VTODO" | "VJOURNAL"; |
| 16 | export type DavResourceKind = "home" | "calendar" | "addressbook" | "object"; |
| 17 | export type DavChangeType = "created" | "updated" | "deleted"; |