fc27b9d616
- Implemented PosGoodFavoriteController to handle attaching and detaching favorites for goods. - Created PosGoodFavoriteService to manage the business logic for favorites, including database operations and cache invalidation. - Added PosGoodFavoriteModule to encapsulate the controller and service.
255 lines
5.0 KiB
TypeScript
255 lines
5.0 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
* Use it to get access to models, enums, and input types.
|
|
*
|
|
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
* See `client.ts` for the standard, server-side entry point.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import * as Prisma from './internal/prismaNamespaceBrowser.js'
|
|
export { Prisma }
|
|
export * as $Enums from './enums.js'
|
|
export * from './enums.js';
|
|
/**
|
|
* Model AdminAccount
|
|
*
|
|
*/
|
|
export type AdminAccount = Prisma.AdminAccountModel
|
|
/**
|
|
* Model Admin
|
|
*
|
|
*/
|
|
export type Admin = Prisma.AdminModel
|
|
/**
|
|
* Model Account
|
|
*
|
|
*/
|
|
export type Account = Prisma.AccountModel
|
|
/**
|
|
* Model DeviceBrand
|
|
*
|
|
*/
|
|
export type DeviceBrand = Prisma.DeviceBrandModel
|
|
/**
|
|
* Model Device
|
|
*
|
|
*/
|
|
export type Device = Prisma.DeviceModel
|
|
/**
|
|
* Model LicenseChargeTransaction
|
|
*
|
|
*/
|
|
export type LicenseChargeTransaction = Prisma.LicenseChargeTransactionModel
|
|
/**
|
|
* Model License
|
|
*
|
|
*/
|
|
export type License = Prisma.LicenseModel
|
|
/**
|
|
* Model LicenseActivation
|
|
*
|
|
*/
|
|
export type LicenseActivation = Prisma.LicenseActivationModel
|
|
/**
|
|
* Model LicenseRenewChargeTransaction
|
|
*
|
|
*/
|
|
export type LicenseRenewChargeTransaction = Prisma.LicenseRenewChargeTransactionModel
|
|
/**
|
|
* Model LicenseRenew
|
|
*
|
|
*/
|
|
export type LicenseRenew = Prisma.LicenseRenewModel
|
|
/**
|
|
* Model PartnerAccountQuotaChargeTransaction
|
|
*
|
|
*/
|
|
export type PartnerAccountQuotaChargeTransaction = Prisma.PartnerAccountQuotaChargeTransactionModel
|
|
/**
|
|
* Model PartnerAccountQuotaCredit
|
|
*
|
|
*/
|
|
export type PartnerAccountQuotaCredit = Prisma.PartnerAccountQuotaCreditModel
|
|
/**
|
|
* Model LicenseAccountAllocation
|
|
*
|
|
*/
|
|
export type LicenseAccountAllocation = Prisma.LicenseAccountAllocationModel
|
|
/**
|
|
* Model PartnerAccount
|
|
*
|
|
*/
|
|
export type PartnerAccount = Prisma.PartnerAccountModel
|
|
/**
|
|
* Model Partner
|
|
*
|
|
*/
|
|
export type Partner = Prisma.PartnerModel
|
|
/**
|
|
* Model PermissionConsumer
|
|
*
|
|
*/
|
|
export type PermissionConsumer = Prisma.PermissionConsumerModel
|
|
/**
|
|
* Model PermissionPos
|
|
*
|
|
*/
|
|
export type PermissionPos = Prisma.PermissionPosModel
|
|
/**
|
|
* Model PermissionComplex
|
|
*
|
|
*/
|
|
export type PermissionComplex = Prisma.PermissionComplexModel
|
|
/**
|
|
* Model PermissionBusiness
|
|
*
|
|
*/
|
|
export type PermissionBusiness = Prisma.PermissionBusinessModel
|
|
/**
|
|
* Model ProviderAccount
|
|
*
|
|
*/
|
|
export type ProviderAccount = Prisma.ProviderAccountModel
|
|
/**
|
|
* Model Provider
|
|
*
|
|
*/
|
|
export type Provider = Prisma.ProviderModel
|
|
/**
|
|
* Model ConsumerAccountDevice
|
|
*
|
|
*/
|
|
export type ConsumerAccountDevice = Prisma.ConsumerAccountDeviceModel
|
|
/**
|
|
* Model ApplicationReleasedInfo
|
|
*
|
|
*/
|
|
export type ApplicationReleasedInfo = Prisma.ApplicationReleasedInfoModel
|
|
/**
|
|
* Model ConsumerAccount
|
|
*
|
|
*/
|
|
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
|
/**
|
|
* Model Consumer
|
|
*
|
|
*/
|
|
export type Consumer = Prisma.ConsumerModel
|
|
/**
|
|
* Model ConsumerIndividual
|
|
*
|
|
*/
|
|
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
|
/**
|
|
* Model ConsumerLegal
|
|
*
|
|
*/
|
|
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
|
/**
|
|
* Model BusinessActivity
|
|
*
|
|
*/
|
|
export type BusinessActivity = Prisma.BusinessActivityModel
|
|
/**
|
|
* Model Complex
|
|
*
|
|
*/
|
|
export type Complex = Prisma.ComplexModel
|
|
/**
|
|
* Model Pos
|
|
*
|
|
*/
|
|
export type Pos = Prisma.PosModel
|
|
/**
|
|
* Model ConsumerAccountGoodFavorite
|
|
*
|
|
*/
|
|
export type ConsumerAccountGoodFavorite = Prisma.ConsumerAccountGoodFavoriteModel
|
|
/**
|
|
* Model Good
|
|
*
|
|
*/
|
|
export type Good = Prisma.GoodModel
|
|
/**
|
|
* Model GoodCategory
|
|
*
|
|
*/
|
|
export type GoodCategory = Prisma.GoodCategoryModel
|
|
/**
|
|
* Model Guild
|
|
*
|
|
*/
|
|
export type Guild = Prisma.GuildModel
|
|
/**
|
|
* Model MeasureUnits
|
|
*
|
|
*/
|
|
export type MeasureUnits = Prisma.MeasureUnitsModel
|
|
/**
|
|
* Model StockKeepingUnits
|
|
*
|
|
*/
|
|
export type StockKeepingUnits = Prisma.StockKeepingUnitsModel
|
|
/**
|
|
* Model TriggerLog
|
|
*
|
|
*/
|
|
export type TriggerLog = Prisma.TriggerLogModel
|
|
/**
|
|
* Model Customer
|
|
*
|
|
*/
|
|
export type Customer = Prisma.CustomerModel
|
|
/**
|
|
* Model CustomerIndividual
|
|
*
|
|
*/
|
|
export type CustomerIndividual = Prisma.CustomerIndividualModel
|
|
/**
|
|
* Model CustomerLegal
|
|
*
|
|
*/
|
|
export type CustomerLegal = Prisma.CustomerLegalModel
|
|
/**
|
|
* Model SalesInvoice
|
|
*
|
|
*/
|
|
export type SalesInvoice = Prisma.SalesInvoiceModel
|
|
/**
|
|
* Model SalesInvoiceItem
|
|
*
|
|
*/
|
|
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
|
/**
|
|
* Model SaleInvoiceTspAttempts
|
|
*
|
|
*/
|
|
export type SaleInvoiceTspAttempts = Prisma.SaleInvoiceTspAttemptsModel
|
|
/**
|
|
* Model SalesInvoicePayment
|
|
*
|
|
*/
|
|
export type SalesInvoicePayment = Prisma.SalesInvoicePaymentModel
|
|
/**
|
|
* Model SalesInvoicePaymentTerminalInfo
|
|
*
|
|
*/
|
|
export type SalesInvoicePaymentTerminalInfo = Prisma.SalesInvoicePaymentTerminalInfoModel
|
|
/**
|
|
* Model Service
|
|
*
|
|
*/
|
|
export type Service = Prisma.ServiceModel
|
|
/**
|
|
* Model ServiceCategory
|
|
*
|
|
*/
|
|
export type ServiceCategory = Prisma.ServiceCategoryModel
|