add schema for box and item
add mobile version for datatable
This commit is contained in:
@@ -60,7 +60,9 @@ export const ModelName = {
|
||||
Invitation: 'Invitation',
|
||||
Setting: 'Setting',
|
||||
Audit: 'Audit',
|
||||
Notification: 'Notification'
|
||||
Notification: 'Notification',
|
||||
Box: 'Box',
|
||||
Item: 'Item'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -223,6 +225,43 @@ export const NotificationScalarFieldEnum = {
|
||||
export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
||||
|
||||
|
||||
export const BoxScalarFieldEnum = {
|
||||
id: 'id',
|
||||
houseId: 'houseId',
|
||||
icon: 'icon',
|
||||
color: 'color',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
tags: 'tags',
|
||||
createrId: 'createrId',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
deletedAt: 'deletedAt',
|
||||
isPrivate: 'isPrivate'
|
||||
} as const
|
||||
|
||||
export type BoxScalarFieldEnum = (typeof BoxScalarFieldEnum)[keyof typeof BoxScalarFieldEnum]
|
||||
|
||||
|
||||
export const ItemScalarFieldEnum = {
|
||||
id: 'id',
|
||||
createrId: 'createrId',
|
||||
boxId: 'boxId',
|
||||
image: 'image',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
price: 'price',
|
||||
tags: 'tags',
|
||||
quantity: 'quantity',
|
||||
expiresAt: 'expiresAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
deletedAt: 'deletedAt'
|
||||
} as const
|
||||
|
||||
export type ItemScalarFieldEnum = (typeof ItemScalarFieldEnum)[keyof typeof ItemScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
|
||||
Reference in New Issue
Block a user