Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
import { z } from 'zod'
import { syncClientInfoSchema } from './sync-client-info.dto.js'
export const syncClientAuthSchema = z.object({
clientId: z.uuid(),
token: z.uuid(),
info: syncClientInfoSchema,
tokenHasExpired: z.boolean().nullish()
})
export type SyncClientAuthDto = z.infer<typeof syncClientAuthSchema>