feat(cardex): implement cardex controller, service, and DTO for stock movements

feat(pos): add POS controller and service for order creation and stock retrieval
refactor(pos): enhance stock and product category retrieval with pagination and mapping
This commit is contained in:
2025-12-21 19:09:41 +03:30
parent d514267f58
commit c6a86719dd
42 changed files with 3769 additions and 119 deletions
+2 -2
View File
@@ -245,17 +245,17 @@ export type RoleOrderByWithRelationInput = {
export type RoleWhereUniqueInput = Prisma.AtLeast<{
id?: number
name?: string
AND?: Prisma.RoleWhereInput | Prisma.RoleWhereInput[]
OR?: Prisma.RoleWhereInput[]
NOT?: Prisma.RoleWhereInput | Prisma.RoleWhereInput[]
name?: Prisma.StringFilter<"Role"> | string
description?: Prisma.StringNullableFilter<"Role"> | string | null
permissions?: Prisma.JsonNullableFilter<"Role">
createdAt?: Prisma.DateTimeFilter<"Role"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"Role"> | Date | string
deletedAt?: Prisma.DateTimeNullableFilter<"Role"> | Date | string | null
users?: Prisma.UserListRelationFilter
}, "id">
}, "id" | "name">
export type RoleOrderByWithAggregationInput = {
id?: Prisma.SortOrder