@commercejs/platform 0.1.0
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/README.md +156 -0
- package/dist/__tests__/platform.drizzle.test.d.ts +2 -0
- package/dist/__tests__/platform.drizzle.test.d.ts.map +1 -0
- package/dist/__tests__/platform.drizzle.test.js +27 -0
- package/dist/__tests__/platform.drizzle.test.js.map +1 -0
- package/dist/__tests__/platform.prisma.test.d.ts +2 -0
- package/dist/__tests__/platform.prisma.test.d.ts.map +1 -0
- package/dist/__tests__/platform.prisma.test.js +27 -0
- package/dist/__tests__/platform.prisma.test.js.map +1 -0
- package/dist/__tests__/platform.suite.d.ts +8 -0
- package/dist/__tests__/platform.suite.d.ts.map +1 -0
- package/dist/__tests__/platform.suite.js +406 -0
- package/dist/__tests__/platform.suite.js.map +1 -0
- package/dist/adapter.d.ts +20 -0
- package/dist/adapter.d.ts.map +1 -0
- package/dist/adapter.js +122 -0
- package/dist/adapter.js.map +1 -0
- package/dist/database/drizzle/client.d.ts +13 -0
- package/dist/database/drizzle/client.d.ts.map +1 -0
- package/dist/database/drizzle/client.js +29 -0
- package/dist/database/drizzle/client.js.map +1 -0
- package/dist/database/drizzle/index.d.ts +5 -0
- package/dist/database/drizzle/index.d.ts.map +1 -0
- package/dist/database/drizzle/index.js +7 -0
- package/dist/database/drizzle/index.js.map +1 -0
- package/dist/database/drizzle/migrate.d.ts +9 -0
- package/dist/database/drizzle/migrate.d.ts.map +1 -0
- package/dist/database/drizzle/migrate.js +317 -0
- package/dist/database/drizzle/migrate.js.map +1 -0
- package/dist/database/drizzle/queries/brands.d.ts +26 -0
- package/dist/database/drizzle/queries/brands.d.ts.map +1 -0
- package/dist/database/drizzle/queries/brands.js +19 -0
- package/dist/database/drizzle/queries/brands.js.map +1 -0
- package/dist/database/drizzle/queries/cart.d.ts +61 -0
- package/dist/database/drizzle/queries/cart.d.ts.map +1 -0
- package/dist/database/drizzle/queries/cart.js +57 -0
- package/dist/database/drizzle/queries/cart.js.map +1 -0
- package/dist/database/drizzle/queries/catalog.d.ts +149 -0
- package/dist/database/drizzle/queries/catalog.d.ts.map +1 -0
- package/dist/database/drizzle/queries/catalog.js +88 -0
- package/dist/database/drizzle/queries/catalog.js.map +1 -0
- package/dist/database/drizzle/queries/countries.d.ts +22 -0
- package/dist/database/drizzle/queries/countries.d.ts.map +1 -0
- package/dist/database/drizzle/queries/countries.js +19 -0
- package/dist/database/drizzle/queries/countries.js.map +1 -0
- package/dist/database/drizzle/queries/customers.d.ts +87 -0
- package/dist/database/drizzle/queries/customers.d.ts.map +1 -0
- package/dist/database/drizzle/queries/customers.js +41 -0
- package/dist/database/drizzle/queries/customers.js.map +1 -0
- package/dist/database/drizzle/queries/index.d.ts +12 -0
- package/dist/database/drizzle/queries/index.d.ts.map +1 -0
- package/dist/database/drizzle/queries/index.js +28 -0
- package/dist/database/drizzle/queries/index.js.map +1 -0
- package/dist/database/drizzle/queries/orders.d.ts +74 -0
- package/dist/database/drizzle/queries/orders.d.ts.map +1 -0
- package/dist/database/drizzle/queries/orders.js +39 -0
- package/dist/database/drizzle/queries/orders.js.map +1 -0
- package/dist/database/drizzle/queries/promotions.d.ts +61 -0
- package/dist/database/drizzle/queries/promotions.d.ts.map +1 -0
- package/dist/database/drizzle/queries/promotions.js +39 -0
- package/dist/database/drizzle/queries/promotions.js.map +1 -0
- package/dist/database/drizzle/queries/returns.d.ts +62 -0
- package/dist/database/drizzle/queries/returns.d.ts.map +1 -0
- package/dist/database/drizzle/queries/returns.js +58 -0
- package/dist/database/drizzle/queries/returns.js.map +1 -0
- package/dist/database/drizzle/queries/reviews.d.ts +25 -0
- package/dist/database/drizzle/queries/reviews.d.ts.map +1 -0
- package/dist/database/drizzle/queries/reviews.js +57 -0
- package/dist/database/drizzle/queries/reviews.js.map +1 -0
- package/dist/database/drizzle/queries/store.d.ts +22 -0
- package/dist/database/drizzle/queries/store.d.ts.map +1 -0
- package/dist/database/drizzle/queries/store.js +14 -0
- package/dist/database/drizzle/queries/store.js.map +1 -0
- package/dist/database/drizzle/queries/wishlists.d.ts +31 -0
- package/dist/database/drizzle/queries/wishlists.d.ts.map +1 -0
- package/dist/database/drizzle/queries/wishlists.js +44 -0
- package/dist/database/drizzle/queries/wishlists.js.map +1 -0
- package/dist/database/drizzle/schema/brands.d.ts +196 -0
- package/dist/database/drizzle/schema/brands.d.ts.map +1 -0
- package/dist/database/drizzle/schema/brands.js +17 -0
- package/dist/database/drizzle/schema/brands.js.map +1 -0
- package/dist/database/drizzle/schema/carts.d.ts +294 -0
- package/dist/database/drizzle/schema/carts.d.ts.map +1 -0
- package/dist/database/drizzle/schema/carts.js +28 -0
- package/dist/database/drizzle/schema/carts.js.map +1 -0
- package/dist/database/drizzle/schema/categories.d.ts +215 -0
- package/dist/database/drizzle/schema/categories.d.ts.map +1 -0
- package/dist/database/drizzle/schema/categories.js +18 -0
- package/dist/database/drizzle/schema/categories.js.map +1 -0
- package/dist/database/drizzle/schema/countries.d.ts +158 -0
- package/dist/database/drizzle/schema/countries.d.ts.map +1 -0
- package/dist/database/drizzle/schema/countries.js +15 -0
- package/dist/database/drizzle/schema/countries.js.map +1 -0
- package/dist/database/drizzle/schema/customers.d.ts +469 -0
- package/dist/database/drizzle/schema/customers.d.ts.map +1 -0
- package/dist/database/drizzle/schema/customers.js +33 -0
- package/dist/database/drizzle/schema/customers.js.map +1 -0
- package/dist/database/drizzle/schema/index.d.ts +13 -0
- package/dist/database/drizzle/schema/index.d.ts.map +1 -0
- package/dist/database/drizzle/schema/index.js +16 -0
- package/dist/database/drizzle/schema/index.js.map +1 -0
- package/dist/database/drizzle/schema/orders.d.ts +722 -0
- package/dist/database/drizzle/schema/orders.d.ts.map +1 -0
- package/dist/database/drizzle/schema/orders.js +63 -0
- package/dist/database/drizzle/schema/orders.js.map +1 -0
- package/dist/database/drizzle/schema/products.d.ts +1180 -0
- package/dist/database/drizzle/schema/products.d.ts.map +1 -0
- package/dist/database/drizzle/schema/products.js +99 -0
- package/dist/database/drizzle/schema/products.js.map +1 -0
- package/dist/database/drizzle/schema/promotions.d.ts +474 -0
- package/dist/database/drizzle/schema/promotions.d.ts.map +1 -0
- package/dist/database/drizzle/schema/promotions.js +34 -0
- package/dist/database/drizzle/schema/promotions.js.map +1 -0
- package/dist/database/drizzle/schema/returns.d.ts +467 -0
- package/dist/database/drizzle/schema/returns.d.ts.map +1 -0
- package/dist/database/drizzle/schema/returns.js +34 -0
- package/dist/database/drizzle/schema/returns.js.map +1 -0
- package/dist/database/drizzle/schema/reviews.d.ts +175 -0
- package/dist/database/drizzle/schema/reviews.d.ts.map +1 -0
- package/dist/database/drizzle/schema/reviews.js +17 -0
- package/dist/database/drizzle/schema/reviews.js.map +1 -0
- package/dist/database/drizzle/schema/store.d.ts +350 -0
- package/dist/database/drizzle/schema/store.d.ts.map +1 -0
- package/dist/database/drizzle/schema/store.js +25 -0
- package/dist/database/drizzle/schema/store.js.map +1 -0
- package/dist/database/drizzle/schema/wishlists.d.ts +167 -0
- package/dist/database/drizzle/schema/wishlists.d.ts.map +1 -0
- package/dist/database/drizzle/schema/wishlists.js +19 -0
- package/dist/database/drizzle/schema/wishlists.js.map +1 -0
- package/dist/database/drizzle/seed.d.ts +6 -0
- package/dist/database/drizzle/seed.d.ts.map +1 -0
- package/dist/database/drizzle/seed.js +166 -0
- package/dist/database/drizzle/seed.js.map +1 -0
- package/dist/database/index.d.ts +8 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +12 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/prisma/client.d.ts +13 -0
- package/dist/database/prisma/client.d.ts.map +1 -0
- package/dist/database/prisma/client.js +25 -0
- package/dist/database/prisma/client.js.map +1 -0
- package/dist/database/prisma/generated/browser.d.ts +135 -0
- package/dist/database/prisma/generated/browser.d.ts.map +1 -0
- package/dist/database/prisma/generated/browser.js +18 -0
- package/dist/database/prisma/generated/browser.js.map +1 -0
- package/dist/database/prisma/generated/client.d.ts +152 -0
- package/dist/database/prisma/generated/client.d.ts.map +1 -0
- package/dist/database/prisma/generated/client.js +33 -0
- package/dist/database/prisma/generated/client.js.map +1 -0
- package/dist/database/prisma/generated/commonInputTypes.d.ts +344 -0
- package/dist/database/prisma/generated/commonInputTypes.d.ts.map +1 -0
- package/dist/database/prisma/generated/commonInputTypes.js +11 -0
- package/dist/database/prisma/generated/commonInputTypes.js.map +1 -0
- package/dist/database/prisma/generated/enums.d.ts +2 -0
- package/dist/database/prisma/generated/enums.d.ts.map +1 -0
- package/dist/database/prisma/generated/enums.js +11 -0
- package/dist/database/prisma/generated/enums.js.map +1 -0
- package/dist/database/prisma/generated/internal/class.d.ts +402 -0
- package/dist/database/prisma/generated/internal/class.d.ts.map +1 -0
- package/dist/database/prisma/generated/internal/class.js +42 -0
- package/dist/database/prisma/generated/internal/class.js.map +1 -0
- package/dist/database/prisma/generated/internal/prismaNamespace.d.ts +2735 -0
- package/dist/database/prisma/generated/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/database/prisma/generated/internal/prismaNamespace.js +415 -0
- package/dist/database/prisma/generated/internal/prismaNamespace.js.map +1 -0
- package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.d.ts +400 -0
- package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.js +386 -0
- package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/database/prisma/generated/models/Brand.d.ts +1141 -0
- package/dist/database/prisma/generated/models/Brand.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Brand.js +2 -0
- package/dist/database/prisma/generated/models/Brand.js.map +1 -0
- package/dist/database/prisma/generated/models/Cart.d.ts +1464 -0
- package/dist/database/prisma/generated/models/Cart.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Cart.js +2 -0
- package/dist/database/prisma/generated/models/Cart.js.map +1 -0
- package/dist/database/prisma/generated/models/CartItem.d.ts +1487 -0
- package/dist/database/prisma/generated/models/CartItem.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/CartItem.js +2 -0
- package/dist/database/prisma/generated/models/CartItem.js.map +1 -0
- package/dist/database/prisma/generated/models/Category.d.ts +1717 -0
- package/dist/database/prisma/generated/models/Category.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Category.js +2 -0
- package/dist/database/prisma/generated/models/Category.js.map +1 -0
- package/dist/database/prisma/generated/models/Country.d.ts +1076 -0
- package/dist/database/prisma/generated/models/Country.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Country.js +2 -0
- package/dist/database/prisma/generated/models/Country.js.map +1 -0
- package/dist/database/prisma/generated/models/Coupon.d.ts +1242 -0
- package/dist/database/prisma/generated/models/Coupon.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Coupon.js +2 -0
- package/dist/database/prisma/generated/models/Coupon.js.map +1 -0
- package/dist/database/prisma/generated/models/Customer.d.ts +1536 -0
- package/dist/database/prisma/generated/models/Customer.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Customer.js +2 -0
- package/dist/database/prisma/generated/models/Customer.js.map +1 -0
- package/dist/database/prisma/generated/models/CustomerAddress.d.ts +1519 -0
- package/dist/database/prisma/generated/models/CustomerAddress.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/CustomerAddress.js +2 -0
- package/dist/database/prisma/generated/models/CustomerAddress.js.map +1 -0
- package/dist/database/prisma/generated/models/Order.d.ts +2136 -0
- package/dist/database/prisma/generated/models/Order.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Order.js +2 -0
- package/dist/database/prisma/generated/models/Order.js.map +1 -0
- package/dist/database/prisma/generated/models/OrderHistory.d.ts +1204 -0
- package/dist/database/prisma/generated/models/OrderHistory.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/OrderHistory.js +2 -0
- package/dist/database/prisma/generated/models/OrderHistory.js.map +1 -0
- package/dist/database/prisma/generated/models/OrderItem.d.ts +1464 -0
- package/dist/database/prisma/generated/models/OrderItem.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/OrderItem.js +2 -0
- package/dist/database/prisma/generated/models/OrderItem.js.map +1 -0
- package/dist/database/prisma/generated/models/Product.d.ts +2969 -0
- package/dist/database/prisma/generated/models/Product.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Product.js +2 -0
- package/dist/database/prisma/generated/models/Product.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductAttribute.d.ts +1239 -0
- package/dist/database/prisma/generated/models/ProductAttribute.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductAttribute.js +2 -0
- package/dist/database/prisma/generated/models/ProductAttribute.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductCategory.d.ts +1154 -0
- package/dist/database/prisma/generated/models/ProductCategory.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductCategory.js +2 -0
- package/dist/database/prisma/generated/models/ProductCategory.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductImage.d.ts +1242 -0
- package/dist/database/prisma/generated/models/ProductImage.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductImage.js +2 -0
- package/dist/database/prisma/generated/models/ProductImage.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductOption.d.ts +1328 -0
- package/dist/database/prisma/generated/models/ProductOption.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductOption.js +2 -0
- package/dist/database/prisma/generated/models/ProductOption.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductOptionValue.d.ts +1207 -0
- package/dist/database/prisma/generated/models/ProductOptionValue.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductOptionValue.js +2 -0
- package/dist/database/prisma/generated/models/ProductOptionValue.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductTag.d.ts +1099 -0
- package/dist/database/prisma/generated/models/ProductTag.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductTag.js +2 -0
- package/dist/database/prisma/generated/models/ProductTag.js.map +1 -0
- package/dist/database/prisma/generated/models/ProductVariant.d.ts +1543 -0
- package/dist/database/prisma/generated/models/ProductVariant.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ProductVariant.js +2 -0
- package/dist/database/prisma/generated/models/ProductVariant.js.map +1 -0
- package/dist/database/prisma/generated/models/Promotion.d.ts +1658 -0
- package/dist/database/prisma/generated/models/Promotion.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Promotion.js +2 -0
- package/dist/database/prisma/generated/models/Promotion.js.map +1 -0
- package/dist/database/prisma/generated/models/Return.d.ts +1448 -0
- package/dist/database/prisma/generated/models/Return.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Return.js +2 -0
- package/dist/database/prisma/generated/models/Return.js.map +1 -0
- package/dist/database/prisma/generated/models/ReturnItem.d.ts +1417 -0
- package/dist/database/prisma/generated/models/ReturnItem.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/ReturnItem.js +2 -0
- package/dist/database/prisma/generated/models/ReturnItem.js.map +1 -0
- package/dist/database/prisma/generated/models/Review.d.ts +1142 -0
- package/dist/database/prisma/generated/models/Review.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Review.js +2 -0
- package/dist/database/prisma/generated/models/Review.js.map +1 -0
- package/dist/database/prisma/generated/models/StoreInfo.d.ts +1356 -0
- package/dist/database/prisma/generated/models/StoreInfo.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/StoreInfo.js +2 -0
- package/dist/database/prisma/generated/models/StoreInfo.js.map +1 -0
- package/dist/database/prisma/generated/models/Wishlist.d.ts +1090 -0
- package/dist/database/prisma/generated/models/Wishlist.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/Wishlist.js +2 -0
- package/dist/database/prisma/generated/models/Wishlist.js.map +1 -0
- package/dist/database/prisma/generated/models/WishlistItem.d.ts +1169 -0
- package/dist/database/prisma/generated/models/WishlistItem.d.ts.map +1 -0
- package/dist/database/prisma/generated/models/WishlistItem.js +2 -0
- package/dist/database/prisma/generated/models/WishlistItem.js.map +1 -0
- package/dist/database/prisma/generated/models.d.ts +28 -0
- package/dist/database/prisma/generated/models.d.ts.map +1 -0
- package/dist/database/prisma/generated/models.js +2 -0
- package/dist/database/prisma/generated/models.js.map +1 -0
- package/dist/database/prisma/index.d.ts +5 -0
- package/dist/database/prisma/index.d.ts.map +1 -0
- package/dist/database/prisma/index.js +7 -0
- package/dist/database/prisma/index.js.map +1 -0
- package/dist/database/prisma/migrate.d.ts +8 -0
- package/dist/database/prisma/migrate.d.ts.map +1 -0
- package/dist/database/prisma/migrate.js +323 -0
- package/dist/database/prisma/migrate.js.map +1 -0
- package/dist/database/prisma/queries/brands.d.ts +26 -0
- package/dist/database/prisma/queries/brands.d.ts.map +1 -0
- package/dist/database/prisma/queries/brands.js +17 -0
- package/dist/database/prisma/queries/brands.js.map +1 -0
- package/dist/database/prisma/queries/cart.d.ts +61 -0
- package/dist/database/prisma/queries/cart.d.ts.map +1 -0
- package/dist/database/prisma/queries/cart.js +68 -0
- package/dist/database/prisma/queries/cart.js.map +1 -0
- package/dist/database/prisma/queries/catalog.d.ts +149 -0
- package/dist/database/prisma/queries/catalog.d.ts.map +1 -0
- package/dist/database/prisma/queries/catalog.js +94 -0
- package/dist/database/prisma/queries/catalog.js.map +1 -0
- package/dist/database/prisma/queries/countries.d.ts +22 -0
- package/dist/database/prisma/queries/countries.d.ts.map +1 -0
- package/dist/database/prisma/queries/countries.js +17 -0
- package/dist/database/prisma/queries/countries.js.map +1 -0
- package/dist/database/prisma/queries/customers.d.ts +87 -0
- package/dist/database/prisma/queries/customers.d.ts.map +1 -0
- package/dist/database/prisma/queries/customers.js +32 -0
- package/dist/database/prisma/queries/customers.js.map +1 -0
- package/dist/database/prisma/queries/index.d.ts +12 -0
- package/dist/database/prisma/queries/index.d.ts.map +1 -0
- package/dist/database/prisma/queries/index.js +28 -0
- package/dist/database/prisma/queries/index.js.map +1 -0
- package/dist/database/prisma/queries/orders.d.ts +74 -0
- package/dist/database/prisma/queries/orders.d.ts.map +1 -0
- package/dist/database/prisma/queries/orders.js +49 -0
- package/dist/database/prisma/queries/orders.js.map +1 -0
- package/dist/database/prisma/queries/promotions.d.ts +81 -0
- package/dist/database/prisma/queries/promotions.d.ts.map +1 -0
- package/dist/database/prisma/queries/promotions.js +31 -0
- package/dist/database/prisma/queries/promotions.js.map +1 -0
- package/dist/database/prisma/queries/returns.d.ts +102 -0
- package/dist/database/prisma/queries/returns.d.ts.map +1 -0
- package/dist/database/prisma/queries/returns.js +50 -0
- package/dist/database/prisma/queries/returns.js.map +1 -0
- package/dist/database/prisma/queries/reviews.d.ts +25 -0
- package/dist/database/prisma/queries/reviews.d.ts.map +1 -0
- package/dist/database/prisma/queries/reviews.js +50 -0
- package/dist/database/prisma/queries/reviews.js.map +1 -0
- package/dist/database/prisma/queries/store.d.ts +22 -0
- package/dist/database/prisma/queries/store.d.ts.map +1 -0
- package/dist/database/prisma/queries/store.js +31 -0
- package/dist/database/prisma/queries/store.js.map +1 -0
- package/dist/database/prisma/queries/wishlists.d.ts +37 -0
- package/dist/database/prisma/queries/wishlists.d.ts.map +1 -0
- package/dist/database/prisma/queries/wishlists.js +37 -0
- package/dist/database/prisma/queries/wishlists.js.map +1 -0
- package/dist/database/prisma/seed.d.ts +5 -0
- package/dist/database/prisma/seed.d.ts.map +1 -0
- package/dist/database/prisma/seed.js +127 -0
- package/dist/database/prisma/seed.js.map +1 -0
- package/dist/domains/brands.d.ts +5 -0
- package/dist/domains/brands.d.ts.map +1 -0
- package/dist/domains/brands.js +21 -0
- package/dist/domains/brands.js.map +1 -0
- package/dist/domains/cart.d.ts +11 -0
- package/dist/domains/cart.d.ts.map +1 -0
- package/dist/domains/cart.js +110 -0
- package/dist/domains/cart.js.map +1 -0
- package/dist/domains/catalog.d.ts +7 -0
- package/dist/domains/catalog.d.ts.map +1 -0
- package/dist/domains/catalog.js +157 -0
- package/dist/domains/catalog.js.map +1 -0
- package/dist/domains/checkout.d.ts +11 -0
- package/dist/domains/checkout.d.ts.map +1 -0
- package/dist/domains/checkout.js +174 -0
- package/dist/domains/checkout.js.map +1 -0
- package/dist/domains/countries.d.ts +5 -0
- package/dist/domains/countries.d.ts.map +1 -0
- package/dist/domains/countries.js +21 -0
- package/dist/domains/countries.js.map +1 -0
- package/dist/domains/customers.d.ts +17 -0
- package/dist/domains/customers.d.ts.map +1 -0
- package/dist/domains/customers.js +179 -0
- package/dist/domains/customers.js.map +1 -0
- package/dist/domains/helpers.d.ts +14 -0
- package/dist/domains/helpers.d.ts.map +1 -0
- package/dist/domains/helpers.js +46 -0
- package/dist/domains/helpers.js.map +1 -0
- package/dist/domains/not-supported.d.ts +31 -0
- package/dist/domains/not-supported.d.ts.map +1 -0
- package/dist/domains/not-supported.js +43 -0
- package/dist/domains/not-supported.js.map +1 -0
- package/dist/domains/orders.d.ts +12 -0
- package/dist/domains/orders.d.ts.map +1 -0
- package/dist/domains/orders.js +184 -0
- package/dist/domains/orders.js.map +1 -0
- package/dist/domains/promotions.d.ts +6 -0
- package/dist/domains/promotions.d.ts.map +1 -0
- package/dist/domains/promotions.js +56 -0
- package/dist/domains/promotions.js.map +1 -0
- package/dist/domains/returns.d.ts +15 -0
- package/dist/domains/returns.d.ts.map +1 -0
- package/dist/domains/returns.js +83 -0
- package/dist/domains/returns.js.map +1 -0
- package/dist/domains/reviews.d.ts +16 -0
- package/dist/domains/reviews.d.ts.map +1 -0
- package/dist/domains/reviews.js +60 -0
- package/dist/domains/reviews.js.map +1 -0
- package/dist/domains/store.d.ts +5 -0
- package/dist/domains/store.d.ts.map +1 -0
- package/dist/domains/store.js +45 -0
- package/dist/domains/store.js.map +1 -0
- package/dist/domains/wishlist.d.ts +9 -0
- package/dist/domains/wishlist.d.ts.map +1 -0
- package/dist/domains/wishlist.js +76 -0
- package/dist/domains/wishlist.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/package.json +49 -0
|
@@ -0,0 +1,1099 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ProductTag
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ProductTagModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductTagPayload>;
|
|
8
|
+
export type AggregateProductTag = {
|
|
9
|
+
_count: ProductTagCountAggregateOutputType | null;
|
|
10
|
+
_min: ProductTagMinAggregateOutputType | null;
|
|
11
|
+
_max: ProductTagMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type ProductTagMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
productId: string | null;
|
|
16
|
+
tag: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type ProductTagMaxAggregateOutputType = {
|
|
19
|
+
id: string | null;
|
|
20
|
+
productId: string | null;
|
|
21
|
+
tag: string | null;
|
|
22
|
+
};
|
|
23
|
+
export type ProductTagCountAggregateOutputType = {
|
|
24
|
+
id: number;
|
|
25
|
+
productId: number;
|
|
26
|
+
tag: number;
|
|
27
|
+
_all: number;
|
|
28
|
+
};
|
|
29
|
+
export type ProductTagMinAggregateInputType = {
|
|
30
|
+
id?: true;
|
|
31
|
+
productId?: true;
|
|
32
|
+
tag?: true;
|
|
33
|
+
};
|
|
34
|
+
export type ProductTagMaxAggregateInputType = {
|
|
35
|
+
id?: true;
|
|
36
|
+
productId?: true;
|
|
37
|
+
tag?: true;
|
|
38
|
+
};
|
|
39
|
+
export type ProductTagCountAggregateInputType = {
|
|
40
|
+
id?: true;
|
|
41
|
+
productId?: true;
|
|
42
|
+
tag?: true;
|
|
43
|
+
_all?: true;
|
|
44
|
+
};
|
|
45
|
+
export type ProductTagAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
46
|
+
/**
|
|
47
|
+
* Filter which ProductTag to aggregate.
|
|
48
|
+
*/
|
|
49
|
+
where?: Prisma.ProductTagWhereInput;
|
|
50
|
+
/**
|
|
51
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
52
|
+
*
|
|
53
|
+
* Determine the order of ProductTags to fetch.
|
|
54
|
+
*/
|
|
55
|
+
orderBy?: Prisma.ProductTagOrderByWithRelationInput | Prisma.ProductTagOrderByWithRelationInput[];
|
|
56
|
+
/**
|
|
57
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
58
|
+
*
|
|
59
|
+
* Sets the start position
|
|
60
|
+
*/
|
|
61
|
+
cursor?: Prisma.ProductTagWhereUniqueInput;
|
|
62
|
+
/**
|
|
63
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
64
|
+
*
|
|
65
|
+
* Take `±n` ProductTags from the position of the cursor.
|
|
66
|
+
*/
|
|
67
|
+
take?: number;
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
70
|
+
*
|
|
71
|
+
* Skip the first `n` ProductTags.
|
|
72
|
+
*/
|
|
73
|
+
skip?: number;
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
76
|
+
*
|
|
77
|
+
* Count returned ProductTags
|
|
78
|
+
**/
|
|
79
|
+
_count?: true | ProductTagCountAggregateInputType;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
82
|
+
*
|
|
83
|
+
* Select which fields to find the minimum value
|
|
84
|
+
**/
|
|
85
|
+
_min?: ProductTagMinAggregateInputType;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
88
|
+
*
|
|
89
|
+
* Select which fields to find the maximum value
|
|
90
|
+
**/
|
|
91
|
+
_max?: ProductTagMaxAggregateInputType;
|
|
92
|
+
};
|
|
93
|
+
export type GetProductTagAggregateType<T extends ProductTagAggregateArgs> = {
|
|
94
|
+
[P in keyof T & keyof AggregateProductTag]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductTag[P]> : Prisma.GetScalarType<T[P], AggregateProductTag[P]>;
|
|
95
|
+
};
|
|
96
|
+
export type ProductTagGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
97
|
+
where?: Prisma.ProductTagWhereInput;
|
|
98
|
+
orderBy?: Prisma.ProductTagOrderByWithAggregationInput | Prisma.ProductTagOrderByWithAggregationInput[];
|
|
99
|
+
by: Prisma.ProductTagScalarFieldEnum[] | Prisma.ProductTagScalarFieldEnum;
|
|
100
|
+
having?: Prisma.ProductTagScalarWhereWithAggregatesInput;
|
|
101
|
+
take?: number;
|
|
102
|
+
skip?: number;
|
|
103
|
+
_count?: ProductTagCountAggregateInputType | true;
|
|
104
|
+
_min?: ProductTagMinAggregateInputType;
|
|
105
|
+
_max?: ProductTagMaxAggregateInputType;
|
|
106
|
+
};
|
|
107
|
+
export type ProductTagGroupByOutputType = {
|
|
108
|
+
id: string;
|
|
109
|
+
productId: string;
|
|
110
|
+
tag: string;
|
|
111
|
+
_count: ProductTagCountAggregateOutputType | null;
|
|
112
|
+
_min: ProductTagMinAggregateOutputType | null;
|
|
113
|
+
_max: ProductTagMaxAggregateOutputType | null;
|
|
114
|
+
};
|
|
115
|
+
type GetProductTagGroupByPayload<T extends ProductTagGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductTagGroupByOutputType, T['by']> & {
|
|
116
|
+
[P in ((keyof T) & (keyof ProductTagGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductTagGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductTagGroupByOutputType[P]>;
|
|
117
|
+
}>>;
|
|
118
|
+
export type ProductTagWhereInput = {
|
|
119
|
+
AND?: Prisma.ProductTagWhereInput | Prisma.ProductTagWhereInput[];
|
|
120
|
+
OR?: Prisma.ProductTagWhereInput[];
|
|
121
|
+
NOT?: Prisma.ProductTagWhereInput | Prisma.ProductTagWhereInput[];
|
|
122
|
+
id?: Prisma.StringFilter<"ProductTag"> | string;
|
|
123
|
+
productId?: Prisma.StringFilter<"ProductTag"> | string;
|
|
124
|
+
tag?: Prisma.StringFilter<"ProductTag"> | string;
|
|
125
|
+
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
|
|
126
|
+
};
|
|
127
|
+
export type ProductTagOrderByWithRelationInput = {
|
|
128
|
+
id?: Prisma.SortOrder;
|
|
129
|
+
productId?: Prisma.SortOrder;
|
|
130
|
+
tag?: Prisma.SortOrder;
|
|
131
|
+
product?: Prisma.ProductOrderByWithRelationInput;
|
|
132
|
+
};
|
|
133
|
+
export type ProductTagWhereUniqueInput = Prisma.AtLeast<{
|
|
134
|
+
id?: string;
|
|
135
|
+
AND?: Prisma.ProductTagWhereInput | Prisma.ProductTagWhereInput[];
|
|
136
|
+
OR?: Prisma.ProductTagWhereInput[];
|
|
137
|
+
NOT?: Prisma.ProductTagWhereInput | Prisma.ProductTagWhereInput[];
|
|
138
|
+
productId?: Prisma.StringFilter<"ProductTag"> | string;
|
|
139
|
+
tag?: Prisma.StringFilter<"ProductTag"> | string;
|
|
140
|
+
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
|
|
141
|
+
}, "id">;
|
|
142
|
+
export type ProductTagOrderByWithAggregationInput = {
|
|
143
|
+
id?: Prisma.SortOrder;
|
|
144
|
+
productId?: Prisma.SortOrder;
|
|
145
|
+
tag?: Prisma.SortOrder;
|
|
146
|
+
_count?: Prisma.ProductTagCountOrderByAggregateInput;
|
|
147
|
+
_max?: Prisma.ProductTagMaxOrderByAggregateInput;
|
|
148
|
+
_min?: Prisma.ProductTagMinOrderByAggregateInput;
|
|
149
|
+
};
|
|
150
|
+
export type ProductTagScalarWhereWithAggregatesInput = {
|
|
151
|
+
AND?: Prisma.ProductTagScalarWhereWithAggregatesInput | Prisma.ProductTagScalarWhereWithAggregatesInput[];
|
|
152
|
+
OR?: Prisma.ProductTagScalarWhereWithAggregatesInput[];
|
|
153
|
+
NOT?: Prisma.ProductTagScalarWhereWithAggregatesInput | Prisma.ProductTagScalarWhereWithAggregatesInput[];
|
|
154
|
+
id?: Prisma.StringWithAggregatesFilter<"ProductTag"> | string;
|
|
155
|
+
productId?: Prisma.StringWithAggregatesFilter<"ProductTag"> | string;
|
|
156
|
+
tag?: Prisma.StringWithAggregatesFilter<"ProductTag"> | string;
|
|
157
|
+
};
|
|
158
|
+
export type ProductTagCreateInput = {
|
|
159
|
+
id?: string;
|
|
160
|
+
tag: string;
|
|
161
|
+
product: Prisma.ProductCreateNestedOneWithoutTagsInput;
|
|
162
|
+
};
|
|
163
|
+
export type ProductTagUncheckedCreateInput = {
|
|
164
|
+
id?: string;
|
|
165
|
+
productId: string;
|
|
166
|
+
tag: string;
|
|
167
|
+
};
|
|
168
|
+
export type ProductTagUpdateInput = {
|
|
169
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
170
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
171
|
+
product?: Prisma.ProductUpdateOneRequiredWithoutTagsNestedInput;
|
|
172
|
+
};
|
|
173
|
+
export type ProductTagUncheckedUpdateInput = {
|
|
174
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
175
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
176
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
177
|
+
};
|
|
178
|
+
export type ProductTagCreateManyInput = {
|
|
179
|
+
id?: string;
|
|
180
|
+
productId: string;
|
|
181
|
+
tag: string;
|
|
182
|
+
};
|
|
183
|
+
export type ProductTagUpdateManyMutationInput = {
|
|
184
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
185
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
186
|
+
};
|
|
187
|
+
export type ProductTagUncheckedUpdateManyInput = {
|
|
188
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
189
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
190
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
191
|
+
};
|
|
192
|
+
export type ProductTagListRelationFilter = {
|
|
193
|
+
every?: Prisma.ProductTagWhereInput;
|
|
194
|
+
some?: Prisma.ProductTagWhereInput;
|
|
195
|
+
none?: Prisma.ProductTagWhereInput;
|
|
196
|
+
};
|
|
197
|
+
export type ProductTagOrderByRelationAggregateInput = {
|
|
198
|
+
_count?: Prisma.SortOrder;
|
|
199
|
+
};
|
|
200
|
+
export type ProductTagCountOrderByAggregateInput = {
|
|
201
|
+
id?: Prisma.SortOrder;
|
|
202
|
+
productId?: Prisma.SortOrder;
|
|
203
|
+
tag?: Prisma.SortOrder;
|
|
204
|
+
};
|
|
205
|
+
export type ProductTagMaxOrderByAggregateInput = {
|
|
206
|
+
id?: Prisma.SortOrder;
|
|
207
|
+
productId?: Prisma.SortOrder;
|
|
208
|
+
tag?: Prisma.SortOrder;
|
|
209
|
+
};
|
|
210
|
+
export type ProductTagMinOrderByAggregateInput = {
|
|
211
|
+
id?: Prisma.SortOrder;
|
|
212
|
+
productId?: Prisma.SortOrder;
|
|
213
|
+
tag?: Prisma.SortOrder;
|
|
214
|
+
};
|
|
215
|
+
export type ProductTagCreateNestedManyWithoutProductInput = {
|
|
216
|
+
create?: Prisma.XOR<Prisma.ProductTagCreateWithoutProductInput, Prisma.ProductTagUncheckedCreateWithoutProductInput> | Prisma.ProductTagCreateWithoutProductInput[] | Prisma.ProductTagUncheckedCreateWithoutProductInput[];
|
|
217
|
+
connectOrCreate?: Prisma.ProductTagCreateOrConnectWithoutProductInput | Prisma.ProductTagCreateOrConnectWithoutProductInput[];
|
|
218
|
+
createMany?: Prisma.ProductTagCreateManyProductInputEnvelope;
|
|
219
|
+
connect?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
220
|
+
};
|
|
221
|
+
export type ProductTagUncheckedCreateNestedManyWithoutProductInput = {
|
|
222
|
+
create?: Prisma.XOR<Prisma.ProductTagCreateWithoutProductInput, Prisma.ProductTagUncheckedCreateWithoutProductInput> | Prisma.ProductTagCreateWithoutProductInput[] | Prisma.ProductTagUncheckedCreateWithoutProductInput[];
|
|
223
|
+
connectOrCreate?: Prisma.ProductTagCreateOrConnectWithoutProductInput | Prisma.ProductTagCreateOrConnectWithoutProductInput[];
|
|
224
|
+
createMany?: Prisma.ProductTagCreateManyProductInputEnvelope;
|
|
225
|
+
connect?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
226
|
+
};
|
|
227
|
+
export type ProductTagUpdateManyWithoutProductNestedInput = {
|
|
228
|
+
create?: Prisma.XOR<Prisma.ProductTagCreateWithoutProductInput, Prisma.ProductTagUncheckedCreateWithoutProductInput> | Prisma.ProductTagCreateWithoutProductInput[] | Prisma.ProductTagUncheckedCreateWithoutProductInput[];
|
|
229
|
+
connectOrCreate?: Prisma.ProductTagCreateOrConnectWithoutProductInput | Prisma.ProductTagCreateOrConnectWithoutProductInput[];
|
|
230
|
+
upsert?: Prisma.ProductTagUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductTagUpsertWithWhereUniqueWithoutProductInput[];
|
|
231
|
+
createMany?: Prisma.ProductTagCreateManyProductInputEnvelope;
|
|
232
|
+
set?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
233
|
+
disconnect?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
234
|
+
delete?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
235
|
+
connect?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
236
|
+
update?: Prisma.ProductTagUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductTagUpdateWithWhereUniqueWithoutProductInput[];
|
|
237
|
+
updateMany?: Prisma.ProductTagUpdateManyWithWhereWithoutProductInput | Prisma.ProductTagUpdateManyWithWhereWithoutProductInput[];
|
|
238
|
+
deleteMany?: Prisma.ProductTagScalarWhereInput | Prisma.ProductTagScalarWhereInput[];
|
|
239
|
+
};
|
|
240
|
+
export type ProductTagUncheckedUpdateManyWithoutProductNestedInput = {
|
|
241
|
+
create?: Prisma.XOR<Prisma.ProductTagCreateWithoutProductInput, Prisma.ProductTagUncheckedCreateWithoutProductInput> | Prisma.ProductTagCreateWithoutProductInput[] | Prisma.ProductTagUncheckedCreateWithoutProductInput[];
|
|
242
|
+
connectOrCreate?: Prisma.ProductTagCreateOrConnectWithoutProductInput | Prisma.ProductTagCreateOrConnectWithoutProductInput[];
|
|
243
|
+
upsert?: Prisma.ProductTagUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductTagUpsertWithWhereUniqueWithoutProductInput[];
|
|
244
|
+
createMany?: Prisma.ProductTagCreateManyProductInputEnvelope;
|
|
245
|
+
set?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
246
|
+
disconnect?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
247
|
+
delete?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
248
|
+
connect?: Prisma.ProductTagWhereUniqueInput | Prisma.ProductTagWhereUniqueInput[];
|
|
249
|
+
update?: Prisma.ProductTagUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductTagUpdateWithWhereUniqueWithoutProductInput[];
|
|
250
|
+
updateMany?: Prisma.ProductTagUpdateManyWithWhereWithoutProductInput | Prisma.ProductTagUpdateManyWithWhereWithoutProductInput[];
|
|
251
|
+
deleteMany?: Prisma.ProductTagScalarWhereInput | Prisma.ProductTagScalarWhereInput[];
|
|
252
|
+
};
|
|
253
|
+
export type ProductTagCreateWithoutProductInput = {
|
|
254
|
+
id?: string;
|
|
255
|
+
tag: string;
|
|
256
|
+
};
|
|
257
|
+
export type ProductTagUncheckedCreateWithoutProductInput = {
|
|
258
|
+
id?: string;
|
|
259
|
+
tag: string;
|
|
260
|
+
};
|
|
261
|
+
export type ProductTagCreateOrConnectWithoutProductInput = {
|
|
262
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
263
|
+
create: Prisma.XOR<Prisma.ProductTagCreateWithoutProductInput, Prisma.ProductTagUncheckedCreateWithoutProductInput>;
|
|
264
|
+
};
|
|
265
|
+
export type ProductTagCreateManyProductInputEnvelope = {
|
|
266
|
+
data: Prisma.ProductTagCreateManyProductInput | Prisma.ProductTagCreateManyProductInput[];
|
|
267
|
+
};
|
|
268
|
+
export type ProductTagUpsertWithWhereUniqueWithoutProductInput = {
|
|
269
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
270
|
+
update: Prisma.XOR<Prisma.ProductTagUpdateWithoutProductInput, Prisma.ProductTagUncheckedUpdateWithoutProductInput>;
|
|
271
|
+
create: Prisma.XOR<Prisma.ProductTagCreateWithoutProductInput, Prisma.ProductTagUncheckedCreateWithoutProductInput>;
|
|
272
|
+
};
|
|
273
|
+
export type ProductTagUpdateWithWhereUniqueWithoutProductInput = {
|
|
274
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
275
|
+
data: Prisma.XOR<Prisma.ProductTagUpdateWithoutProductInput, Prisma.ProductTagUncheckedUpdateWithoutProductInput>;
|
|
276
|
+
};
|
|
277
|
+
export type ProductTagUpdateManyWithWhereWithoutProductInput = {
|
|
278
|
+
where: Prisma.ProductTagScalarWhereInput;
|
|
279
|
+
data: Prisma.XOR<Prisma.ProductTagUpdateManyMutationInput, Prisma.ProductTagUncheckedUpdateManyWithoutProductInput>;
|
|
280
|
+
};
|
|
281
|
+
export type ProductTagScalarWhereInput = {
|
|
282
|
+
AND?: Prisma.ProductTagScalarWhereInput | Prisma.ProductTagScalarWhereInput[];
|
|
283
|
+
OR?: Prisma.ProductTagScalarWhereInput[];
|
|
284
|
+
NOT?: Prisma.ProductTagScalarWhereInput | Prisma.ProductTagScalarWhereInput[];
|
|
285
|
+
id?: Prisma.StringFilter<"ProductTag"> | string;
|
|
286
|
+
productId?: Prisma.StringFilter<"ProductTag"> | string;
|
|
287
|
+
tag?: Prisma.StringFilter<"ProductTag"> | string;
|
|
288
|
+
};
|
|
289
|
+
export type ProductTagCreateManyProductInput = {
|
|
290
|
+
id?: string;
|
|
291
|
+
tag: string;
|
|
292
|
+
};
|
|
293
|
+
export type ProductTagUpdateWithoutProductInput = {
|
|
294
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
295
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
|
+
};
|
|
297
|
+
export type ProductTagUncheckedUpdateWithoutProductInput = {
|
|
298
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
299
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
|
+
};
|
|
301
|
+
export type ProductTagUncheckedUpdateManyWithoutProductInput = {
|
|
302
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
303
|
+
tag?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
};
|
|
305
|
+
export type ProductTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
306
|
+
id?: boolean;
|
|
307
|
+
productId?: boolean;
|
|
308
|
+
tag?: boolean;
|
|
309
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
310
|
+
}, ExtArgs["result"]["productTag"]>;
|
|
311
|
+
export type ProductTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
312
|
+
id?: boolean;
|
|
313
|
+
productId?: boolean;
|
|
314
|
+
tag?: boolean;
|
|
315
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
316
|
+
}, ExtArgs["result"]["productTag"]>;
|
|
317
|
+
export type ProductTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
318
|
+
id?: boolean;
|
|
319
|
+
productId?: boolean;
|
|
320
|
+
tag?: boolean;
|
|
321
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
322
|
+
}, ExtArgs["result"]["productTag"]>;
|
|
323
|
+
export type ProductTagSelectScalar = {
|
|
324
|
+
id?: boolean;
|
|
325
|
+
productId?: boolean;
|
|
326
|
+
tag?: boolean;
|
|
327
|
+
};
|
|
328
|
+
export type ProductTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "productId" | "tag", ExtArgs["result"]["productTag"]>;
|
|
329
|
+
export type ProductTagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
330
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
331
|
+
};
|
|
332
|
+
export type ProductTagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
333
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
334
|
+
};
|
|
335
|
+
export type ProductTagIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
336
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
337
|
+
};
|
|
338
|
+
export type $ProductTagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
339
|
+
name: "ProductTag";
|
|
340
|
+
objects: {
|
|
341
|
+
product: Prisma.$ProductPayload<ExtArgs>;
|
|
342
|
+
};
|
|
343
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
344
|
+
id: string;
|
|
345
|
+
productId: string;
|
|
346
|
+
tag: string;
|
|
347
|
+
}, ExtArgs["result"]["productTag"]>;
|
|
348
|
+
composites: {};
|
|
349
|
+
};
|
|
350
|
+
export type ProductTagGetPayload<S extends boolean | null | undefined | ProductTagDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductTagPayload, S>;
|
|
351
|
+
export type ProductTagCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductTagFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
352
|
+
select?: ProductTagCountAggregateInputType | true;
|
|
353
|
+
};
|
|
354
|
+
export interface ProductTagDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
355
|
+
[K: symbol]: {
|
|
356
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ProductTag'];
|
|
357
|
+
meta: {
|
|
358
|
+
name: 'ProductTag';
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Find zero or one ProductTag that matches the filter.
|
|
363
|
+
* @param {ProductTagFindUniqueArgs} args - Arguments to find a ProductTag
|
|
364
|
+
* @example
|
|
365
|
+
* // Get one ProductTag
|
|
366
|
+
* const productTag = await prisma.productTag.findUnique({
|
|
367
|
+
* where: {
|
|
368
|
+
* // ... provide filter here
|
|
369
|
+
* }
|
|
370
|
+
* })
|
|
371
|
+
*/
|
|
372
|
+
findUnique<T extends ProductTagFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductTagFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
373
|
+
/**
|
|
374
|
+
* Find one ProductTag that matches the filter or throw an error with `error.code='P2025'`
|
|
375
|
+
* if no matches were found.
|
|
376
|
+
* @param {ProductTagFindUniqueOrThrowArgs} args - Arguments to find a ProductTag
|
|
377
|
+
* @example
|
|
378
|
+
* // Get one ProductTag
|
|
379
|
+
* const productTag = await prisma.productTag.findUniqueOrThrow({
|
|
380
|
+
* where: {
|
|
381
|
+
* // ... provide filter here
|
|
382
|
+
* }
|
|
383
|
+
* })
|
|
384
|
+
*/
|
|
385
|
+
findUniqueOrThrow<T extends ProductTagFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
386
|
+
/**
|
|
387
|
+
* Find the first ProductTag that matches the filter.
|
|
388
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
389
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
390
|
+
* @param {ProductTagFindFirstArgs} args - Arguments to find a ProductTag
|
|
391
|
+
* @example
|
|
392
|
+
* // Get one ProductTag
|
|
393
|
+
* const productTag = await prisma.productTag.findFirst({
|
|
394
|
+
* where: {
|
|
395
|
+
* // ... provide filter here
|
|
396
|
+
* }
|
|
397
|
+
* })
|
|
398
|
+
*/
|
|
399
|
+
findFirst<T extends ProductTagFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductTagFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
400
|
+
/**
|
|
401
|
+
* Find the first ProductTag that matches the filter or
|
|
402
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
403
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
404
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
405
|
+
* @param {ProductTagFindFirstOrThrowArgs} args - Arguments to find a ProductTag
|
|
406
|
+
* @example
|
|
407
|
+
* // Get one ProductTag
|
|
408
|
+
* const productTag = await prisma.productTag.findFirstOrThrow({
|
|
409
|
+
* where: {
|
|
410
|
+
* // ... provide filter here
|
|
411
|
+
* }
|
|
412
|
+
* })
|
|
413
|
+
*/
|
|
414
|
+
findFirstOrThrow<T extends ProductTagFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductTagFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
415
|
+
/**
|
|
416
|
+
* Find zero or more ProductTags that matches the filter.
|
|
417
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
418
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
419
|
+
* @param {ProductTagFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
420
|
+
* @example
|
|
421
|
+
* // Get all ProductTags
|
|
422
|
+
* const productTags = await prisma.productTag.findMany()
|
|
423
|
+
*
|
|
424
|
+
* // Get first 10 ProductTags
|
|
425
|
+
* const productTags = await prisma.productTag.findMany({ take: 10 })
|
|
426
|
+
*
|
|
427
|
+
* // Only select the `id`
|
|
428
|
+
* const productTagWithIdOnly = await prisma.productTag.findMany({ select: { id: true } })
|
|
429
|
+
*
|
|
430
|
+
*/
|
|
431
|
+
findMany<T extends ProductTagFindManyArgs>(args?: Prisma.SelectSubset<T, ProductTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
432
|
+
/**
|
|
433
|
+
* Create a ProductTag.
|
|
434
|
+
* @param {ProductTagCreateArgs} args - Arguments to create a ProductTag.
|
|
435
|
+
* @example
|
|
436
|
+
* // Create one ProductTag
|
|
437
|
+
* const ProductTag = await prisma.productTag.create({
|
|
438
|
+
* data: {
|
|
439
|
+
* // ... data to create a ProductTag
|
|
440
|
+
* }
|
|
441
|
+
* })
|
|
442
|
+
*
|
|
443
|
+
*/
|
|
444
|
+
create<T extends ProductTagCreateArgs>(args: Prisma.SelectSubset<T, ProductTagCreateArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
445
|
+
/**
|
|
446
|
+
* Create many ProductTags.
|
|
447
|
+
* @param {ProductTagCreateManyArgs} args - Arguments to create many ProductTags.
|
|
448
|
+
* @example
|
|
449
|
+
* // Create many ProductTags
|
|
450
|
+
* const productTag = await prisma.productTag.createMany({
|
|
451
|
+
* data: [
|
|
452
|
+
* // ... provide data here
|
|
453
|
+
* ]
|
|
454
|
+
* })
|
|
455
|
+
*
|
|
456
|
+
*/
|
|
457
|
+
createMany<T extends ProductTagCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
458
|
+
/**
|
|
459
|
+
* Create many ProductTags and returns the data saved in the database.
|
|
460
|
+
* @param {ProductTagCreateManyAndReturnArgs} args - Arguments to create many ProductTags.
|
|
461
|
+
* @example
|
|
462
|
+
* // Create many ProductTags
|
|
463
|
+
* const productTag = await prisma.productTag.createManyAndReturn({
|
|
464
|
+
* data: [
|
|
465
|
+
* // ... provide data here
|
|
466
|
+
* ]
|
|
467
|
+
* })
|
|
468
|
+
*
|
|
469
|
+
* // Create many ProductTags and only return the `id`
|
|
470
|
+
* const productTagWithIdOnly = await prisma.productTag.createManyAndReturn({
|
|
471
|
+
* select: { id: true },
|
|
472
|
+
* data: [
|
|
473
|
+
* // ... provide data here
|
|
474
|
+
* ]
|
|
475
|
+
* })
|
|
476
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
477
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
478
|
+
*
|
|
479
|
+
*/
|
|
480
|
+
createManyAndReturn<T extends ProductTagCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
481
|
+
/**
|
|
482
|
+
* Delete a ProductTag.
|
|
483
|
+
* @param {ProductTagDeleteArgs} args - Arguments to delete one ProductTag.
|
|
484
|
+
* @example
|
|
485
|
+
* // Delete one ProductTag
|
|
486
|
+
* const ProductTag = await prisma.productTag.delete({
|
|
487
|
+
* where: {
|
|
488
|
+
* // ... filter to delete one ProductTag
|
|
489
|
+
* }
|
|
490
|
+
* })
|
|
491
|
+
*
|
|
492
|
+
*/
|
|
493
|
+
delete<T extends ProductTagDeleteArgs>(args: Prisma.SelectSubset<T, ProductTagDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
494
|
+
/**
|
|
495
|
+
* Update one ProductTag.
|
|
496
|
+
* @param {ProductTagUpdateArgs} args - Arguments to update one ProductTag.
|
|
497
|
+
* @example
|
|
498
|
+
* // Update one ProductTag
|
|
499
|
+
* const productTag = await prisma.productTag.update({
|
|
500
|
+
* where: {
|
|
501
|
+
* // ... provide filter here
|
|
502
|
+
* },
|
|
503
|
+
* data: {
|
|
504
|
+
* // ... provide data here
|
|
505
|
+
* }
|
|
506
|
+
* })
|
|
507
|
+
*
|
|
508
|
+
*/
|
|
509
|
+
update<T extends ProductTagUpdateArgs>(args: Prisma.SelectSubset<T, ProductTagUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
510
|
+
/**
|
|
511
|
+
* Delete zero or more ProductTags.
|
|
512
|
+
* @param {ProductTagDeleteManyArgs} args - Arguments to filter ProductTags to delete.
|
|
513
|
+
* @example
|
|
514
|
+
* // Delete a few ProductTags
|
|
515
|
+
* const { count } = await prisma.productTag.deleteMany({
|
|
516
|
+
* where: {
|
|
517
|
+
* // ... provide filter here
|
|
518
|
+
* }
|
|
519
|
+
* })
|
|
520
|
+
*
|
|
521
|
+
*/
|
|
522
|
+
deleteMany<T extends ProductTagDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
523
|
+
/**
|
|
524
|
+
* Update zero or more ProductTags.
|
|
525
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
526
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
527
|
+
* @param {ProductTagUpdateManyArgs} args - Arguments to update one or more rows.
|
|
528
|
+
* @example
|
|
529
|
+
* // Update many ProductTags
|
|
530
|
+
* const productTag = await prisma.productTag.updateMany({
|
|
531
|
+
* where: {
|
|
532
|
+
* // ... provide filter here
|
|
533
|
+
* },
|
|
534
|
+
* data: {
|
|
535
|
+
* // ... provide data here
|
|
536
|
+
* }
|
|
537
|
+
* })
|
|
538
|
+
*
|
|
539
|
+
*/
|
|
540
|
+
updateMany<T extends ProductTagUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
541
|
+
/**
|
|
542
|
+
* Update zero or more ProductTags and returns the data updated in the database.
|
|
543
|
+
* @param {ProductTagUpdateManyAndReturnArgs} args - Arguments to update many ProductTags.
|
|
544
|
+
* @example
|
|
545
|
+
* // Update many ProductTags
|
|
546
|
+
* const productTag = await prisma.productTag.updateManyAndReturn({
|
|
547
|
+
* where: {
|
|
548
|
+
* // ... provide filter here
|
|
549
|
+
* },
|
|
550
|
+
* data: [
|
|
551
|
+
* // ... provide data here
|
|
552
|
+
* ]
|
|
553
|
+
* })
|
|
554
|
+
*
|
|
555
|
+
* // Update zero or more ProductTags and only return the `id`
|
|
556
|
+
* const productTagWithIdOnly = await prisma.productTag.updateManyAndReturn({
|
|
557
|
+
* select: { id: true },
|
|
558
|
+
* where: {
|
|
559
|
+
* // ... provide filter here
|
|
560
|
+
* },
|
|
561
|
+
* data: [
|
|
562
|
+
* // ... provide data here
|
|
563
|
+
* ]
|
|
564
|
+
* })
|
|
565
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
566
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
567
|
+
*
|
|
568
|
+
*/
|
|
569
|
+
updateManyAndReturn<T extends ProductTagUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductTagUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
570
|
+
/**
|
|
571
|
+
* Create or update one ProductTag.
|
|
572
|
+
* @param {ProductTagUpsertArgs} args - Arguments to update or create a ProductTag.
|
|
573
|
+
* @example
|
|
574
|
+
* // Update or create a ProductTag
|
|
575
|
+
* const productTag = await prisma.productTag.upsert({
|
|
576
|
+
* create: {
|
|
577
|
+
* // ... data to create a ProductTag
|
|
578
|
+
* },
|
|
579
|
+
* update: {
|
|
580
|
+
* // ... in case it already exists, update
|
|
581
|
+
* },
|
|
582
|
+
* where: {
|
|
583
|
+
* // ... the filter for the ProductTag we want to update
|
|
584
|
+
* }
|
|
585
|
+
* })
|
|
586
|
+
*/
|
|
587
|
+
upsert<T extends ProductTagUpsertArgs>(args: Prisma.SelectSubset<T, ProductTagUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductTagClient<runtime.Types.Result.GetResult<Prisma.$ProductTagPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
588
|
+
/**
|
|
589
|
+
* Count the number of ProductTags.
|
|
590
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
591
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
592
|
+
* @param {ProductTagCountArgs} args - Arguments to filter ProductTags to count.
|
|
593
|
+
* @example
|
|
594
|
+
* // Count the number of ProductTags
|
|
595
|
+
* const count = await prisma.productTag.count({
|
|
596
|
+
* where: {
|
|
597
|
+
* // ... the filter for the ProductTags we want to count
|
|
598
|
+
* }
|
|
599
|
+
* })
|
|
600
|
+
**/
|
|
601
|
+
count<T extends ProductTagCountArgs>(args?: Prisma.Subset<T, ProductTagCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductTagCountAggregateOutputType> : number>;
|
|
602
|
+
/**
|
|
603
|
+
* Allows you to perform aggregations operations on a ProductTag.
|
|
604
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
605
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
606
|
+
* @param {ProductTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
607
|
+
* @example
|
|
608
|
+
* // Ordered by age ascending
|
|
609
|
+
* // Where email contains prisma.io
|
|
610
|
+
* // Limited to the 10 users
|
|
611
|
+
* const aggregations = await prisma.user.aggregate({
|
|
612
|
+
* _avg: {
|
|
613
|
+
* age: true,
|
|
614
|
+
* },
|
|
615
|
+
* where: {
|
|
616
|
+
* email: {
|
|
617
|
+
* contains: "prisma.io",
|
|
618
|
+
* },
|
|
619
|
+
* },
|
|
620
|
+
* orderBy: {
|
|
621
|
+
* age: "asc",
|
|
622
|
+
* },
|
|
623
|
+
* take: 10,
|
|
624
|
+
* })
|
|
625
|
+
**/
|
|
626
|
+
aggregate<T extends ProductTagAggregateArgs>(args: Prisma.Subset<T, ProductTagAggregateArgs>): Prisma.PrismaPromise<GetProductTagAggregateType<T>>;
|
|
627
|
+
/**
|
|
628
|
+
* Group by ProductTag.
|
|
629
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
630
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
631
|
+
* @param {ProductTagGroupByArgs} args - Group by arguments.
|
|
632
|
+
* @example
|
|
633
|
+
* // Group by city, order by createdAt, get count
|
|
634
|
+
* const result = await prisma.user.groupBy({
|
|
635
|
+
* by: ['city', 'createdAt'],
|
|
636
|
+
* orderBy: {
|
|
637
|
+
* createdAt: true
|
|
638
|
+
* },
|
|
639
|
+
* _count: {
|
|
640
|
+
* _all: true
|
|
641
|
+
* },
|
|
642
|
+
* })
|
|
643
|
+
*
|
|
644
|
+
**/
|
|
645
|
+
groupBy<T extends ProductTagGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
646
|
+
orderBy: ProductTagGroupByArgs['orderBy'];
|
|
647
|
+
} : {
|
|
648
|
+
orderBy?: ProductTagGroupByArgs['orderBy'];
|
|
649
|
+
}, 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 ? {
|
|
650
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
651
|
+
Error,
|
|
652
|
+
'Field ',
|
|
653
|
+
P,
|
|
654
|
+
` in "having" needs to be provided in "by"`
|
|
655
|
+
];
|
|
656
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
657
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
658
|
+
}[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 ? {} : {
|
|
659
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
660
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
661
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
662
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
663
|
+
/**
|
|
664
|
+
* Fields of the ProductTag model
|
|
665
|
+
*/
|
|
666
|
+
readonly fields: ProductTagFieldRefs;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* The delegate class that acts as a "Promise-like" for ProductTag.
|
|
670
|
+
* Why is this prefixed with `Prisma__`?
|
|
671
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
672
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
673
|
+
*/
|
|
674
|
+
export interface Prisma__ProductTagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
675
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
676
|
+
product<T extends Prisma.ProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductClient<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
677
|
+
/**
|
|
678
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
679
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
680
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
681
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
682
|
+
*/
|
|
683
|
+
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>;
|
|
684
|
+
/**
|
|
685
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
686
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
687
|
+
* @returns A Promise for the completion of the callback.
|
|
688
|
+
*/
|
|
689
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
690
|
+
/**
|
|
691
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
692
|
+
* resolved value cannot be modified from the callback.
|
|
693
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
694
|
+
* @returns A Promise for the completion of the callback.
|
|
695
|
+
*/
|
|
696
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Fields of the ProductTag model
|
|
700
|
+
*/
|
|
701
|
+
export interface ProductTagFieldRefs {
|
|
702
|
+
readonly id: Prisma.FieldRef<"ProductTag", 'String'>;
|
|
703
|
+
readonly productId: Prisma.FieldRef<"ProductTag", 'String'>;
|
|
704
|
+
readonly tag: Prisma.FieldRef<"ProductTag", 'String'>;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* ProductTag findUnique
|
|
708
|
+
*/
|
|
709
|
+
export type ProductTagFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
710
|
+
/**
|
|
711
|
+
* Select specific fields to fetch from the ProductTag
|
|
712
|
+
*/
|
|
713
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
714
|
+
/**
|
|
715
|
+
* Omit specific fields from the ProductTag
|
|
716
|
+
*/
|
|
717
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
718
|
+
/**
|
|
719
|
+
* Choose, which related nodes to fetch as well
|
|
720
|
+
*/
|
|
721
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
722
|
+
/**
|
|
723
|
+
* Filter, which ProductTag to fetch.
|
|
724
|
+
*/
|
|
725
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* ProductTag findUniqueOrThrow
|
|
729
|
+
*/
|
|
730
|
+
export type ProductTagFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
731
|
+
/**
|
|
732
|
+
* Select specific fields to fetch from the ProductTag
|
|
733
|
+
*/
|
|
734
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
735
|
+
/**
|
|
736
|
+
* Omit specific fields from the ProductTag
|
|
737
|
+
*/
|
|
738
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
739
|
+
/**
|
|
740
|
+
* Choose, which related nodes to fetch as well
|
|
741
|
+
*/
|
|
742
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
743
|
+
/**
|
|
744
|
+
* Filter, which ProductTag to fetch.
|
|
745
|
+
*/
|
|
746
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* ProductTag findFirst
|
|
750
|
+
*/
|
|
751
|
+
export type ProductTagFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
752
|
+
/**
|
|
753
|
+
* Select specific fields to fetch from the ProductTag
|
|
754
|
+
*/
|
|
755
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
756
|
+
/**
|
|
757
|
+
* Omit specific fields from the ProductTag
|
|
758
|
+
*/
|
|
759
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
760
|
+
/**
|
|
761
|
+
* Choose, which related nodes to fetch as well
|
|
762
|
+
*/
|
|
763
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
764
|
+
/**
|
|
765
|
+
* Filter, which ProductTag to fetch.
|
|
766
|
+
*/
|
|
767
|
+
where?: Prisma.ProductTagWhereInput;
|
|
768
|
+
/**
|
|
769
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
770
|
+
*
|
|
771
|
+
* Determine the order of ProductTags to fetch.
|
|
772
|
+
*/
|
|
773
|
+
orderBy?: Prisma.ProductTagOrderByWithRelationInput | Prisma.ProductTagOrderByWithRelationInput[];
|
|
774
|
+
/**
|
|
775
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
776
|
+
*
|
|
777
|
+
* Sets the position for searching for ProductTags.
|
|
778
|
+
*/
|
|
779
|
+
cursor?: Prisma.ProductTagWhereUniqueInput;
|
|
780
|
+
/**
|
|
781
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
782
|
+
*
|
|
783
|
+
* Take `±n` ProductTags from the position of the cursor.
|
|
784
|
+
*/
|
|
785
|
+
take?: number;
|
|
786
|
+
/**
|
|
787
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
788
|
+
*
|
|
789
|
+
* Skip the first `n` ProductTags.
|
|
790
|
+
*/
|
|
791
|
+
skip?: number;
|
|
792
|
+
/**
|
|
793
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
794
|
+
*
|
|
795
|
+
* Filter by unique combinations of ProductTags.
|
|
796
|
+
*/
|
|
797
|
+
distinct?: Prisma.ProductTagScalarFieldEnum | Prisma.ProductTagScalarFieldEnum[];
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* ProductTag findFirstOrThrow
|
|
801
|
+
*/
|
|
802
|
+
export type ProductTagFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
803
|
+
/**
|
|
804
|
+
* Select specific fields to fetch from the ProductTag
|
|
805
|
+
*/
|
|
806
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
807
|
+
/**
|
|
808
|
+
* Omit specific fields from the ProductTag
|
|
809
|
+
*/
|
|
810
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
811
|
+
/**
|
|
812
|
+
* Choose, which related nodes to fetch as well
|
|
813
|
+
*/
|
|
814
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
815
|
+
/**
|
|
816
|
+
* Filter, which ProductTag to fetch.
|
|
817
|
+
*/
|
|
818
|
+
where?: Prisma.ProductTagWhereInput;
|
|
819
|
+
/**
|
|
820
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
821
|
+
*
|
|
822
|
+
* Determine the order of ProductTags to fetch.
|
|
823
|
+
*/
|
|
824
|
+
orderBy?: Prisma.ProductTagOrderByWithRelationInput | Prisma.ProductTagOrderByWithRelationInput[];
|
|
825
|
+
/**
|
|
826
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
827
|
+
*
|
|
828
|
+
* Sets the position for searching for ProductTags.
|
|
829
|
+
*/
|
|
830
|
+
cursor?: Prisma.ProductTagWhereUniqueInput;
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
833
|
+
*
|
|
834
|
+
* Take `±n` ProductTags from the position of the cursor.
|
|
835
|
+
*/
|
|
836
|
+
take?: number;
|
|
837
|
+
/**
|
|
838
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
839
|
+
*
|
|
840
|
+
* Skip the first `n` ProductTags.
|
|
841
|
+
*/
|
|
842
|
+
skip?: number;
|
|
843
|
+
/**
|
|
844
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
845
|
+
*
|
|
846
|
+
* Filter by unique combinations of ProductTags.
|
|
847
|
+
*/
|
|
848
|
+
distinct?: Prisma.ProductTagScalarFieldEnum | Prisma.ProductTagScalarFieldEnum[];
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* ProductTag findMany
|
|
852
|
+
*/
|
|
853
|
+
export type ProductTagFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
854
|
+
/**
|
|
855
|
+
* Select specific fields to fetch from the ProductTag
|
|
856
|
+
*/
|
|
857
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
858
|
+
/**
|
|
859
|
+
* Omit specific fields from the ProductTag
|
|
860
|
+
*/
|
|
861
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
862
|
+
/**
|
|
863
|
+
* Choose, which related nodes to fetch as well
|
|
864
|
+
*/
|
|
865
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
866
|
+
/**
|
|
867
|
+
* Filter, which ProductTags to fetch.
|
|
868
|
+
*/
|
|
869
|
+
where?: Prisma.ProductTagWhereInput;
|
|
870
|
+
/**
|
|
871
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
872
|
+
*
|
|
873
|
+
* Determine the order of ProductTags to fetch.
|
|
874
|
+
*/
|
|
875
|
+
orderBy?: Prisma.ProductTagOrderByWithRelationInput | Prisma.ProductTagOrderByWithRelationInput[];
|
|
876
|
+
/**
|
|
877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
878
|
+
*
|
|
879
|
+
* Sets the position for listing ProductTags.
|
|
880
|
+
*/
|
|
881
|
+
cursor?: Prisma.ProductTagWhereUniqueInput;
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
884
|
+
*
|
|
885
|
+
* Take `±n` ProductTags from the position of the cursor.
|
|
886
|
+
*/
|
|
887
|
+
take?: number;
|
|
888
|
+
/**
|
|
889
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
890
|
+
*
|
|
891
|
+
* Skip the first `n` ProductTags.
|
|
892
|
+
*/
|
|
893
|
+
skip?: number;
|
|
894
|
+
distinct?: Prisma.ProductTagScalarFieldEnum | Prisma.ProductTagScalarFieldEnum[];
|
|
895
|
+
};
|
|
896
|
+
/**
|
|
897
|
+
* ProductTag create
|
|
898
|
+
*/
|
|
899
|
+
export type ProductTagCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
900
|
+
/**
|
|
901
|
+
* Select specific fields to fetch from the ProductTag
|
|
902
|
+
*/
|
|
903
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* Omit specific fields from the ProductTag
|
|
906
|
+
*/
|
|
907
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
908
|
+
/**
|
|
909
|
+
* Choose, which related nodes to fetch as well
|
|
910
|
+
*/
|
|
911
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
912
|
+
/**
|
|
913
|
+
* The data needed to create a ProductTag.
|
|
914
|
+
*/
|
|
915
|
+
data: Prisma.XOR<Prisma.ProductTagCreateInput, Prisma.ProductTagUncheckedCreateInput>;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* ProductTag createMany
|
|
919
|
+
*/
|
|
920
|
+
export type ProductTagCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
921
|
+
/**
|
|
922
|
+
* The data used to create many ProductTags.
|
|
923
|
+
*/
|
|
924
|
+
data: Prisma.ProductTagCreateManyInput | Prisma.ProductTagCreateManyInput[];
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* ProductTag createManyAndReturn
|
|
928
|
+
*/
|
|
929
|
+
export type ProductTagCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
930
|
+
/**
|
|
931
|
+
* Select specific fields to fetch from the ProductTag
|
|
932
|
+
*/
|
|
933
|
+
select?: Prisma.ProductTagSelectCreateManyAndReturn<ExtArgs> | null;
|
|
934
|
+
/**
|
|
935
|
+
* Omit specific fields from the ProductTag
|
|
936
|
+
*/
|
|
937
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
938
|
+
/**
|
|
939
|
+
* The data used to create many ProductTags.
|
|
940
|
+
*/
|
|
941
|
+
data: Prisma.ProductTagCreateManyInput | Prisma.ProductTagCreateManyInput[];
|
|
942
|
+
/**
|
|
943
|
+
* Choose, which related nodes to fetch as well
|
|
944
|
+
*/
|
|
945
|
+
include?: Prisma.ProductTagIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
* ProductTag update
|
|
949
|
+
*/
|
|
950
|
+
export type ProductTagUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
951
|
+
/**
|
|
952
|
+
* Select specific fields to fetch from the ProductTag
|
|
953
|
+
*/
|
|
954
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
955
|
+
/**
|
|
956
|
+
* Omit specific fields from the ProductTag
|
|
957
|
+
*/
|
|
958
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
959
|
+
/**
|
|
960
|
+
* Choose, which related nodes to fetch as well
|
|
961
|
+
*/
|
|
962
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
963
|
+
/**
|
|
964
|
+
* The data needed to update a ProductTag.
|
|
965
|
+
*/
|
|
966
|
+
data: Prisma.XOR<Prisma.ProductTagUpdateInput, Prisma.ProductTagUncheckedUpdateInput>;
|
|
967
|
+
/**
|
|
968
|
+
* Choose, which ProductTag to update.
|
|
969
|
+
*/
|
|
970
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
971
|
+
};
|
|
972
|
+
/**
|
|
973
|
+
* ProductTag updateMany
|
|
974
|
+
*/
|
|
975
|
+
export type ProductTagUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
976
|
+
/**
|
|
977
|
+
* The data used to update ProductTags.
|
|
978
|
+
*/
|
|
979
|
+
data: Prisma.XOR<Prisma.ProductTagUpdateManyMutationInput, Prisma.ProductTagUncheckedUpdateManyInput>;
|
|
980
|
+
/**
|
|
981
|
+
* Filter which ProductTags to update
|
|
982
|
+
*/
|
|
983
|
+
where?: Prisma.ProductTagWhereInput;
|
|
984
|
+
/**
|
|
985
|
+
* Limit how many ProductTags to update.
|
|
986
|
+
*/
|
|
987
|
+
limit?: number;
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* ProductTag updateManyAndReturn
|
|
991
|
+
*/
|
|
992
|
+
export type ProductTagUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
/**
|
|
994
|
+
* Select specific fields to fetch from the ProductTag
|
|
995
|
+
*/
|
|
996
|
+
select?: Prisma.ProductTagSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Omit specific fields from the ProductTag
|
|
999
|
+
*/
|
|
1000
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* The data used to update ProductTags.
|
|
1003
|
+
*/
|
|
1004
|
+
data: Prisma.XOR<Prisma.ProductTagUpdateManyMutationInput, Prisma.ProductTagUncheckedUpdateManyInput>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Filter which ProductTags to update
|
|
1007
|
+
*/
|
|
1008
|
+
where?: Prisma.ProductTagWhereInput;
|
|
1009
|
+
/**
|
|
1010
|
+
* Limit how many ProductTags to update.
|
|
1011
|
+
*/
|
|
1012
|
+
limit?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* Choose, which related nodes to fetch as well
|
|
1015
|
+
*/
|
|
1016
|
+
include?: Prisma.ProductTagIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1017
|
+
};
|
|
1018
|
+
/**
|
|
1019
|
+
* ProductTag upsert
|
|
1020
|
+
*/
|
|
1021
|
+
export type ProductTagUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1022
|
+
/**
|
|
1023
|
+
* Select specific fields to fetch from the ProductTag
|
|
1024
|
+
*/
|
|
1025
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* Omit specific fields from the ProductTag
|
|
1028
|
+
*/
|
|
1029
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* Choose, which related nodes to fetch as well
|
|
1032
|
+
*/
|
|
1033
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* The filter to search for the ProductTag to update in case it exists.
|
|
1036
|
+
*/
|
|
1037
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
1038
|
+
/**
|
|
1039
|
+
* In case the ProductTag found by the `where` argument doesn't exist, create a new ProductTag with this data.
|
|
1040
|
+
*/
|
|
1041
|
+
create: Prisma.XOR<Prisma.ProductTagCreateInput, Prisma.ProductTagUncheckedCreateInput>;
|
|
1042
|
+
/**
|
|
1043
|
+
* In case the ProductTag was found with the provided `where` argument, update it with this data.
|
|
1044
|
+
*/
|
|
1045
|
+
update: Prisma.XOR<Prisma.ProductTagUpdateInput, Prisma.ProductTagUncheckedUpdateInput>;
|
|
1046
|
+
};
|
|
1047
|
+
/**
|
|
1048
|
+
* ProductTag delete
|
|
1049
|
+
*/
|
|
1050
|
+
export type ProductTagDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
/**
|
|
1052
|
+
* Select specific fields to fetch from the ProductTag
|
|
1053
|
+
*/
|
|
1054
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* Omit specific fields from the ProductTag
|
|
1057
|
+
*/
|
|
1058
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Choose, which related nodes to fetch as well
|
|
1061
|
+
*/
|
|
1062
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Filter which ProductTag to delete.
|
|
1065
|
+
*/
|
|
1066
|
+
where: Prisma.ProductTagWhereUniqueInput;
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* ProductTag deleteMany
|
|
1070
|
+
*/
|
|
1071
|
+
export type ProductTagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1072
|
+
/**
|
|
1073
|
+
* Filter which ProductTags to delete
|
|
1074
|
+
*/
|
|
1075
|
+
where?: Prisma.ProductTagWhereInput;
|
|
1076
|
+
/**
|
|
1077
|
+
* Limit how many ProductTags to delete.
|
|
1078
|
+
*/
|
|
1079
|
+
limit?: number;
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* ProductTag without action
|
|
1083
|
+
*/
|
|
1084
|
+
export type ProductTagDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1085
|
+
/**
|
|
1086
|
+
* Select specific fields to fetch from the ProductTag
|
|
1087
|
+
*/
|
|
1088
|
+
select?: Prisma.ProductTagSelect<ExtArgs> | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Omit specific fields from the ProductTag
|
|
1091
|
+
*/
|
|
1092
|
+
omit?: Prisma.ProductTagOmit<ExtArgs> | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Choose, which related nodes to fetch as well
|
|
1095
|
+
*/
|
|
1096
|
+
include?: Prisma.ProductTagInclude<ExtArgs> | null;
|
|
1097
|
+
};
|
|
1098
|
+
export {};
|
|
1099
|
+
//# sourceMappingURL=ProductTag.d.ts.map
|