@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.2
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 +4 -3
|
@@ -0,0 +1,2127 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model Media
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type MediaModel = runtime.Types.Result.DefaultSelection<Prisma.$MediaPayload>;
|
|
9
|
+
export type AggregateMedia = {
|
|
10
|
+
_count: MediaCountAggregateOutputType | null;
|
|
11
|
+
_avg: MediaAvgAggregateOutputType | null;
|
|
12
|
+
_sum: MediaSumAggregateOutputType | null;
|
|
13
|
+
_min: MediaMinAggregateOutputType | null;
|
|
14
|
+
_max: MediaMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type MediaAvgAggregateOutputType = {
|
|
17
|
+
id: number | null;
|
|
18
|
+
width: number | null;
|
|
19
|
+
height: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type MediaSumAggregateOutputType = {
|
|
22
|
+
id: bigint | null;
|
|
23
|
+
width: number | null;
|
|
24
|
+
height: number | null;
|
|
25
|
+
};
|
|
26
|
+
export type MediaMinAggregateOutputType = {
|
|
27
|
+
id: bigint | null;
|
|
28
|
+
mediaContentType: $Enums.MediaContentType | null;
|
|
29
|
+
key: string | null;
|
|
30
|
+
filename: string | null;
|
|
31
|
+
resourceUrl: string | null;
|
|
32
|
+
mime: string | null;
|
|
33
|
+
width: number | null;
|
|
34
|
+
height: number | null;
|
|
35
|
+
alt: string | null;
|
|
36
|
+
createdAt: Date | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
processedAt: Date | null;
|
|
39
|
+
bucket: string | null;
|
|
40
|
+
isInternal: boolean | null;
|
|
41
|
+
};
|
|
42
|
+
export type MediaMaxAggregateOutputType = {
|
|
43
|
+
id: bigint | null;
|
|
44
|
+
mediaContentType: $Enums.MediaContentType | null;
|
|
45
|
+
key: string | null;
|
|
46
|
+
filename: string | null;
|
|
47
|
+
resourceUrl: string | null;
|
|
48
|
+
mime: string | null;
|
|
49
|
+
width: number | null;
|
|
50
|
+
height: number | null;
|
|
51
|
+
alt: string | null;
|
|
52
|
+
createdAt: Date | null;
|
|
53
|
+
updatedAt: Date | null;
|
|
54
|
+
processedAt: Date | null;
|
|
55
|
+
bucket: string | null;
|
|
56
|
+
isInternal: boolean | null;
|
|
57
|
+
};
|
|
58
|
+
export type MediaCountAggregateOutputType = {
|
|
59
|
+
id: number;
|
|
60
|
+
mediaContentType: number;
|
|
61
|
+
key: number;
|
|
62
|
+
filename: number;
|
|
63
|
+
resourceUrl: number;
|
|
64
|
+
mime: number;
|
|
65
|
+
width: number;
|
|
66
|
+
height: number;
|
|
67
|
+
alt: number;
|
|
68
|
+
createdAt: number;
|
|
69
|
+
updatedAt: number;
|
|
70
|
+
processedAt: number;
|
|
71
|
+
bucket: number;
|
|
72
|
+
isInternal: number;
|
|
73
|
+
_all: number;
|
|
74
|
+
};
|
|
75
|
+
export type MediaAvgAggregateInputType = {
|
|
76
|
+
id?: true;
|
|
77
|
+
width?: true;
|
|
78
|
+
height?: true;
|
|
79
|
+
};
|
|
80
|
+
export type MediaSumAggregateInputType = {
|
|
81
|
+
id?: true;
|
|
82
|
+
width?: true;
|
|
83
|
+
height?: true;
|
|
84
|
+
};
|
|
85
|
+
export type MediaMinAggregateInputType = {
|
|
86
|
+
id?: true;
|
|
87
|
+
mediaContentType?: true;
|
|
88
|
+
key?: true;
|
|
89
|
+
filename?: true;
|
|
90
|
+
resourceUrl?: true;
|
|
91
|
+
mime?: true;
|
|
92
|
+
width?: true;
|
|
93
|
+
height?: true;
|
|
94
|
+
alt?: true;
|
|
95
|
+
createdAt?: true;
|
|
96
|
+
updatedAt?: true;
|
|
97
|
+
processedAt?: true;
|
|
98
|
+
bucket?: true;
|
|
99
|
+
isInternal?: true;
|
|
100
|
+
};
|
|
101
|
+
export type MediaMaxAggregateInputType = {
|
|
102
|
+
id?: true;
|
|
103
|
+
mediaContentType?: true;
|
|
104
|
+
key?: true;
|
|
105
|
+
filename?: true;
|
|
106
|
+
resourceUrl?: true;
|
|
107
|
+
mime?: true;
|
|
108
|
+
width?: true;
|
|
109
|
+
height?: true;
|
|
110
|
+
alt?: true;
|
|
111
|
+
createdAt?: true;
|
|
112
|
+
updatedAt?: true;
|
|
113
|
+
processedAt?: true;
|
|
114
|
+
bucket?: true;
|
|
115
|
+
isInternal?: true;
|
|
116
|
+
};
|
|
117
|
+
export type MediaCountAggregateInputType = {
|
|
118
|
+
id?: true;
|
|
119
|
+
mediaContentType?: true;
|
|
120
|
+
key?: true;
|
|
121
|
+
filename?: true;
|
|
122
|
+
resourceUrl?: true;
|
|
123
|
+
mime?: true;
|
|
124
|
+
width?: true;
|
|
125
|
+
height?: true;
|
|
126
|
+
alt?: true;
|
|
127
|
+
createdAt?: true;
|
|
128
|
+
updatedAt?: true;
|
|
129
|
+
processedAt?: true;
|
|
130
|
+
bucket?: true;
|
|
131
|
+
isInternal?: true;
|
|
132
|
+
_all?: true;
|
|
133
|
+
};
|
|
134
|
+
export type MediaAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
/**
|
|
136
|
+
* Filter which Media to aggregate.
|
|
137
|
+
*/
|
|
138
|
+
where?: Prisma.MediaWhereInput;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
141
|
+
*
|
|
142
|
+
* Determine the order of Media to fetch.
|
|
143
|
+
*/
|
|
144
|
+
orderBy?: Prisma.MediaOrderByWithRelationInput | Prisma.MediaOrderByWithRelationInput[];
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
147
|
+
*
|
|
148
|
+
* Sets the start position
|
|
149
|
+
*/
|
|
150
|
+
cursor?: Prisma.MediaWhereUniqueInput;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
153
|
+
*
|
|
154
|
+
* Take `±n` Media from the position of the cursor.
|
|
155
|
+
*/
|
|
156
|
+
take?: number;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
159
|
+
*
|
|
160
|
+
* Skip the first `n` Media.
|
|
161
|
+
*/
|
|
162
|
+
skip?: number;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Count returned Media
|
|
167
|
+
**/
|
|
168
|
+
_count?: true | MediaCountAggregateInputType;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to average
|
|
173
|
+
**/
|
|
174
|
+
_avg?: MediaAvgAggregateInputType;
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
+
*
|
|
178
|
+
* Select which fields to sum
|
|
179
|
+
**/
|
|
180
|
+
_sum?: MediaSumAggregateInputType;
|
|
181
|
+
/**
|
|
182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
+
*
|
|
184
|
+
* Select which fields to find the minimum value
|
|
185
|
+
**/
|
|
186
|
+
_min?: MediaMinAggregateInputType;
|
|
187
|
+
/**
|
|
188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
189
|
+
*
|
|
190
|
+
* Select which fields to find the maximum value
|
|
191
|
+
**/
|
|
192
|
+
_max?: MediaMaxAggregateInputType;
|
|
193
|
+
};
|
|
194
|
+
export type GetMediaAggregateType<T extends MediaAggregateArgs> = {
|
|
195
|
+
[P in keyof T & keyof AggregateMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMedia[P]> : Prisma.GetScalarType<T[P], AggregateMedia[P]>;
|
|
196
|
+
};
|
|
197
|
+
export type MediaGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
198
|
+
where?: Prisma.MediaWhereInput;
|
|
199
|
+
orderBy?: Prisma.MediaOrderByWithAggregationInput | Prisma.MediaOrderByWithAggregationInput[];
|
|
200
|
+
by: Prisma.MediaScalarFieldEnum[] | Prisma.MediaScalarFieldEnum;
|
|
201
|
+
having?: Prisma.MediaScalarWhereWithAggregatesInput;
|
|
202
|
+
take?: number;
|
|
203
|
+
skip?: number;
|
|
204
|
+
_count?: MediaCountAggregateInputType | true;
|
|
205
|
+
_avg?: MediaAvgAggregateInputType;
|
|
206
|
+
_sum?: MediaSumAggregateInputType;
|
|
207
|
+
_min?: MediaMinAggregateInputType;
|
|
208
|
+
_max?: MediaMaxAggregateInputType;
|
|
209
|
+
};
|
|
210
|
+
export type MediaGroupByOutputType = {
|
|
211
|
+
id: bigint;
|
|
212
|
+
mediaContentType: $Enums.MediaContentType;
|
|
213
|
+
key: string;
|
|
214
|
+
filename: string;
|
|
215
|
+
resourceUrl: string;
|
|
216
|
+
mime: string;
|
|
217
|
+
width: number | null;
|
|
218
|
+
height: number | null;
|
|
219
|
+
alt: string | null;
|
|
220
|
+
createdAt: Date;
|
|
221
|
+
updatedAt: Date;
|
|
222
|
+
processedAt: Date | null;
|
|
223
|
+
bucket: string;
|
|
224
|
+
isInternal: boolean;
|
|
225
|
+
_count: MediaCountAggregateOutputType | null;
|
|
226
|
+
_avg: MediaAvgAggregateOutputType | null;
|
|
227
|
+
_sum: MediaSumAggregateOutputType | null;
|
|
228
|
+
_min: MediaMinAggregateOutputType | null;
|
|
229
|
+
_max: MediaMaxAggregateOutputType | null;
|
|
230
|
+
};
|
|
231
|
+
type GetMediaGroupByPayload<T extends MediaGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<MediaGroupByOutputType, T['by']> & {
|
|
232
|
+
[P in ((keyof T) & (keyof MediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], MediaGroupByOutputType[P]> : Prisma.GetScalarType<T[P], MediaGroupByOutputType[P]>;
|
|
233
|
+
}>>;
|
|
234
|
+
export type MediaWhereInput = {
|
|
235
|
+
AND?: Prisma.MediaWhereInput | Prisma.MediaWhereInput[];
|
|
236
|
+
OR?: Prisma.MediaWhereInput[];
|
|
237
|
+
NOT?: Prisma.MediaWhereInput | Prisma.MediaWhereInput[];
|
|
238
|
+
id?: Prisma.BigIntFilter<"Media"> | bigint | number;
|
|
239
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFilter<"Media"> | $Enums.MediaContentType;
|
|
240
|
+
key?: Prisma.StringFilter<"Media"> | string;
|
|
241
|
+
filename?: Prisma.StringFilter<"Media"> | string;
|
|
242
|
+
resourceUrl?: Prisma.StringFilter<"Media"> | string;
|
|
243
|
+
mime?: Prisma.StringFilter<"Media"> | string;
|
|
244
|
+
width?: Prisma.IntNullableFilter<"Media"> | number | null;
|
|
245
|
+
height?: Prisma.IntNullableFilter<"Media"> | number | null;
|
|
246
|
+
alt?: Prisma.StringNullableFilter<"Media"> | string | null;
|
|
247
|
+
createdAt?: Prisma.DateTimeFilter<"Media"> | Date | string;
|
|
248
|
+
updatedAt?: Prisma.DateTimeFilter<"Media"> | Date | string;
|
|
249
|
+
processedAt?: Prisma.DateTimeNullableFilter<"Media"> | Date | string | null;
|
|
250
|
+
bucket?: Prisma.StringFilter<"Media"> | string;
|
|
251
|
+
isInternal?: Prisma.BoolFilter<"Media"> | boolean;
|
|
252
|
+
collections?: Prisma.CollectionListRelationFilter;
|
|
253
|
+
productVariants?: Prisma.ProductVariantToMediaListRelationFilter;
|
|
254
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaListRelationFilter;
|
|
255
|
+
modifiers?: Prisma.ModifierListRelationFilter;
|
|
256
|
+
ingredientToStores?: Prisma.IngredientToStoreListRelationFilter;
|
|
257
|
+
};
|
|
258
|
+
export type MediaOrderByWithRelationInput = {
|
|
259
|
+
id?: Prisma.SortOrder;
|
|
260
|
+
mediaContentType?: Prisma.SortOrder;
|
|
261
|
+
key?: Prisma.SortOrder;
|
|
262
|
+
filename?: Prisma.SortOrder;
|
|
263
|
+
resourceUrl?: Prisma.SortOrder;
|
|
264
|
+
mime?: Prisma.SortOrder;
|
|
265
|
+
width?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
|
+
height?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
|
+
alt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
|
+
createdAt?: Prisma.SortOrder;
|
|
269
|
+
updatedAt?: Prisma.SortOrder;
|
|
270
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
|
+
bucket?: Prisma.SortOrder;
|
|
272
|
+
isInternal?: Prisma.SortOrder;
|
|
273
|
+
collections?: Prisma.CollectionOrderByRelationAggregateInput;
|
|
274
|
+
productVariants?: Prisma.ProductVariantToMediaOrderByRelationAggregateInput;
|
|
275
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaOrderByRelationAggregateInput;
|
|
276
|
+
modifiers?: Prisma.ModifierOrderByRelationAggregateInput;
|
|
277
|
+
ingredientToStores?: Prisma.IngredientToStoreOrderByRelationAggregateInput;
|
|
278
|
+
_relevance?: Prisma.MediaOrderByRelevanceInput;
|
|
279
|
+
};
|
|
280
|
+
export type MediaWhereUniqueInput = Prisma.AtLeast<{
|
|
281
|
+
id?: bigint | number;
|
|
282
|
+
key_bucket?: Prisma.MediaKeyBucketCompoundUniqueInput;
|
|
283
|
+
resourceUrl_bucket?: Prisma.MediaResourceUrlBucketCompoundUniqueInput;
|
|
284
|
+
AND?: Prisma.MediaWhereInput | Prisma.MediaWhereInput[];
|
|
285
|
+
OR?: Prisma.MediaWhereInput[];
|
|
286
|
+
NOT?: Prisma.MediaWhereInput | Prisma.MediaWhereInput[];
|
|
287
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFilter<"Media"> | $Enums.MediaContentType;
|
|
288
|
+
key?: Prisma.StringFilter<"Media"> | string;
|
|
289
|
+
filename?: Prisma.StringFilter<"Media"> | string;
|
|
290
|
+
resourceUrl?: Prisma.StringFilter<"Media"> | string;
|
|
291
|
+
mime?: Prisma.StringFilter<"Media"> | string;
|
|
292
|
+
width?: Prisma.IntNullableFilter<"Media"> | number | null;
|
|
293
|
+
height?: Prisma.IntNullableFilter<"Media"> | number | null;
|
|
294
|
+
alt?: Prisma.StringNullableFilter<"Media"> | string | null;
|
|
295
|
+
createdAt?: Prisma.DateTimeFilter<"Media"> | Date | string;
|
|
296
|
+
updatedAt?: Prisma.DateTimeFilter<"Media"> | Date | string;
|
|
297
|
+
processedAt?: Prisma.DateTimeNullableFilter<"Media"> | Date | string | null;
|
|
298
|
+
bucket?: Prisma.StringFilter<"Media"> | string;
|
|
299
|
+
isInternal?: Prisma.BoolFilter<"Media"> | boolean;
|
|
300
|
+
collections?: Prisma.CollectionListRelationFilter;
|
|
301
|
+
productVariants?: Prisma.ProductVariantToMediaListRelationFilter;
|
|
302
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaListRelationFilter;
|
|
303
|
+
modifiers?: Prisma.ModifierListRelationFilter;
|
|
304
|
+
ingredientToStores?: Prisma.IngredientToStoreListRelationFilter;
|
|
305
|
+
}, "id" | "key_bucket" | "resourceUrl_bucket">;
|
|
306
|
+
export type MediaOrderByWithAggregationInput = {
|
|
307
|
+
id?: Prisma.SortOrder;
|
|
308
|
+
mediaContentType?: Prisma.SortOrder;
|
|
309
|
+
key?: Prisma.SortOrder;
|
|
310
|
+
filename?: Prisma.SortOrder;
|
|
311
|
+
resourceUrl?: Prisma.SortOrder;
|
|
312
|
+
mime?: Prisma.SortOrder;
|
|
313
|
+
width?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
314
|
+
height?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
315
|
+
alt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
316
|
+
createdAt?: Prisma.SortOrder;
|
|
317
|
+
updatedAt?: Prisma.SortOrder;
|
|
318
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
319
|
+
bucket?: Prisma.SortOrder;
|
|
320
|
+
isInternal?: Prisma.SortOrder;
|
|
321
|
+
_count?: Prisma.MediaCountOrderByAggregateInput;
|
|
322
|
+
_avg?: Prisma.MediaAvgOrderByAggregateInput;
|
|
323
|
+
_max?: Prisma.MediaMaxOrderByAggregateInput;
|
|
324
|
+
_min?: Prisma.MediaMinOrderByAggregateInput;
|
|
325
|
+
_sum?: Prisma.MediaSumOrderByAggregateInput;
|
|
326
|
+
};
|
|
327
|
+
export type MediaScalarWhereWithAggregatesInput = {
|
|
328
|
+
AND?: Prisma.MediaScalarWhereWithAggregatesInput | Prisma.MediaScalarWhereWithAggregatesInput[];
|
|
329
|
+
OR?: Prisma.MediaScalarWhereWithAggregatesInput[];
|
|
330
|
+
NOT?: Prisma.MediaScalarWhereWithAggregatesInput | Prisma.MediaScalarWhereWithAggregatesInput[];
|
|
331
|
+
id?: Prisma.BigIntWithAggregatesFilter<"Media"> | bigint | number;
|
|
332
|
+
mediaContentType?: Prisma.EnumMediaContentTypeWithAggregatesFilter<"Media"> | $Enums.MediaContentType;
|
|
333
|
+
key?: Prisma.StringWithAggregatesFilter<"Media"> | string;
|
|
334
|
+
filename?: Prisma.StringWithAggregatesFilter<"Media"> | string;
|
|
335
|
+
resourceUrl?: Prisma.StringWithAggregatesFilter<"Media"> | string;
|
|
336
|
+
mime?: Prisma.StringWithAggregatesFilter<"Media"> | string;
|
|
337
|
+
width?: Prisma.IntNullableWithAggregatesFilter<"Media"> | number | null;
|
|
338
|
+
height?: Prisma.IntNullableWithAggregatesFilter<"Media"> | number | null;
|
|
339
|
+
alt?: Prisma.StringNullableWithAggregatesFilter<"Media"> | string | null;
|
|
340
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Media"> | Date | string;
|
|
341
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Media"> | Date | string;
|
|
342
|
+
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Media"> | Date | string | null;
|
|
343
|
+
bucket?: Prisma.StringWithAggregatesFilter<"Media"> | string;
|
|
344
|
+
isInternal?: Prisma.BoolWithAggregatesFilter<"Media"> | boolean;
|
|
345
|
+
};
|
|
346
|
+
export type MediaCreateInput = {
|
|
347
|
+
id?: bigint | number;
|
|
348
|
+
mediaContentType: $Enums.MediaContentType;
|
|
349
|
+
key: string;
|
|
350
|
+
filename: string;
|
|
351
|
+
resourceUrl: string;
|
|
352
|
+
mime: string;
|
|
353
|
+
width?: number | null;
|
|
354
|
+
height?: number | null;
|
|
355
|
+
alt?: string | null;
|
|
356
|
+
createdAt?: Date | string;
|
|
357
|
+
updatedAt?: Date | string;
|
|
358
|
+
processedAt?: Date | string | null;
|
|
359
|
+
bucket?: string;
|
|
360
|
+
isInternal?: boolean;
|
|
361
|
+
collections?: Prisma.CollectionCreateNestedManyWithoutImageInput;
|
|
362
|
+
productVariants?: Prisma.ProductVariantToMediaCreateNestedManyWithoutMediaInput;
|
|
363
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaCreateNestedManyWithoutMediaInput;
|
|
364
|
+
modifiers?: Prisma.ModifierCreateNestedManyWithoutMediaInput;
|
|
365
|
+
ingredientToStores?: Prisma.IngredientToStoreCreateNestedManyWithoutMediaInput;
|
|
366
|
+
};
|
|
367
|
+
export type MediaUncheckedCreateInput = {
|
|
368
|
+
id?: bigint | number;
|
|
369
|
+
mediaContentType: $Enums.MediaContentType;
|
|
370
|
+
key: string;
|
|
371
|
+
filename: string;
|
|
372
|
+
resourceUrl: string;
|
|
373
|
+
mime: string;
|
|
374
|
+
width?: number | null;
|
|
375
|
+
height?: number | null;
|
|
376
|
+
alt?: string | null;
|
|
377
|
+
createdAt?: Date | string;
|
|
378
|
+
updatedAt?: Date | string;
|
|
379
|
+
processedAt?: Date | string | null;
|
|
380
|
+
bucket?: string;
|
|
381
|
+
isInternal?: boolean;
|
|
382
|
+
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutImageInput;
|
|
383
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
384
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
385
|
+
modifiers?: Prisma.ModifierUncheckedCreateNestedManyWithoutMediaInput;
|
|
386
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedCreateNestedManyWithoutMediaInput;
|
|
387
|
+
};
|
|
388
|
+
export type MediaUpdateInput = {
|
|
389
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
390
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
391
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
393
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
396
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
397
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
398
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
399
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
401
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
403
|
+
collections?: Prisma.CollectionUpdateManyWithoutImageNestedInput;
|
|
404
|
+
productVariants?: Prisma.ProductVariantToMediaUpdateManyWithoutMediaNestedInput;
|
|
405
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUpdateManyWithoutMediaNestedInput;
|
|
406
|
+
modifiers?: Prisma.ModifierUpdateManyWithoutMediaNestedInput;
|
|
407
|
+
ingredientToStores?: Prisma.IngredientToStoreUpdateManyWithoutMediaNestedInput;
|
|
408
|
+
};
|
|
409
|
+
export type MediaUncheckedUpdateInput = {
|
|
410
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
411
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
412
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
413
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
417
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
418
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
419
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
420
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
421
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
422
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
424
|
+
collections?: Prisma.CollectionUncheckedUpdateManyWithoutImageNestedInput;
|
|
425
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
426
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
427
|
+
modifiers?: Prisma.ModifierUncheckedUpdateManyWithoutMediaNestedInput;
|
|
428
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedUpdateManyWithoutMediaNestedInput;
|
|
429
|
+
};
|
|
430
|
+
export type MediaCreateManyInput = {
|
|
431
|
+
id?: bigint | number;
|
|
432
|
+
mediaContentType: $Enums.MediaContentType;
|
|
433
|
+
key: string;
|
|
434
|
+
filename: string;
|
|
435
|
+
resourceUrl: string;
|
|
436
|
+
mime: string;
|
|
437
|
+
width?: number | null;
|
|
438
|
+
height?: number | null;
|
|
439
|
+
alt?: string | null;
|
|
440
|
+
createdAt?: Date | string;
|
|
441
|
+
updatedAt?: Date | string;
|
|
442
|
+
processedAt?: Date | string | null;
|
|
443
|
+
bucket?: string;
|
|
444
|
+
isInternal?: boolean;
|
|
445
|
+
};
|
|
446
|
+
export type MediaUpdateManyMutationInput = {
|
|
447
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
448
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
449
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
450
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
451
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
452
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
453
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
454
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
455
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
456
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
457
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
458
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
459
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
460
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
461
|
+
};
|
|
462
|
+
export type MediaUncheckedUpdateManyInput = {
|
|
463
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
464
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
465
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
467
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
468
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
469
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
470
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
471
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
472
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
473
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
474
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
475
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
476
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
477
|
+
};
|
|
478
|
+
export type MediaNullableScalarRelationFilter = {
|
|
479
|
+
is?: Prisma.MediaWhereInput | null;
|
|
480
|
+
isNot?: Prisma.MediaWhereInput | null;
|
|
481
|
+
};
|
|
482
|
+
export type MediaOrderByRelevanceInput = {
|
|
483
|
+
fields: Prisma.MediaOrderByRelevanceFieldEnum | Prisma.MediaOrderByRelevanceFieldEnum[];
|
|
484
|
+
sort: Prisma.SortOrder;
|
|
485
|
+
search: string;
|
|
486
|
+
};
|
|
487
|
+
export type MediaKeyBucketCompoundUniqueInput = {
|
|
488
|
+
key: string;
|
|
489
|
+
bucket: string;
|
|
490
|
+
};
|
|
491
|
+
export type MediaResourceUrlBucketCompoundUniqueInput = {
|
|
492
|
+
resourceUrl: string;
|
|
493
|
+
bucket: string;
|
|
494
|
+
};
|
|
495
|
+
export type MediaCountOrderByAggregateInput = {
|
|
496
|
+
id?: Prisma.SortOrder;
|
|
497
|
+
mediaContentType?: Prisma.SortOrder;
|
|
498
|
+
key?: Prisma.SortOrder;
|
|
499
|
+
filename?: Prisma.SortOrder;
|
|
500
|
+
resourceUrl?: Prisma.SortOrder;
|
|
501
|
+
mime?: Prisma.SortOrder;
|
|
502
|
+
width?: Prisma.SortOrder;
|
|
503
|
+
height?: Prisma.SortOrder;
|
|
504
|
+
alt?: Prisma.SortOrder;
|
|
505
|
+
createdAt?: Prisma.SortOrder;
|
|
506
|
+
updatedAt?: Prisma.SortOrder;
|
|
507
|
+
processedAt?: Prisma.SortOrder;
|
|
508
|
+
bucket?: Prisma.SortOrder;
|
|
509
|
+
isInternal?: Prisma.SortOrder;
|
|
510
|
+
};
|
|
511
|
+
export type MediaAvgOrderByAggregateInput = {
|
|
512
|
+
id?: Prisma.SortOrder;
|
|
513
|
+
width?: Prisma.SortOrder;
|
|
514
|
+
height?: Prisma.SortOrder;
|
|
515
|
+
};
|
|
516
|
+
export type MediaMaxOrderByAggregateInput = {
|
|
517
|
+
id?: Prisma.SortOrder;
|
|
518
|
+
mediaContentType?: Prisma.SortOrder;
|
|
519
|
+
key?: Prisma.SortOrder;
|
|
520
|
+
filename?: Prisma.SortOrder;
|
|
521
|
+
resourceUrl?: Prisma.SortOrder;
|
|
522
|
+
mime?: Prisma.SortOrder;
|
|
523
|
+
width?: Prisma.SortOrder;
|
|
524
|
+
height?: Prisma.SortOrder;
|
|
525
|
+
alt?: Prisma.SortOrder;
|
|
526
|
+
createdAt?: Prisma.SortOrder;
|
|
527
|
+
updatedAt?: Prisma.SortOrder;
|
|
528
|
+
processedAt?: Prisma.SortOrder;
|
|
529
|
+
bucket?: Prisma.SortOrder;
|
|
530
|
+
isInternal?: Prisma.SortOrder;
|
|
531
|
+
};
|
|
532
|
+
export type MediaMinOrderByAggregateInput = {
|
|
533
|
+
id?: Prisma.SortOrder;
|
|
534
|
+
mediaContentType?: Prisma.SortOrder;
|
|
535
|
+
key?: Prisma.SortOrder;
|
|
536
|
+
filename?: Prisma.SortOrder;
|
|
537
|
+
resourceUrl?: Prisma.SortOrder;
|
|
538
|
+
mime?: Prisma.SortOrder;
|
|
539
|
+
width?: Prisma.SortOrder;
|
|
540
|
+
height?: Prisma.SortOrder;
|
|
541
|
+
alt?: Prisma.SortOrder;
|
|
542
|
+
createdAt?: Prisma.SortOrder;
|
|
543
|
+
updatedAt?: Prisma.SortOrder;
|
|
544
|
+
processedAt?: Prisma.SortOrder;
|
|
545
|
+
bucket?: Prisma.SortOrder;
|
|
546
|
+
isInternal?: Prisma.SortOrder;
|
|
547
|
+
};
|
|
548
|
+
export type MediaSumOrderByAggregateInput = {
|
|
549
|
+
id?: Prisma.SortOrder;
|
|
550
|
+
width?: Prisma.SortOrder;
|
|
551
|
+
height?: Prisma.SortOrder;
|
|
552
|
+
};
|
|
553
|
+
export type MediaScalarRelationFilter = {
|
|
554
|
+
is?: Prisma.MediaWhereInput;
|
|
555
|
+
isNot?: Prisma.MediaWhereInput;
|
|
556
|
+
};
|
|
557
|
+
export type MediaCreateNestedOneWithoutCollectionsInput = {
|
|
558
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutCollectionsInput, Prisma.MediaUncheckedCreateWithoutCollectionsInput>;
|
|
559
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutCollectionsInput;
|
|
560
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
561
|
+
};
|
|
562
|
+
export type MediaUpdateOneWithoutCollectionsNestedInput = {
|
|
563
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutCollectionsInput, Prisma.MediaUncheckedCreateWithoutCollectionsInput>;
|
|
564
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutCollectionsInput;
|
|
565
|
+
upsert?: Prisma.MediaUpsertWithoutCollectionsInput;
|
|
566
|
+
disconnect?: Prisma.MediaWhereInput | boolean;
|
|
567
|
+
delete?: Prisma.MediaWhereInput | boolean;
|
|
568
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
569
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.MediaUpdateToOneWithWhereWithoutCollectionsInput, Prisma.MediaUpdateWithoutCollectionsInput>, Prisma.MediaUncheckedUpdateWithoutCollectionsInput>;
|
|
570
|
+
};
|
|
571
|
+
export type MediaCreateNestedOneWithoutIngredientToStoresInput = {
|
|
572
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutIngredientToStoresInput, Prisma.MediaUncheckedCreateWithoutIngredientToStoresInput>;
|
|
573
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutIngredientToStoresInput;
|
|
574
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
575
|
+
};
|
|
576
|
+
export type MediaUpdateOneWithoutIngredientToStoresNestedInput = {
|
|
577
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutIngredientToStoresInput, Prisma.MediaUncheckedCreateWithoutIngredientToStoresInput>;
|
|
578
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutIngredientToStoresInput;
|
|
579
|
+
upsert?: Prisma.MediaUpsertWithoutIngredientToStoresInput;
|
|
580
|
+
disconnect?: Prisma.MediaWhereInput | boolean;
|
|
581
|
+
delete?: Prisma.MediaWhereInput | boolean;
|
|
582
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
583
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.MediaUpdateToOneWithWhereWithoutIngredientToStoresInput, Prisma.MediaUpdateWithoutIngredientToStoresInput>, Prisma.MediaUncheckedUpdateWithoutIngredientToStoresInput>;
|
|
584
|
+
};
|
|
585
|
+
export type EnumMediaContentTypeFieldUpdateOperationsInput = {
|
|
586
|
+
set?: $Enums.MediaContentType;
|
|
587
|
+
};
|
|
588
|
+
export type MediaCreateNestedOneWithoutModifiersInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutModifiersInput, Prisma.MediaUncheckedCreateWithoutModifiersInput>;
|
|
590
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutModifiersInput;
|
|
591
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
592
|
+
};
|
|
593
|
+
export type MediaUpdateOneWithoutModifiersNestedInput = {
|
|
594
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutModifiersInput, Prisma.MediaUncheckedCreateWithoutModifiersInput>;
|
|
595
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutModifiersInput;
|
|
596
|
+
upsert?: Prisma.MediaUpsertWithoutModifiersInput;
|
|
597
|
+
disconnect?: Prisma.MediaWhereInput | boolean;
|
|
598
|
+
delete?: Prisma.MediaWhereInput | boolean;
|
|
599
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
600
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.MediaUpdateToOneWithWhereWithoutModifiersInput, Prisma.MediaUpdateWithoutModifiersInput>, Prisma.MediaUncheckedUpdateWithoutModifiersInput>;
|
|
601
|
+
};
|
|
602
|
+
export type MediaCreateNestedOneWithoutProductVariantListingToMediasInput = {
|
|
603
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantListingToMediasInput, Prisma.MediaUncheckedCreateWithoutProductVariantListingToMediasInput>;
|
|
604
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutProductVariantListingToMediasInput;
|
|
605
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
606
|
+
};
|
|
607
|
+
export type MediaUpdateOneRequiredWithoutProductVariantListingToMediasNestedInput = {
|
|
608
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantListingToMediasInput, Prisma.MediaUncheckedCreateWithoutProductVariantListingToMediasInput>;
|
|
609
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutProductVariantListingToMediasInput;
|
|
610
|
+
upsert?: Prisma.MediaUpsertWithoutProductVariantListingToMediasInput;
|
|
611
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
612
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.MediaUpdateToOneWithWhereWithoutProductVariantListingToMediasInput, Prisma.MediaUpdateWithoutProductVariantListingToMediasInput>, Prisma.MediaUncheckedUpdateWithoutProductVariantListingToMediasInput>;
|
|
613
|
+
};
|
|
614
|
+
export type MediaCreateNestedOneWithoutProductVariantsInput = {
|
|
615
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantsInput, Prisma.MediaUncheckedCreateWithoutProductVariantsInput>;
|
|
616
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutProductVariantsInput;
|
|
617
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
618
|
+
};
|
|
619
|
+
export type MediaUpdateOneRequiredWithoutProductVariantsNestedInput = {
|
|
620
|
+
create?: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantsInput, Prisma.MediaUncheckedCreateWithoutProductVariantsInput>;
|
|
621
|
+
connectOrCreate?: Prisma.MediaCreateOrConnectWithoutProductVariantsInput;
|
|
622
|
+
upsert?: Prisma.MediaUpsertWithoutProductVariantsInput;
|
|
623
|
+
connect?: Prisma.MediaWhereUniqueInput;
|
|
624
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.MediaUpdateToOneWithWhereWithoutProductVariantsInput, Prisma.MediaUpdateWithoutProductVariantsInput>, Prisma.MediaUncheckedUpdateWithoutProductVariantsInput>;
|
|
625
|
+
};
|
|
626
|
+
export type MediaCreateWithoutCollectionsInput = {
|
|
627
|
+
id?: bigint | number;
|
|
628
|
+
mediaContentType: $Enums.MediaContentType;
|
|
629
|
+
key: string;
|
|
630
|
+
filename: string;
|
|
631
|
+
resourceUrl: string;
|
|
632
|
+
mime: string;
|
|
633
|
+
width?: number | null;
|
|
634
|
+
height?: number | null;
|
|
635
|
+
alt?: string | null;
|
|
636
|
+
createdAt?: Date | string;
|
|
637
|
+
updatedAt?: Date | string;
|
|
638
|
+
processedAt?: Date | string | null;
|
|
639
|
+
bucket?: string;
|
|
640
|
+
isInternal?: boolean;
|
|
641
|
+
productVariants?: Prisma.ProductVariantToMediaCreateNestedManyWithoutMediaInput;
|
|
642
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaCreateNestedManyWithoutMediaInput;
|
|
643
|
+
modifiers?: Prisma.ModifierCreateNestedManyWithoutMediaInput;
|
|
644
|
+
ingredientToStores?: Prisma.IngredientToStoreCreateNestedManyWithoutMediaInput;
|
|
645
|
+
};
|
|
646
|
+
export type MediaUncheckedCreateWithoutCollectionsInput = {
|
|
647
|
+
id?: bigint | number;
|
|
648
|
+
mediaContentType: $Enums.MediaContentType;
|
|
649
|
+
key: string;
|
|
650
|
+
filename: string;
|
|
651
|
+
resourceUrl: string;
|
|
652
|
+
mime: string;
|
|
653
|
+
width?: number | null;
|
|
654
|
+
height?: number | null;
|
|
655
|
+
alt?: string | null;
|
|
656
|
+
createdAt?: Date | string;
|
|
657
|
+
updatedAt?: Date | string;
|
|
658
|
+
processedAt?: Date | string | null;
|
|
659
|
+
bucket?: string;
|
|
660
|
+
isInternal?: boolean;
|
|
661
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
662
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
663
|
+
modifiers?: Prisma.ModifierUncheckedCreateNestedManyWithoutMediaInput;
|
|
664
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedCreateNestedManyWithoutMediaInput;
|
|
665
|
+
};
|
|
666
|
+
export type MediaCreateOrConnectWithoutCollectionsInput = {
|
|
667
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
668
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutCollectionsInput, Prisma.MediaUncheckedCreateWithoutCollectionsInput>;
|
|
669
|
+
};
|
|
670
|
+
export type MediaUpsertWithoutCollectionsInput = {
|
|
671
|
+
update: Prisma.XOR<Prisma.MediaUpdateWithoutCollectionsInput, Prisma.MediaUncheckedUpdateWithoutCollectionsInput>;
|
|
672
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutCollectionsInput, Prisma.MediaUncheckedCreateWithoutCollectionsInput>;
|
|
673
|
+
where?: Prisma.MediaWhereInput;
|
|
674
|
+
};
|
|
675
|
+
export type MediaUpdateToOneWithWhereWithoutCollectionsInput = {
|
|
676
|
+
where?: Prisma.MediaWhereInput;
|
|
677
|
+
data: Prisma.XOR<Prisma.MediaUpdateWithoutCollectionsInput, Prisma.MediaUncheckedUpdateWithoutCollectionsInput>;
|
|
678
|
+
};
|
|
679
|
+
export type MediaUpdateWithoutCollectionsInput = {
|
|
680
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
681
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
682
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
683
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
684
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
685
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
686
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
687
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
688
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
689
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
690
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
691
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
692
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
694
|
+
productVariants?: Prisma.ProductVariantToMediaUpdateManyWithoutMediaNestedInput;
|
|
695
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUpdateManyWithoutMediaNestedInput;
|
|
696
|
+
modifiers?: Prisma.ModifierUpdateManyWithoutMediaNestedInput;
|
|
697
|
+
ingredientToStores?: Prisma.IngredientToStoreUpdateManyWithoutMediaNestedInput;
|
|
698
|
+
};
|
|
699
|
+
export type MediaUncheckedUpdateWithoutCollectionsInput = {
|
|
700
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
701
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
702
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
703
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
704
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
705
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
706
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
707
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
708
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
709
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
710
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
711
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
712
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
713
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
714
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
715
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
716
|
+
modifiers?: Prisma.ModifierUncheckedUpdateManyWithoutMediaNestedInput;
|
|
717
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedUpdateManyWithoutMediaNestedInput;
|
|
718
|
+
};
|
|
719
|
+
export type MediaCreateWithoutIngredientToStoresInput = {
|
|
720
|
+
id?: bigint | number;
|
|
721
|
+
mediaContentType: $Enums.MediaContentType;
|
|
722
|
+
key: string;
|
|
723
|
+
filename: string;
|
|
724
|
+
resourceUrl: string;
|
|
725
|
+
mime: string;
|
|
726
|
+
width?: number | null;
|
|
727
|
+
height?: number | null;
|
|
728
|
+
alt?: string | null;
|
|
729
|
+
createdAt?: Date | string;
|
|
730
|
+
updatedAt?: Date | string;
|
|
731
|
+
processedAt?: Date | string | null;
|
|
732
|
+
bucket?: string;
|
|
733
|
+
isInternal?: boolean;
|
|
734
|
+
collections?: Prisma.CollectionCreateNestedManyWithoutImageInput;
|
|
735
|
+
productVariants?: Prisma.ProductVariantToMediaCreateNestedManyWithoutMediaInput;
|
|
736
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaCreateNestedManyWithoutMediaInput;
|
|
737
|
+
modifiers?: Prisma.ModifierCreateNestedManyWithoutMediaInput;
|
|
738
|
+
};
|
|
739
|
+
export type MediaUncheckedCreateWithoutIngredientToStoresInput = {
|
|
740
|
+
id?: bigint | number;
|
|
741
|
+
mediaContentType: $Enums.MediaContentType;
|
|
742
|
+
key: string;
|
|
743
|
+
filename: string;
|
|
744
|
+
resourceUrl: string;
|
|
745
|
+
mime: string;
|
|
746
|
+
width?: number | null;
|
|
747
|
+
height?: number | null;
|
|
748
|
+
alt?: string | null;
|
|
749
|
+
createdAt?: Date | string;
|
|
750
|
+
updatedAt?: Date | string;
|
|
751
|
+
processedAt?: Date | string | null;
|
|
752
|
+
bucket?: string;
|
|
753
|
+
isInternal?: boolean;
|
|
754
|
+
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutImageInput;
|
|
755
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
756
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
757
|
+
modifiers?: Prisma.ModifierUncheckedCreateNestedManyWithoutMediaInput;
|
|
758
|
+
};
|
|
759
|
+
export type MediaCreateOrConnectWithoutIngredientToStoresInput = {
|
|
760
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
761
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutIngredientToStoresInput, Prisma.MediaUncheckedCreateWithoutIngredientToStoresInput>;
|
|
762
|
+
};
|
|
763
|
+
export type MediaUpsertWithoutIngredientToStoresInput = {
|
|
764
|
+
update: Prisma.XOR<Prisma.MediaUpdateWithoutIngredientToStoresInput, Prisma.MediaUncheckedUpdateWithoutIngredientToStoresInput>;
|
|
765
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutIngredientToStoresInput, Prisma.MediaUncheckedCreateWithoutIngredientToStoresInput>;
|
|
766
|
+
where?: Prisma.MediaWhereInput;
|
|
767
|
+
};
|
|
768
|
+
export type MediaUpdateToOneWithWhereWithoutIngredientToStoresInput = {
|
|
769
|
+
where?: Prisma.MediaWhereInput;
|
|
770
|
+
data: Prisma.XOR<Prisma.MediaUpdateWithoutIngredientToStoresInput, Prisma.MediaUncheckedUpdateWithoutIngredientToStoresInput>;
|
|
771
|
+
};
|
|
772
|
+
export type MediaUpdateWithoutIngredientToStoresInput = {
|
|
773
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
774
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
775
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
776
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
777
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
778
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
779
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
780
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
781
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
782
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
783
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
784
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
785
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
786
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
787
|
+
collections?: Prisma.CollectionUpdateManyWithoutImageNestedInput;
|
|
788
|
+
productVariants?: Prisma.ProductVariantToMediaUpdateManyWithoutMediaNestedInput;
|
|
789
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUpdateManyWithoutMediaNestedInput;
|
|
790
|
+
modifiers?: Prisma.ModifierUpdateManyWithoutMediaNestedInput;
|
|
791
|
+
};
|
|
792
|
+
export type MediaUncheckedUpdateWithoutIngredientToStoresInput = {
|
|
793
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
794
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
795
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
796
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
797
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
798
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
799
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
800
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
801
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
802
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
803
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
804
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
805
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
806
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
807
|
+
collections?: Prisma.CollectionUncheckedUpdateManyWithoutImageNestedInput;
|
|
808
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
809
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
810
|
+
modifiers?: Prisma.ModifierUncheckedUpdateManyWithoutMediaNestedInput;
|
|
811
|
+
};
|
|
812
|
+
export type MediaCreateWithoutModifiersInput = {
|
|
813
|
+
id?: bigint | number;
|
|
814
|
+
mediaContentType: $Enums.MediaContentType;
|
|
815
|
+
key: string;
|
|
816
|
+
filename: string;
|
|
817
|
+
resourceUrl: string;
|
|
818
|
+
mime: string;
|
|
819
|
+
width?: number | null;
|
|
820
|
+
height?: number | null;
|
|
821
|
+
alt?: string | null;
|
|
822
|
+
createdAt?: Date | string;
|
|
823
|
+
updatedAt?: Date | string;
|
|
824
|
+
processedAt?: Date | string | null;
|
|
825
|
+
bucket?: string;
|
|
826
|
+
isInternal?: boolean;
|
|
827
|
+
collections?: Prisma.CollectionCreateNestedManyWithoutImageInput;
|
|
828
|
+
productVariants?: Prisma.ProductVariantToMediaCreateNestedManyWithoutMediaInput;
|
|
829
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaCreateNestedManyWithoutMediaInput;
|
|
830
|
+
ingredientToStores?: Prisma.IngredientToStoreCreateNestedManyWithoutMediaInput;
|
|
831
|
+
};
|
|
832
|
+
export type MediaUncheckedCreateWithoutModifiersInput = {
|
|
833
|
+
id?: bigint | number;
|
|
834
|
+
mediaContentType: $Enums.MediaContentType;
|
|
835
|
+
key: string;
|
|
836
|
+
filename: string;
|
|
837
|
+
resourceUrl: string;
|
|
838
|
+
mime: string;
|
|
839
|
+
width?: number | null;
|
|
840
|
+
height?: number | null;
|
|
841
|
+
alt?: string | null;
|
|
842
|
+
createdAt?: Date | string;
|
|
843
|
+
updatedAt?: Date | string;
|
|
844
|
+
processedAt?: Date | string | null;
|
|
845
|
+
bucket?: string;
|
|
846
|
+
isInternal?: boolean;
|
|
847
|
+
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutImageInput;
|
|
848
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
849
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
850
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedCreateNestedManyWithoutMediaInput;
|
|
851
|
+
};
|
|
852
|
+
export type MediaCreateOrConnectWithoutModifiersInput = {
|
|
853
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
854
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutModifiersInput, Prisma.MediaUncheckedCreateWithoutModifiersInput>;
|
|
855
|
+
};
|
|
856
|
+
export type MediaUpsertWithoutModifiersInput = {
|
|
857
|
+
update: Prisma.XOR<Prisma.MediaUpdateWithoutModifiersInput, Prisma.MediaUncheckedUpdateWithoutModifiersInput>;
|
|
858
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutModifiersInput, Prisma.MediaUncheckedCreateWithoutModifiersInput>;
|
|
859
|
+
where?: Prisma.MediaWhereInput;
|
|
860
|
+
};
|
|
861
|
+
export type MediaUpdateToOneWithWhereWithoutModifiersInput = {
|
|
862
|
+
where?: Prisma.MediaWhereInput;
|
|
863
|
+
data: Prisma.XOR<Prisma.MediaUpdateWithoutModifiersInput, Prisma.MediaUncheckedUpdateWithoutModifiersInput>;
|
|
864
|
+
};
|
|
865
|
+
export type MediaUpdateWithoutModifiersInput = {
|
|
866
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
867
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
868
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
869
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
870
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
871
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
872
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
873
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
874
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
875
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
876
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
877
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
878
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
879
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
880
|
+
collections?: Prisma.CollectionUpdateManyWithoutImageNestedInput;
|
|
881
|
+
productVariants?: Prisma.ProductVariantToMediaUpdateManyWithoutMediaNestedInput;
|
|
882
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUpdateManyWithoutMediaNestedInput;
|
|
883
|
+
ingredientToStores?: Prisma.IngredientToStoreUpdateManyWithoutMediaNestedInput;
|
|
884
|
+
};
|
|
885
|
+
export type MediaUncheckedUpdateWithoutModifiersInput = {
|
|
886
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
887
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
888
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
889
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
890
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
891
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
892
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
893
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
894
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
895
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
896
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
897
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
898
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
899
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
900
|
+
collections?: Prisma.CollectionUncheckedUpdateManyWithoutImageNestedInput;
|
|
901
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
902
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
903
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedUpdateManyWithoutMediaNestedInput;
|
|
904
|
+
};
|
|
905
|
+
export type MediaCreateWithoutProductVariantListingToMediasInput = {
|
|
906
|
+
id?: bigint | number;
|
|
907
|
+
mediaContentType: $Enums.MediaContentType;
|
|
908
|
+
key: string;
|
|
909
|
+
filename: string;
|
|
910
|
+
resourceUrl: string;
|
|
911
|
+
mime: string;
|
|
912
|
+
width?: number | null;
|
|
913
|
+
height?: number | null;
|
|
914
|
+
alt?: string | null;
|
|
915
|
+
createdAt?: Date | string;
|
|
916
|
+
updatedAt?: Date | string;
|
|
917
|
+
processedAt?: Date | string | null;
|
|
918
|
+
bucket?: string;
|
|
919
|
+
isInternal?: boolean;
|
|
920
|
+
collections?: Prisma.CollectionCreateNestedManyWithoutImageInput;
|
|
921
|
+
productVariants?: Prisma.ProductVariantToMediaCreateNestedManyWithoutMediaInput;
|
|
922
|
+
modifiers?: Prisma.ModifierCreateNestedManyWithoutMediaInput;
|
|
923
|
+
ingredientToStores?: Prisma.IngredientToStoreCreateNestedManyWithoutMediaInput;
|
|
924
|
+
};
|
|
925
|
+
export type MediaUncheckedCreateWithoutProductVariantListingToMediasInput = {
|
|
926
|
+
id?: bigint | number;
|
|
927
|
+
mediaContentType: $Enums.MediaContentType;
|
|
928
|
+
key: string;
|
|
929
|
+
filename: string;
|
|
930
|
+
resourceUrl: string;
|
|
931
|
+
mime: string;
|
|
932
|
+
width?: number | null;
|
|
933
|
+
height?: number | null;
|
|
934
|
+
alt?: string | null;
|
|
935
|
+
createdAt?: Date | string;
|
|
936
|
+
updatedAt?: Date | string;
|
|
937
|
+
processedAt?: Date | string | null;
|
|
938
|
+
bucket?: string;
|
|
939
|
+
isInternal?: boolean;
|
|
940
|
+
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutImageInput;
|
|
941
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
942
|
+
modifiers?: Prisma.ModifierUncheckedCreateNestedManyWithoutMediaInput;
|
|
943
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedCreateNestedManyWithoutMediaInput;
|
|
944
|
+
};
|
|
945
|
+
export type MediaCreateOrConnectWithoutProductVariantListingToMediasInput = {
|
|
946
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
947
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantListingToMediasInput, Prisma.MediaUncheckedCreateWithoutProductVariantListingToMediasInput>;
|
|
948
|
+
};
|
|
949
|
+
export type MediaUpsertWithoutProductVariantListingToMediasInput = {
|
|
950
|
+
update: Prisma.XOR<Prisma.MediaUpdateWithoutProductVariantListingToMediasInput, Prisma.MediaUncheckedUpdateWithoutProductVariantListingToMediasInput>;
|
|
951
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantListingToMediasInput, Prisma.MediaUncheckedCreateWithoutProductVariantListingToMediasInput>;
|
|
952
|
+
where?: Prisma.MediaWhereInput;
|
|
953
|
+
};
|
|
954
|
+
export type MediaUpdateToOneWithWhereWithoutProductVariantListingToMediasInput = {
|
|
955
|
+
where?: Prisma.MediaWhereInput;
|
|
956
|
+
data: Prisma.XOR<Prisma.MediaUpdateWithoutProductVariantListingToMediasInput, Prisma.MediaUncheckedUpdateWithoutProductVariantListingToMediasInput>;
|
|
957
|
+
};
|
|
958
|
+
export type MediaUpdateWithoutProductVariantListingToMediasInput = {
|
|
959
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
960
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
961
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
962
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
963
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
964
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
965
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
966
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
967
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
968
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
969
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
970
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
971
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
972
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
973
|
+
collections?: Prisma.CollectionUpdateManyWithoutImageNestedInput;
|
|
974
|
+
productVariants?: Prisma.ProductVariantToMediaUpdateManyWithoutMediaNestedInput;
|
|
975
|
+
modifiers?: Prisma.ModifierUpdateManyWithoutMediaNestedInput;
|
|
976
|
+
ingredientToStores?: Prisma.IngredientToStoreUpdateManyWithoutMediaNestedInput;
|
|
977
|
+
};
|
|
978
|
+
export type MediaUncheckedUpdateWithoutProductVariantListingToMediasInput = {
|
|
979
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
980
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
981
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
982
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
983
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
984
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
985
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
986
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
987
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
988
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
989
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
990
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
991
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
992
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
993
|
+
collections?: Prisma.CollectionUncheckedUpdateManyWithoutImageNestedInput;
|
|
994
|
+
productVariants?: Prisma.ProductVariantToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
995
|
+
modifiers?: Prisma.ModifierUncheckedUpdateManyWithoutMediaNestedInput;
|
|
996
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedUpdateManyWithoutMediaNestedInput;
|
|
997
|
+
};
|
|
998
|
+
export type MediaCreateWithoutProductVariantsInput = {
|
|
999
|
+
id?: bigint | number;
|
|
1000
|
+
mediaContentType: $Enums.MediaContentType;
|
|
1001
|
+
key: string;
|
|
1002
|
+
filename: string;
|
|
1003
|
+
resourceUrl: string;
|
|
1004
|
+
mime: string;
|
|
1005
|
+
width?: number | null;
|
|
1006
|
+
height?: number | null;
|
|
1007
|
+
alt?: string | null;
|
|
1008
|
+
createdAt?: Date | string;
|
|
1009
|
+
updatedAt?: Date | string;
|
|
1010
|
+
processedAt?: Date | string | null;
|
|
1011
|
+
bucket?: string;
|
|
1012
|
+
isInternal?: boolean;
|
|
1013
|
+
collections?: Prisma.CollectionCreateNestedManyWithoutImageInput;
|
|
1014
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaCreateNestedManyWithoutMediaInput;
|
|
1015
|
+
modifiers?: Prisma.ModifierCreateNestedManyWithoutMediaInput;
|
|
1016
|
+
ingredientToStores?: Prisma.IngredientToStoreCreateNestedManyWithoutMediaInput;
|
|
1017
|
+
};
|
|
1018
|
+
export type MediaUncheckedCreateWithoutProductVariantsInput = {
|
|
1019
|
+
id?: bigint | number;
|
|
1020
|
+
mediaContentType: $Enums.MediaContentType;
|
|
1021
|
+
key: string;
|
|
1022
|
+
filename: string;
|
|
1023
|
+
resourceUrl: string;
|
|
1024
|
+
mime: string;
|
|
1025
|
+
width?: number | null;
|
|
1026
|
+
height?: number | null;
|
|
1027
|
+
alt?: string | null;
|
|
1028
|
+
createdAt?: Date | string;
|
|
1029
|
+
updatedAt?: Date | string;
|
|
1030
|
+
processedAt?: Date | string | null;
|
|
1031
|
+
bucket?: string;
|
|
1032
|
+
isInternal?: boolean;
|
|
1033
|
+
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutImageInput;
|
|
1034
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedCreateNestedManyWithoutMediaInput;
|
|
1035
|
+
modifiers?: Prisma.ModifierUncheckedCreateNestedManyWithoutMediaInput;
|
|
1036
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedCreateNestedManyWithoutMediaInput;
|
|
1037
|
+
};
|
|
1038
|
+
export type MediaCreateOrConnectWithoutProductVariantsInput = {
|
|
1039
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
1040
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantsInput, Prisma.MediaUncheckedCreateWithoutProductVariantsInput>;
|
|
1041
|
+
};
|
|
1042
|
+
export type MediaUpsertWithoutProductVariantsInput = {
|
|
1043
|
+
update: Prisma.XOR<Prisma.MediaUpdateWithoutProductVariantsInput, Prisma.MediaUncheckedUpdateWithoutProductVariantsInput>;
|
|
1044
|
+
create: Prisma.XOR<Prisma.MediaCreateWithoutProductVariantsInput, Prisma.MediaUncheckedCreateWithoutProductVariantsInput>;
|
|
1045
|
+
where?: Prisma.MediaWhereInput;
|
|
1046
|
+
};
|
|
1047
|
+
export type MediaUpdateToOneWithWhereWithoutProductVariantsInput = {
|
|
1048
|
+
where?: Prisma.MediaWhereInput;
|
|
1049
|
+
data: Prisma.XOR<Prisma.MediaUpdateWithoutProductVariantsInput, Prisma.MediaUncheckedUpdateWithoutProductVariantsInput>;
|
|
1050
|
+
};
|
|
1051
|
+
export type MediaUpdateWithoutProductVariantsInput = {
|
|
1052
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1053
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
1054
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1055
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1056
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1057
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1058
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1059
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1060
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1061
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1062
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1063
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1064
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1065
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1066
|
+
collections?: Prisma.CollectionUpdateManyWithoutImageNestedInput;
|
|
1067
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUpdateManyWithoutMediaNestedInput;
|
|
1068
|
+
modifiers?: Prisma.ModifierUpdateManyWithoutMediaNestedInput;
|
|
1069
|
+
ingredientToStores?: Prisma.IngredientToStoreUpdateManyWithoutMediaNestedInput;
|
|
1070
|
+
};
|
|
1071
|
+
export type MediaUncheckedUpdateWithoutProductVariantsInput = {
|
|
1072
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1073
|
+
mediaContentType?: Prisma.EnumMediaContentTypeFieldUpdateOperationsInput | $Enums.MediaContentType;
|
|
1074
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1075
|
+
filename?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1076
|
+
resourceUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1077
|
+
mime?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1078
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1079
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1080
|
+
alt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1081
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1082
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1083
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1084
|
+
bucket?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1085
|
+
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1086
|
+
collections?: Prisma.CollectionUncheckedUpdateManyWithoutImageNestedInput;
|
|
1087
|
+
productVariantListingToMedias?: Prisma.ProductVariantListingToMediaUncheckedUpdateManyWithoutMediaNestedInput;
|
|
1088
|
+
modifiers?: Prisma.ModifierUncheckedUpdateManyWithoutMediaNestedInput;
|
|
1089
|
+
ingredientToStores?: Prisma.IngredientToStoreUncheckedUpdateManyWithoutMediaNestedInput;
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* Count Type MediaCountOutputType
|
|
1093
|
+
*/
|
|
1094
|
+
export type MediaCountOutputType = {
|
|
1095
|
+
collections: number;
|
|
1096
|
+
productVariants: number;
|
|
1097
|
+
productVariantListingToMedias: number;
|
|
1098
|
+
modifiers: number;
|
|
1099
|
+
ingredientToStores: number;
|
|
1100
|
+
};
|
|
1101
|
+
export type MediaCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1102
|
+
collections?: boolean | MediaCountOutputTypeCountCollectionsArgs;
|
|
1103
|
+
productVariants?: boolean | MediaCountOutputTypeCountProductVariantsArgs;
|
|
1104
|
+
productVariantListingToMedias?: boolean | MediaCountOutputTypeCountProductVariantListingToMediasArgs;
|
|
1105
|
+
modifiers?: boolean | MediaCountOutputTypeCountModifiersArgs;
|
|
1106
|
+
ingredientToStores?: boolean | MediaCountOutputTypeCountIngredientToStoresArgs;
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* MediaCountOutputType without action
|
|
1110
|
+
*/
|
|
1111
|
+
export type MediaCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the MediaCountOutputType
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.MediaCountOutputTypeSelect<ExtArgs> | null;
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* MediaCountOutputType without action
|
|
1119
|
+
*/
|
|
1120
|
+
export type MediaCountOutputTypeCountCollectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1121
|
+
where?: Prisma.CollectionWhereInput;
|
|
1122
|
+
};
|
|
1123
|
+
/**
|
|
1124
|
+
* MediaCountOutputType without action
|
|
1125
|
+
*/
|
|
1126
|
+
export type MediaCountOutputTypeCountProductVariantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* MediaCountOutputType without action
|
|
1131
|
+
*/
|
|
1132
|
+
export type MediaCountOutputTypeCountProductVariantListingToMediasArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
where?: Prisma.ProductVariantListingToMediaWhereInput;
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* MediaCountOutputType without action
|
|
1137
|
+
*/
|
|
1138
|
+
export type MediaCountOutputTypeCountModifiersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1139
|
+
where?: Prisma.ModifierWhereInput;
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* MediaCountOutputType without action
|
|
1143
|
+
*/
|
|
1144
|
+
export type MediaCountOutputTypeCountIngredientToStoresArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1145
|
+
where?: Prisma.IngredientToStoreWhereInput;
|
|
1146
|
+
};
|
|
1147
|
+
export type MediaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1148
|
+
id?: boolean;
|
|
1149
|
+
mediaContentType?: boolean;
|
|
1150
|
+
key?: boolean;
|
|
1151
|
+
filename?: boolean;
|
|
1152
|
+
resourceUrl?: boolean;
|
|
1153
|
+
mime?: boolean;
|
|
1154
|
+
width?: boolean;
|
|
1155
|
+
height?: boolean;
|
|
1156
|
+
alt?: boolean;
|
|
1157
|
+
createdAt?: boolean;
|
|
1158
|
+
updatedAt?: boolean;
|
|
1159
|
+
processedAt?: boolean;
|
|
1160
|
+
bucket?: boolean;
|
|
1161
|
+
isInternal?: boolean;
|
|
1162
|
+
collections?: boolean | Prisma.Media$collectionsArgs<ExtArgs>;
|
|
1163
|
+
productVariants?: boolean | Prisma.Media$productVariantsArgs<ExtArgs>;
|
|
1164
|
+
productVariantListingToMedias?: boolean | Prisma.Media$productVariantListingToMediasArgs<ExtArgs>;
|
|
1165
|
+
modifiers?: boolean | Prisma.Media$modifiersArgs<ExtArgs>;
|
|
1166
|
+
ingredientToStores?: boolean | Prisma.Media$ingredientToStoresArgs<ExtArgs>;
|
|
1167
|
+
_count?: boolean | Prisma.MediaCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1168
|
+
}, ExtArgs["result"]["media"]>;
|
|
1169
|
+
export type MediaSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1170
|
+
id?: boolean;
|
|
1171
|
+
mediaContentType?: boolean;
|
|
1172
|
+
key?: boolean;
|
|
1173
|
+
filename?: boolean;
|
|
1174
|
+
resourceUrl?: boolean;
|
|
1175
|
+
mime?: boolean;
|
|
1176
|
+
width?: boolean;
|
|
1177
|
+
height?: boolean;
|
|
1178
|
+
alt?: boolean;
|
|
1179
|
+
createdAt?: boolean;
|
|
1180
|
+
updatedAt?: boolean;
|
|
1181
|
+
processedAt?: boolean;
|
|
1182
|
+
bucket?: boolean;
|
|
1183
|
+
isInternal?: boolean;
|
|
1184
|
+
}, ExtArgs["result"]["media"]>;
|
|
1185
|
+
export type MediaSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1186
|
+
id?: boolean;
|
|
1187
|
+
mediaContentType?: boolean;
|
|
1188
|
+
key?: boolean;
|
|
1189
|
+
filename?: boolean;
|
|
1190
|
+
resourceUrl?: boolean;
|
|
1191
|
+
mime?: boolean;
|
|
1192
|
+
width?: boolean;
|
|
1193
|
+
height?: boolean;
|
|
1194
|
+
alt?: boolean;
|
|
1195
|
+
createdAt?: boolean;
|
|
1196
|
+
updatedAt?: boolean;
|
|
1197
|
+
processedAt?: boolean;
|
|
1198
|
+
bucket?: boolean;
|
|
1199
|
+
isInternal?: boolean;
|
|
1200
|
+
}, ExtArgs["result"]["media"]>;
|
|
1201
|
+
export type MediaSelectScalar = {
|
|
1202
|
+
id?: boolean;
|
|
1203
|
+
mediaContentType?: boolean;
|
|
1204
|
+
key?: boolean;
|
|
1205
|
+
filename?: boolean;
|
|
1206
|
+
resourceUrl?: boolean;
|
|
1207
|
+
mime?: boolean;
|
|
1208
|
+
width?: boolean;
|
|
1209
|
+
height?: boolean;
|
|
1210
|
+
alt?: boolean;
|
|
1211
|
+
createdAt?: boolean;
|
|
1212
|
+
updatedAt?: boolean;
|
|
1213
|
+
processedAt?: boolean;
|
|
1214
|
+
bucket?: boolean;
|
|
1215
|
+
isInternal?: boolean;
|
|
1216
|
+
};
|
|
1217
|
+
export type MediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "mediaContentType" | "key" | "filename" | "resourceUrl" | "mime" | "width" | "height" | "alt" | "createdAt" | "updatedAt" | "processedAt" | "bucket" | "isInternal", ExtArgs["result"]["media"]>;
|
|
1218
|
+
export type MediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1219
|
+
collections?: boolean | Prisma.Media$collectionsArgs<ExtArgs>;
|
|
1220
|
+
productVariants?: boolean | Prisma.Media$productVariantsArgs<ExtArgs>;
|
|
1221
|
+
productVariantListingToMedias?: boolean | Prisma.Media$productVariantListingToMediasArgs<ExtArgs>;
|
|
1222
|
+
modifiers?: boolean | Prisma.Media$modifiersArgs<ExtArgs>;
|
|
1223
|
+
ingredientToStores?: boolean | Prisma.Media$ingredientToStoresArgs<ExtArgs>;
|
|
1224
|
+
_count?: boolean | Prisma.MediaCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1225
|
+
};
|
|
1226
|
+
export type MediaIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
1227
|
+
export type MediaIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
1228
|
+
export type $MediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
name: "Media";
|
|
1230
|
+
objects: {
|
|
1231
|
+
collections: Prisma.$CollectionPayload<ExtArgs>[];
|
|
1232
|
+
productVariants: Prisma.$ProductVariantToMediaPayload<ExtArgs>[];
|
|
1233
|
+
productVariantListingToMedias: Prisma.$ProductVariantListingToMediaPayload<ExtArgs>[];
|
|
1234
|
+
modifiers: Prisma.$ModifierPayload<ExtArgs>[];
|
|
1235
|
+
ingredientToStores: Prisma.$IngredientToStorePayload<ExtArgs>[];
|
|
1236
|
+
};
|
|
1237
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1238
|
+
id: bigint;
|
|
1239
|
+
mediaContentType: $Enums.MediaContentType;
|
|
1240
|
+
key: string;
|
|
1241
|
+
filename: string;
|
|
1242
|
+
resourceUrl: string;
|
|
1243
|
+
mime: string;
|
|
1244
|
+
width: number | null;
|
|
1245
|
+
height: number | null;
|
|
1246
|
+
alt: string | null;
|
|
1247
|
+
createdAt: Date;
|
|
1248
|
+
updatedAt: Date;
|
|
1249
|
+
processedAt: Date | null;
|
|
1250
|
+
bucket: string;
|
|
1251
|
+
isInternal: boolean;
|
|
1252
|
+
}, ExtArgs["result"]["media"]>;
|
|
1253
|
+
composites: {};
|
|
1254
|
+
};
|
|
1255
|
+
export type MediaGetPayload<S extends boolean | null | undefined | MediaDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MediaPayload, S>;
|
|
1256
|
+
export type MediaCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<MediaFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1257
|
+
select?: MediaCountAggregateInputType | true;
|
|
1258
|
+
};
|
|
1259
|
+
export interface MediaDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1260
|
+
[K: symbol]: {
|
|
1261
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Media'];
|
|
1262
|
+
meta: {
|
|
1263
|
+
name: 'Media';
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* Find zero or one Media that matches the filter.
|
|
1268
|
+
* @param {MediaFindUniqueArgs} args - Arguments to find a Media
|
|
1269
|
+
* @example
|
|
1270
|
+
* // Get one Media
|
|
1271
|
+
* const media = await prisma.media.findUnique({
|
|
1272
|
+
* where: {
|
|
1273
|
+
* // ... provide filter here
|
|
1274
|
+
* }
|
|
1275
|
+
* })
|
|
1276
|
+
*/
|
|
1277
|
+
findUnique<T extends MediaFindUniqueArgs>(args: Prisma.SelectSubset<T, MediaFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Find one Media that matches the filter or throw an error with `error.code='P2025'`
|
|
1280
|
+
* if no matches were found.
|
|
1281
|
+
* @param {MediaFindUniqueOrThrowArgs} args - Arguments to find a Media
|
|
1282
|
+
* @example
|
|
1283
|
+
* // Get one Media
|
|
1284
|
+
* const media = await prisma.media.findUniqueOrThrow({
|
|
1285
|
+
* where: {
|
|
1286
|
+
* // ... provide filter here
|
|
1287
|
+
* }
|
|
1288
|
+
* })
|
|
1289
|
+
*/
|
|
1290
|
+
findUniqueOrThrow<T extends MediaFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MediaFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Find the first Media that matches the filter.
|
|
1293
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1294
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1295
|
+
* @param {MediaFindFirstArgs} args - Arguments to find a Media
|
|
1296
|
+
* @example
|
|
1297
|
+
* // Get one Media
|
|
1298
|
+
* const media = await prisma.media.findFirst({
|
|
1299
|
+
* where: {
|
|
1300
|
+
* // ... provide filter here
|
|
1301
|
+
* }
|
|
1302
|
+
* })
|
|
1303
|
+
*/
|
|
1304
|
+
findFirst<T extends MediaFindFirstArgs>(args?: Prisma.SelectSubset<T, MediaFindFirstArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Find the first Media that matches the filter or
|
|
1307
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1308
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1309
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1310
|
+
* @param {MediaFindFirstOrThrowArgs} args - Arguments to find a Media
|
|
1311
|
+
* @example
|
|
1312
|
+
* // Get one Media
|
|
1313
|
+
* const media = await prisma.media.findFirstOrThrow({
|
|
1314
|
+
* where: {
|
|
1315
|
+
* // ... provide filter here
|
|
1316
|
+
* }
|
|
1317
|
+
* })
|
|
1318
|
+
*/
|
|
1319
|
+
findFirstOrThrow<T extends MediaFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MediaFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Find zero or more Media that matches the filter.
|
|
1322
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1323
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1324
|
+
* @param {MediaFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1325
|
+
* @example
|
|
1326
|
+
* // Get all Media
|
|
1327
|
+
* const media = await prisma.media.findMany()
|
|
1328
|
+
*
|
|
1329
|
+
* // Get first 10 Media
|
|
1330
|
+
* const media = await prisma.media.findMany({ take: 10 })
|
|
1331
|
+
*
|
|
1332
|
+
* // Only select the `id`
|
|
1333
|
+
* const mediaWithIdOnly = await prisma.media.findMany({ select: { id: true } })
|
|
1334
|
+
*
|
|
1335
|
+
*/
|
|
1336
|
+
findMany<T extends MediaFindManyArgs>(args?: Prisma.SelectSubset<T, MediaFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Create a Media.
|
|
1339
|
+
* @param {MediaCreateArgs} args - Arguments to create a Media.
|
|
1340
|
+
* @example
|
|
1341
|
+
* // Create one Media
|
|
1342
|
+
* const Media = await prisma.media.create({
|
|
1343
|
+
* data: {
|
|
1344
|
+
* // ... data to create a Media
|
|
1345
|
+
* }
|
|
1346
|
+
* })
|
|
1347
|
+
*
|
|
1348
|
+
*/
|
|
1349
|
+
create<T extends MediaCreateArgs>(args: Prisma.SelectSubset<T, MediaCreateArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Create many Media.
|
|
1352
|
+
* @param {MediaCreateManyArgs} args - Arguments to create many Media.
|
|
1353
|
+
* @example
|
|
1354
|
+
* // Create many Media
|
|
1355
|
+
* const media = await prisma.media.createMany({
|
|
1356
|
+
* data: [
|
|
1357
|
+
* // ... provide data here
|
|
1358
|
+
* ]
|
|
1359
|
+
* })
|
|
1360
|
+
*
|
|
1361
|
+
*/
|
|
1362
|
+
createMany<T extends MediaCreateManyArgs>(args?: Prisma.SelectSubset<T, MediaCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Create many Media and returns the data saved in the database.
|
|
1365
|
+
* @param {MediaCreateManyAndReturnArgs} args - Arguments to create many Media.
|
|
1366
|
+
* @example
|
|
1367
|
+
* // Create many Media
|
|
1368
|
+
* const media = await prisma.media.createManyAndReturn({
|
|
1369
|
+
* data: [
|
|
1370
|
+
* // ... provide data here
|
|
1371
|
+
* ]
|
|
1372
|
+
* })
|
|
1373
|
+
*
|
|
1374
|
+
* // Create many Media and only return the `id`
|
|
1375
|
+
* const mediaWithIdOnly = await prisma.media.createManyAndReturn({
|
|
1376
|
+
* select: { id: true },
|
|
1377
|
+
* data: [
|
|
1378
|
+
* // ... provide data here
|
|
1379
|
+
* ]
|
|
1380
|
+
* })
|
|
1381
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1382
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1383
|
+
*
|
|
1384
|
+
*/
|
|
1385
|
+
createManyAndReturn<T extends MediaCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MediaCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Delete a Media.
|
|
1388
|
+
* @param {MediaDeleteArgs} args - Arguments to delete one Media.
|
|
1389
|
+
* @example
|
|
1390
|
+
* // Delete one Media
|
|
1391
|
+
* const Media = await prisma.media.delete({
|
|
1392
|
+
* where: {
|
|
1393
|
+
* // ... filter to delete one Media
|
|
1394
|
+
* }
|
|
1395
|
+
* })
|
|
1396
|
+
*
|
|
1397
|
+
*/
|
|
1398
|
+
delete<T extends MediaDeleteArgs>(args: Prisma.SelectSubset<T, MediaDeleteArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1399
|
+
/**
|
|
1400
|
+
* Update one Media.
|
|
1401
|
+
* @param {MediaUpdateArgs} args - Arguments to update one Media.
|
|
1402
|
+
* @example
|
|
1403
|
+
* // Update one Media
|
|
1404
|
+
* const media = await prisma.media.update({
|
|
1405
|
+
* where: {
|
|
1406
|
+
* // ... provide filter here
|
|
1407
|
+
* },
|
|
1408
|
+
* data: {
|
|
1409
|
+
* // ... provide data here
|
|
1410
|
+
* }
|
|
1411
|
+
* })
|
|
1412
|
+
*
|
|
1413
|
+
*/
|
|
1414
|
+
update<T extends MediaUpdateArgs>(args: Prisma.SelectSubset<T, MediaUpdateArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Delete zero or more Media.
|
|
1417
|
+
* @param {MediaDeleteManyArgs} args - Arguments to filter Media to delete.
|
|
1418
|
+
* @example
|
|
1419
|
+
* // Delete a few Media
|
|
1420
|
+
* const { count } = await prisma.media.deleteMany({
|
|
1421
|
+
* where: {
|
|
1422
|
+
* // ... provide filter here
|
|
1423
|
+
* }
|
|
1424
|
+
* })
|
|
1425
|
+
*
|
|
1426
|
+
*/
|
|
1427
|
+
deleteMany<T extends MediaDeleteManyArgs>(args?: Prisma.SelectSubset<T, MediaDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Update zero or more Media.
|
|
1430
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1431
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1432
|
+
* @param {MediaUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1433
|
+
* @example
|
|
1434
|
+
* // Update many Media
|
|
1435
|
+
* const media = await prisma.media.updateMany({
|
|
1436
|
+
* where: {
|
|
1437
|
+
* // ... provide filter here
|
|
1438
|
+
* },
|
|
1439
|
+
* data: {
|
|
1440
|
+
* // ... provide data here
|
|
1441
|
+
* }
|
|
1442
|
+
* })
|
|
1443
|
+
*
|
|
1444
|
+
*/
|
|
1445
|
+
updateMany<T extends MediaUpdateManyArgs>(args: Prisma.SelectSubset<T, MediaUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Update zero or more Media and returns the data updated in the database.
|
|
1448
|
+
* @param {MediaUpdateManyAndReturnArgs} args - Arguments to update many Media.
|
|
1449
|
+
* @example
|
|
1450
|
+
* // Update many Media
|
|
1451
|
+
* const media = await prisma.media.updateManyAndReturn({
|
|
1452
|
+
* where: {
|
|
1453
|
+
* // ... provide filter here
|
|
1454
|
+
* },
|
|
1455
|
+
* data: [
|
|
1456
|
+
* // ... provide data here
|
|
1457
|
+
* ]
|
|
1458
|
+
* })
|
|
1459
|
+
*
|
|
1460
|
+
* // Update zero or more Media and only return the `id`
|
|
1461
|
+
* const mediaWithIdOnly = await prisma.media.updateManyAndReturn({
|
|
1462
|
+
* select: { id: true },
|
|
1463
|
+
* where: {
|
|
1464
|
+
* // ... provide filter here
|
|
1465
|
+
* },
|
|
1466
|
+
* data: [
|
|
1467
|
+
* // ... provide data here
|
|
1468
|
+
* ]
|
|
1469
|
+
* })
|
|
1470
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1471
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1472
|
+
*
|
|
1473
|
+
*/
|
|
1474
|
+
updateManyAndReturn<T extends MediaUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MediaUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1475
|
+
/**
|
|
1476
|
+
* Create or update one Media.
|
|
1477
|
+
* @param {MediaUpsertArgs} args - Arguments to update or create a Media.
|
|
1478
|
+
* @example
|
|
1479
|
+
* // Update or create a Media
|
|
1480
|
+
* const media = await prisma.media.upsert({
|
|
1481
|
+
* create: {
|
|
1482
|
+
* // ... data to create a Media
|
|
1483
|
+
* },
|
|
1484
|
+
* update: {
|
|
1485
|
+
* // ... in case it already exists, update
|
|
1486
|
+
* },
|
|
1487
|
+
* where: {
|
|
1488
|
+
* // ... the filter for the Media we want to update
|
|
1489
|
+
* }
|
|
1490
|
+
* })
|
|
1491
|
+
*/
|
|
1492
|
+
upsert<T extends MediaUpsertArgs>(args: Prisma.SelectSubset<T, MediaUpsertArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1493
|
+
/**
|
|
1494
|
+
* Count the number of Media.
|
|
1495
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1496
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1497
|
+
* @param {MediaCountArgs} args - Arguments to filter Media to count.
|
|
1498
|
+
* @example
|
|
1499
|
+
* // Count the number of Media
|
|
1500
|
+
* const count = await prisma.media.count({
|
|
1501
|
+
* where: {
|
|
1502
|
+
* // ... the filter for the Media we want to count
|
|
1503
|
+
* }
|
|
1504
|
+
* })
|
|
1505
|
+
**/
|
|
1506
|
+
count<T extends MediaCountArgs>(args?: Prisma.Subset<T, MediaCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], MediaCountAggregateOutputType> : number>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Allows you to perform aggregations operations on a Media.
|
|
1509
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1510
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1511
|
+
* @param {MediaAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1512
|
+
* @example
|
|
1513
|
+
* // Ordered by age ascending
|
|
1514
|
+
* // Where email contains prisma.io
|
|
1515
|
+
* // Limited to the 10 users
|
|
1516
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1517
|
+
* _avg: {
|
|
1518
|
+
* age: true,
|
|
1519
|
+
* },
|
|
1520
|
+
* where: {
|
|
1521
|
+
* email: {
|
|
1522
|
+
* contains: "prisma.io",
|
|
1523
|
+
* },
|
|
1524
|
+
* },
|
|
1525
|
+
* orderBy: {
|
|
1526
|
+
* age: "asc",
|
|
1527
|
+
* },
|
|
1528
|
+
* take: 10,
|
|
1529
|
+
* })
|
|
1530
|
+
**/
|
|
1531
|
+
aggregate<T extends MediaAggregateArgs>(args: Prisma.Subset<T, MediaAggregateArgs>): Prisma.PrismaPromise<GetMediaAggregateType<T>>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Group by Media.
|
|
1534
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1535
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1536
|
+
* @param {MediaGroupByArgs} args - Group by arguments.
|
|
1537
|
+
* @example
|
|
1538
|
+
* // Group by city, order by createdAt, get count
|
|
1539
|
+
* const result = await prisma.user.groupBy({
|
|
1540
|
+
* by: ['city', 'createdAt'],
|
|
1541
|
+
* orderBy: {
|
|
1542
|
+
* createdAt: true
|
|
1543
|
+
* },
|
|
1544
|
+
* _count: {
|
|
1545
|
+
* _all: true
|
|
1546
|
+
* },
|
|
1547
|
+
* })
|
|
1548
|
+
*
|
|
1549
|
+
**/
|
|
1550
|
+
groupBy<T extends MediaGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1551
|
+
orderBy: MediaGroupByArgs['orderBy'];
|
|
1552
|
+
} : {
|
|
1553
|
+
orderBy?: MediaGroupByArgs['orderBy'];
|
|
1554
|
+
}, 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 ? {
|
|
1555
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1556
|
+
Error,
|
|
1557
|
+
'Field ',
|
|
1558
|
+
P,
|
|
1559
|
+
` in "having" needs to be provided in "by"`
|
|
1560
|
+
];
|
|
1561
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1562
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1563
|
+
}[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 ? {} : {
|
|
1564
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1565
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1566
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1567
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, MediaGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMediaGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1568
|
+
/**
|
|
1569
|
+
* Fields of the Media model
|
|
1570
|
+
*/
|
|
1571
|
+
readonly fields: MediaFieldRefs;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* The delegate class that acts as a "Promise-like" for Media.
|
|
1575
|
+
* Why is this prefixed with `Prisma__`?
|
|
1576
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1577
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1578
|
+
*/
|
|
1579
|
+
export interface Prisma__MediaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1580
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1581
|
+
collections<T extends Prisma.Media$collectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Media$collectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CollectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1582
|
+
productVariants<T extends Prisma.Media$productVariantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Media$productVariantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantToMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1583
|
+
productVariantListingToMedias<T extends Prisma.Media$productVariantListingToMediasArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Media$productVariantListingToMediasArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantListingToMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1584
|
+
modifiers<T extends Prisma.Media$modifiersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Media$modifiersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1585
|
+
ingredientToStores<T extends Prisma.Media$ingredientToStoresArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Media$ingredientToStoresArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IngredientToStorePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1586
|
+
/**
|
|
1587
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1588
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1589
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1590
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1591
|
+
*/
|
|
1592
|
+
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>;
|
|
1593
|
+
/**
|
|
1594
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1595
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1596
|
+
* @returns A Promise for the completion of the callback.
|
|
1597
|
+
*/
|
|
1598
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1599
|
+
/**
|
|
1600
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1601
|
+
* resolved value cannot be modified from the callback.
|
|
1602
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1603
|
+
* @returns A Promise for the completion of the callback.
|
|
1604
|
+
*/
|
|
1605
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1606
|
+
}
|
|
1607
|
+
/**
|
|
1608
|
+
* Fields of the Media model
|
|
1609
|
+
*/
|
|
1610
|
+
export interface MediaFieldRefs {
|
|
1611
|
+
readonly id: Prisma.FieldRef<"Media", 'BigInt'>;
|
|
1612
|
+
readonly mediaContentType: Prisma.FieldRef<"Media", 'MediaContentType'>;
|
|
1613
|
+
readonly key: Prisma.FieldRef<"Media", 'String'>;
|
|
1614
|
+
readonly filename: Prisma.FieldRef<"Media", 'String'>;
|
|
1615
|
+
readonly resourceUrl: Prisma.FieldRef<"Media", 'String'>;
|
|
1616
|
+
readonly mime: Prisma.FieldRef<"Media", 'String'>;
|
|
1617
|
+
readonly width: Prisma.FieldRef<"Media", 'Int'>;
|
|
1618
|
+
readonly height: Prisma.FieldRef<"Media", 'Int'>;
|
|
1619
|
+
readonly alt: Prisma.FieldRef<"Media", 'String'>;
|
|
1620
|
+
readonly createdAt: Prisma.FieldRef<"Media", 'DateTime'>;
|
|
1621
|
+
readonly updatedAt: Prisma.FieldRef<"Media", 'DateTime'>;
|
|
1622
|
+
readonly processedAt: Prisma.FieldRef<"Media", 'DateTime'>;
|
|
1623
|
+
readonly bucket: Prisma.FieldRef<"Media", 'String'>;
|
|
1624
|
+
readonly isInternal: Prisma.FieldRef<"Media", 'Boolean'>;
|
|
1625
|
+
}
|
|
1626
|
+
/**
|
|
1627
|
+
* Media findUnique
|
|
1628
|
+
*/
|
|
1629
|
+
export type MediaFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1630
|
+
/**
|
|
1631
|
+
* Select specific fields to fetch from the Media
|
|
1632
|
+
*/
|
|
1633
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1634
|
+
/**
|
|
1635
|
+
* Omit specific fields from the Media
|
|
1636
|
+
*/
|
|
1637
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1638
|
+
/**
|
|
1639
|
+
* Choose, which related nodes to fetch as well
|
|
1640
|
+
*/
|
|
1641
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1642
|
+
/**
|
|
1643
|
+
* Filter, which Media to fetch.
|
|
1644
|
+
*/
|
|
1645
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* Media findUniqueOrThrow
|
|
1649
|
+
*/
|
|
1650
|
+
export type MediaFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1651
|
+
/**
|
|
1652
|
+
* Select specific fields to fetch from the Media
|
|
1653
|
+
*/
|
|
1654
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1655
|
+
/**
|
|
1656
|
+
* Omit specific fields from the Media
|
|
1657
|
+
*/
|
|
1658
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1659
|
+
/**
|
|
1660
|
+
* Choose, which related nodes to fetch as well
|
|
1661
|
+
*/
|
|
1662
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1663
|
+
/**
|
|
1664
|
+
* Filter, which Media to fetch.
|
|
1665
|
+
*/
|
|
1666
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
1667
|
+
};
|
|
1668
|
+
/**
|
|
1669
|
+
* Media findFirst
|
|
1670
|
+
*/
|
|
1671
|
+
export type MediaFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1672
|
+
/**
|
|
1673
|
+
* Select specific fields to fetch from the Media
|
|
1674
|
+
*/
|
|
1675
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1676
|
+
/**
|
|
1677
|
+
* Omit specific fields from the Media
|
|
1678
|
+
*/
|
|
1679
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* Choose, which related nodes to fetch as well
|
|
1682
|
+
*/
|
|
1683
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1684
|
+
/**
|
|
1685
|
+
* Filter, which Media to fetch.
|
|
1686
|
+
*/
|
|
1687
|
+
where?: Prisma.MediaWhereInput;
|
|
1688
|
+
/**
|
|
1689
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1690
|
+
*
|
|
1691
|
+
* Determine the order of Media to fetch.
|
|
1692
|
+
*/
|
|
1693
|
+
orderBy?: Prisma.MediaOrderByWithRelationInput | Prisma.MediaOrderByWithRelationInput[];
|
|
1694
|
+
/**
|
|
1695
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1696
|
+
*
|
|
1697
|
+
* Sets the position for searching for Media.
|
|
1698
|
+
*/
|
|
1699
|
+
cursor?: Prisma.MediaWhereUniqueInput;
|
|
1700
|
+
/**
|
|
1701
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1702
|
+
*
|
|
1703
|
+
* Take `±n` Media from the position of the cursor.
|
|
1704
|
+
*/
|
|
1705
|
+
take?: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1708
|
+
*
|
|
1709
|
+
* Skip the first `n` Media.
|
|
1710
|
+
*/
|
|
1711
|
+
skip?: number;
|
|
1712
|
+
/**
|
|
1713
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1714
|
+
*
|
|
1715
|
+
* Filter by unique combinations of Media.
|
|
1716
|
+
*/
|
|
1717
|
+
distinct?: Prisma.MediaScalarFieldEnum | Prisma.MediaScalarFieldEnum[];
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* Media findFirstOrThrow
|
|
1721
|
+
*/
|
|
1722
|
+
export type MediaFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1723
|
+
/**
|
|
1724
|
+
* Select specific fields to fetch from the Media
|
|
1725
|
+
*/
|
|
1726
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1727
|
+
/**
|
|
1728
|
+
* Omit specific fields from the Media
|
|
1729
|
+
*/
|
|
1730
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1731
|
+
/**
|
|
1732
|
+
* Choose, which related nodes to fetch as well
|
|
1733
|
+
*/
|
|
1734
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1735
|
+
/**
|
|
1736
|
+
* Filter, which Media to fetch.
|
|
1737
|
+
*/
|
|
1738
|
+
where?: Prisma.MediaWhereInput;
|
|
1739
|
+
/**
|
|
1740
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1741
|
+
*
|
|
1742
|
+
* Determine the order of Media to fetch.
|
|
1743
|
+
*/
|
|
1744
|
+
orderBy?: Prisma.MediaOrderByWithRelationInput | Prisma.MediaOrderByWithRelationInput[];
|
|
1745
|
+
/**
|
|
1746
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1747
|
+
*
|
|
1748
|
+
* Sets the position for searching for Media.
|
|
1749
|
+
*/
|
|
1750
|
+
cursor?: Prisma.MediaWhereUniqueInput;
|
|
1751
|
+
/**
|
|
1752
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1753
|
+
*
|
|
1754
|
+
* Take `±n` Media from the position of the cursor.
|
|
1755
|
+
*/
|
|
1756
|
+
take?: number;
|
|
1757
|
+
/**
|
|
1758
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1759
|
+
*
|
|
1760
|
+
* Skip the first `n` Media.
|
|
1761
|
+
*/
|
|
1762
|
+
skip?: number;
|
|
1763
|
+
/**
|
|
1764
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1765
|
+
*
|
|
1766
|
+
* Filter by unique combinations of Media.
|
|
1767
|
+
*/
|
|
1768
|
+
distinct?: Prisma.MediaScalarFieldEnum | Prisma.MediaScalarFieldEnum[];
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
* Media findMany
|
|
1772
|
+
*/
|
|
1773
|
+
export type MediaFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1774
|
+
/**
|
|
1775
|
+
* Select specific fields to fetch from the Media
|
|
1776
|
+
*/
|
|
1777
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1778
|
+
/**
|
|
1779
|
+
* Omit specific fields from the Media
|
|
1780
|
+
*/
|
|
1781
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1782
|
+
/**
|
|
1783
|
+
* Choose, which related nodes to fetch as well
|
|
1784
|
+
*/
|
|
1785
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1786
|
+
/**
|
|
1787
|
+
* Filter, which Media to fetch.
|
|
1788
|
+
*/
|
|
1789
|
+
where?: Prisma.MediaWhereInput;
|
|
1790
|
+
/**
|
|
1791
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1792
|
+
*
|
|
1793
|
+
* Determine the order of Media to fetch.
|
|
1794
|
+
*/
|
|
1795
|
+
orderBy?: Prisma.MediaOrderByWithRelationInput | Prisma.MediaOrderByWithRelationInput[];
|
|
1796
|
+
/**
|
|
1797
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1798
|
+
*
|
|
1799
|
+
* Sets the position for listing Media.
|
|
1800
|
+
*/
|
|
1801
|
+
cursor?: Prisma.MediaWhereUniqueInput;
|
|
1802
|
+
/**
|
|
1803
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1804
|
+
*
|
|
1805
|
+
* Take `±n` Media from the position of the cursor.
|
|
1806
|
+
*/
|
|
1807
|
+
take?: number;
|
|
1808
|
+
/**
|
|
1809
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1810
|
+
*
|
|
1811
|
+
* Skip the first `n` Media.
|
|
1812
|
+
*/
|
|
1813
|
+
skip?: number;
|
|
1814
|
+
distinct?: Prisma.MediaScalarFieldEnum | Prisma.MediaScalarFieldEnum[];
|
|
1815
|
+
};
|
|
1816
|
+
/**
|
|
1817
|
+
* Media create
|
|
1818
|
+
*/
|
|
1819
|
+
export type MediaCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1820
|
+
/**
|
|
1821
|
+
* Select specific fields to fetch from the Media
|
|
1822
|
+
*/
|
|
1823
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1824
|
+
/**
|
|
1825
|
+
* Omit specific fields from the Media
|
|
1826
|
+
*/
|
|
1827
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1828
|
+
/**
|
|
1829
|
+
* Choose, which related nodes to fetch as well
|
|
1830
|
+
*/
|
|
1831
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1832
|
+
/**
|
|
1833
|
+
* The data needed to create a Media.
|
|
1834
|
+
*/
|
|
1835
|
+
data: Prisma.XOR<Prisma.MediaCreateInput, Prisma.MediaUncheckedCreateInput>;
|
|
1836
|
+
};
|
|
1837
|
+
/**
|
|
1838
|
+
* Media createMany
|
|
1839
|
+
*/
|
|
1840
|
+
export type MediaCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1841
|
+
/**
|
|
1842
|
+
* The data used to create many Media.
|
|
1843
|
+
*/
|
|
1844
|
+
data: Prisma.MediaCreateManyInput | Prisma.MediaCreateManyInput[];
|
|
1845
|
+
skipDuplicates?: boolean;
|
|
1846
|
+
};
|
|
1847
|
+
/**
|
|
1848
|
+
* Media createManyAndReturn
|
|
1849
|
+
*/
|
|
1850
|
+
export type MediaCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1851
|
+
/**
|
|
1852
|
+
* Select specific fields to fetch from the Media
|
|
1853
|
+
*/
|
|
1854
|
+
select?: Prisma.MediaSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1855
|
+
/**
|
|
1856
|
+
* Omit specific fields from the Media
|
|
1857
|
+
*/
|
|
1858
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1859
|
+
/**
|
|
1860
|
+
* The data used to create many Media.
|
|
1861
|
+
*/
|
|
1862
|
+
data: Prisma.MediaCreateManyInput | Prisma.MediaCreateManyInput[];
|
|
1863
|
+
skipDuplicates?: boolean;
|
|
1864
|
+
};
|
|
1865
|
+
/**
|
|
1866
|
+
* Media update
|
|
1867
|
+
*/
|
|
1868
|
+
export type MediaUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1869
|
+
/**
|
|
1870
|
+
* Select specific fields to fetch from the Media
|
|
1871
|
+
*/
|
|
1872
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1873
|
+
/**
|
|
1874
|
+
* Omit specific fields from the Media
|
|
1875
|
+
*/
|
|
1876
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1877
|
+
/**
|
|
1878
|
+
* Choose, which related nodes to fetch as well
|
|
1879
|
+
*/
|
|
1880
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1881
|
+
/**
|
|
1882
|
+
* The data needed to update a Media.
|
|
1883
|
+
*/
|
|
1884
|
+
data: Prisma.XOR<Prisma.MediaUpdateInput, Prisma.MediaUncheckedUpdateInput>;
|
|
1885
|
+
/**
|
|
1886
|
+
* Choose, which Media to update.
|
|
1887
|
+
*/
|
|
1888
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
1889
|
+
};
|
|
1890
|
+
/**
|
|
1891
|
+
* Media updateMany
|
|
1892
|
+
*/
|
|
1893
|
+
export type MediaUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1894
|
+
/**
|
|
1895
|
+
* The data used to update Media.
|
|
1896
|
+
*/
|
|
1897
|
+
data: Prisma.XOR<Prisma.MediaUpdateManyMutationInput, Prisma.MediaUncheckedUpdateManyInput>;
|
|
1898
|
+
/**
|
|
1899
|
+
* Filter which Media to update
|
|
1900
|
+
*/
|
|
1901
|
+
where?: Prisma.MediaWhereInput;
|
|
1902
|
+
/**
|
|
1903
|
+
* Limit how many Media to update.
|
|
1904
|
+
*/
|
|
1905
|
+
limit?: number;
|
|
1906
|
+
};
|
|
1907
|
+
/**
|
|
1908
|
+
* Media updateManyAndReturn
|
|
1909
|
+
*/
|
|
1910
|
+
export type MediaUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1911
|
+
/**
|
|
1912
|
+
* Select specific fields to fetch from the Media
|
|
1913
|
+
*/
|
|
1914
|
+
select?: Prisma.MediaSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1915
|
+
/**
|
|
1916
|
+
* Omit specific fields from the Media
|
|
1917
|
+
*/
|
|
1918
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1919
|
+
/**
|
|
1920
|
+
* The data used to update Media.
|
|
1921
|
+
*/
|
|
1922
|
+
data: Prisma.XOR<Prisma.MediaUpdateManyMutationInput, Prisma.MediaUncheckedUpdateManyInput>;
|
|
1923
|
+
/**
|
|
1924
|
+
* Filter which Media to update
|
|
1925
|
+
*/
|
|
1926
|
+
where?: Prisma.MediaWhereInput;
|
|
1927
|
+
/**
|
|
1928
|
+
* Limit how many Media to update.
|
|
1929
|
+
*/
|
|
1930
|
+
limit?: number;
|
|
1931
|
+
};
|
|
1932
|
+
/**
|
|
1933
|
+
* Media upsert
|
|
1934
|
+
*/
|
|
1935
|
+
export type MediaUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1936
|
+
/**
|
|
1937
|
+
* Select specific fields to fetch from the Media
|
|
1938
|
+
*/
|
|
1939
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1940
|
+
/**
|
|
1941
|
+
* Omit specific fields from the Media
|
|
1942
|
+
*/
|
|
1943
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1944
|
+
/**
|
|
1945
|
+
* Choose, which related nodes to fetch as well
|
|
1946
|
+
*/
|
|
1947
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1948
|
+
/**
|
|
1949
|
+
* The filter to search for the Media to update in case it exists.
|
|
1950
|
+
*/
|
|
1951
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
1952
|
+
/**
|
|
1953
|
+
* In case the Media found by the `where` argument doesn't exist, create a new Media with this data.
|
|
1954
|
+
*/
|
|
1955
|
+
create: Prisma.XOR<Prisma.MediaCreateInput, Prisma.MediaUncheckedCreateInput>;
|
|
1956
|
+
/**
|
|
1957
|
+
* In case the Media was found with the provided `where` argument, update it with this data.
|
|
1958
|
+
*/
|
|
1959
|
+
update: Prisma.XOR<Prisma.MediaUpdateInput, Prisma.MediaUncheckedUpdateInput>;
|
|
1960
|
+
};
|
|
1961
|
+
/**
|
|
1962
|
+
* Media delete
|
|
1963
|
+
*/
|
|
1964
|
+
export type MediaDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1965
|
+
/**
|
|
1966
|
+
* Select specific fields to fetch from the Media
|
|
1967
|
+
*/
|
|
1968
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
1969
|
+
/**
|
|
1970
|
+
* Omit specific fields from the Media
|
|
1971
|
+
*/
|
|
1972
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
1973
|
+
/**
|
|
1974
|
+
* Choose, which related nodes to fetch as well
|
|
1975
|
+
*/
|
|
1976
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
1977
|
+
/**
|
|
1978
|
+
* Filter which Media to delete.
|
|
1979
|
+
*/
|
|
1980
|
+
where: Prisma.MediaWhereUniqueInput;
|
|
1981
|
+
};
|
|
1982
|
+
/**
|
|
1983
|
+
* Media deleteMany
|
|
1984
|
+
*/
|
|
1985
|
+
export type MediaDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1986
|
+
/**
|
|
1987
|
+
* Filter which Media to delete
|
|
1988
|
+
*/
|
|
1989
|
+
where?: Prisma.MediaWhereInput;
|
|
1990
|
+
/**
|
|
1991
|
+
* Limit how many Media to delete.
|
|
1992
|
+
*/
|
|
1993
|
+
limit?: number;
|
|
1994
|
+
};
|
|
1995
|
+
/**
|
|
1996
|
+
* Media.collections
|
|
1997
|
+
*/
|
|
1998
|
+
export type Media$collectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1999
|
+
/**
|
|
2000
|
+
* Select specific fields to fetch from the Collection
|
|
2001
|
+
*/
|
|
2002
|
+
select?: Prisma.CollectionSelect<ExtArgs> | null;
|
|
2003
|
+
/**
|
|
2004
|
+
* Omit specific fields from the Collection
|
|
2005
|
+
*/
|
|
2006
|
+
omit?: Prisma.CollectionOmit<ExtArgs> | null;
|
|
2007
|
+
/**
|
|
2008
|
+
* Choose, which related nodes to fetch as well
|
|
2009
|
+
*/
|
|
2010
|
+
include?: Prisma.CollectionInclude<ExtArgs> | null;
|
|
2011
|
+
where?: Prisma.CollectionWhereInput;
|
|
2012
|
+
orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[];
|
|
2013
|
+
cursor?: Prisma.CollectionWhereUniqueInput;
|
|
2014
|
+
take?: number;
|
|
2015
|
+
skip?: number;
|
|
2016
|
+
distinct?: Prisma.CollectionScalarFieldEnum | Prisma.CollectionScalarFieldEnum[];
|
|
2017
|
+
};
|
|
2018
|
+
/**
|
|
2019
|
+
* Media.productVariants
|
|
2020
|
+
*/
|
|
2021
|
+
export type Media$productVariantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2022
|
+
/**
|
|
2023
|
+
* Select specific fields to fetch from the ProductVariantToMedia
|
|
2024
|
+
*/
|
|
2025
|
+
select?: Prisma.ProductVariantToMediaSelect<ExtArgs> | null;
|
|
2026
|
+
/**
|
|
2027
|
+
* Omit specific fields from the ProductVariantToMedia
|
|
2028
|
+
*/
|
|
2029
|
+
omit?: Prisma.ProductVariantToMediaOmit<ExtArgs> | null;
|
|
2030
|
+
/**
|
|
2031
|
+
* Choose, which related nodes to fetch as well
|
|
2032
|
+
*/
|
|
2033
|
+
include?: Prisma.ProductVariantToMediaInclude<ExtArgs> | null;
|
|
2034
|
+
where?: Prisma.ProductVariantToMediaWhereInput;
|
|
2035
|
+
orderBy?: Prisma.ProductVariantToMediaOrderByWithRelationInput | Prisma.ProductVariantToMediaOrderByWithRelationInput[];
|
|
2036
|
+
cursor?: Prisma.ProductVariantToMediaWhereUniqueInput;
|
|
2037
|
+
take?: number;
|
|
2038
|
+
skip?: number;
|
|
2039
|
+
distinct?: Prisma.ProductVariantToMediaScalarFieldEnum | Prisma.ProductVariantToMediaScalarFieldEnum[];
|
|
2040
|
+
};
|
|
2041
|
+
/**
|
|
2042
|
+
* Media.productVariantListingToMedias
|
|
2043
|
+
*/
|
|
2044
|
+
export type Media$productVariantListingToMediasArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2045
|
+
/**
|
|
2046
|
+
* Select specific fields to fetch from the ProductVariantListingToMedia
|
|
2047
|
+
*/
|
|
2048
|
+
select?: Prisma.ProductVariantListingToMediaSelect<ExtArgs> | null;
|
|
2049
|
+
/**
|
|
2050
|
+
* Omit specific fields from the ProductVariantListingToMedia
|
|
2051
|
+
*/
|
|
2052
|
+
omit?: Prisma.ProductVariantListingToMediaOmit<ExtArgs> | null;
|
|
2053
|
+
/**
|
|
2054
|
+
* Choose, which related nodes to fetch as well
|
|
2055
|
+
*/
|
|
2056
|
+
include?: Prisma.ProductVariantListingToMediaInclude<ExtArgs> | null;
|
|
2057
|
+
where?: Prisma.ProductVariantListingToMediaWhereInput;
|
|
2058
|
+
orderBy?: Prisma.ProductVariantListingToMediaOrderByWithRelationInput | Prisma.ProductVariantListingToMediaOrderByWithRelationInput[];
|
|
2059
|
+
cursor?: Prisma.ProductVariantListingToMediaWhereUniqueInput;
|
|
2060
|
+
take?: number;
|
|
2061
|
+
skip?: number;
|
|
2062
|
+
distinct?: Prisma.ProductVariantListingToMediaScalarFieldEnum | Prisma.ProductVariantListingToMediaScalarFieldEnum[];
|
|
2063
|
+
};
|
|
2064
|
+
/**
|
|
2065
|
+
* Media.modifiers
|
|
2066
|
+
*/
|
|
2067
|
+
export type Media$modifiersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2068
|
+
/**
|
|
2069
|
+
* Select specific fields to fetch from the Modifier
|
|
2070
|
+
*/
|
|
2071
|
+
select?: Prisma.ModifierSelect<ExtArgs> | null;
|
|
2072
|
+
/**
|
|
2073
|
+
* Omit specific fields from the Modifier
|
|
2074
|
+
*/
|
|
2075
|
+
omit?: Prisma.ModifierOmit<ExtArgs> | null;
|
|
2076
|
+
/**
|
|
2077
|
+
* Choose, which related nodes to fetch as well
|
|
2078
|
+
*/
|
|
2079
|
+
include?: Prisma.ModifierInclude<ExtArgs> | null;
|
|
2080
|
+
where?: Prisma.ModifierWhereInput;
|
|
2081
|
+
orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
|
|
2082
|
+
cursor?: Prisma.ModifierWhereUniqueInput;
|
|
2083
|
+
take?: number;
|
|
2084
|
+
skip?: number;
|
|
2085
|
+
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
2086
|
+
};
|
|
2087
|
+
/**
|
|
2088
|
+
* Media.ingredientToStores
|
|
2089
|
+
*/
|
|
2090
|
+
export type Media$ingredientToStoresArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2091
|
+
/**
|
|
2092
|
+
* Select specific fields to fetch from the IngredientToStore
|
|
2093
|
+
*/
|
|
2094
|
+
select?: Prisma.IngredientToStoreSelect<ExtArgs> | null;
|
|
2095
|
+
/**
|
|
2096
|
+
* Omit specific fields from the IngredientToStore
|
|
2097
|
+
*/
|
|
2098
|
+
omit?: Prisma.IngredientToStoreOmit<ExtArgs> | null;
|
|
2099
|
+
/**
|
|
2100
|
+
* Choose, which related nodes to fetch as well
|
|
2101
|
+
*/
|
|
2102
|
+
include?: Prisma.IngredientToStoreInclude<ExtArgs> | null;
|
|
2103
|
+
where?: Prisma.IngredientToStoreWhereInput;
|
|
2104
|
+
orderBy?: Prisma.IngredientToStoreOrderByWithRelationInput | Prisma.IngredientToStoreOrderByWithRelationInput[];
|
|
2105
|
+
cursor?: Prisma.IngredientToStoreWhereUniqueInput;
|
|
2106
|
+
take?: number;
|
|
2107
|
+
skip?: number;
|
|
2108
|
+
distinct?: Prisma.IngredientToStoreScalarFieldEnum | Prisma.IngredientToStoreScalarFieldEnum[];
|
|
2109
|
+
};
|
|
2110
|
+
/**
|
|
2111
|
+
* Media without action
|
|
2112
|
+
*/
|
|
2113
|
+
export type MediaDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2114
|
+
/**
|
|
2115
|
+
* Select specific fields to fetch from the Media
|
|
2116
|
+
*/
|
|
2117
|
+
select?: Prisma.MediaSelect<ExtArgs> | null;
|
|
2118
|
+
/**
|
|
2119
|
+
* Omit specific fields from the Media
|
|
2120
|
+
*/
|
|
2121
|
+
omit?: Prisma.MediaOmit<ExtArgs> | null;
|
|
2122
|
+
/**
|
|
2123
|
+
* Choose, which related nodes to fetch as well
|
|
2124
|
+
*/
|
|
2125
|
+
include?: Prisma.MediaInclude<ExtArgs> | null;
|
|
2126
|
+
};
|
|
2127
|
+
export {};
|