@shophost/rest-api 2.0.30 → 2.0.32
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 +18 -13
- package/scripts/minify.mjs +123 -0
- package/src/app.js +1 -53
- package/src/core/auth/auth.schema.js +1 -41
- package/src/core/auth/auth.util.js +1 -44
- package/src/core/auth/better-auth.lib.js +1 -100
- package/src/core/auth/generate-password-hash.util.d.ts +0 -3
- package/src/core/auth/generate-password-hash.util.js +1 -30
- package/src/core/auth/headers.schema.js +1 -22
- package/src/core/auth/user.schema.js +1 -30
- package/src/core/db/__generated__/client/browser.d.ts +0 -128
- package/src/core/db/__generated__/client/browser.js +1 -18
- package/src/core/db/__generated__/client/client.d.ts +0 -143
- package/src/core/db/__generated__/client/client.js +1 -35
- package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
- package/src/core/db/__generated__/client/enums.js +1 -200
- package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
- package/src/core/db/__generated__/client/internal/class.js +1 -55
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
- package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Account.js +1 -2
- package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
- package/src/core/db/__generated__/client/models/Address.js +1 -2
- package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
- package/src/core/db/__generated__/client/models/Campaign.js +1 -2
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
- package/src/core/db/__generated__/client/models/File.d.ts +0 -752
- package/src/core/db/__generated__/client/models/File.js +1 -2
- package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Invitation.js +1 -2
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
- package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
- package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Member.js +1 -2
- package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
- package/src/core/db/__generated__/client/models/Modifier.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
- package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
- package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
- package/src/core/db/__generated__/client/models/Order.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
- package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
- package/src/core/db/__generated__/client/models/Organization.js +1 -2
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
- package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
- package/src/core/db/__generated__/client/models/Payment.js +1 -2
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
- package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
- package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
- package/src/core/db/__generated__/client/models/Product.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
- package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
- package/src/core/db/__generated__/client/models/Reservation.js +1 -2
- package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Session.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
- package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
- package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
- package/src/core/db/__generated__/client/models/User.d.ts +0 -736
- package/src/core/db/__generated__/client/models/User.js +1 -2
- package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
- package/src/core/db/__generated__/client/models/Verification.js +1 -2
- package/src/core/db/__generated__/client/models.js +1 -2
- package/src/core/db/index.js +1 -2
- package/src/core/exceptions/http-exception.js +1 -9
- package/src/core/hono/hono.js +1 -123
- package/src/core/lib/prisma.d.ts +9 -1
- package/src/core/lib/prisma.js +1 -11
- package/src/core/logging/pino.js +1 -5
- package/src/core/notifications/email.service.d.ts +0 -15
- package/src/core/notifications/email.service.js +1 -116
- package/src/core/openapi/openapi.lib.js +1 -26
- package/src/core/types/google-maps.types.js +1 -2
- package/src/core/utils/currency.util.js +1 -11
- package/src/core/utils/env.util.js +1 -8
- package/src/core/utils/object.util.d.ts +0 -10
- package/src/core/utils/object.util.js +1 -39
- package/src/core/utils/translations.util.js +0 -2
- package/src/core/utils/zod.util.d.ts +0 -12
- package/src/core/utils/zod.util.js +1 -85
- package/src/db.js +1 -3
- package/src/features/access/access.handler.js +1 -91
- package/src/features/access/access.route.js +1 -220
- package/src/features/access/access.schema.js +1 -108
- package/src/features/access/access.service.js +1 -294
- package/src/features/cart/cart.handler.js +1 -17
- package/src/features/cart/cart.route.js +1 -32
- package/src/features/cart/cart.schema.js +1 -39
- package/src/features/cart/cart.service.d.ts +0 -7
- package/src/features/cart/cart.service.js +1 -97
- package/src/features/cart/cart.util.js +1 -76
- package/src/features/file/file.handler.js +1 -23
- package/src/features/file/file.route.js +1 -34
- package/src/features/file/file.schema.js +1 -77
- package/src/features/file/file.service.d.ts +0 -6
- package/src/features/file/file.service.js +1 -66
- package/src/features/health/health.handler.js +1 -10
- package/src/features/health/health.route.js +1 -25
- package/src/features/index.js +1 -16
- package/src/features/location/location.handler.js +1 -25
- package/src/features/location/location.route.js +1 -56
- package/src/features/location/location.schema.js +1 -50
- package/src/features/location/location.service.d.ts +0 -3
- package/src/features/location/location.service.js +1 -141
- package/src/features/manufacturer/manufacturer.handler.js +1 -53
- package/src/features/manufacturer/manufacturer.route.js +1 -97
- package/src/features/manufacturer/manufacturer.schema.js +1 -125
- package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
- package/src/features/manufacturer/manufacturer.service.js +1 -190
- package/src/features/order/emails/order-confirmation.email.js +1 -229
- package/src/features/order/emails/order-notification.email.js +1 -229
- package/src/features/order/fulfilment.schema.js +1 -3
- package/src/features/order/order.handler.js +1 -54
- package/src/features/order/order.route.js +1 -111
- package/src/features/order/order.schema.js +1 -158
- package/src/features/order/order.service.d.ts +0 -15
- package/src/features/order/order.service.js +1 -306
- package/src/features/order/recipient.schema.js +1 -38
- package/src/features/organization/legal-entity.schema.js +1 -83
- package/src/features/organization/organization-configuration.schema.js +1 -115
- package/src/features/organization/organization.handler.js +1 -48
- package/src/features/organization/organization.route.js +1 -84
- package/src/features/organization/organization.schema.js +1 -64
- package/src/features/organization/organization.service.d.ts +0 -15
- package/src/features/organization/organization.service.js +1 -334
- package/src/features/payment/payment.handler.js +1 -16
- package/src/features/payment/payment.route.js +1 -22
- package/src/features/payment/payment.schema.js +1 -46
- package/src/features/payment/payment.service.js +1 -100
- package/src/features/payment/stripe.service.js +1 -164
- package/src/features/product/product-modifier.schema.js +1 -84
- package/src/features/product/product.handler.js +1 -87
- package/src/features/product/product.route.js +1 -179
- package/src/features/product/product.schema.js +1 -143
- package/src/features/product/product.service.d.ts +0 -25
- package/src/features/product/product.service.js +1 -440
- package/src/features/product-category/product-category.handler.js +1 -59
- package/src/features/product-category/product-category.route.js +1 -139
- package/src/features/product-category/product-category.schema.js +1 -86
- package/src/features/product-category/product-category.service.d.ts +0 -22
- package/src/features/product-category/product-category.service.js +1 -220
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
- package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
- package/src/features/reservation/emails/reservation-notification.email.js +1 -93
- package/src/features/reservation/reservation.handler.js +1 -65
- package/src/features/reservation/reservation.route.js +1 -167
- package/src/features/reservation/reservation.schema.js +1 -51
- package/src/features/reservation/reservation.service.d.ts +0 -18
- package/src/features/reservation/reservation.service.js +1 -231
- package/src/features/shipping/shipping.handler.js +1 -32
- package/src/features/shipping/shipping.route.js +1 -51
- package/src/features/shipping/shipping.service.d.ts +0 -7
- package/src/features/shipping/shipping.service.js +1 -96
- package/src/features/shipping-method/shipping-method.handler.js +1 -60
- package/src/features/shipping-method/shipping-method.route.js +1 -144
- package/src/features/shipping-method/shipping-method.schema.js +1 -48
- package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
- package/src/features/shipping-method/shipping-method.service.js +1 -229
- package/src/features/shipping-method/shipping-zone.schema.js +1 -31
- package/src/features/webhook/webhook.handler.js +1 -50
- package/src/features/webhook/webhook.route.js +1 -33
- package/src/index.js +1 -6
- package/src/integrations/next.js +1 -82
- package/src/schemas/address.schema.d.ts +0 -8
- package/src/schemas/address.schema.js +1 -112
- package/src/schemas/currency.schema.d.ts +0 -42
- package/src/schemas/currency.schema.js +1 -118
- package/src/schemas/error.schema.js +1 -12
- package/src/schemas/index.js +1 -29
- package/src/schemas/locales.schema.js +1 -238
- package/src/schemas/number.schema.js +1 -29
- package/src/schemas/pagination.schema.js +1 -54
- package/src/schemas/params.schema.js +1 -20
- package/src/schemas/queries.schema.js +1 -6
- package/src/test/global-setup.d.ts +1 -0
- package/src/test/global-setup.js +1 -0
- package/src/test/integration/api-fixtures.d.ts +4 -16
- package/src/test/integration/api-fixtures.js +1 -225
- package/src/test/integration/seed.d.ts +81 -0
- package/src/test/integration/seed.js +1 -0
- package/src/test/integration/test-helpers.d.ts +107 -924
- package/src/test/integration/test-helpers.js +1 -1100
- package/src/test/setup-test-env.d.ts +1 -1
- package/src/test/setup-test-env.js +1 -29
- package/src/app.js.map +0 -1
- package/src/core/auth/auth.schema.js.map +0 -1
- package/src/core/auth/auth.util.js.map +0 -1
- package/src/core/auth/better-auth.lib.js.map +0 -1
- package/src/core/auth/generate-password-hash.util.js.map +0 -1
- package/src/core/auth/headers.schema.js.map +0 -1
- package/src/core/auth/user.schema.js.map +0 -1
- package/src/core/db/__generated__/client/browser.js.map +0 -1
- package/src/core/db/__generated__/client/client.js.map +0 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
- package/src/core/db/__generated__/client/enums.js.map +0 -1
- package/src/core/db/__generated__/client/internal/class.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
- package/src/core/db/__generated__/client/models/Account.js.map +0 -1
- package/src/core/db/__generated__/client/models/Address.js.map +0 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/File.js.map +0 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Member.js.map +0 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/Order.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
- package/src/core/db/__generated__/client/models/Product.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Session.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
- package/src/core/db/__generated__/client/models/User.js.map +0 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
- package/src/core/db/__generated__/client/models.js.map +0 -1
- package/src/core/db/index.js.map +0 -1
- package/src/core/exceptions/http-exception.js.map +0 -1
- package/src/core/hono/hono.js.map +0 -1
- package/src/core/lib/prisma.js.map +0 -1
- package/src/core/logging/pino.js.map +0 -1
- package/src/core/notifications/email.service.js.map +0 -1
- package/src/core/openapi/openapi.lib.js.map +0 -1
- package/src/core/types/google-maps.types.js.map +0 -1
- package/src/core/utils/currency.util.js.map +0 -1
- package/src/core/utils/env.util.js.map +0 -1
- package/src/core/utils/object.util.js.map +0 -1
- package/src/core/utils/translations.util.js.map +0 -1
- package/src/core/utils/zod.util.js.map +0 -1
- package/src/db.js.map +0 -1
- package/src/features/access/access.handler.js.map +0 -1
- package/src/features/access/access.route.js.map +0 -1
- package/src/features/access/access.schema.js.map +0 -1
- package/src/features/access/access.service.js.map +0 -1
- package/src/features/cart/cart.handler.js.map +0 -1
- package/src/features/cart/cart.route.js.map +0 -1
- package/src/features/cart/cart.schema.js.map +0 -1
- package/src/features/cart/cart.service.js.map +0 -1
- package/src/features/cart/cart.util.js.map +0 -1
- package/src/features/file/file.handler.js.map +0 -1
- package/src/features/file/file.route.js.map +0 -1
- package/src/features/file/file.schema.js.map +0 -1
- package/src/features/file/file.service.js.map +0 -1
- package/src/features/health/health.handler.js.map +0 -1
- package/src/features/health/health.route.js.map +0 -1
- package/src/features/index.js.map +0 -1
- package/src/features/location/location.handler.js.map +0 -1
- package/src/features/location/location.route.js.map +0 -1
- package/src/features/location/location.schema.js.map +0 -1
- package/src/features/location/location.service.js.map +0 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
- package/src/features/manufacturer/manufacturer.route.js.map +0 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
- package/src/features/manufacturer/manufacturer.service.js.map +0 -1
- package/src/features/order/emails/order-confirmation.email.js.map +0 -1
- package/src/features/order/emails/order-notification.email.js.map +0 -1
- package/src/features/order/fulfilment.schema.js.map +0 -1
- package/src/features/order/order.handler.js.map +0 -1
- package/src/features/order/order.route.js.map +0 -1
- package/src/features/order/order.schema.js.map +0 -1
- package/src/features/order/order.service.js.map +0 -1
- package/src/features/order/recipient.schema.js.map +0 -1
- package/src/features/organization/legal-entity.schema.js.map +0 -1
- package/src/features/organization/organization-configuration.schema.js.map +0 -1
- package/src/features/organization/organization.handler.js.map +0 -1
- package/src/features/organization/organization.route.js.map +0 -1
- package/src/features/organization/organization.schema.js.map +0 -1
- package/src/features/organization/organization.service.js.map +0 -1
- package/src/features/payment/payment.handler.js.map +0 -1
- package/src/features/payment/payment.route.js.map +0 -1
- package/src/features/payment/payment.schema.js.map +0 -1
- package/src/features/payment/payment.service.js.map +0 -1
- package/src/features/payment/stripe.service.js.map +0 -1
- package/src/features/product/product-modifier.schema.js.map +0 -1
- package/src/features/product/product.handler.js.map +0 -1
- package/src/features/product/product.route.js.map +0 -1
- package/src/features/product/product.schema.js.map +0 -1
- package/src/features/product/product.service.js.map +0 -1
- package/src/features/product-category/product-category.handler.js.map +0 -1
- package/src/features/product-category/product-category.route.js.map +0 -1
- package/src/features/product-category/product-category.schema.js.map +0 -1
- package/src/features/product-category/product-category.service.js.map +0 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
- package/src/features/reservation/reservation.handler.js.map +0 -1
- package/src/features/reservation/reservation.route.js.map +0 -1
- package/src/features/reservation/reservation.schema.js.map +0 -1
- package/src/features/reservation/reservation.service.js.map +0 -1
- package/src/features/shipping/shipping.handler.js.map +0 -1
- package/src/features/shipping/shipping.route.js.map +0 -1
- package/src/features/shipping/shipping.service.js.map +0 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
- package/src/features/shipping-method/shipping-method.route.js.map +0 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
- package/src/features/shipping-method/shipping-method.service.js.map +0 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
- package/src/features/webhook/webhook.handler.js.map +0 -1
- package/src/features/webhook/webhook.route.js.map +0 -1
- package/src/index.js.map +0 -1
- package/src/integrations/next.js.map +0 -1
- package/src/schemas/address.schema.js.map +0 -1
- package/src/schemas/currency.schema.js.map +0 -1
- package/src/schemas/error.schema.js.map +0 -1
- package/src/schemas/index.js.map +0 -1
- package/src/schemas/locales.schema.js.map +0 -1
- package/src/schemas/number.schema.js.map +0 -1
- package/src/schemas/pagination.schema.js.map +0 -1
- package/src/schemas/params.schema.js.map +0 -1
- package/src/schemas/queries.schema.js.map +0 -1
- package/src/test/integration/api-fixtures.js.map +0 -1
- package/src/test/integration/test-helpers.js.map +0 -1
- package/src/test/setup-test-env.js.map +0 -1
|
@@ -1,9 +1,5 @@
|
|
|
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
|
-
*/
|
|
7
3
|
export type ModifierGroupModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierGroupPayload>;
|
|
8
4
|
export type AggregateModifierGroup = {
|
|
9
5
|
_count: ModifierGroupCountAggregateOutputType | null;
|
|
@@ -73,63 +69,15 @@ export type ModifierGroupCountAggregateInputType = {
|
|
|
73
69
|
_all?: true;
|
|
74
70
|
};
|
|
75
71
|
export type ModifierGroupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
-
/**
|
|
77
|
-
* Filter which ModifierGroup to aggregate.
|
|
78
|
-
*/
|
|
79
72
|
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
|
-
*/
|
|
85
73
|
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
|
-
*/
|
|
91
74
|
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
|
-
*/
|
|
97
75
|
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
|
-
*/
|
|
103
76
|
skip?: number;
|
|
104
|
-
/**
|
|
105
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
-
*
|
|
107
|
-
* Count returned ModifierGroups
|
|
108
|
-
**/
|
|
109
77
|
_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
|
-
**/
|
|
115
78
|
_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
|
-
**/
|
|
121
79
|
_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
|
-
**/
|
|
127
80
|
_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
|
-
**/
|
|
133
81
|
_max?: ModifierGroupMaxAggregateInputType;
|
|
134
82
|
};
|
|
135
83
|
export type GetModifierGroupAggregateType<T extends ModifierGroupAggregateArgs> = {
|
|
@@ -549,9 +497,6 @@ export type ModifierGroupUncheckedUpdateManyWithoutProductsInput = {
|
|
|
549
497
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
550
498
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
551
499
|
};
|
|
552
|
-
/**
|
|
553
|
-
* Count Type ModifierGroupCountOutputType
|
|
554
|
-
*/
|
|
555
500
|
export type ModifierGroupCountOutputType = {
|
|
556
501
|
modifiers: number;
|
|
557
502
|
products: number;
|
|
@@ -562,30 +507,15 @@ export type ModifierGroupCountOutputTypeSelect<ExtArgs extends runtime.Types.Ext
|
|
|
562
507
|
products?: boolean | ModifierGroupCountOutputTypeCountProductsArgs;
|
|
563
508
|
translations?: boolean | ModifierGroupCountOutputTypeCountTranslationsArgs;
|
|
564
509
|
};
|
|
565
|
-
/**
|
|
566
|
-
* ModifierGroupCountOutputType without action
|
|
567
|
-
*/
|
|
568
510
|
export type ModifierGroupCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
569
|
-
/**
|
|
570
|
-
* Select specific fields to fetch from the ModifierGroupCountOutputType
|
|
571
|
-
*/
|
|
572
511
|
select?: Prisma.ModifierGroupCountOutputTypeSelect<ExtArgs> | null;
|
|
573
512
|
};
|
|
574
|
-
/**
|
|
575
|
-
* ModifierGroupCountOutputType without action
|
|
576
|
-
*/
|
|
577
513
|
export type ModifierGroupCountOutputTypeCountModifiersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
578
514
|
where?: Prisma.ModifierWhereInput;
|
|
579
515
|
};
|
|
580
|
-
/**
|
|
581
|
-
* ModifierGroupCountOutputType without action
|
|
582
|
-
*/
|
|
583
516
|
export type ModifierGroupCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
584
517
|
where?: Prisma.ProductWhereInput;
|
|
585
518
|
};
|
|
586
|
-
/**
|
|
587
|
-
* ModifierGroupCountOutputType without action
|
|
588
|
-
*/
|
|
589
519
|
export type ModifierGroupCountOutputTypeCountTranslationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
590
520
|
where?: Prisma.ModifierGroupTranslationWhereInput;
|
|
591
521
|
};
|
|
@@ -657,290 +587,22 @@ export interface ModifierGroupDelegate<ExtArgs extends runtime.Types.Extensions.
|
|
|
657
587
|
name: 'ModifierGroup';
|
|
658
588
|
};
|
|
659
589
|
};
|
|
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
|
-
*/
|
|
671
590
|
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
|
-
*/
|
|
684
591
|
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
|
-
*/
|
|
698
592
|
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
|
-
*/
|
|
713
593
|
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
|
-
*/
|
|
730
594
|
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
|
-
*/
|
|
743
595
|
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
|
-
*/
|
|
756
596
|
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
|
-
*/
|
|
779
597
|
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
|
-
*/
|
|
792
598
|
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
|
-
*/
|
|
808
599
|
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
|
-
*/
|
|
821
600
|
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
|
-
*/
|
|
839
601
|
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
|
-
*/
|
|
868
602
|
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
|
-
*/
|
|
886
603
|
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
|
-
**/
|
|
900
604
|
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
|
-
**/
|
|
925
605
|
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
|
-
**/
|
|
944
606
|
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 ? {
|
|
945
607
|
orderBy: ModifierGroupGroupByArgs['orderBy'];
|
|
946
608
|
} : {
|
|
@@ -959,46 +621,17 @@ export interface ModifierGroupDelegate<ExtArgs extends runtime.Types.Extensions.
|
|
|
959
621
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
960
622
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
961
623
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
962
|
-
/**
|
|
963
|
-
* Fields of the ModifierGroup model
|
|
964
|
-
*/
|
|
965
624
|
readonly fields: ModifierGroupFieldRefs;
|
|
966
625
|
}
|
|
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
|
-
*/
|
|
973
626
|
export interface Prisma__ModifierGroupClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
974
627
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
975
628
|
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>;
|
|
976
629
|
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>;
|
|
977
630
|
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
|
-
*/
|
|
984
631
|
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
|
-
*/
|
|
990
632
|
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
|
-
*/
|
|
997
633
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
998
634
|
}
|
|
999
|
-
/**
|
|
1000
|
-
* Fields of the ModifierGroup model
|
|
1001
|
-
*/
|
|
1002
635
|
export interface ModifierGroupFieldRefs {
|
|
1003
636
|
readonly id: Prisma.FieldRef<"ModifierGroup", 'String'>;
|
|
1004
637
|
readonly selectMin: Prisma.FieldRef<"ModifierGroup", 'Int'>;
|
|
@@ -1006,390 +639,107 @@ export interface ModifierGroupFieldRefs {
|
|
|
1006
639
|
readonly createdAt: Prisma.FieldRef<"ModifierGroup", 'DateTime'>;
|
|
1007
640
|
readonly updatedAt: Prisma.FieldRef<"ModifierGroup", 'DateTime'>;
|
|
1008
641
|
}
|
|
1009
|
-
/**
|
|
1010
|
-
* ModifierGroup findUnique
|
|
1011
|
-
*/
|
|
1012
642
|
export type ModifierGroupFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
-
/**
|
|
1014
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1015
|
-
*/
|
|
1016
643
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1017
|
-
/**
|
|
1018
|
-
* Omit specific fields from the ModifierGroup
|
|
1019
|
-
*/
|
|
1020
644
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1021
|
-
/**
|
|
1022
|
-
* Choose, which related nodes to fetch as well
|
|
1023
|
-
*/
|
|
1024
645
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1025
|
-
/**
|
|
1026
|
-
* Filter, which ModifierGroup to fetch.
|
|
1027
|
-
*/
|
|
1028
646
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
1029
647
|
};
|
|
1030
|
-
/**
|
|
1031
|
-
* ModifierGroup findUniqueOrThrow
|
|
1032
|
-
*/
|
|
1033
648
|
export type ModifierGroupFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1034
|
-
/**
|
|
1035
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1036
|
-
*/
|
|
1037
649
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1038
|
-
/**
|
|
1039
|
-
* Omit specific fields from the ModifierGroup
|
|
1040
|
-
*/
|
|
1041
650
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1042
|
-
/**
|
|
1043
|
-
* Choose, which related nodes to fetch as well
|
|
1044
|
-
*/
|
|
1045
651
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1046
|
-
/**
|
|
1047
|
-
* Filter, which ModifierGroup to fetch.
|
|
1048
|
-
*/
|
|
1049
652
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
1050
653
|
};
|
|
1051
|
-
/**
|
|
1052
|
-
* ModifierGroup findFirst
|
|
1053
|
-
*/
|
|
1054
654
|
export type ModifierGroupFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
-
/**
|
|
1056
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1057
|
-
*/
|
|
1058
655
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1059
|
-
/**
|
|
1060
|
-
* Omit specific fields from the ModifierGroup
|
|
1061
|
-
*/
|
|
1062
656
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1063
|
-
/**
|
|
1064
|
-
* Choose, which related nodes to fetch as well
|
|
1065
|
-
*/
|
|
1066
657
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1067
|
-
/**
|
|
1068
|
-
* Filter, which ModifierGroup to fetch.
|
|
1069
|
-
*/
|
|
1070
658
|
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
|
-
*/
|
|
1076
659
|
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
|
-
*/
|
|
1082
660
|
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
|
-
*/
|
|
1088
661
|
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
|
-
*/
|
|
1094
662
|
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
|
-
*/
|
|
1100
663
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
1101
664
|
};
|
|
1102
|
-
/**
|
|
1103
|
-
* ModifierGroup findFirstOrThrow
|
|
1104
|
-
*/
|
|
1105
665
|
export type ModifierGroupFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
-
/**
|
|
1107
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1108
|
-
*/
|
|
1109
666
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1110
|
-
/**
|
|
1111
|
-
* Omit specific fields from the ModifierGroup
|
|
1112
|
-
*/
|
|
1113
667
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1114
|
-
/**
|
|
1115
|
-
* Choose, which related nodes to fetch as well
|
|
1116
|
-
*/
|
|
1117
668
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1118
|
-
/**
|
|
1119
|
-
* Filter, which ModifierGroup to fetch.
|
|
1120
|
-
*/
|
|
1121
669
|
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
|
-
*/
|
|
1127
670
|
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
|
-
*/
|
|
1133
671
|
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
|
-
*/
|
|
1139
672
|
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
|
-
*/
|
|
1145
673
|
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
|
-
*/
|
|
1151
674
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
1152
675
|
};
|
|
1153
|
-
/**
|
|
1154
|
-
* ModifierGroup findMany
|
|
1155
|
-
*/
|
|
1156
676
|
export type ModifierGroupFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1157
|
-
/**
|
|
1158
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1159
|
-
*/
|
|
1160
677
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1161
|
-
/**
|
|
1162
|
-
* Omit specific fields from the ModifierGroup
|
|
1163
|
-
*/
|
|
1164
678
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1165
|
-
/**
|
|
1166
|
-
* Choose, which related nodes to fetch as well
|
|
1167
|
-
*/
|
|
1168
679
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1169
|
-
/**
|
|
1170
|
-
* Filter, which ModifierGroups to fetch.
|
|
1171
|
-
*/
|
|
1172
680
|
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
|
-
*/
|
|
1178
681
|
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
|
-
*/
|
|
1184
682
|
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
|
-
*/
|
|
1190
683
|
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
|
-
*/
|
|
1196
684
|
skip?: number;
|
|
1197
685
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
1198
686
|
};
|
|
1199
|
-
/**
|
|
1200
|
-
* ModifierGroup create
|
|
1201
|
-
*/
|
|
1202
687
|
export type ModifierGroupCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1203
|
-
/**
|
|
1204
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1205
|
-
*/
|
|
1206
688
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1207
|
-
/**
|
|
1208
|
-
* Omit specific fields from the ModifierGroup
|
|
1209
|
-
*/
|
|
1210
689
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1211
|
-
/**
|
|
1212
|
-
* Choose, which related nodes to fetch as well
|
|
1213
|
-
*/
|
|
1214
690
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1215
|
-
/**
|
|
1216
|
-
* The data needed to create a ModifierGroup.
|
|
1217
|
-
*/
|
|
1218
691
|
data?: Prisma.XOR<Prisma.ModifierGroupCreateInput, Prisma.ModifierGroupUncheckedCreateInput>;
|
|
1219
692
|
};
|
|
1220
|
-
/**
|
|
1221
|
-
* ModifierGroup createMany
|
|
1222
|
-
*/
|
|
1223
693
|
export type ModifierGroupCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1224
|
-
/**
|
|
1225
|
-
* The data used to create many ModifierGroups.
|
|
1226
|
-
*/
|
|
1227
694
|
data: Prisma.ModifierGroupCreateManyInput | Prisma.ModifierGroupCreateManyInput[];
|
|
1228
695
|
skipDuplicates?: boolean;
|
|
1229
696
|
};
|
|
1230
|
-
/**
|
|
1231
|
-
* ModifierGroup createManyAndReturn
|
|
1232
|
-
*/
|
|
1233
697
|
export type ModifierGroupCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1234
|
-
/**
|
|
1235
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1236
|
-
*/
|
|
1237
698
|
select?: Prisma.ModifierGroupSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1238
|
-
/**
|
|
1239
|
-
* Omit specific fields from the ModifierGroup
|
|
1240
|
-
*/
|
|
1241
699
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1242
|
-
/**
|
|
1243
|
-
* The data used to create many ModifierGroups.
|
|
1244
|
-
*/
|
|
1245
700
|
data: Prisma.ModifierGroupCreateManyInput | Prisma.ModifierGroupCreateManyInput[];
|
|
1246
701
|
skipDuplicates?: boolean;
|
|
1247
702
|
};
|
|
1248
|
-
/**
|
|
1249
|
-
* ModifierGroup update
|
|
1250
|
-
*/
|
|
1251
703
|
export type ModifierGroupUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
-
/**
|
|
1253
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1254
|
-
*/
|
|
1255
704
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1256
|
-
/**
|
|
1257
|
-
* Omit specific fields from the ModifierGroup
|
|
1258
|
-
*/
|
|
1259
705
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1260
|
-
/**
|
|
1261
|
-
* Choose, which related nodes to fetch as well
|
|
1262
|
-
*/
|
|
1263
706
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1264
|
-
/**
|
|
1265
|
-
* The data needed to update a ModifierGroup.
|
|
1266
|
-
*/
|
|
1267
707
|
data: Prisma.XOR<Prisma.ModifierGroupUpdateInput, Prisma.ModifierGroupUncheckedUpdateInput>;
|
|
1268
|
-
/**
|
|
1269
|
-
* Choose, which ModifierGroup to update.
|
|
1270
|
-
*/
|
|
1271
708
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
1272
709
|
};
|
|
1273
|
-
/**
|
|
1274
|
-
* ModifierGroup updateMany
|
|
1275
|
-
*/
|
|
1276
710
|
export type ModifierGroupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1277
|
-
/**
|
|
1278
|
-
* The data used to update ModifierGroups.
|
|
1279
|
-
*/
|
|
1280
711
|
data: Prisma.XOR<Prisma.ModifierGroupUpdateManyMutationInput, Prisma.ModifierGroupUncheckedUpdateManyInput>;
|
|
1281
|
-
/**
|
|
1282
|
-
* Filter which ModifierGroups to update
|
|
1283
|
-
*/
|
|
1284
712
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1285
|
-
/**
|
|
1286
|
-
* Limit how many ModifierGroups to update.
|
|
1287
|
-
*/
|
|
1288
713
|
limit?: number;
|
|
1289
714
|
};
|
|
1290
|
-
/**
|
|
1291
|
-
* ModifierGroup updateManyAndReturn
|
|
1292
|
-
*/
|
|
1293
715
|
export type ModifierGroupUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1294
|
-
/**
|
|
1295
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1296
|
-
*/
|
|
1297
716
|
select?: Prisma.ModifierGroupSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1298
|
-
/**
|
|
1299
|
-
* Omit specific fields from the ModifierGroup
|
|
1300
|
-
*/
|
|
1301
717
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1302
|
-
/**
|
|
1303
|
-
* The data used to update ModifierGroups.
|
|
1304
|
-
*/
|
|
1305
718
|
data: Prisma.XOR<Prisma.ModifierGroupUpdateManyMutationInput, Prisma.ModifierGroupUncheckedUpdateManyInput>;
|
|
1306
|
-
/**
|
|
1307
|
-
* Filter which ModifierGroups to update
|
|
1308
|
-
*/
|
|
1309
719
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1310
|
-
/**
|
|
1311
|
-
* Limit how many ModifierGroups to update.
|
|
1312
|
-
*/
|
|
1313
720
|
limit?: number;
|
|
1314
721
|
};
|
|
1315
|
-
/**
|
|
1316
|
-
* ModifierGroup upsert
|
|
1317
|
-
*/
|
|
1318
722
|
export type ModifierGroupUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1319
|
-
/**
|
|
1320
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1321
|
-
*/
|
|
1322
723
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1323
|
-
/**
|
|
1324
|
-
* Omit specific fields from the ModifierGroup
|
|
1325
|
-
*/
|
|
1326
724
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1327
|
-
/**
|
|
1328
|
-
* Choose, which related nodes to fetch as well
|
|
1329
|
-
*/
|
|
1330
725
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1331
|
-
/**
|
|
1332
|
-
* The filter to search for the ModifierGroup to update in case it exists.
|
|
1333
|
-
*/
|
|
1334
726
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
1335
|
-
/**
|
|
1336
|
-
* In case the ModifierGroup found by the `where` argument doesn't exist, create a new ModifierGroup with this data.
|
|
1337
|
-
*/
|
|
1338
727
|
create: Prisma.XOR<Prisma.ModifierGroupCreateInput, Prisma.ModifierGroupUncheckedCreateInput>;
|
|
1339
|
-
/**
|
|
1340
|
-
* In case the ModifierGroup was found with the provided `where` argument, update it with this data.
|
|
1341
|
-
*/
|
|
1342
728
|
update: Prisma.XOR<Prisma.ModifierGroupUpdateInput, Prisma.ModifierGroupUncheckedUpdateInput>;
|
|
1343
729
|
};
|
|
1344
|
-
/**
|
|
1345
|
-
* ModifierGroup delete
|
|
1346
|
-
*/
|
|
1347
730
|
export type ModifierGroupDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1348
|
-
/**
|
|
1349
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1350
|
-
*/
|
|
1351
731
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1352
|
-
/**
|
|
1353
|
-
* Omit specific fields from the ModifierGroup
|
|
1354
|
-
*/
|
|
1355
732
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1356
|
-
/**
|
|
1357
|
-
* Choose, which related nodes to fetch as well
|
|
1358
|
-
*/
|
|
1359
733
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1360
|
-
/**
|
|
1361
|
-
* Filter which ModifierGroup to delete.
|
|
1362
|
-
*/
|
|
1363
734
|
where: Prisma.ModifierGroupWhereUniqueInput;
|
|
1364
735
|
};
|
|
1365
|
-
/**
|
|
1366
|
-
* ModifierGroup deleteMany
|
|
1367
|
-
*/
|
|
1368
736
|
export type ModifierGroupDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1369
|
-
/**
|
|
1370
|
-
* Filter which ModifierGroups to delete
|
|
1371
|
-
*/
|
|
1372
737
|
where?: Prisma.ModifierGroupWhereInput;
|
|
1373
|
-
/**
|
|
1374
|
-
* Limit how many ModifierGroups to delete.
|
|
1375
|
-
*/
|
|
1376
738
|
limit?: number;
|
|
1377
739
|
};
|
|
1378
|
-
/**
|
|
1379
|
-
* ModifierGroup.modifiers
|
|
1380
|
-
*/
|
|
1381
740
|
export type ModifierGroup$modifiersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1382
|
-
/**
|
|
1383
|
-
* Select specific fields to fetch from the Modifier
|
|
1384
|
-
*/
|
|
1385
741
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1386
|
-
/**
|
|
1387
|
-
* Omit specific fields from the Modifier
|
|
1388
|
-
*/
|
|
1389
742
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1390
|
-
/**
|
|
1391
|
-
* Choose, which related nodes to fetch as well
|
|
1392
|
-
*/
|
|
1393
743
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1394
744
|
where?: Prisma.ModifierWhereInput;
|
|
1395
745
|
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
@@ -1398,21 +748,9 @@ export type ModifierGroup$modifiersArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
1398
748
|
skip?: number;
|
|
1399
749
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
1400
750
|
};
|
|
1401
|
-
/**
|
|
1402
|
-
* ModifierGroup.products
|
|
1403
|
-
*/
|
|
1404
751
|
export type ModifierGroup$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1405
|
-
/**
|
|
1406
|
-
* Select specific fields to fetch from the Product
|
|
1407
|
-
*/
|
|
1408
752
|
select?: Prisma.ProductSelect<ExtArgs> | null;
|
|
1409
|
-
/**
|
|
1410
|
-
* Omit specific fields from the Product
|
|
1411
|
-
*/
|
|
1412
753
|
omit?: Prisma.ProductOmit<ExtArgs> | null;
|
|
1413
|
-
/**
|
|
1414
|
-
* Choose, which related nodes to fetch as well
|
|
1415
|
-
*/
|
|
1416
754
|
include?: Prisma.ProductInclude<ExtArgs> | null;
|
|
1417
755
|
where?: Prisma.ProductWhereInput;
|
|
1418
756
|
orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
|
|
@@ -1421,21 +759,9 @@ export type ModifierGroup$productsArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
1421
759
|
skip?: number;
|
|
1422
760
|
distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
|
|
1423
761
|
};
|
|
1424
|
-
/**
|
|
1425
|
-
* ModifierGroup.translations
|
|
1426
|
-
*/
|
|
1427
762
|
export type ModifierGroup$translationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1428
|
-
/**
|
|
1429
|
-
* Select specific fields to fetch from the ModifierGroupTranslation
|
|
1430
|
-
*/
|
|
1431
763
|
select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
|
|
1432
|
-
/**
|
|
1433
|
-
* Omit specific fields from the ModifierGroupTranslation
|
|
1434
|
-
*/
|
|
1435
764
|
omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
|
|
1436
|
-
/**
|
|
1437
|
-
* Choose, which related nodes to fetch as well
|
|
1438
|
-
*/
|
|
1439
765
|
include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
|
|
1440
766
|
where?: Prisma.ModifierGroupTranslationWhereInput;
|
|
1441
767
|
orderBy?: Prisma.ModifierGroupTranslationOrderByWithRelationInput | Prisma.ModifierGroupTranslationOrderByWithRelationInput[];
|
|
@@ -1444,21 +770,9 @@ export type ModifierGroup$translationsArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
1444
770
|
skip?: number;
|
|
1445
771
|
distinct?: Prisma.ModifierGroupTranslationScalarFieldEnum | Prisma.ModifierGroupTranslationScalarFieldEnum[];
|
|
1446
772
|
};
|
|
1447
|
-
/**
|
|
1448
|
-
* ModifierGroup without action
|
|
1449
|
-
*/
|
|
1450
773
|
export type ModifierGroupDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1451
|
-
/**
|
|
1452
|
-
* Select specific fields to fetch from the ModifierGroup
|
|
1453
|
-
*/
|
|
1454
774
|
select?: Prisma.ModifierGroupSelect<ExtArgs> | null;
|
|
1455
|
-
/**
|
|
1456
|
-
* Omit specific fields from the ModifierGroup
|
|
1457
|
-
*/
|
|
1458
775
|
omit?: Prisma.ModifierGroupOmit<ExtArgs> | null;
|
|
1459
|
-
/**
|
|
1460
|
-
* Choose, which related nodes to fetch as well
|
|
1461
|
-
*/
|
|
1462
776
|
include?: Prisma.ModifierGroupInclude<ExtArgs> | null;
|
|
1463
777
|
};
|
|
1464
778
|
export {};
|