@shophost/rest-api 2.0.32 → 2.0.33
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/package.json +13 -14
- package/src/app.js +53 -1
- package/src/app.js.map +1 -0
- package/src/core/auth/auth.schema.js +41 -1
- package/src/core/auth/auth.schema.js.map +1 -0
- package/src/core/auth/auth.util.js +44 -1
- package/src/core/auth/auth.util.js.map +1 -0
- package/src/core/auth/better-auth.lib.js +100 -1
- package/src/core/auth/better-auth.lib.js.map +1 -0
- package/src/core/auth/generate-password-hash.util.d.ts +3 -0
- package/src/core/auth/generate-password-hash.util.js +30 -1
- package/src/core/auth/generate-password-hash.util.js.map +1 -0
- package/src/core/auth/headers.schema.js +22 -1
- package/src/core/auth/headers.schema.js.map +1 -0
- package/src/core/auth/user.schema.js +30 -1
- package/src/core/auth/user.schema.js.map +1 -0
- package/src/core/db/__generated__/client/browser.d.ts +128 -0
- package/src/core/db/__generated__/client/browser.js +18 -1
- package/src/core/db/__generated__/client/browser.js.map +1 -0
- package/src/core/db/__generated__/client/client.d.ts +143 -0
- package/src/core/db/__generated__/client/client.js +35 -1
- package/src/core/db/__generated__/client/client.js.map +1 -0
- package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/core/db/__generated__/client/enums.js +200 -1
- package/src/core/db/__generated__/client/enums.js.map +1 -0
- package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
- package/src/core/db/__generated__/client/internal/class.js +55 -1
- package/src/core/db/__generated__/client/internal/class.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
- package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Account.js +2 -1
- package/src/core/db/__generated__/client/models/Account.js.map +1 -0
- package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
- package/src/core/db/__generated__/client/models/Address.js +2 -1
- package/src/core/db/__generated__/client/models/Address.js.map +1 -0
- package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
- package/src/core/db/__generated__/client/models/Campaign.js +2 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/File.d.ts +757 -0
- package/src/core/db/__generated__/client/models/File.js +2 -1
- package/src/core/db/__generated__/client/models/File.js.map +1 -0
- package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Invitation.js +2 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
- package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
- package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Member.js +2 -1
- package/src/core/db/__generated__/client/models/Member.js.map +1 -0
- package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
- package/src/core/db/__generated__/client/models/Modifier.js +2 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
- package/src/core/db/__generated__/client/models/Order.js +2 -1
- package/src/core/db/__generated__/client/models/Order.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
- package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
- package/src/core/db/__generated__/client/models/Organization.js +2 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
- package/src/core/db/__generated__/client/models/Payment.js +2 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
- package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
- package/src/core/db/__generated__/client/models/Product.js +2 -1
- package/src/core/db/__generated__/client/models/Product.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
- package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
- package/src/core/db/__generated__/client/models/Reservation.js +2 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Session.js +2 -1
- package/src/core/db/__generated__/client/models/Session.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
- package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/core/db/__generated__/client/models/User.d.ts +741 -0
- package/src/core/db/__generated__/client/models/User.js +2 -1
- package/src/core/db/__generated__/client/models/User.js.map +1 -0
- package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
- package/src/core/db/__generated__/client/models/Verification.js +2 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/core/db/__generated__/client/models.js +2 -1
- package/src/core/db/__generated__/client/models.js.map +1 -0
- package/src/core/db/index.js +2 -1
- package/src/core/db/index.js.map +1 -0
- package/src/core/exceptions/http-exception.js +9 -1
- package/src/core/exceptions/http-exception.js.map +1 -0
- package/src/core/hono/hono.js +123 -1
- package/src/core/hono/hono.js.map +1 -0
- package/src/core/lib/prisma.js +11 -1
- package/src/core/lib/prisma.js.map +1 -0
- package/src/core/logging/pino.js +5 -1
- package/src/core/logging/pino.js.map +1 -0
- package/src/core/notifications/email.service.d.ts +15 -0
- package/src/core/notifications/email.service.js +116 -1
- package/src/core/notifications/email.service.js.map +1 -0
- package/src/core/openapi/openapi.lib.js +26 -1
- package/src/core/openapi/openapi.lib.js.map +1 -0
- package/src/core/types/google-maps.types.js +2 -1
- package/src/core/types/google-maps.types.js.map +1 -0
- package/src/core/utils/currency.util.js +11 -1
- package/src/core/utils/currency.util.js.map +1 -0
- package/src/core/utils/env.util.js +8 -1
- package/src/core/utils/env.util.js.map +1 -0
- package/src/core/utils/object.util.d.ts +10 -0
- package/src/core/utils/object.util.js +39 -1
- package/src/core/utils/object.util.js.map +1 -0
- package/src/core/utils/translations.util.js +2 -0
- package/src/core/utils/translations.util.js.map +1 -0
- package/src/core/utils/zod.util.d.ts +12 -0
- package/src/core/utils/zod.util.js +85 -1
- package/src/core/utils/zod.util.js.map +1 -0
- package/src/db.js +3 -1
- package/src/db.js.map +1 -0
- package/src/features/access/access.handler.js +91 -1
- package/src/features/access/access.handler.js.map +1 -0
- package/src/features/access/access.route.js +220 -1
- package/src/features/access/access.route.js.map +1 -0
- package/src/features/access/access.schema.js +108 -1
- package/src/features/access/access.schema.js.map +1 -0
- package/src/features/access/access.service.js +294 -1
- package/src/features/access/access.service.js.map +1 -0
- package/src/features/cart/cart.handler.js +17 -1
- package/src/features/cart/cart.handler.js.map +1 -0
- package/src/features/cart/cart.route.js +32 -1
- package/src/features/cart/cart.route.js.map +1 -0
- package/src/features/cart/cart.schema.js +39 -1
- package/src/features/cart/cart.schema.js.map +1 -0
- package/src/features/cart/cart.service.d.ts +7 -0
- package/src/features/cart/cart.service.js +97 -1
- package/src/features/cart/cart.service.js.map +1 -0
- package/src/features/cart/cart.util.js +76 -1
- package/src/features/cart/cart.util.js.map +1 -0
- package/src/features/file/file.handler.js +23 -1
- package/src/features/file/file.handler.js.map +1 -0
- package/src/features/file/file.route.js +34 -1
- package/src/features/file/file.route.js.map +1 -0
- package/src/features/file/file.schema.js +77 -1
- package/src/features/file/file.schema.js.map +1 -0
- package/src/features/file/file.service.d.ts +6 -0
- package/src/features/file/file.service.js +66 -1
- package/src/features/file/file.service.js.map +1 -0
- package/src/features/health/health.handler.js +10 -1
- package/src/features/health/health.handler.js.map +1 -0
- package/src/features/health/health.route.js +25 -1
- package/src/features/health/health.route.js.map +1 -0
- package/src/features/index.js +16 -1
- package/src/features/index.js.map +1 -0
- package/src/features/location/location.handler.js +25 -1
- package/src/features/location/location.handler.js.map +1 -0
- package/src/features/location/location.route.js +56 -1
- package/src/features/location/location.route.js.map +1 -0
- package/src/features/location/location.schema.js +50 -1
- package/src/features/location/location.schema.js.map +1 -0
- package/src/features/location/location.service.d.ts +3 -0
- package/src/features/location/location.service.js +141 -1
- package/src/features/location/location.service.js.map +1 -0
- package/src/features/manufacturer/manufacturer.handler.js +53 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
- package/src/features/manufacturer/manufacturer.route.js +97 -1
- package/src/features/manufacturer/manufacturer.route.js.map +1 -0
- package/src/features/manufacturer/manufacturer.schema.js +125 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
- package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
- package/src/features/manufacturer/manufacturer.service.js +190 -1
- package/src/features/manufacturer/manufacturer.service.js.map +1 -0
- package/src/features/order/emails/order-confirmation.email.js +229 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -0
- package/src/features/order/emails/order-notification.email.js +229 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -0
- package/src/features/order/fulfilment.schema.js +3 -1
- package/src/features/order/fulfilment.schema.js.map +1 -0
- package/src/features/order/order.handler.js +54 -1
- package/src/features/order/order.handler.js.map +1 -0
- package/src/features/order/order.route.js +111 -1
- package/src/features/order/order.route.js.map +1 -0
- package/src/features/order/order.schema.js +158 -1
- package/src/features/order/order.schema.js.map +1 -0
- package/src/features/order/order.service.d.ts +15 -0
- package/src/features/order/order.service.js +306 -1
- package/src/features/order/order.service.js.map +1 -0
- package/src/features/order/recipient.schema.js +38 -1
- package/src/features/order/recipient.schema.js.map +1 -0
- package/src/features/organization/legal-entity.schema.js +83 -1
- package/src/features/organization/legal-entity.schema.js.map +1 -0
- package/src/features/organization/organization-configuration.schema.js +115 -1
- package/src/features/organization/organization-configuration.schema.js.map +1 -0
- package/src/features/organization/organization.handler.js +48 -1
- package/src/features/organization/organization.handler.js.map +1 -0
- package/src/features/organization/organization.route.js +84 -1
- package/src/features/organization/organization.route.js.map +1 -0
- package/src/features/organization/organization.schema.js +64 -1
- package/src/features/organization/organization.schema.js.map +1 -0
- package/src/features/organization/organization.service.d.ts +15 -0
- package/src/features/organization/organization.service.js +334 -1
- package/src/features/organization/organization.service.js.map +1 -0
- package/src/features/payment/payment.handler.js +16 -1
- package/src/features/payment/payment.handler.js.map +1 -0
- package/src/features/payment/payment.route.js +22 -1
- package/src/features/payment/payment.route.js.map +1 -0
- package/src/features/payment/payment.schema.js +46 -1
- package/src/features/payment/payment.schema.js.map +1 -0
- package/src/features/payment/payment.service.js +100 -1
- package/src/features/payment/payment.service.js.map +1 -0
- package/src/features/payment/stripe.service.js +164 -1
- package/src/features/payment/stripe.service.js.map +1 -0
- package/src/features/product/product-modifier.schema.js +84 -1
- package/src/features/product/product-modifier.schema.js.map +1 -0
- package/src/features/product/product.handler.js +87 -1
- package/src/features/product/product.handler.js.map +1 -0
- package/src/features/product/product.route.js +179 -1
- package/src/features/product/product.route.js.map +1 -0
- package/src/features/product/product.schema.js +143 -1
- package/src/features/product/product.schema.js.map +1 -0
- package/src/features/product/product.service.d.ts +25 -0
- package/src/features/product/product.service.js +440 -1
- package/src/features/product/product.service.js.map +1 -0
- package/src/features/product-category/product-category.handler.js +59 -1
- package/src/features/product-category/product-category.handler.js.map +1 -0
- package/src/features/product-category/product-category.route.js +139 -1
- package/src/features/product-category/product-category.route.js.map +1 -0
- package/src/features/product-category/product-category.schema.js +86 -1
- package/src/features/product-category/product-category.schema.js.map +1 -0
- package/src/features/product-category/product-category.service.d.ts +22 -0
- package/src/features/product-category/product-category.service.js +220 -1
- package/src/features/product-category/product-category.service.js.map +1 -0
- package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-notification.email.js +93 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
- package/src/features/reservation/reservation.handler.js +65 -1
- package/src/features/reservation/reservation.handler.js.map +1 -0
- package/src/features/reservation/reservation.route.js +167 -1
- package/src/features/reservation/reservation.route.js.map +1 -0
- package/src/features/reservation/reservation.schema.js +51 -1
- package/src/features/reservation/reservation.schema.js.map +1 -0
- package/src/features/reservation/reservation.service.d.ts +18 -0
- package/src/features/reservation/reservation.service.js +231 -1
- package/src/features/reservation/reservation.service.js.map +1 -0
- package/src/features/shipping/shipping.handler.js +32 -1
- package/src/features/shipping/shipping.handler.js.map +1 -0
- package/src/features/shipping/shipping.route.js +51 -1
- package/src/features/shipping/shipping.route.js.map +1 -0
- package/src/features/shipping/shipping.service.d.ts +7 -0
- package/src/features/shipping/shipping.service.js +96 -1
- package/src/features/shipping/shipping.service.js.map +1 -0
- package/src/features/shipping-method/shipping-method.handler.js +60 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
- package/src/features/shipping-method/shipping-method.route.js +144 -1
- package/src/features/shipping-method/shipping-method.route.js.map +1 -0
- package/src/features/shipping-method/shipping-method.schema.js +48 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
- package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
- package/src/features/shipping-method/shipping-method.service.js +229 -1
- package/src/features/shipping-method/shipping-method.service.js.map +1 -0
- package/src/features/shipping-method/shipping-zone.schema.js +31 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
- package/src/features/webhook/webhook.handler.js +50 -1
- package/src/features/webhook/webhook.handler.js.map +1 -0
- package/src/features/webhook/webhook.route.js +33 -1
- package/src/features/webhook/webhook.route.js.map +1 -0
- package/src/index.js +6 -1
- package/src/index.js.map +1 -0
- package/src/integrations/next.js +82 -1
- package/src/integrations/next.js.map +1 -0
- package/src/schemas/address.schema.d.ts +8 -0
- package/src/schemas/address.schema.js +112 -1
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +42 -0
- package/src/schemas/currency.schema.js +118 -1
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.js +12 -1
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/index.js +29 -1
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/locales.schema.js +238 -1
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/number.schema.js +29 -1
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/pagination.schema.js +54 -1
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.js +20 -1
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/queries.schema.js +6 -1
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/test/global-setup.js +37 -1
- package/src/test/global-setup.js.map +1 -0
- package/src/test/integration/api-fixtures.js +160 -1
- package/src/test/integration/api-fixtures.js.map +1 -0
- package/src/test/integration/seed.js +368 -1
- package/src/test/integration/seed.js.map +1 -0
- package/src/test/integration/test-helpers.js +154 -1
- package/src/test/integration/test-helpers.js.map +1 -0
- package/src/test/setup-test-env.js +7 -1
- package/src/test/setup-test-env.js.map +1 -0
- package/scripts/minify.mjs +0 -123
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model ModifierGroup
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type ModifierGroupModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierGroupPayload>;
|
|
4
8
|
export type AggregateModifierGroup = {
|
|
5
9
|
_count: ModifierGroupCountAggregateOutputType | null;
|
|
@@ -69,15 +73,63 @@ export type ModifierGroupCountAggregateInputType = {
|
|
|
69
73
|
_all?: true;
|
|
70
74
|
};
|
|
71
75
|
export type ModifierGroupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
+
/**
|
|
77
|
+
* Filter which ModifierGroup to aggregate.
|
|
78
|
+
*/
|
|
72
79
|
where?: Prisma.ModifierGroupWhereInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
+
*
|
|
83
|
+
* Determine the order of ModifierGroups to fetch.
|
|
84
|
+
*/
|
|
73
85
|
orderBy?: Prisma.ModifierGroupOrderByWithRelationInput | Prisma.ModifierGroupOrderByWithRelationInput[];
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
88
|
+
*
|
|
89
|
+
* Sets the start position
|
|
90
|
+
*/
|
|
74
91
|
cursor?: Prisma.ModifierGroupWhereUniqueInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Take `±n` ModifierGroups from the position of the cursor.
|
|
96
|
+
*/
|
|
75
97
|
take?: number;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Skip the first `n` ModifierGroups.
|
|
102
|
+
*/
|
|
76
103
|
skip?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Count returned ModifierGroups
|
|
108
|
+
**/
|
|
77
109
|
_count?: true | ModifierGroupCountAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to average
|
|
114
|
+
**/
|
|
78
115
|
_avg?: ModifierGroupAvgAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to sum
|
|
120
|
+
**/
|
|
79
121
|
_sum?: ModifierGroupSumAggregateInputType;
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
+
*
|
|
125
|
+
* Select which fields to find the minimum value
|
|
126
|
+
**/
|
|
80
127
|
_min?: ModifierGroupMinAggregateInputType;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
130
|
+
*
|
|
131
|
+
* Select which fields to find the maximum value
|
|
132
|
+
**/
|
|
81
133
|
_max?: ModifierGroupMaxAggregateInputType;
|
|
82
134
|
};
|
|
83
135
|
export type GetModifierGroupAggregateType<T extends ModifierGroupAggregateArgs> = {
|
|
@@ -497,6 +549,9 @@ export type ModifierGroupUncheckedUpdateManyWithoutProductsInput = {
|
|
|
497
549
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
498
550
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
499
551
|
};
|
|
552
|
+
/**
|
|
553
|
+
* Count Type ModifierGroupCountOutputType
|
|
554
|
+
*/
|
|
500
555
|
export type ModifierGroupCountOutputType = {
|
|
501
556
|
modifiers: number;
|
|
502
557
|
products: number;
|
|
@@ -507,15 +562,30 @@ export type ModifierGroupCountOutputTypeSelect<ExtArgs extends runtime.Types.Ext
|
|
|
507
562
|
products?: boolean | ModifierGroupCountOutputTypeCountProductsArgs;
|
|
508
563
|
translations?: boolean | ModifierGroupCountOutputTypeCountTranslationsArgs;
|
|
509
564
|
};
|
|
565
|
+
/**
|
|
566
|
+
* ModifierGroupCountOutputType without action
|
|
567
|
+
*/
|
|
510
568
|
export type ModifierGroupCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
569
|
+
/**
|
|
570
|
+
* Select specific fields to fetch from the ModifierGroupCountOutputType
|
|
571
|
+
*/
|
|
511
572
|
select?: Prisma.ModifierGroupCountOutputTypeSelect<ExtArgs> | null;
|
|
512
573
|
};
|
|
574
|
+
/**
|
|
575
|
+
* ModifierGroupCountOutputType without action
|
|
576
|
+
*/
|
|
513
577
|
export type ModifierGroupCountOutputTypeCountModifiersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
514
578
|
where?: Prisma.ModifierWhereInput;
|
|
515
579
|
};
|
|
580
|
+
/**
|
|
581
|
+
* ModifierGroupCountOutputType without action
|
|
582
|
+
*/
|
|
516
583
|
export type ModifierGroupCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
517
584
|
where?: Prisma.ProductWhereInput;
|
|
518
585
|
};
|
|
586
|
+
/**
|
|
587
|
+
* ModifierGroupCountOutputType without action
|
|
588
|
+
*/
|
|
519
589
|
export type ModifierGroupCountOutputTypeCountTranslationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
520
590
|
where?: Prisma.ModifierGroupTranslationWhereInput;
|
|
521
591
|
};
|
|
@@ -587,22 +657,290 @@ export interface ModifierGroupDelegate<ExtArgs extends runtime.Types.Extensions.
|
|
|
587
657
|
name: 'ModifierGroup';
|
|
588
658
|
};
|
|
589
659
|
};
|
|
660
|
+
/**
|
|
661
|
+
* Find zero or one ModifierGroup that matches the filter.
|
|
662
|
+
* @param {ModifierGroupFindUniqueArgs} args - Arguments to find a ModifierGroup
|
|
663
|
+
* @example
|
|
664
|
+
* // Get one ModifierGroup
|
|
665
|
+
* const modifierGroup = await prisma.modifierGroup.findUnique({
|
|
666
|
+
* where: {
|
|
667
|
+
* // ... provide filter here
|
|
668
|
+
* }
|
|
669
|
+
* })
|
|
670
|
+
*/
|
|
590
671
|
findUnique<T extends ModifierGroupFindUniqueArgs>(args: Prisma.SelectSubset<T, ModifierGroupFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
672
|
+
/**
|
|
673
|
+
* Find one ModifierGroup that matches the filter or throw an error with `error.code='P2025'`
|
|
674
|
+
* if no matches were found.
|
|
675
|
+
* @param {ModifierGroupFindUniqueOrThrowArgs} args - Arguments to find a ModifierGroup
|
|
676
|
+
* @example
|
|
677
|
+
* // Get one ModifierGroup
|
|
678
|
+
* const modifierGroup = await prisma.modifierGroup.findUniqueOrThrow({
|
|
679
|
+
* where: {
|
|
680
|
+
* // ... provide filter here
|
|
681
|
+
* }
|
|
682
|
+
* })
|
|
683
|
+
*/
|
|
591
684
|
findUniqueOrThrow<T extends ModifierGroupFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModifierGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
685
|
+
/**
|
|
686
|
+
* Find the first ModifierGroup that matches the filter.
|
|
687
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
688
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
689
|
+
* @param {ModifierGroupFindFirstArgs} args - Arguments to find a ModifierGroup
|
|
690
|
+
* @example
|
|
691
|
+
* // Get one ModifierGroup
|
|
692
|
+
* const modifierGroup = await prisma.modifierGroup.findFirst({
|
|
693
|
+
* where: {
|
|
694
|
+
* // ... provide filter here
|
|
695
|
+
* }
|
|
696
|
+
* })
|
|
697
|
+
*/
|
|
592
698
|
findFirst<T extends ModifierGroupFindFirstArgs>(args?: Prisma.SelectSubset<T, ModifierGroupFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
699
|
+
/**
|
|
700
|
+
* Find the first ModifierGroup that matches the filter or
|
|
701
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
702
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
703
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
704
|
+
* @param {ModifierGroupFindFirstOrThrowArgs} args - Arguments to find a ModifierGroup
|
|
705
|
+
* @example
|
|
706
|
+
* // Get one ModifierGroup
|
|
707
|
+
* const modifierGroup = await prisma.modifierGroup.findFirstOrThrow({
|
|
708
|
+
* where: {
|
|
709
|
+
* // ... provide filter here
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
*/
|
|
593
713
|
findFirstOrThrow<T extends ModifierGroupFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModifierGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
714
|
+
/**
|
|
715
|
+
* Find zero or more ModifierGroups that matches the filter.
|
|
716
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
717
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
718
|
+
* @param {ModifierGroupFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
719
|
+
* @example
|
|
720
|
+
* // Get all ModifierGroups
|
|
721
|
+
* const modifierGroups = await prisma.modifierGroup.findMany()
|
|
722
|
+
*
|
|
723
|
+
* // Get first 10 ModifierGroups
|
|
724
|
+
* const modifierGroups = await prisma.modifierGroup.findMany({ take: 10 })
|
|
725
|
+
*
|
|
726
|
+
* // Only select the `id`
|
|
727
|
+
* const modifierGroupWithIdOnly = await prisma.modifierGroup.findMany({ select: { id: true } })
|
|
728
|
+
*
|
|
729
|
+
*/
|
|
594
730
|
findMany<T extends ModifierGroupFindManyArgs>(args?: Prisma.SelectSubset<T, ModifierGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
731
|
+
/**
|
|
732
|
+
* Create a ModifierGroup.
|
|
733
|
+
* @param {ModifierGroupCreateArgs} args - Arguments to create a ModifierGroup.
|
|
734
|
+
* @example
|
|
735
|
+
* // Create one ModifierGroup
|
|
736
|
+
* const ModifierGroup = await prisma.modifierGroup.create({
|
|
737
|
+
* data: {
|
|
738
|
+
* // ... data to create a ModifierGroup
|
|
739
|
+
* }
|
|
740
|
+
* })
|
|
741
|
+
*
|
|
742
|
+
*/
|
|
595
743
|
create<T extends ModifierGroupCreateArgs>(args: Prisma.SelectSubset<T, ModifierGroupCreateArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
744
|
+
/**
|
|
745
|
+
* Create many ModifierGroups.
|
|
746
|
+
* @param {ModifierGroupCreateManyArgs} args - Arguments to create many ModifierGroups.
|
|
747
|
+
* @example
|
|
748
|
+
* // Create many ModifierGroups
|
|
749
|
+
* const modifierGroup = await prisma.modifierGroup.createMany({
|
|
750
|
+
* data: [
|
|
751
|
+
* // ... provide data here
|
|
752
|
+
* ]
|
|
753
|
+
* })
|
|
754
|
+
*
|
|
755
|
+
*/
|
|
596
756
|
createMany<T extends ModifierGroupCreateManyArgs>(args?: Prisma.SelectSubset<T, ModifierGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
757
|
+
/**
|
|
758
|
+
* Create many ModifierGroups and returns the data saved in the database.
|
|
759
|
+
* @param {ModifierGroupCreateManyAndReturnArgs} args - Arguments to create many ModifierGroups.
|
|
760
|
+
* @example
|
|
761
|
+
* // Create many ModifierGroups
|
|
762
|
+
* const modifierGroup = await prisma.modifierGroup.createManyAndReturn({
|
|
763
|
+
* data: [
|
|
764
|
+
* // ... provide data here
|
|
765
|
+
* ]
|
|
766
|
+
* })
|
|
767
|
+
*
|
|
768
|
+
* // Create many ModifierGroups and only return the `id`
|
|
769
|
+
* const modifierGroupWithIdOnly = await prisma.modifierGroup.createManyAndReturn({
|
|
770
|
+
* select: { id: true },
|
|
771
|
+
* data: [
|
|
772
|
+
* // ... provide data here
|
|
773
|
+
* ]
|
|
774
|
+
* })
|
|
775
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
776
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
777
|
+
*
|
|
778
|
+
*/
|
|
597
779
|
createManyAndReturn<T extends ModifierGroupCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModifierGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
780
|
+
/**
|
|
781
|
+
* Delete a ModifierGroup.
|
|
782
|
+
* @param {ModifierGroupDeleteArgs} args - Arguments to delete one ModifierGroup.
|
|
783
|
+
* @example
|
|
784
|
+
* // Delete one ModifierGroup
|
|
785
|
+
* const ModifierGroup = await prisma.modifierGroup.delete({
|
|
786
|
+
* where: {
|
|
787
|
+
* // ... filter to delete one ModifierGroup
|
|
788
|
+
* }
|
|
789
|
+
* })
|
|
790
|
+
*
|
|
791
|
+
*/
|
|
598
792
|
delete<T extends ModifierGroupDeleteArgs>(args: Prisma.SelectSubset<T, ModifierGroupDeleteArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
793
|
+
/**
|
|
794
|
+
* Update one ModifierGroup.
|
|
795
|
+
* @param {ModifierGroupUpdateArgs} args - Arguments to update one ModifierGroup.
|
|
796
|
+
* @example
|
|
797
|
+
* // Update one ModifierGroup
|
|
798
|
+
* const modifierGroup = await prisma.modifierGroup.update({
|
|
799
|
+
* where: {
|
|
800
|
+
* // ... provide filter here
|
|
801
|
+
* },
|
|
802
|
+
* data: {
|
|
803
|
+
* // ... provide data here
|
|
804
|
+
* }
|
|
805
|
+
* })
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
599
808
|
update<T extends ModifierGroupUpdateArgs>(args: Prisma.SelectSubset<T, ModifierGroupUpdateArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
809
|
+
/**
|
|
810
|
+
* Delete zero or more ModifierGroups.
|
|
811
|
+
* @param {ModifierGroupDeleteManyArgs} args - Arguments to filter ModifierGroups to delete.
|
|
812
|
+
* @example
|
|
813
|
+
* // Delete a few ModifierGroups
|
|
814
|
+
* const { count } = await prisma.modifierGroup.deleteMany({
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... provide filter here
|
|
817
|
+
* }
|
|
818
|
+
* })
|
|
819
|
+
*
|
|
820
|
+
*/
|
|
600
821
|
deleteMany<T extends ModifierGroupDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModifierGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
822
|
+
/**
|
|
823
|
+
* Update zero or more ModifierGroups.
|
|
824
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
825
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
826
|
+
* @param {ModifierGroupUpdateManyArgs} args - Arguments to update one or more rows.
|
|
827
|
+
* @example
|
|
828
|
+
* // Update many ModifierGroups
|
|
829
|
+
* const modifierGroup = await prisma.modifierGroup.updateMany({
|
|
830
|
+
* where: {
|
|
831
|
+
* // ... provide filter here
|
|
832
|
+
* },
|
|
833
|
+
* data: {
|
|
834
|
+
* // ... provide data here
|
|
835
|
+
* }
|
|
836
|
+
* })
|
|
837
|
+
*
|
|
838
|
+
*/
|
|
601
839
|
updateMany<T extends ModifierGroupUpdateManyArgs>(args: Prisma.SelectSubset<T, ModifierGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
840
|
+
/**
|
|
841
|
+
* Update zero or more ModifierGroups and returns the data updated in the database.
|
|
842
|
+
* @param {ModifierGroupUpdateManyAndReturnArgs} args - Arguments to update many ModifierGroups.
|
|
843
|
+
* @example
|
|
844
|
+
* // Update many ModifierGroups
|
|
845
|
+
* const modifierGroup = await prisma.modifierGroup.updateManyAndReturn({
|
|
846
|
+
* where: {
|
|
847
|
+
* // ... provide filter here
|
|
848
|
+
* },
|
|
849
|
+
* data: [
|
|
850
|
+
* // ... provide data here
|
|
851
|
+
* ]
|
|
852
|
+
* })
|
|
853
|
+
*
|
|
854
|
+
* // Update zero or more ModifierGroups and only return the `id`
|
|
855
|
+
* const modifierGroupWithIdOnly = await prisma.modifierGroup.updateManyAndReturn({
|
|
856
|
+
* select: { id: true },
|
|
857
|
+
* where: {
|
|
858
|
+
* // ... provide filter here
|
|
859
|
+
* },
|
|
860
|
+
* data: [
|
|
861
|
+
* // ... provide data here
|
|
862
|
+
* ]
|
|
863
|
+
* })
|
|
864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
866
|
+
*
|
|
867
|
+
*/
|
|
602
868
|
updateManyAndReturn<T extends ModifierGroupUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModifierGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
869
|
+
/**
|
|
870
|
+
* Create or update one ModifierGroup.
|
|
871
|
+
* @param {ModifierGroupUpsertArgs} args - Arguments to update or create a ModifierGroup.
|
|
872
|
+
* @example
|
|
873
|
+
* // Update or create a ModifierGroup
|
|
874
|
+
* const modifierGroup = await prisma.modifierGroup.upsert({
|
|
875
|
+
* create: {
|
|
876
|
+
* // ... data to create a ModifierGroup
|
|
877
|
+
* },
|
|
878
|
+
* update: {
|
|
879
|
+
* // ... in case it already exists, update
|
|
880
|
+
* },
|
|
881
|
+
* where: {
|
|
882
|
+
* // ... the filter for the ModifierGroup we want to update
|
|
883
|
+
* }
|
|
884
|
+
* })
|
|
885
|
+
*/
|
|
603
886
|
upsert<T extends ModifierGroupUpsertArgs>(args: Prisma.SelectSubset<T, ModifierGroupUpsertArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
887
|
+
/**
|
|
888
|
+
* Count the number of ModifierGroups.
|
|
889
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
890
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
891
|
+
* @param {ModifierGroupCountArgs} args - Arguments to filter ModifierGroups to count.
|
|
892
|
+
* @example
|
|
893
|
+
* // Count the number of ModifierGroups
|
|
894
|
+
* const count = await prisma.modifierGroup.count({
|
|
895
|
+
* where: {
|
|
896
|
+
* // ... the filter for the ModifierGroups we want to count
|
|
897
|
+
* }
|
|
898
|
+
* })
|
|
899
|
+
**/
|
|
604
900
|
count<T extends ModifierGroupCountArgs>(args?: Prisma.Subset<T, ModifierGroupCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ModifierGroupCountAggregateOutputType> : number>;
|
|
901
|
+
/**
|
|
902
|
+
* Allows you to perform aggregations operations on a ModifierGroup.
|
|
903
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
904
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
905
|
+
* @param {ModifierGroupAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
906
|
+
* @example
|
|
907
|
+
* // Ordered by age ascending
|
|
908
|
+
* // Where email contains prisma.io
|
|
909
|
+
* // Limited to the 10 users
|
|
910
|
+
* const aggregations = await prisma.user.aggregate({
|
|
911
|
+
* _avg: {
|
|
912
|
+
* age: true,
|
|
913
|
+
* },
|
|
914
|
+
* where: {
|
|
915
|
+
* email: {
|
|
916
|
+
* contains: "prisma.io",
|
|
917
|
+
* },
|
|
918
|
+
* },
|
|
919
|
+
* orderBy: {
|
|
920
|
+
* age: "asc",
|
|
921
|
+
* },
|
|
922
|
+
* take: 10,
|
|
923
|
+
* })
|
|
924
|
+
**/
|
|
605
925
|
aggregate<T extends ModifierGroupAggregateArgs>(args: Prisma.Subset<T, ModifierGroupAggregateArgs>): Prisma.PrismaPromise<GetModifierGroupAggregateType<T>>;
|
|
926
|
+
/**
|
|
927
|
+
* Group by ModifierGroup.
|
|
928
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
929
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
930
|
+
* @param {ModifierGroupGroupByArgs} args - Group by arguments.
|
|
931
|
+
* @example
|
|
932
|
+
* // Group by city, order by createdAt, get count
|
|
933
|
+
* const result = await prisma.user.groupBy({
|
|
934
|
+
* by: ['city', 'createdAt'],
|
|
935
|
+
* orderBy: {
|
|
936
|
+
* createdAt: true
|
|
937
|
+
* },
|
|
938
|
+
* _count: {
|
|
939
|
+
* _all: true
|
|
940
|
+
* },
|
|
941
|
+
* })
|
|
942
|
+
*
|
|
943
|
+
**/
|
|
606
944
|
groupBy<T extends ModifierGroupGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
607
945
|
orderBy: ModifierGroupGroupByArgs['orderBy'];
|
|
608
946
|
} : {
|
|
@@ -621,17 +959,46 @@ export interface ModifierGroupDelegate<ExtArgs extends runtime.Types.Extensions.
|
|
|
621
959
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
622
960
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
623
961
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
962
|
+
/**
|
|
963
|
+
* Fields of the ModifierGroup model
|
|
964
|
+
*/
|
|
624
965
|
readonly fields: ModifierGroupFieldRefs;
|
|
625
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* The delegate class that acts as a "Promise-like" for ModifierGroup.
|
|
969
|
+
* Why is this prefixed with `Prisma__`?
|
|
970
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
971
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
972
|
+
*/
|
|
626
973
|
export interface Prisma__ModifierGroupClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
627
974
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
628
975
|
modifiers<T extends Prisma.ModifierGroup$modifiersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierGroup$modifiersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
629
976
|
products<T extends Prisma.ModifierGroup$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierGroup$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
630
977
|
translations<T extends Prisma.ModifierGroup$translationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierGroup$translationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
978
|
+
/**
|
|
979
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
980
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
981
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
982
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
983
|
+
*/
|
|
631
984
|
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>;
|
|
985
|
+
/**
|
|
986
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
987
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
988
|
+
* @returns A Promise for the completion of the callback.
|
|
989
|
+
*/
|
|
632
990
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
991
|
+
/**
|
|
992
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
993
|
+
* resolved value cannot be modified from the callback.
|
|
994
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
995
|
+
* @returns A Promise for the completion of the callback.
|
|
996
|
+
*/
|
|
633
997
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
634
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* Fields of the ModifierGroup model
|
|
1001
|
+
*/
|
|
635
1002
|
export interface ModifierGroupFieldRefs {
|
|
636
1003
|
readonly id: Prisma.FieldRef<"ModifierGroup", 'String'>;
|
|
637
1004
|
readonly selectMin: Prisma.FieldRef<"ModifierGroup", 'Int'>;
|
|
@@ -639,107 +1006,395 @@ export interface ModifierGroupFieldRefs {
|
|
|
639
1006
|
readonly createdAt: Prisma.FieldRef<"ModifierGroup", 'DateTime'>;
|
|
640
1007
|
readonly updatedAt: Prisma.FieldRef<"ModifierGroup", 'DateTime'>;
|
|
641
1008
|
}
|
|
1009
|
+
/**
|
|
1010
|
+
* ModifierGroup findUnique
|
|
1011
|
+
*/
|
|
642
1012
|
export type ModifierGroupFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
+
/**
|
|
1014
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1015
|
+
*/
|
|
643
1016
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Omit specific fields from the ModifierGroup
|
|
1019
|
+
*/
|
|
644
1020
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Choose, which related nodes to fetch as well
|
|
1023
|
+
*/
|
|
645
1024
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Filter, which ModifierGroup to fetch.
|
|
1027
|
+
*/
|
|
646
1028
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
647
1029
|
};
|
|
1030
|
+
/**
|
|
1031
|
+
* ModifierGroup findUniqueOrThrow
|
|
1032
|
+
*/
|
|
648
1033
|
export type ModifierGroupFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1034
|
+
/**
|
|
1035
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1036
|
+
*/
|
|
649
1037
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Omit specific fields from the ModifierGroup
|
|
1040
|
+
*/
|
|
650
1041
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1042
|
+
/**
|
|
1043
|
+
* Choose, which related nodes to fetch as well
|
|
1044
|
+
*/
|
|
651
1045
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* Filter, which ModifierGroup to fetch.
|
|
1048
|
+
*/
|
|
652
1049
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
653
1050
|
};
|
|
1051
|
+
/**
|
|
1052
|
+
* ModifierGroup findFirst
|
|
1053
|
+
*/
|
|
654
1054
|
export type ModifierGroupFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
+
/**
|
|
1056
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1057
|
+
*/
|
|
655
1058
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Omit specific fields from the ModifierGroup
|
|
1061
|
+
*/
|
|
656
1062
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Choose, which related nodes to fetch as well
|
|
1065
|
+
*/
|
|
657
1066
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* Filter, which ModifierGroup to fetch.
|
|
1069
|
+
*/
|
|
658
1070
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1071
|
+
/**
|
|
1072
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1073
|
+
*
|
|
1074
|
+
* Determine the order of ModifierGroups to fetch.
|
|
1075
|
+
*/
|
|
659
1076
|
orderBy?: Prisma.ModifierGroupOrderByWithRelationInput | Prisma.ModifierGroupOrderByWithRelationInput[];
|
|
1077
|
+
/**
|
|
1078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1079
|
+
*
|
|
1080
|
+
* Sets the position for searching for ModifierGroups.
|
|
1081
|
+
*/
|
|
660
1082
|
cursor?: Prisma.ModifierGroupWhereUniqueInput;
|
|
1083
|
+
/**
|
|
1084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1085
|
+
*
|
|
1086
|
+
* Take `±n` ModifierGroups from the position of the cursor.
|
|
1087
|
+
*/
|
|
661
1088
|
take?: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1091
|
+
*
|
|
1092
|
+
* Skip the first `n` ModifierGroups.
|
|
1093
|
+
*/
|
|
662
1094
|
skip?: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1097
|
+
*
|
|
1098
|
+
* Filter by unique combinations of ModifierGroups.
|
|
1099
|
+
*/
|
|
663
1100
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
664
1101
|
};
|
|
1102
|
+
/**
|
|
1103
|
+
* ModifierGroup findFirstOrThrow
|
|
1104
|
+
*/
|
|
665
1105
|
export type ModifierGroupFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
+
/**
|
|
1107
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1108
|
+
*/
|
|
666
1109
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* Omit specific fields from the ModifierGroup
|
|
1112
|
+
*/
|
|
667
1113
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1114
|
+
/**
|
|
1115
|
+
* Choose, which related nodes to fetch as well
|
|
1116
|
+
*/
|
|
668
1117
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Filter, which ModifierGroup to fetch.
|
|
1120
|
+
*/
|
|
669
1121
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1122
|
+
/**
|
|
1123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1124
|
+
*
|
|
1125
|
+
* Determine the order of ModifierGroups to fetch.
|
|
1126
|
+
*/
|
|
670
1127
|
orderBy?: Prisma.ModifierGroupOrderByWithRelationInput | Prisma.ModifierGroupOrderByWithRelationInput[];
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Sets the position for searching for ModifierGroups.
|
|
1132
|
+
*/
|
|
671
1133
|
cursor?: Prisma.ModifierGroupWhereUniqueInput;
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Take `±n` ModifierGroups from the position of the cursor.
|
|
1138
|
+
*/
|
|
672
1139
|
take?: number;
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Skip the first `n` ModifierGroups.
|
|
1144
|
+
*/
|
|
673
1145
|
skip?: number;
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Filter by unique combinations of ModifierGroups.
|
|
1150
|
+
*/
|
|
674
1151
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
675
1152
|
};
|
|
1153
|
+
/**
|
|
1154
|
+
* ModifierGroup findMany
|
|
1155
|
+
*/
|
|
676
1156
|
export type ModifierGroupFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1157
|
+
/**
|
|
1158
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1159
|
+
*/
|
|
677
1160
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* Omit specific fields from the ModifierGroup
|
|
1163
|
+
*/
|
|
678
1164
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
679
1168
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* Filter, which ModifierGroups to fetch.
|
|
1171
|
+
*/
|
|
680
1172
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1173
|
+
/**
|
|
1174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1175
|
+
*
|
|
1176
|
+
* Determine the order of ModifierGroups to fetch.
|
|
1177
|
+
*/
|
|
681
1178
|
orderBy?: Prisma.ModifierGroupOrderByWithRelationInput | Prisma.ModifierGroupOrderByWithRelationInput[];
|
|
1179
|
+
/**
|
|
1180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1181
|
+
*
|
|
1182
|
+
* Sets the position for listing ModifierGroups.
|
|
1183
|
+
*/
|
|
682
1184
|
cursor?: Prisma.ModifierGroupWhereUniqueInput;
|
|
1185
|
+
/**
|
|
1186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1187
|
+
*
|
|
1188
|
+
* Take `±n` ModifierGroups from the position of the cursor.
|
|
1189
|
+
*/
|
|
683
1190
|
take?: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1193
|
+
*
|
|
1194
|
+
* Skip the first `n` ModifierGroups.
|
|
1195
|
+
*/
|
|
684
1196
|
skip?: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1199
|
+
*
|
|
1200
|
+
* Filter by unique combinations of ModifierGroups.
|
|
1201
|
+
*/
|
|
685
1202
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
686
1203
|
};
|
|
1204
|
+
/**
|
|
1205
|
+
* ModifierGroup create
|
|
1206
|
+
*/
|
|
687
1207
|
export type ModifierGroupCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1208
|
+
/**
|
|
1209
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1210
|
+
*/
|
|
688
1211
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* Omit specific fields from the ModifierGroup
|
|
1214
|
+
*/
|
|
689
1215
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1216
|
+
/**
|
|
1217
|
+
* Choose, which related nodes to fetch as well
|
|
1218
|
+
*/
|
|
690
1219
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* The data needed to create a ModifierGroup.
|
|
1222
|
+
*/
|
|
691
1223
|
data?: Prisma.XOR<Prisma.ModifierGroupCreateInput, Prisma.ModifierGroupUncheckedCreateInput>;
|
|
692
1224
|
};
|
|
1225
|
+
/**
|
|
1226
|
+
* ModifierGroup createMany
|
|
1227
|
+
*/
|
|
693
1228
|
export type ModifierGroupCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
/**
|
|
1230
|
+
* The data used to create many ModifierGroups.
|
|
1231
|
+
*/
|
|
694
1232
|
data: Prisma.ModifierGroupCreateManyInput | Prisma.ModifierGroupCreateManyInput[];
|
|
695
1233
|
skipDuplicates?: boolean;
|
|
696
1234
|
};
|
|
1235
|
+
/**
|
|
1236
|
+
* ModifierGroup createManyAndReturn
|
|
1237
|
+
*/
|
|
697
1238
|
export type ModifierGroupCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1239
|
+
/**
|
|
1240
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1241
|
+
*/
|
|
698
1242
|
select?: Prisma.ModifierGroupSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* Omit specific fields from the ModifierGroup
|
|
1245
|
+
*/
|
|
699
1246
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* The data used to create many ModifierGroups.
|
|
1249
|
+
*/
|
|
700
1250
|
data: Prisma.ModifierGroupCreateManyInput | Prisma.ModifierGroupCreateManyInput[];
|
|
701
1251
|
skipDuplicates?: boolean;
|
|
702
1252
|
};
|
|
1253
|
+
/**
|
|
1254
|
+
* ModifierGroup update
|
|
1255
|
+
*/
|
|
703
1256
|
export type ModifierGroupUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1259
|
+
*/
|
|
704
1260
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Omit specific fields from the ModifierGroup
|
|
1263
|
+
*/
|
|
705
1264
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Choose, which related nodes to fetch as well
|
|
1267
|
+
*/
|
|
706
1268
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* The data needed to update a ModifierGroup.
|
|
1271
|
+
*/
|
|
707
1272
|
data: Prisma.XOR<Prisma.ModifierGroupUpdateInput, Prisma.ModifierGroupUncheckedUpdateInput>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Choose, which ModifierGroup to update.
|
|
1275
|
+
*/
|
|
708
1276
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
709
1277
|
};
|
|
1278
|
+
/**
|
|
1279
|
+
* ModifierGroup updateMany
|
|
1280
|
+
*/
|
|
710
1281
|
export type ModifierGroupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1282
|
+
/**
|
|
1283
|
+
* The data used to update ModifierGroups.
|
|
1284
|
+
*/
|
|
711
1285
|
data: Prisma.XOR<Prisma.ModifierGroupUpdateManyMutationInput, Prisma.ModifierGroupUncheckedUpdateManyInput>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Filter which ModifierGroups to update
|
|
1288
|
+
*/
|
|
712
1289
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1290
|
+
/**
|
|
1291
|
+
* Limit how many ModifierGroups to update.
|
|
1292
|
+
*/
|
|
713
1293
|
limit?: number;
|
|
714
1294
|
};
|
|
1295
|
+
/**
|
|
1296
|
+
* ModifierGroup updateManyAndReturn
|
|
1297
|
+
*/
|
|
715
1298
|
export type ModifierGroupUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1299
|
+
/**
|
|
1300
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1301
|
+
*/
|
|
716
1302
|
select?: Prisma.ModifierGroupSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Omit specific fields from the ModifierGroup
|
|
1305
|
+
*/
|
|
717
1306
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* The data used to update ModifierGroups.
|
|
1309
|
+
*/
|
|
718
1310
|
data: Prisma.XOR<Prisma.ModifierGroupUpdateManyMutationInput, Prisma.ModifierGroupUncheckedUpdateManyInput>;
|
|
1311
|
+
/**
|
|
1312
|
+
* Filter which ModifierGroups to update
|
|
1313
|
+
*/
|
|
719
1314
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1315
|
+
/**
|
|
1316
|
+
* Limit how many ModifierGroups to update.
|
|
1317
|
+
*/
|
|
720
1318
|
limit?: number;
|
|
721
1319
|
};
|
|
1320
|
+
/**
|
|
1321
|
+
* ModifierGroup upsert
|
|
1322
|
+
*/
|
|
722
1323
|
export type ModifierGroupUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1324
|
+
/**
|
|
1325
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1326
|
+
*/
|
|
723
1327
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Omit specific fields from the ModifierGroup
|
|
1330
|
+
*/
|
|
724
1331
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Choose, which related nodes to fetch as well
|
|
1334
|
+
*/
|
|
725
1335
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1336
|
+
/**
|
|
1337
|
+
* The filter to search for the ModifierGroup to update in case it exists.
|
|
1338
|
+
*/
|
|
726
1339
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
1340
|
+
/**
|
|
1341
|
+
* In case the ModifierGroup found by the `where` argument doesn't exist, create a new ModifierGroup with this data.
|
|
1342
|
+
*/
|
|
727
1343
|
create: Prisma.XOR<Prisma.ModifierGroupCreateInput, Prisma.ModifierGroupUncheckedCreateInput>;
|
|
1344
|
+
/**
|
|
1345
|
+
* In case the ModifierGroup was found with the provided `where` argument, update it with this data.
|
|
1346
|
+
*/
|
|
728
1347
|
update: Prisma.XOR<Prisma.ModifierGroupUpdateInput, Prisma.ModifierGroupUncheckedUpdateInput>;
|
|
729
1348
|
};
|
|
1349
|
+
/**
|
|
1350
|
+
* ModifierGroup delete
|
|
1351
|
+
*/
|
|
730
1352
|
export type ModifierGroupDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1353
|
+
/**
|
|
1354
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1355
|
+
*/
|
|
731
1356
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Omit specific fields from the ModifierGroup
|
|
1359
|
+
*/
|
|
732
1360
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* Choose, which related nodes to fetch as well
|
|
1363
|
+
*/
|
|
733
1364
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* Filter which ModifierGroup to delete.
|
|
1367
|
+
*/
|
|
734
1368
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
735
1369
|
};
|
|
1370
|
+
/**
|
|
1371
|
+
* ModifierGroup deleteMany
|
|
1372
|
+
*/
|
|
736
1373
|
export type ModifierGroupDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Filter which ModifierGroups to delete
|
|
1376
|
+
*/
|
|
737
1377
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1378
|
+
/**
|
|
1379
|
+
* Limit how many ModifierGroups to delete.
|
|
1380
|
+
*/
|
|
738
1381
|
limit?: number;
|
|
739
1382
|
};
|
|
1383
|
+
/**
|
|
1384
|
+
* ModifierGroup.modifiers
|
|
1385
|
+
*/
|
|
740
1386
|
export type ModifierGroup$modifiersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Select specific fields to fetch from the Modifier
|
|
1389
|
+
*/
|
|
741
1390
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* Omit specific fields from the Modifier
|
|
1393
|
+
*/
|
|
742
1394
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* Choose, which related nodes to fetch as well
|
|
1397
|
+
*/
|
|
743
1398
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
744
1399
|
where?: Prisma.ModifierWhereInput;
|
|
745
1400
|
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
@@ -748,9 +1403,21 @@ export type ModifierGroup$modifiersArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
748
1403
|
skip?: number;
|
|
749
1404
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
750
1405
|
};
|
|
1406
|
+
/**
|
|
1407
|
+
* ModifierGroup.products
|
|
1408
|
+
*/
|
|
751
1409
|
export type ModifierGroup$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1410
|
+
/**
|
|
1411
|
+
* Select specific fields to fetch from the Product
|
|
1412
|
+
*/
|
|
752
1413
|
select?: Prisma.ProductSelect<ExtArgs> | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* Omit specific fields from the Product
|
|
1416
|
+
*/
|
|
753
1417
|
omit?: Prisma.ProductOmit<ExtArgs> | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Choose, which related nodes to fetch as well
|
|
1420
|
+
*/
|
|
754
1421
|
include?: Prisma.ProductInclude<ExtArgs> | null;
|
|
755
1422
|
where?: Prisma.ProductWhereInput;
|
|
756
1423
|
orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
|
|
@@ -759,9 +1426,21 @@ export type ModifierGroup$productsArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
759
1426
|
skip?: number;
|
|
760
1427
|
distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
|
|
761
1428
|
};
|
|
1429
|
+
/**
|
|
1430
|
+
* ModifierGroup.translations
|
|
1431
|
+
*/
|
|
762
1432
|
export type ModifierGroup$translationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1433
|
+
/**
|
|
1434
|
+
* Select specific fields to fetch from the ModifierGroupTranslation
|
|
1435
|
+
*/
|
|
763
1436
|
select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
|
|
1437
|
+
/**
|
|
1438
|
+
* Omit specific fields from the ModifierGroupTranslation
|
|
1439
|
+
*/
|
|
764
1440
|
omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* Choose, which related nodes to fetch as well
|
|
1443
|
+
*/
|
|
765
1444
|
include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
|
|
766
1445
|
where?: Prisma.ModifierGroupTranslationWhereInput;
|
|
767
1446
|
orderBy?: Prisma.ModifierGroupTranslationOrderByWithRelationInput | Prisma.ModifierGroupTranslationOrderByWithRelationInput[];
|
|
@@ -770,9 +1449,21 @@ export type ModifierGroup$translationsArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
770
1449
|
skip?: number;
|
|
771
1450
|
distinct?: Prisma.ModifierGroupTranslationScalarFieldEnum | Prisma.ModifierGroupTranslationScalarFieldEnum[];
|
|
772
1451
|
};
|
|
1452
|
+
/**
|
|
1453
|
+
* ModifierGroup without action
|
|
1454
|
+
*/
|
|
773
1455
|
export type ModifierGroupDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1456
|
+
/**
|
|
1457
|
+
* Select specific fields to fetch from the ModifierGroup
|
|
1458
|
+
*/
|
|
774
1459
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1460
|
+
/**
|
|
1461
|
+
* Omit specific fields from the ModifierGroup
|
|
1462
|
+
*/
|
|
775
1463
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1464
|
+
/**
|
|
1465
|
+
* Choose, which related nodes to fetch as well
|
|
1466
|
+
*/
|
|
776
1467
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
777
1468
|
};
|
|
778
1469
|
export {};
|