15 lines
324 B
TypeScript
15 lines
324 B
TypeScript
|
|
import type { TypeOf } from 'zod'
|
|
|
|
import { DateSchema } from './common/date'
|
|
import { IdSchema } from './common/id'
|
|
|
|
import { AbstractSchema } from './abstract'
|
|
|
|
export const CaldavTokenSchema = AbstractSchema.extend({
|
|
id: IdSchema,
|
|
created: DateSchema,
|
|
})
|
|
|
|
export type CaldavToken = TypeOf<typeof CaldavTokenSchema>
|