@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.1
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/lib/generated/prisma/browser.d.ts +514 -0
- package/lib/generated/prisma/browser.js +57 -0
- package/lib/generated/prisma/browser.js.map +1 -0
- package/lib/generated/prisma/client.d.ts +531 -0
- package/lib/generated/prisma/client.js +69 -0
- package/lib/generated/prisma/client.js.map +1 -0
- package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
- package/lib/generated/prisma/commonInputTypes.js +12 -0
- package/lib/generated/prisma/commonInputTypes.js.map +1 -0
- package/lib/generated/prisma/dmmf.d.ts +4085 -0
- package/lib/generated/prisma/dmmf.js +27551 -0
- package/lib/generated/prisma/dmmf.js.map +1 -0
- package/lib/generated/prisma/enums.d.ts +216 -0
- package/lib/generated/prisma/enums.js +205 -0
- package/lib/generated/prisma/enums.js.map +1 -0
- package/lib/generated/prisma/internal/class.d.ts +1237 -0
- package/lib/generated/prisma/internal/class.js +79 -0
- package/lib/generated/prisma/internal/class.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
- package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
- package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
- package/lib/generated/prisma/kysely-types.d.ts +1499 -0
- package/lib/generated/prisma/kysely-types.js +196 -0
- package/lib/generated/prisma/kysely-types.js.map +1 -0
- package/lib/generated/prisma/models/Address.d.ts +1339 -0
- package/lib/generated/prisma/models/Address.js +12 -0
- package/lib/generated/prisma/models/Address.js.map +1 -0
- package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
- package/lib/generated/prisma/models/Administrator.js +12 -0
- package/lib/generated/prisma/models/Administrator.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
- package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
- package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
- package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
- package/lib/generated/prisma/models/ApiToken.js +12 -0
- package/lib/generated/prisma/models/ApiToken.js.map +1 -0
- package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
- package/lib/generated/prisma/models/AwsBucket.js +12 -0
- package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
- package/lib/generated/prisma/models/Card.d.ts +1533 -0
- package/lib/generated/prisma/models/Card.js +12 -0
- package/lib/generated/prisma/models/Card.js.map +1 -0
- package/lib/generated/prisma/models/Cart.d.ts +2315 -0
- package/lib/generated/prisma/models/Cart.js +12 -0
- package/lib/generated/prisma/models/Cart.js.map +1 -0
- package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
- package/lib/generated/prisma/models/CartCost.js +12 -0
- package/lib/generated/prisma/models/CartCost.js.map +1 -0
- package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
- package/lib/generated/prisma/models/CartLine.js +12 -0
- package/lib/generated/prisma/models/CartLine.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
- package/lib/generated/prisma/models/CartLineModifier.js +12 -0
- package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
- package/lib/generated/prisma/models/Checkout.js +12 -0
- package/lib/generated/prisma/models/Checkout.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
- package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
- package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
- package/lib/generated/prisma/models/CheckoutLine.js +12 -0
- package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
- package/lib/generated/prisma/models/Collection.d.ts +1961 -0
- package/lib/generated/prisma/models/Collection.js +12 -0
- package/lib/generated/prisma/models/Collection.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
- package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
- package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/Customer.d.ts +2964 -0
- package/lib/generated/prisma/models/Customer.js +12 -0
- package/lib/generated/prisma/models/Customer.js.map +1 -0
- package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
- package/lib/generated/prisma/models/CustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
- package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
- package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
- package/lib/generated/prisma/models/DiscountCode.js +12 -0
- package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
- package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
- package/lib/generated/prisma/models/EventLog.js +12 -0
- package/lib/generated/prisma/models/EventLog.js.map +1 -0
- package/lib/generated/prisma/models/Facet.d.ts +1266 -0
- package/lib/generated/prisma/models/Facet.js +12 -0
- package/lib/generated/prisma/models/Facet.js.map +1 -0
- package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
- package/lib/generated/prisma/models/FacetOption.js +12 -0
- package/lib/generated/prisma/models/FacetOption.js.map +1 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
- package/lib/generated/prisma/models/FeatureFlag.js +12 -0
- package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
- package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
- package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
- package/lib/generated/prisma/models/FreeItemRule.js +12 -0
- package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
- package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
- package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
- package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
- package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
- package/lib/generated/prisma/models/Ingredient.js +12 -0
- package/lib/generated/prisma/models/Ingredient.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
- package/lib/generated/prisma/models/IngredientToStore.js +12 -0
- package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
- package/lib/generated/prisma/models/Media.d.ts +2127 -0
- package/lib/generated/prisma/models/Media.js +12 -0
- package/lib/generated/prisma/models/Media.js.map +1 -0
- package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
- package/lib/generated/prisma/models/Modifier.js +12 -0
- package/lib/generated/prisma/models/Modifier.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
- package/lib/generated/prisma/models/ModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
- package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
- package/lib/generated/prisma/models/ModifierOption.js +12 -0
- package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
- package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
- package/lib/generated/prisma/models/OneTimeToken.js +12 -0
- package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
- package/lib/generated/prisma/models/Payment.d.ts +1560 -0
- package/lib/generated/prisma/models/Payment.js +12 -0
- package/lib/generated/prisma/models/Payment.js.map +1 -0
- package/lib/generated/prisma/models/Platform.d.ts +7442 -0
- package/lib/generated/prisma/models/Platform.js +12 -0
- package/lib/generated/prisma/models/Platform.js.map +1 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
- package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
- package/lib/generated/prisma/models/PrepTime.js +12 -0
- package/lib/generated/prisma/models/PrepTime.js.map +1 -0
- package/lib/generated/prisma/models/Product.d.ts +2975 -0
- package/lib/generated/prisma/models/Product.js +12 -0
- package/lib/generated/prisma/models/Product.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
- package/lib/generated/prisma/models/ProductCategory.js +12 -0
- package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
- package/lib/generated/prisma/models/ProductListing.js +12 -0
- package/lib/generated/prisma/models/ProductListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductToTag.js +12 -0
- package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
- package/lib/generated/prisma/models/ProductVariant.js +12 -0
- package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
- package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
- package/lib/generated/prisma/models/ProductVarietal.js +12 -0
- package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
- package/lib/generated/prisma/models/Refund.d.ts +1707 -0
- package/lib/generated/prisma/models/Refund.js +12 -0
- package/lib/generated/prisma/models/Refund.js.map +1 -0
- package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
- package/lib/generated/prisma/models/RefundLine.js +12 -0
- package/lib/generated/prisma/models/RefundLine.js.map +1 -0
- package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
- package/lib/generated/prisma/models/RelatedItems.js +12 -0
- package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
- package/lib/generated/prisma/models/Role.d.ts +1264 -0
- package/lib/generated/prisma/models/Role.js +12 -0
- package/lib/generated/prisma/models/Role.js.map +1 -0
- package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
- package/lib/generated/prisma/models/ScheduledTask.js +12 -0
- package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
- package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
- package/lib/generated/prisma/models/SmsConversation.js +12 -0
- package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
- package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
- package/lib/generated/prisma/models/StockLevel.js +12 -0
- package/lib/generated/prisma/models/StockLevel.js.map +1 -0
- package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
- package/lib/generated/prisma/models/StockLocation.js +12 -0
- package/lib/generated/prisma/models/StockLocation.js.map +1 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
- package/lib/generated/prisma/models/StockMovement.js +12 -0
- package/lib/generated/prisma/models/StockMovement.js.map +1 -0
- package/lib/generated/prisma/models/Store.d.ts +4487 -0
- package/lib/generated/prisma/models/Store.js +12 -0
- package/lib/generated/prisma/models/Store.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
- package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
- package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
- package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/Tag.d.ts +1581 -0
- package/lib/generated/prisma/models/Tag.js +12 -0
- package/lib/generated/prisma/models/Tag.js.map +1 -0
- package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
- package/lib/generated/prisma/models/TaxCategory.js +12 -0
- package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
- package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
- package/lib/generated/prisma/models/Transaction.js +12 -0
- package/lib/generated/prisma/models/Transaction.js.map +1 -0
- package/lib/generated/prisma/models/User.d.ts +1907 -0
- package/lib/generated/prisma/models/User.js +12 -0
- package/lib/generated/prisma/models/User.js.map +1 -0
- package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
- package/lib/generated/prisma/models/UserToRole.js +12 -0
- package/lib/generated/prisma/models/UserToRole.js.map +1 -0
- package/lib/generated/prisma/models.d.ts +103 -0
- package/lib/generated/prisma/models.js +3 -0
- package/lib/generated/prisma/models.js.map +1 -0
- package/lib/generated/prisma/pjtg.d.ts +145 -0
- package/lib/generated/prisma/pjtg.js +3 -0
- package/lib/generated/prisma/pjtg.js.map +1 -0
- package/lib/helpers.d.ts +37 -0
- package/lib/helpers.js +226 -0
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js.map +1 -0
- package/lib/kysely/index.d.ts +2 -0
- package/lib/kysely/index.js +19 -0
- package/lib/kysely/index.js.map +1 -0
- package/lib/kysely/kysely-db.d.ts +3 -0
- package/lib/kysely/kysely-db.js +3 -0
- package/lib/kysely/kysely-db.js.map +1 -0
- package/lib/kysely/utils/index.d.ts +4 -0
- package/lib/kysely/utils/index.js +21 -0
- package/lib/kysely/utils/index.js.map +1 -0
- package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
- package/lib/kysely/utils/serialize-bigint-value.js +13 -0
- package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
- package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
- package/lib/kysely/utils/serialize-numeric-value.js +11 -0
- package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
- package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
- package/lib/kysely/utils/shallow-dehydrate.js +3 -0
- package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
- package/lib/prisma-module/index.d.ts +4 -0
- package/lib/prisma-module/index.js +21 -0
- package/lib/prisma-module/index.js.map +1 -0
- package/lib/prisma-module/prisma-options.d.ts +59 -0
- package/lib/prisma-module/prisma-options.js +3 -0
- package/lib/prisma-module/prisma-options.js.map +1 -0
- package/lib/prisma-module/prisma.constants.d.ts +1 -0
- package/lib/prisma-module/prisma.constants.js +5 -0
- package/lib/prisma-module/prisma.constants.js.map +1 -0
- package/lib/prisma-module/prisma.module.d.ts +8 -0
- package/lib/prisma-module/prisma.module.js +73 -0
- package/lib/prisma-module/prisma.module.js.map +1 -0
- package/lib/prisma-module/prisma.service.d.ts +5 -0
- package/lib/prisma-module/prisma.service.js +29 -0
- package/lib/prisma-module/prisma.service.js.map +1 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -0
- package/lib/types.d.ts +7 -0
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
- package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
- package/lib/utils/ignore-prisma-builtins.js +3 -0
- package/lib/utils/ignore-prisma-builtins.js.map +1 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +20 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/prisma-where-to-sql.d.ts +5 -0
- package/lib/utils/prisma-where-to-sql.js +94 -0
- package/lib/utils/prisma-where-to-sql.js.map +1 -0
- package/lib/web360-prisma.constants.d.ts +2 -0
- package/lib/web360-prisma.constants.js +6 -0
- package/lib/web360-prisma.constants.js.map +1 -0
- package/lib/web360-prisma.module.d.ts +7 -0
- package/lib/web360-prisma.module.js +81 -0
- package/lib/web360-prisma.module.js.map +1 -0
- package/lib/web360-prisma.options.d.ts +38 -0
- package/lib/web360-prisma.options.js +3 -0
- package/lib/web360-prisma.options.js.map +1 -0
- package/lib/web360-prisma.service.d.ts +57 -0
- package/lib/web360-prisma.service.js +57 -0
- package/lib/web360-prisma.service.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,1250 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ProductVariantToMedia
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ProductVariantToMediaModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductVariantToMediaPayload>;
|
|
8
|
+
export type AggregateProductVariantToMedia = {
|
|
9
|
+
_count: ProductVariantToMediaCountAggregateOutputType | null;
|
|
10
|
+
_avg: ProductVariantToMediaAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ProductVariantToMediaSumAggregateOutputType | null;
|
|
12
|
+
_min: ProductVariantToMediaMinAggregateOutputType | null;
|
|
13
|
+
_max: ProductVariantToMediaMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ProductVariantToMediaAvgAggregateOutputType = {
|
|
16
|
+
productVariantId: number | null;
|
|
17
|
+
mediaId: number | null;
|
|
18
|
+
position: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type ProductVariantToMediaSumAggregateOutputType = {
|
|
21
|
+
productVariantId: bigint | null;
|
|
22
|
+
mediaId: bigint | null;
|
|
23
|
+
position: number | null;
|
|
24
|
+
};
|
|
25
|
+
export type ProductVariantToMediaMinAggregateOutputType = {
|
|
26
|
+
productVariantId: bigint | null;
|
|
27
|
+
mediaId: bigint | null;
|
|
28
|
+
position: number | null;
|
|
29
|
+
};
|
|
30
|
+
export type ProductVariantToMediaMaxAggregateOutputType = {
|
|
31
|
+
productVariantId: bigint | null;
|
|
32
|
+
mediaId: bigint | null;
|
|
33
|
+
position: number | null;
|
|
34
|
+
};
|
|
35
|
+
export type ProductVariantToMediaCountAggregateOutputType = {
|
|
36
|
+
productVariantId: number;
|
|
37
|
+
mediaId: number;
|
|
38
|
+
position: number;
|
|
39
|
+
_all: number;
|
|
40
|
+
};
|
|
41
|
+
export type ProductVariantToMediaAvgAggregateInputType = {
|
|
42
|
+
productVariantId?: true;
|
|
43
|
+
mediaId?: true;
|
|
44
|
+
position?: true;
|
|
45
|
+
};
|
|
46
|
+
export type ProductVariantToMediaSumAggregateInputType = {
|
|
47
|
+
productVariantId?: true;
|
|
48
|
+
mediaId?: true;
|
|
49
|
+
position?: true;
|
|
50
|
+
};
|
|
51
|
+
export type ProductVariantToMediaMinAggregateInputType = {
|
|
52
|
+
productVariantId?: true;
|
|
53
|
+
mediaId?: true;
|
|
54
|
+
position?: true;
|
|
55
|
+
};
|
|
56
|
+
export type ProductVariantToMediaMaxAggregateInputType = {
|
|
57
|
+
productVariantId?: true;
|
|
58
|
+
mediaId?: true;
|
|
59
|
+
position?: true;
|
|
60
|
+
};
|
|
61
|
+
export type ProductVariantToMediaCountAggregateInputType = {
|
|
62
|
+
productVariantId?: true;
|
|
63
|
+
mediaId?: true;
|
|
64
|
+
position?: true;
|
|
65
|
+
_all?: true;
|
|
66
|
+
};
|
|
67
|
+
export type ProductVariantToMediaAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
68
|
+
/**
|
|
69
|
+
* Filter which ProductVariantToMedia to aggregate.
|
|
70
|
+
*/
|
|
71
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
72
|
+
/**
|
|
73
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
74
|
+
*
|
|
75
|
+
* Determine the order of ProductVariantToMedias to fetch.
|
|
76
|
+
*/
|
|
77
|
+
orderBy?: Prisma.ProductVariantToMediaOrderByWithRelationInput | Prisma.ProductVariantToMediaOrderByWithRelationInput[];
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
80
|
+
*
|
|
81
|
+
* Sets the start position
|
|
82
|
+
*/
|
|
83
|
+
cursor?: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
86
|
+
*
|
|
87
|
+
* Take `±n` ProductVariantToMedias from the position of the cursor.
|
|
88
|
+
*/
|
|
89
|
+
take?: number;
|
|
90
|
+
/**
|
|
91
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
92
|
+
*
|
|
93
|
+
* Skip the first `n` ProductVariantToMedias.
|
|
94
|
+
*/
|
|
95
|
+
skip?: number;
|
|
96
|
+
/**
|
|
97
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
98
|
+
*
|
|
99
|
+
* Count returned ProductVariantToMedias
|
|
100
|
+
**/
|
|
101
|
+
_count?: true | ProductVariantToMediaCountAggregateInputType;
|
|
102
|
+
/**
|
|
103
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
104
|
+
*
|
|
105
|
+
* Select which fields to average
|
|
106
|
+
**/
|
|
107
|
+
_avg?: ProductVariantToMediaAvgAggregateInputType;
|
|
108
|
+
/**
|
|
109
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
110
|
+
*
|
|
111
|
+
* Select which fields to sum
|
|
112
|
+
**/
|
|
113
|
+
_sum?: ProductVariantToMediaSumAggregateInputType;
|
|
114
|
+
/**
|
|
115
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
116
|
+
*
|
|
117
|
+
* Select which fields to find the minimum value
|
|
118
|
+
**/
|
|
119
|
+
_min?: ProductVariantToMediaMinAggregateInputType;
|
|
120
|
+
/**
|
|
121
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
122
|
+
*
|
|
123
|
+
* Select which fields to find the maximum value
|
|
124
|
+
**/
|
|
125
|
+
_max?: ProductVariantToMediaMaxAggregateInputType;
|
|
126
|
+
};
|
|
127
|
+
export type GetProductVariantToMediaAggregateType<T extends ProductVariantToMediaAggregateArgs> = {
|
|
128
|
+
[P in keyof T & keyof AggregateProductVariantToMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductVariantToMedia[P]> : Prisma.GetScalarType<T[P], AggregateProductVariantToMedia[P]>;
|
|
129
|
+
};
|
|
130
|
+
export type ProductVariantToMediaGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
131
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
132
|
+
orderBy?: Prisma.ProductVariantToMediaOrderByWithAggregationInput | Prisma.ProductVariantToMediaOrderByWithAggregationInput[];
|
|
133
|
+
by: Prisma.ProductVariantToMediaScalarFieldEnum[] | Prisma.ProductVariantToMediaScalarFieldEnum;
|
|
134
|
+
having?: Prisma.ProductVariantToMediaScalarWhereWithAggregatesInput;
|
|
135
|
+
take?: number;
|
|
136
|
+
skip?: number;
|
|
137
|
+
_count?: ProductVariantToMediaCountAggregateInputType | true;
|
|
138
|
+
_avg?: ProductVariantToMediaAvgAggregateInputType;
|
|
139
|
+
_sum?: ProductVariantToMediaSumAggregateInputType;
|
|
140
|
+
_min?: ProductVariantToMediaMinAggregateInputType;
|
|
141
|
+
_max?: ProductVariantToMediaMaxAggregateInputType;
|
|
142
|
+
};
|
|
143
|
+
export type ProductVariantToMediaGroupByOutputType = {
|
|
144
|
+
productVariantId: bigint;
|
|
145
|
+
mediaId: bigint;
|
|
146
|
+
position: number;
|
|
147
|
+
_count: ProductVariantToMediaCountAggregateOutputType | null;
|
|
148
|
+
_avg: ProductVariantToMediaAvgAggregateOutputType | null;
|
|
149
|
+
_sum: ProductVariantToMediaSumAggregateOutputType | null;
|
|
150
|
+
_min: ProductVariantToMediaMinAggregateOutputType | null;
|
|
151
|
+
_max: ProductVariantToMediaMaxAggregateOutputType | null;
|
|
152
|
+
};
|
|
153
|
+
type GetProductVariantToMediaGroupByPayload<T extends ProductVariantToMediaGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductVariantToMediaGroupByOutputType, T['by']> & {
|
|
154
|
+
[P in ((keyof T) & (keyof ProductVariantToMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductVariantToMediaGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductVariantToMediaGroupByOutputType[P]>;
|
|
155
|
+
}>>;
|
|
156
|
+
export type ProductVariantToMediaWhereInput = {
|
|
157
|
+
AND?: Prisma.ProductVariantToMediaWhereInput | Prisma.ProductVariantToMediaWhereInput[];
|
|
158
|
+
OR?: Prisma.ProductVariantToMediaWhereInput[];
|
|
159
|
+
NOT?: Prisma.ProductVariantToMediaWhereInput | Prisma.ProductVariantToMediaWhereInput[];
|
|
160
|
+
productVariantId?: Prisma.BigIntFilter<"ProductVariantToMedia"> | bigint | number;
|
|
161
|
+
mediaId?: Prisma.BigIntFilter<"ProductVariantToMedia"> | bigint | number;
|
|
162
|
+
position?: Prisma.IntFilter<"ProductVariantToMedia"> | number;
|
|
163
|
+
productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
|
|
164
|
+
media?: Prisma.XOR<Prisma.MediaScalarRelationFilter, Prisma.MediaWhereInput>;
|
|
165
|
+
};
|
|
166
|
+
export type ProductVariantToMediaOrderByWithRelationInput = {
|
|
167
|
+
productVariantId?: Prisma.SortOrder;
|
|
168
|
+
mediaId?: Prisma.SortOrder;
|
|
169
|
+
position?: Prisma.SortOrder;
|
|
170
|
+
productVariant?: Prisma.ProductVariantOrderByWithRelationInput;
|
|
171
|
+
media?: Prisma.MediaOrderByWithRelationInput;
|
|
172
|
+
};
|
|
173
|
+
export type ProductVariantToMediaWhereUniqueInput = Prisma.AtLeast<{
|
|
174
|
+
productVariantId_mediaId_position?: Prisma.ProductVariantToMediaProductVariantIdMediaIdPositionCompoundUniqueInput;
|
|
175
|
+
AND?: Prisma.ProductVariantToMediaWhereInput | Prisma.ProductVariantToMediaWhereInput[];
|
|
176
|
+
OR?: Prisma.ProductVariantToMediaWhereInput[];
|
|
177
|
+
NOT?: Prisma.ProductVariantToMediaWhereInput | Prisma.ProductVariantToMediaWhereInput[];
|
|
178
|
+
productVariantId?: Prisma.BigIntFilter<"ProductVariantToMedia"> | bigint | number;
|
|
179
|
+
mediaId?: Prisma.BigIntFilter<"ProductVariantToMedia"> | bigint | number;
|
|
180
|
+
position?: Prisma.IntFilter<"ProductVariantToMedia"> | number;
|
|
181
|
+
productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
|
|
182
|
+
media?: Prisma.XOR<Prisma.MediaScalarRelationFilter, Prisma.MediaWhereInput>;
|
|
183
|
+
}, "productVariantId_mediaId_position">;
|
|
184
|
+
export type ProductVariantToMediaOrderByWithAggregationInput = {
|
|
185
|
+
productVariantId?: Prisma.SortOrder;
|
|
186
|
+
mediaId?: Prisma.SortOrder;
|
|
187
|
+
position?: Prisma.SortOrder;
|
|
188
|
+
_count?: Prisma.ProductVariantToMediaCountOrderByAggregateInput;
|
|
189
|
+
_avg?: Prisma.ProductVariantToMediaAvgOrderByAggregateInput;
|
|
190
|
+
_max?: Prisma.ProductVariantToMediaMaxOrderByAggregateInput;
|
|
191
|
+
_min?: Prisma.ProductVariantToMediaMinOrderByAggregateInput;
|
|
192
|
+
_sum?: Prisma.ProductVariantToMediaSumOrderByAggregateInput;
|
|
193
|
+
};
|
|
194
|
+
export type ProductVariantToMediaScalarWhereWithAggregatesInput = {
|
|
195
|
+
AND?: Prisma.ProductVariantToMediaScalarWhereWithAggregatesInput | Prisma.ProductVariantToMediaScalarWhereWithAggregatesInput[];
|
|
196
|
+
OR?: Prisma.ProductVariantToMediaScalarWhereWithAggregatesInput[];
|
|
197
|
+
NOT?: Prisma.ProductVariantToMediaScalarWhereWithAggregatesInput | Prisma.ProductVariantToMediaScalarWhereWithAggregatesInput[];
|
|
198
|
+
productVariantId?: Prisma.BigIntWithAggregatesFilter<"ProductVariantToMedia"> | bigint | number;
|
|
199
|
+
mediaId?: Prisma.BigIntWithAggregatesFilter<"ProductVariantToMedia"> | bigint | number;
|
|
200
|
+
position?: Prisma.IntWithAggregatesFilter<"ProductVariantToMedia"> | number;
|
|
201
|
+
};
|
|
202
|
+
export type ProductVariantToMediaCreateInput = {
|
|
203
|
+
position?: number;
|
|
204
|
+
productVariant: Prisma.ProductVariantCreateNestedOneWithoutMediaInput;
|
|
205
|
+
media: Prisma.MediaCreateNestedOneWithoutProductVariantsInput;
|
|
206
|
+
};
|
|
207
|
+
export type ProductVariantToMediaUncheckedCreateInput = {
|
|
208
|
+
productVariantId: bigint | number;
|
|
209
|
+
mediaId: bigint | number;
|
|
210
|
+
position?: number;
|
|
211
|
+
};
|
|
212
|
+
export type ProductVariantToMediaUpdateInput = {
|
|
213
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
214
|
+
productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutMediaNestedInput;
|
|
215
|
+
media?: Prisma.MediaUpdateOneRequiredWithoutProductVariantsNestedInput;
|
|
216
|
+
};
|
|
217
|
+
export type ProductVariantToMediaUncheckedUpdateInput = {
|
|
218
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
219
|
+
mediaId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
220
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
221
|
+
};
|
|
222
|
+
export type ProductVariantToMediaCreateManyInput = {
|
|
223
|
+
productVariantId: bigint | number;
|
|
224
|
+
mediaId: bigint | number;
|
|
225
|
+
position?: number;
|
|
226
|
+
};
|
|
227
|
+
export type ProductVariantToMediaUpdateManyMutationInput = {
|
|
228
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
229
|
+
};
|
|
230
|
+
export type ProductVariantToMediaUncheckedUpdateManyInput = {
|
|
231
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
232
|
+
mediaId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
233
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
234
|
+
};
|
|
235
|
+
export type ProductVariantToMediaListRelationFilter = {
|
|
236
|
+
every?: Prisma.ProductVariantToMediaWhereInput;
|
|
237
|
+
some?: Prisma.ProductVariantToMediaWhereInput;
|
|
238
|
+
none?: Prisma.ProductVariantToMediaWhereInput;
|
|
239
|
+
};
|
|
240
|
+
export type ProductVariantToMediaOrderByRelationAggregateInput = {
|
|
241
|
+
_count?: Prisma.SortOrder;
|
|
242
|
+
};
|
|
243
|
+
export type ProductVariantToMediaProductVariantIdMediaIdPositionCompoundUniqueInput = {
|
|
244
|
+
productVariantId: bigint | number;
|
|
245
|
+
mediaId: bigint | number;
|
|
246
|
+
position: number;
|
|
247
|
+
};
|
|
248
|
+
export type ProductVariantToMediaCountOrderByAggregateInput = {
|
|
249
|
+
productVariantId?: Prisma.SortOrder;
|
|
250
|
+
mediaId?: Prisma.SortOrder;
|
|
251
|
+
position?: Prisma.SortOrder;
|
|
252
|
+
};
|
|
253
|
+
export type ProductVariantToMediaAvgOrderByAggregateInput = {
|
|
254
|
+
productVariantId?: Prisma.SortOrder;
|
|
255
|
+
mediaId?: Prisma.SortOrder;
|
|
256
|
+
position?: Prisma.SortOrder;
|
|
257
|
+
};
|
|
258
|
+
export type ProductVariantToMediaMaxOrderByAggregateInput = {
|
|
259
|
+
productVariantId?: Prisma.SortOrder;
|
|
260
|
+
mediaId?: Prisma.SortOrder;
|
|
261
|
+
position?: Prisma.SortOrder;
|
|
262
|
+
};
|
|
263
|
+
export type ProductVariantToMediaMinOrderByAggregateInput = {
|
|
264
|
+
productVariantId?: Prisma.SortOrder;
|
|
265
|
+
mediaId?: Prisma.SortOrder;
|
|
266
|
+
position?: Prisma.SortOrder;
|
|
267
|
+
};
|
|
268
|
+
export type ProductVariantToMediaSumOrderByAggregateInput = {
|
|
269
|
+
productVariantId?: Prisma.SortOrder;
|
|
270
|
+
mediaId?: Prisma.SortOrder;
|
|
271
|
+
position?: Prisma.SortOrder;
|
|
272
|
+
};
|
|
273
|
+
export type ProductVariantToMediaCreateNestedManyWithoutMediaInput = {
|
|
274
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput> | Prisma.ProductVariantToMediaCreateWithoutMediaInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput[];
|
|
275
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput[];
|
|
276
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyMediaInputEnvelope;
|
|
277
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
278
|
+
};
|
|
279
|
+
export type ProductVariantToMediaUncheckedCreateNestedManyWithoutMediaInput = {
|
|
280
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput> | Prisma.ProductVariantToMediaCreateWithoutMediaInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput[];
|
|
281
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput[];
|
|
282
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyMediaInputEnvelope;
|
|
283
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
284
|
+
};
|
|
285
|
+
export type ProductVariantToMediaUpdateManyWithoutMediaNestedInput = {
|
|
286
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput> | Prisma.ProductVariantToMediaCreateWithoutMediaInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput[];
|
|
287
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput[];
|
|
288
|
+
upsert?: Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutMediaInput | Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutMediaInput[];
|
|
289
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyMediaInputEnvelope;
|
|
290
|
+
set?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
291
|
+
disconnect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
292
|
+
delete?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
293
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
294
|
+
update?: Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutMediaInput | Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutMediaInput[];
|
|
295
|
+
updateMany?: Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutMediaInput | Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutMediaInput[];
|
|
296
|
+
deleteMany?: Prisma.ProductVariantToMediaScalarWhereInput | Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
297
|
+
};
|
|
298
|
+
export type ProductVariantToMediaUncheckedUpdateManyWithoutMediaNestedInput = {
|
|
299
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput> | Prisma.ProductVariantToMediaCreateWithoutMediaInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput[];
|
|
300
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutMediaInput[];
|
|
301
|
+
upsert?: Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutMediaInput | Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutMediaInput[];
|
|
302
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyMediaInputEnvelope;
|
|
303
|
+
set?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
304
|
+
disconnect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
305
|
+
delete?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
306
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
307
|
+
update?: Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutMediaInput | Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutMediaInput[];
|
|
308
|
+
updateMany?: Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutMediaInput | Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutMediaInput[];
|
|
309
|
+
deleteMany?: Prisma.ProductVariantToMediaScalarWhereInput | Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
310
|
+
};
|
|
311
|
+
export type ProductVariantToMediaCreateNestedManyWithoutProductVariantInput = {
|
|
312
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantToMediaCreateWithoutProductVariantInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput[];
|
|
313
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput[];
|
|
314
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyProductVariantInputEnvelope;
|
|
315
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
316
|
+
};
|
|
317
|
+
export type ProductVariantToMediaUncheckedCreateNestedManyWithoutProductVariantInput = {
|
|
318
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantToMediaCreateWithoutProductVariantInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput[];
|
|
319
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput[];
|
|
320
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyProductVariantInputEnvelope;
|
|
321
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
322
|
+
};
|
|
323
|
+
export type ProductVariantToMediaUpdateManyWithoutProductVariantNestedInput = {
|
|
324
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantToMediaCreateWithoutProductVariantInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput[];
|
|
325
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput[];
|
|
326
|
+
upsert?: Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutProductVariantInput[];
|
|
327
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyProductVariantInputEnvelope;
|
|
328
|
+
set?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
329
|
+
disconnect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
330
|
+
delete?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
331
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
332
|
+
update?: Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutProductVariantInput[];
|
|
333
|
+
updateMany?: Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutProductVariantInput | Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutProductVariantInput[];
|
|
334
|
+
deleteMany?: Prisma.ProductVariantToMediaScalarWhereInput | Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
335
|
+
};
|
|
336
|
+
export type ProductVariantToMediaUncheckedUpdateManyWithoutProductVariantNestedInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantToMediaCreateWithoutProductVariantInput[] | Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput[];
|
|
338
|
+
connectOrCreate?: Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantToMediaCreateOrConnectWithoutProductVariantInput[];
|
|
339
|
+
upsert?: Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantToMediaUpsertWithWhereUniqueWithoutProductVariantInput[];
|
|
340
|
+
createMany?: Prisma.ProductVariantToMediaCreateManyProductVariantInputEnvelope;
|
|
341
|
+
set?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
342
|
+
disconnect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
343
|
+
delete?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
344
|
+
connect?: Prisma.ProductVariantToMediaWhereUniqueInput | Prisma.ProductVariantToMediaWhereUniqueInput[];
|
|
345
|
+
update?: Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantToMediaUpdateWithWhereUniqueWithoutProductVariantInput[];
|
|
346
|
+
updateMany?: Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutProductVariantInput | Prisma.ProductVariantToMediaUpdateManyWithWhereWithoutProductVariantInput[];
|
|
347
|
+
deleteMany?: Prisma.ProductVariantToMediaScalarWhereInput | Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
348
|
+
};
|
|
349
|
+
export type ProductVariantToMediaCreateWithoutMediaInput = {
|
|
350
|
+
position?: number;
|
|
351
|
+
productVariant: Prisma.ProductVariantCreateNestedOneWithoutMediaInput;
|
|
352
|
+
};
|
|
353
|
+
export type ProductVariantToMediaUncheckedCreateWithoutMediaInput = {
|
|
354
|
+
productVariantId: bigint | number;
|
|
355
|
+
position?: number;
|
|
356
|
+
};
|
|
357
|
+
export type ProductVariantToMediaCreateOrConnectWithoutMediaInput = {
|
|
358
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
359
|
+
create: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput>;
|
|
360
|
+
};
|
|
361
|
+
export type ProductVariantToMediaCreateManyMediaInputEnvelope = {
|
|
362
|
+
data: Prisma.ProductVariantToMediaCreateManyMediaInput | Prisma.ProductVariantToMediaCreateManyMediaInput[];
|
|
363
|
+
skipDuplicates?: boolean;
|
|
364
|
+
};
|
|
365
|
+
export type ProductVariantToMediaUpsertWithWhereUniqueWithoutMediaInput = {
|
|
366
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
367
|
+
update: Prisma.XOR<Prisma.ProductVariantToMediaUpdateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedUpdateWithoutMediaInput>;
|
|
368
|
+
create: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutMediaInput>;
|
|
369
|
+
};
|
|
370
|
+
export type ProductVariantToMediaUpdateWithWhereUniqueWithoutMediaInput = {
|
|
371
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
372
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateWithoutMediaInput, Prisma.ProductVariantToMediaUncheckedUpdateWithoutMediaInput>;
|
|
373
|
+
};
|
|
374
|
+
export type ProductVariantToMediaUpdateManyWithWhereWithoutMediaInput = {
|
|
375
|
+
where: Prisma.ProductVariantToMediaScalarWhereInput;
|
|
376
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateManyMutationInput, Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutMediaInput>;
|
|
377
|
+
};
|
|
378
|
+
export type ProductVariantToMediaScalarWhereInput = {
|
|
379
|
+
AND?: Prisma.ProductVariantToMediaScalarWhereInput | Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
380
|
+
OR?: Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
381
|
+
NOT?: Prisma.ProductVariantToMediaScalarWhereInput | Prisma.ProductVariantToMediaScalarWhereInput[];
|
|
382
|
+
productVariantId?: Prisma.BigIntFilter<"ProductVariantToMedia"> | bigint | number;
|
|
383
|
+
mediaId?: Prisma.BigIntFilter<"ProductVariantToMedia"> | bigint | number;
|
|
384
|
+
position?: Prisma.IntFilter<"ProductVariantToMedia"> | number;
|
|
385
|
+
};
|
|
386
|
+
export type ProductVariantToMediaCreateWithoutProductVariantInput = {
|
|
387
|
+
position?: number;
|
|
388
|
+
media: Prisma.MediaCreateNestedOneWithoutProductVariantsInput;
|
|
389
|
+
};
|
|
390
|
+
export type ProductVariantToMediaUncheckedCreateWithoutProductVariantInput = {
|
|
391
|
+
mediaId: bigint | number;
|
|
392
|
+
position?: number;
|
|
393
|
+
};
|
|
394
|
+
export type ProductVariantToMediaCreateOrConnectWithoutProductVariantInput = {
|
|
395
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
396
|
+
create: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput>;
|
|
397
|
+
};
|
|
398
|
+
export type ProductVariantToMediaCreateManyProductVariantInputEnvelope = {
|
|
399
|
+
data: Prisma.ProductVariantToMediaCreateManyProductVariantInput | Prisma.ProductVariantToMediaCreateManyProductVariantInput[];
|
|
400
|
+
skipDuplicates?: boolean;
|
|
401
|
+
};
|
|
402
|
+
export type ProductVariantToMediaUpsertWithWhereUniqueWithoutProductVariantInput = {
|
|
403
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
404
|
+
update: Prisma.XOR<Prisma.ProductVariantToMediaUpdateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedUpdateWithoutProductVariantInput>;
|
|
405
|
+
create: Prisma.XOR<Prisma.ProductVariantToMediaCreateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedCreateWithoutProductVariantInput>;
|
|
406
|
+
};
|
|
407
|
+
export type ProductVariantToMediaUpdateWithWhereUniqueWithoutProductVariantInput = {
|
|
408
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
409
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateWithoutProductVariantInput, Prisma.ProductVariantToMediaUncheckedUpdateWithoutProductVariantInput>;
|
|
410
|
+
};
|
|
411
|
+
export type ProductVariantToMediaUpdateManyWithWhereWithoutProductVariantInput = {
|
|
412
|
+
where: Prisma.ProductVariantToMediaScalarWhereInput;
|
|
413
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateManyMutationInput, Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutProductVariantInput>;
|
|
414
|
+
};
|
|
415
|
+
export type ProductVariantToMediaCreateManyMediaInput = {
|
|
416
|
+
productVariantId: bigint | number;
|
|
417
|
+
position?: number;
|
|
418
|
+
};
|
|
419
|
+
export type ProductVariantToMediaUpdateWithoutMediaInput = {
|
|
420
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
421
|
+
productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutMediaNestedInput;
|
|
422
|
+
};
|
|
423
|
+
export type ProductVariantToMediaUncheckedUpdateWithoutMediaInput = {
|
|
424
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
425
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
426
|
+
};
|
|
427
|
+
export type ProductVariantToMediaUncheckedUpdateManyWithoutMediaInput = {
|
|
428
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
429
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
430
|
+
};
|
|
431
|
+
export type ProductVariantToMediaCreateManyProductVariantInput = {
|
|
432
|
+
mediaId: bigint | number;
|
|
433
|
+
position?: number;
|
|
434
|
+
};
|
|
435
|
+
export type ProductVariantToMediaUpdateWithoutProductVariantInput = {
|
|
436
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
437
|
+
media?: Prisma.MediaUpdateOneRequiredWithoutProductVariantsNestedInput;
|
|
438
|
+
};
|
|
439
|
+
export type ProductVariantToMediaUncheckedUpdateWithoutProductVariantInput = {
|
|
440
|
+
mediaId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
441
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
442
|
+
};
|
|
443
|
+
export type ProductVariantToMediaUncheckedUpdateManyWithoutProductVariantInput = {
|
|
444
|
+
mediaId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
445
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
446
|
+
};
|
|
447
|
+
export type ProductVariantToMediaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
448
|
+
productVariantId?: boolean;
|
|
449
|
+
mediaId?: boolean;
|
|
450
|
+
position?: boolean;
|
|
451
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
452
|
+
media?: boolean | Prisma.MediaDefaultArgs<ExtArgs>;
|
|
453
|
+
}, ExtArgs["result"]["productVariantToMedia"]>;
|
|
454
|
+
export type ProductVariantToMediaSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
455
|
+
productVariantId?: boolean;
|
|
456
|
+
mediaId?: boolean;
|
|
457
|
+
position?: boolean;
|
|
458
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
459
|
+
media?: boolean | Prisma.MediaDefaultArgs<ExtArgs>;
|
|
460
|
+
}, ExtArgs["result"]["productVariantToMedia"]>;
|
|
461
|
+
export type ProductVariantToMediaSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
462
|
+
productVariantId?: boolean;
|
|
463
|
+
mediaId?: boolean;
|
|
464
|
+
position?: boolean;
|
|
465
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
466
|
+
media?: boolean | Prisma.MediaDefaultArgs<ExtArgs>;
|
|
467
|
+
}, ExtArgs["result"]["productVariantToMedia"]>;
|
|
468
|
+
export type ProductVariantToMediaSelectScalar = {
|
|
469
|
+
productVariantId?: boolean;
|
|
470
|
+
mediaId?: boolean;
|
|
471
|
+
position?: boolean;
|
|
472
|
+
};
|
|
473
|
+
export type ProductVariantToMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"productVariantId" | "mediaId" | "position", ExtArgs["result"]["productVariantToMedia"]>;
|
|
474
|
+
export type ProductVariantToMediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
475
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
476
|
+
media?: boolean | Prisma.MediaDefaultArgs<ExtArgs>;
|
|
477
|
+
};
|
|
478
|
+
export type ProductVariantToMediaIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
479
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
480
|
+
media?: boolean | Prisma.MediaDefaultArgs<ExtArgs>;
|
|
481
|
+
};
|
|
482
|
+
export type ProductVariantToMediaIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
483
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
484
|
+
media?: boolean | Prisma.MediaDefaultArgs<ExtArgs>;
|
|
485
|
+
};
|
|
486
|
+
export type $ProductVariantToMediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
487
|
+
name: "ProductVariantToMedia";
|
|
488
|
+
objects: {
|
|
489
|
+
productVariant: Prisma.$ProductVariantPayload<ExtArgs>;
|
|
490
|
+
media: Prisma.$MediaPayload<ExtArgs>;
|
|
491
|
+
};
|
|
492
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
493
|
+
productVariantId: bigint;
|
|
494
|
+
mediaId: bigint;
|
|
495
|
+
position: number;
|
|
496
|
+
}, ExtArgs["result"]["productVariantToMedia"]>;
|
|
497
|
+
composites: {};
|
|
498
|
+
};
|
|
499
|
+
export type ProductVariantToMediaGetPayload<S extends boolean | null | undefined | ProductVariantToMediaDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload, S>;
|
|
500
|
+
export type ProductVariantToMediaCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductVariantToMediaFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
501
|
+
select?: ProductVariantToMediaCountAggregateInputType | true;
|
|
502
|
+
};
|
|
503
|
+
export interface ProductVariantToMediaDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
504
|
+
[K: symbol]: {
|
|
505
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ProductVariantToMedia'];
|
|
506
|
+
meta: {
|
|
507
|
+
name: 'ProductVariantToMedia';
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* Find zero or one ProductVariantToMedia that matches the filter.
|
|
512
|
+
* @param {ProductVariantToMediaFindUniqueArgs} args - Arguments to find a ProductVariantToMedia
|
|
513
|
+
* @example
|
|
514
|
+
* // Get one ProductVariantToMedia
|
|
515
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.findUnique({
|
|
516
|
+
* where: {
|
|
517
|
+
* // ... provide filter here
|
|
518
|
+
* }
|
|
519
|
+
* })
|
|
520
|
+
*/
|
|
521
|
+
findUnique<T extends ProductVariantToMediaFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
522
|
+
/**
|
|
523
|
+
* Find one ProductVariantToMedia that matches the filter or throw an error with `error.code='P2025'`
|
|
524
|
+
* if no matches were found.
|
|
525
|
+
* @param {ProductVariantToMediaFindUniqueOrThrowArgs} args - Arguments to find a ProductVariantToMedia
|
|
526
|
+
* @example
|
|
527
|
+
* // Get one ProductVariantToMedia
|
|
528
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.findUniqueOrThrow({
|
|
529
|
+
* where: {
|
|
530
|
+
* // ... provide filter here
|
|
531
|
+
* }
|
|
532
|
+
* })
|
|
533
|
+
*/
|
|
534
|
+
findUniqueOrThrow<T extends ProductVariantToMediaFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
535
|
+
/**
|
|
536
|
+
* Find the first ProductVariantToMedia that matches the filter.
|
|
537
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
538
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
539
|
+
* @param {ProductVariantToMediaFindFirstArgs} args - Arguments to find a ProductVariantToMedia
|
|
540
|
+
* @example
|
|
541
|
+
* // Get one ProductVariantToMedia
|
|
542
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.findFirst({
|
|
543
|
+
* where: {
|
|
544
|
+
* // ... provide filter here
|
|
545
|
+
* }
|
|
546
|
+
* })
|
|
547
|
+
*/
|
|
548
|
+
findFirst<T extends ProductVariantToMediaFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductVariantToMediaFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
549
|
+
/**
|
|
550
|
+
* Find the first ProductVariantToMedia that matches the filter or
|
|
551
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
552
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
553
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
554
|
+
* @param {ProductVariantToMediaFindFirstOrThrowArgs} args - Arguments to find a ProductVariantToMedia
|
|
555
|
+
* @example
|
|
556
|
+
* // Get one ProductVariantToMedia
|
|
557
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.findFirstOrThrow({
|
|
558
|
+
* where: {
|
|
559
|
+
* // ... provide filter here
|
|
560
|
+
* }
|
|
561
|
+
* })
|
|
562
|
+
*/
|
|
563
|
+
findFirstOrThrow<T extends ProductVariantToMediaFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductVariantToMediaFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
564
|
+
/**
|
|
565
|
+
* Find zero or more ProductVariantToMedias that matches the filter.
|
|
566
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
567
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
568
|
+
* @param {ProductVariantToMediaFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
569
|
+
* @example
|
|
570
|
+
* // Get all ProductVariantToMedias
|
|
571
|
+
* const productVariantToMedias = await prisma.productVariantToMedia.findMany()
|
|
572
|
+
*
|
|
573
|
+
* // Get first 10 ProductVariantToMedias
|
|
574
|
+
* const productVariantToMedias = await prisma.productVariantToMedia.findMany({ take: 10 })
|
|
575
|
+
*
|
|
576
|
+
* // Only select the `productVariantId`
|
|
577
|
+
* const productVariantToMediaWithProductVariantIdOnly = await prisma.productVariantToMedia.findMany({ select: { productVariantId: true } })
|
|
578
|
+
*
|
|
579
|
+
*/
|
|
580
|
+
findMany<T extends ProductVariantToMediaFindManyArgs>(args?: Prisma.SelectSubset<T, ProductVariantToMediaFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
581
|
+
/**
|
|
582
|
+
* Create a ProductVariantToMedia.
|
|
583
|
+
* @param {ProductVariantToMediaCreateArgs} args - Arguments to create a ProductVariantToMedia.
|
|
584
|
+
* @example
|
|
585
|
+
* // Create one ProductVariantToMedia
|
|
586
|
+
* const ProductVariantToMedia = await prisma.productVariantToMedia.create({
|
|
587
|
+
* data: {
|
|
588
|
+
* // ... data to create a ProductVariantToMedia
|
|
589
|
+
* }
|
|
590
|
+
* })
|
|
591
|
+
*
|
|
592
|
+
*/
|
|
593
|
+
create<T extends ProductVariantToMediaCreateArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaCreateArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
594
|
+
/**
|
|
595
|
+
* Create many ProductVariantToMedias.
|
|
596
|
+
* @param {ProductVariantToMediaCreateManyArgs} args - Arguments to create many ProductVariantToMedias.
|
|
597
|
+
* @example
|
|
598
|
+
* // Create many ProductVariantToMedias
|
|
599
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.createMany({
|
|
600
|
+
* data: [
|
|
601
|
+
* // ... provide data here
|
|
602
|
+
* ]
|
|
603
|
+
* })
|
|
604
|
+
*
|
|
605
|
+
*/
|
|
606
|
+
createMany<T extends ProductVariantToMediaCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductVariantToMediaCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
607
|
+
/**
|
|
608
|
+
* Create many ProductVariantToMedias and returns the data saved in the database.
|
|
609
|
+
* @param {ProductVariantToMediaCreateManyAndReturnArgs} args - Arguments to create many ProductVariantToMedias.
|
|
610
|
+
* @example
|
|
611
|
+
* // Create many ProductVariantToMedias
|
|
612
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.createManyAndReturn({
|
|
613
|
+
* data: [
|
|
614
|
+
* // ... provide data here
|
|
615
|
+
* ]
|
|
616
|
+
* })
|
|
617
|
+
*
|
|
618
|
+
* // Create many ProductVariantToMedias and only return the `productVariantId`
|
|
619
|
+
* const productVariantToMediaWithProductVariantIdOnly = await prisma.productVariantToMedia.createManyAndReturn({
|
|
620
|
+
* select: { productVariantId: true },
|
|
621
|
+
* data: [
|
|
622
|
+
* // ... provide data here
|
|
623
|
+
* ]
|
|
624
|
+
* })
|
|
625
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
626
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
627
|
+
*
|
|
628
|
+
*/
|
|
629
|
+
createManyAndReturn<T extends ProductVariantToMediaCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductVariantToMediaCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
630
|
+
/**
|
|
631
|
+
* Delete a ProductVariantToMedia.
|
|
632
|
+
* @param {ProductVariantToMediaDeleteArgs} args - Arguments to delete one ProductVariantToMedia.
|
|
633
|
+
* @example
|
|
634
|
+
* // Delete one ProductVariantToMedia
|
|
635
|
+
* const ProductVariantToMedia = await prisma.productVariantToMedia.delete({
|
|
636
|
+
* where: {
|
|
637
|
+
* // ... filter to delete one ProductVariantToMedia
|
|
638
|
+
* }
|
|
639
|
+
* })
|
|
640
|
+
*
|
|
641
|
+
*/
|
|
642
|
+
delete<T extends ProductVariantToMediaDeleteArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
643
|
+
/**
|
|
644
|
+
* Update one ProductVariantToMedia.
|
|
645
|
+
* @param {ProductVariantToMediaUpdateArgs} args - Arguments to update one ProductVariantToMedia.
|
|
646
|
+
* @example
|
|
647
|
+
* // Update one ProductVariantToMedia
|
|
648
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.update({
|
|
649
|
+
* where: {
|
|
650
|
+
* // ... provide filter here
|
|
651
|
+
* },
|
|
652
|
+
* data: {
|
|
653
|
+
* // ... provide data here
|
|
654
|
+
* }
|
|
655
|
+
* })
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
update<T extends ProductVariantToMediaUpdateArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
659
|
+
/**
|
|
660
|
+
* Delete zero or more ProductVariantToMedias.
|
|
661
|
+
* @param {ProductVariantToMediaDeleteManyArgs} args - Arguments to filter ProductVariantToMedias to delete.
|
|
662
|
+
* @example
|
|
663
|
+
* // Delete a few ProductVariantToMedias
|
|
664
|
+
* const { count } = await prisma.productVariantToMedia.deleteMany({
|
|
665
|
+
* where: {
|
|
666
|
+
* // ... provide filter here
|
|
667
|
+
* }
|
|
668
|
+
* })
|
|
669
|
+
*
|
|
670
|
+
*/
|
|
671
|
+
deleteMany<T extends ProductVariantToMediaDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductVariantToMediaDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
672
|
+
/**
|
|
673
|
+
* Update zero or more ProductVariantToMedias.
|
|
674
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
675
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
676
|
+
* @param {ProductVariantToMediaUpdateManyArgs} args - Arguments to update one or more rows.
|
|
677
|
+
* @example
|
|
678
|
+
* // Update many ProductVariantToMedias
|
|
679
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.updateMany({
|
|
680
|
+
* where: {
|
|
681
|
+
* // ... provide filter here
|
|
682
|
+
* },
|
|
683
|
+
* data: {
|
|
684
|
+
* // ... provide data here
|
|
685
|
+
* }
|
|
686
|
+
* })
|
|
687
|
+
*
|
|
688
|
+
*/
|
|
689
|
+
updateMany<T extends ProductVariantToMediaUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
690
|
+
/**
|
|
691
|
+
* Update zero or more ProductVariantToMedias and returns the data updated in the database.
|
|
692
|
+
* @param {ProductVariantToMediaUpdateManyAndReturnArgs} args - Arguments to update many ProductVariantToMedias.
|
|
693
|
+
* @example
|
|
694
|
+
* // Update many ProductVariantToMedias
|
|
695
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.updateManyAndReturn({
|
|
696
|
+
* where: {
|
|
697
|
+
* // ... provide filter here
|
|
698
|
+
* },
|
|
699
|
+
* data: [
|
|
700
|
+
* // ... provide data here
|
|
701
|
+
* ]
|
|
702
|
+
* })
|
|
703
|
+
*
|
|
704
|
+
* // Update zero or more ProductVariantToMedias and only return the `productVariantId`
|
|
705
|
+
* const productVariantToMediaWithProductVariantIdOnly = await prisma.productVariantToMedia.updateManyAndReturn({
|
|
706
|
+
* select: { productVariantId: true },
|
|
707
|
+
* where: {
|
|
708
|
+
* // ... provide filter here
|
|
709
|
+
* },
|
|
710
|
+
* data: [
|
|
711
|
+
* // ... provide data here
|
|
712
|
+
* ]
|
|
713
|
+
* })
|
|
714
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
715
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
716
|
+
*
|
|
717
|
+
*/
|
|
718
|
+
updateManyAndReturn<T extends ProductVariantToMediaUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
719
|
+
/**
|
|
720
|
+
* Create or update one ProductVariantToMedia.
|
|
721
|
+
* @param {ProductVariantToMediaUpsertArgs} args - Arguments to update or create a ProductVariantToMedia.
|
|
722
|
+
* @example
|
|
723
|
+
* // Update or create a ProductVariantToMedia
|
|
724
|
+
* const productVariantToMedia = await prisma.productVariantToMedia.upsert({
|
|
725
|
+
* create: {
|
|
726
|
+
* // ... data to create a ProductVariantToMedia
|
|
727
|
+
* },
|
|
728
|
+
* update: {
|
|
729
|
+
* // ... in case it already exists, update
|
|
730
|
+
* },
|
|
731
|
+
* where: {
|
|
732
|
+
* // ... the filter for the ProductVariantToMedia we want to update
|
|
733
|
+
* }
|
|
734
|
+
* })
|
|
735
|
+
*/
|
|
736
|
+
upsert<T extends ProductVariantToMediaUpsertArgs>(args: Prisma.SelectSubset<T, ProductVariantToMediaUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductVariantToMediaClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
737
|
+
/**
|
|
738
|
+
* Count the number of ProductVariantToMedias.
|
|
739
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
740
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
741
|
+
* @param {ProductVariantToMediaCountArgs} args - Arguments to filter ProductVariantToMedias to count.
|
|
742
|
+
* @example
|
|
743
|
+
* // Count the number of ProductVariantToMedias
|
|
744
|
+
* const count = await prisma.productVariantToMedia.count({
|
|
745
|
+
* where: {
|
|
746
|
+
* // ... the filter for the ProductVariantToMedias we want to count
|
|
747
|
+
* }
|
|
748
|
+
* })
|
|
749
|
+
**/
|
|
750
|
+
count<T extends ProductVariantToMediaCountArgs>(args?: Prisma.Subset<T, ProductVariantToMediaCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductVariantToMediaCountAggregateOutputType> : number>;
|
|
751
|
+
/**
|
|
752
|
+
* Allows you to perform aggregations operations on a ProductVariantToMedia.
|
|
753
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
754
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
755
|
+
* @param {ProductVariantToMediaAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
756
|
+
* @example
|
|
757
|
+
* // Ordered by age ascending
|
|
758
|
+
* // Where email contains prisma.io
|
|
759
|
+
* // Limited to the 10 users
|
|
760
|
+
* const aggregations = await prisma.user.aggregate({
|
|
761
|
+
* _avg: {
|
|
762
|
+
* age: true,
|
|
763
|
+
* },
|
|
764
|
+
* where: {
|
|
765
|
+
* email: {
|
|
766
|
+
* contains: "prisma.io",
|
|
767
|
+
* },
|
|
768
|
+
* },
|
|
769
|
+
* orderBy: {
|
|
770
|
+
* age: "asc",
|
|
771
|
+
* },
|
|
772
|
+
* take: 10,
|
|
773
|
+
* })
|
|
774
|
+
**/
|
|
775
|
+
aggregate<T extends ProductVariantToMediaAggregateArgs>(args: Prisma.Subset<T, ProductVariantToMediaAggregateArgs>): Prisma.PrismaPromise<GetProductVariantToMediaAggregateType<T>>;
|
|
776
|
+
/**
|
|
777
|
+
* Group by ProductVariantToMedia.
|
|
778
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
779
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
780
|
+
* @param {ProductVariantToMediaGroupByArgs} args - Group by arguments.
|
|
781
|
+
* @example
|
|
782
|
+
* // Group by city, order by createdAt, get count
|
|
783
|
+
* const result = await prisma.user.groupBy({
|
|
784
|
+
* by: ['city', 'createdAt'],
|
|
785
|
+
* orderBy: {
|
|
786
|
+
* createdAt: true
|
|
787
|
+
* },
|
|
788
|
+
* _count: {
|
|
789
|
+
* _all: true
|
|
790
|
+
* },
|
|
791
|
+
* })
|
|
792
|
+
*
|
|
793
|
+
**/
|
|
794
|
+
groupBy<T extends ProductVariantToMediaGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
795
|
+
orderBy: ProductVariantToMediaGroupByArgs['orderBy'];
|
|
796
|
+
} : {
|
|
797
|
+
orderBy?: ProductVariantToMediaGroupByArgs['orderBy'];
|
|
798
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
799
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
800
|
+
Error,
|
|
801
|
+
'Field ',
|
|
802
|
+
P,
|
|
803
|
+
` in "having" needs to be provided in "by"`
|
|
804
|
+
];
|
|
805
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
806
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
807
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
808
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
809
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
810
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
811
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductVariantToMediaGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductVariantToMediaGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
812
|
+
/**
|
|
813
|
+
* Fields of the ProductVariantToMedia model
|
|
814
|
+
*/
|
|
815
|
+
readonly fields: ProductVariantToMediaFieldRefs;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* The delegate class that acts as a "Promise-like" for ProductVariantToMedia.
|
|
819
|
+
* Why is this prefixed with `Prisma__`?
|
|
820
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
821
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
822
|
+
*/
|
|
823
|
+
export interface Prisma__ProductVariantToMediaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
824
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
825
|
+
productVariant<T extends Prisma.ProductVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
826
|
+
media<T extends Prisma.MediaDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MediaDefaultArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
827
|
+
/**
|
|
828
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
829
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
830
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
831
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
832
|
+
*/
|
|
833
|
+
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>;
|
|
834
|
+
/**
|
|
835
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
836
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
837
|
+
* @returns A Promise for the completion of the callback.
|
|
838
|
+
*/
|
|
839
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
840
|
+
/**
|
|
841
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
842
|
+
* resolved value cannot be modified from the callback.
|
|
843
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
844
|
+
* @returns A Promise for the completion of the callback.
|
|
845
|
+
*/
|
|
846
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* Fields of the ProductVariantToMedia model
|
|
850
|
+
*/
|
|
851
|
+
export interface ProductVariantToMediaFieldRefs {
|
|
852
|
+
readonly productVariantId: Prisma.FieldRef<"ProductVariantToMedia", 'BigInt'>;
|
|
853
|
+
readonly mediaId: Prisma.FieldRef<"ProductVariantToMedia", 'BigInt'>;
|
|
854
|
+
readonly position: Prisma.FieldRef<"ProductVariantToMedia", 'Int'>;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* ProductVariantToMedia findUnique
|
|
858
|
+
*/
|
|
859
|
+
export type ProductVariantToMediaFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
860
|
+
/**
|
|
861
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
862
|
+
*/
|
|
863
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
864
|
+
/**
|
|
865
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
866
|
+
*/
|
|
867
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
868
|
+
/**
|
|
869
|
+
* Choose, which related nodes to fetch as well
|
|
870
|
+
*/
|
|
871
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
872
|
+
/**
|
|
873
|
+
* Filter, which ProductVariantToMedia to fetch.
|
|
874
|
+
*/
|
|
875
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
876
|
+
};
|
|
877
|
+
/**
|
|
878
|
+
* ProductVariantToMedia findUniqueOrThrow
|
|
879
|
+
*/
|
|
880
|
+
export type ProductVariantToMediaFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
881
|
+
/**
|
|
882
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
883
|
+
*/
|
|
884
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
885
|
+
/**
|
|
886
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
887
|
+
*/
|
|
888
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
889
|
+
/**
|
|
890
|
+
* Choose, which related nodes to fetch as well
|
|
891
|
+
*/
|
|
892
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
893
|
+
/**
|
|
894
|
+
* Filter, which ProductVariantToMedia to fetch.
|
|
895
|
+
*/
|
|
896
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* ProductVariantToMedia findFirst
|
|
900
|
+
*/
|
|
901
|
+
export type ProductVariantToMediaFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
902
|
+
/**
|
|
903
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
904
|
+
*/
|
|
905
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
906
|
+
/**
|
|
907
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
908
|
+
*/
|
|
909
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
910
|
+
/**
|
|
911
|
+
* Choose, which related nodes to fetch as well
|
|
912
|
+
*/
|
|
913
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
914
|
+
/**
|
|
915
|
+
* Filter, which ProductVariantToMedia to fetch.
|
|
916
|
+
*/
|
|
917
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
918
|
+
/**
|
|
919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
920
|
+
*
|
|
921
|
+
* Determine the order of ProductVariantToMedias to fetch.
|
|
922
|
+
*/
|
|
923
|
+
orderBy?: Prisma.ProductVariantToMediaOrderByWithRelationInput | Prisma.ProductVariantToMediaOrderByWithRelationInput[];
|
|
924
|
+
/**
|
|
925
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
926
|
+
*
|
|
927
|
+
* Sets the position for searching for ProductVariantToMedias.
|
|
928
|
+
*/
|
|
929
|
+
cursor?: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
930
|
+
/**
|
|
931
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
932
|
+
*
|
|
933
|
+
* Take `±n` ProductVariantToMedias from the position of the cursor.
|
|
934
|
+
*/
|
|
935
|
+
take?: number;
|
|
936
|
+
/**
|
|
937
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
938
|
+
*
|
|
939
|
+
* Skip the first `n` ProductVariantToMedias.
|
|
940
|
+
*/
|
|
941
|
+
skip?: number;
|
|
942
|
+
/**
|
|
943
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
944
|
+
*
|
|
945
|
+
* Filter by unique combinations of ProductVariantToMedias.
|
|
946
|
+
*/
|
|
947
|
+
distinct?: Prisma.ProductVariantToMediaScalarFieldEnum | Prisma.ProductVariantToMediaScalarFieldEnum[];
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* ProductVariantToMedia findFirstOrThrow
|
|
951
|
+
*/
|
|
952
|
+
export type ProductVariantToMediaFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
953
|
+
/**
|
|
954
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
955
|
+
*/
|
|
956
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
957
|
+
/**
|
|
958
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
959
|
+
*/
|
|
960
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
961
|
+
/**
|
|
962
|
+
* Choose, which related nodes to fetch as well
|
|
963
|
+
*/
|
|
964
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
965
|
+
/**
|
|
966
|
+
* Filter, which ProductVariantToMedia to fetch.
|
|
967
|
+
*/
|
|
968
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
969
|
+
/**
|
|
970
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
971
|
+
*
|
|
972
|
+
* Determine the order of ProductVariantToMedias to fetch.
|
|
973
|
+
*/
|
|
974
|
+
orderBy?: Prisma.ProductVariantToMediaOrderByWithRelationInput | Prisma.ProductVariantToMediaOrderByWithRelationInput[];
|
|
975
|
+
/**
|
|
976
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
977
|
+
*
|
|
978
|
+
* Sets the position for searching for ProductVariantToMedias.
|
|
979
|
+
*/
|
|
980
|
+
cursor?: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
981
|
+
/**
|
|
982
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
983
|
+
*
|
|
984
|
+
* Take `±n` ProductVariantToMedias from the position of the cursor.
|
|
985
|
+
*/
|
|
986
|
+
take?: number;
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
989
|
+
*
|
|
990
|
+
* Skip the first `n` ProductVariantToMedias.
|
|
991
|
+
*/
|
|
992
|
+
skip?: number;
|
|
993
|
+
/**
|
|
994
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
995
|
+
*
|
|
996
|
+
* Filter by unique combinations of ProductVariantToMedias.
|
|
997
|
+
*/
|
|
998
|
+
distinct?: Prisma.ProductVariantToMediaScalarFieldEnum | Prisma.ProductVariantToMediaScalarFieldEnum[];
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* ProductVariantToMedia findMany
|
|
1002
|
+
*/
|
|
1003
|
+
export type ProductVariantToMediaFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1004
|
+
/**
|
|
1005
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1006
|
+
*/
|
|
1007
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1010
|
+
*/
|
|
1011
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Choose, which related nodes to fetch as well
|
|
1014
|
+
*/
|
|
1015
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Filter, which ProductVariantToMedias to fetch.
|
|
1018
|
+
*/
|
|
1019
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
1020
|
+
/**
|
|
1021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1022
|
+
*
|
|
1023
|
+
* Determine the order of ProductVariantToMedias to fetch.
|
|
1024
|
+
*/
|
|
1025
|
+
orderBy?: Prisma.ProductVariantToMediaOrderByWithRelationInput | Prisma.ProductVariantToMediaOrderByWithRelationInput[];
|
|
1026
|
+
/**
|
|
1027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1028
|
+
*
|
|
1029
|
+
* Sets the position for listing ProductVariantToMedias.
|
|
1030
|
+
*/
|
|
1031
|
+
cursor?: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
1032
|
+
/**
|
|
1033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1034
|
+
*
|
|
1035
|
+
* Take `±n` ProductVariantToMedias from the position of the cursor.
|
|
1036
|
+
*/
|
|
1037
|
+
take?: number;
|
|
1038
|
+
/**
|
|
1039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1040
|
+
*
|
|
1041
|
+
* Skip the first `n` ProductVariantToMedias.
|
|
1042
|
+
*/
|
|
1043
|
+
skip?: number;
|
|
1044
|
+
distinct?: Prisma.ProductVariantToMediaScalarFieldEnum | Prisma.ProductVariantToMediaScalarFieldEnum[];
|
|
1045
|
+
};
|
|
1046
|
+
/**
|
|
1047
|
+
* ProductVariantToMedia create
|
|
1048
|
+
*/
|
|
1049
|
+
export type ProductVariantToMediaCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1050
|
+
/**
|
|
1051
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1052
|
+
*/
|
|
1053
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1056
|
+
*/
|
|
1057
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* Choose, which related nodes to fetch as well
|
|
1060
|
+
*/
|
|
1061
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
1062
|
+
/**
|
|
1063
|
+
* The data needed to create a ProductVariantToMedia.
|
|
1064
|
+
*/
|
|
1065
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaCreateInput, Prisma.ProductVariantToMediaUncheckedCreateInput>;
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* ProductVariantToMedia createMany
|
|
1069
|
+
*/
|
|
1070
|
+
export type ProductVariantToMediaCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
+
/**
|
|
1072
|
+
* The data used to create many ProductVariantToMedias.
|
|
1073
|
+
*/
|
|
1074
|
+
data: Prisma.ProductVariantToMediaCreateManyInput | Prisma.ProductVariantToMediaCreateManyInput[];
|
|
1075
|
+
skipDuplicates?: boolean;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* ProductVariantToMedia createManyAndReturn
|
|
1079
|
+
*/
|
|
1080
|
+
export type ProductVariantToMediaCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1081
|
+
/**
|
|
1082
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1083
|
+
*/
|
|
1084
|
+
select?: Prisma.ProductVariantToMediaSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1087
|
+
*/
|
|
1088
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* The data used to create many ProductVariantToMedias.
|
|
1091
|
+
*/
|
|
1092
|
+
data: Prisma.ProductVariantToMediaCreateManyInput | Prisma.ProductVariantToMediaCreateManyInput[];
|
|
1093
|
+
skipDuplicates?: boolean;
|
|
1094
|
+
/**
|
|
1095
|
+
* Choose, which related nodes to fetch as well
|
|
1096
|
+
*/
|
|
1097
|
+
include?: Prisma.ProductVariantToMediaIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1098
|
+
};
|
|
1099
|
+
/**
|
|
1100
|
+
* ProductVariantToMedia update
|
|
1101
|
+
*/
|
|
1102
|
+
export type ProductVariantToMediaUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1103
|
+
/**
|
|
1104
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1105
|
+
*/
|
|
1106
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1109
|
+
*/
|
|
1110
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1111
|
+
/**
|
|
1112
|
+
* Choose, which related nodes to fetch as well
|
|
1113
|
+
*/
|
|
1114
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* The data needed to update a ProductVariantToMedia.
|
|
1117
|
+
*/
|
|
1118
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateInput, Prisma.ProductVariantToMediaUncheckedUpdateInput>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Choose, which ProductVariantToMedia to update.
|
|
1121
|
+
*/
|
|
1122
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
1123
|
+
};
|
|
1124
|
+
/**
|
|
1125
|
+
* ProductVariantToMedia updateMany
|
|
1126
|
+
*/
|
|
1127
|
+
export type ProductVariantToMediaUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1128
|
+
/**
|
|
1129
|
+
* The data used to update ProductVariantToMedias.
|
|
1130
|
+
*/
|
|
1131
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateManyMutationInput, Prisma.ProductVariantToMediaUncheckedUpdateManyInput>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Filter which ProductVariantToMedias to update
|
|
1134
|
+
*/
|
|
1135
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
1136
|
+
/**
|
|
1137
|
+
* Limit how many ProductVariantToMedias to update.
|
|
1138
|
+
*/
|
|
1139
|
+
limit?: number;
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* ProductVariantToMedia updateManyAndReturn
|
|
1143
|
+
*/
|
|
1144
|
+
export type ProductVariantToMediaUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1145
|
+
/**
|
|
1146
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1147
|
+
*/
|
|
1148
|
+
select?: Prisma.ProductVariantToMediaSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1151
|
+
*/
|
|
1152
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* The data used to update ProductVariantToMedias.
|
|
1155
|
+
*/
|
|
1156
|
+
data: Prisma.XOR<Prisma.ProductVariantToMediaUpdateManyMutationInput, Prisma.ProductVariantToMediaUncheckedUpdateManyInput>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Filter which ProductVariantToMedias to update
|
|
1159
|
+
*/
|
|
1160
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
1161
|
+
/**
|
|
1162
|
+
* Limit how many ProductVariantToMedias to update.
|
|
1163
|
+
*/
|
|
1164
|
+
limit?: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
1168
|
+
include?: Prisma.ProductVariantToMediaIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* ProductVariantToMedia upsert
|
|
1172
|
+
*/
|
|
1173
|
+
export type ProductVariantToMediaUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1176
|
+
*/
|
|
1177
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1180
|
+
*/
|
|
1181
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Choose, which related nodes to fetch as well
|
|
1184
|
+
*/
|
|
1185
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* The filter to search for the ProductVariantToMedia to update in case it exists.
|
|
1188
|
+
*/
|
|
1189
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
1190
|
+
/**
|
|
1191
|
+
* In case the ProductVariantToMedia found by the `where` argument doesn't exist, create a new ProductVariantToMedia with this data.
|
|
1192
|
+
*/
|
|
1193
|
+
create: Prisma.XOR<Prisma.ProductVariantToMediaCreateInput, Prisma.ProductVariantToMediaUncheckedCreateInput>;
|
|
1194
|
+
/**
|
|
1195
|
+
* In case the ProductVariantToMedia was found with the provided `where` argument, update it with this data.
|
|
1196
|
+
*/
|
|
1197
|
+
update: Prisma.XOR<Prisma.ProductVariantToMediaUpdateInput, Prisma.ProductVariantToMediaUncheckedUpdateInput>;
|
|
1198
|
+
};
|
|
1199
|
+
/**
|
|
1200
|
+
* ProductVariantToMedia delete
|
|
1201
|
+
*/
|
|
1202
|
+
export type ProductVariantToMediaDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1203
|
+
/**
|
|
1204
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1205
|
+
*/
|
|
1206
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
1207
|
+
/**
|
|
1208
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1209
|
+
*/
|
|
1210
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* Choose, which related nodes to fetch as well
|
|
1213
|
+
*/
|
|
1214
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* Filter which ProductVariantToMedia to delete.
|
|
1217
|
+
*/
|
|
1218
|
+
where: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* ProductVariantToMedia deleteMany
|
|
1222
|
+
*/
|
|
1223
|
+
export type ProductVariantToMediaDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1224
|
+
/**
|
|
1225
|
+
* Filter which ProductVariantToMedias to delete
|
|
1226
|
+
*/
|
|
1227
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
1228
|
+
/**
|
|
1229
|
+
* Limit how many ProductVariantToMedias to delete.
|
|
1230
|
+
*/
|
|
1231
|
+
limit?: number;
|
|
1232
|
+
};
|
|
1233
|
+
/**
|
|
1234
|
+
* ProductVariantToMedia without action
|
|
1235
|
+
*/
|
|
1236
|
+
export type ProductVariantToMediaDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1237
|
+
/**
|
|
1238
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
1239
|
+
*/
|
|
1240
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
1241
|
+
/**
|
|
1242
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
1243
|
+
*/
|
|
1244
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
1245
|
+
/**
|
|
1246
|
+
* Choose, which related nodes to fetch as well
|
|
1247
|
+
*/
|
|
1248
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
1249
|
+
};
|
|
1250
|
+
export {};
|