12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
|
import type { TypeOf } from 'zod'
|
||
|
|
||
|
import { AbstractSchema } from './abstract'
|
||
|
import { IdSchema } from './common/id'
|
||
|
|
||
|
export const LabelTaskSchema = AbstractSchema.extend({
|
||
|
id: IdSchema.nullable(),
|
||
|
taskId: IdSchema.nullable(),
|
||
|
labelId: IdSchema.nullable(),
|
||
|
})
|
||
|
|
||
|
export type LabelTask = TypeOf<typeof LabelTaskSchema>
|