@shophost/rest-api 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +17 -0
- package/README.md +69 -0
- package/global.d.ts +1 -0
- package/package.json +53 -0
- package/schemas.d.ts +1 -0
- package/schemas.js +2 -0
- package/schemas.ts +1 -0
- package/src/contract.d.ts +3853 -0
- package/src/contract.js +6 -0
- package/src/contract.js.map +1 -0
- package/src/contracts/cart.contract.d.ts +536 -0
- package/src/contracts/cart.contract.js +29 -0
- package/src/contracts/cart.contract.js.map +1 -0
- package/src/contracts/customers.contract.d.ts +903 -0
- package/src/contracts/customers.contract.js +119 -0
- package/src/contracts/customers.contract.js.map +1 -0
- package/src/contracts/files.contract.d.ts +152 -0
- package/src/contracts/files.contract.js +29 -0
- package/src/contracts/files.contract.js.map +1 -0
- package/src/contracts/health.contract.d.ts +38 -0
- package/src/contracts/health.contract.js +25 -0
- package/src/contracts/health.contract.js.map +1 -0
- package/src/contracts/index.d.ts +15466 -0
- package/src/contracts/index.js +32 -0
- package/src/contracts/index.js.map +1 -0
- package/src/contracts/location.contract.d.ts +127 -0
- package/src/contracts/location.contract.js +40 -0
- package/src/contracts/location.contract.js.map +1 -0
- package/src/contracts/manufacturers.contract.d.ts +931 -0
- package/src/contracts/manufacturers.contract.js +85 -0
- package/src/contracts/manufacturers.contract.js.map +1 -0
- package/src/contracts/orders.contract.d.ts +3910 -0
- package/src/contracts/orders.contract.js +92 -0
- package/src/contracts/orders.contract.js.map +1 -0
- package/src/contracts/organizations.contract.d.ts +2234 -0
- package/src/contracts/organizations.contract.js +71 -0
- package/src/contracts/organizations.contract.js.map +1 -0
- package/src/contracts/payment.contract.d.ts +64 -0
- package/src/contracts/payment.contract.js +20 -0
- package/src/contracts/payment.contract.js.map +1 -0
- package/src/contracts/product-categories.contract.d.ts +1172 -0
- package/src/contracts/product-categories.contract.js +103 -0
- package/src/contracts/product-categories.contract.js.map +1 -0
- package/src/contracts/products.contract.d.ts +3976 -0
- package/src/contracts/products.contract.js +128 -0
- package/src/contracts/products.contract.js.map +1 -0
- package/src/contracts/reservation.contract.d.ts +675 -0
- package/src/contracts/reservation.contract.js +141 -0
- package/src/contracts/reservation.contract.js.map +1 -0
- package/src/contracts/shipping-methods.contract.d.ts +1276 -0
- package/src/contracts/shipping-methods.contract.js +118 -0
- package/src/contracts/shipping-methods.contract.js.map +1 -0
- package/src/contracts/shipping.contract.d.ts +319 -0
- package/src/contracts/shipping.contract.js +42 -0
- package/src/contracts/shipping.contract.js.map +1 -0
- package/src/contracts/webhook.contract.d.ts +66 -0
- package/src/contracts/webhook.contract.js +28 -0
- package/src/contracts/webhook.contract.js.map +1 -0
- package/src/db/__generated__/client/client.d.ts +385 -0
- package/src/db/__generated__/client/client.js +44 -0
- package/src/db/__generated__/client/client.js.map +1 -0
- package/src/db/__generated__/client/commonInputTypes.d.ts +816 -0
- package/src/db/__generated__/client/commonInputTypes.js +10 -0
- package/src/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/db/__generated__/client/enums.d.ts +204 -0
- package/src/db/__generated__/client/enums.js +199 -0
- package/src/db/__generated__/client/enums.js.map +1 -0
- package/src/db/__generated__/client/index.d.ts +1 -0
- package/src/db/__generated__/client/index.js +5 -0
- package/src/db/__generated__/client/index.js.map +1 -0
- package/src/db/__generated__/client/internal/class.d.ts +414 -0
- package/src/db/__generated__/client/internal/class.js +76 -0
- package/src/db/__generated__/client/internal/class.js.map +1 -0
- package/src/db/__generated__/client/internal/prismaNamespace.d.ts +3474 -0
- package/src/db/__generated__/client/internal/prismaNamespace.js +543 -0
- package/src/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/db/__generated__/client/models/Account.d.ts +1459 -0
- package/src/db/__generated__/client/models/Account.js +2 -0
- package/src/db/__generated__/client/models/Account.js.map +1 -0
- package/src/db/__generated__/client/models/Address.d.ts +2337 -0
- package/src/db/__generated__/client/models/Address.js +2 -0
- package/src/db/__generated__/client/models/Address.js.map +1 -0
- package/src/db/__generated__/client/models/Campaign.d.ts +1469 -0
- package/src/db/__generated__/client/models/Campaign.js +2 -0
- package/src/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/db/__generated__/client/models/ClosingTimes.d.ts +1227 -0
- package/src/db/__generated__/client/models/ClosingTimes.js +2 -0
- package/src/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/db/__generated__/client/models/File.d.ts +2670 -0
- package/src/db/__generated__/client/models/File.js +2 -0
- package/src/db/__generated__/client/models/File.js.map +1 -0
- package/src/db/__generated__/client/models/Invitation.d.ts +1363 -0
- package/src/db/__generated__/client/models/Invitation.js +2 -0
- package/src/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/db/__generated__/client/models/LegalEntity.d.ts +1572 -0
- package/src/db/__generated__/client/models/LegalEntity.js +2 -0
- package/src/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/db/__generated__/client/models/Manufacturer.d.ts +1746 -0
- package/src/db/__generated__/client/models/Manufacturer.js +2 -0
- package/src/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.d.ts +1286 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.js +2 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Member.d.ts +1281 -0
- package/src/db/__generated__/client/models/Member.js +2 -0
- package/src/db/__generated__/client/models/Member.js.map +1 -0
- package/src/db/__generated__/client/models/Modifier.d.ts +1404 -0
- package/src/db/__generated__/client/models/Modifier.js +2 -0
- package/src/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/db/__generated__/client/models/ModifierGroup.d.ts +1469 -0
- package/src/db/__generated__/client/models/ModifierGroup.js +2 -0
- package/src/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.d.ts +1181 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js +2 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/OpeningTimes.d.ts +1227 -0
- package/src/db/__generated__/client/models/OpeningTimes.js +2 -0
- package/src/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/db/__generated__/client/models/Order.d.ts +2820 -0
- package/src/db/__generated__/client/models/Order.js +2 -0
- package/src/db/__generated__/client/models/Order.js.map +1 -0
- package/src/db/__generated__/client/models/OrderItem.d.ts +1755 -0
- package/src/db/__generated__/client/models/OrderItem.js +2 -0
- package/src/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.d.ts +1181 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.js +2 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Organization.d.ts +3996 -0
- package/src/db/__generated__/client/models/Organization.js +2 -0
- package/src/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.d.ts +1954 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.js +2 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/db/__generated__/client/models/Payment.d.ts +1538 -0
- package/src/db/__generated__/client/models/Payment.js +2 -0
- package/src/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/db/__generated__/client/models/PaymentSession.d.ts +1384 -0
- package/src/db/__generated__/client/models/PaymentSession.js +2 -0
- package/src/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/db/__generated__/client/models/Product.d.ts +3136 -0
- package/src/db/__generated__/client/models/Product.js +2 -0
- package/src/db/__generated__/client/models/Product.js.map +1 -0
- package/src/db/__generated__/client/models/ProductCategory.d.ts +1964 -0
- package/src/db/__generated__/client/models/ProductCategory.js +2 -0
- package/src/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.d.ts +1321 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js +2 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/ProductSnapshot.d.ts +1389 -0
- package/src/db/__generated__/client/models/ProductSnapshot.js +2 -0
- package/src/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/db/__generated__/client/models/ProductTranslation.d.ts +1321 -0
- package/src/db/__generated__/client/models/ProductTranslation.js +2 -0
- package/src/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Reservation.d.ts +1665 -0
- package/src/db/__generated__/client/models/Reservation.js +2 -0
- package/src/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/db/__generated__/client/models/Session.d.ts +1316 -0
- package/src/db/__generated__/client/models/Session.js +2 -0
- package/src/db/__generated__/client/models/Session.js.map +1 -0
- package/src/db/__generated__/client/models/ShippingMethod.d.ts +1934 -0
- package/src/db/__generated__/client/models/ShippingMethod.js +2 -0
- package/src/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/db/__generated__/client/models/ShippingZone.d.ts +1366 -0
- package/src/db/__generated__/client/models/ShippingZone.js +2 -0
- package/src/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/db/__generated__/client/models/User.d.ts +2201 -0
- package/src/db/__generated__/client/models/User.js +2 -0
- package/src/db/__generated__/client/models/User.js.map +1 -0
- package/src/db/__generated__/client/models/Verification.d.ts +1026 -0
- package/src/db/__generated__/client/models/Verification.js +2 -0
- package/src/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/db/__generated__/client/models.d.ts +38 -0
- package/src/db/__generated__/client/models.js +2 -0
- package/src/db/__generated__/client/models.js.map +1 -0
- package/src/db/index.d.ts +1 -0
- package/src/db/index.js +2 -0
- package/src/db/index.js.map +1 -0
- package/src/emails/order-confirmation-email.d.ts +10 -0
- package/src/emails/order-confirmation-email.js +229 -0
- package/src/emails/order-confirmation-email.js.map +1 -0
- package/src/emails/order-notification-email.d.ts +10 -0
- package/src/emails/order-notification-email.js +229 -0
- package/src/emails/order-notification-email.js.map +1 -0
- package/src/emails/reservation-cancellation-email.d.ts +10 -0
- package/src/emails/reservation-cancellation-email.js +82 -0
- package/src/emails/reservation-cancellation-email.js.map +1 -0
- package/src/emails/reservation-confirmation-email.d.ts +10 -0
- package/src/emails/reservation-confirmation-email.js +82 -0
- package/src/emails/reservation-confirmation-email.js.map +1 -0
- package/src/emails/reservation-notification-email.d.ts +11 -0
- package/src/emails/reservation-notification-email.js +93 -0
- package/src/emails/reservation-notification-email.js.map +1 -0
- package/src/exceptions/http-exception.d.ts +6 -0
- package/src/exceptions/http-exception.js +9 -0
- package/src/exceptions/http-exception.js.map +1 -0
- package/src/handlers/webhook.handler.d.ts +8 -0
- package/src/handlers/webhook.handler.js +36 -0
- package/src/handlers/webhook.handler.js.map +1 -0
- package/src/index.d.ts +5 -0
- package/src/index.js +7 -0
- package/src/index.js.map +1 -0
- package/src/integrations/next.d.ts +25 -0
- package/src/integrations/next.js +69 -0
- package/src/integrations/next.js.map +1 -0
- package/src/lib/better-auth.lib.d.ts +10215 -0
- package/src/lib/better-auth.lib.js +96 -0
- package/src/lib/better-auth.lib.js.map +1 -0
- package/src/lib/openapi.lib.d.ts +2 -0
- package/src/lib/openapi.lib.js +25 -0
- package/src/lib/openapi.lib.js.map +1 -0
- package/src/lib/pino.d.ts +1 -0
- package/src/lib/pino.js +5 -0
- package/src/lib/pino.js.map +1 -0
- package/src/lib/prisma.d.ts +819 -0
- package/src/lib/prisma.js +14 -0
- package/src/lib/prisma.js.map +1 -0
- package/src/lib/stripe.d.ts +2 -0
- package/src/lib/stripe.js +8 -0
- package/src/lib/stripe.js.map +1 -0
- package/src/lib/ts-rest.d.ts +2 -0
- package/src/lib/ts-rest.js +3 -0
- package/src/lib/ts-rest.js.map +1 -0
- package/src/routers/cart.router.d.ts +536 -0
- package/src/routers/cart.router.js +20 -0
- package/src/routers/cart.router.js.map +1 -0
- package/src/routers/file.router.d.ts +153 -0
- package/src/routers/file.router.js +28 -0
- package/src/routers/file.router.js.map +1 -0
- package/src/routers/health.router.d.ts +37 -0
- package/src/routers/health.router.js +17 -0
- package/src/routers/health.router.js.map +1 -0
- package/src/routers/index.d.ts +11 -0
- package/src/routers/index.js +12 -0
- package/src/routers/index.js.map +1 -0
- package/src/routers/manufacturer.router.d.ts +931 -0
- package/src/routers/manufacturer.router.js +58 -0
- package/src/routers/manufacturer.router.js.map +1 -0
- package/src/routers/order.router.d.ts +3911 -0
- package/src/routers/order.router.js +60 -0
- package/src/routers/order.router.js.map +1 -0
- package/src/routers/organization.router.d.ts +2234 -0
- package/src/routers/organization.router.js +55 -0
- package/src/routers/organization.router.js.map +1 -0
- package/src/routers/payment.router.d.ts +65 -0
- package/src/routers/payment.router.js +22 -0
- package/src/routers/payment.router.js.map +1 -0
- package/src/routers/places.router.d.ts +132 -0
- package/src/routers/places.router.js +31 -0
- package/src/routers/places.router.js.map +1 -0
- package/src/routers/product-category.router.d.ts +1172 -0
- package/src/routers/product-category.router.js +66 -0
- package/src/routers/product-category.router.js.map +1 -0
- package/src/routers/product.router.d.ts +3976 -0
- package/src/routers/product.router.js +86 -0
- package/src/routers/product.router.js.map +1 -0
- package/src/routers/reservation.router.d.ts +675 -0
- package/src/routers/reservation.router.js +71 -0
- package/src/routers/reservation.router.js.map +1 -0
- package/src/routers/shipping-method.router.d.ts +1276 -0
- package/src/routers/shipping-method.router.js +67 -0
- package/src/routers/shipping-method.router.js.map +1 -0
- package/src/routers/shipping.router.d.ts +320 -0
- package/src/routers/shipping.router.js +38 -0
- package/src/routers/shipping.router.js.map +1 -0
- package/src/routers/webhook.router.d.ts +65 -0
- package/src/routers/webhook.router.js +19 -0
- package/src/routers/webhook.router.js.map +1 -0
- package/src/schemas/address.schema.d.ts +235 -0
- package/src/schemas/address.schema.js +114 -0
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/auth.schema.d.ts +29 -0
- package/src/schemas/auth.schema.js +39 -0
- package/src/schemas/auth.schema.js.map +1 -0
- package/src/schemas/cart.schema.d.ts +446 -0
- package/src/schemas/cart.schema.js +41 -0
- package/src/schemas/cart.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +49 -0
- package/src/schemas/currency.schema.js +120 -0
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.d.ts +11 -0
- package/src/schemas/error.schema.js +14 -0
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/file.schema.d.ts +115 -0
- package/src/schemas/file.schema.js +79 -0
- package/src/schemas/file.schema.js.map +1 -0
- package/src/schemas/fulfilment.schema.d.ts +2 -0
- package/src/schemas/fulfilment.schema.js +5 -0
- package/src/schemas/fulfilment.schema.js.map +1 -0
- package/src/schemas/headers.schema.d.ts +11 -0
- package/src/schemas/headers.schema.js +15 -0
- package/src/schemas/headers.schema.js.map +1 -0
- package/src/schemas/index.d.ts +27 -0
- package/src/schemas/index.js +28 -0
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/legal-entity.schema.d.ts +212 -0
- package/src/schemas/legal-entity.schema.js +85 -0
- package/src/schemas/legal-entity.schema.js.map +1 -0
- package/src/schemas/locales.schema.d.ts +8 -0
- package/src/schemas/locales.schema.js +240 -0
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/location.schema.d.ts +41 -0
- package/src/schemas/location.schema.js +50 -0
- package/src/schemas/location.schema.js.map +1 -0
- package/src/schemas/manufacturer.schema.d.ts +287 -0
- package/src/schemas/manufacturer.schema.js +127 -0
- package/src/schemas/manufacturer.schema.js.map +1 -0
- package/src/schemas/number.schema.d.ts +3 -0
- package/src/schemas/number.schema.js +29 -0
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/order.schema.d.ts +1046 -0
- package/src/schemas/order.schema.js +160 -0
- package/src/schemas/order.schema.js.map +1 -0
- package/src/schemas/organization-configuration.schema.d.ts +287 -0
- package/src/schemas/organization-configuration.schema.js +117 -0
- package/src/schemas/organization-configuration.schema.js.map +1 -0
- package/src/schemas/organization.schema.d.ts +894 -0
- package/src/schemas/organization.schema.js +66 -0
- package/src/schemas/organization.schema.js.map +1 -0
- package/src/schemas/pagination.schema.d.ts +51 -0
- package/src/schemas/pagination.schema.js +54 -0
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.d.ts +19 -0
- package/src/schemas/params.schema.js +22 -0
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/payment.schema.d.ts +54 -0
- package/src/schemas/payment.schema.js +48 -0
- package/src/schemas/payment.schema.js.map +1 -0
- package/src/schemas/product-category.schema.d.ts +352 -0
- package/src/schemas/product-category.schema.js +87 -0
- package/src/schemas/product-category.schema.js.map +1 -0
- package/src/schemas/product-modifier.schema.d.ts +280 -0
- package/src/schemas/product-modifier.schema.js +86 -0
- package/src/schemas/product-modifier.schema.js.map +1 -0
- package/src/schemas/product.schema.d.ts +1405 -0
- package/src/schemas/product.schema.js +136 -0
- package/src/schemas/product.schema.js.map +1 -0
- package/src/schemas/queries.schema.d.ts +8 -0
- package/src/schemas/queries.schema.js +8 -0
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/schemas/recipient.schema.d.ts +260 -0
- package/src/schemas/recipient.schema.js +40 -0
- package/src/schemas/recipient.schema.js.map +1 -0
- package/src/schemas/reservation.schema.d.ts +61 -0
- package/src/schemas/reservation.schema.js +53 -0
- package/src/schemas/reservation.schema.js.map +1 -0
- package/src/schemas/shipping-method.schema.d.ts +335 -0
- package/src/schemas/shipping-method.schema.js +50 -0
- package/src/schemas/shipping-method.schema.js.map +1 -0
- package/src/schemas/shipping-zone.schema.d.ts +24 -0
- package/src/schemas/shipping-zone.schema.js +33 -0
- package/src/schemas/shipping-zone.schema.js.map +1 -0
- package/src/schemas/user.schema.d.ts +24 -0
- package/src/schemas/user.schema.js +32 -0
- package/src/schemas/user.schema.js.map +1 -0
- package/src/services/cart.service.d.ts +60 -0
- package/src/services/cart.service.js +97 -0
- package/src/services/cart.service.js.map +1 -0
- package/src/services/email.service.d.ts +32 -0
- package/src/services/email.service.js +116 -0
- package/src/services/email.service.js.map +1 -0
- package/src/services/file.service.d.ts +28 -0
- package/src/services/file.service.js +66 -0
- package/src/services/file.service.js.map +1 -0
- package/src/services/location.service.d.ts +28 -0
- package/src/services/location.service.js +109 -0
- package/src/services/location.service.js.map +1 -0
- package/src/services/manufacturer.service.d.ts +146 -0
- package/src/services/manufacturer.service.js +190 -0
- package/src/services/manufacturer.service.js.map +1 -0
- package/src/services/order.service.d.ts +444 -0
- package/src/services/order.service.js +306 -0
- package/src/services/order.service.js.map +1 -0
- package/src/services/organization.service.d.ts +301 -0
- package/src/services/organization.service.js +312 -0
- package/src/services/organization.service.js.map +1 -0
- package/src/services/payment.service.d.ts +35 -0
- package/src/services/payment.service.js +100 -0
- package/src/services/payment.service.js.map +1 -0
- package/src/services/product-category.service.d.ts +180 -0
- package/src/services/product-category.service.js +220 -0
- package/src/services/product-category.service.js.map +1 -0
- package/src/services/product.service.d.ts +493 -0
- package/src/services/product.service.js +437 -0
- package/src/services/product.service.js.map +1 -0
- package/src/services/reservation.service.d.ts +104 -0
- package/src/services/reservation.service.js +231 -0
- package/src/services/reservation.service.js.map +1 -0
- package/src/services/shipping-method.service.d.ts +206 -0
- package/src/services/shipping-method.service.js +229 -0
- package/src/services/shipping-method.service.js.map +1 -0
- package/src/services/shipping.service.d.ts +57 -0
- package/src/services/shipping.service.js +96 -0
- package/src/services/shipping.service.js.map +1 -0
- package/src/services/stripe.service.d.ts +26 -0
- package/src/services/stripe.service.js +164 -0
- package/src/services/stripe.service.js.map +1 -0
- package/src/types/google-maps.types.d.ts +53 -0
- package/src/types/google-maps.types.js +2 -0
- package/src/types/google-maps.types.js.map +1 -0
- package/src/utils/auth.util.d.ts +3 -0
- package/src/utils/auth.util.js +36 -0
- package/src/utils/auth.util.js.map +1 -0
- package/src/utils/cart.util.d.ts +27 -0
- package/src/utils/cart.util.js +76 -0
- package/src/utils/cart.util.js.map +1 -0
- package/src/utils/client.util.d.ts +3853 -0
- package/src/utils/client.util.js +6 -0
- package/src/utils/client.util.js.map +1 -0
- package/src/utils/currency.util.d.ts +1 -0
- package/src/utils/currency.util.js +11 -0
- package/src/utils/currency.util.js.map +1 -0
- package/src/utils/env.util.d.ts +2 -0
- package/src/utils/env.util.js +8 -0
- package/src/utils/env.util.js.map +1 -0
- package/src/utils/error-handler.util.d.ts +3 -0
- package/src/utils/error-handler.util.js +30 -0
- package/src/utils/error-handler.util.js.map +1 -0
- package/src/utils/generate-password-hash.util.d.ts +7 -0
- package/src/utils/generate-password-hash.util.js +30 -0
- package/src/utils/generate-password-hash.util.js.map +1 -0
- package/src/utils/object.util.d.ts +11 -0
- package/src/utils/object.util.js +39 -0
- package/src/utils/object.util.js.map +1 -0
- package/src/utils/translations.util.d.ts +0 -0
- package/src/utils/translations.util.js +2 -0
- package/src/utils/translations.util.js.map +1 -0
- package/src/utils/zod.util.d.ts +15 -0
- package/src/utils/zod.util.js +85 -0
- package/src/utils/zod.util.js.map +1 -0
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exports the `ProductTranslation` model and its related types.
|
|
3
|
+
*
|
|
4
|
+
* 🟢 You can import this file directly.
|
|
5
|
+
*/
|
|
6
|
+
import * as runtime from "@prisma/client/runtime/library";
|
|
7
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
8
|
+
/**
|
|
9
|
+
* Model ProductTranslation
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ProductTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductTranslationPayload>;
|
|
13
|
+
export type AggregateProductTranslation = {
|
|
14
|
+
_count: ProductTranslationCountAggregateOutputType | null;
|
|
15
|
+
_min: ProductTranslationMinAggregateOutputType | null;
|
|
16
|
+
_max: ProductTranslationMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type ProductTranslationMinAggregateOutputType = {
|
|
19
|
+
id: string | null;
|
|
20
|
+
locale: string | null;
|
|
21
|
+
title: string | null;
|
|
22
|
+
description: string | null;
|
|
23
|
+
productId: string | null;
|
|
24
|
+
createdAt: Date | null;
|
|
25
|
+
createdBy: string | null;
|
|
26
|
+
updatedAt: Date | null;
|
|
27
|
+
updatedBy: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type ProductTranslationMaxAggregateOutputType = {
|
|
30
|
+
id: string | null;
|
|
31
|
+
locale: string | null;
|
|
32
|
+
title: string | null;
|
|
33
|
+
description: string | null;
|
|
34
|
+
productId: string | null;
|
|
35
|
+
createdAt: Date | null;
|
|
36
|
+
createdBy: string | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
updatedBy: string | null;
|
|
39
|
+
};
|
|
40
|
+
export type ProductTranslationCountAggregateOutputType = {
|
|
41
|
+
id: number;
|
|
42
|
+
locale: number;
|
|
43
|
+
title: number;
|
|
44
|
+
description: number;
|
|
45
|
+
productId: number;
|
|
46
|
+
createdAt: number;
|
|
47
|
+
createdBy: number;
|
|
48
|
+
updatedAt: number;
|
|
49
|
+
updatedBy: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type ProductTranslationMinAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
locale?: true;
|
|
55
|
+
title?: true;
|
|
56
|
+
description?: true;
|
|
57
|
+
productId?: true;
|
|
58
|
+
createdAt?: true;
|
|
59
|
+
createdBy?: true;
|
|
60
|
+
updatedAt?: true;
|
|
61
|
+
updatedBy?: true;
|
|
62
|
+
};
|
|
63
|
+
export type ProductTranslationMaxAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
locale?: true;
|
|
66
|
+
title?: true;
|
|
67
|
+
description?: true;
|
|
68
|
+
productId?: true;
|
|
69
|
+
createdAt?: true;
|
|
70
|
+
createdBy?: true;
|
|
71
|
+
updatedAt?: true;
|
|
72
|
+
updatedBy?: true;
|
|
73
|
+
};
|
|
74
|
+
export type ProductTranslationCountAggregateInputType = {
|
|
75
|
+
id?: true;
|
|
76
|
+
locale?: true;
|
|
77
|
+
title?: true;
|
|
78
|
+
description?: true;
|
|
79
|
+
productId?: true;
|
|
80
|
+
createdAt?: true;
|
|
81
|
+
createdBy?: true;
|
|
82
|
+
updatedAt?: true;
|
|
83
|
+
updatedBy?: true;
|
|
84
|
+
_all?: true;
|
|
85
|
+
};
|
|
86
|
+
export type ProductTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
87
|
+
/**
|
|
88
|
+
* Filter which ProductTranslation to aggregate.
|
|
89
|
+
*/
|
|
90
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
93
|
+
*
|
|
94
|
+
* Determine the order of ProductTranslations to fetch.
|
|
95
|
+
*/
|
|
96
|
+
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
99
|
+
*
|
|
100
|
+
* Sets the start position
|
|
101
|
+
*/
|
|
102
|
+
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
107
|
+
*/
|
|
108
|
+
take?: number;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Skip the first `n` ProductTranslations.
|
|
113
|
+
*/
|
|
114
|
+
skip?: number;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Count returned ProductTranslations
|
|
119
|
+
**/
|
|
120
|
+
_count?: true | ProductTranslationCountAggregateInputType;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to find the minimum value
|
|
125
|
+
**/
|
|
126
|
+
_min?: ProductTranslationMinAggregateInputType;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to find the maximum value
|
|
131
|
+
**/
|
|
132
|
+
_max?: ProductTranslationMaxAggregateInputType;
|
|
133
|
+
};
|
|
134
|
+
export type GetProductTranslationAggregateType<T extends ProductTranslationAggregateArgs> = {
|
|
135
|
+
[P in keyof T & keyof AggregateProductTranslation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductTranslation[P]> : Prisma.GetScalarType<T[P], AggregateProductTranslation[P]>;
|
|
136
|
+
};
|
|
137
|
+
export type ProductTranslationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
138
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
139
|
+
orderBy?: Prisma.ProductTranslationOrderByWithAggregationInput | Prisma.ProductTranslationOrderByWithAggregationInput[];
|
|
140
|
+
by: Prisma.ProductTranslationScalarFieldEnum[] | Prisma.ProductTranslationScalarFieldEnum;
|
|
141
|
+
having?: Prisma.ProductTranslationScalarWhereWithAggregatesInput;
|
|
142
|
+
take?: number;
|
|
143
|
+
skip?: number;
|
|
144
|
+
_count?: ProductTranslationCountAggregateInputType | true;
|
|
145
|
+
_min?: ProductTranslationMinAggregateInputType;
|
|
146
|
+
_max?: ProductTranslationMaxAggregateInputType;
|
|
147
|
+
};
|
|
148
|
+
export type ProductTranslationGroupByOutputType = {
|
|
149
|
+
id: string;
|
|
150
|
+
locale: string;
|
|
151
|
+
title: string | null;
|
|
152
|
+
description: string | null;
|
|
153
|
+
productId: string;
|
|
154
|
+
createdAt: Date;
|
|
155
|
+
createdBy: string | null;
|
|
156
|
+
updatedAt: Date;
|
|
157
|
+
updatedBy: string | null;
|
|
158
|
+
_count: ProductTranslationCountAggregateOutputType | null;
|
|
159
|
+
_min: ProductTranslationMinAggregateOutputType | null;
|
|
160
|
+
_max: ProductTranslationMaxAggregateOutputType | null;
|
|
161
|
+
};
|
|
162
|
+
type GetProductTranslationGroupByPayload<T extends ProductTranslationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductTranslationGroupByOutputType, T['by']> & {
|
|
163
|
+
[P in ((keyof T) & (keyof ProductTranslationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductTranslationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductTranslationGroupByOutputType[P]>;
|
|
164
|
+
}>>;
|
|
165
|
+
export type ProductTranslationWhereInput = {
|
|
166
|
+
AND?: Prisma.ProductTranslationWhereInput | Prisma.ProductTranslationWhereInput[];
|
|
167
|
+
OR?: Prisma.ProductTranslationWhereInput[];
|
|
168
|
+
NOT?: Prisma.ProductTranslationWhereInput | Prisma.ProductTranslationWhereInput[];
|
|
169
|
+
id?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
170
|
+
locale?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
171
|
+
title?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
172
|
+
description?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
173
|
+
productId?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
174
|
+
createdAt?: Prisma.DateTimeFilter<"ProductTranslation"> | Date | string;
|
|
175
|
+
createdBy?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
176
|
+
updatedAt?: Prisma.DateTimeFilter<"ProductTranslation"> | Date | string;
|
|
177
|
+
updatedBy?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
178
|
+
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
|
|
179
|
+
};
|
|
180
|
+
export type ProductTranslationOrderByWithRelationInput = {
|
|
181
|
+
id?: Prisma.SortOrder;
|
|
182
|
+
locale?: Prisma.SortOrder;
|
|
183
|
+
title?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
184
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
185
|
+
productId?: Prisma.SortOrder;
|
|
186
|
+
createdAt?: Prisma.SortOrder;
|
|
187
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
188
|
+
updatedAt?: Prisma.SortOrder;
|
|
189
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
190
|
+
product?: Prisma.ProductOrderByWithRelationInput;
|
|
191
|
+
};
|
|
192
|
+
export type ProductTranslationWhereUniqueInput = Prisma.AtLeast<{
|
|
193
|
+
id?: string;
|
|
194
|
+
locale_productId?: Prisma.ProductTranslationLocaleProductIdCompoundUniqueInput;
|
|
195
|
+
AND?: Prisma.ProductTranslationWhereInput | Prisma.ProductTranslationWhereInput[];
|
|
196
|
+
OR?: Prisma.ProductTranslationWhereInput[];
|
|
197
|
+
NOT?: Prisma.ProductTranslationWhereInput | Prisma.ProductTranslationWhereInput[];
|
|
198
|
+
locale?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
199
|
+
title?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
200
|
+
description?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
201
|
+
productId?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
202
|
+
createdAt?: Prisma.DateTimeFilter<"ProductTranslation"> | Date | string;
|
|
203
|
+
createdBy?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
204
|
+
updatedAt?: Prisma.DateTimeFilter<"ProductTranslation"> | Date | string;
|
|
205
|
+
updatedBy?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
206
|
+
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
|
|
207
|
+
}, "id" | "locale_productId">;
|
|
208
|
+
export type ProductTranslationOrderByWithAggregationInput = {
|
|
209
|
+
id?: Prisma.SortOrder;
|
|
210
|
+
locale?: Prisma.SortOrder;
|
|
211
|
+
title?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
212
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
213
|
+
productId?: Prisma.SortOrder;
|
|
214
|
+
createdAt?: Prisma.SortOrder;
|
|
215
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
216
|
+
updatedAt?: Prisma.SortOrder;
|
|
217
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
218
|
+
_count?: Prisma.ProductTranslationCountOrderByAggregateInput;
|
|
219
|
+
_max?: Prisma.ProductTranslationMaxOrderByAggregateInput;
|
|
220
|
+
_min?: Prisma.ProductTranslationMinOrderByAggregateInput;
|
|
221
|
+
};
|
|
222
|
+
export type ProductTranslationScalarWhereWithAggregatesInput = {
|
|
223
|
+
AND?: Prisma.ProductTranslationScalarWhereWithAggregatesInput | Prisma.ProductTranslationScalarWhereWithAggregatesInput[];
|
|
224
|
+
OR?: Prisma.ProductTranslationScalarWhereWithAggregatesInput[];
|
|
225
|
+
NOT?: Prisma.ProductTranslationScalarWhereWithAggregatesInput | Prisma.ProductTranslationScalarWhereWithAggregatesInput[];
|
|
226
|
+
id?: Prisma.StringWithAggregatesFilter<"ProductTranslation"> | string;
|
|
227
|
+
locale?: Prisma.StringWithAggregatesFilter<"ProductTranslation"> | string;
|
|
228
|
+
title?: Prisma.StringNullableWithAggregatesFilter<"ProductTranslation"> | string | null;
|
|
229
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"ProductTranslation"> | string | null;
|
|
230
|
+
productId?: Prisma.StringWithAggregatesFilter<"ProductTranslation"> | string;
|
|
231
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProductTranslation"> | Date | string;
|
|
232
|
+
createdBy?: Prisma.StringNullableWithAggregatesFilter<"ProductTranslation"> | string | null;
|
|
233
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProductTranslation"> | Date | string;
|
|
234
|
+
updatedBy?: Prisma.StringNullableWithAggregatesFilter<"ProductTranslation"> | string | null;
|
|
235
|
+
};
|
|
236
|
+
export type ProductTranslationCreateInput = {
|
|
237
|
+
id?: string;
|
|
238
|
+
locale: string;
|
|
239
|
+
title?: string | null;
|
|
240
|
+
description?: string | null;
|
|
241
|
+
createdAt?: Date | string;
|
|
242
|
+
createdBy?: string | null;
|
|
243
|
+
updatedAt?: Date | string;
|
|
244
|
+
updatedBy?: string | null;
|
|
245
|
+
product: Prisma.ProductCreateNestedOneWithoutTranslationsInput;
|
|
246
|
+
};
|
|
247
|
+
export type ProductTranslationUncheckedCreateInput = {
|
|
248
|
+
id?: string;
|
|
249
|
+
locale: string;
|
|
250
|
+
title?: string | null;
|
|
251
|
+
description?: string | null;
|
|
252
|
+
productId: string;
|
|
253
|
+
createdAt?: Date | string;
|
|
254
|
+
createdBy?: string | null;
|
|
255
|
+
updatedAt?: Date | string;
|
|
256
|
+
updatedBy?: string | null;
|
|
257
|
+
};
|
|
258
|
+
export type ProductTranslationUpdateInput = {
|
|
259
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
261
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
262
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
263
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
264
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
265
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
266
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
267
|
+
product?: Prisma.ProductUpdateOneRequiredWithoutTranslationsNestedInput;
|
|
268
|
+
};
|
|
269
|
+
export type ProductTranslationUncheckedUpdateInput = {
|
|
270
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
273
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
274
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
275
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
276
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
277
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
278
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
279
|
+
};
|
|
280
|
+
export type ProductTranslationCreateManyInput = {
|
|
281
|
+
id?: string;
|
|
282
|
+
locale: string;
|
|
283
|
+
title?: string | null;
|
|
284
|
+
description?: string | null;
|
|
285
|
+
productId: string;
|
|
286
|
+
createdAt?: Date | string;
|
|
287
|
+
createdBy?: string | null;
|
|
288
|
+
updatedAt?: Date | string;
|
|
289
|
+
updatedBy?: string | null;
|
|
290
|
+
};
|
|
291
|
+
export type ProductTranslationUpdateManyMutationInput = {
|
|
292
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
295
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
296
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
297
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
298
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
299
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
300
|
+
};
|
|
301
|
+
export type ProductTranslationUncheckedUpdateManyInput = {
|
|
302
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
303
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
305
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
306
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
308
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
309
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
310
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
311
|
+
};
|
|
312
|
+
export type ProductTranslationListRelationFilter = {
|
|
313
|
+
every?: Prisma.ProductTranslationWhereInput;
|
|
314
|
+
some?: Prisma.ProductTranslationWhereInput;
|
|
315
|
+
none?: Prisma.ProductTranslationWhereInput;
|
|
316
|
+
};
|
|
317
|
+
export type ProductTranslationOrderByRelationAggregateInput = {
|
|
318
|
+
_count?: Prisma.SortOrder;
|
|
319
|
+
};
|
|
320
|
+
export type ProductTranslationLocaleProductIdCompoundUniqueInput = {
|
|
321
|
+
locale: string;
|
|
322
|
+
productId: string;
|
|
323
|
+
};
|
|
324
|
+
export type ProductTranslationCountOrderByAggregateInput = {
|
|
325
|
+
id?: Prisma.SortOrder;
|
|
326
|
+
locale?: Prisma.SortOrder;
|
|
327
|
+
title?: Prisma.SortOrder;
|
|
328
|
+
description?: Prisma.SortOrder;
|
|
329
|
+
productId?: Prisma.SortOrder;
|
|
330
|
+
createdAt?: Prisma.SortOrder;
|
|
331
|
+
createdBy?: Prisma.SortOrder;
|
|
332
|
+
updatedAt?: Prisma.SortOrder;
|
|
333
|
+
updatedBy?: Prisma.SortOrder;
|
|
334
|
+
};
|
|
335
|
+
export type ProductTranslationMaxOrderByAggregateInput = {
|
|
336
|
+
id?: Prisma.SortOrder;
|
|
337
|
+
locale?: Prisma.SortOrder;
|
|
338
|
+
title?: Prisma.SortOrder;
|
|
339
|
+
description?: Prisma.SortOrder;
|
|
340
|
+
productId?: Prisma.SortOrder;
|
|
341
|
+
createdAt?: Prisma.SortOrder;
|
|
342
|
+
createdBy?: Prisma.SortOrder;
|
|
343
|
+
updatedAt?: Prisma.SortOrder;
|
|
344
|
+
updatedBy?: Prisma.SortOrder;
|
|
345
|
+
};
|
|
346
|
+
export type ProductTranslationMinOrderByAggregateInput = {
|
|
347
|
+
id?: Prisma.SortOrder;
|
|
348
|
+
locale?: Prisma.SortOrder;
|
|
349
|
+
title?: Prisma.SortOrder;
|
|
350
|
+
description?: Prisma.SortOrder;
|
|
351
|
+
productId?: Prisma.SortOrder;
|
|
352
|
+
createdAt?: Prisma.SortOrder;
|
|
353
|
+
createdBy?: Prisma.SortOrder;
|
|
354
|
+
updatedAt?: Prisma.SortOrder;
|
|
355
|
+
updatedBy?: Prisma.SortOrder;
|
|
356
|
+
};
|
|
357
|
+
export type ProductTranslationCreateNestedManyWithoutProductInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.ProductTranslationCreateWithoutProductInput, Prisma.ProductTranslationUncheckedCreateWithoutProductInput> | Prisma.ProductTranslationCreateWithoutProductInput[] | Prisma.ProductTranslationUncheckedCreateWithoutProductInput[];
|
|
359
|
+
connectOrCreate?: Prisma.ProductTranslationCreateOrConnectWithoutProductInput | Prisma.ProductTranslationCreateOrConnectWithoutProductInput[];
|
|
360
|
+
createMany?: Prisma.ProductTranslationCreateManyProductInputEnvelope;
|
|
361
|
+
connect?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
362
|
+
};
|
|
363
|
+
export type ProductTranslationUncheckedCreateNestedManyWithoutProductInput = {
|
|
364
|
+
create?: Prisma.XOR<Prisma.ProductTranslationCreateWithoutProductInput, Prisma.ProductTranslationUncheckedCreateWithoutProductInput> | Prisma.ProductTranslationCreateWithoutProductInput[] | Prisma.ProductTranslationUncheckedCreateWithoutProductInput[];
|
|
365
|
+
connectOrCreate?: Prisma.ProductTranslationCreateOrConnectWithoutProductInput | Prisma.ProductTranslationCreateOrConnectWithoutProductInput[];
|
|
366
|
+
createMany?: Prisma.ProductTranslationCreateManyProductInputEnvelope;
|
|
367
|
+
connect?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
368
|
+
};
|
|
369
|
+
export type ProductTranslationUpdateManyWithoutProductNestedInput = {
|
|
370
|
+
create?: Prisma.XOR<Prisma.ProductTranslationCreateWithoutProductInput, Prisma.ProductTranslationUncheckedCreateWithoutProductInput> | Prisma.ProductTranslationCreateWithoutProductInput[] | Prisma.ProductTranslationUncheckedCreateWithoutProductInput[];
|
|
371
|
+
connectOrCreate?: Prisma.ProductTranslationCreateOrConnectWithoutProductInput | Prisma.ProductTranslationCreateOrConnectWithoutProductInput[];
|
|
372
|
+
upsert?: Prisma.ProductTranslationUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductTranslationUpsertWithWhereUniqueWithoutProductInput[];
|
|
373
|
+
createMany?: Prisma.ProductTranslationCreateManyProductInputEnvelope;
|
|
374
|
+
set?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
375
|
+
disconnect?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
376
|
+
delete?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
377
|
+
connect?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
378
|
+
update?: Prisma.ProductTranslationUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductTranslationUpdateWithWhereUniqueWithoutProductInput[];
|
|
379
|
+
updateMany?: Prisma.ProductTranslationUpdateManyWithWhereWithoutProductInput | Prisma.ProductTranslationUpdateManyWithWhereWithoutProductInput[];
|
|
380
|
+
deleteMany?: Prisma.ProductTranslationScalarWhereInput | Prisma.ProductTranslationScalarWhereInput[];
|
|
381
|
+
};
|
|
382
|
+
export type ProductTranslationUncheckedUpdateManyWithoutProductNestedInput = {
|
|
383
|
+
create?: Prisma.XOR<Prisma.ProductTranslationCreateWithoutProductInput, Prisma.ProductTranslationUncheckedCreateWithoutProductInput> | Prisma.ProductTranslationCreateWithoutProductInput[] | Prisma.ProductTranslationUncheckedCreateWithoutProductInput[];
|
|
384
|
+
connectOrCreate?: Prisma.ProductTranslationCreateOrConnectWithoutProductInput | Prisma.ProductTranslationCreateOrConnectWithoutProductInput[];
|
|
385
|
+
upsert?: Prisma.ProductTranslationUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductTranslationUpsertWithWhereUniqueWithoutProductInput[];
|
|
386
|
+
createMany?: Prisma.ProductTranslationCreateManyProductInputEnvelope;
|
|
387
|
+
set?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
388
|
+
disconnect?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
389
|
+
delete?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
390
|
+
connect?: Prisma.ProductTranslationWhereUniqueInput | Prisma.ProductTranslationWhereUniqueInput[];
|
|
391
|
+
update?: Prisma.ProductTranslationUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductTranslationUpdateWithWhereUniqueWithoutProductInput[];
|
|
392
|
+
updateMany?: Prisma.ProductTranslationUpdateManyWithWhereWithoutProductInput | Prisma.ProductTranslationUpdateManyWithWhereWithoutProductInput[];
|
|
393
|
+
deleteMany?: Prisma.ProductTranslationScalarWhereInput | Prisma.ProductTranslationScalarWhereInput[];
|
|
394
|
+
};
|
|
395
|
+
export type ProductTranslationCreateWithoutProductInput = {
|
|
396
|
+
id?: string;
|
|
397
|
+
locale: string;
|
|
398
|
+
title?: string | null;
|
|
399
|
+
description?: string | null;
|
|
400
|
+
createdAt?: Date | string;
|
|
401
|
+
createdBy?: string | null;
|
|
402
|
+
updatedAt?: Date | string;
|
|
403
|
+
updatedBy?: string | null;
|
|
404
|
+
};
|
|
405
|
+
export type ProductTranslationUncheckedCreateWithoutProductInput = {
|
|
406
|
+
id?: string;
|
|
407
|
+
locale: string;
|
|
408
|
+
title?: string | null;
|
|
409
|
+
description?: string | null;
|
|
410
|
+
createdAt?: Date | string;
|
|
411
|
+
createdBy?: string | null;
|
|
412
|
+
updatedAt?: Date | string;
|
|
413
|
+
updatedBy?: string | null;
|
|
414
|
+
};
|
|
415
|
+
export type ProductTranslationCreateOrConnectWithoutProductInput = {
|
|
416
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
417
|
+
create: Prisma.XOR<Prisma.ProductTranslationCreateWithoutProductInput, Prisma.ProductTranslationUncheckedCreateWithoutProductInput>;
|
|
418
|
+
};
|
|
419
|
+
export type ProductTranslationCreateManyProductInputEnvelope = {
|
|
420
|
+
data: Prisma.ProductTranslationCreateManyProductInput | Prisma.ProductTranslationCreateManyProductInput[];
|
|
421
|
+
skipDuplicates?: boolean;
|
|
422
|
+
};
|
|
423
|
+
export type ProductTranslationUpsertWithWhereUniqueWithoutProductInput = {
|
|
424
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
425
|
+
update: Prisma.XOR<Prisma.ProductTranslationUpdateWithoutProductInput, Prisma.ProductTranslationUncheckedUpdateWithoutProductInput>;
|
|
426
|
+
create: Prisma.XOR<Prisma.ProductTranslationCreateWithoutProductInput, Prisma.ProductTranslationUncheckedCreateWithoutProductInput>;
|
|
427
|
+
};
|
|
428
|
+
export type ProductTranslationUpdateWithWhereUniqueWithoutProductInput = {
|
|
429
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
430
|
+
data: Prisma.XOR<Prisma.ProductTranslationUpdateWithoutProductInput, Prisma.ProductTranslationUncheckedUpdateWithoutProductInput>;
|
|
431
|
+
};
|
|
432
|
+
export type ProductTranslationUpdateManyWithWhereWithoutProductInput = {
|
|
433
|
+
where: Prisma.ProductTranslationScalarWhereInput;
|
|
434
|
+
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyWithoutProductInput>;
|
|
435
|
+
};
|
|
436
|
+
export type ProductTranslationScalarWhereInput = {
|
|
437
|
+
AND?: Prisma.ProductTranslationScalarWhereInput | Prisma.ProductTranslationScalarWhereInput[];
|
|
438
|
+
OR?: Prisma.ProductTranslationScalarWhereInput[];
|
|
439
|
+
NOT?: Prisma.ProductTranslationScalarWhereInput | Prisma.ProductTranslationScalarWhereInput[];
|
|
440
|
+
id?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
441
|
+
locale?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
442
|
+
title?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
443
|
+
description?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
444
|
+
productId?: Prisma.StringFilter<"ProductTranslation"> | string;
|
|
445
|
+
createdAt?: Prisma.DateTimeFilter<"ProductTranslation"> | Date | string;
|
|
446
|
+
createdBy?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
447
|
+
updatedAt?: Prisma.DateTimeFilter<"ProductTranslation"> | Date | string;
|
|
448
|
+
updatedBy?: Prisma.StringNullableFilter<"ProductTranslation"> | string | null;
|
|
449
|
+
};
|
|
450
|
+
export type ProductTranslationCreateManyProductInput = {
|
|
451
|
+
id?: string;
|
|
452
|
+
locale: string;
|
|
453
|
+
title?: string | null;
|
|
454
|
+
description?: string | null;
|
|
455
|
+
createdAt?: Date | string;
|
|
456
|
+
createdBy?: string | null;
|
|
457
|
+
updatedAt?: Date | string;
|
|
458
|
+
updatedBy?: string | null;
|
|
459
|
+
};
|
|
460
|
+
export type ProductTranslationUpdateWithoutProductInput = {
|
|
461
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
463
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
464
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
465
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
466
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
467
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
468
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
469
|
+
};
|
|
470
|
+
export type ProductTranslationUncheckedUpdateWithoutProductInput = {
|
|
471
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
474
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
475
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
476
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
477
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
478
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
479
|
+
};
|
|
480
|
+
export type ProductTranslationUncheckedUpdateManyWithoutProductInput = {
|
|
481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
484
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
485
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
486
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
489
|
+
};
|
|
490
|
+
export type ProductTranslationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
491
|
+
id?: boolean;
|
|
492
|
+
locale?: boolean;
|
|
493
|
+
title?: boolean;
|
|
494
|
+
description?: boolean;
|
|
495
|
+
productId?: boolean;
|
|
496
|
+
createdAt?: boolean;
|
|
497
|
+
createdBy?: boolean;
|
|
498
|
+
updatedAt?: boolean;
|
|
499
|
+
updatedBy?: boolean;
|
|
500
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
501
|
+
}, ExtArgs["result"]["productTranslation"]>;
|
|
502
|
+
export type ProductTranslationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
503
|
+
id?: boolean;
|
|
504
|
+
locale?: boolean;
|
|
505
|
+
title?: boolean;
|
|
506
|
+
description?: boolean;
|
|
507
|
+
productId?: boolean;
|
|
508
|
+
createdAt?: boolean;
|
|
509
|
+
createdBy?: boolean;
|
|
510
|
+
updatedAt?: boolean;
|
|
511
|
+
updatedBy?: boolean;
|
|
512
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
513
|
+
}, ExtArgs["result"]["productTranslation"]>;
|
|
514
|
+
export type ProductTranslationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
515
|
+
id?: boolean;
|
|
516
|
+
locale?: boolean;
|
|
517
|
+
title?: boolean;
|
|
518
|
+
description?: boolean;
|
|
519
|
+
productId?: boolean;
|
|
520
|
+
createdAt?: boolean;
|
|
521
|
+
createdBy?: boolean;
|
|
522
|
+
updatedAt?: boolean;
|
|
523
|
+
updatedBy?: boolean;
|
|
524
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
525
|
+
}, ExtArgs["result"]["productTranslation"]>;
|
|
526
|
+
export type ProductTranslationSelectScalar = {
|
|
527
|
+
id?: boolean;
|
|
528
|
+
locale?: boolean;
|
|
529
|
+
title?: boolean;
|
|
530
|
+
description?: boolean;
|
|
531
|
+
productId?: boolean;
|
|
532
|
+
createdAt?: boolean;
|
|
533
|
+
createdBy?: boolean;
|
|
534
|
+
updatedAt?: boolean;
|
|
535
|
+
updatedBy?: boolean;
|
|
536
|
+
};
|
|
537
|
+
export type ProductTranslationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "locale" | "title" | "description" | "productId" | "createdAt" | "createdBy" | "updatedAt" | "updatedBy", ExtArgs["result"]["productTranslation"]>;
|
|
538
|
+
export type ProductTranslationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
539
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
540
|
+
};
|
|
541
|
+
export type ProductTranslationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
542
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
543
|
+
};
|
|
544
|
+
export type ProductTranslationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
545
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
546
|
+
};
|
|
547
|
+
export type $ProductTranslationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
548
|
+
name: "ProductTranslation";
|
|
549
|
+
objects: {
|
|
550
|
+
product: Prisma.$ProductPayload<ExtArgs>;
|
|
551
|
+
};
|
|
552
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
553
|
+
id: string;
|
|
554
|
+
locale: string;
|
|
555
|
+
title: string | null;
|
|
556
|
+
description: string | null;
|
|
557
|
+
productId: string;
|
|
558
|
+
createdAt: Date;
|
|
559
|
+
createdBy: string | null;
|
|
560
|
+
updatedAt: Date;
|
|
561
|
+
updatedBy: string | null;
|
|
562
|
+
}, ExtArgs["result"]["productTranslation"]>;
|
|
563
|
+
composites: {};
|
|
564
|
+
};
|
|
565
|
+
export type ProductTranslationGetPayload<S extends boolean | null | undefined | ProductTranslationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload, S>;
|
|
566
|
+
export type ProductTranslationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductTranslationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
567
|
+
select?: ProductTranslationCountAggregateInputType | true;
|
|
568
|
+
};
|
|
569
|
+
export interface ProductTranslationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
570
|
+
[K: symbol]: {
|
|
571
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ProductTranslation'];
|
|
572
|
+
meta: {
|
|
573
|
+
name: 'ProductTranslation';
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* Find zero or one ProductTranslation that matches the filter.
|
|
578
|
+
* @param {ProductTranslationFindUniqueArgs} args - Arguments to find a ProductTranslation
|
|
579
|
+
* @example
|
|
580
|
+
* // Get one ProductTranslation
|
|
581
|
+
* const productTranslation = await prisma.productTranslation.findUnique({
|
|
582
|
+
* where: {
|
|
583
|
+
* // ... provide filter here
|
|
584
|
+
* }
|
|
585
|
+
* })
|
|
586
|
+
*/
|
|
587
|
+
findUnique<T extends ProductTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
588
|
+
/**
|
|
589
|
+
* Find one ProductTranslation that matches the filter or throw an error with `error.code='P2025'`
|
|
590
|
+
* if no matches were found.
|
|
591
|
+
* @param {ProductTranslationFindUniqueOrThrowArgs} args - Arguments to find a ProductTranslation
|
|
592
|
+
* @example
|
|
593
|
+
* // Get one ProductTranslation
|
|
594
|
+
* const productTranslation = await prisma.productTranslation.findUniqueOrThrow({
|
|
595
|
+
* where: {
|
|
596
|
+
* // ... provide filter here
|
|
597
|
+
* }
|
|
598
|
+
* })
|
|
599
|
+
*/
|
|
600
|
+
findUniqueOrThrow<T extends ProductTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
601
|
+
/**
|
|
602
|
+
* Find the first ProductTranslation that matches the filter.
|
|
603
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
604
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
605
|
+
* @param {ProductTranslationFindFirstArgs} args - Arguments to find a ProductTranslation
|
|
606
|
+
* @example
|
|
607
|
+
* // Get one ProductTranslation
|
|
608
|
+
* const productTranslation = await prisma.productTranslation.findFirst({
|
|
609
|
+
* where: {
|
|
610
|
+
* // ... provide filter here
|
|
611
|
+
* }
|
|
612
|
+
* })
|
|
613
|
+
*/
|
|
614
|
+
findFirst<T extends ProductTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
615
|
+
/**
|
|
616
|
+
* Find the first ProductTranslation that matches the filter or
|
|
617
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
618
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
619
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
620
|
+
* @param {ProductTranslationFindFirstOrThrowArgs} args - Arguments to find a ProductTranslation
|
|
621
|
+
* @example
|
|
622
|
+
* // Get one ProductTranslation
|
|
623
|
+
* const productTranslation = await prisma.productTranslation.findFirstOrThrow({
|
|
624
|
+
* where: {
|
|
625
|
+
* // ... provide filter here
|
|
626
|
+
* }
|
|
627
|
+
* })
|
|
628
|
+
*/
|
|
629
|
+
findFirstOrThrow<T extends ProductTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
630
|
+
/**
|
|
631
|
+
* Find zero or more ProductTranslations that matches the filter.
|
|
632
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
633
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
634
|
+
* @param {ProductTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
635
|
+
* @example
|
|
636
|
+
* // Get all ProductTranslations
|
|
637
|
+
* const productTranslations = await prisma.productTranslation.findMany()
|
|
638
|
+
*
|
|
639
|
+
* // Get first 10 ProductTranslations
|
|
640
|
+
* const productTranslations = await prisma.productTranslation.findMany({ take: 10 })
|
|
641
|
+
*
|
|
642
|
+
* // Only select the `id`
|
|
643
|
+
* const productTranslationWithIdOnly = await prisma.productTranslation.findMany({ select: { id: true } })
|
|
644
|
+
*
|
|
645
|
+
*/
|
|
646
|
+
findMany<T extends ProductTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
647
|
+
/**
|
|
648
|
+
* Create a ProductTranslation.
|
|
649
|
+
* @param {ProductTranslationCreateArgs} args - Arguments to create a ProductTranslation.
|
|
650
|
+
* @example
|
|
651
|
+
* // Create one ProductTranslation
|
|
652
|
+
* const ProductTranslation = await prisma.productTranslation.create({
|
|
653
|
+
* data: {
|
|
654
|
+
* // ... data to create a ProductTranslation
|
|
655
|
+
* }
|
|
656
|
+
* })
|
|
657
|
+
*
|
|
658
|
+
*/
|
|
659
|
+
create<T extends ProductTranslationCreateArgs>(args: Prisma.SelectSubset<T, ProductTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
660
|
+
/**
|
|
661
|
+
* Create many ProductTranslations.
|
|
662
|
+
* @param {ProductTranslationCreateManyArgs} args - Arguments to create many ProductTranslations.
|
|
663
|
+
* @example
|
|
664
|
+
* // Create many ProductTranslations
|
|
665
|
+
* const productTranslation = await prisma.productTranslation.createMany({
|
|
666
|
+
* data: [
|
|
667
|
+
* // ... provide data here
|
|
668
|
+
* ]
|
|
669
|
+
* })
|
|
670
|
+
*
|
|
671
|
+
*/
|
|
672
|
+
createMany<T extends ProductTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
673
|
+
/**
|
|
674
|
+
* Create many ProductTranslations and returns the data saved in the database.
|
|
675
|
+
* @param {ProductTranslationCreateManyAndReturnArgs} args - Arguments to create many ProductTranslations.
|
|
676
|
+
* @example
|
|
677
|
+
* // Create many ProductTranslations
|
|
678
|
+
* const productTranslation = await prisma.productTranslation.createManyAndReturn({
|
|
679
|
+
* data: [
|
|
680
|
+
* // ... provide data here
|
|
681
|
+
* ]
|
|
682
|
+
* })
|
|
683
|
+
*
|
|
684
|
+
* // Create many ProductTranslations and only return the `id`
|
|
685
|
+
* const productTranslationWithIdOnly = await prisma.productTranslation.createManyAndReturn({
|
|
686
|
+
* select: { id: true },
|
|
687
|
+
* data: [
|
|
688
|
+
* // ... provide data here
|
|
689
|
+
* ]
|
|
690
|
+
* })
|
|
691
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
692
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
createManyAndReturn<T extends ProductTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
696
|
+
/**
|
|
697
|
+
* Delete a ProductTranslation.
|
|
698
|
+
* @param {ProductTranslationDeleteArgs} args - Arguments to delete one ProductTranslation.
|
|
699
|
+
* @example
|
|
700
|
+
* // Delete one ProductTranslation
|
|
701
|
+
* const ProductTranslation = await prisma.productTranslation.delete({
|
|
702
|
+
* where: {
|
|
703
|
+
* // ... filter to delete one ProductTranslation
|
|
704
|
+
* }
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
*/
|
|
708
|
+
delete<T extends ProductTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ProductTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
709
|
+
/**
|
|
710
|
+
* Update one ProductTranslation.
|
|
711
|
+
* @param {ProductTranslationUpdateArgs} args - Arguments to update one ProductTranslation.
|
|
712
|
+
* @example
|
|
713
|
+
* // Update one ProductTranslation
|
|
714
|
+
* const productTranslation = await prisma.productTranslation.update({
|
|
715
|
+
* where: {
|
|
716
|
+
* // ... provide filter here
|
|
717
|
+
* },
|
|
718
|
+
* data: {
|
|
719
|
+
* // ... provide data here
|
|
720
|
+
* }
|
|
721
|
+
* })
|
|
722
|
+
*
|
|
723
|
+
*/
|
|
724
|
+
update<T extends ProductTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
725
|
+
/**
|
|
726
|
+
* Delete zero or more ProductTranslations.
|
|
727
|
+
* @param {ProductTranslationDeleteManyArgs} args - Arguments to filter ProductTranslations to delete.
|
|
728
|
+
* @example
|
|
729
|
+
* // Delete a few ProductTranslations
|
|
730
|
+
* const { count } = await prisma.productTranslation.deleteMany({
|
|
731
|
+
* where: {
|
|
732
|
+
* // ... provide filter here
|
|
733
|
+
* }
|
|
734
|
+
* })
|
|
735
|
+
*
|
|
736
|
+
*/
|
|
737
|
+
deleteMany<T extends ProductTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
738
|
+
/**
|
|
739
|
+
* Update zero or more ProductTranslations.
|
|
740
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
741
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
742
|
+
* @param {ProductTranslationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
743
|
+
* @example
|
|
744
|
+
* // Update many ProductTranslations
|
|
745
|
+
* const productTranslation = await prisma.productTranslation.updateMany({
|
|
746
|
+
* where: {
|
|
747
|
+
* // ... provide filter here
|
|
748
|
+
* },
|
|
749
|
+
* data: {
|
|
750
|
+
* // ... provide data here
|
|
751
|
+
* }
|
|
752
|
+
* })
|
|
753
|
+
*
|
|
754
|
+
*/
|
|
755
|
+
updateMany<T extends ProductTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
756
|
+
/**
|
|
757
|
+
* Update zero or more ProductTranslations and returns the data updated in the database.
|
|
758
|
+
* @param {ProductTranslationUpdateManyAndReturnArgs} args - Arguments to update many ProductTranslations.
|
|
759
|
+
* @example
|
|
760
|
+
* // Update many ProductTranslations
|
|
761
|
+
* const productTranslation = await prisma.productTranslation.updateManyAndReturn({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* },
|
|
765
|
+
* data: [
|
|
766
|
+
* // ... provide data here
|
|
767
|
+
* ]
|
|
768
|
+
* })
|
|
769
|
+
*
|
|
770
|
+
* // Update zero or more ProductTranslations and only return the `id`
|
|
771
|
+
* const productTranslationWithIdOnly = await prisma.productTranslation.updateManyAndReturn({
|
|
772
|
+
* select: { id: true },
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... provide filter here
|
|
775
|
+
* },
|
|
776
|
+
* data: [
|
|
777
|
+
* // ... provide data here
|
|
778
|
+
* ]
|
|
779
|
+
* })
|
|
780
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
781
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
782
|
+
*
|
|
783
|
+
*/
|
|
784
|
+
updateManyAndReturn<T extends ProductTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
785
|
+
/**
|
|
786
|
+
* Create or update one ProductTranslation.
|
|
787
|
+
* @param {ProductTranslationUpsertArgs} args - Arguments to update or create a ProductTranslation.
|
|
788
|
+
* @example
|
|
789
|
+
* // Update or create a ProductTranslation
|
|
790
|
+
* const productTranslation = await prisma.productTranslation.upsert({
|
|
791
|
+
* create: {
|
|
792
|
+
* // ... data to create a ProductTranslation
|
|
793
|
+
* },
|
|
794
|
+
* update: {
|
|
795
|
+
* // ... in case it already exists, update
|
|
796
|
+
* },
|
|
797
|
+
* where: {
|
|
798
|
+
* // ... the filter for the ProductTranslation we want to update
|
|
799
|
+
* }
|
|
800
|
+
* })
|
|
801
|
+
*/
|
|
802
|
+
upsert<T extends ProductTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
803
|
+
/**
|
|
804
|
+
* Count the number of ProductTranslations.
|
|
805
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
806
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
807
|
+
* @param {ProductTranslationCountArgs} args - Arguments to filter ProductTranslations to count.
|
|
808
|
+
* @example
|
|
809
|
+
* // Count the number of ProductTranslations
|
|
810
|
+
* const count = await prisma.productTranslation.count({
|
|
811
|
+
* where: {
|
|
812
|
+
* // ... the filter for the ProductTranslations we want to count
|
|
813
|
+
* }
|
|
814
|
+
* })
|
|
815
|
+
**/
|
|
816
|
+
count<T extends ProductTranslationCountArgs>(args?: Prisma.Subset<T, ProductTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductTranslationCountAggregateOutputType> : number>;
|
|
817
|
+
/**
|
|
818
|
+
* Allows you to perform aggregations operations on a ProductTranslation.
|
|
819
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
820
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
821
|
+
* @param {ProductTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
822
|
+
* @example
|
|
823
|
+
* // Ordered by age ascending
|
|
824
|
+
* // Where email contains prisma.io
|
|
825
|
+
* // Limited to the 10 users
|
|
826
|
+
* const aggregations = await prisma.user.aggregate({
|
|
827
|
+
* _avg: {
|
|
828
|
+
* age: true,
|
|
829
|
+
* },
|
|
830
|
+
* where: {
|
|
831
|
+
* email: {
|
|
832
|
+
* contains: "prisma.io",
|
|
833
|
+
* },
|
|
834
|
+
* },
|
|
835
|
+
* orderBy: {
|
|
836
|
+
* age: "asc",
|
|
837
|
+
* },
|
|
838
|
+
* take: 10,
|
|
839
|
+
* })
|
|
840
|
+
**/
|
|
841
|
+
aggregate<T extends ProductTranslationAggregateArgs>(args: Prisma.Subset<T, ProductTranslationAggregateArgs>): Prisma.PrismaPromise<GetProductTranslationAggregateType<T>>;
|
|
842
|
+
/**
|
|
843
|
+
* Group by ProductTranslation.
|
|
844
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
845
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
846
|
+
* @param {ProductTranslationGroupByArgs} args - Group by arguments.
|
|
847
|
+
* @example
|
|
848
|
+
* // Group by city, order by createdAt, get count
|
|
849
|
+
* const result = await prisma.user.groupBy({
|
|
850
|
+
* by: ['city', 'createdAt'],
|
|
851
|
+
* orderBy: {
|
|
852
|
+
* createdAt: true
|
|
853
|
+
* },
|
|
854
|
+
* _count: {
|
|
855
|
+
* _all: true
|
|
856
|
+
* },
|
|
857
|
+
* })
|
|
858
|
+
*
|
|
859
|
+
**/
|
|
860
|
+
groupBy<T extends ProductTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
861
|
+
orderBy: ProductTranslationGroupByArgs['orderBy'];
|
|
862
|
+
} : {
|
|
863
|
+
orderBy?: ProductTranslationGroupByArgs['orderBy'];
|
|
864
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
865
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
866
|
+
Error,
|
|
867
|
+
'Field ',
|
|
868
|
+
P,
|
|
869
|
+
` in "having" needs to be provided in "by"`
|
|
870
|
+
];
|
|
871
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
872
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
873
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
874
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
875
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
876
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
877
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
878
|
+
/**
|
|
879
|
+
* Fields of the ProductTranslation model
|
|
880
|
+
*/
|
|
881
|
+
readonly fields: ProductTranslationFieldRefs;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* The delegate class that acts as a "Promise-like" for ProductTranslation.
|
|
885
|
+
* Why is this prefixed with `Prisma__`?
|
|
886
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
887
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
888
|
+
*/
|
|
889
|
+
export interface Prisma__ProductTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
890
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
891
|
+
product<T extends Prisma.ProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductClient<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
892
|
+
/**
|
|
893
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
894
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
895
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
896
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
897
|
+
*/
|
|
898
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
899
|
+
/**
|
|
900
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
901
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
902
|
+
* @returns A Promise for the completion of the callback.
|
|
903
|
+
*/
|
|
904
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
905
|
+
/**
|
|
906
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
907
|
+
* resolved value cannot be modified from the callback.
|
|
908
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
909
|
+
* @returns A Promise for the completion of the callback.
|
|
910
|
+
*/
|
|
911
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Fields of the ProductTranslation model
|
|
915
|
+
*/
|
|
916
|
+
export interface ProductTranslationFieldRefs {
|
|
917
|
+
readonly id: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
918
|
+
readonly locale: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
919
|
+
readonly title: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
920
|
+
readonly description: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
921
|
+
readonly productId: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
922
|
+
readonly createdAt: Prisma.FieldRef<"ProductTranslation", 'DateTime'>;
|
|
923
|
+
readonly createdBy: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
924
|
+
readonly updatedAt: Prisma.FieldRef<"ProductTranslation", 'DateTime'>;
|
|
925
|
+
readonly updatedBy: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* ProductTranslation findUnique
|
|
929
|
+
*/
|
|
930
|
+
export type ProductTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
933
|
+
*/
|
|
934
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
935
|
+
/**
|
|
936
|
+
* Omit specific fields from the ProductTranslation
|
|
937
|
+
*/
|
|
938
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
939
|
+
/**
|
|
940
|
+
* Choose, which related nodes to fetch as well
|
|
941
|
+
*/
|
|
942
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
943
|
+
/**
|
|
944
|
+
* Filter, which ProductTranslation to fetch.
|
|
945
|
+
*/
|
|
946
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* ProductTranslation findUniqueOrThrow
|
|
950
|
+
*/
|
|
951
|
+
export type ProductTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
|
+
/**
|
|
953
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
954
|
+
*/
|
|
955
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
956
|
+
/**
|
|
957
|
+
* Omit specific fields from the ProductTranslation
|
|
958
|
+
*/
|
|
959
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
960
|
+
/**
|
|
961
|
+
* Choose, which related nodes to fetch as well
|
|
962
|
+
*/
|
|
963
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
964
|
+
/**
|
|
965
|
+
* Filter, which ProductTranslation to fetch.
|
|
966
|
+
*/
|
|
967
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* ProductTranslation findFirst
|
|
971
|
+
*/
|
|
972
|
+
export type ProductTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
973
|
+
/**
|
|
974
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
975
|
+
*/
|
|
976
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
977
|
+
/**
|
|
978
|
+
* Omit specific fields from the ProductTranslation
|
|
979
|
+
*/
|
|
980
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* Choose, which related nodes to fetch as well
|
|
983
|
+
*/
|
|
984
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
985
|
+
/**
|
|
986
|
+
* Filter, which ProductTranslation to fetch.
|
|
987
|
+
*/
|
|
988
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
989
|
+
/**
|
|
990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
991
|
+
*
|
|
992
|
+
* Determine the order of ProductTranslations to fetch.
|
|
993
|
+
*/
|
|
994
|
+
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
995
|
+
/**
|
|
996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
997
|
+
*
|
|
998
|
+
* Sets the position for searching for ProductTranslations.
|
|
999
|
+
*/
|
|
1000
|
+
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1001
|
+
/**
|
|
1002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1003
|
+
*
|
|
1004
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1005
|
+
*/
|
|
1006
|
+
take?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1009
|
+
*
|
|
1010
|
+
* Skip the first `n` ProductTranslations.
|
|
1011
|
+
*/
|
|
1012
|
+
skip?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1015
|
+
*
|
|
1016
|
+
* Filter by unique combinations of ProductTranslations.
|
|
1017
|
+
*/
|
|
1018
|
+
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
1019
|
+
};
|
|
1020
|
+
/**
|
|
1021
|
+
* ProductTranslation findFirstOrThrow
|
|
1022
|
+
*/
|
|
1023
|
+
export type ProductTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1026
|
+
*/
|
|
1027
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* Omit specific fields from the ProductTranslation
|
|
1030
|
+
*/
|
|
1031
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* Choose, which related nodes to fetch as well
|
|
1034
|
+
*/
|
|
1035
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* Filter, which ProductTranslation to fetch.
|
|
1038
|
+
*/
|
|
1039
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
1040
|
+
/**
|
|
1041
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1042
|
+
*
|
|
1043
|
+
* Determine the order of ProductTranslations to fetch.
|
|
1044
|
+
*/
|
|
1045
|
+
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
1046
|
+
/**
|
|
1047
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1048
|
+
*
|
|
1049
|
+
* Sets the position for searching for ProductTranslations.
|
|
1050
|
+
*/
|
|
1051
|
+
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1052
|
+
/**
|
|
1053
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1054
|
+
*
|
|
1055
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1056
|
+
*/
|
|
1057
|
+
take?: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1060
|
+
*
|
|
1061
|
+
* Skip the first `n` ProductTranslations.
|
|
1062
|
+
*/
|
|
1063
|
+
skip?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1066
|
+
*
|
|
1067
|
+
* Filter by unique combinations of ProductTranslations.
|
|
1068
|
+
*/
|
|
1069
|
+
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* ProductTranslation findMany
|
|
1073
|
+
*/
|
|
1074
|
+
export type ProductTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1075
|
+
/**
|
|
1076
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1077
|
+
*/
|
|
1078
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* Omit specific fields from the ProductTranslation
|
|
1081
|
+
*/
|
|
1082
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* Choose, which related nodes to fetch as well
|
|
1085
|
+
*/
|
|
1086
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Filter, which ProductTranslations to fetch.
|
|
1089
|
+
*/
|
|
1090
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Determine the order of ProductTranslations to fetch.
|
|
1095
|
+
*/
|
|
1096
|
+
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
1097
|
+
/**
|
|
1098
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1099
|
+
*
|
|
1100
|
+
* Sets the position for listing ProductTranslations.
|
|
1101
|
+
*/
|
|
1102
|
+
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1103
|
+
/**
|
|
1104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1105
|
+
*
|
|
1106
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1107
|
+
*/
|
|
1108
|
+
take?: number;
|
|
1109
|
+
/**
|
|
1110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1111
|
+
*
|
|
1112
|
+
* Skip the first `n` ProductTranslations.
|
|
1113
|
+
*/
|
|
1114
|
+
skip?: number;
|
|
1115
|
+
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* ProductTranslation create
|
|
1119
|
+
*/
|
|
1120
|
+
export type ProductTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1121
|
+
/**
|
|
1122
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1123
|
+
*/
|
|
1124
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* Omit specific fields from the ProductTranslation
|
|
1127
|
+
*/
|
|
1128
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* Choose, which related nodes to fetch as well
|
|
1131
|
+
*/
|
|
1132
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1133
|
+
/**
|
|
1134
|
+
* The data needed to create a ProductTranslation.
|
|
1135
|
+
*/
|
|
1136
|
+
data: Prisma.XOR<Prisma.ProductTranslationCreateInput, Prisma.ProductTranslationUncheckedCreateInput>;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* ProductTranslation createMany
|
|
1140
|
+
*/
|
|
1141
|
+
export type ProductTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1142
|
+
/**
|
|
1143
|
+
* The data used to create many ProductTranslations.
|
|
1144
|
+
*/
|
|
1145
|
+
data: Prisma.ProductTranslationCreateManyInput | Prisma.ProductTranslationCreateManyInput[];
|
|
1146
|
+
skipDuplicates?: boolean;
|
|
1147
|
+
};
|
|
1148
|
+
/**
|
|
1149
|
+
* ProductTranslation createManyAndReturn
|
|
1150
|
+
*/
|
|
1151
|
+
export type ProductTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1154
|
+
*/
|
|
1155
|
+
select?: Prisma.ProductTranslationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Omit specific fields from the ProductTranslation
|
|
1158
|
+
*/
|
|
1159
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* The data used to create many ProductTranslations.
|
|
1162
|
+
*/
|
|
1163
|
+
data: Prisma.ProductTranslationCreateManyInput | Prisma.ProductTranslationCreateManyInput[];
|
|
1164
|
+
skipDuplicates?: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
1168
|
+
include?: Prisma.ProductTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* ProductTranslation update
|
|
1172
|
+
*/
|
|
1173
|
+
export type ProductTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1176
|
+
*/
|
|
1177
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Omit specific fields from the ProductTranslation
|
|
1180
|
+
*/
|
|
1181
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Choose, which related nodes to fetch as well
|
|
1184
|
+
*/
|
|
1185
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* The data needed to update a ProductTranslation.
|
|
1188
|
+
*/
|
|
1189
|
+
data: Prisma.XOR<Prisma.ProductTranslationUpdateInput, Prisma.ProductTranslationUncheckedUpdateInput>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Choose, which ProductTranslation to update.
|
|
1192
|
+
*/
|
|
1193
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* ProductTranslation updateMany
|
|
1197
|
+
*/
|
|
1198
|
+
export type ProductTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* The data used to update ProductTranslations.
|
|
1201
|
+
*/
|
|
1202
|
+
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyInput>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Filter which ProductTranslations to update
|
|
1205
|
+
*/
|
|
1206
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
1207
|
+
/**
|
|
1208
|
+
* Limit how many ProductTranslations to update.
|
|
1209
|
+
*/
|
|
1210
|
+
limit?: number;
|
|
1211
|
+
};
|
|
1212
|
+
/**
|
|
1213
|
+
* ProductTranslation updateManyAndReturn
|
|
1214
|
+
*/
|
|
1215
|
+
export type ProductTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1218
|
+
*/
|
|
1219
|
+
select?: Prisma.ProductTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Omit specific fields from the ProductTranslation
|
|
1222
|
+
*/
|
|
1223
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* The data used to update ProductTranslations.
|
|
1226
|
+
*/
|
|
1227
|
+
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyInput>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Filter which ProductTranslations to update
|
|
1230
|
+
*/
|
|
1231
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
1232
|
+
/**
|
|
1233
|
+
* Limit how many ProductTranslations to update.
|
|
1234
|
+
*/
|
|
1235
|
+
limit?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Choose, which related nodes to fetch as well
|
|
1238
|
+
*/
|
|
1239
|
+
include?: Prisma.ProductTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* ProductTranslation upsert
|
|
1243
|
+
*/
|
|
1244
|
+
export type ProductTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
+
/**
|
|
1246
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1247
|
+
*/
|
|
1248
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Omit specific fields from the ProductTranslation
|
|
1251
|
+
*/
|
|
1252
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Choose, which related nodes to fetch as well
|
|
1255
|
+
*/
|
|
1256
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* The filter to search for the ProductTranslation to update in case it exists.
|
|
1259
|
+
*/
|
|
1260
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1261
|
+
/**
|
|
1262
|
+
* In case the ProductTranslation found by the `where` argument doesn't exist, create a new ProductTranslation with this data.
|
|
1263
|
+
*/
|
|
1264
|
+
create: Prisma.XOR<Prisma.ProductTranslationCreateInput, Prisma.ProductTranslationUncheckedCreateInput>;
|
|
1265
|
+
/**
|
|
1266
|
+
* In case the ProductTranslation was found with the provided `where` argument, update it with this data.
|
|
1267
|
+
*/
|
|
1268
|
+
update: Prisma.XOR<Prisma.ProductTranslationUpdateInput, Prisma.ProductTranslationUncheckedUpdateInput>;
|
|
1269
|
+
};
|
|
1270
|
+
/**
|
|
1271
|
+
* ProductTranslation delete
|
|
1272
|
+
*/
|
|
1273
|
+
export type ProductTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
+
/**
|
|
1275
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1276
|
+
*/
|
|
1277
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Omit specific fields from the ProductTranslation
|
|
1280
|
+
*/
|
|
1281
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Choose, which related nodes to fetch as well
|
|
1284
|
+
*/
|
|
1285
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Filter which ProductTranslation to delete.
|
|
1288
|
+
*/
|
|
1289
|
+
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* ProductTranslation deleteMany
|
|
1293
|
+
*/
|
|
1294
|
+
export type ProductTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Filter which ProductTranslations to delete
|
|
1297
|
+
*/
|
|
1298
|
+
where?: Prisma.ProductTranslationWhereInput;
|
|
1299
|
+
/**
|
|
1300
|
+
* Limit how many ProductTranslations to delete.
|
|
1301
|
+
*/
|
|
1302
|
+
limit?: number;
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* ProductTranslation without action
|
|
1306
|
+
*/
|
|
1307
|
+
export type ProductTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1308
|
+
/**
|
|
1309
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1310
|
+
*/
|
|
1311
|
+
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1312
|
+
/**
|
|
1313
|
+
* Omit specific fields from the ProductTranslation
|
|
1314
|
+
*/
|
|
1315
|
+
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* Choose, which related nodes to fetch as well
|
|
1318
|
+
*/
|
|
1319
|
+
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1320
|
+
};
|
|
1321
|
+
export {};
|