@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,1561 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model IngredientToProductVariant
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type IngredientToProductVariantModel = runtime.Types.Result.DefaultSelection<Prisma.$IngredientToProductVariantPayload>;
|
|
8
|
+
export type AggregateIngredientToProductVariant = {
|
|
9
|
+
_count: IngredientToProductVariantCountAggregateOutputType | null;
|
|
10
|
+
_avg: IngredientToProductVariantAvgAggregateOutputType | null;
|
|
11
|
+
_sum: IngredientToProductVariantSumAggregateOutputType | null;
|
|
12
|
+
_min: IngredientToProductVariantMinAggregateOutputType | null;
|
|
13
|
+
_max: IngredientToProductVariantMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type IngredientToProductVariantAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
ingredientId: number | null;
|
|
18
|
+
productVariantId: number | null;
|
|
19
|
+
quantity: number | null;
|
|
20
|
+
position: number | null;
|
|
21
|
+
costPerUnit: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type IngredientToProductVariantSumAggregateOutputType = {
|
|
24
|
+
id: bigint | null;
|
|
25
|
+
ingredientId: bigint | null;
|
|
26
|
+
productVariantId: bigint | null;
|
|
27
|
+
quantity: number | null;
|
|
28
|
+
position: number | null;
|
|
29
|
+
costPerUnit: number | null;
|
|
30
|
+
};
|
|
31
|
+
export type IngredientToProductVariantMinAggregateOutputType = {
|
|
32
|
+
id: bigint | null;
|
|
33
|
+
ingredientId: bigint | null;
|
|
34
|
+
productVariantId: bigint | null;
|
|
35
|
+
quantity: number | null;
|
|
36
|
+
isRequired: boolean | null;
|
|
37
|
+
position: number | null;
|
|
38
|
+
costPerUnit: number | null;
|
|
39
|
+
inheritProductVariantPrice: boolean | null;
|
|
40
|
+
createdAt: Date | null;
|
|
41
|
+
updatedAt: Date | null;
|
|
42
|
+
};
|
|
43
|
+
export type IngredientToProductVariantMaxAggregateOutputType = {
|
|
44
|
+
id: bigint | null;
|
|
45
|
+
ingredientId: bigint | null;
|
|
46
|
+
productVariantId: bigint | null;
|
|
47
|
+
quantity: number | null;
|
|
48
|
+
isRequired: boolean | null;
|
|
49
|
+
position: number | null;
|
|
50
|
+
costPerUnit: number | null;
|
|
51
|
+
inheritProductVariantPrice: boolean | null;
|
|
52
|
+
createdAt: Date | null;
|
|
53
|
+
updatedAt: Date | null;
|
|
54
|
+
};
|
|
55
|
+
export type IngredientToProductVariantCountAggregateOutputType = {
|
|
56
|
+
id: number;
|
|
57
|
+
ingredientId: number;
|
|
58
|
+
productVariantId: number;
|
|
59
|
+
quantity: number;
|
|
60
|
+
isRequired: number;
|
|
61
|
+
position: number;
|
|
62
|
+
costPerUnit: number;
|
|
63
|
+
inheritProductVariantPrice: number;
|
|
64
|
+
createdAt: number;
|
|
65
|
+
updatedAt: number;
|
|
66
|
+
_all: number;
|
|
67
|
+
};
|
|
68
|
+
export type IngredientToProductVariantAvgAggregateInputType = {
|
|
69
|
+
id?: true;
|
|
70
|
+
ingredientId?: true;
|
|
71
|
+
productVariantId?: true;
|
|
72
|
+
quantity?: true;
|
|
73
|
+
position?: true;
|
|
74
|
+
costPerUnit?: true;
|
|
75
|
+
};
|
|
76
|
+
export type IngredientToProductVariantSumAggregateInputType = {
|
|
77
|
+
id?: true;
|
|
78
|
+
ingredientId?: true;
|
|
79
|
+
productVariantId?: true;
|
|
80
|
+
quantity?: true;
|
|
81
|
+
position?: true;
|
|
82
|
+
costPerUnit?: true;
|
|
83
|
+
};
|
|
84
|
+
export type IngredientToProductVariantMinAggregateInputType = {
|
|
85
|
+
id?: true;
|
|
86
|
+
ingredientId?: true;
|
|
87
|
+
productVariantId?: true;
|
|
88
|
+
quantity?: true;
|
|
89
|
+
isRequired?: true;
|
|
90
|
+
position?: true;
|
|
91
|
+
costPerUnit?: true;
|
|
92
|
+
inheritProductVariantPrice?: true;
|
|
93
|
+
createdAt?: true;
|
|
94
|
+
updatedAt?: true;
|
|
95
|
+
};
|
|
96
|
+
export type IngredientToProductVariantMaxAggregateInputType = {
|
|
97
|
+
id?: true;
|
|
98
|
+
ingredientId?: true;
|
|
99
|
+
productVariantId?: true;
|
|
100
|
+
quantity?: true;
|
|
101
|
+
isRequired?: true;
|
|
102
|
+
position?: true;
|
|
103
|
+
costPerUnit?: true;
|
|
104
|
+
inheritProductVariantPrice?: true;
|
|
105
|
+
createdAt?: true;
|
|
106
|
+
updatedAt?: true;
|
|
107
|
+
};
|
|
108
|
+
export type IngredientToProductVariantCountAggregateInputType = {
|
|
109
|
+
id?: true;
|
|
110
|
+
ingredientId?: true;
|
|
111
|
+
productVariantId?: true;
|
|
112
|
+
quantity?: true;
|
|
113
|
+
isRequired?: true;
|
|
114
|
+
position?: true;
|
|
115
|
+
costPerUnit?: true;
|
|
116
|
+
inheritProductVariantPrice?: true;
|
|
117
|
+
createdAt?: true;
|
|
118
|
+
updatedAt?: true;
|
|
119
|
+
_all?: true;
|
|
120
|
+
};
|
|
121
|
+
export type IngredientToProductVariantAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
122
|
+
/**
|
|
123
|
+
* Filter which IngredientToProductVariant to aggregate.
|
|
124
|
+
*/
|
|
125
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
126
|
+
/**
|
|
127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
128
|
+
*
|
|
129
|
+
* Determine the order of IngredientToProductVariants to fetch.
|
|
130
|
+
*/
|
|
131
|
+
orderBy?: Prisma.IngredientToProductVariantOrderByWithRelationInput | Prisma.IngredientToProductVariantOrderByWithRelationInput[];
|
|
132
|
+
/**
|
|
133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
134
|
+
*
|
|
135
|
+
* Sets the start position
|
|
136
|
+
*/
|
|
137
|
+
cursor?: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
138
|
+
/**
|
|
139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
140
|
+
*
|
|
141
|
+
* Take `±n` IngredientToProductVariants from the position of the cursor.
|
|
142
|
+
*/
|
|
143
|
+
take?: number;
|
|
144
|
+
/**
|
|
145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
146
|
+
*
|
|
147
|
+
* Skip the first `n` IngredientToProductVariants.
|
|
148
|
+
*/
|
|
149
|
+
skip?: number;
|
|
150
|
+
/**
|
|
151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
152
|
+
*
|
|
153
|
+
* Count returned IngredientToProductVariants
|
|
154
|
+
**/
|
|
155
|
+
_count?: true | IngredientToProductVariantCountAggregateInputType;
|
|
156
|
+
/**
|
|
157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
158
|
+
*
|
|
159
|
+
* Select which fields to average
|
|
160
|
+
**/
|
|
161
|
+
_avg?: IngredientToProductVariantAvgAggregateInputType;
|
|
162
|
+
/**
|
|
163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
164
|
+
*
|
|
165
|
+
* Select which fields to sum
|
|
166
|
+
**/
|
|
167
|
+
_sum?: IngredientToProductVariantSumAggregateInputType;
|
|
168
|
+
/**
|
|
169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
170
|
+
*
|
|
171
|
+
* Select which fields to find the minimum value
|
|
172
|
+
**/
|
|
173
|
+
_min?: IngredientToProductVariantMinAggregateInputType;
|
|
174
|
+
/**
|
|
175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
176
|
+
*
|
|
177
|
+
* Select which fields to find the maximum value
|
|
178
|
+
**/
|
|
179
|
+
_max?: IngredientToProductVariantMaxAggregateInputType;
|
|
180
|
+
};
|
|
181
|
+
export type GetIngredientToProductVariantAggregateType<T extends IngredientToProductVariantAggregateArgs> = {
|
|
182
|
+
[P in keyof T & keyof AggregateIngredientToProductVariant]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIngredientToProductVariant[P]> : Prisma.GetScalarType<T[P], AggregateIngredientToProductVariant[P]>;
|
|
183
|
+
};
|
|
184
|
+
export type IngredientToProductVariantGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
185
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
186
|
+
orderBy?: Prisma.IngredientToProductVariantOrderByWithAggregationInput | Prisma.IngredientToProductVariantOrderByWithAggregationInput[];
|
|
187
|
+
by: Prisma.IngredientToProductVariantScalarFieldEnum[] | Prisma.IngredientToProductVariantScalarFieldEnum;
|
|
188
|
+
having?: Prisma.IngredientToProductVariantScalarWhereWithAggregatesInput;
|
|
189
|
+
take?: number;
|
|
190
|
+
skip?: number;
|
|
191
|
+
_count?: IngredientToProductVariantCountAggregateInputType | true;
|
|
192
|
+
_avg?: IngredientToProductVariantAvgAggregateInputType;
|
|
193
|
+
_sum?: IngredientToProductVariantSumAggregateInputType;
|
|
194
|
+
_min?: IngredientToProductVariantMinAggregateInputType;
|
|
195
|
+
_max?: IngredientToProductVariantMaxAggregateInputType;
|
|
196
|
+
};
|
|
197
|
+
export type IngredientToProductVariantGroupByOutputType = {
|
|
198
|
+
id: bigint;
|
|
199
|
+
ingredientId: bigint;
|
|
200
|
+
productVariantId: bigint;
|
|
201
|
+
quantity: number;
|
|
202
|
+
isRequired: boolean;
|
|
203
|
+
position: number;
|
|
204
|
+
costPerUnit: number;
|
|
205
|
+
inheritProductVariantPrice: boolean;
|
|
206
|
+
createdAt: Date;
|
|
207
|
+
updatedAt: Date;
|
|
208
|
+
_count: IngredientToProductVariantCountAggregateOutputType | null;
|
|
209
|
+
_avg: IngredientToProductVariantAvgAggregateOutputType | null;
|
|
210
|
+
_sum: IngredientToProductVariantSumAggregateOutputType | null;
|
|
211
|
+
_min: IngredientToProductVariantMinAggregateOutputType | null;
|
|
212
|
+
_max: IngredientToProductVariantMaxAggregateOutputType | null;
|
|
213
|
+
};
|
|
214
|
+
type GetIngredientToProductVariantGroupByPayload<T extends IngredientToProductVariantGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<IngredientToProductVariantGroupByOutputType, T['by']> & {
|
|
215
|
+
[P in ((keyof T) & (keyof IngredientToProductVariantGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], IngredientToProductVariantGroupByOutputType[P]> : Prisma.GetScalarType<T[P], IngredientToProductVariantGroupByOutputType[P]>;
|
|
216
|
+
}>>;
|
|
217
|
+
export type IngredientToProductVariantWhereInput = {
|
|
218
|
+
AND?: Prisma.IngredientToProductVariantWhereInput | Prisma.IngredientToProductVariantWhereInput[];
|
|
219
|
+
OR?: Prisma.IngredientToProductVariantWhereInput[];
|
|
220
|
+
NOT?: Prisma.IngredientToProductVariantWhereInput | Prisma.IngredientToProductVariantWhereInput[];
|
|
221
|
+
id?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
222
|
+
ingredientId?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
223
|
+
productVariantId?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
224
|
+
quantity?: Prisma.FloatFilter<"IngredientToProductVariant"> | number;
|
|
225
|
+
isRequired?: Prisma.BoolFilter<"IngredientToProductVariant"> | boolean;
|
|
226
|
+
position?: Prisma.IntFilter<"IngredientToProductVariant"> | number;
|
|
227
|
+
costPerUnit?: Prisma.FloatFilter<"IngredientToProductVariant"> | number;
|
|
228
|
+
inheritProductVariantPrice?: Prisma.BoolFilter<"IngredientToProductVariant"> | boolean;
|
|
229
|
+
createdAt?: Prisma.DateTimeFilter<"IngredientToProductVariant"> | Date | string;
|
|
230
|
+
updatedAt?: Prisma.DateTimeFilter<"IngredientToProductVariant"> | Date | string;
|
|
231
|
+
ingredient?: Prisma.XOR<Prisma.IngredientScalarRelationFilter, Prisma.IngredientWhereInput>;
|
|
232
|
+
productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
|
|
233
|
+
};
|
|
234
|
+
export type IngredientToProductVariantOrderByWithRelationInput = {
|
|
235
|
+
id?: Prisma.SortOrder;
|
|
236
|
+
ingredientId?: Prisma.SortOrder;
|
|
237
|
+
productVariantId?: Prisma.SortOrder;
|
|
238
|
+
quantity?: Prisma.SortOrder;
|
|
239
|
+
isRequired?: Prisma.SortOrder;
|
|
240
|
+
position?: Prisma.SortOrder;
|
|
241
|
+
costPerUnit?: Prisma.SortOrder;
|
|
242
|
+
inheritProductVariantPrice?: Prisma.SortOrder;
|
|
243
|
+
createdAt?: Prisma.SortOrder;
|
|
244
|
+
updatedAt?: Prisma.SortOrder;
|
|
245
|
+
ingredient?: Prisma.IngredientOrderByWithRelationInput;
|
|
246
|
+
productVariant?: Prisma.ProductVariantOrderByWithRelationInput;
|
|
247
|
+
};
|
|
248
|
+
export type IngredientToProductVariantWhereUniqueInput = Prisma.AtLeast<{
|
|
249
|
+
id?: bigint | number;
|
|
250
|
+
ingredientId_productVariantId?: Prisma.IngredientToProductVariantIngredientIdProductVariantIdCompoundUniqueInput;
|
|
251
|
+
AND?: Prisma.IngredientToProductVariantWhereInput | Prisma.IngredientToProductVariantWhereInput[];
|
|
252
|
+
OR?: Prisma.IngredientToProductVariantWhereInput[];
|
|
253
|
+
NOT?: Prisma.IngredientToProductVariantWhereInput | Prisma.IngredientToProductVariantWhereInput[];
|
|
254
|
+
ingredientId?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
255
|
+
productVariantId?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
256
|
+
quantity?: Prisma.FloatFilter<"IngredientToProductVariant"> | number;
|
|
257
|
+
isRequired?: Prisma.BoolFilter<"IngredientToProductVariant"> | boolean;
|
|
258
|
+
position?: Prisma.IntFilter<"IngredientToProductVariant"> | number;
|
|
259
|
+
costPerUnit?: Prisma.FloatFilter<"IngredientToProductVariant"> | number;
|
|
260
|
+
inheritProductVariantPrice?: Prisma.BoolFilter<"IngredientToProductVariant"> | boolean;
|
|
261
|
+
createdAt?: Prisma.DateTimeFilter<"IngredientToProductVariant"> | Date | string;
|
|
262
|
+
updatedAt?: Prisma.DateTimeFilter<"IngredientToProductVariant"> | Date | string;
|
|
263
|
+
ingredient?: Prisma.XOR<Prisma.IngredientScalarRelationFilter, Prisma.IngredientWhereInput>;
|
|
264
|
+
productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
|
|
265
|
+
}, "id" | "ingredientId_productVariantId">;
|
|
266
|
+
export type IngredientToProductVariantOrderByWithAggregationInput = {
|
|
267
|
+
id?: Prisma.SortOrder;
|
|
268
|
+
ingredientId?: Prisma.SortOrder;
|
|
269
|
+
productVariantId?: Prisma.SortOrder;
|
|
270
|
+
quantity?: Prisma.SortOrder;
|
|
271
|
+
isRequired?: Prisma.SortOrder;
|
|
272
|
+
position?: Prisma.SortOrder;
|
|
273
|
+
costPerUnit?: Prisma.SortOrder;
|
|
274
|
+
inheritProductVariantPrice?: Prisma.SortOrder;
|
|
275
|
+
createdAt?: Prisma.SortOrder;
|
|
276
|
+
updatedAt?: Prisma.SortOrder;
|
|
277
|
+
_count?: Prisma.IngredientToProductVariantCountOrderByAggregateInput;
|
|
278
|
+
_avg?: Prisma.IngredientToProductVariantAvgOrderByAggregateInput;
|
|
279
|
+
_max?: Prisma.IngredientToProductVariantMaxOrderByAggregateInput;
|
|
280
|
+
_min?: Prisma.IngredientToProductVariantMinOrderByAggregateInput;
|
|
281
|
+
_sum?: Prisma.IngredientToProductVariantSumOrderByAggregateInput;
|
|
282
|
+
};
|
|
283
|
+
export type IngredientToProductVariantScalarWhereWithAggregatesInput = {
|
|
284
|
+
AND?: Prisma.IngredientToProductVariantScalarWhereWithAggregatesInput | Prisma.IngredientToProductVariantScalarWhereWithAggregatesInput[];
|
|
285
|
+
OR?: Prisma.IngredientToProductVariantScalarWhereWithAggregatesInput[];
|
|
286
|
+
NOT?: Prisma.IngredientToProductVariantScalarWhereWithAggregatesInput | Prisma.IngredientToProductVariantScalarWhereWithAggregatesInput[];
|
|
287
|
+
id?: Prisma.BigIntWithAggregatesFilter<"IngredientToProductVariant"> | bigint | number;
|
|
288
|
+
ingredientId?: Prisma.BigIntWithAggregatesFilter<"IngredientToProductVariant"> | bigint | number;
|
|
289
|
+
productVariantId?: Prisma.BigIntWithAggregatesFilter<"IngredientToProductVariant"> | bigint | number;
|
|
290
|
+
quantity?: Prisma.FloatWithAggregatesFilter<"IngredientToProductVariant"> | number;
|
|
291
|
+
isRequired?: Prisma.BoolWithAggregatesFilter<"IngredientToProductVariant"> | boolean;
|
|
292
|
+
position?: Prisma.IntWithAggregatesFilter<"IngredientToProductVariant"> | number;
|
|
293
|
+
costPerUnit?: Prisma.FloatWithAggregatesFilter<"IngredientToProductVariant"> | number;
|
|
294
|
+
inheritProductVariantPrice?: Prisma.BoolWithAggregatesFilter<"IngredientToProductVariant"> | boolean;
|
|
295
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"IngredientToProductVariant"> | Date | string;
|
|
296
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"IngredientToProductVariant"> | Date | string;
|
|
297
|
+
};
|
|
298
|
+
export type IngredientToProductVariantCreateInput = {
|
|
299
|
+
id?: bigint | number;
|
|
300
|
+
quantity: number;
|
|
301
|
+
isRequired?: boolean;
|
|
302
|
+
position?: number;
|
|
303
|
+
costPerUnit: number;
|
|
304
|
+
inheritProductVariantPrice?: boolean;
|
|
305
|
+
createdAt?: Date | string;
|
|
306
|
+
updatedAt?: Date | string;
|
|
307
|
+
ingredient: Prisma.IngredientCreateNestedOneWithoutIngredientToProductVariantsInput;
|
|
308
|
+
productVariant: Prisma.ProductVariantCreateNestedOneWithoutIngredientToProductVariantsInput;
|
|
309
|
+
};
|
|
310
|
+
export type IngredientToProductVariantUncheckedCreateInput = {
|
|
311
|
+
id?: bigint | number;
|
|
312
|
+
ingredientId: bigint | number;
|
|
313
|
+
productVariantId: bigint | number;
|
|
314
|
+
quantity: number;
|
|
315
|
+
isRequired?: boolean;
|
|
316
|
+
position?: number;
|
|
317
|
+
costPerUnit: number;
|
|
318
|
+
inheritProductVariantPrice?: boolean;
|
|
319
|
+
createdAt?: Date | string;
|
|
320
|
+
updatedAt?: Date | string;
|
|
321
|
+
};
|
|
322
|
+
export type IngredientToProductVariantUpdateInput = {
|
|
323
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
324
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
325
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
326
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
327
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
328
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
329
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
330
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
331
|
+
ingredient?: Prisma.IngredientUpdateOneRequiredWithoutIngredientToProductVariantsNestedInput;
|
|
332
|
+
productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutIngredientToProductVariantsNestedInput;
|
|
333
|
+
};
|
|
334
|
+
export type IngredientToProductVariantUncheckedUpdateInput = {
|
|
335
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
336
|
+
ingredientId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
337
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
338
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
339
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
340
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
341
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
342
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
343
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
344
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
345
|
+
};
|
|
346
|
+
export type IngredientToProductVariantCreateManyInput = {
|
|
347
|
+
id?: bigint | number;
|
|
348
|
+
ingredientId: bigint | number;
|
|
349
|
+
productVariantId: bigint | number;
|
|
350
|
+
quantity: number;
|
|
351
|
+
isRequired?: boolean;
|
|
352
|
+
position?: number;
|
|
353
|
+
costPerUnit: number;
|
|
354
|
+
inheritProductVariantPrice?: boolean;
|
|
355
|
+
createdAt?: Date | string;
|
|
356
|
+
updatedAt?: Date | string;
|
|
357
|
+
};
|
|
358
|
+
export type IngredientToProductVariantUpdateManyMutationInput = {
|
|
359
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
360
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
361
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
362
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
363
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
364
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
365
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
366
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
367
|
+
};
|
|
368
|
+
export type IngredientToProductVariantUncheckedUpdateManyInput = {
|
|
369
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
370
|
+
ingredientId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
371
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
372
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
373
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
374
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
375
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
376
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
377
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
378
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
379
|
+
};
|
|
380
|
+
export type IngredientToProductVariantListRelationFilter = {
|
|
381
|
+
every?: Prisma.IngredientToProductVariantWhereInput;
|
|
382
|
+
some?: Prisma.IngredientToProductVariantWhereInput;
|
|
383
|
+
none?: Prisma.IngredientToProductVariantWhereInput;
|
|
384
|
+
};
|
|
385
|
+
export type IngredientToProductVariantOrderByRelationAggregateInput = {
|
|
386
|
+
_count?: Prisma.SortOrder;
|
|
387
|
+
};
|
|
388
|
+
export type IngredientToProductVariantIngredientIdProductVariantIdCompoundUniqueInput = {
|
|
389
|
+
ingredientId: bigint | number;
|
|
390
|
+
productVariantId: bigint | number;
|
|
391
|
+
};
|
|
392
|
+
export type IngredientToProductVariantCountOrderByAggregateInput = {
|
|
393
|
+
id?: Prisma.SortOrder;
|
|
394
|
+
ingredientId?: Prisma.SortOrder;
|
|
395
|
+
productVariantId?: Prisma.SortOrder;
|
|
396
|
+
quantity?: Prisma.SortOrder;
|
|
397
|
+
isRequired?: Prisma.SortOrder;
|
|
398
|
+
position?: Prisma.SortOrder;
|
|
399
|
+
costPerUnit?: Prisma.SortOrder;
|
|
400
|
+
inheritProductVariantPrice?: Prisma.SortOrder;
|
|
401
|
+
createdAt?: Prisma.SortOrder;
|
|
402
|
+
updatedAt?: Prisma.SortOrder;
|
|
403
|
+
};
|
|
404
|
+
export type IngredientToProductVariantAvgOrderByAggregateInput = {
|
|
405
|
+
id?: Prisma.SortOrder;
|
|
406
|
+
ingredientId?: Prisma.SortOrder;
|
|
407
|
+
productVariantId?: Prisma.SortOrder;
|
|
408
|
+
quantity?: Prisma.SortOrder;
|
|
409
|
+
position?: Prisma.SortOrder;
|
|
410
|
+
costPerUnit?: Prisma.SortOrder;
|
|
411
|
+
};
|
|
412
|
+
export type IngredientToProductVariantMaxOrderByAggregateInput = {
|
|
413
|
+
id?: Prisma.SortOrder;
|
|
414
|
+
ingredientId?: Prisma.SortOrder;
|
|
415
|
+
productVariantId?: Prisma.SortOrder;
|
|
416
|
+
quantity?: Prisma.SortOrder;
|
|
417
|
+
isRequired?: Prisma.SortOrder;
|
|
418
|
+
position?: Prisma.SortOrder;
|
|
419
|
+
costPerUnit?: Prisma.SortOrder;
|
|
420
|
+
inheritProductVariantPrice?: Prisma.SortOrder;
|
|
421
|
+
createdAt?: Prisma.SortOrder;
|
|
422
|
+
updatedAt?: Prisma.SortOrder;
|
|
423
|
+
};
|
|
424
|
+
export type IngredientToProductVariantMinOrderByAggregateInput = {
|
|
425
|
+
id?: Prisma.SortOrder;
|
|
426
|
+
ingredientId?: Prisma.SortOrder;
|
|
427
|
+
productVariantId?: Prisma.SortOrder;
|
|
428
|
+
quantity?: Prisma.SortOrder;
|
|
429
|
+
isRequired?: Prisma.SortOrder;
|
|
430
|
+
position?: Prisma.SortOrder;
|
|
431
|
+
costPerUnit?: Prisma.SortOrder;
|
|
432
|
+
inheritProductVariantPrice?: Prisma.SortOrder;
|
|
433
|
+
createdAt?: Prisma.SortOrder;
|
|
434
|
+
updatedAt?: Prisma.SortOrder;
|
|
435
|
+
};
|
|
436
|
+
export type IngredientToProductVariantSumOrderByAggregateInput = {
|
|
437
|
+
id?: Prisma.SortOrder;
|
|
438
|
+
ingredientId?: Prisma.SortOrder;
|
|
439
|
+
productVariantId?: Prisma.SortOrder;
|
|
440
|
+
quantity?: Prisma.SortOrder;
|
|
441
|
+
position?: Prisma.SortOrder;
|
|
442
|
+
costPerUnit?: Prisma.SortOrder;
|
|
443
|
+
};
|
|
444
|
+
export type IngredientToProductVariantCreateNestedManyWithoutIngredientInput = {
|
|
445
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput> | Prisma.IngredientToProductVariantCreateWithoutIngredientInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput[];
|
|
446
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput[];
|
|
447
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyIngredientInputEnvelope;
|
|
448
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
449
|
+
};
|
|
450
|
+
export type IngredientToProductVariantUncheckedCreateNestedManyWithoutIngredientInput = {
|
|
451
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput> | Prisma.IngredientToProductVariantCreateWithoutIngredientInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput[];
|
|
452
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput[];
|
|
453
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyIngredientInputEnvelope;
|
|
454
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
455
|
+
};
|
|
456
|
+
export type IngredientToProductVariantUpdateManyWithoutIngredientNestedInput = {
|
|
457
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput> | Prisma.IngredientToProductVariantCreateWithoutIngredientInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput[];
|
|
458
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput[];
|
|
459
|
+
upsert?: Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutIngredientInput | Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutIngredientInput[];
|
|
460
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyIngredientInputEnvelope;
|
|
461
|
+
set?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
462
|
+
disconnect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
463
|
+
delete?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
464
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
465
|
+
update?: Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutIngredientInput | Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutIngredientInput[];
|
|
466
|
+
updateMany?: Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutIngredientInput | Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutIngredientInput[];
|
|
467
|
+
deleteMany?: Prisma.IngredientToProductVariantScalarWhereInput | Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
468
|
+
};
|
|
469
|
+
export type IngredientToProductVariantUncheckedUpdateManyWithoutIngredientNestedInput = {
|
|
470
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput> | Prisma.IngredientToProductVariantCreateWithoutIngredientInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput[];
|
|
471
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutIngredientInput[];
|
|
472
|
+
upsert?: Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutIngredientInput | Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutIngredientInput[];
|
|
473
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyIngredientInputEnvelope;
|
|
474
|
+
set?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
475
|
+
disconnect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
476
|
+
delete?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
477
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
478
|
+
update?: Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutIngredientInput | Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutIngredientInput[];
|
|
479
|
+
updateMany?: Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutIngredientInput | Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutIngredientInput[];
|
|
480
|
+
deleteMany?: Prisma.IngredientToProductVariantScalarWhereInput | Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
481
|
+
};
|
|
482
|
+
export type FloatFieldUpdateOperationsInput = {
|
|
483
|
+
set?: number;
|
|
484
|
+
increment?: number;
|
|
485
|
+
decrement?: number;
|
|
486
|
+
multiply?: number;
|
|
487
|
+
divide?: number;
|
|
488
|
+
};
|
|
489
|
+
export type IngredientToProductVariantCreateNestedManyWithoutProductVariantInput = {
|
|
490
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput> | Prisma.IngredientToProductVariantCreateWithoutProductVariantInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput[];
|
|
491
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput[];
|
|
492
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyProductVariantInputEnvelope;
|
|
493
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
494
|
+
};
|
|
495
|
+
export type IngredientToProductVariantUncheckedCreateNestedManyWithoutProductVariantInput = {
|
|
496
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput> | Prisma.IngredientToProductVariantCreateWithoutProductVariantInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput[];
|
|
497
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput[];
|
|
498
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyProductVariantInputEnvelope;
|
|
499
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
500
|
+
};
|
|
501
|
+
export type IngredientToProductVariantUpdateManyWithoutProductVariantNestedInput = {
|
|
502
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput> | Prisma.IngredientToProductVariantCreateWithoutProductVariantInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput[];
|
|
503
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput[];
|
|
504
|
+
upsert?: Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutProductVariantInput[];
|
|
505
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyProductVariantInputEnvelope;
|
|
506
|
+
set?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
507
|
+
disconnect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
508
|
+
delete?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
509
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
510
|
+
update?: Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutProductVariantInput[];
|
|
511
|
+
updateMany?: Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutProductVariantInput | Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutProductVariantInput[];
|
|
512
|
+
deleteMany?: Prisma.IngredientToProductVariantScalarWhereInput | Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
513
|
+
};
|
|
514
|
+
export type IngredientToProductVariantUncheckedUpdateManyWithoutProductVariantNestedInput = {
|
|
515
|
+
create?: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput> | Prisma.IngredientToProductVariantCreateWithoutProductVariantInput[] | Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput[];
|
|
516
|
+
connectOrCreate?: Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput | Prisma.IngredientToProductVariantCreateOrConnectWithoutProductVariantInput[];
|
|
517
|
+
upsert?: Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.IngredientToProductVariantUpsertWithWhereUniqueWithoutProductVariantInput[];
|
|
518
|
+
createMany?: Prisma.IngredientToProductVariantCreateManyProductVariantInputEnvelope;
|
|
519
|
+
set?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
520
|
+
disconnect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
521
|
+
delete?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
522
|
+
connect?: Prisma.IngredientToProductVariantWhereUniqueInput | Prisma.IngredientToProductVariantWhereUniqueInput[];
|
|
523
|
+
update?: Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.IngredientToProductVariantUpdateWithWhereUniqueWithoutProductVariantInput[];
|
|
524
|
+
updateMany?: Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutProductVariantInput | Prisma.IngredientToProductVariantUpdateManyWithWhereWithoutProductVariantInput[];
|
|
525
|
+
deleteMany?: Prisma.IngredientToProductVariantScalarWhereInput | Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
526
|
+
};
|
|
527
|
+
export type IngredientToProductVariantCreateWithoutIngredientInput = {
|
|
528
|
+
id?: bigint | number;
|
|
529
|
+
quantity: number;
|
|
530
|
+
isRequired?: boolean;
|
|
531
|
+
position?: number;
|
|
532
|
+
costPerUnit: number;
|
|
533
|
+
inheritProductVariantPrice?: boolean;
|
|
534
|
+
createdAt?: Date | string;
|
|
535
|
+
updatedAt?: Date | string;
|
|
536
|
+
productVariant: Prisma.ProductVariantCreateNestedOneWithoutIngredientToProductVariantsInput;
|
|
537
|
+
};
|
|
538
|
+
export type IngredientToProductVariantUncheckedCreateWithoutIngredientInput = {
|
|
539
|
+
id?: bigint | number;
|
|
540
|
+
productVariantId: bigint | number;
|
|
541
|
+
quantity: number;
|
|
542
|
+
isRequired?: boolean;
|
|
543
|
+
position?: number;
|
|
544
|
+
costPerUnit: number;
|
|
545
|
+
inheritProductVariantPrice?: boolean;
|
|
546
|
+
createdAt?: Date | string;
|
|
547
|
+
updatedAt?: Date | string;
|
|
548
|
+
};
|
|
549
|
+
export type IngredientToProductVariantCreateOrConnectWithoutIngredientInput = {
|
|
550
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
551
|
+
create: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput>;
|
|
552
|
+
};
|
|
553
|
+
export type IngredientToProductVariantCreateManyIngredientInputEnvelope = {
|
|
554
|
+
data: Prisma.IngredientToProductVariantCreateManyIngredientInput | Prisma.IngredientToProductVariantCreateManyIngredientInput[];
|
|
555
|
+
skipDuplicates?: boolean;
|
|
556
|
+
};
|
|
557
|
+
export type IngredientToProductVariantUpsertWithWhereUniqueWithoutIngredientInput = {
|
|
558
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
559
|
+
update: Prisma.XOR<Prisma.IngredientToProductVariantUpdateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedUpdateWithoutIngredientInput>;
|
|
560
|
+
create: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutIngredientInput>;
|
|
561
|
+
};
|
|
562
|
+
export type IngredientToProductVariantUpdateWithWhereUniqueWithoutIngredientInput = {
|
|
563
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
564
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateWithoutIngredientInput, Prisma.IngredientToProductVariantUncheckedUpdateWithoutIngredientInput>;
|
|
565
|
+
};
|
|
566
|
+
export type IngredientToProductVariantUpdateManyWithWhereWithoutIngredientInput = {
|
|
567
|
+
where: Prisma.IngredientToProductVariantScalarWhereInput;
|
|
568
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateManyMutationInput, Prisma.IngredientToProductVariantUncheckedUpdateManyWithoutIngredientInput>;
|
|
569
|
+
};
|
|
570
|
+
export type IngredientToProductVariantScalarWhereInput = {
|
|
571
|
+
AND?: Prisma.IngredientToProductVariantScalarWhereInput | Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
572
|
+
OR?: Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
573
|
+
NOT?: Prisma.IngredientToProductVariantScalarWhereInput | Prisma.IngredientToProductVariantScalarWhereInput[];
|
|
574
|
+
id?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
575
|
+
ingredientId?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
576
|
+
productVariantId?: Prisma.BigIntFilter<"IngredientToProductVariant"> | bigint | number;
|
|
577
|
+
quantity?: Prisma.FloatFilter<"IngredientToProductVariant"> | number;
|
|
578
|
+
isRequired?: Prisma.BoolFilter<"IngredientToProductVariant"> | boolean;
|
|
579
|
+
position?: Prisma.IntFilter<"IngredientToProductVariant"> | number;
|
|
580
|
+
costPerUnit?: Prisma.FloatFilter<"IngredientToProductVariant"> | number;
|
|
581
|
+
inheritProductVariantPrice?: Prisma.BoolFilter<"IngredientToProductVariant"> | boolean;
|
|
582
|
+
createdAt?: Prisma.DateTimeFilter<"IngredientToProductVariant"> | Date | string;
|
|
583
|
+
updatedAt?: Prisma.DateTimeFilter<"IngredientToProductVariant"> | Date | string;
|
|
584
|
+
};
|
|
585
|
+
export type IngredientToProductVariantCreateWithoutProductVariantInput = {
|
|
586
|
+
id?: bigint | number;
|
|
587
|
+
quantity: number;
|
|
588
|
+
isRequired?: boolean;
|
|
589
|
+
position?: number;
|
|
590
|
+
costPerUnit: number;
|
|
591
|
+
inheritProductVariantPrice?: boolean;
|
|
592
|
+
createdAt?: Date | string;
|
|
593
|
+
updatedAt?: Date | string;
|
|
594
|
+
ingredient: Prisma.IngredientCreateNestedOneWithoutIngredientToProductVariantsInput;
|
|
595
|
+
};
|
|
596
|
+
export type IngredientToProductVariantUncheckedCreateWithoutProductVariantInput = {
|
|
597
|
+
id?: bigint | number;
|
|
598
|
+
ingredientId: bigint | number;
|
|
599
|
+
quantity: number;
|
|
600
|
+
isRequired?: boolean;
|
|
601
|
+
position?: number;
|
|
602
|
+
costPerUnit: number;
|
|
603
|
+
inheritProductVariantPrice?: boolean;
|
|
604
|
+
createdAt?: Date | string;
|
|
605
|
+
updatedAt?: Date | string;
|
|
606
|
+
};
|
|
607
|
+
export type IngredientToProductVariantCreateOrConnectWithoutProductVariantInput = {
|
|
608
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
609
|
+
create: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput>;
|
|
610
|
+
};
|
|
611
|
+
export type IngredientToProductVariantCreateManyProductVariantInputEnvelope = {
|
|
612
|
+
data: Prisma.IngredientToProductVariantCreateManyProductVariantInput | Prisma.IngredientToProductVariantCreateManyProductVariantInput[];
|
|
613
|
+
skipDuplicates?: boolean;
|
|
614
|
+
};
|
|
615
|
+
export type IngredientToProductVariantUpsertWithWhereUniqueWithoutProductVariantInput = {
|
|
616
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
617
|
+
update: Prisma.XOR<Prisma.IngredientToProductVariantUpdateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedUpdateWithoutProductVariantInput>;
|
|
618
|
+
create: Prisma.XOR<Prisma.IngredientToProductVariantCreateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedCreateWithoutProductVariantInput>;
|
|
619
|
+
};
|
|
620
|
+
export type IngredientToProductVariantUpdateWithWhereUniqueWithoutProductVariantInput = {
|
|
621
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
622
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateWithoutProductVariantInput, Prisma.IngredientToProductVariantUncheckedUpdateWithoutProductVariantInput>;
|
|
623
|
+
};
|
|
624
|
+
export type IngredientToProductVariantUpdateManyWithWhereWithoutProductVariantInput = {
|
|
625
|
+
where: Prisma.IngredientToProductVariantScalarWhereInput;
|
|
626
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateManyMutationInput, Prisma.IngredientToProductVariantUncheckedUpdateManyWithoutProductVariantInput>;
|
|
627
|
+
};
|
|
628
|
+
export type IngredientToProductVariantCreateManyIngredientInput = {
|
|
629
|
+
id?: bigint | number;
|
|
630
|
+
productVariantId: bigint | number;
|
|
631
|
+
quantity: number;
|
|
632
|
+
isRequired?: boolean;
|
|
633
|
+
position?: number;
|
|
634
|
+
costPerUnit: number;
|
|
635
|
+
inheritProductVariantPrice?: boolean;
|
|
636
|
+
createdAt?: Date | string;
|
|
637
|
+
updatedAt?: Date | string;
|
|
638
|
+
};
|
|
639
|
+
export type IngredientToProductVariantUpdateWithoutIngredientInput = {
|
|
640
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
641
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
642
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
643
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
644
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
645
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
646
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
647
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
648
|
+
productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutIngredientToProductVariantsNestedInput;
|
|
649
|
+
};
|
|
650
|
+
export type IngredientToProductVariantUncheckedUpdateWithoutIngredientInput = {
|
|
651
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
652
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
653
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
654
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
655
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
656
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
657
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
658
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
659
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
660
|
+
};
|
|
661
|
+
export type IngredientToProductVariantUncheckedUpdateManyWithoutIngredientInput = {
|
|
662
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
663
|
+
productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
664
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
665
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
666
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
667
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
668
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
669
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
670
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
671
|
+
};
|
|
672
|
+
export type IngredientToProductVariantCreateManyProductVariantInput = {
|
|
673
|
+
id?: bigint | number;
|
|
674
|
+
ingredientId: bigint | number;
|
|
675
|
+
quantity: number;
|
|
676
|
+
isRequired?: boolean;
|
|
677
|
+
position?: number;
|
|
678
|
+
costPerUnit: number;
|
|
679
|
+
inheritProductVariantPrice?: boolean;
|
|
680
|
+
createdAt?: Date | string;
|
|
681
|
+
updatedAt?: Date | string;
|
|
682
|
+
};
|
|
683
|
+
export type IngredientToProductVariantUpdateWithoutProductVariantInput = {
|
|
684
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
685
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
686
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
687
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
688
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
689
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
690
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
691
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
692
|
+
ingredient?: Prisma.IngredientUpdateOneRequiredWithoutIngredientToProductVariantsNestedInput;
|
|
693
|
+
};
|
|
694
|
+
export type IngredientToProductVariantUncheckedUpdateWithoutProductVariantInput = {
|
|
695
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
696
|
+
ingredientId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
697
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
698
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
699
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
700
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
701
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
702
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
703
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
704
|
+
};
|
|
705
|
+
export type IngredientToProductVariantUncheckedUpdateManyWithoutProductVariantInput = {
|
|
706
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
707
|
+
ingredientId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
708
|
+
quantity?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
709
|
+
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
710
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
711
|
+
costPerUnit?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
712
|
+
inheritProductVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
713
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
714
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
715
|
+
};
|
|
716
|
+
export type IngredientToProductVariantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
717
|
+
id?: boolean;
|
|
718
|
+
ingredientId?: boolean;
|
|
719
|
+
productVariantId?: boolean;
|
|
720
|
+
quantity?: boolean;
|
|
721
|
+
isRequired?: boolean;
|
|
722
|
+
position?: boolean;
|
|
723
|
+
costPerUnit?: boolean;
|
|
724
|
+
inheritProductVariantPrice?: boolean;
|
|
725
|
+
createdAt?: boolean;
|
|
726
|
+
updatedAt?: boolean;
|
|
727
|
+
ingredient?: boolean | Prisma.IngredientDefaultArgs<ExtArgs>;
|
|
728
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
729
|
+
}, ExtArgs["result"]["ingredientToProductVariant"]>;
|
|
730
|
+
export type IngredientToProductVariantSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
731
|
+
id?: boolean;
|
|
732
|
+
ingredientId?: boolean;
|
|
733
|
+
productVariantId?: boolean;
|
|
734
|
+
quantity?: boolean;
|
|
735
|
+
isRequired?: boolean;
|
|
736
|
+
position?: boolean;
|
|
737
|
+
costPerUnit?: boolean;
|
|
738
|
+
inheritProductVariantPrice?: boolean;
|
|
739
|
+
createdAt?: boolean;
|
|
740
|
+
updatedAt?: boolean;
|
|
741
|
+
ingredient?: boolean | Prisma.IngredientDefaultArgs<ExtArgs>;
|
|
742
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
743
|
+
}, ExtArgs["result"]["ingredientToProductVariant"]>;
|
|
744
|
+
export type IngredientToProductVariantSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
745
|
+
id?: boolean;
|
|
746
|
+
ingredientId?: boolean;
|
|
747
|
+
productVariantId?: boolean;
|
|
748
|
+
quantity?: boolean;
|
|
749
|
+
isRequired?: boolean;
|
|
750
|
+
position?: boolean;
|
|
751
|
+
costPerUnit?: boolean;
|
|
752
|
+
inheritProductVariantPrice?: boolean;
|
|
753
|
+
createdAt?: boolean;
|
|
754
|
+
updatedAt?: boolean;
|
|
755
|
+
ingredient?: boolean | Prisma.IngredientDefaultArgs<ExtArgs>;
|
|
756
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
757
|
+
}, ExtArgs["result"]["ingredientToProductVariant"]>;
|
|
758
|
+
export type IngredientToProductVariantSelectScalar = {
|
|
759
|
+
id?: boolean;
|
|
760
|
+
ingredientId?: boolean;
|
|
761
|
+
productVariantId?: boolean;
|
|
762
|
+
quantity?: boolean;
|
|
763
|
+
isRequired?: boolean;
|
|
764
|
+
position?: boolean;
|
|
765
|
+
costPerUnit?: boolean;
|
|
766
|
+
inheritProductVariantPrice?: boolean;
|
|
767
|
+
createdAt?: boolean;
|
|
768
|
+
updatedAt?: boolean;
|
|
769
|
+
};
|
|
770
|
+
export type IngredientToProductVariantOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ingredientId" | "productVariantId" | "quantity" | "isRequired" | "position" | "costPerUnit" | "inheritProductVariantPrice" | "createdAt" | "updatedAt", ExtArgs["result"]["ingredientToProductVariant"]>;
|
|
771
|
+
export type IngredientToProductVariantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
772
|
+
ingredient?: boolean | Prisma.IngredientDefaultArgs<ExtArgs>;
|
|
773
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
774
|
+
};
|
|
775
|
+
export type IngredientToProductVariantIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
776
|
+
ingredient?: boolean | Prisma.IngredientDefaultArgs<ExtArgs>;
|
|
777
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
778
|
+
};
|
|
779
|
+
export type IngredientToProductVariantIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
780
|
+
ingredient?: boolean | Prisma.IngredientDefaultArgs<ExtArgs>;
|
|
781
|
+
productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
|
|
782
|
+
};
|
|
783
|
+
export type $IngredientToProductVariantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
784
|
+
name: "IngredientToProductVariant";
|
|
785
|
+
objects: {
|
|
786
|
+
ingredient: Prisma.$IngredientPayload<ExtArgs>;
|
|
787
|
+
productVariant: Prisma.$ProductVariantPayload<ExtArgs>;
|
|
788
|
+
};
|
|
789
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
790
|
+
id: bigint;
|
|
791
|
+
ingredientId: bigint;
|
|
792
|
+
productVariantId: bigint;
|
|
793
|
+
quantity: number;
|
|
794
|
+
isRequired: boolean;
|
|
795
|
+
position: number;
|
|
796
|
+
costPerUnit: number;
|
|
797
|
+
inheritProductVariantPrice: boolean;
|
|
798
|
+
createdAt: Date;
|
|
799
|
+
updatedAt: Date;
|
|
800
|
+
}, ExtArgs["result"]["ingredientToProductVariant"]>;
|
|
801
|
+
composites: {};
|
|
802
|
+
};
|
|
803
|
+
export type IngredientToProductVariantGetPayload<S extends boolean | null | undefined | IngredientToProductVariantDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload, S>;
|
|
804
|
+
export type IngredientToProductVariantCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<IngredientToProductVariantFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
805
|
+
select?: IngredientToProductVariantCountAggregateInputType | true;
|
|
806
|
+
};
|
|
807
|
+
export interface IngredientToProductVariantDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
808
|
+
[K: symbol]: {
|
|
809
|
+
types: Prisma.TypeMap<ExtArgs>['model']['IngredientToProductVariant'];
|
|
810
|
+
meta: {
|
|
811
|
+
name: 'IngredientToProductVariant';
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* Find zero or one IngredientToProductVariant that matches the filter.
|
|
816
|
+
* @param {IngredientToProductVariantFindUniqueArgs} args - Arguments to find a IngredientToProductVariant
|
|
817
|
+
* @example
|
|
818
|
+
* // Get one IngredientToProductVariant
|
|
819
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.findUnique({
|
|
820
|
+
* where: {
|
|
821
|
+
* // ... provide filter here
|
|
822
|
+
* }
|
|
823
|
+
* })
|
|
824
|
+
*/
|
|
825
|
+
findUnique<T extends IngredientToProductVariantFindUniqueArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantFindUniqueArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
826
|
+
/**
|
|
827
|
+
* Find one IngredientToProductVariant that matches the filter or throw an error with `error.code='P2025'`
|
|
828
|
+
* if no matches were found.
|
|
829
|
+
* @param {IngredientToProductVariantFindUniqueOrThrowArgs} args - Arguments to find a IngredientToProductVariant
|
|
830
|
+
* @example
|
|
831
|
+
* // Get one IngredientToProductVariant
|
|
832
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.findUniqueOrThrow({
|
|
833
|
+
* where: {
|
|
834
|
+
* // ... provide filter here
|
|
835
|
+
* }
|
|
836
|
+
* })
|
|
837
|
+
*/
|
|
838
|
+
findUniqueOrThrow<T extends IngredientToProductVariantFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
839
|
+
/**
|
|
840
|
+
* Find the first IngredientToProductVariant that matches the filter.
|
|
841
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
842
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
843
|
+
* @param {IngredientToProductVariantFindFirstArgs} args - Arguments to find a IngredientToProductVariant
|
|
844
|
+
* @example
|
|
845
|
+
* // Get one IngredientToProductVariant
|
|
846
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.findFirst({
|
|
847
|
+
* where: {
|
|
848
|
+
* // ... provide filter here
|
|
849
|
+
* }
|
|
850
|
+
* })
|
|
851
|
+
*/
|
|
852
|
+
findFirst<T extends IngredientToProductVariantFindFirstArgs>(args?: Prisma.SelectSubset<T, IngredientToProductVariantFindFirstArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
853
|
+
/**
|
|
854
|
+
* Find the first IngredientToProductVariant that matches the filter or
|
|
855
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
856
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
857
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
858
|
+
* @param {IngredientToProductVariantFindFirstOrThrowArgs} args - Arguments to find a IngredientToProductVariant
|
|
859
|
+
* @example
|
|
860
|
+
* // Get one IngredientToProductVariant
|
|
861
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.findFirstOrThrow({
|
|
862
|
+
* where: {
|
|
863
|
+
* // ... provide filter here
|
|
864
|
+
* }
|
|
865
|
+
* })
|
|
866
|
+
*/
|
|
867
|
+
findFirstOrThrow<T extends IngredientToProductVariantFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, IngredientToProductVariantFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
868
|
+
/**
|
|
869
|
+
* Find zero or more IngredientToProductVariants that matches the filter.
|
|
870
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
871
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
872
|
+
* @param {IngredientToProductVariantFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
873
|
+
* @example
|
|
874
|
+
* // Get all IngredientToProductVariants
|
|
875
|
+
* const ingredientToProductVariants = await prisma.ingredientToProductVariant.findMany()
|
|
876
|
+
*
|
|
877
|
+
* // Get first 10 IngredientToProductVariants
|
|
878
|
+
* const ingredientToProductVariants = await prisma.ingredientToProductVariant.findMany({ take: 10 })
|
|
879
|
+
*
|
|
880
|
+
* // Only select the `id`
|
|
881
|
+
* const ingredientToProductVariantWithIdOnly = await prisma.ingredientToProductVariant.findMany({ select: { id: true } })
|
|
882
|
+
*
|
|
883
|
+
*/
|
|
884
|
+
findMany<T extends IngredientToProductVariantFindManyArgs>(args?: Prisma.SelectSubset<T, IngredientToProductVariantFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
885
|
+
/**
|
|
886
|
+
* Create a IngredientToProductVariant.
|
|
887
|
+
* @param {IngredientToProductVariantCreateArgs} args - Arguments to create a IngredientToProductVariant.
|
|
888
|
+
* @example
|
|
889
|
+
* // Create one IngredientToProductVariant
|
|
890
|
+
* const IngredientToProductVariant = await prisma.ingredientToProductVariant.create({
|
|
891
|
+
* data: {
|
|
892
|
+
* // ... data to create a IngredientToProductVariant
|
|
893
|
+
* }
|
|
894
|
+
* })
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
create<T extends IngredientToProductVariantCreateArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantCreateArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
898
|
+
/**
|
|
899
|
+
* Create many IngredientToProductVariants.
|
|
900
|
+
* @param {IngredientToProductVariantCreateManyArgs} args - Arguments to create many IngredientToProductVariants.
|
|
901
|
+
* @example
|
|
902
|
+
* // Create many IngredientToProductVariants
|
|
903
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.createMany({
|
|
904
|
+
* data: [
|
|
905
|
+
* // ... provide data here
|
|
906
|
+
* ]
|
|
907
|
+
* })
|
|
908
|
+
*
|
|
909
|
+
*/
|
|
910
|
+
createMany<T extends IngredientToProductVariantCreateManyArgs>(args?: Prisma.SelectSubset<T, IngredientToProductVariantCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
911
|
+
/**
|
|
912
|
+
* Create many IngredientToProductVariants and returns the data saved in the database.
|
|
913
|
+
* @param {IngredientToProductVariantCreateManyAndReturnArgs} args - Arguments to create many IngredientToProductVariants.
|
|
914
|
+
* @example
|
|
915
|
+
* // Create many IngredientToProductVariants
|
|
916
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.createManyAndReturn({
|
|
917
|
+
* data: [
|
|
918
|
+
* // ... provide data here
|
|
919
|
+
* ]
|
|
920
|
+
* })
|
|
921
|
+
*
|
|
922
|
+
* // Create many IngredientToProductVariants and only return the `id`
|
|
923
|
+
* const ingredientToProductVariantWithIdOnly = await prisma.ingredientToProductVariant.createManyAndReturn({
|
|
924
|
+
* select: { id: true },
|
|
925
|
+
* data: [
|
|
926
|
+
* // ... provide data here
|
|
927
|
+
* ]
|
|
928
|
+
* })
|
|
929
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
930
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
931
|
+
*
|
|
932
|
+
*/
|
|
933
|
+
createManyAndReturn<T extends IngredientToProductVariantCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, IngredientToProductVariantCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
934
|
+
/**
|
|
935
|
+
* Delete a IngredientToProductVariant.
|
|
936
|
+
* @param {IngredientToProductVariantDeleteArgs} args - Arguments to delete one IngredientToProductVariant.
|
|
937
|
+
* @example
|
|
938
|
+
* // Delete one IngredientToProductVariant
|
|
939
|
+
* const IngredientToProductVariant = await prisma.ingredientToProductVariant.delete({
|
|
940
|
+
* where: {
|
|
941
|
+
* // ... filter to delete one IngredientToProductVariant
|
|
942
|
+
* }
|
|
943
|
+
* })
|
|
944
|
+
*
|
|
945
|
+
*/
|
|
946
|
+
delete<T extends IngredientToProductVariantDeleteArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantDeleteArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
947
|
+
/**
|
|
948
|
+
* Update one IngredientToProductVariant.
|
|
949
|
+
* @param {IngredientToProductVariantUpdateArgs} args - Arguments to update one IngredientToProductVariant.
|
|
950
|
+
* @example
|
|
951
|
+
* // Update one IngredientToProductVariant
|
|
952
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.update({
|
|
953
|
+
* where: {
|
|
954
|
+
* // ... provide filter here
|
|
955
|
+
* },
|
|
956
|
+
* data: {
|
|
957
|
+
* // ... provide data here
|
|
958
|
+
* }
|
|
959
|
+
* })
|
|
960
|
+
*
|
|
961
|
+
*/
|
|
962
|
+
update<T extends IngredientToProductVariantUpdateArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantUpdateArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
963
|
+
/**
|
|
964
|
+
* Delete zero or more IngredientToProductVariants.
|
|
965
|
+
* @param {IngredientToProductVariantDeleteManyArgs} args - Arguments to filter IngredientToProductVariants to delete.
|
|
966
|
+
* @example
|
|
967
|
+
* // Delete a few IngredientToProductVariants
|
|
968
|
+
* const { count } = await prisma.ingredientToProductVariant.deleteMany({
|
|
969
|
+
* where: {
|
|
970
|
+
* // ... provide filter here
|
|
971
|
+
* }
|
|
972
|
+
* })
|
|
973
|
+
*
|
|
974
|
+
*/
|
|
975
|
+
deleteMany<T extends IngredientToProductVariantDeleteManyArgs>(args?: Prisma.SelectSubset<T, IngredientToProductVariantDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
976
|
+
/**
|
|
977
|
+
* Update zero or more IngredientToProductVariants.
|
|
978
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
979
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
980
|
+
* @param {IngredientToProductVariantUpdateManyArgs} args - Arguments to update one or more rows.
|
|
981
|
+
* @example
|
|
982
|
+
* // Update many IngredientToProductVariants
|
|
983
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.updateMany({
|
|
984
|
+
* where: {
|
|
985
|
+
* // ... provide filter here
|
|
986
|
+
* },
|
|
987
|
+
* data: {
|
|
988
|
+
* // ... provide data here
|
|
989
|
+
* }
|
|
990
|
+
* })
|
|
991
|
+
*
|
|
992
|
+
*/
|
|
993
|
+
updateMany<T extends IngredientToProductVariantUpdateManyArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
994
|
+
/**
|
|
995
|
+
* Update zero or more IngredientToProductVariants and returns the data updated in the database.
|
|
996
|
+
* @param {IngredientToProductVariantUpdateManyAndReturnArgs} args - Arguments to update many IngredientToProductVariants.
|
|
997
|
+
* @example
|
|
998
|
+
* // Update many IngredientToProductVariants
|
|
999
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.updateManyAndReturn({
|
|
1000
|
+
* where: {
|
|
1001
|
+
* // ... provide filter here
|
|
1002
|
+
* },
|
|
1003
|
+
* data: [
|
|
1004
|
+
* // ... provide data here
|
|
1005
|
+
* ]
|
|
1006
|
+
* })
|
|
1007
|
+
*
|
|
1008
|
+
* // Update zero or more IngredientToProductVariants and only return the `id`
|
|
1009
|
+
* const ingredientToProductVariantWithIdOnly = await prisma.ingredientToProductVariant.updateManyAndReturn({
|
|
1010
|
+
* select: { id: true },
|
|
1011
|
+
* where: {
|
|
1012
|
+
* // ... provide filter here
|
|
1013
|
+
* },
|
|
1014
|
+
* data: [
|
|
1015
|
+
* // ... provide data here
|
|
1016
|
+
* ]
|
|
1017
|
+
* })
|
|
1018
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1019
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1020
|
+
*
|
|
1021
|
+
*/
|
|
1022
|
+
updateManyAndReturn<T extends IngredientToProductVariantUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Create or update one IngredientToProductVariant.
|
|
1025
|
+
* @param {IngredientToProductVariantUpsertArgs} args - Arguments to update or create a IngredientToProductVariant.
|
|
1026
|
+
* @example
|
|
1027
|
+
* // Update or create a IngredientToProductVariant
|
|
1028
|
+
* const ingredientToProductVariant = await prisma.ingredientToProductVariant.upsert({
|
|
1029
|
+
* create: {
|
|
1030
|
+
* // ... data to create a IngredientToProductVariant
|
|
1031
|
+
* },
|
|
1032
|
+
* update: {
|
|
1033
|
+
* // ... in case it already exists, update
|
|
1034
|
+
* },
|
|
1035
|
+
* where: {
|
|
1036
|
+
* // ... the filter for the IngredientToProductVariant we want to update
|
|
1037
|
+
* }
|
|
1038
|
+
* })
|
|
1039
|
+
*/
|
|
1040
|
+
upsert<T extends IngredientToProductVariantUpsertArgs>(args: Prisma.SelectSubset<T, IngredientToProductVariantUpsertArgs<ExtArgs>>): Prisma.Prisma__IngredientToProductVariantClient<runtime.Types.Result.GetResult<Prisma.$IngredientToProductVariantPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Count the number of IngredientToProductVariants.
|
|
1043
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1044
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1045
|
+
* @param {IngredientToProductVariantCountArgs} args - Arguments to filter IngredientToProductVariants to count.
|
|
1046
|
+
* @example
|
|
1047
|
+
* // Count the number of IngredientToProductVariants
|
|
1048
|
+
* const count = await prisma.ingredientToProductVariant.count({
|
|
1049
|
+
* where: {
|
|
1050
|
+
* // ... the filter for the IngredientToProductVariants we want to count
|
|
1051
|
+
* }
|
|
1052
|
+
* })
|
|
1053
|
+
**/
|
|
1054
|
+
count<T extends IngredientToProductVariantCountArgs>(args?: Prisma.Subset<T, IngredientToProductVariantCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], IngredientToProductVariantCountAggregateOutputType> : number>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Allows you to perform aggregations operations on a IngredientToProductVariant.
|
|
1057
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1058
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1059
|
+
* @param {IngredientToProductVariantAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1060
|
+
* @example
|
|
1061
|
+
* // Ordered by age ascending
|
|
1062
|
+
* // Where email contains prisma.io
|
|
1063
|
+
* // Limited to the 10 users
|
|
1064
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1065
|
+
* _avg: {
|
|
1066
|
+
* age: true,
|
|
1067
|
+
* },
|
|
1068
|
+
* where: {
|
|
1069
|
+
* email: {
|
|
1070
|
+
* contains: "prisma.io",
|
|
1071
|
+
* },
|
|
1072
|
+
* },
|
|
1073
|
+
* orderBy: {
|
|
1074
|
+
* age: "asc",
|
|
1075
|
+
* },
|
|
1076
|
+
* take: 10,
|
|
1077
|
+
* })
|
|
1078
|
+
**/
|
|
1079
|
+
aggregate<T extends IngredientToProductVariantAggregateArgs>(args: Prisma.Subset<T, IngredientToProductVariantAggregateArgs>): Prisma.PrismaPromise<GetIngredientToProductVariantAggregateType<T>>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Group by IngredientToProductVariant.
|
|
1082
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1083
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1084
|
+
* @param {IngredientToProductVariantGroupByArgs} args - Group by arguments.
|
|
1085
|
+
* @example
|
|
1086
|
+
* // Group by city, order by createdAt, get count
|
|
1087
|
+
* const result = await prisma.user.groupBy({
|
|
1088
|
+
* by: ['city', 'createdAt'],
|
|
1089
|
+
* orderBy: {
|
|
1090
|
+
* createdAt: true
|
|
1091
|
+
* },
|
|
1092
|
+
* _count: {
|
|
1093
|
+
* _all: true
|
|
1094
|
+
* },
|
|
1095
|
+
* })
|
|
1096
|
+
*
|
|
1097
|
+
**/
|
|
1098
|
+
groupBy<T extends IngredientToProductVariantGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1099
|
+
orderBy: IngredientToProductVariantGroupByArgs['orderBy'];
|
|
1100
|
+
} : {
|
|
1101
|
+
orderBy?: IngredientToProductVariantGroupByArgs['orderBy'];
|
|
1102
|
+
}, 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 ? {
|
|
1103
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1104
|
+
Error,
|
|
1105
|
+
'Field ',
|
|
1106
|
+
P,
|
|
1107
|
+
` in "having" needs to be provided in "by"`
|
|
1108
|
+
];
|
|
1109
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1110
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1111
|
+
}[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 ? {} : {
|
|
1112
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1113
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1114
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1115
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, IngredientToProductVariantGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIngredientToProductVariantGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Fields of the IngredientToProductVariant model
|
|
1118
|
+
*/
|
|
1119
|
+
readonly fields: IngredientToProductVariantFieldRefs;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* The delegate class that acts as a "Promise-like" for IngredientToProductVariant.
|
|
1123
|
+
* Why is this prefixed with `Prisma__`?
|
|
1124
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1125
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1126
|
+
*/
|
|
1127
|
+
export interface Prisma__IngredientToProductVariantClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1128
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1129
|
+
ingredient<T extends Prisma.IngredientDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.IngredientDefaultArgs<ExtArgs>>): Prisma.Prisma__IngredientClient<runtime.Types.Result.GetResult<Prisma.$IngredientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1130
|
+
productVariant<T extends Prisma.ProductVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1133
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1134
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1135
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1136
|
+
*/
|
|
1137
|
+
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>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1140
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1141
|
+
* @returns A Promise for the completion of the callback.
|
|
1142
|
+
*/
|
|
1143
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1146
|
+
* resolved value cannot be modified from the callback.
|
|
1147
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1148
|
+
* @returns A Promise for the completion of the callback.
|
|
1149
|
+
*/
|
|
1150
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Fields of the IngredientToProductVariant model
|
|
1154
|
+
*/
|
|
1155
|
+
export interface IngredientToProductVariantFieldRefs {
|
|
1156
|
+
readonly id: Prisma.FieldRef<"IngredientToProductVariant", 'BigInt'>;
|
|
1157
|
+
readonly ingredientId: Prisma.FieldRef<"IngredientToProductVariant", 'BigInt'>;
|
|
1158
|
+
readonly productVariantId: Prisma.FieldRef<"IngredientToProductVariant", 'BigInt'>;
|
|
1159
|
+
readonly quantity: Prisma.FieldRef<"IngredientToProductVariant", 'Float'>;
|
|
1160
|
+
readonly isRequired: Prisma.FieldRef<"IngredientToProductVariant", 'Boolean'>;
|
|
1161
|
+
readonly position: Prisma.FieldRef<"IngredientToProductVariant", 'Int'>;
|
|
1162
|
+
readonly costPerUnit: Prisma.FieldRef<"IngredientToProductVariant", 'Float'>;
|
|
1163
|
+
readonly inheritProductVariantPrice: Prisma.FieldRef<"IngredientToProductVariant", 'Boolean'>;
|
|
1164
|
+
readonly createdAt: Prisma.FieldRef<"IngredientToProductVariant", 'DateTime'>;
|
|
1165
|
+
readonly updatedAt: Prisma.FieldRef<"IngredientToProductVariant", 'DateTime'>;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* IngredientToProductVariant findUnique
|
|
1169
|
+
*/
|
|
1170
|
+
export type IngredientToProductVariantFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1171
|
+
/**
|
|
1172
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1173
|
+
*/
|
|
1174
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1177
|
+
*/
|
|
1178
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Choose, which related nodes to fetch as well
|
|
1181
|
+
*/
|
|
1182
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* Filter, which IngredientToProductVariant to fetch.
|
|
1185
|
+
*/
|
|
1186
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* IngredientToProductVariant findUniqueOrThrow
|
|
1190
|
+
*/
|
|
1191
|
+
export type IngredientToProductVariantFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1192
|
+
/**
|
|
1193
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1194
|
+
*/
|
|
1195
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1196
|
+
/**
|
|
1197
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1198
|
+
*/
|
|
1199
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1200
|
+
/**
|
|
1201
|
+
* Choose, which related nodes to fetch as well
|
|
1202
|
+
*/
|
|
1203
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Filter, which IngredientToProductVariant to fetch.
|
|
1206
|
+
*/
|
|
1207
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1208
|
+
};
|
|
1209
|
+
/**
|
|
1210
|
+
* IngredientToProductVariant findFirst
|
|
1211
|
+
*/
|
|
1212
|
+
export type IngredientToProductVariantFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1213
|
+
/**
|
|
1214
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1215
|
+
*/
|
|
1216
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1219
|
+
*/
|
|
1220
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* Choose, which related nodes to fetch as well
|
|
1223
|
+
*/
|
|
1224
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Filter, which IngredientToProductVariant to fetch.
|
|
1227
|
+
*/
|
|
1228
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
1229
|
+
/**
|
|
1230
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1231
|
+
*
|
|
1232
|
+
* Determine the order of IngredientToProductVariants to fetch.
|
|
1233
|
+
*/
|
|
1234
|
+
orderBy?: Prisma.IngredientToProductVariantOrderByWithRelationInput | Prisma.IngredientToProductVariantOrderByWithRelationInput[];
|
|
1235
|
+
/**
|
|
1236
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1237
|
+
*
|
|
1238
|
+
* Sets the position for searching for IngredientToProductVariants.
|
|
1239
|
+
*/
|
|
1240
|
+
cursor?: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1241
|
+
/**
|
|
1242
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1243
|
+
*
|
|
1244
|
+
* Take `±n` IngredientToProductVariants from the position of the cursor.
|
|
1245
|
+
*/
|
|
1246
|
+
take?: number;
|
|
1247
|
+
/**
|
|
1248
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1249
|
+
*
|
|
1250
|
+
* Skip the first `n` IngredientToProductVariants.
|
|
1251
|
+
*/
|
|
1252
|
+
skip?: number;
|
|
1253
|
+
/**
|
|
1254
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1255
|
+
*
|
|
1256
|
+
* Filter by unique combinations of IngredientToProductVariants.
|
|
1257
|
+
*/
|
|
1258
|
+
distinct?: Prisma.IngredientToProductVariantScalarFieldEnum | Prisma.IngredientToProductVariantScalarFieldEnum[];
|
|
1259
|
+
};
|
|
1260
|
+
/**
|
|
1261
|
+
* IngredientToProductVariant findFirstOrThrow
|
|
1262
|
+
*/
|
|
1263
|
+
export type IngredientToProductVariantFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1264
|
+
/**
|
|
1265
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1266
|
+
*/
|
|
1267
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1270
|
+
*/
|
|
1271
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1272
|
+
/**
|
|
1273
|
+
* Choose, which related nodes to fetch as well
|
|
1274
|
+
*/
|
|
1275
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1276
|
+
/**
|
|
1277
|
+
* Filter, which IngredientToProductVariant to fetch.
|
|
1278
|
+
*/
|
|
1279
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
1280
|
+
/**
|
|
1281
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1282
|
+
*
|
|
1283
|
+
* Determine the order of IngredientToProductVariants to fetch.
|
|
1284
|
+
*/
|
|
1285
|
+
orderBy?: Prisma.IngredientToProductVariantOrderByWithRelationInput | Prisma.IngredientToProductVariantOrderByWithRelationInput[];
|
|
1286
|
+
/**
|
|
1287
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1288
|
+
*
|
|
1289
|
+
* Sets the position for searching for IngredientToProductVariants.
|
|
1290
|
+
*/
|
|
1291
|
+
cursor?: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1292
|
+
/**
|
|
1293
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1294
|
+
*
|
|
1295
|
+
* Take `±n` IngredientToProductVariants from the position of the cursor.
|
|
1296
|
+
*/
|
|
1297
|
+
take?: number;
|
|
1298
|
+
/**
|
|
1299
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1300
|
+
*
|
|
1301
|
+
* Skip the first `n` IngredientToProductVariants.
|
|
1302
|
+
*/
|
|
1303
|
+
skip?: number;
|
|
1304
|
+
/**
|
|
1305
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1306
|
+
*
|
|
1307
|
+
* Filter by unique combinations of IngredientToProductVariants.
|
|
1308
|
+
*/
|
|
1309
|
+
distinct?: Prisma.IngredientToProductVariantScalarFieldEnum | Prisma.IngredientToProductVariantScalarFieldEnum[];
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* IngredientToProductVariant findMany
|
|
1313
|
+
*/
|
|
1314
|
+
export type IngredientToProductVariantFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1315
|
+
/**
|
|
1316
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1317
|
+
*/
|
|
1318
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1321
|
+
*/
|
|
1322
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* Choose, which related nodes to fetch as well
|
|
1325
|
+
*/
|
|
1326
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1327
|
+
/**
|
|
1328
|
+
* Filter, which IngredientToProductVariants to fetch.
|
|
1329
|
+
*/
|
|
1330
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
1331
|
+
/**
|
|
1332
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1333
|
+
*
|
|
1334
|
+
* Determine the order of IngredientToProductVariants to fetch.
|
|
1335
|
+
*/
|
|
1336
|
+
orderBy?: Prisma.IngredientToProductVariantOrderByWithRelationInput | Prisma.IngredientToProductVariantOrderByWithRelationInput[];
|
|
1337
|
+
/**
|
|
1338
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1339
|
+
*
|
|
1340
|
+
* Sets the position for listing IngredientToProductVariants.
|
|
1341
|
+
*/
|
|
1342
|
+
cursor?: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1343
|
+
/**
|
|
1344
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1345
|
+
*
|
|
1346
|
+
* Take `±n` IngredientToProductVariants from the position of the cursor.
|
|
1347
|
+
*/
|
|
1348
|
+
take?: number;
|
|
1349
|
+
/**
|
|
1350
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1351
|
+
*
|
|
1352
|
+
* Skip the first `n` IngredientToProductVariants.
|
|
1353
|
+
*/
|
|
1354
|
+
skip?: number;
|
|
1355
|
+
distinct?: Prisma.IngredientToProductVariantScalarFieldEnum | Prisma.IngredientToProductVariantScalarFieldEnum[];
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* IngredientToProductVariant create
|
|
1359
|
+
*/
|
|
1360
|
+
export type IngredientToProductVariantCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1361
|
+
/**
|
|
1362
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1363
|
+
*/
|
|
1364
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1367
|
+
*/
|
|
1368
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* Choose, which related nodes to fetch as well
|
|
1371
|
+
*/
|
|
1372
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1373
|
+
/**
|
|
1374
|
+
* The data needed to create a IngredientToProductVariant.
|
|
1375
|
+
*/
|
|
1376
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantCreateInput, Prisma.IngredientToProductVariantUncheckedCreateInput>;
|
|
1377
|
+
};
|
|
1378
|
+
/**
|
|
1379
|
+
* IngredientToProductVariant createMany
|
|
1380
|
+
*/
|
|
1381
|
+
export type IngredientToProductVariantCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1382
|
+
/**
|
|
1383
|
+
* The data used to create many IngredientToProductVariants.
|
|
1384
|
+
*/
|
|
1385
|
+
data: Prisma.IngredientToProductVariantCreateManyInput | Prisma.IngredientToProductVariantCreateManyInput[];
|
|
1386
|
+
skipDuplicates?: boolean;
|
|
1387
|
+
};
|
|
1388
|
+
/**
|
|
1389
|
+
* IngredientToProductVariant createManyAndReturn
|
|
1390
|
+
*/
|
|
1391
|
+
export type IngredientToProductVariantCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1392
|
+
/**
|
|
1393
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1394
|
+
*/
|
|
1395
|
+
select?: Prisma.IngredientToProductVariantSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1398
|
+
*/
|
|
1399
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* The data used to create many IngredientToProductVariants.
|
|
1402
|
+
*/
|
|
1403
|
+
data: Prisma.IngredientToProductVariantCreateManyInput | Prisma.IngredientToProductVariantCreateManyInput[];
|
|
1404
|
+
skipDuplicates?: boolean;
|
|
1405
|
+
/**
|
|
1406
|
+
* Choose, which related nodes to fetch as well
|
|
1407
|
+
*/
|
|
1408
|
+
include?: Prisma.IngredientToProductVariantIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1409
|
+
};
|
|
1410
|
+
/**
|
|
1411
|
+
* IngredientToProductVariant update
|
|
1412
|
+
*/
|
|
1413
|
+
export type IngredientToProductVariantUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1414
|
+
/**
|
|
1415
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1416
|
+
*/
|
|
1417
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1420
|
+
*/
|
|
1421
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1422
|
+
/**
|
|
1423
|
+
* Choose, which related nodes to fetch as well
|
|
1424
|
+
*/
|
|
1425
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* The data needed to update a IngredientToProductVariant.
|
|
1428
|
+
*/
|
|
1429
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateInput, Prisma.IngredientToProductVariantUncheckedUpdateInput>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Choose, which IngredientToProductVariant to update.
|
|
1432
|
+
*/
|
|
1433
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* IngredientToProductVariant updateMany
|
|
1437
|
+
*/
|
|
1438
|
+
export type IngredientToProductVariantUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1439
|
+
/**
|
|
1440
|
+
* The data used to update IngredientToProductVariants.
|
|
1441
|
+
*/
|
|
1442
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateManyMutationInput, Prisma.IngredientToProductVariantUncheckedUpdateManyInput>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Filter which IngredientToProductVariants to update
|
|
1445
|
+
*/
|
|
1446
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
1447
|
+
/**
|
|
1448
|
+
* Limit how many IngredientToProductVariants to update.
|
|
1449
|
+
*/
|
|
1450
|
+
limit?: number;
|
|
1451
|
+
};
|
|
1452
|
+
/**
|
|
1453
|
+
* IngredientToProductVariant updateManyAndReturn
|
|
1454
|
+
*/
|
|
1455
|
+
export type IngredientToProductVariantUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1456
|
+
/**
|
|
1457
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1458
|
+
*/
|
|
1459
|
+
select?: Prisma.IngredientToProductVariantSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1460
|
+
/**
|
|
1461
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1462
|
+
*/
|
|
1463
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1464
|
+
/**
|
|
1465
|
+
* The data used to update IngredientToProductVariants.
|
|
1466
|
+
*/
|
|
1467
|
+
data: Prisma.XOR<Prisma.IngredientToProductVariantUpdateManyMutationInput, Prisma.IngredientToProductVariantUncheckedUpdateManyInput>;
|
|
1468
|
+
/**
|
|
1469
|
+
* Filter which IngredientToProductVariants to update
|
|
1470
|
+
*/
|
|
1471
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
1472
|
+
/**
|
|
1473
|
+
* Limit how many IngredientToProductVariants to update.
|
|
1474
|
+
*/
|
|
1475
|
+
limit?: number;
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.IngredientToProductVariantIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
* IngredientToProductVariant upsert
|
|
1483
|
+
*/
|
|
1484
|
+
export type IngredientToProductVariantUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1485
|
+
/**
|
|
1486
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1487
|
+
*/
|
|
1488
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1489
|
+
/**
|
|
1490
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1491
|
+
*/
|
|
1492
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1493
|
+
/**
|
|
1494
|
+
* Choose, which related nodes to fetch as well
|
|
1495
|
+
*/
|
|
1496
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1497
|
+
/**
|
|
1498
|
+
* The filter to search for the IngredientToProductVariant to update in case it exists.
|
|
1499
|
+
*/
|
|
1500
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1501
|
+
/**
|
|
1502
|
+
* In case the IngredientToProductVariant found by the `where` argument doesn't exist, create a new IngredientToProductVariant with this data.
|
|
1503
|
+
*/
|
|
1504
|
+
create: Prisma.XOR<Prisma.IngredientToProductVariantCreateInput, Prisma.IngredientToProductVariantUncheckedCreateInput>;
|
|
1505
|
+
/**
|
|
1506
|
+
* In case the IngredientToProductVariant was found with the provided `where` argument, update it with this data.
|
|
1507
|
+
*/
|
|
1508
|
+
update: Prisma.XOR<Prisma.IngredientToProductVariantUpdateInput, Prisma.IngredientToProductVariantUncheckedUpdateInput>;
|
|
1509
|
+
};
|
|
1510
|
+
/**
|
|
1511
|
+
* IngredientToProductVariant delete
|
|
1512
|
+
*/
|
|
1513
|
+
export type IngredientToProductVariantDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1514
|
+
/**
|
|
1515
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1516
|
+
*/
|
|
1517
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1518
|
+
/**
|
|
1519
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1520
|
+
*/
|
|
1521
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1522
|
+
/**
|
|
1523
|
+
* Choose, which related nodes to fetch as well
|
|
1524
|
+
*/
|
|
1525
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1526
|
+
/**
|
|
1527
|
+
* Filter which IngredientToProductVariant to delete.
|
|
1528
|
+
*/
|
|
1529
|
+
where: Prisma.IngredientToProductVariantWhereUniqueInput;
|
|
1530
|
+
};
|
|
1531
|
+
/**
|
|
1532
|
+
* IngredientToProductVariant deleteMany
|
|
1533
|
+
*/
|
|
1534
|
+
export type IngredientToProductVariantDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1535
|
+
/**
|
|
1536
|
+
* Filter which IngredientToProductVariants to delete
|
|
1537
|
+
*/
|
|
1538
|
+
where?: Prisma.IngredientToProductVariantWhereInput;
|
|
1539
|
+
/**
|
|
1540
|
+
* Limit how many IngredientToProductVariants to delete.
|
|
1541
|
+
*/
|
|
1542
|
+
limit?: number;
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* IngredientToProductVariant without action
|
|
1546
|
+
*/
|
|
1547
|
+
export type IngredientToProductVariantDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1548
|
+
/**
|
|
1549
|
+
* Select specific fields to fetch from the IngredientToProductVariant
|
|
1550
|
+
*/
|
|
1551
|
+
select?: Prisma.IngredientToProductVariantSelect<ExtArgs> | null;
|
|
1552
|
+
/**
|
|
1553
|
+
* Omit specific fields from the IngredientToProductVariant
|
|
1554
|
+
*/
|
|
1555
|
+
omit?: Prisma.IngredientToProductVariantOmit<ExtArgs> | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* Choose, which related nodes to fetch as well
|
|
1558
|
+
*/
|
|
1559
|
+
include?: Prisma.IngredientToProductVariantInclude<ExtArgs> | null;
|
|
1560
|
+
};
|
|
1561
|
+
export {};
|