@shophost/rest-api 2.0.29 → 2.0.31
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 +110 -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 Modifier
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
3
|
export type ModifierModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierPayload>;
|
|
8
4
|
export type AggregateModifier = {
|
|
9
5
|
_count: ModifierCountAggregateOutputType | null;
|
|
@@ -75,63 +71,15 @@ export type ModifierCountAggregateInputType = {
|
|
|
75
71
|
_all?: true;
|
|
76
72
|
};
|
|
77
73
|
export type ModifierAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
78
|
-
/**
|
|
79
|
-
* Filter which Modifier to aggregate.
|
|
80
|
-
*/
|
|
81
74
|
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
|
-
*/
|
|
87
75
|
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
|
-
*/
|
|
93
76
|
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
|
-
*/
|
|
99
77
|
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
|
-
*/
|
|
105
78
|
skip?: number;
|
|
106
|
-
/**
|
|
107
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
-
*
|
|
109
|
-
* Count returned Modifiers
|
|
110
|
-
**/
|
|
111
79
|
_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
|
-
**/
|
|
117
80
|
_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
|
-
**/
|
|
123
81
|
_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
|
-
**/
|
|
129
82
|
_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
|
-
**/
|
|
135
83
|
_max?: ModifierMaxAggregateInputType;
|
|
136
84
|
};
|
|
137
85
|
export type GetModifierAggregateType<T extends ModifierAggregateArgs> = {
|
|
@@ -530,27 +478,15 @@ export type ModifierUncheckedUpdateManyWithoutModifierGroupInput = {
|
|
|
530
478
|
sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
531
479
|
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
532
480
|
};
|
|
533
|
-
/**
|
|
534
|
-
* Count Type ModifierCountOutputType
|
|
535
|
-
*/
|
|
536
481
|
export type ModifierCountOutputType = {
|
|
537
482
|
images: number;
|
|
538
483
|
};
|
|
539
484
|
export type ModifierCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
540
485
|
images?: boolean | ModifierCountOutputTypeCountImagesArgs;
|
|
541
486
|
};
|
|
542
|
-
/**
|
|
543
|
-
* ModifierCountOutputType without action
|
|
544
|
-
*/
|
|
545
487
|
export type ModifierCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
546
|
-
/**
|
|
547
|
-
* Select specific fields to fetch from the ModifierCountOutputType
|
|
548
|
-
*/
|
|
549
488
|
select?: Prisma.ModifierCountOutputTypeSelect<ExtArgs> | null;
|
|
550
489
|
};
|
|
551
|
-
/**
|
|
552
|
-
* ModifierCountOutputType without action
|
|
553
|
-
*/
|
|
554
490
|
export type ModifierCountOutputTypeCountImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
555
491
|
where?: Prisma.FileWhereInput;
|
|
556
492
|
};
|
|
@@ -630,290 +566,22 @@ export interface ModifierDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
630
566
|
name: 'Modifier';
|
|
631
567
|
};
|
|
632
568
|
};
|
|
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
|
-
*/
|
|
644
569
|
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
|
-
*/
|
|
657
570
|
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
|
-
*/
|
|
671
571
|
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
|
-
*/
|
|
686
572
|
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
|
-
*/
|
|
703
573
|
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
|
-
*/
|
|
716
574
|
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
|
-
*/
|
|
729
575
|
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
|
-
*/
|
|
752
576
|
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
|
-
*/
|
|
765
577
|
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
|
-
*/
|
|
781
578
|
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
|
-
*/
|
|
794
579
|
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
|
-
*/
|
|
812
580
|
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
|
-
*/
|
|
841
581
|
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
|
-
*/
|
|
859
582
|
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
|
-
**/
|
|
873
583
|
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
|
-
**/
|
|
898
584
|
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
|
-
**/
|
|
917
585
|
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 ? {
|
|
918
586
|
orderBy: ModifierGroupByArgs['orderBy'];
|
|
919
587
|
} : {
|
|
@@ -932,45 +600,16 @@ export interface ModifierDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
932
600
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
933
601
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
934
602
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
935
|
-
/**
|
|
936
|
-
* Fields of the Modifier model
|
|
937
|
-
*/
|
|
938
603
|
readonly fields: ModifierFieldRefs;
|
|
939
604
|
}
|
|
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
|
-
*/
|
|
946
605
|
export interface Prisma__ModifierClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
947
606
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
948
607
|
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>;
|
|
949
608
|
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
|
-
*/
|
|
956
609
|
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
|
-
*/
|
|
962
610
|
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
|
-
*/
|
|
969
611
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
970
612
|
}
|
|
971
|
-
/**
|
|
972
|
-
* Fields of the Modifier model
|
|
973
|
-
*/
|
|
974
613
|
export interface ModifierFieldRefs {
|
|
975
614
|
readonly id: Prisma.FieldRef<"Modifier", 'String'>;
|
|
976
615
|
readonly title: Prisma.FieldRef<"Modifier", 'String'>;
|
|
@@ -979,398 +618,109 @@ export interface ModifierFieldRefs {
|
|
|
979
618
|
readonly price: Prisma.FieldRef<"Modifier", 'Float'>;
|
|
980
619
|
readonly modifierGroupId: Prisma.FieldRef<"Modifier", 'String'>;
|
|
981
620
|
}
|
|
982
|
-
/**
|
|
983
|
-
* Modifier findUnique
|
|
984
|
-
*/
|
|
985
621
|
export type ModifierFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
986
|
-
/**
|
|
987
|
-
* Select specific fields to fetch from the Modifier
|
|
988
|
-
*/
|
|
989
622
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
990
|
-
/**
|
|
991
|
-
* Omit specific fields from the Modifier
|
|
992
|
-
*/
|
|
993
623
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
994
|
-
/**
|
|
995
|
-
* Choose, which related nodes to fetch as well
|
|
996
|
-
*/
|
|
997
624
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
998
|
-
/**
|
|
999
|
-
* Filter, which Modifier to fetch.
|
|
1000
|
-
*/
|
|
1001
625
|
where: Prisma.ModifierWhereUniqueInput;
|
|
1002
626
|
};
|
|
1003
|
-
/**
|
|
1004
|
-
* Modifier findUniqueOrThrow
|
|
1005
|
-
*/
|
|
1006
627
|
export type ModifierFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
-
/**
|
|
1008
|
-
* Select specific fields to fetch from the Modifier
|
|
1009
|
-
*/
|
|
1010
628
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1011
|
-
/**
|
|
1012
|
-
* Omit specific fields from the Modifier
|
|
1013
|
-
*/
|
|
1014
629
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1015
|
-
/**
|
|
1016
|
-
* Choose, which related nodes to fetch as well
|
|
1017
|
-
*/
|
|
1018
630
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1019
|
-
/**
|
|
1020
|
-
* Filter, which Modifier to fetch.
|
|
1021
|
-
*/
|
|
1022
631
|
where: Prisma.ModifierWhereUniqueInput;
|
|
1023
632
|
};
|
|
1024
|
-
/**
|
|
1025
|
-
* Modifier findFirst
|
|
1026
|
-
*/
|
|
1027
633
|
export type ModifierFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1028
|
-
/**
|
|
1029
|
-
* Select specific fields to fetch from the Modifier
|
|
1030
|
-
*/
|
|
1031
634
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1032
|
-
/**
|
|
1033
|
-
* Omit specific fields from the Modifier
|
|
1034
|
-
*/
|
|
1035
635
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1036
|
-
/**
|
|
1037
|
-
* Choose, which related nodes to fetch as well
|
|
1038
|
-
*/
|
|
1039
636
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1040
|
-
/**
|
|
1041
|
-
* Filter, which Modifier to fetch.
|
|
1042
|
-
*/
|
|
1043
637
|
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
|
-
*/
|
|
1049
638
|
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
|
-
*/
|
|
1055
639
|
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
|
-
*/
|
|
1061
640
|
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
|
-
*/
|
|
1067
641
|
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
|
-
*/
|
|
1073
642
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
1074
643
|
};
|
|
1075
|
-
/**
|
|
1076
|
-
* Modifier findFirstOrThrow
|
|
1077
|
-
*/
|
|
1078
644
|
export type ModifierFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1079
|
-
/**
|
|
1080
|
-
* Select specific fields to fetch from the Modifier
|
|
1081
|
-
*/
|
|
1082
645
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1083
|
-
/**
|
|
1084
|
-
* Omit specific fields from the Modifier
|
|
1085
|
-
*/
|
|
1086
646
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1087
|
-
/**
|
|
1088
|
-
* Choose, which related nodes to fetch as well
|
|
1089
|
-
*/
|
|
1090
647
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1091
|
-
/**
|
|
1092
|
-
* Filter, which Modifier to fetch.
|
|
1093
|
-
*/
|
|
1094
648
|
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
|
-
*/
|
|
1100
649
|
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
|
-
*/
|
|
1106
650
|
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
|
-
*/
|
|
1112
651
|
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
|
-
*/
|
|
1118
652
|
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
|
-
*/
|
|
1124
653
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
1125
654
|
};
|
|
1126
|
-
/**
|
|
1127
|
-
* Modifier findMany
|
|
1128
|
-
*/
|
|
1129
655
|
export type ModifierFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1130
|
-
/**
|
|
1131
|
-
* Select specific fields to fetch from the Modifier
|
|
1132
|
-
*/
|
|
1133
656
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1134
|
-
/**
|
|
1135
|
-
* Omit specific fields from the Modifier
|
|
1136
|
-
*/
|
|
1137
657
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1138
|
-
/**
|
|
1139
|
-
* Choose, which related nodes to fetch as well
|
|
1140
|
-
*/
|
|
1141
658
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1142
|
-
/**
|
|
1143
|
-
* Filter, which Modifiers to fetch.
|
|
1144
|
-
*/
|
|
1145
659
|
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
|
-
*/
|
|
1151
660
|
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
|
-
*/
|
|
1157
661
|
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
|
-
*/
|
|
1163
662
|
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
|
-
*/
|
|
1169
663
|
skip?: number;
|
|
1170
664
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
1171
665
|
};
|
|
1172
|
-
/**
|
|
1173
|
-
* Modifier create
|
|
1174
|
-
*/
|
|
1175
666
|
export type ModifierCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
-
/**
|
|
1177
|
-
* Select specific fields to fetch from the Modifier
|
|
1178
|
-
*/
|
|
1179
667
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1180
|
-
/**
|
|
1181
|
-
* Omit specific fields from the Modifier
|
|
1182
|
-
*/
|
|
1183
668
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1184
|
-
/**
|
|
1185
|
-
* Choose, which related nodes to fetch as well
|
|
1186
|
-
*/
|
|
1187
669
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1188
|
-
/**
|
|
1189
|
-
* The data needed to create a Modifier.
|
|
1190
|
-
*/
|
|
1191
670
|
data: Prisma.XOR<Prisma.ModifierCreateInput, Prisma.ModifierUncheckedCreateInput>;
|
|
1192
671
|
};
|
|
1193
|
-
/**
|
|
1194
|
-
* Modifier createMany
|
|
1195
|
-
*/
|
|
1196
672
|
export type ModifierCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1197
|
-
/**
|
|
1198
|
-
* The data used to create many Modifiers.
|
|
1199
|
-
*/
|
|
1200
673
|
data: Prisma.ModifierCreateManyInput | Prisma.ModifierCreateManyInput[];
|
|
1201
674
|
skipDuplicates?: boolean;
|
|
1202
675
|
};
|
|
1203
|
-
/**
|
|
1204
|
-
* Modifier createManyAndReturn
|
|
1205
|
-
*/
|
|
1206
676
|
export type ModifierCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
-
/**
|
|
1208
|
-
* Select specific fields to fetch from the Modifier
|
|
1209
|
-
*/
|
|
1210
677
|
select?: Prisma.ModifierSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1211
|
-
/**
|
|
1212
|
-
* Omit specific fields from the Modifier
|
|
1213
|
-
*/
|
|
1214
678
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1215
|
-
/**
|
|
1216
|
-
* The data used to create many Modifiers.
|
|
1217
|
-
*/
|
|
1218
679
|
data: Prisma.ModifierCreateManyInput | Prisma.ModifierCreateManyInput[];
|
|
1219
680
|
skipDuplicates?: boolean;
|
|
1220
|
-
/**
|
|
1221
|
-
* Choose, which related nodes to fetch as well
|
|
1222
|
-
*/
|
|
1223
681
|
include?: Prisma.ModifierIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1224
682
|
};
|
|
1225
|
-
/**
|
|
1226
|
-
* Modifier update
|
|
1227
|
-
*/
|
|
1228
683
|
export type ModifierUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
-
/**
|
|
1230
|
-
* Select specific fields to fetch from the Modifier
|
|
1231
|
-
*/
|
|
1232
684
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1233
|
-
/**
|
|
1234
|
-
* Omit specific fields from the Modifier
|
|
1235
|
-
*/
|
|
1236
685
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1237
|
-
/**
|
|
1238
|
-
* Choose, which related nodes to fetch as well
|
|
1239
|
-
*/
|
|
1240
686
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1241
|
-
/**
|
|
1242
|
-
* The data needed to update a Modifier.
|
|
1243
|
-
*/
|
|
1244
687
|
data: Prisma.XOR<Prisma.ModifierUpdateInput, Prisma.ModifierUncheckedUpdateInput>;
|
|
1245
|
-
/**
|
|
1246
|
-
* Choose, which Modifier to update.
|
|
1247
|
-
*/
|
|
1248
688
|
where: Prisma.ModifierWhereUniqueInput;
|
|
1249
689
|
};
|
|
1250
|
-
/**
|
|
1251
|
-
* Modifier updateMany
|
|
1252
|
-
*/
|
|
1253
690
|
export type ModifierUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1254
|
-
/**
|
|
1255
|
-
* The data used to update Modifiers.
|
|
1256
|
-
*/
|
|
1257
691
|
data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyInput>;
|
|
1258
|
-
/**
|
|
1259
|
-
* Filter which Modifiers to update
|
|
1260
|
-
*/
|
|
1261
692
|
where?: Prisma.ModifierWhereInput;
|
|
1262
|
-
/**
|
|
1263
|
-
* Limit how many Modifiers to update.
|
|
1264
|
-
*/
|
|
1265
693
|
limit?: number;
|
|
1266
694
|
};
|
|
1267
|
-
/**
|
|
1268
|
-
* Modifier updateManyAndReturn
|
|
1269
|
-
*/
|
|
1270
695
|
export type ModifierUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1271
|
-
/**
|
|
1272
|
-
* Select specific fields to fetch from the Modifier
|
|
1273
|
-
*/
|
|
1274
696
|
select?: Prisma.ModifierSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1275
|
-
/**
|
|
1276
|
-
* Omit specific fields from the Modifier
|
|
1277
|
-
*/
|
|
1278
697
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1279
|
-
/**
|
|
1280
|
-
* The data used to update Modifiers.
|
|
1281
|
-
*/
|
|
1282
698
|
data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyInput>;
|
|
1283
|
-
/**
|
|
1284
|
-
* Filter which Modifiers to update
|
|
1285
|
-
*/
|
|
1286
699
|
where?: Prisma.ModifierWhereInput;
|
|
1287
|
-
/**
|
|
1288
|
-
* Limit how many Modifiers to update.
|
|
1289
|
-
*/
|
|
1290
700
|
limit?: number;
|
|
1291
|
-
/**
|
|
1292
|
-
* Choose, which related nodes to fetch as well
|
|
1293
|
-
*/
|
|
1294
701
|
include?: Prisma.ModifierIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1295
702
|
};
|
|
1296
|
-
/**
|
|
1297
|
-
* Modifier upsert
|
|
1298
|
-
*/
|
|
1299
703
|
export type ModifierUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1300
|
-
/**
|
|
1301
|
-
* Select specific fields to fetch from the Modifier
|
|
1302
|
-
*/
|
|
1303
704
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1304
|
-
/**
|
|
1305
|
-
* Omit specific fields from the Modifier
|
|
1306
|
-
*/
|
|
1307
705
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1308
|
-
/**
|
|
1309
|
-
* Choose, which related nodes to fetch as well
|
|
1310
|
-
*/
|
|
1311
706
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1312
|
-
/**
|
|
1313
|
-
* The filter to search for the Modifier to update in case it exists.
|
|
1314
|
-
*/
|
|
1315
707
|
where: Prisma.ModifierWhereUniqueInput;
|
|
1316
|
-
/**
|
|
1317
|
-
* In case the Modifier found by the `where` argument doesn't exist, create a new Modifier with this data.
|
|
1318
|
-
*/
|
|
1319
708
|
create: Prisma.XOR<Prisma.ModifierCreateInput, Prisma.ModifierUncheckedCreateInput>;
|
|
1320
|
-
/**
|
|
1321
|
-
* In case the Modifier was found with the provided `where` argument, update it with this data.
|
|
1322
|
-
*/
|
|
1323
709
|
update: Prisma.XOR<Prisma.ModifierUpdateInput, Prisma.ModifierUncheckedUpdateInput>;
|
|
1324
710
|
};
|
|
1325
|
-
/**
|
|
1326
|
-
* Modifier delete
|
|
1327
|
-
*/
|
|
1328
711
|
export type ModifierDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1329
|
-
/**
|
|
1330
|
-
* Select specific fields to fetch from the Modifier
|
|
1331
|
-
*/
|
|
1332
712
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1333
|
-
/**
|
|
1334
|
-
* Omit specific fields from the Modifier
|
|
1335
|
-
*/
|
|
1336
713
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1337
|
-
/**
|
|
1338
|
-
* Choose, which related nodes to fetch as well
|
|
1339
|
-
*/
|
|
1340
714
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1341
|
-
/**
|
|
1342
|
-
* Filter which Modifier to delete.
|
|
1343
|
-
*/
|
|
1344
715
|
where: Prisma.ModifierWhereUniqueInput;
|
|
1345
716
|
};
|
|
1346
|
-
/**
|
|
1347
|
-
* Modifier deleteMany
|
|
1348
|
-
*/
|
|
1349
717
|
export type ModifierDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1350
|
-
/**
|
|
1351
|
-
* Filter which Modifiers to delete
|
|
1352
|
-
*/
|
|
1353
718
|
where?: Prisma.ModifierWhereInput;
|
|
1354
|
-
/**
|
|
1355
|
-
* Limit how many Modifiers to delete.
|
|
1356
|
-
*/
|
|
1357
719
|
limit?: number;
|
|
1358
720
|
};
|
|
1359
|
-
/**
|
|
1360
|
-
* Modifier.images
|
|
1361
|
-
*/
|
|
1362
721
|
export type Modifier$imagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1363
|
-
/**
|
|
1364
|
-
* Select specific fields to fetch from the File
|
|
1365
|
-
*/
|
|
1366
722
|
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
1367
|
-
/**
|
|
1368
|
-
* Omit specific fields from the File
|
|
1369
|
-
*/
|
|
1370
723
|
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
1371
|
-
/**
|
|
1372
|
-
* Choose, which related nodes to fetch as well
|
|
1373
|
-
*/
|
|
1374
724
|
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
1375
725
|
where?: Prisma.FileWhereInput;
|
|
1376
726
|
orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
|
|
@@ -1379,21 +729,9 @@ export type Modifier$imagesArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
1379
729
|
skip?: number;
|
|
1380
730
|
distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
|
|
1381
731
|
};
|
|
1382
|
-
/**
|
|
1383
|
-
* Modifier without action
|
|
1384
|
-
*/
|
|
1385
732
|
export type ModifierDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1386
|
-
/**
|
|
1387
|
-
* Select specific fields to fetch from the Modifier
|
|
1388
|
-
*/
|
|
1389
733
|
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
1390
|
-
/**
|
|
1391
|
-
* Omit specific fields from the Modifier
|
|
1392
|
-
*/
|
|
1393
734
|
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
1394
|
-
/**
|
|
1395
|
-
* Choose, which related nodes to fetch as well
|
|
1396
|
-
*/
|
|
1397
735
|
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
1398
736
|
};
|
|
1399
737
|
export {};
|