- category table with hierarchical parent_id, sort ordering, soft-delete - supplier table with contact info, account number, payment terms - CRUD routes for both with search on suppliers - Zod validation schemas in @forte/shared - Products will link to suppliers via join table (many-to-many) - 26 tests passing
31 lines
709 B
TypeScript
31 lines
709 B
TypeScript
export { UserRole, RegisterSchema, LoginSchema } from './auth.schema.js'
|
|
export type { RegisterInput, LoginInput } from './auth.schema.js'
|
|
|
|
export {
|
|
BillingMode,
|
|
AccountCreateSchema,
|
|
AccountUpdateSchema,
|
|
MemberCreateSchema,
|
|
MemberUpdateSchema,
|
|
AccountSearchSchema,
|
|
} from './account.schema.js'
|
|
export type {
|
|
AccountCreateInput,
|
|
AccountUpdateInput,
|
|
MemberCreateInput,
|
|
MemberUpdateInput,
|
|
} from './account.schema.js'
|
|
|
|
export {
|
|
CategoryCreateSchema,
|
|
CategoryUpdateSchema,
|
|
SupplierCreateSchema,
|
|
SupplierUpdateSchema,
|
|
} from './inventory.schema.js'
|
|
export type {
|
|
CategoryCreateInput,
|
|
CategoryUpdateInput,
|
|
SupplierCreateInput,
|
|
SupplierUpdateInput,
|
|
} from './inventory.schema.js'
|