Export task types.
This commit is contained in:
parent
e2d902d9ca
commit
a4a09380b6
@ -4,11 +4,11 @@ import type { ServiceResponse } from "$lib/server/services/service.types";
|
||||
import type { InferSelectModel } from "drizzle-orm";
|
||||
import logger from "../logger";
|
||||
|
||||
type Task = InferSelectModel<typeof tasks> & {
|
||||
export type Task = InferSelectModel<typeof tasks> & {
|
||||
type: InferSelectModel<typeof taskTypes>;
|
||||
};
|
||||
|
||||
type TaskOrNull = InferSelectModel<typeof tasks> & {
|
||||
export type TaskOrNull = InferSelectModel<typeof tasks> & {
|
||||
type: InferSelectModel<typeof taskTypes> | null;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user