@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 Modifier
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type ModifierModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierPayload>;
|
|
4
8
|
export type AggregateModifier = {
|
|
5
9
|
_count: ModifierCountAggregateOutputType | null;
|
|
@@ -71,15 +75,63 @@ export type ModifierCountAggregateInputType = {
|
|
|
71
75
|
_all?: true;
|
|
72
76
|
};
|
|
73
77
|
export type ModifierAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
78
|
+
/**
|
|
79
|
+
* Filter which Modifier to aggregate.
|
|
80
|
+
*/
|
|
74
81
|
where?: Prisma.ModifierWhereInput;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
84
|
+
*
|
|
85
|
+
* Determine the order of Modifiers to fetch.
|
|
86
|
+
*/
|
|
75
87
|
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
90
|
+
*
|
|
91
|
+
* Sets the start position
|
|
92
|
+
*/
|
|
76
93
|
cursor?: Prisma.ModifierWhereUniqueInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Take `±n` Modifiers from the position of the cursor.
|
|
98
|
+
*/
|
|
77
99
|
take?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
102
|
+
*
|
|
103
|
+
* Skip the first `n` Modifiers.
|
|
104
|
+
*/
|
|
78
105
|
skip?: number;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Count returned Modifiers
|
|
110
|
+
**/
|
|
79
111
|
_count?: true | ModifierCountAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to average
|
|
116
|
+
**/
|
|
80
117
|
_avg?: ModifierAvgAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to sum
|
|
122
|
+
**/
|
|
81
123
|
_sum?: ModifierSumAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the minimum value
|
|
128
|
+
**/
|
|
82
129
|
_min?: ModifierMinAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to find the maximum value
|
|
134
|
+
**/
|
|
83
135
|
_max?: ModifierMaxAggregateInputType;
|
|
84
136
|
};
|
|
85
137
|
export type GetModifierAggregateType<T extends ModifierAggregateArgs> = {
|
|
@@ -478,15 +530,27 @@ export type ModifierUncheckedUpdateManyWithoutModifierGroupInput = {
|
|
|
478
530
|
sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
479
531
|
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
480
532
|
};
|
|
533
|
+
/**
|
|
534
|
+
* Count Type ModifierCountOutputType
|
|
535
|
+
*/
|
|
481
536
|
export type ModifierCountOutputType = {
|
|
482
537
|
images: number;
|
|
483
538
|
};
|
|
484
539
|
export type ModifierCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
485
540
|
images?: boolean | ModifierCountOutputTypeCountImagesArgs;
|
|
486
541
|
};
|
|
542
|
+
/**
|
|
543
|
+
* ModifierCountOutputType without action
|
|
544
|
+
*/
|
|
487
545
|
export type ModifierCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
546
|
+
/**
|
|
547
|
+
* Select specific fields to fetch from the ModifierCountOutputType
|
|
548
|
+
*/
|
|
488
549
|
select?: Prisma.ModifierCountOutputTypeSelect<ExtArgs> | null;
|
|
489
550
|
};
|
|
551
|
+
/**
|
|
552
|
+
* ModifierCountOutputType without action
|
|
553
|
+
*/
|
|
490
554
|
export type ModifierCountOutputTypeCountImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
491
555
|
where?: Prisma.FileWhereInput;
|
|
492
556
|
};
|
|
@@ -566,22 +630,290 @@ export interface ModifierDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
566
630
|
name: 'Modifier';
|
|
567
631
|
};
|
|
568
632
|
};
|
|
633
|
+
/**
|
|
634
|
+
* Find zero or one Modifier that matches the filter.
|
|
635
|
+
* @param {ModifierFindUniqueArgs} args - Arguments to find a Modifier
|
|
636
|
+
* @example
|
|
637
|
+
* // Get one Modifier
|
|
638
|
+
* const modifier = await prisma.modifier.findUnique({
|
|
639
|
+
* where: {
|
|
640
|
+
* // ... provide filter here
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*/
|
|
569
644
|
findUnique<T extends ModifierFindUniqueArgs>(args: Prisma.SelectSubset<T, ModifierFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
645
|
+
/**
|
|
646
|
+
* Find one Modifier that matches the filter or throw an error with `error.code='P2025'`
|
|
647
|
+
* if no matches were found.
|
|
648
|
+
* @param {ModifierFindUniqueOrThrowArgs} args - Arguments to find a Modifier
|
|
649
|
+
* @example
|
|
650
|
+
* // Get one Modifier
|
|
651
|
+
* const modifier = await prisma.modifier.findUniqueOrThrow({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* }
|
|
655
|
+
* })
|
|
656
|
+
*/
|
|
570
657
|
findUniqueOrThrow<T extends ModifierFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModifierFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
658
|
+
/**
|
|
659
|
+
* Find the first Modifier that matches the filter.
|
|
660
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
661
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
662
|
+
* @param {ModifierFindFirstArgs} args - Arguments to find a Modifier
|
|
663
|
+
* @example
|
|
664
|
+
* // Get one Modifier
|
|
665
|
+
* const modifier = await prisma.modifier.findFirst({
|
|
666
|
+
* where: {
|
|
667
|
+
* // ... provide filter here
|
|
668
|
+
* }
|
|
669
|
+
* })
|
|
670
|
+
*/
|
|
571
671
|
findFirst<T extends ModifierFindFirstArgs>(args?: Prisma.SelectSubset<T, ModifierFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
672
|
+
/**
|
|
673
|
+
* Find the first Modifier that matches the filter or
|
|
674
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
675
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
676
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
677
|
+
* @param {ModifierFindFirstOrThrowArgs} args - Arguments to find a Modifier
|
|
678
|
+
* @example
|
|
679
|
+
* // Get one Modifier
|
|
680
|
+
* const modifier = await prisma.modifier.findFirstOrThrow({
|
|
681
|
+
* where: {
|
|
682
|
+
* // ... provide filter here
|
|
683
|
+
* }
|
|
684
|
+
* })
|
|
685
|
+
*/
|
|
572
686
|
findFirstOrThrow<T extends ModifierFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModifierFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
687
|
+
/**
|
|
688
|
+
* Find zero or more Modifiers that matches the filter.
|
|
689
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
690
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
691
|
+
* @param {ModifierFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
692
|
+
* @example
|
|
693
|
+
* // Get all Modifiers
|
|
694
|
+
* const modifiers = await prisma.modifier.findMany()
|
|
695
|
+
*
|
|
696
|
+
* // Get first 10 Modifiers
|
|
697
|
+
* const modifiers = await prisma.modifier.findMany({ take: 10 })
|
|
698
|
+
*
|
|
699
|
+
* // Only select the `id`
|
|
700
|
+
* const modifierWithIdOnly = await prisma.modifier.findMany({ select: { id: true } })
|
|
701
|
+
*
|
|
702
|
+
*/
|
|
573
703
|
findMany<T extends ModifierFindManyArgs>(args?: Prisma.SelectSubset<T, ModifierFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
704
|
+
/**
|
|
705
|
+
* Create a Modifier.
|
|
706
|
+
* @param {ModifierCreateArgs} args - Arguments to create a Modifier.
|
|
707
|
+
* @example
|
|
708
|
+
* // Create one Modifier
|
|
709
|
+
* const Modifier = await prisma.modifier.create({
|
|
710
|
+
* data: {
|
|
711
|
+
* // ... data to create a Modifier
|
|
712
|
+
* }
|
|
713
|
+
* })
|
|
714
|
+
*
|
|
715
|
+
*/
|
|
574
716
|
create<T extends ModifierCreateArgs>(args: Prisma.SelectSubset<T, ModifierCreateArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
717
|
+
/**
|
|
718
|
+
* Create many Modifiers.
|
|
719
|
+
* @param {ModifierCreateManyArgs} args - Arguments to create many Modifiers.
|
|
720
|
+
* @example
|
|
721
|
+
* // Create many Modifiers
|
|
722
|
+
* const modifier = await prisma.modifier.createMany({
|
|
723
|
+
* data: [
|
|
724
|
+
* // ... provide data here
|
|
725
|
+
* ]
|
|
726
|
+
* })
|
|
727
|
+
*
|
|
728
|
+
*/
|
|
575
729
|
createMany<T extends ModifierCreateManyArgs>(args?: Prisma.SelectSubset<T, ModifierCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
730
|
+
/**
|
|
731
|
+
* Create many Modifiers and returns the data saved in the database.
|
|
732
|
+
* @param {ModifierCreateManyAndReturnArgs} args - Arguments to create many Modifiers.
|
|
733
|
+
* @example
|
|
734
|
+
* // Create many Modifiers
|
|
735
|
+
* const modifier = await prisma.modifier.createManyAndReturn({
|
|
736
|
+
* data: [
|
|
737
|
+
* // ... provide data here
|
|
738
|
+
* ]
|
|
739
|
+
* })
|
|
740
|
+
*
|
|
741
|
+
* // Create many Modifiers and only return the `id`
|
|
742
|
+
* const modifierWithIdOnly = await prisma.modifier.createManyAndReturn({
|
|
743
|
+
* select: { id: true },
|
|
744
|
+
* data: [
|
|
745
|
+
* // ... provide data here
|
|
746
|
+
* ]
|
|
747
|
+
* })
|
|
748
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
749
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
750
|
+
*
|
|
751
|
+
*/
|
|
576
752
|
createManyAndReturn<T extends ModifierCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModifierCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
753
|
+
/**
|
|
754
|
+
* Delete a Modifier.
|
|
755
|
+
* @param {ModifierDeleteArgs} args - Arguments to delete one Modifier.
|
|
756
|
+
* @example
|
|
757
|
+
* // Delete one Modifier
|
|
758
|
+
* const Modifier = await prisma.modifier.delete({
|
|
759
|
+
* where: {
|
|
760
|
+
* // ... filter to delete one Modifier
|
|
761
|
+
* }
|
|
762
|
+
* })
|
|
763
|
+
*
|
|
764
|
+
*/
|
|
577
765
|
delete<T extends ModifierDeleteArgs>(args: Prisma.SelectSubset<T, ModifierDeleteArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
766
|
+
/**
|
|
767
|
+
* Update one Modifier.
|
|
768
|
+
* @param {ModifierUpdateArgs} args - Arguments to update one Modifier.
|
|
769
|
+
* @example
|
|
770
|
+
* // Update one Modifier
|
|
771
|
+
* const modifier = await prisma.modifier.update({
|
|
772
|
+
* where: {
|
|
773
|
+
* // ... provide filter here
|
|
774
|
+
* },
|
|
775
|
+
* data: {
|
|
776
|
+
* // ... provide data here
|
|
777
|
+
* }
|
|
778
|
+
* })
|
|
779
|
+
*
|
|
780
|
+
*/
|
|
578
781
|
update<T extends ModifierUpdateArgs>(args: Prisma.SelectSubset<T, ModifierUpdateArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
782
|
+
/**
|
|
783
|
+
* Delete zero or more Modifiers.
|
|
784
|
+
* @param {ModifierDeleteManyArgs} args - Arguments to filter Modifiers to delete.
|
|
785
|
+
* @example
|
|
786
|
+
* // Delete a few Modifiers
|
|
787
|
+
* const { count } = await prisma.modifier.deleteMany({
|
|
788
|
+
* where: {
|
|
789
|
+
* // ... provide filter here
|
|
790
|
+
* }
|
|
791
|
+
* })
|
|
792
|
+
*
|
|
793
|
+
*/
|
|
579
794
|
deleteMany<T extends ModifierDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModifierDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
795
|
+
/**
|
|
796
|
+
* Update zero or more Modifiers.
|
|
797
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
798
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
799
|
+
* @param {ModifierUpdateManyArgs} args - Arguments to update one or more rows.
|
|
800
|
+
* @example
|
|
801
|
+
* // Update many Modifiers
|
|
802
|
+
* const modifier = await prisma.modifier.updateMany({
|
|
803
|
+
* where: {
|
|
804
|
+
* // ... provide filter here
|
|
805
|
+
* },
|
|
806
|
+
* data: {
|
|
807
|
+
* // ... provide data here
|
|
808
|
+
* }
|
|
809
|
+
* })
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
580
812
|
updateMany<T extends ModifierUpdateManyArgs>(args: Prisma.SelectSubset<T, ModifierUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
813
|
+
/**
|
|
814
|
+
* Update zero or more Modifiers and returns the data updated in the database.
|
|
815
|
+
* @param {ModifierUpdateManyAndReturnArgs} args - Arguments to update many Modifiers.
|
|
816
|
+
* @example
|
|
817
|
+
* // Update many Modifiers
|
|
818
|
+
* const modifier = await prisma.modifier.updateManyAndReturn({
|
|
819
|
+
* where: {
|
|
820
|
+
* // ... provide filter here
|
|
821
|
+
* },
|
|
822
|
+
* data: [
|
|
823
|
+
* // ... provide data here
|
|
824
|
+
* ]
|
|
825
|
+
* })
|
|
826
|
+
*
|
|
827
|
+
* // Update zero or more Modifiers and only return the `id`
|
|
828
|
+
* const modifierWithIdOnly = await prisma.modifier.updateManyAndReturn({
|
|
829
|
+
* select: { id: true },
|
|
830
|
+
* where: {
|
|
831
|
+
* // ... provide filter here
|
|
832
|
+
* },
|
|
833
|
+
* data: [
|
|
834
|
+
* // ... provide data here
|
|
835
|
+
* ]
|
|
836
|
+
* })
|
|
837
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
838
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
839
|
+
*
|
|
840
|
+
*/
|
|
581
841
|
updateManyAndReturn<T extends ModifierUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModifierUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
842
|
+
/**
|
|
843
|
+
* Create or update one Modifier.
|
|
844
|
+
* @param {ModifierUpsertArgs} args - Arguments to update or create a Modifier.
|
|
845
|
+
* @example
|
|
846
|
+
* // Update or create a Modifier
|
|
847
|
+
* const modifier = await prisma.modifier.upsert({
|
|
848
|
+
* create: {
|
|
849
|
+
* // ... data to create a Modifier
|
|
850
|
+
* },
|
|
851
|
+
* update: {
|
|
852
|
+
* // ... in case it already exists, update
|
|
853
|
+
* },
|
|
854
|
+
* where: {
|
|
855
|
+
* // ... the filter for the Modifier we want to update
|
|
856
|
+
* }
|
|
857
|
+
* })
|
|
858
|
+
*/
|
|
582
859
|
upsert<T extends ModifierUpsertArgs>(args: Prisma.SelectSubset<T, ModifierUpsertArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
860
|
+
/**
|
|
861
|
+
* Count the number of Modifiers.
|
|
862
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
863
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
864
|
+
* @param {ModifierCountArgs} args - Arguments to filter Modifiers to count.
|
|
865
|
+
* @example
|
|
866
|
+
* // Count the number of Modifiers
|
|
867
|
+
* const count = await prisma.modifier.count({
|
|
868
|
+
* where: {
|
|
869
|
+
* // ... the filter for the Modifiers we want to count
|
|
870
|
+
* }
|
|
871
|
+
* })
|
|
872
|
+
**/
|
|
583
873
|
count<T extends ModifierCountArgs>(args?: Prisma.Subset<T, ModifierCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ModifierCountAggregateOutputType> : number>;
|
|
874
|
+
/**
|
|
875
|
+
* Allows you to perform aggregations operations on a Modifier.
|
|
876
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
877
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
878
|
+
* @param {ModifierAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
879
|
+
* @example
|
|
880
|
+
* // Ordered by age ascending
|
|
881
|
+
* // Where email contains prisma.io
|
|
882
|
+
* // Limited to the 10 users
|
|
883
|
+
* const aggregations = await prisma.user.aggregate({
|
|
884
|
+
* _avg: {
|
|
885
|
+
* age: true,
|
|
886
|
+
* },
|
|
887
|
+
* where: {
|
|
888
|
+
* email: {
|
|
889
|
+
* contains: "prisma.io",
|
|
890
|
+
* },
|
|
891
|
+
* },
|
|
892
|
+
* orderBy: {
|
|
893
|
+
* age: "asc",
|
|
894
|
+
* },
|
|
895
|
+
* take: 10,
|
|
896
|
+
* })
|
|
897
|
+
**/
|
|
584
898
|
aggregate<T extends ModifierAggregateArgs>(args: Prisma.Subset<T, ModifierAggregateArgs>): Prisma.PrismaPromise<GetModifierAggregateType<T>>;
|
|
899
|
+
/**
|
|
900
|
+
* Group by Modifier.
|
|
901
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
902
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
903
|
+
* @param {ModifierGroupByArgs} args - Group by arguments.
|
|
904
|
+
* @example
|
|
905
|
+
* // Group by city, order by createdAt, get count
|
|
906
|
+
* const result = await prisma.user.groupBy({
|
|
907
|
+
* by: ['city', 'createdAt'],
|
|
908
|
+
* orderBy: {
|
|
909
|
+
* createdAt: true
|
|
910
|
+
* },
|
|
911
|
+
* _count: {
|
|
912
|
+
* _all: true
|
|
913
|
+
* },
|
|
914
|
+
* })
|
|
915
|
+
*
|
|
916
|
+
**/
|
|
585
917
|
groupBy<T extends ModifierGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
586
918
|
orderBy: ModifierGroupByArgs['orderBy'];
|
|
587
919
|
} : {
|
|
@@ -600,16 +932,45 @@ export interface ModifierDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
600
932
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
601
933
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
602
934
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
935
|
+
/**
|
|
936
|
+
* Fields of the Modifier model
|
|
937
|
+
*/
|
|
603
938
|
readonly fields: ModifierFieldRefs;
|
|
604
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* The delegate class that acts as a "Promise-like" for Modifier.
|
|
942
|
+
* Why is this prefixed with `Prisma__`?
|
|
943
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
944
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
945
|
+
*/
|
|
605
946
|
export interface Prisma__ModifierClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
606
947
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
607
948
|
modifierGroup<T extends Prisma.ModifierGroupDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierGroupDefaultArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
608
949
|
images<T extends Prisma.Modifier$imagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$imagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
950
|
+
/**
|
|
951
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
952
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
953
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
954
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
955
|
+
*/
|
|
609
956
|
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>;
|
|
957
|
+
/**
|
|
958
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
959
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
960
|
+
* @returns A Promise for the completion of the callback.
|
|
961
|
+
*/
|
|
610
962
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
963
|
+
/**
|
|
964
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
965
|
+
* resolved value cannot be modified from the callback.
|
|
966
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
967
|
+
* @returns A Promise for the completion of the callback.
|
|
968
|
+
*/
|
|
611
969
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
612
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* Fields of the Modifier model
|
|
973
|
+
*/
|
|
613
974
|
export interface ModifierFieldRefs {
|
|
614
975
|
readonly id: Prisma.FieldRef<"Modifier", 'String'>;
|
|
615
976
|
readonly title: Prisma.FieldRef<"Modifier", 'String'>;
|
|
@@ -618,109 +979,403 @@ export interface ModifierFieldRefs {
|
|
|
618
979
|
readonly price: Prisma.FieldRef<"Modifier", 'Float'>;
|
|
619
980
|
readonly modifierGroupId: Prisma.FieldRef<"Modifier", 'String'>;
|
|
620
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* Modifier findUnique
|
|
984
|
+
*/
|
|
621
985
|
export type ModifierFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
986
|
+
/**
|
|
987
|
+
* Select specific fields to fetch from the Modifier
|
|
988
|
+
*/
|
|
622
989
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
990
|
+
/**
|
|
991
|
+
* Omit specific fields from the Modifier
|
|
992
|
+
*/
|
|
623
993
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
994
|
+
/**
|
|
995
|
+
* Choose, which related nodes to fetch as well
|
|
996
|
+
*/
|
|
624
997
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
998
|
+
/**
|
|
999
|
+
* Filter, which Modifier to fetch.
|
|
1000
|
+
*/
|
|
625
1001
|
where: Prisma.ModifierWhereUniqueInput;
|
|
626
1002
|
};
|
|
1003
|
+
/**
|
|
1004
|
+
* Modifier findUniqueOrThrow
|
|
1005
|
+
*/
|
|
627
1006
|
export type ModifierFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
+
/**
|
|
1008
|
+
* Select specific fields to fetch from the Modifier
|
|
1009
|
+
*/
|
|
628
1010
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1011
|
+
/**
|
|
1012
|
+
* Omit specific fields from the Modifier
|
|
1013
|
+
*/
|
|
629
1014
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1015
|
+
/**
|
|
1016
|
+
* Choose, which related nodes to fetch as well
|
|
1017
|
+
*/
|
|
630
1018
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* Filter, which Modifier to fetch.
|
|
1021
|
+
*/
|
|
631
1022
|
where: Prisma.ModifierWhereUniqueInput;
|
|
632
1023
|
};
|
|
1024
|
+
/**
|
|
1025
|
+
* Modifier findFirst
|
|
1026
|
+
*/
|
|
633
1027
|
export type ModifierFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1028
|
+
/**
|
|
1029
|
+
* Select specific fields to fetch from the Modifier
|
|
1030
|
+
*/
|
|
634
1031
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* Omit specific fields from the Modifier
|
|
1034
|
+
*/
|
|
635
1035
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* Choose, which related nodes to fetch as well
|
|
1038
|
+
*/
|
|
636
1039
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1040
|
+
/**
|
|
1041
|
+
* Filter, which Modifier to fetch.
|
|
1042
|
+
*/
|
|
637
1043
|
where?: Prisma.ModifierWhereInput;
|
|
1044
|
+
/**
|
|
1045
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1046
|
+
*
|
|
1047
|
+
* Determine the order of Modifiers to fetch.
|
|
1048
|
+
*/
|
|
638
1049
|
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
1050
|
+
/**
|
|
1051
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1052
|
+
*
|
|
1053
|
+
* Sets the position for searching for Modifiers.
|
|
1054
|
+
*/
|
|
639
1055
|
cursor?: Prisma.ModifierWhereUniqueInput;
|
|
1056
|
+
/**
|
|
1057
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1058
|
+
*
|
|
1059
|
+
* Take `±n` Modifiers from the position of the cursor.
|
|
1060
|
+
*/
|
|
640
1061
|
take?: number;
|
|
1062
|
+
/**
|
|
1063
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1064
|
+
*
|
|
1065
|
+
* Skip the first `n` Modifiers.
|
|
1066
|
+
*/
|
|
641
1067
|
skip?: number;
|
|
1068
|
+
/**
|
|
1069
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1070
|
+
*
|
|
1071
|
+
* Filter by unique combinations of Modifiers.
|
|
1072
|
+
*/
|
|
642
1073
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
643
1074
|
};
|
|
1075
|
+
/**
|
|
1076
|
+
* Modifier findFirstOrThrow
|
|
1077
|
+
*/
|
|
644
1078
|
export type ModifierFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1079
|
+
/**
|
|
1080
|
+
* Select specific fields to fetch from the Modifier
|
|
1081
|
+
*/
|
|
645
1082
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* Omit specific fields from the Modifier
|
|
1085
|
+
*/
|
|
646
1086
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Choose, which related nodes to fetch as well
|
|
1089
|
+
*/
|
|
647
1090
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* Filter, which Modifier to fetch.
|
|
1093
|
+
*/
|
|
648
1094
|
where?: Prisma.ModifierWhereInput;
|
|
1095
|
+
/**
|
|
1096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1097
|
+
*
|
|
1098
|
+
* Determine the order of Modifiers to fetch.
|
|
1099
|
+
*/
|
|
649
1100
|
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
1101
|
+
/**
|
|
1102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1103
|
+
*
|
|
1104
|
+
* Sets the position for searching for Modifiers.
|
|
1105
|
+
*/
|
|
650
1106
|
cursor?: Prisma.ModifierWhereUniqueInput;
|
|
1107
|
+
/**
|
|
1108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1109
|
+
*
|
|
1110
|
+
* Take `±n` Modifiers from the position of the cursor.
|
|
1111
|
+
*/
|
|
651
1112
|
take?: number;
|
|
1113
|
+
/**
|
|
1114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1115
|
+
*
|
|
1116
|
+
* Skip the first `n` Modifiers.
|
|
1117
|
+
*/
|
|
652
1118
|
skip?: number;
|
|
1119
|
+
/**
|
|
1120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1121
|
+
*
|
|
1122
|
+
* Filter by unique combinations of Modifiers.
|
|
1123
|
+
*/
|
|
653
1124
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
654
1125
|
};
|
|
1126
|
+
/**
|
|
1127
|
+
* Modifier findMany
|
|
1128
|
+
*/
|
|
655
1129
|
export type ModifierFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1130
|
+
/**
|
|
1131
|
+
* Select specific fields to fetch from the Modifier
|
|
1132
|
+
*/
|
|
656
1133
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1134
|
+
/**
|
|
1135
|
+
* Omit specific fields from the Modifier
|
|
1136
|
+
*/
|
|
657
1137
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1138
|
+
/**
|
|
1139
|
+
* Choose, which related nodes to fetch as well
|
|
1140
|
+
*/
|
|
658
1141
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1142
|
+
/**
|
|
1143
|
+
* Filter, which Modifiers to fetch.
|
|
1144
|
+
*/
|
|
659
1145
|
where?: Prisma.ModifierWhereInput;
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Determine the order of Modifiers to fetch.
|
|
1150
|
+
*/
|
|
660
1151
|
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Sets the position for listing Modifiers.
|
|
1156
|
+
*/
|
|
661
1157
|
cursor?: Prisma.ModifierWhereUniqueInput;
|
|
1158
|
+
/**
|
|
1159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1160
|
+
*
|
|
1161
|
+
* Take `±n` Modifiers from the position of the cursor.
|
|
1162
|
+
*/
|
|
662
1163
|
take?: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1166
|
+
*
|
|
1167
|
+
* Skip the first `n` Modifiers.
|
|
1168
|
+
*/
|
|
663
1169
|
skip?: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1172
|
+
*
|
|
1173
|
+
* Filter by unique combinations of Modifiers.
|
|
1174
|
+
*/
|
|
664
1175
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
665
1176
|
};
|
|
1177
|
+
/**
|
|
1178
|
+
* Modifier create
|
|
1179
|
+
*/
|
|
666
1180
|
export type ModifierCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
+
/**
|
|
1182
|
+
* Select specific fields to fetch from the Modifier
|
|
1183
|
+
*/
|
|
667
1184
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Omit specific fields from the Modifier
|
|
1187
|
+
*/
|
|
668
1188
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1189
|
+
/**
|
|
1190
|
+
* Choose, which related nodes to fetch as well
|
|
1191
|
+
*/
|
|
669
1192
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* The data needed to create a Modifier.
|
|
1195
|
+
*/
|
|
670
1196
|
data: Prisma.XOR<Prisma.ModifierCreateInput, Prisma.ModifierUncheckedCreateInput>;
|
|
671
1197
|
};
|
|
1198
|
+
/**
|
|
1199
|
+
* Modifier createMany
|
|
1200
|
+
*/
|
|
672
1201
|
export type ModifierCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1202
|
+
/**
|
|
1203
|
+
* The data used to create many Modifiers.
|
|
1204
|
+
*/
|
|
673
1205
|
data: Prisma.ModifierCreateManyInput | Prisma.ModifierCreateManyInput[];
|
|
674
1206
|
skipDuplicates?: boolean;
|
|
675
1207
|
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Modifier createManyAndReturn
|
|
1210
|
+
*/
|
|
676
1211
|
export type ModifierCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1212
|
+
/**
|
|
1213
|
+
* Select specific fields to fetch from the Modifier
|
|
1214
|
+
*/
|
|
677
1215
|
select?: Prisma.ModifierSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1216
|
+
/**
|
|
1217
|
+
* Omit specific fields from the Modifier
|
|
1218
|
+
*/
|
|
678
1219
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* The data used to create many Modifiers.
|
|
1222
|
+
*/
|
|
679
1223
|
data: Prisma.ModifierCreateManyInput | Prisma.ModifierCreateManyInput[];
|
|
680
1224
|
skipDuplicates?: boolean;
|
|
1225
|
+
/**
|
|
1226
|
+
* Choose, which related nodes to fetch as well
|
|
1227
|
+
*/
|
|
681
1228
|
include?: Prisma.ModifierIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
682
1229
|
};
|
|
1230
|
+
/**
|
|
1231
|
+
* Modifier update
|
|
1232
|
+
*/
|
|
683
1233
|
export type ModifierUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1234
|
+
/**
|
|
1235
|
+
* Select specific fields to fetch from the Modifier
|
|
1236
|
+
*/
|
|
684
1237
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1238
|
+
/**
|
|
1239
|
+
* Omit specific fields from the Modifier
|
|
1240
|
+
*/
|
|
685
1241
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* Choose, which related nodes to fetch as well
|
|
1244
|
+
*/
|
|
686
1245
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1246
|
+
/**
|
|
1247
|
+
* The data needed to update a Modifier.
|
|
1248
|
+
*/
|
|
687
1249
|
data: Prisma.XOR<Prisma.ModifierUpdateInput, Prisma.ModifierUncheckedUpdateInput>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Choose, which Modifier to update.
|
|
1252
|
+
*/
|
|
688
1253
|
where: Prisma.ModifierWhereUniqueInput;
|
|
689
1254
|
};
|
|
1255
|
+
/**
|
|
1256
|
+
* Modifier updateMany
|
|
1257
|
+
*/
|
|
690
1258
|
export type ModifierUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1259
|
+
/**
|
|
1260
|
+
* The data used to update Modifiers.
|
|
1261
|
+
*/
|
|
691
1262
|
data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyInput>;
|
|
1263
|
+
/**
|
|
1264
|
+
* Filter which Modifiers to update
|
|
1265
|
+
*/
|
|
692
1266
|
where?: Prisma.ModifierWhereInput;
|
|
1267
|
+
/**
|
|
1268
|
+
* Limit how many Modifiers to update.
|
|
1269
|
+
*/
|
|
693
1270
|
limit?: number;
|
|
694
1271
|
};
|
|
1272
|
+
/**
|
|
1273
|
+
* Modifier updateManyAndReturn
|
|
1274
|
+
*/
|
|
695
1275
|
export type ModifierUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1276
|
+
/**
|
|
1277
|
+
* Select specific fields to fetch from the Modifier
|
|
1278
|
+
*/
|
|
696
1279
|
select?: Prisma.ModifierSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1280
|
+
/**
|
|
1281
|
+
* Omit specific fields from the Modifier
|
|
1282
|
+
*/
|
|
697
1283
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1284
|
+
/**
|
|
1285
|
+
* The data used to update Modifiers.
|
|
1286
|
+
*/
|
|
698
1287
|
data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyInput>;
|
|
1288
|
+
/**
|
|
1289
|
+
* Filter which Modifiers to update
|
|
1290
|
+
*/
|
|
699
1291
|
where?: Prisma.ModifierWhereInput;
|
|
1292
|
+
/**
|
|
1293
|
+
* Limit how many Modifiers to update.
|
|
1294
|
+
*/
|
|
700
1295
|
limit?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* Choose, which related nodes to fetch as well
|
|
1298
|
+
*/
|
|
701
1299
|
include?: Prisma.ModifierIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
702
1300
|
};
|
|
1301
|
+
/**
|
|
1302
|
+
* Modifier upsert
|
|
1303
|
+
*/
|
|
703
1304
|
export type ModifierUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1305
|
+
/**
|
|
1306
|
+
* Select specific fields to fetch from the Modifier
|
|
1307
|
+
*/
|
|
704
1308
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Omit specific fields from the Modifier
|
|
1311
|
+
*/
|
|
705
1312
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1313
|
+
/**
|
|
1314
|
+
* Choose, which related nodes to fetch as well
|
|
1315
|
+
*/
|
|
706
1316
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1317
|
+
/**
|
|
1318
|
+
* The filter to search for the Modifier to update in case it exists.
|
|
1319
|
+
*/
|
|
707
1320
|
where: Prisma.ModifierWhereUniqueInput;
|
|
1321
|
+
/**
|
|
1322
|
+
* In case the Modifier found by the `where` argument doesn't exist, create a new Modifier with this data.
|
|
1323
|
+
*/
|
|
708
1324
|
create: Prisma.XOR<Prisma.ModifierCreateInput, Prisma.ModifierUncheckedCreateInput>;
|
|
1325
|
+
/**
|
|
1326
|
+
* In case the Modifier was found with the provided `where` argument, update it with this data.
|
|
1327
|
+
*/
|
|
709
1328
|
update: Prisma.XOR<Prisma.ModifierUpdateInput, Prisma.ModifierUncheckedUpdateInput>;
|
|
710
1329
|
};
|
|
1330
|
+
/**
|
|
1331
|
+
* Modifier delete
|
|
1332
|
+
*/
|
|
711
1333
|
export type ModifierDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1334
|
+
/**
|
|
1335
|
+
* Select specific fields to fetch from the Modifier
|
|
1336
|
+
*/
|
|
712
1337
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* Omit specific fields from the Modifier
|
|
1340
|
+
*/
|
|
713
1341
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1342
|
+
/**
|
|
1343
|
+
* Choose, which related nodes to fetch as well
|
|
1344
|
+
*/
|
|
714
1345
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* Filter which Modifier to delete.
|
|
1348
|
+
*/
|
|
715
1349
|
where: Prisma.ModifierWhereUniqueInput;
|
|
716
1350
|
};
|
|
1351
|
+
/**
|
|
1352
|
+
* Modifier deleteMany
|
|
1353
|
+
*/
|
|
717
1354
|
export type ModifierDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Filter which Modifiers to delete
|
|
1357
|
+
*/
|
|
718
1358
|
where?: Prisma.ModifierWhereInput;
|
|
1359
|
+
/**
|
|
1360
|
+
* Limit how many Modifiers to delete.
|
|
1361
|
+
*/
|
|
719
1362
|
limit?: number;
|
|
720
1363
|
};
|
|
1364
|
+
/**
|
|
1365
|
+
* Modifier.images
|
|
1366
|
+
*/
|
|
721
1367
|
export type Modifier$imagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1368
|
+
/**
|
|
1369
|
+
* Select specific fields to fetch from the File
|
|
1370
|
+
*/
|
|
722
1371
|
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
1372
|
+
/**
|
|
1373
|
+
* Omit specific fields from the File
|
|
1374
|
+
*/
|
|
723
1375
|
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
1376
|
+
/**
|
|
1377
|
+
* Choose, which related nodes to fetch as well
|
|
1378
|
+
*/
|
|
724
1379
|
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
725
1380
|
where?: Prisma.FileWhereInput;
|
|
726
1381
|
orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
|
|
@@ -729,9 +1384,21 @@ export type Modifier$imagesArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
729
1384
|
skip?: number;
|
|
730
1385
|
distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
|
|
731
1386
|
};
|
|
1387
|
+
/**
|
|
1388
|
+
* Modifier without action
|
|
1389
|
+
*/
|
|
732
1390
|
export type ModifierDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1391
|
+
/**
|
|
1392
|
+
* Select specific fields to fetch from the Modifier
|
|
1393
|
+
*/
|
|
733
1394
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* Omit specific fields from the Modifier
|
|
1397
|
+
*/
|
|
734
1398
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1399
|
+
/**
|
|
1400
|
+
* Choose, which related nodes to fetch as well
|
|
1401
|
+
*/
|
|
735
1402
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
736
1403
|
};
|
|
737
1404
|
export {};
|