export const typeEnum = taxSchema.enum("type", Object.values(OrderType) as any as [string, ...string[]]);
export const statusEnum = taxSchema.enum("status", Object.values(OrderStatus) as any as [string, ...string[]]);
export const currencyPairEnum = taxSchema.enum(
"currencyPair",
Object.values(CurrencyPair) as any as [string, ...string[]],
);
export const orders = taxSchema.table("orders", {
id: varchar("id").primaryKey(),
type: typeEnum("type"),...
export const typeEnum = taxSchema.enum("type", Object.values(OrderType) as any as [string, ...string[]]);
export const statusEnum = taxSchema.enum("status", Object.values(OrderStatus) as any as [string, ...string[]]);
export const currencyPairEnum = taxSchema.enum(
"currencyPair",
Object.values(CurrencyPair) as any as [string, ...string[]],
);
export const orders = taxSchema.table("orders", {
id: varchar("id").primaryKey(),
type: typeEnum("type"),...