@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 ProductTranslation
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
3
|
export type ProductTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductTranslationPayload>;
|
|
8
4
|
export type AggregateProductTranslation = {
|
|
9
5
|
_count: ProductTranslationCountAggregateOutputType | null;
|
|
@@ -79,51 +75,13 @@ export type ProductTranslationCountAggregateInputType = {
|
|
|
79
75
|
_all?: true;
|
|
80
76
|
};
|
|
81
77
|
export type ProductTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
82
|
-
/**
|
|
83
|
-
* Filter which ProductTranslation to aggregate.
|
|
84
|
-
*/
|
|
85
78
|
where?: Prisma.ProductTranslationWhereInput;
|
|
86
|
-
/**
|
|
87
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
88
|
-
*
|
|
89
|
-
* Determine the order of ProductTranslations to fetch.
|
|
90
|
-
*/
|
|
91
79
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
92
|
-
/**
|
|
93
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
94
|
-
*
|
|
95
|
-
* Sets the start position
|
|
96
|
-
*/
|
|
97
80
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
98
|
-
/**
|
|
99
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
-
*
|
|
101
|
-
* Take `±n` ProductTranslations from the position of the cursor.
|
|
102
|
-
*/
|
|
103
81
|
take?: number;
|
|
104
|
-
/**
|
|
105
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
106
|
-
*
|
|
107
|
-
* Skip the first `n` ProductTranslations.
|
|
108
|
-
*/
|
|
109
82
|
skip?: number;
|
|
110
|
-
/**
|
|
111
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
-
*
|
|
113
|
-
* Count returned ProductTranslations
|
|
114
|
-
**/
|
|
115
83
|
_count?: true | ProductTranslationCountAggregateInputType;
|
|
116
|
-
/**
|
|
117
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
-
*
|
|
119
|
-
* Select which fields to find the minimum value
|
|
120
|
-
**/
|
|
121
84
|
_min?: ProductTranslationMinAggregateInputType;
|
|
122
|
-
/**
|
|
123
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
-
*
|
|
125
|
-
* Select which fields to find the maximum value
|
|
126
|
-
**/
|
|
127
85
|
_max?: ProductTranslationMaxAggregateInputType;
|
|
128
86
|
};
|
|
129
87
|
export type GetProductTranslationAggregateType<T extends ProductTranslationAggregateArgs> = {
|
|
@@ -568,290 +526,22 @@ export interface ProductTranslationDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
568
526
|
name: 'ProductTranslation';
|
|
569
527
|
};
|
|
570
528
|
};
|
|
571
|
-
/**
|
|
572
|
-
* Find zero or one ProductTranslation that matches the filter.
|
|
573
|
-
* @param {ProductTranslationFindUniqueArgs} args - Arguments to find a ProductTranslation
|
|
574
|
-
* @example
|
|
575
|
-
* // Get one ProductTranslation
|
|
576
|
-
* const productTranslation = await prisma.productTranslation.findUnique({
|
|
577
|
-
* where: {
|
|
578
|
-
* // ... provide filter here
|
|
579
|
-
* }
|
|
580
|
-
* })
|
|
581
|
-
*/
|
|
582
529
|
findUnique<T extends ProductTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
583
|
-
/**
|
|
584
|
-
* Find one ProductTranslation that matches the filter or throw an error with `error.code='P2025'`
|
|
585
|
-
* if no matches were found.
|
|
586
|
-
* @param {ProductTranslationFindUniqueOrThrowArgs} args - Arguments to find a ProductTranslation
|
|
587
|
-
* @example
|
|
588
|
-
* // Get one ProductTranslation
|
|
589
|
-
* const productTranslation = await prisma.productTranslation.findUniqueOrThrow({
|
|
590
|
-
* where: {
|
|
591
|
-
* // ... provide filter here
|
|
592
|
-
* }
|
|
593
|
-
* })
|
|
594
|
-
*/
|
|
595
530
|
findUniqueOrThrow<T extends ProductTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
596
|
-
/**
|
|
597
|
-
* Find the first ProductTranslation that matches the filter.
|
|
598
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
599
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
600
|
-
* @param {ProductTranslationFindFirstArgs} args - Arguments to find a ProductTranslation
|
|
601
|
-
* @example
|
|
602
|
-
* // Get one ProductTranslation
|
|
603
|
-
* const productTranslation = await prisma.productTranslation.findFirst({
|
|
604
|
-
* where: {
|
|
605
|
-
* // ... provide filter here
|
|
606
|
-
* }
|
|
607
|
-
* })
|
|
608
|
-
*/
|
|
609
531
|
findFirst<T extends ProductTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
610
|
-
/**
|
|
611
|
-
* Find the first ProductTranslation that matches the filter or
|
|
612
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
613
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
614
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
615
|
-
* @param {ProductTranslationFindFirstOrThrowArgs} args - Arguments to find a ProductTranslation
|
|
616
|
-
* @example
|
|
617
|
-
* // Get one ProductTranslation
|
|
618
|
-
* const productTranslation = await prisma.productTranslation.findFirstOrThrow({
|
|
619
|
-
* where: {
|
|
620
|
-
* // ... provide filter here
|
|
621
|
-
* }
|
|
622
|
-
* })
|
|
623
|
-
*/
|
|
624
532
|
findFirstOrThrow<T extends ProductTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
625
|
-
/**
|
|
626
|
-
* Find zero or more ProductTranslations that matches the filter.
|
|
627
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
628
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
629
|
-
* @param {ProductTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
630
|
-
* @example
|
|
631
|
-
* // Get all ProductTranslations
|
|
632
|
-
* const productTranslations = await prisma.productTranslation.findMany()
|
|
633
|
-
*
|
|
634
|
-
* // Get first 10 ProductTranslations
|
|
635
|
-
* const productTranslations = await prisma.productTranslation.findMany({ take: 10 })
|
|
636
|
-
*
|
|
637
|
-
* // Only select the `id`
|
|
638
|
-
* const productTranslationWithIdOnly = await prisma.productTranslation.findMany({ select: { id: true } })
|
|
639
|
-
*
|
|
640
|
-
*/
|
|
641
533
|
findMany<T extends ProductTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
642
|
-
/**
|
|
643
|
-
* Create a ProductTranslation.
|
|
644
|
-
* @param {ProductTranslationCreateArgs} args - Arguments to create a ProductTranslation.
|
|
645
|
-
* @example
|
|
646
|
-
* // Create one ProductTranslation
|
|
647
|
-
* const ProductTranslation = await prisma.productTranslation.create({
|
|
648
|
-
* data: {
|
|
649
|
-
* // ... data to create a ProductTranslation
|
|
650
|
-
* }
|
|
651
|
-
* })
|
|
652
|
-
*
|
|
653
|
-
*/
|
|
654
534
|
create<T extends ProductTranslationCreateArgs>(args: Prisma.SelectSubset<T, ProductTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
655
|
-
/**
|
|
656
|
-
* Create many ProductTranslations.
|
|
657
|
-
* @param {ProductTranslationCreateManyArgs} args - Arguments to create many ProductTranslations.
|
|
658
|
-
* @example
|
|
659
|
-
* // Create many ProductTranslations
|
|
660
|
-
* const productTranslation = await prisma.productTranslation.createMany({
|
|
661
|
-
* data: [
|
|
662
|
-
* // ... provide data here
|
|
663
|
-
* ]
|
|
664
|
-
* })
|
|
665
|
-
*
|
|
666
|
-
*/
|
|
667
535
|
createMany<T extends ProductTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
668
|
-
/**
|
|
669
|
-
* Create many ProductTranslations and returns the data saved in the database.
|
|
670
|
-
* @param {ProductTranslationCreateManyAndReturnArgs} args - Arguments to create many ProductTranslations.
|
|
671
|
-
* @example
|
|
672
|
-
* // Create many ProductTranslations
|
|
673
|
-
* const productTranslation = await prisma.productTranslation.createManyAndReturn({
|
|
674
|
-
* data: [
|
|
675
|
-
* // ... provide data here
|
|
676
|
-
* ]
|
|
677
|
-
* })
|
|
678
|
-
*
|
|
679
|
-
* // Create many ProductTranslations and only return the `id`
|
|
680
|
-
* const productTranslationWithIdOnly = await prisma.productTranslation.createManyAndReturn({
|
|
681
|
-
* select: { id: true },
|
|
682
|
-
* data: [
|
|
683
|
-
* // ... provide data here
|
|
684
|
-
* ]
|
|
685
|
-
* })
|
|
686
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
-
*
|
|
689
|
-
*/
|
|
690
536
|
createManyAndReturn<T extends ProductTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
691
|
-
/**
|
|
692
|
-
* Delete a ProductTranslation.
|
|
693
|
-
* @param {ProductTranslationDeleteArgs} args - Arguments to delete one ProductTranslation.
|
|
694
|
-
* @example
|
|
695
|
-
* // Delete one ProductTranslation
|
|
696
|
-
* const ProductTranslation = await prisma.productTranslation.delete({
|
|
697
|
-
* where: {
|
|
698
|
-
* // ... filter to delete one ProductTranslation
|
|
699
|
-
* }
|
|
700
|
-
* })
|
|
701
|
-
*
|
|
702
|
-
*/
|
|
703
537
|
delete<T extends ProductTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ProductTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
704
|
-
/**
|
|
705
|
-
* Update one ProductTranslation.
|
|
706
|
-
* @param {ProductTranslationUpdateArgs} args - Arguments to update one ProductTranslation.
|
|
707
|
-
* @example
|
|
708
|
-
* // Update one ProductTranslation
|
|
709
|
-
* const productTranslation = await prisma.productTranslation.update({
|
|
710
|
-
* where: {
|
|
711
|
-
* // ... provide filter here
|
|
712
|
-
* },
|
|
713
|
-
* data: {
|
|
714
|
-
* // ... provide data here
|
|
715
|
-
* }
|
|
716
|
-
* })
|
|
717
|
-
*
|
|
718
|
-
*/
|
|
719
538
|
update<T extends ProductTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
720
|
-
/**
|
|
721
|
-
* Delete zero or more ProductTranslations.
|
|
722
|
-
* @param {ProductTranslationDeleteManyArgs} args - Arguments to filter ProductTranslations to delete.
|
|
723
|
-
* @example
|
|
724
|
-
* // Delete a few ProductTranslations
|
|
725
|
-
* const { count } = await prisma.productTranslation.deleteMany({
|
|
726
|
-
* where: {
|
|
727
|
-
* // ... provide filter here
|
|
728
|
-
* }
|
|
729
|
-
* })
|
|
730
|
-
*
|
|
731
|
-
*/
|
|
732
539
|
deleteMany<T extends ProductTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
733
|
-
/**
|
|
734
|
-
* Update zero or more ProductTranslations.
|
|
735
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
736
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
737
|
-
* @param {ProductTranslationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
738
|
-
* @example
|
|
739
|
-
* // Update many ProductTranslations
|
|
740
|
-
* const productTranslation = await prisma.productTranslation.updateMany({
|
|
741
|
-
* where: {
|
|
742
|
-
* // ... provide filter here
|
|
743
|
-
* },
|
|
744
|
-
* data: {
|
|
745
|
-
* // ... provide data here
|
|
746
|
-
* }
|
|
747
|
-
* })
|
|
748
|
-
*
|
|
749
|
-
*/
|
|
750
540
|
updateMany<T extends ProductTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
751
|
-
/**
|
|
752
|
-
* Update zero or more ProductTranslations and returns the data updated in the database.
|
|
753
|
-
* @param {ProductTranslationUpdateManyAndReturnArgs} args - Arguments to update many ProductTranslations.
|
|
754
|
-
* @example
|
|
755
|
-
* // Update many ProductTranslations
|
|
756
|
-
* const productTranslation = await prisma.productTranslation.updateManyAndReturn({
|
|
757
|
-
* where: {
|
|
758
|
-
* // ... provide filter here
|
|
759
|
-
* },
|
|
760
|
-
* data: [
|
|
761
|
-
* // ... provide data here
|
|
762
|
-
* ]
|
|
763
|
-
* })
|
|
764
|
-
*
|
|
765
|
-
* // Update zero or more ProductTranslations and only return the `id`
|
|
766
|
-
* const productTranslationWithIdOnly = await prisma.productTranslation.updateManyAndReturn({
|
|
767
|
-
* select: { id: true },
|
|
768
|
-
* where: {
|
|
769
|
-
* // ... provide filter here
|
|
770
|
-
* },
|
|
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
541
|
updateManyAndReturn<T extends ProductTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
780
|
-
/**
|
|
781
|
-
* Create or update one ProductTranslation.
|
|
782
|
-
* @param {ProductTranslationUpsertArgs} args - Arguments to update or create a ProductTranslation.
|
|
783
|
-
* @example
|
|
784
|
-
* // Update or create a ProductTranslation
|
|
785
|
-
* const productTranslation = await prisma.productTranslation.upsert({
|
|
786
|
-
* create: {
|
|
787
|
-
* // ... data to create a ProductTranslation
|
|
788
|
-
* },
|
|
789
|
-
* update: {
|
|
790
|
-
* // ... in case it already exists, update
|
|
791
|
-
* },
|
|
792
|
-
* where: {
|
|
793
|
-
* // ... the filter for the ProductTranslation we want to update
|
|
794
|
-
* }
|
|
795
|
-
* })
|
|
796
|
-
*/
|
|
797
542
|
upsert<T extends ProductTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
798
|
-
/**
|
|
799
|
-
* Count the number of ProductTranslations.
|
|
800
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
801
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
802
|
-
* @param {ProductTranslationCountArgs} args - Arguments to filter ProductTranslations to count.
|
|
803
|
-
* @example
|
|
804
|
-
* // Count the number of ProductTranslations
|
|
805
|
-
* const count = await prisma.productTranslation.count({
|
|
806
|
-
* where: {
|
|
807
|
-
* // ... the filter for the ProductTranslations we want to count
|
|
808
|
-
* }
|
|
809
|
-
* })
|
|
810
|
-
**/
|
|
811
543
|
count<T extends ProductTranslationCountArgs>(args?: Prisma.Subset<T, ProductTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductTranslationCountAggregateOutputType> : number>;
|
|
812
|
-
/**
|
|
813
|
-
* Allows you to perform aggregations operations on a ProductTranslation.
|
|
814
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
815
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
816
|
-
* @param {ProductTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
817
|
-
* @example
|
|
818
|
-
* // Ordered by age ascending
|
|
819
|
-
* // Where email contains prisma.io
|
|
820
|
-
* // Limited to the 10 users
|
|
821
|
-
* const aggregations = await prisma.user.aggregate({
|
|
822
|
-
* _avg: {
|
|
823
|
-
* age: true,
|
|
824
|
-
* },
|
|
825
|
-
* where: {
|
|
826
|
-
* email: {
|
|
827
|
-
* contains: "prisma.io",
|
|
828
|
-
* },
|
|
829
|
-
* },
|
|
830
|
-
* orderBy: {
|
|
831
|
-
* age: "asc",
|
|
832
|
-
* },
|
|
833
|
-
* take: 10,
|
|
834
|
-
* })
|
|
835
|
-
**/
|
|
836
544
|
aggregate<T extends ProductTranslationAggregateArgs>(args: Prisma.Subset<T, ProductTranslationAggregateArgs>): Prisma.PrismaPromise<GetProductTranslationAggregateType<T>>;
|
|
837
|
-
/**
|
|
838
|
-
* Group by ProductTranslation.
|
|
839
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
840
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
841
|
-
* @param {ProductTranslationGroupByArgs} args - Group by arguments.
|
|
842
|
-
* @example
|
|
843
|
-
* // Group by city, order by createdAt, get count
|
|
844
|
-
* const result = await prisma.user.groupBy({
|
|
845
|
-
* by: ['city', 'createdAt'],
|
|
846
|
-
* orderBy: {
|
|
847
|
-
* createdAt: true
|
|
848
|
-
* },
|
|
849
|
-
* _count: {
|
|
850
|
-
* _all: true
|
|
851
|
-
* },
|
|
852
|
-
* })
|
|
853
|
-
*
|
|
854
|
-
**/
|
|
855
545
|
groupBy<T extends ProductTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
856
546
|
orderBy: ProductTranslationGroupByArgs['orderBy'];
|
|
857
547
|
} : {
|
|
@@ -870,44 +560,15 @@ export interface ProductTranslationDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
870
560
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
871
561
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
872
562
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
873
|
-
/**
|
|
874
|
-
* Fields of the ProductTranslation model
|
|
875
|
-
*/
|
|
876
563
|
readonly fields: ProductTranslationFieldRefs;
|
|
877
564
|
}
|
|
878
|
-
/**
|
|
879
|
-
* The delegate class that acts as a "Promise-like" for ProductTranslation.
|
|
880
|
-
* Why is this prefixed with `Prisma__`?
|
|
881
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
882
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
883
|
-
*/
|
|
884
565
|
export interface Prisma__ProductTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
885
566
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
886
567
|
product<T extends Prisma.ProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductClient<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
887
|
-
/**
|
|
888
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
889
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
890
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
891
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
892
|
-
*/
|
|
893
568
|
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>;
|
|
894
|
-
/**
|
|
895
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
896
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
897
|
-
* @returns A Promise for the completion of the callback.
|
|
898
|
-
*/
|
|
899
569
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
900
|
-
/**
|
|
901
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
902
|
-
* resolved value cannot be modified from the callback.
|
|
903
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
904
|
-
* @returns A Promise for the completion of the callback.
|
|
905
|
-
*/
|
|
906
570
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
907
571
|
}
|
|
908
|
-
/**
|
|
909
|
-
* Fields of the ProductTranslation model
|
|
910
|
-
*/
|
|
911
572
|
export interface ProductTranslationFieldRefs {
|
|
912
573
|
readonly id: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
913
574
|
readonly locale: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
@@ -919,398 +580,109 @@ export interface ProductTranslationFieldRefs {
|
|
|
919
580
|
readonly updatedAt: Prisma.FieldRef<"ProductTranslation", 'DateTime'>;
|
|
920
581
|
readonly updatedBy: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
921
582
|
}
|
|
922
|
-
/**
|
|
923
|
-
* ProductTranslation findUnique
|
|
924
|
-
*/
|
|
925
583
|
export type ProductTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
926
|
-
/**
|
|
927
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
928
|
-
*/
|
|
929
584
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
930
|
-
/**
|
|
931
|
-
* Omit specific fields from the ProductTranslation
|
|
932
|
-
*/
|
|
933
585
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
934
|
-
/**
|
|
935
|
-
* Choose, which related nodes to fetch as well
|
|
936
|
-
*/
|
|
937
586
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
938
|
-
/**
|
|
939
|
-
* Filter, which ProductTranslation to fetch.
|
|
940
|
-
*/
|
|
941
587
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
942
588
|
};
|
|
943
|
-
/**
|
|
944
|
-
* ProductTranslation findUniqueOrThrow
|
|
945
|
-
*/
|
|
946
589
|
export type ProductTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
947
|
-
/**
|
|
948
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
949
|
-
*/
|
|
950
590
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
951
|
-
/**
|
|
952
|
-
* Omit specific fields from the ProductTranslation
|
|
953
|
-
*/
|
|
954
591
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
955
|
-
/**
|
|
956
|
-
* Choose, which related nodes to fetch as well
|
|
957
|
-
*/
|
|
958
592
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
959
|
-
/**
|
|
960
|
-
* Filter, which ProductTranslation to fetch.
|
|
961
|
-
*/
|
|
962
593
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
963
594
|
};
|
|
964
|
-
/**
|
|
965
|
-
* ProductTranslation findFirst
|
|
966
|
-
*/
|
|
967
595
|
export type ProductTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
-
/**
|
|
969
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
970
|
-
*/
|
|
971
596
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
972
|
-
/**
|
|
973
|
-
* Omit specific fields from the ProductTranslation
|
|
974
|
-
*/
|
|
975
597
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
976
|
-
/**
|
|
977
|
-
* Choose, which related nodes to fetch as well
|
|
978
|
-
*/
|
|
979
598
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
980
|
-
/**
|
|
981
|
-
* Filter, which ProductTranslation to fetch.
|
|
982
|
-
*/
|
|
983
599
|
where?: Prisma.ProductTranslationWhereInput;
|
|
984
|
-
/**
|
|
985
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
986
|
-
*
|
|
987
|
-
* Determine the order of ProductTranslations to fetch.
|
|
988
|
-
*/
|
|
989
600
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
990
|
-
/**
|
|
991
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
992
|
-
*
|
|
993
|
-
* Sets the position for searching for ProductTranslations.
|
|
994
|
-
*/
|
|
995
601
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
996
|
-
/**
|
|
997
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
998
|
-
*
|
|
999
|
-
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1000
|
-
*/
|
|
1001
602
|
take?: number;
|
|
1002
|
-
/**
|
|
1003
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1004
|
-
*
|
|
1005
|
-
* Skip the first `n` ProductTranslations.
|
|
1006
|
-
*/
|
|
1007
603
|
skip?: number;
|
|
1008
|
-
/**
|
|
1009
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1010
|
-
*
|
|
1011
|
-
* Filter by unique combinations of ProductTranslations.
|
|
1012
|
-
*/
|
|
1013
604
|
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
1014
605
|
};
|
|
1015
|
-
/**
|
|
1016
|
-
* ProductTranslation findFirstOrThrow
|
|
1017
|
-
*/
|
|
1018
606
|
export type ProductTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1019
|
-
/**
|
|
1020
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1021
|
-
*/
|
|
1022
607
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1023
|
-
/**
|
|
1024
|
-
* Omit specific fields from the ProductTranslation
|
|
1025
|
-
*/
|
|
1026
608
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1027
|
-
/**
|
|
1028
|
-
* Choose, which related nodes to fetch as well
|
|
1029
|
-
*/
|
|
1030
609
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1031
|
-
/**
|
|
1032
|
-
* Filter, which ProductTranslation to fetch.
|
|
1033
|
-
*/
|
|
1034
610
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1035
|
-
/**
|
|
1036
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1037
|
-
*
|
|
1038
|
-
* Determine the order of ProductTranslations to fetch.
|
|
1039
|
-
*/
|
|
1040
611
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
1041
|
-
/**
|
|
1042
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1043
|
-
*
|
|
1044
|
-
* Sets the position for searching for ProductTranslations.
|
|
1045
|
-
*/
|
|
1046
612
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1047
|
-
/**
|
|
1048
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1049
|
-
*
|
|
1050
|
-
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1051
|
-
*/
|
|
1052
613
|
take?: number;
|
|
1053
|
-
/**
|
|
1054
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1055
|
-
*
|
|
1056
|
-
* Skip the first `n` ProductTranslations.
|
|
1057
|
-
*/
|
|
1058
614
|
skip?: number;
|
|
1059
|
-
/**
|
|
1060
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1061
|
-
*
|
|
1062
|
-
* Filter by unique combinations of ProductTranslations.
|
|
1063
|
-
*/
|
|
1064
615
|
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
1065
616
|
};
|
|
1066
|
-
/**
|
|
1067
|
-
* ProductTranslation findMany
|
|
1068
|
-
*/
|
|
1069
617
|
export type ProductTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1070
|
-
/**
|
|
1071
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1072
|
-
*/
|
|
1073
618
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1074
|
-
/**
|
|
1075
|
-
* Omit specific fields from the ProductTranslation
|
|
1076
|
-
*/
|
|
1077
619
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1078
|
-
/**
|
|
1079
|
-
* Choose, which related nodes to fetch as well
|
|
1080
|
-
*/
|
|
1081
620
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1082
|
-
/**
|
|
1083
|
-
* Filter, which ProductTranslations to fetch.
|
|
1084
|
-
*/
|
|
1085
621
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1086
|
-
/**
|
|
1087
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1088
|
-
*
|
|
1089
|
-
* Determine the order of ProductTranslations to fetch.
|
|
1090
|
-
*/
|
|
1091
622
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
1092
|
-
/**
|
|
1093
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1094
|
-
*
|
|
1095
|
-
* Sets the position for listing ProductTranslations.
|
|
1096
|
-
*/
|
|
1097
623
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1098
|
-
/**
|
|
1099
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1100
|
-
*
|
|
1101
|
-
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1102
|
-
*/
|
|
1103
624
|
take?: number;
|
|
1104
|
-
/**
|
|
1105
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1106
|
-
*
|
|
1107
|
-
* Skip the first `n` ProductTranslations.
|
|
1108
|
-
*/
|
|
1109
625
|
skip?: number;
|
|
1110
626
|
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
1111
627
|
};
|
|
1112
|
-
/**
|
|
1113
|
-
* ProductTranslation create
|
|
1114
|
-
*/
|
|
1115
628
|
export type ProductTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1116
|
-
/**
|
|
1117
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1118
|
-
*/
|
|
1119
629
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1120
|
-
/**
|
|
1121
|
-
* Omit specific fields from the ProductTranslation
|
|
1122
|
-
*/
|
|
1123
630
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1124
|
-
/**
|
|
1125
|
-
* Choose, which related nodes to fetch as well
|
|
1126
|
-
*/
|
|
1127
631
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1128
|
-
/**
|
|
1129
|
-
* The data needed to create a ProductTranslation.
|
|
1130
|
-
*/
|
|
1131
632
|
data: Prisma.XOR<Prisma.ProductTranslationCreateInput, Prisma.ProductTranslationUncheckedCreateInput>;
|
|
1132
633
|
};
|
|
1133
|
-
/**
|
|
1134
|
-
* ProductTranslation createMany
|
|
1135
|
-
*/
|
|
1136
634
|
export type ProductTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1137
|
-
/**
|
|
1138
|
-
* The data used to create many ProductTranslations.
|
|
1139
|
-
*/
|
|
1140
635
|
data: Prisma.ProductTranslationCreateManyInput | Prisma.ProductTranslationCreateManyInput[];
|
|
1141
636
|
skipDuplicates?: boolean;
|
|
1142
637
|
};
|
|
1143
|
-
/**
|
|
1144
|
-
* ProductTranslation createManyAndReturn
|
|
1145
|
-
*/
|
|
1146
638
|
export type ProductTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1147
|
-
/**
|
|
1148
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1149
|
-
*/
|
|
1150
639
|
select?: Prisma.ProductTranslationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1151
|
-
/**
|
|
1152
|
-
* Omit specific fields from the ProductTranslation
|
|
1153
|
-
*/
|
|
1154
640
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1155
|
-
/**
|
|
1156
|
-
* The data used to create many ProductTranslations.
|
|
1157
|
-
*/
|
|
1158
641
|
data: Prisma.ProductTranslationCreateManyInput | Prisma.ProductTranslationCreateManyInput[];
|
|
1159
642
|
skipDuplicates?: boolean;
|
|
1160
|
-
/**
|
|
1161
|
-
* Choose, which related nodes to fetch as well
|
|
1162
|
-
*/
|
|
1163
643
|
include?: Prisma.ProductTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1164
644
|
};
|
|
1165
|
-
/**
|
|
1166
|
-
* ProductTranslation update
|
|
1167
|
-
*/
|
|
1168
645
|
export type ProductTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1169
|
-
/**
|
|
1170
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1171
|
-
*/
|
|
1172
646
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1173
|
-
/**
|
|
1174
|
-
* Omit specific fields from the ProductTranslation
|
|
1175
|
-
*/
|
|
1176
647
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1177
|
-
/**
|
|
1178
|
-
* Choose, which related nodes to fetch as well
|
|
1179
|
-
*/
|
|
1180
648
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1181
|
-
/**
|
|
1182
|
-
* The data needed to update a ProductTranslation.
|
|
1183
|
-
*/
|
|
1184
649
|
data: Prisma.XOR<Prisma.ProductTranslationUpdateInput, Prisma.ProductTranslationUncheckedUpdateInput>;
|
|
1185
|
-
/**
|
|
1186
|
-
* Choose, which ProductTranslation to update.
|
|
1187
|
-
*/
|
|
1188
650
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1189
651
|
};
|
|
1190
|
-
/**
|
|
1191
|
-
* ProductTranslation updateMany
|
|
1192
|
-
*/
|
|
1193
652
|
export type ProductTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
-
/**
|
|
1195
|
-
* The data used to update ProductTranslations.
|
|
1196
|
-
*/
|
|
1197
653
|
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyInput>;
|
|
1198
|
-
/**
|
|
1199
|
-
* Filter which ProductTranslations to update
|
|
1200
|
-
*/
|
|
1201
654
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1202
|
-
/**
|
|
1203
|
-
* Limit how many ProductTranslations to update.
|
|
1204
|
-
*/
|
|
1205
655
|
limit?: number;
|
|
1206
656
|
};
|
|
1207
|
-
/**
|
|
1208
|
-
* ProductTranslation updateManyAndReturn
|
|
1209
|
-
*/
|
|
1210
657
|
export type ProductTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1211
|
-
/**
|
|
1212
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1213
|
-
*/
|
|
1214
658
|
select?: Prisma.ProductTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1215
|
-
/**
|
|
1216
|
-
* Omit specific fields from the ProductTranslation
|
|
1217
|
-
*/
|
|
1218
659
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1219
|
-
/**
|
|
1220
|
-
* The data used to update ProductTranslations.
|
|
1221
|
-
*/
|
|
1222
660
|
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyInput>;
|
|
1223
|
-
/**
|
|
1224
|
-
* Filter which ProductTranslations to update
|
|
1225
|
-
*/
|
|
1226
661
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1227
|
-
/**
|
|
1228
|
-
* Limit how many ProductTranslations to update.
|
|
1229
|
-
*/
|
|
1230
662
|
limit?: number;
|
|
1231
|
-
/**
|
|
1232
|
-
* Choose, which related nodes to fetch as well
|
|
1233
|
-
*/
|
|
1234
663
|
include?: Prisma.ProductTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1235
664
|
};
|
|
1236
|
-
/**
|
|
1237
|
-
* ProductTranslation upsert
|
|
1238
|
-
*/
|
|
1239
665
|
export type ProductTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1240
|
-
/**
|
|
1241
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1242
|
-
*/
|
|
1243
666
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1244
|
-
/**
|
|
1245
|
-
* Omit specific fields from the ProductTranslation
|
|
1246
|
-
*/
|
|
1247
667
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1248
|
-
/**
|
|
1249
|
-
* Choose, which related nodes to fetch as well
|
|
1250
|
-
*/
|
|
1251
668
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1252
|
-
/**
|
|
1253
|
-
* The filter to search for the ProductTranslation to update in case it exists.
|
|
1254
|
-
*/
|
|
1255
669
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1256
|
-
/**
|
|
1257
|
-
* In case the ProductTranslation found by the `where` argument doesn't exist, create a new ProductTranslation with this data.
|
|
1258
|
-
*/
|
|
1259
670
|
create: Prisma.XOR<Prisma.ProductTranslationCreateInput, Prisma.ProductTranslationUncheckedCreateInput>;
|
|
1260
|
-
/**
|
|
1261
|
-
* In case the ProductTranslation was found with the provided `where` argument, update it with this data.
|
|
1262
|
-
*/
|
|
1263
671
|
update: Prisma.XOR<Prisma.ProductTranslationUpdateInput, Prisma.ProductTranslationUncheckedUpdateInput>;
|
|
1264
672
|
};
|
|
1265
|
-
/**
|
|
1266
|
-
* ProductTranslation delete
|
|
1267
|
-
*/
|
|
1268
673
|
export type ProductTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1269
|
-
/**
|
|
1270
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1271
|
-
*/
|
|
1272
674
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1273
|
-
/**
|
|
1274
|
-
* Omit specific fields from the ProductTranslation
|
|
1275
|
-
*/
|
|
1276
675
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1277
|
-
/**
|
|
1278
|
-
* Choose, which related nodes to fetch as well
|
|
1279
|
-
*/
|
|
1280
676
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1281
|
-
/**
|
|
1282
|
-
* Filter which ProductTranslation to delete.
|
|
1283
|
-
*/
|
|
1284
677
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1285
678
|
};
|
|
1286
|
-
/**
|
|
1287
|
-
* ProductTranslation deleteMany
|
|
1288
|
-
*/
|
|
1289
679
|
export type ProductTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
-
/**
|
|
1291
|
-
* Filter which ProductTranslations to delete
|
|
1292
|
-
*/
|
|
1293
680
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1294
|
-
/**
|
|
1295
|
-
* Limit how many ProductTranslations to delete.
|
|
1296
|
-
*/
|
|
1297
681
|
limit?: number;
|
|
1298
682
|
};
|
|
1299
|
-
/**
|
|
1300
|
-
* ProductTranslation without action
|
|
1301
|
-
*/
|
|
1302
683
|
export type ProductTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1303
|
-
/**
|
|
1304
|
-
* Select specific fields to fetch from the ProductTranslation
|
|
1305
|
-
*/
|
|
1306
684
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1307
|
-
/**
|
|
1308
|
-
* Omit specific fields from the ProductTranslation
|
|
1309
|
-
*/
|
|
1310
685
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1311
|
-
/**
|
|
1312
|
-
* Choose, which related nodes to fetch as well
|
|
1313
|
-
*/
|
|
1314
686
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1315
687
|
};
|
|
1316
688
|
export {};
|