import type {
  InferSchema,
  Selectable,
  Insertable,
  Updateable,
} from "@tailor-platform/erp-kit/core";
import type { DB } from "../generated/kysely-tailordb";

export type Schema = InferSchema<DB>;

export type Account<T extends { Account: object }> = Selectable<T["Account"]>;
export type AccountCreate<T extends { Account: object }> = Insertable<T["Account"]>;
export type AccountUpdate<T extends { Account: object }> = Updateable<T["Account"]>;
