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