@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,1328 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ProductOption
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ProductOptionModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductOptionPayload>;
|
|
8
|
+
export type AggregateProductOption = {
|
|
9
|
+
_count: ProductOptionCountAggregateOutputType | null;
|
|
10
|
+
_avg: ProductOptionAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ProductOptionSumAggregateOutputType | null;
|
|
12
|
+
_min: ProductOptionMinAggregateOutputType | null;
|
|
13
|
+
_max: ProductOptionMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ProductOptionAvgAggregateOutputType = {
|
|
16
|
+
sortOrder: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type ProductOptionSumAggregateOutputType = {
|
|
19
|
+
sortOrder: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ProductOptionMinAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
productId: string | null;
|
|
24
|
+
name: string | null;
|
|
25
|
+
nameAr: string | null;
|
|
26
|
+
sortOrder: number | null;
|
|
27
|
+
};
|
|
28
|
+
export type ProductOptionMaxAggregateOutputType = {
|
|
29
|
+
id: string | null;
|
|
30
|
+
productId: string | null;
|
|
31
|
+
name: string | null;
|
|
32
|
+
nameAr: string | null;
|
|
33
|
+
sortOrder: number | null;
|
|
34
|
+
};
|
|
35
|
+
export type ProductOptionCountAggregateOutputType = {
|
|
36
|
+
id: number;
|
|
37
|
+
productId: number;
|
|
38
|
+
name: number;
|
|
39
|
+
nameAr: number;
|
|
40
|
+
sortOrder: number;
|
|
41
|
+
_all: number;
|
|
42
|
+
};
|
|
43
|
+
export type ProductOptionAvgAggregateInputType = {
|
|
44
|
+
sortOrder?: true;
|
|
45
|
+
};
|
|
46
|
+
export type ProductOptionSumAggregateInputType = {
|
|
47
|
+
sortOrder?: true;
|
|
48
|
+
};
|
|
49
|
+
export type ProductOptionMinAggregateInputType = {
|
|
50
|
+
id?: true;
|
|
51
|
+
productId?: true;
|
|
52
|
+
name?: true;
|
|
53
|
+
nameAr?: true;
|
|
54
|
+
sortOrder?: true;
|
|
55
|
+
};
|
|
56
|
+
export type ProductOptionMaxAggregateInputType = {
|
|
57
|
+
id?: true;
|
|
58
|
+
productId?: true;
|
|
59
|
+
name?: true;
|
|
60
|
+
nameAr?: true;
|
|
61
|
+
sortOrder?: true;
|
|
62
|
+
};
|
|
63
|
+
export type ProductOptionCountAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
productId?: true;
|
|
66
|
+
name?: true;
|
|
67
|
+
nameAr?: true;
|
|
68
|
+
sortOrder?: true;
|
|
69
|
+
_all?: true;
|
|
70
|
+
};
|
|
71
|
+
export type ProductOptionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
72
|
+
/**
|
|
73
|
+
* Filter which ProductOption to aggregate.
|
|
74
|
+
*/
|
|
75
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
78
|
+
*
|
|
79
|
+
* Determine the order of ProductOptions to fetch.
|
|
80
|
+
*/
|
|
81
|
+
orderBy?: Prisma.ProductOptionOrderByWithRelationInput | Prisma.ProductOptionOrderByWithRelationInput[];
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
84
|
+
*
|
|
85
|
+
* Sets the start position
|
|
86
|
+
*/
|
|
87
|
+
cursor?: Prisma.ProductOptionWhereUniqueInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Take `±n` ProductOptions from the position of the cursor.
|
|
92
|
+
*/
|
|
93
|
+
take?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Skip the first `n` ProductOptions.
|
|
98
|
+
*/
|
|
99
|
+
skip?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Count returned ProductOptions
|
|
104
|
+
**/
|
|
105
|
+
_count?: true | ProductOptionCountAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to average
|
|
110
|
+
**/
|
|
111
|
+
_avg?: ProductOptionAvgAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to sum
|
|
116
|
+
**/
|
|
117
|
+
_sum?: ProductOptionSumAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the minimum value
|
|
122
|
+
**/
|
|
123
|
+
_min?: ProductOptionMinAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the maximum value
|
|
128
|
+
**/
|
|
129
|
+
_max?: ProductOptionMaxAggregateInputType;
|
|
130
|
+
};
|
|
131
|
+
export type GetProductOptionAggregateType<T extends ProductOptionAggregateArgs> = {
|
|
132
|
+
[P in keyof T & keyof AggregateProductOption]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductOption[P]> : Prisma.GetScalarType<T[P], AggregateProductOption[P]>;
|
|
133
|
+
};
|
|
134
|
+
export type ProductOptionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
136
|
+
orderBy?: Prisma.ProductOptionOrderByWithAggregationInput | Prisma.ProductOptionOrderByWithAggregationInput[];
|
|
137
|
+
by: Prisma.ProductOptionScalarFieldEnum[] | Prisma.ProductOptionScalarFieldEnum;
|
|
138
|
+
having?: Prisma.ProductOptionScalarWhereWithAggregatesInput;
|
|
139
|
+
take?: number;
|
|
140
|
+
skip?: number;
|
|
141
|
+
_count?: ProductOptionCountAggregateInputType | true;
|
|
142
|
+
_avg?: ProductOptionAvgAggregateInputType;
|
|
143
|
+
_sum?: ProductOptionSumAggregateInputType;
|
|
144
|
+
_min?: ProductOptionMinAggregateInputType;
|
|
145
|
+
_max?: ProductOptionMaxAggregateInputType;
|
|
146
|
+
};
|
|
147
|
+
export type ProductOptionGroupByOutputType = {
|
|
148
|
+
id: string;
|
|
149
|
+
productId: string;
|
|
150
|
+
name: string;
|
|
151
|
+
nameAr: string | null;
|
|
152
|
+
sortOrder: number;
|
|
153
|
+
_count: ProductOptionCountAggregateOutputType | null;
|
|
154
|
+
_avg: ProductOptionAvgAggregateOutputType | null;
|
|
155
|
+
_sum: ProductOptionSumAggregateOutputType | null;
|
|
156
|
+
_min: ProductOptionMinAggregateOutputType | null;
|
|
157
|
+
_max: ProductOptionMaxAggregateOutputType | null;
|
|
158
|
+
};
|
|
159
|
+
type GetProductOptionGroupByPayload<T extends ProductOptionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductOptionGroupByOutputType, T['by']> & {
|
|
160
|
+
[P in ((keyof T) & (keyof ProductOptionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductOptionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductOptionGroupByOutputType[P]>;
|
|
161
|
+
}>>;
|
|
162
|
+
export type ProductOptionWhereInput = {
|
|
163
|
+
AND?: Prisma.ProductOptionWhereInput | Prisma.ProductOptionWhereInput[];
|
|
164
|
+
OR?: Prisma.ProductOptionWhereInput[];
|
|
165
|
+
NOT?: Prisma.ProductOptionWhereInput | Prisma.ProductOptionWhereInput[];
|
|
166
|
+
id?: Prisma.StringFilter<"ProductOption"> | string;
|
|
167
|
+
productId?: Prisma.StringFilter<"ProductOption"> | string;
|
|
168
|
+
name?: Prisma.StringFilter<"ProductOption"> | string;
|
|
169
|
+
nameAr?: Prisma.StringNullableFilter<"ProductOption"> | string | null;
|
|
170
|
+
sortOrder?: Prisma.IntFilter<"ProductOption"> | number;
|
|
171
|
+
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
|
|
172
|
+
values?: Prisma.ProductOptionValueListRelationFilter;
|
|
173
|
+
};
|
|
174
|
+
export type ProductOptionOrderByWithRelationInput = {
|
|
175
|
+
id?: Prisma.SortOrder;
|
|
176
|
+
productId?: Prisma.SortOrder;
|
|
177
|
+
name?: Prisma.SortOrder;
|
|
178
|
+
nameAr?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
179
|
+
sortOrder?: Prisma.SortOrder;
|
|
180
|
+
product?: Prisma.ProductOrderByWithRelationInput;
|
|
181
|
+
values?: Prisma.ProductOptionValueOrderByRelationAggregateInput;
|
|
182
|
+
};
|
|
183
|
+
export type ProductOptionWhereUniqueInput = Prisma.AtLeast<{
|
|
184
|
+
id?: string;
|
|
185
|
+
AND?: Prisma.ProductOptionWhereInput | Prisma.ProductOptionWhereInput[];
|
|
186
|
+
OR?: Prisma.ProductOptionWhereInput[];
|
|
187
|
+
NOT?: Prisma.ProductOptionWhereInput | Prisma.ProductOptionWhereInput[];
|
|
188
|
+
productId?: Prisma.StringFilter<"ProductOption"> | string;
|
|
189
|
+
name?: Prisma.StringFilter<"ProductOption"> | string;
|
|
190
|
+
nameAr?: Prisma.StringNullableFilter<"ProductOption"> | string | null;
|
|
191
|
+
sortOrder?: Prisma.IntFilter<"ProductOption"> | number;
|
|
192
|
+
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
|
|
193
|
+
values?: Prisma.ProductOptionValueListRelationFilter;
|
|
194
|
+
}, "id">;
|
|
195
|
+
export type ProductOptionOrderByWithAggregationInput = {
|
|
196
|
+
id?: Prisma.SortOrder;
|
|
197
|
+
productId?: Prisma.SortOrder;
|
|
198
|
+
name?: Prisma.SortOrder;
|
|
199
|
+
nameAr?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
200
|
+
sortOrder?: Prisma.SortOrder;
|
|
201
|
+
_count?: Prisma.ProductOptionCountOrderByAggregateInput;
|
|
202
|
+
_avg?: Prisma.ProductOptionAvgOrderByAggregateInput;
|
|
203
|
+
_max?: Prisma.ProductOptionMaxOrderByAggregateInput;
|
|
204
|
+
_min?: Prisma.ProductOptionMinOrderByAggregateInput;
|
|
205
|
+
_sum?: Prisma.ProductOptionSumOrderByAggregateInput;
|
|
206
|
+
};
|
|
207
|
+
export type ProductOptionScalarWhereWithAggregatesInput = {
|
|
208
|
+
AND?: Prisma.ProductOptionScalarWhereWithAggregatesInput | Prisma.ProductOptionScalarWhereWithAggregatesInput[];
|
|
209
|
+
OR?: Prisma.ProductOptionScalarWhereWithAggregatesInput[];
|
|
210
|
+
NOT?: Prisma.ProductOptionScalarWhereWithAggregatesInput | Prisma.ProductOptionScalarWhereWithAggregatesInput[];
|
|
211
|
+
id?: Prisma.StringWithAggregatesFilter<"ProductOption"> | string;
|
|
212
|
+
productId?: Prisma.StringWithAggregatesFilter<"ProductOption"> | string;
|
|
213
|
+
name?: Prisma.StringWithAggregatesFilter<"ProductOption"> | string;
|
|
214
|
+
nameAr?: Prisma.StringNullableWithAggregatesFilter<"ProductOption"> | string | null;
|
|
215
|
+
sortOrder?: Prisma.IntWithAggregatesFilter<"ProductOption"> | number;
|
|
216
|
+
};
|
|
217
|
+
export type ProductOptionCreateInput = {
|
|
218
|
+
id?: string;
|
|
219
|
+
name: string;
|
|
220
|
+
nameAr?: string | null;
|
|
221
|
+
sortOrder?: number;
|
|
222
|
+
product: Prisma.ProductCreateNestedOneWithoutOptionsInput;
|
|
223
|
+
values?: Prisma.ProductOptionValueCreateNestedManyWithoutOptionInput;
|
|
224
|
+
};
|
|
225
|
+
export type ProductOptionUncheckedCreateInput = {
|
|
226
|
+
id?: string;
|
|
227
|
+
productId: string;
|
|
228
|
+
name: string;
|
|
229
|
+
nameAr?: string | null;
|
|
230
|
+
sortOrder?: number;
|
|
231
|
+
values?: Prisma.ProductOptionValueUncheckedCreateNestedManyWithoutOptionInput;
|
|
232
|
+
};
|
|
233
|
+
export type ProductOptionUpdateInput = {
|
|
234
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
235
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
237
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
238
|
+
product?: Prisma.ProductUpdateOneRequiredWithoutOptionsNestedInput;
|
|
239
|
+
values?: Prisma.ProductOptionValueUpdateManyWithoutOptionNestedInput;
|
|
240
|
+
};
|
|
241
|
+
export type ProductOptionUncheckedUpdateInput = {
|
|
242
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
243
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
244
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
245
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
246
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
247
|
+
values?: Prisma.ProductOptionValueUncheckedUpdateManyWithoutOptionNestedInput;
|
|
248
|
+
};
|
|
249
|
+
export type ProductOptionCreateManyInput = {
|
|
250
|
+
id?: string;
|
|
251
|
+
productId: string;
|
|
252
|
+
name: string;
|
|
253
|
+
nameAr?: string | null;
|
|
254
|
+
sortOrder?: number;
|
|
255
|
+
};
|
|
256
|
+
export type ProductOptionUpdateManyMutationInput = {
|
|
257
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
258
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
259
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
260
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
261
|
+
};
|
|
262
|
+
export type ProductOptionUncheckedUpdateManyInput = {
|
|
263
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
264
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
266
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
267
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
268
|
+
};
|
|
269
|
+
export type ProductOptionListRelationFilter = {
|
|
270
|
+
every?: Prisma.ProductOptionWhereInput;
|
|
271
|
+
some?: Prisma.ProductOptionWhereInput;
|
|
272
|
+
none?: Prisma.ProductOptionWhereInput;
|
|
273
|
+
};
|
|
274
|
+
export type ProductOptionOrderByRelationAggregateInput = {
|
|
275
|
+
_count?: Prisma.SortOrder;
|
|
276
|
+
};
|
|
277
|
+
export type ProductOptionCountOrderByAggregateInput = {
|
|
278
|
+
id?: Prisma.SortOrder;
|
|
279
|
+
productId?: Prisma.SortOrder;
|
|
280
|
+
name?: Prisma.SortOrder;
|
|
281
|
+
nameAr?: Prisma.SortOrder;
|
|
282
|
+
sortOrder?: Prisma.SortOrder;
|
|
283
|
+
};
|
|
284
|
+
export type ProductOptionAvgOrderByAggregateInput = {
|
|
285
|
+
sortOrder?: Prisma.SortOrder;
|
|
286
|
+
};
|
|
287
|
+
export type ProductOptionMaxOrderByAggregateInput = {
|
|
288
|
+
id?: Prisma.SortOrder;
|
|
289
|
+
productId?: Prisma.SortOrder;
|
|
290
|
+
name?: Prisma.SortOrder;
|
|
291
|
+
nameAr?: Prisma.SortOrder;
|
|
292
|
+
sortOrder?: Prisma.SortOrder;
|
|
293
|
+
};
|
|
294
|
+
export type ProductOptionMinOrderByAggregateInput = {
|
|
295
|
+
id?: Prisma.SortOrder;
|
|
296
|
+
productId?: Prisma.SortOrder;
|
|
297
|
+
name?: Prisma.SortOrder;
|
|
298
|
+
nameAr?: Prisma.SortOrder;
|
|
299
|
+
sortOrder?: Prisma.SortOrder;
|
|
300
|
+
};
|
|
301
|
+
export type ProductOptionSumOrderByAggregateInput = {
|
|
302
|
+
sortOrder?: Prisma.SortOrder;
|
|
303
|
+
};
|
|
304
|
+
export type ProductOptionScalarRelationFilter = {
|
|
305
|
+
is?: Prisma.ProductOptionWhereInput;
|
|
306
|
+
isNot?: Prisma.ProductOptionWhereInput;
|
|
307
|
+
};
|
|
308
|
+
export type ProductOptionCreateNestedManyWithoutProductInput = {
|
|
309
|
+
create?: Prisma.XOR<Prisma.ProductOptionCreateWithoutProductInput, Prisma.ProductOptionUncheckedCreateWithoutProductInput> | Prisma.ProductOptionCreateWithoutProductInput[] | Prisma.ProductOptionUncheckedCreateWithoutProductInput[];
|
|
310
|
+
connectOrCreate?: Prisma.ProductOptionCreateOrConnectWithoutProductInput | Prisma.ProductOptionCreateOrConnectWithoutProductInput[];
|
|
311
|
+
createMany?: Prisma.ProductOptionCreateManyProductInputEnvelope;
|
|
312
|
+
connect?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
313
|
+
};
|
|
314
|
+
export type ProductOptionUncheckedCreateNestedManyWithoutProductInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.ProductOptionCreateWithoutProductInput, Prisma.ProductOptionUncheckedCreateWithoutProductInput> | Prisma.ProductOptionCreateWithoutProductInput[] | Prisma.ProductOptionUncheckedCreateWithoutProductInput[];
|
|
316
|
+
connectOrCreate?: Prisma.ProductOptionCreateOrConnectWithoutProductInput | Prisma.ProductOptionCreateOrConnectWithoutProductInput[];
|
|
317
|
+
createMany?: Prisma.ProductOptionCreateManyProductInputEnvelope;
|
|
318
|
+
connect?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
319
|
+
};
|
|
320
|
+
export type ProductOptionUpdateManyWithoutProductNestedInput = {
|
|
321
|
+
create?: Prisma.XOR<Prisma.ProductOptionCreateWithoutProductInput, Prisma.ProductOptionUncheckedCreateWithoutProductInput> | Prisma.ProductOptionCreateWithoutProductInput[] | Prisma.ProductOptionUncheckedCreateWithoutProductInput[];
|
|
322
|
+
connectOrCreate?: Prisma.ProductOptionCreateOrConnectWithoutProductInput | Prisma.ProductOptionCreateOrConnectWithoutProductInput[];
|
|
323
|
+
upsert?: Prisma.ProductOptionUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductOptionUpsertWithWhereUniqueWithoutProductInput[];
|
|
324
|
+
createMany?: Prisma.ProductOptionCreateManyProductInputEnvelope;
|
|
325
|
+
set?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
326
|
+
disconnect?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
327
|
+
delete?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
328
|
+
connect?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
329
|
+
update?: Prisma.ProductOptionUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductOptionUpdateWithWhereUniqueWithoutProductInput[];
|
|
330
|
+
updateMany?: Prisma.ProductOptionUpdateManyWithWhereWithoutProductInput | Prisma.ProductOptionUpdateManyWithWhereWithoutProductInput[];
|
|
331
|
+
deleteMany?: Prisma.ProductOptionScalarWhereInput | Prisma.ProductOptionScalarWhereInput[];
|
|
332
|
+
};
|
|
333
|
+
export type ProductOptionUncheckedUpdateManyWithoutProductNestedInput = {
|
|
334
|
+
create?: Prisma.XOR<Prisma.ProductOptionCreateWithoutProductInput, Prisma.ProductOptionUncheckedCreateWithoutProductInput> | Prisma.ProductOptionCreateWithoutProductInput[] | Prisma.ProductOptionUncheckedCreateWithoutProductInput[];
|
|
335
|
+
connectOrCreate?: Prisma.ProductOptionCreateOrConnectWithoutProductInput | Prisma.ProductOptionCreateOrConnectWithoutProductInput[];
|
|
336
|
+
upsert?: Prisma.ProductOptionUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductOptionUpsertWithWhereUniqueWithoutProductInput[];
|
|
337
|
+
createMany?: Prisma.ProductOptionCreateManyProductInputEnvelope;
|
|
338
|
+
set?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
339
|
+
disconnect?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
340
|
+
delete?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
341
|
+
connect?: Prisma.ProductOptionWhereUniqueInput | Prisma.ProductOptionWhereUniqueInput[];
|
|
342
|
+
update?: Prisma.ProductOptionUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductOptionUpdateWithWhereUniqueWithoutProductInput[];
|
|
343
|
+
updateMany?: Prisma.ProductOptionUpdateManyWithWhereWithoutProductInput | Prisma.ProductOptionUpdateManyWithWhereWithoutProductInput[];
|
|
344
|
+
deleteMany?: Prisma.ProductOptionScalarWhereInput | Prisma.ProductOptionScalarWhereInput[];
|
|
345
|
+
};
|
|
346
|
+
export type ProductOptionCreateNestedOneWithoutValuesInput = {
|
|
347
|
+
create?: Prisma.XOR<Prisma.ProductOptionCreateWithoutValuesInput, Prisma.ProductOptionUncheckedCreateWithoutValuesInput>;
|
|
348
|
+
connectOrCreate?: Prisma.ProductOptionCreateOrConnectWithoutValuesInput;
|
|
349
|
+
connect?: Prisma.ProductOptionWhereUniqueInput;
|
|
350
|
+
};
|
|
351
|
+
export type ProductOptionUpdateOneRequiredWithoutValuesNestedInput = {
|
|
352
|
+
create?: Prisma.XOR<Prisma.ProductOptionCreateWithoutValuesInput, Prisma.ProductOptionUncheckedCreateWithoutValuesInput>;
|
|
353
|
+
connectOrCreate?: Prisma.ProductOptionCreateOrConnectWithoutValuesInput;
|
|
354
|
+
upsert?: Prisma.ProductOptionUpsertWithoutValuesInput;
|
|
355
|
+
connect?: Prisma.ProductOptionWhereUniqueInput;
|
|
356
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProductOptionUpdateToOneWithWhereWithoutValuesInput, Prisma.ProductOptionUpdateWithoutValuesInput>, Prisma.ProductOptionUncheckedUpdateWithoutValuesInput>;
|
|
357
|
+
};
|
|
358
|
+
export type ProductOptionCreateWithoutProductInput = {
|
|
359
|
+
id?: string;
|
|
360
|
+
name: string;
|
|
361
|
+
nameAr?: string | null;
|
|
362
|
+
sortOrder?: number;
|
|
363
|
+
values?: Prisma.ProductOptionValueCreateNestedManyWithoutOptionInput;
|
|
364
|
+
};
|
|
365
|
+
export type ProductOptionUncheckedCreateWithoutProductInput = {
|
|
366
|
+
id?: string;
|
|
367
|
+
name: string;
|
|
368
|
+
nameAr?: string | null;
|
|
369
|
+
sortOrder?: number;
|
|
370
|
+
values?: Prisma.ProductOptionValueUncheckedCreateNestedManyWithoutOptionInput;
|
|
371
|
+
};
|
|
372
|
+
export type ProductOptionCreateOrConnectWithoutProductInput = {
|
|
373
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
374
|
+
create: Prisma.XOR<Prisma.ProductOptionCreateWithoutProductInput, Prisma.ProductOptionUncheckedCreateWithoutProductInput>;
|
|
375
|
+
};
|
|
376
|
+
export type ProductOptionCreateManyProductInputEnvelope = {
|
|
377
|
+
data: Prisma.ProductOptionCreateManyProductInput | Prisma.ProductOptionCreateManyProductInput[];
|
|
378
|
+
};
|
|
379
|
+
export type ProductOptionUpsertWithWhereUniqueWithoutProductInput = {
|
|
380
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
381
|
+
update: Prisma.XOR<Prisma.ProductOptionUpdateWithoutProductInput, Prisma.ProductOptionUncheckedUpdateWithoutProductInput>;
|
|
382
|
+
create: Prisma.XOR<Prisma.ProductOptionCreateWithoutProductInput, Prisma.ProductOptionUncheckedCreateWithoutProductInput>;
|
|
383
|
+
};
|
|
384
|
+
export type ProductOptionUpdateWithWhereUniqueWithoutProductInput = {
|
|
385
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
386
|
+
data: Prisma.XOR<Prisma.ProductOptionUpdateWithoutProductInput, Prisma.ProductOptionUncheckedUpdateWithoutProductInput>;
|
|
387
|
+
};
|
|
388
|
+
export type ProductOptionUpdateManyWithWhereWithoutProductInput = {
|
|
389
|
+
where: Prisma.ProductOptionScalarWhereInput;
|
|
390
|
+
data: Prisma.XOR<Prisma.ProductOptionUpdateManyMutationInput, Prisma.ProductOptionUncheckedUpdateManyWithoutProductInput>;
|
|
391
|
+
};
|
|
392
|
+
export type ProductOptionScalarWhereInput = {
|
|
393
|
+
AND?: Prisma.ProductOptionScalarWhereInput | Prisma.ProductOptionScalarWhereInput[];
|
|
394
|
+
OR?: Prisma.ProductOptionScalarWhereInput[];
|
|
395
|
+
NOT?: Prisma.ProductOptionScalarWhereInput | Prisma.ProductOptionScalarWhereInput[];
|
|
396
|
+
id?: Prisma.StringFilter<"ProductOption"> | string;
|
|
397
|
+
productId?: Prisma.StringFilter<"ProductOption"> | string;
|
|
398
|
+
name?: Prisma.StringFilter<"ProductOption"> | string;
|
|
399
|
+
nameAr?: Prisma.StringNullableFilter<"ProductOption"> | string | null;
|
|
400
|
+
sortOrder?: Prisma.IntFilter<"ProductOption"> | number;
|
|
401
|
+
};
|
|
402
|
+
export type ProductOptionCreateWithoutValuesInput = {
|
|
403
|
+
id?: string;
|
|
404
|
+
name: string;
|
|
405
|
+
nameAr?: string | null;
|
|
406
|
+
sortOrder?: number;
|
|
407
|
+
product: Prisma.ProductCreateNestedOneWithoutOptionsInput;
|
|
408
|
+
};
|
|
409
|
+
export type ProductOptionUncheckedCreateWithoutValuesInput = {
|
|
410
|
+
id?: string;
|
|
411
|
+
productId: string;
|
|
412
|
+
name: string;
|
|
413
|
+
nameAr?: string | null;
|
|
414
|
+
sortOrder?: number;
|
|
415
|
+
};
|
|
416
|
+
export type ProductOptionCreateOrConnectWithoutValuesInput = {
|
|
417
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
418
|
+
create: Prisma.XOR<Prisma.ProductOptionCreateWithoutValuesInput, Prisma.ProductOptionUncheckedCreateWithoutValuesInput>;
|
|
419
|
+
};
|
|
420
|
+
export type ProductOptionUpsertWithoutValuesInput = {
|
|
421
|
+
update: Prisma.XOR<Prisma.ProductOptionUpdateWithoutValuesInput, Prisma.ProductOptionUncheckedUpdateWithoutValuesInput>;
|
|
422
|
+
create: Prisma.XOR<Prisma.ProductOptionCreateWithoutValuesInput, Prisma.ProductOptionUncheckedCreateWithoutValuesInput>;
|
|
423
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
424
|
+
};
|
|
425
|
+
export type ProductOptionUpdateToOneWithWhereWithoutValuesInput = {
|
|
426
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
427
|
+
data: Prisma.XOR<Prisma.ProductOptionUpdateWithoutValuesInput, Prisma.ProductOptionUncheckedUpdateWithoutValuesInput>;
|
|
428
|
+
};
|
|
429
|
+
export type ProductOptionUpdateWithoutValuesInput = {
|
|
430
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
431
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
432
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
433
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
434
|
+
product?: Prisma.ProductUpdateOneRequiredWithoutOptionsNestedInput;
|
|
435
|
+
};
|
|
436
|
+
export type ProductOptionUncheckedUpdateWithoutValuesInput = {
|
|
437
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
438
|
+
productId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
439
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
441
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
442
|
+
};
|
|
443
|
+
export type ProductOptionCreateManyProductInput = {
|
|
444
|
+
id?: string;
|
|
445
|
+
name: string;
|
|
446
|
+
nameAr?: string | null;
|
|
447
|
+
sortOrder?: number;
|
|
448
|
+
};
|
|
449
|
+
export type ProductOptionUpdateWithoutProductInput = {
|
|
450
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
451
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
452
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
453
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
454
|
+
values?: Prisma.ProductOptionValueUpdateManyWithoutOptionNestedInput;
|
|
455
|
+
};
|
|
456
|
+
export type ProductOptionUncheckedUpdateWithoutProductInput = {
|
|
457
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
458
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
459
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
460
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
461
|
+
values?: Prisma.ProductOptionValueUncheckedUpdateManyWithoutOptionNestedInput;
|
|
462
|
+
};
|
|
463
|
+
export type ProductOptionUncheckedUpdateManyWithoutProductInput = {
|
|
464
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
465
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
467
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Count Type ProductOptionCountOutputType
|
|
471
|
+
*/
|
|
472
|
+
export type ProductOptionCountOutputType = {
|
|
473
|
+
values: number;
|
|
474
|
+
};
|
|
475
|
+
export type ProductOptionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
476
|
+
values?: boolean | ProductOptionCountOutputTypeCountValuesArgs;
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* ProductOptionCountOutputType without action
|
|
480
|
+
*/
|
|
481
|
+
export type ProductOptionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
482
|
+
/**
|
|
483
|
+
* Select specific fields to fetch from the ProductOptionCountOutputType
|
|
484
|
+
*/
|
|
485
|
+
select?: Prisma.ProductOptionCountOutputTypeSelect<ExtArgs> | null;
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* ProductOptionCountOutputType without action
|
|
489
|
+
*/
|
|
490
|
+
export type ProductOptionCountOutputTypeCountValuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
491
|
+
where?: Prisma.ProductOptionValueWhereInput;
|
|
492
|
+
};
|
|
493
|
+
export type ProductOptionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
494
|
+
id?: boolean;
|
|
495
|
+
productId?: boolean;
|
|
496
|
+
name?: boolean;
|
|
497
|
+
nameAr?: boolean;
|
|
498
|
+
sortOrder?: boolean;
|
|
499
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
500
|
+
values?: boolean | Prisma.ProductOption$valuesArgs<ExtArgs>;
|
|
501
|
+
_count?: boolean | Prisma.ProductOptionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
502
|
+
}, ExtArgs["result"]["productOption"]>;
|
|
503
|
+
export type ProductOptionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
504
|
+
id?: boolean;
|
|
505
|
+
productId?: boolean;
|
|
506
|
+
name?: boolean;
|
|
507
|
+
nameAr?: boolean;
|
|
508
|
+
sortOrder?: boolean;
|
|
509
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
510
|
+
}, ExtArgs["result"]["productOption"]>;
|
|
511
|
+
export type ProductOptionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
512
|
+
id?: boolean;
|
|
513
|
+
productId?: boolean;
|
|
514
|
+
name?: boolean;
|
|
515
|
+
nameAr?: boolean;
|
|
516
|
+
sortOrder?: boolean;
|
|
517
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
518
|
+
}, ExtArgs["result"]["productOption"]>;
|
|
519
|
+
export type ProductOptionSelectScalar = {
|
|
520
|
+
id?: boolean;
|
|
521
|
+
productId?: boolean;
|
|
522
|
+
name?: boolean;
|
|
523
|
+
nameAr?: boolean;
|
|
524
|
+
sortOrder?: boolean;
|
|
525
|
+
};
|
|
526
|
+
export type ProductOptionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "productId" | "name" | "nameAr" | "sortOrder", ExtArgs["result"]["productOption"]>;
|
|
527
|
+
export type ProductOptionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
528
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
529
|
+
values?: boolean | Prisma.ProductOption$valuesArgs<ExtArgs>;
|
|
530
|
+
_count?: boolean | Prisma.ProductOptionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
531
|
+
};
|
|
532
|
+
export type ProductOptionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
533
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
534
|
+
};
|
|
535
|
+
export type ProductOptionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
536
|
+
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
|
|
537
|
+
};
|
|
538
|
+
export type $ProductOptionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
539
|
+
name: "ProductOption";
|
|
540
|
+
objects: {
|
|
541
|
+
product: Prisma.$ProductPayload<ExtArgs>;
|
|
542
|
+
values: Prisma.$ProductOptionValuePayload<ExtArgs>[];
|
|
543
|
+
};
|
|
544
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
545
|
+
id: string;
|
|
546
|
+
productId: string;
|
|
547
|
+
name: string;
|
|
548
|
+
nameAr: string | null;
|
|
549
|
+
sortOrder: number;
|
|
550
|
+
}, ExtArgs["result"]["productOption"]>;
|
|
551
|
+
composites: {};
|
|
552
|
+
};
|
|
553
|
+
export type ProductOptionGetPayload<S extends boolean | null | undefined | ProductOptionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload, S>;
|
|
554
|
+
export type ProductOptionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductOptionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
555
|
+
select?: ProductOptionCountAggregateInputType | true;
|
|
556
|
+
};
|
|
557
|
+
export interface ProductOptionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
558
|
+
[K: symbol]: {
|
|
559
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ProductOption'];
|
|
560
|
+
meta: {
|
|
561
|
+
name: 'ProductOption';
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* Find zero or one ProductOption that matches the filter.
|
|
566
|
+
* @param {ProductOptionFindUniqueArgs} args - Arguments to find a ProductOption
|
|
567
|
+
* @example
|
|
568
|
+
* // Get one ProductOption
|
|
569
|
+
* const productOption = await prisma.productOption.findUnique({
|
|
570
|
+
* where: {
|
|
571
|
+
* // ... provide filter here
|
|
572
|
+
* }
|
|
573
|
+
* })
|
|
574
|
+
*/
|
|
575
|
+
findUnique<T extends ProductOptionFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductOptionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
576
|
+
/**
|
|
577
|
+
* Find one ProductOption that matches the filter or throw an error with `error.code='P2025'`
|
|
578
|
+
* if no matches were found.
|
|
579
|
+
* @param {ProductOptionFindUniqueOrThrowArgs} args - Arguments to find a ProductOption
|
|
580
|
+
* @example
|
|
581
|
+
* // Get one ProductOption
|
|
582
|
+
* const productOption = await prisma.productOption.findUniqueOrThrow({
|
|
583
|
+
* where: {
|
|
584
|
+
* // ... provide filter here
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*/
|
|
588
|
+
findUniqueOrThrow<T extends ProductOptionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductOptionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
589
|
+
/**
|
|
590
|
+
* Find the first ProductOption that matches the filter.
|
|
591
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
592
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
593
|
+
* @param {ProductOptionFindFirstArgs} args - Arguments to find a ProductOption
|
|
594
|
+
* @example
|
|
595
|
+
* // Get one ProductOption
|
|
596
|
+
* const productOption = await prisma.productOption.findFirst({
|
|
597
|
+
* where: {
|
|
598
|
+
* // ... provide filter here
|
|
599
|
+
* }
|
|
600
|
+
* })
|
|
601
|
+
*/
|
|
602
|
+
findFirst<T extends ProductOptionFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductOptionFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
603
|
+
/**
|
|
604
|
+
* Find the first ProductOption that matches the filter or
|
|
605
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
606
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
607
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
608
|
+
* @param {ProductOptionFindFirstOrThrowArgs} args - Arguments to find a ProductOption
|
|
609
|
+
* @example
|
|
610
|
+
* // Get one ProductOption
|
|
611
|
+
* const productOption = await prisma.productOption.findFirstOrThrow({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* }
|
|
615
|
+
* })
|
|
616
|
+
*/
|
|
617
|
+
findFirstOrThrow<T extends ProductOptionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductOptionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
618
|
+
/**
|
|
619
|
+
* Find zero or more ProductOptions that matches the filter.
|
|
620
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
621
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
622
|
+
* @param {ProductOptionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
623
|
+
* @example
|
|
624
|
+
* // Get all ProductOptions
|
|
625
|
+
* const productOptions = await prisma.productOption.findMany()
|
|
626
|
+
*
|
|
627
|
+
* // Get first 10 ProductOptions
|
|
628
|
+
* const productOptions = await prisma.productOption.findMany({ take: 10 })
|
|
629
|
+
*
|
|
630
|
+
* // Only select the `id`
|
|
631
|
+
* const productOptionWithIdOnly = await prisma.productOption.findMany({ select: { id: true } })
|
|
632
|
+
*
|
|
633
|
+
*/
|
|
634
|
+
findMany<T extends ProductOptionFindManyArgs>(args?: Prisma.SelectSubset<T, ProductOptionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
635
|
+
/**
|
|
636
|
+
* Create a ProductOption.
|
|
637
|
+
* @param {ProductOptionCreateArgs} args - Arguments to create a ProductOption.
|
|
638
|
+
* @example
|
|
639
|
+
* // Create one ProductOption
|
|
640
|
+
* const ProductOption = await prisma.productOption.create({
|
|
641
|
+
* data: {
|
|
642
|
+
* // ... data to create a ProductOption
|
|
643
|
+
* }
|
|
644
|
+
* })
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
create<T extends ProductOptionCreateArgs>(args: Prisma.SelectSubset<T, ProductOptionCreateArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
648
|
+
/**
|
|
649
|
+
* Create many ProductOptions.
|
|
650
|
+
* @param {ProductOptionCreateManyArgs} args - Arguments to create many ProductOptions.
|
|
651
|
+
* @example
|
|
652
|
+
* // Create many ProductOptions
|
|
653
|
+
* const productOption = await prisma.productOption.createMany({
|
|
654
|
+
* data: [
|
|
655
|
+
* // ... provide data here
|
|
656
|
+
* ]
|
|
657
|
+
* })
|
|
658
|
+
*
|
|
659
|
+
*/
|
|
660
|
+
createMany<T extends ProductOptionCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductOptionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
661
|
+
/**
|
|
662
|
+
* Create many ProductOptions and returns the data saved in the database.
|
|
663
|
+
* @param {ProductOptionCreateManyAndReturnArgs} args - Arguments to create many ProductOptions.
|
|
664
|
+
* @example
|
|
665
|
+
* // Create many ProductOptions
|
|
666
|
+
* const productOption = await prisma.productOption.createManyAndReturn({
|
|
667
|
+
* data: [
|
|
668
|
+
* // ... provide data here
|
|
669
|
+
* ]
|
|
670
|
+
* })
|
|
671
|
+
*
|
|
672
|
+
* // Create many ProductOptions and only return the `id`
|
|
673
|
+
* const productOptionWithIdOnly = await prisma.productOption.createManyAndReturn({
|
|
674
|
+
* select: { id: true },
|
|
675
|
+
* data: [
|
|
676
|
+
* // ... provide data here
|
|
677
|
+
* ]
|
|
678
|
+
* })
|
|
679
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
680
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
681
|
+
*
|
|
682
|
+
*/
|
|
683
|
+
createManyAndReturn<T extends ProductOptionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductOptionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
684
|
+
/**
|
|
685
|
+
* Delete a ProductOption.
|
|
686
|
+
* @param {ProductOptionDeleteArgs} args - Arguments to delete one ProductOption.
|
|
687
|
+
* @example
|
|
688
|
+
* // Delete one ProductOption
|
|
689
|
+
* const ProductOption = await prisma.productOption.delete({
|
|
690
|
+
* where: {
|
|
691
|
+
* // ... filter to delete one ProductOption
|
|
692
|
+
* }
|
|
693
|
+
* })
|
|
694
|
+
*
|
|
695
|
+
*/
|
|
696
|
+
delete<T extends ProductOptionDeleteArgs>(args: Prisma.SelectSubset<T, ProductOptionDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
697
|
+
/**
|
|
698
|
+
* Update one ProductOption.
|
|
699
|
+
* @param {ProductOptionUpdateArgs} args - Arguments to update one ProductOption.
|
|
700
|
+
* @example
|
|
701
|
+
* // Update one ProductOption
|
|
702
|
+
* const productOption = await prisma.productOption.update({
|
|
703
|
+
* where: {
|
|
704
|
+
* // ... provide filter here
|
|
705
|
+
* },
|
|
706
|
+
* data: {
|
|
707
|
+
* // ... provide data here
|
|
708
|
+
* }
|
|
709
|
+
* })
|
|
710
|
+
*
|
|
711
|
+
*/
|
|
712
|
+
update<T extends ProductOptionUpdateArgs>(args: Prisma.SelectSubset<T, ProductOptionUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
713
|
+
/**
|
|
714
|
+
* Delete zero or more ProductOptions.
|
|
715
|
+
* @param {ProductOptionDeleteManyArgs} args - Arguments to filter ProductOptions to delete.
|
|
716
|
+
* @example
|
|
717
|
+
* // Delete a few ProductOptions
|
|
718
|
+
* const { count } = await prisma.productOption.deleteMany({
|
|
719
|
+
* where: {
|
|
720
|
+
* // ... provide filter here
|
|
721
|
+
* }
|
|
722
|
+
* })
|
|
723
|
+
*
|
|
724
|
+
*/
|
|
725
|
+
deleteMany<T extends ProductOptionDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductOptionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
726
|
+
/**
|
|
727
|
+
* Update zero or more ProductOptions.
|
|
728
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
729
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
730
|
+
* @param {ProductOptionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
731
|
+
* @example
|
|
732
|
+
* // Update many ProductOptions
|
|
733
|
+
* const productOption = await prisma.productOption.updateMany({
|
|
734
|
+
* where: {
|
|
735
|
+
* // ... provide filter here
|
|
736
|
+
* },
|
|
737
|
+
* data: {
|
|
738
|
+
* // ... provide data here
|
|
739
|
+
* }
|
|
740
|
+
* })
|
|
741
|
+
*
|
|
742
|
+
*/
|
|
743
|
+
updateMany<T extends ProductOptionUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductOptionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
744
|
+
/**
|
|
745
|
+
* Update zero or more ProductOptions and returns the data updated in the database.
|
|
746
|
+
* @param {ProductOptionUpdateManyAndReturnArgs} args - Arguments to update many ProductOptions.
|
|
747
|
+
* @example
|
|
748
|
+
* // Update many ProductOptions
|
|
749
|
+
* const productOption = await prisma.productOption.updateManyAndReturn({
|
|
750
|
+
* where: {
|
|
751
|
+
* // ... provide filter here
|
|
752
|
+
* },
|
|
753
|
+
* data: [
|
|
754
|
+
* // ... provide data here
|
|
755
|
+
* ]
|
|
756
|
+
* })
|
|
757
|
+
*
|
|
758
|
+
* // Update zero or more ProductOptions and only return the `id`
|
|
759
|
+
* const productOptionWithIdOnly = await prisma.productOption.updateManyAndReturn({
|
|
760
|
+
* select: { id: true },
|
|
761
|
+
* where: {
|
|
762
|
+
* // ... provide filter here
|
|
763
|
+
* },
|
|
764
|
+
* data: [
|
|
765
|
+
* // ... provide data here
|
|
766
|
+
* ]
|
|
767
|
+
* })
|
|
768
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
769
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
770
|
+
*
|
|
771
|
+
*/
|
|
772
|
+
updateManyAndReturn<T extends ProductOptionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductOptionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
773
|
+
/**
|
|
774
|
+
* Create or update one ProductOption.
|
|
775
|
+
* @param {ProductOptionUpsertArgs} args - Arguments to update or create a ProductOption.
|
|
776
|
+
* @example
|
|
777
|
+
* // Update or create a ProductOption
|
|
778
|
+
* const productOption = await prisma.productOption.upsert({
|
|
779
|
+
* create: {
|
|
780
|
+
* // ... data to create a ProductOption
|
|
781
|
+
* },
|
|
782
|
+
* update: {
|
|
783
|
+
* // ... in case it already exists, update
|
|
784
|
+
* },
|
|
785
|
+
* where: {
|
|
786
|
+
* // ... the filter for the ProductOption we want to update
|
|
787
|
+
* }
|
|
788
|
+
* })
|
|
789
|
+
*/
|
|
790
|
+
upsert<T extends ProductOptionUpsertArgs>(args: Prisma.SelectSubset<T, ProductOptionUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
791
|
+
/**
|
|
792
|
+
* Count the number of ProductOptions.
|
|
793
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
794
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
795
|
+
* @param {ProductOptionCountArgs} args - Arguments to filter ProductOptions to count.
|
|
796
|
+
* @example
|
|
797
|
+
* // Count the number of ProductOptions
|
|
798
|
+
* const count = await prisma.productOption.count({
|
|
799
|
+
* where: {
|
|
800
|
+
* // ... the filter for the ProductOptions we want to count
|
|
801
|
+
* }
|
|
802
|
+
* })
|
|
803
|
+
**/
|
|
804
|
+
count<T extends ProductOptionCountArgs>(args?: Prisma.Subset<T, ProductOptionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductOptionCountAggregateOutputType> : number>;
|
|
805
|
+
/**
|
|
806
|
+
* Allows you to perform aggregations operations on a ProductOption.
|
|
807
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
808
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
809
|
+
* @param {ProductOptionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
810
|
+
* @example
|
|
811
|
+
* // Ordered by age ascending
|
|
812
|
+
* // Where email contains prisma.io
|
|
813
|
+
* // Limited to the 10 users
|
|
814
|
+
* const aggregations = await prisma.user.aggregate({
|
|
815
|
+
* _avg: {
|
|
816
|
+
* age: true,
|
|
817
|
+
* },
|
|
818
|
+
* where: {
|
|
819
|
+
* email: {
|
|
820
|
+
* contains: "prisma.io",
|
|
821
|
+
* },
|
|
822
|
+
* },
|
|
823
|
+
* orderBy: {
|
|
824
|
+
* age: "asc",
|
|
825
|
+
* },
|
|
826
|
+
* take: 10,
|
|
827
|
+
* })
|
|
828
|
+
**/
|
|
829
|
+
aggregate<T extends ProductOptionAggregateArgs>(args: Prisma.Subset<T, ProductOptionAggregateArgs>): Prisma.PrismaPromise<GetProductOptionAggregateType<T>>;
|
|
830
|
+
/**
|
|
831
|
+
* Group by ProductOption.
|
|
832
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
833
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
834
|
+
* @param {ProductOptionGroupByArgs} args - Group by arguments.
|
|
835
|
+
* @example
|
|
836
|
+
* // Group by city, order by createdAt, get count
|
|
837
|
+
* const result = await prisma.user.groupBy({
|
|
838
|
+
* by: ['city', 'createdAt'],
|
|
839
|
+
* orderBy: {
|
|
840
|
+
* createdAt: true
|
|
841
|
+
* },
|
|
842
|
+
* _count: {
|
|
843
|
+
* _all: true
|
|
844
|
+
* },
|
|
845
|
+
* })
|
|
846
|
+
*
|
|
847
|
+
**/
|
|
848
|
+
groupBy<T extends ProductOptionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
849
|
+
orderBy: ProductOptionGroupByArgs['orderBy'];
|
|
850
|
+
} : {
|
|
851
|
+
orderBy?: ProductOptionGroupByArgs['orderBy'];
|
|
852
|
+
}, 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 ? {
|
|
853
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
854
|
+
Error,
|
|
855
|
+
'Field ',
|
|
856
|
+
P,
|
|
857
|
+
` in "having" needs to be provided in "by"`
|
|
858
|
+
];
|
|
859
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
860
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
861
|
+
}[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 ? {} : {
|
|
862
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
863
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
864
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
865
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductOptionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductOptionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
866
|
+
/**
|
|
867
|
+
* Fields of the ProductOption model
|
|
868
|
+
*/
|
|
869
|
+
readonly fields: ProductOptionFieldRefs;
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* The delegate class that acts as a "Promise-like" for ProductOption.
|
|
873
|
+
* Why is this prefixed with `Prisma__`?
|
|
874
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
875
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
876
|
+
*/
|
|
877
|
+
export interface Prisma__ProductOptionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
878
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
879
|
+
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>;
|
|
880
|
+
values<T extends Prisma.ProductOption$valuesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductOption$valuesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
881
|
+
/**
|
|
882
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
883
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
884
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
885
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
886
|
+
*/
|
|
887
|
+
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>;
|
|
888
|
+
/**
|
|
889
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
890
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
891
|
+
* @returns A Promise for the completion of the callback.
|
|
892
|
+
*/
|
|
893
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
894
|
+
/**
|
|
895
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
896
|
+
* resolved value cannot be modified from the callback.
|
|
897
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
898
|
+
* @returns A Promise for the completion of the callback.
|
|
899
|
+
*/
|
|
900
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Fields of the ProductOption model
|
|
904
|
+
*/
|
|
905
|
+
export interface ProductOptionFieldRefs {
|
|
906
|
+
readonly id: Prisma.FieldRef<"ProductOption", 'String'>;
|
|
907
|
+
readonly productId: Prisma.FieldRef<"ProductOption", 'String'>;
|
|
908
|
+
readonly name: Prisma.FieldRef<"ProductOption", 'String'>;
|
|
909
|
+
readonly nameAr: Prisma.FieldRef<"ProductOption", 'String'>;
|
|
910
|
+
readonly sortOrder: Prisma.FieldRef<"ProductOption", 'Int'>;
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* ProductOption findUnique
|
|
914
|
+
*/
|
|
915
|
+
export type ProductOptionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
916
|
+
/**
|
|
917
|
+
* Select specific fields to fetch from the ProductOption
|
|
918
|
+
*/
|
|
919
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
920
|
+
/**
|
|
921
|
+
* Omit specific fields from the ProductOption
|
|
922
|
+
*/
|
|
923
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
924
|
+
/**
|
|
925
|
+
* Choose, which related nodes to fetch as well
|
|
926
|
+
*/
|
|
927
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
928
|
+
/**
|
|
929
|
+
* Filter, which ProductOption to fetch.
|
|
930
|
+
*/
|
|
931
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
* ProductOption findUniqueOrThrow
|
|
935
|
+
*/
|
|
936
|
+
export type ProductOptionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
937
|
+
/**
|
|
938
|
+
* Select specific fields to fetch from the ProductOption
|
|
939
|
+
*/
|
|
940
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
941
|
+
/**
|
|
942
|
+
* Omit specific fields from the ProductOption
|
|
943
|
+
*/
|
|
944
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
945
|
+
/**
|
|
946
|
+
* Choose, which related nodes to fetch as well
|
|
947
|
+
*/
|
|
948
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
949
|
+
/**
|
|
950
|
+
* Filter, which ProductOption to fetch.
|
|
951
|
+
*/
|
|
952
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* ProductOption findFirst
|
|
956
|
+
*/
|
|
957
|
+
export type ProductOptionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
/**
|
|
959
|
+
* Select specific fields to fetch from the ProductOption
|
|
960
|
+
*/
|
|
961
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
962
|
+
/**
|
|
963
|
+
* Omit specific fields from the ProductOption
|
|
964
|
+
*/
|
|
965
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Choose, which related nodes to fetch as well
|
|
968
|
+
*/
|
|
969
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
970
|
+
/**
|
|
971
|
+
* Filter, which ProductOption to fetch.
|
|
972
|
+
*/
|
|
973
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
974
|
+
/**
|
|
975
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
976
|
+
*
|
|
977
|
+
* Determine the order of ProductOptions to fetch.
|
|
978
|
+
*/
|
|
979
|
+
orderBy?: Prisma.ProductOptionOrderByWithRelationInput | Prisma.ProductOptionOrderByWithRelationInput[];
|
|
980
|
+
/**
|
|
981
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
982
|
+
*
|
|
983
|
+
* Sets the position for searching for ProductOptions.
|
|
984
|
+
*/
|
|
985
|
+
cursor?: Prisma.ProductOptionWhereUniqueInput;
|
|
986
|
+
/**
|
|
987
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
988
|
+
*
|
|
989
|
+
* Take `±n` ProductOptions from the position of the cursor.
|
|
990
|
+
*/
|
|
991
|
+
take?: number;
|
|
992
|
+
/**
|
|
993
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
994
|
+
*
|
|
995
|
+
* Skip the first `n` ProductOptions.
|
|
996
|
+
*/
|
|
997
|
+
skip?: number;
|
|
998
|
+
/**
|
|
999
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1000
|
+
*
|
|
1001
|
+
* Filter by unique combinations of ProductOptions.
|
|
1002
|
+
*/
|
|
1003
|
+
distinct?: Prisma.ProductOptionScalarFieldEnum | Prisma.ProductOptionScalarFieldEnum[];
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* ProductOption findFirstOrThrow
|
|
1007
|
+
*/
|
|
1008
|
+
export type ProductOptionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1009
|
+
/**
|
|
1010
|
+
* Select specific fields to fetch from the ProductOption
|
|
1011
|
+
*/
|
|
1012
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* Omit specific fields from the ProductOption
|
|
1015
|
+
*/
|
|
1016
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Choose, which related nodes to fetch as well
|
|
1019
|
+
*/
|
|
1020
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Filter, which ProductOption to fetch.
|
|
1023
|
+
*/
|
|
1024
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
1025
|
+
/**
|
|
1026
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1027
|
+
*
|
|
1028
|
+
* Determine the order of ProductOptions to fetch.
|
|
1029
|
+
*/
|
|
1030
|
+
orderBy?: Prisma.ProductOptionOrderByWithRelationInput | Prisma.ProductOptionOrderByWithRelationInput[];
|
|
1031
|
+
/**
|
|
1032
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1033
|
+
*
|
|
1034
|
+
* Sets the position for searching for ProductOptions.
|
|
1035
|
+
*/
|
|
1036
|
+
cursor?: Prisma.ProductOptionWhereUniqueInput;
|
|
1037
|
+
/**
|
|
1038
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1039
|
+
*
|
|
1040
|
+
* Take `±n` ProductOptions from the position of the cursor.
|
|
1041
|
+
*/
|
|
1042
|
+
take?: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1045
|
+
*
|
|
1046
|
+
* Skip the first `n` ProductOptions.
|
|
1047
|
+
*/
|
|
1048
|
+
skip?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1051
|
+
*
|
|
1052
|
+
* Filter by unique combinations of ProductOptions.
|
|
1053
|
+
*/
|
|
1054
|
+
distinct?: Prisma.ProductOptionScalarFieldEnum | Prisma.ProductOptionScalarFieldEnum[];
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* ProductOption findMany
|
|
1058
|
+
*/
|
|
1059
|
+
export type ProductOptionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the ProductOption
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the ProductOption
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* Filter, which ProductOptions to fetch.
|
|
1074
|
+
*/
|
|
1075
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
1076
|
+
/**
|
|
1077
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1078
|
+
*
|
|
1079
|
+
* Determine the order of ProductOptions to fetch.
|
|
1080
|
+
*/
|
|
1081
|
+
orderBy?: Prisma.ProductOptionOrderByWithRelationInput | Prisma.ProductOptionOrderByWithRelationInput[];
|
|
1082
|
+
/**
|
|
1083
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1084
|
+
*
|
|
1085
|
+
* Sets the position for listing ProductOptions.
|
|
1086
|
+
*/
|
|
1087
|
+
cursor?: Prisma.ProductOptionWhereUniqueInput;
|
|
1088
|
+
/**
|
|
1089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1090
|
+
*
|
|
1091
|
+
* Take `±n` ProductOptions from the position of the cursor.
|
|
1092
|
+
*/
|
|
1093
|
+
take?: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Skip the first `n` ProductOptions.
|
|
1098
|
+
*/
|
|
1099
|
+
skip?: number;
|
|
1100
|
+
distinct?: Prisma.ProductOptionScalarFieldEnum | Prisma.ProductOptionScalarFieldEnum[];
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* ProductOption create
|
|
1104
|
+
*/
|
|
1105
|
+
export type ProductOptionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
+
/**
|
|
1107
|
+
* Select specific fields to fetch from the ProductOption
|
|
1108
|
+
*/
|
|
1109
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* Omit specific fields from the ProductOption
|
|
1112
|
+
*/
|
|
1113
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1114
|
+
/**
|
|
1115
|
+
* Choose, which related nodes to fetch as well
|
|
1116
|
+
*/
|
|
1117
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* The data needed to create a ProductOption.
|
|
1120
|
+
*/
|
|
1121
|
+
data: Prisma.XOR<Prisma.ProductOptionCreateInput, Prisma.ProductOptionUncheckedCreateInput>;
|
|
1122
|
+
};
|
|
1123
|
+
/**
|
|
1124
|
+
* ProductOption createMany
|
|
1125
|
+
*/
|
|
1126
|
+
export type ProductOptionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
+
/**
|
|
1128
|
+
* The data used to create many ProductOptions.
|
|
1129
|
+
*/
|
|
1130
|
+
data: Prisma.ProductOptionCreateManyInput | Prisma.ProductOptionCreateManyInput[];
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* ProductOption createManyAndReturn
|
|
1134
|
+
*/
|
|
1135
|
+
export type ProductOptionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Select specific fields to fetch from the ProductOption
|
|
1138
|
+
*/
|
|
1139
|
+
select?: Prisma.ProductOptionSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1140
|
+
/**
|
|
1141
|
+
* Omit specific fields from the ProductOption
|
|
1142
|
+
*/
|
|
1143
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1144
|
+
/**
|
|
1145
|
+
* The data used to create many ProductOptions.
|
|
1146
|
+
*/
|
|
1147
|
+
data: Prisma.ProductOptionCreateManyInput | Prisma.ProductOptionCreateManyInput[];
|
|
1148
|
+
/**
|
|
1149
|
+
* Choose, which related nodes to fetch as well
|
|
1150
|
+
*/
|
|
1151
|
+
include?: Prisma.ProductOptionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1152
|
+
};
|
|
1153
|
+
/**
|
|
1154
|
+
* ProductOption update
|
|
1155
|
+
*/
|
|
1156
|
+
export type ProductOptionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1157
|
+
/**
|
|
1158
|
+
* Select specific fields to fetch from the ProductOption
|
|
1159
|
+
*/
|
|
1160
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* Omit specific fields from the ProductOption
|
|
1163
|
+
*/
|
|
1164
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
1168
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* The data needed to update a ProductOption.
|
|
1171
|
+
*/
|
|
1172
|
+
data: Prisma.XOR<Prisma.ProductOptionUpdateInput, Prisma.ProductOptionUncheckedUpdateInput>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Choose, which ProductOption to update.
|
|
1175
|
+
*/
|
|
1176
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* ProductOption updateMany
|
|
1180
|
+
*/
|
|
1181
|
+
export type ProductOptionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1182
|
+
/**
|
|
1183
|
+
* The data used to update ProductOptions.
|
|
1184
|
+
*/
|
|
1185
|
+
data: Prisma.XOR<Prisma.ProductOptionUpdateManyMutationInput, Prisma.ProductOptionUncheckedUpdateManyInput>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Filter which ProductOptions to update
|
|
1188
|
+
*/
|
|
1189
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
1190
|
+
/**
|
|
1191
|
+
* Limit how many ProductOptions to update.
|
|
1192
|
+
*/
|
|
1193
|
+
limit?: number;
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* ProductOption updateManyAndReturn
|
|
1197
|
+
*/
|
|
1198
|
+
export type ProductOptionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* Select specific fields to fetch from the ProductOption
|
|
1201
|
+
*/
|
|
1202
|
+
select?: Prisma.ProductOptionSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1203
|
+
/**
|
|
1204
|
+
* Omit specific fields from the ProductOption
|
|
1205
|
+
*/
|
|
1206
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1207
|
+
/**
|
|
1208
|
+
* The data used to update ProductOptions.
|
|
1209
|
+
*/
|
|
1210
|
+
data: Prisma.XOR<Prisma.ProductOptionUpdateManyMutationInput, Prisma.ProductOptionUncheckedUpdateManyInput>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Filter which ProductOptions to update
|
|
1213
|
+
*/
|
|
1214
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
1215
|
+
/**
|
|
1216
|
+
* Limit how many ProductOptions to update.
|
|
1217
|
+
*/
|
|
1218
|
+
limit?: number;
|
|
1219
|
+
/**
|
|
1220
|
+
* Choose, which related nodes to fetch as well
|
|
1221
|
+
*/
|
|
1222
|
+
include?: Prisma.ProductOptionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1223
|
+
};
|
|
1224
|
+
/**
|
|
1225
|
+
* ProductOption upsert
|
|
1226
|
+
*/
|
|
1227
|
+
export type ProductOptionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1228
|
+
/**
|
|
1229
|
+
* Select specific fields to fetch from the ProductOption
|
|
1230
|
+
*/
|
|
1231
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Omit specific fields from the ProductOption
|
|
1234
|
+
*/
|
|
1235
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* Choose, which related nodes to fetch as well
|
|
1238
|
+
*/
|
|
1239
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* The filter to search for the ProductOption to update in case it exists.
|
|
1242
|
+
*/
|
|
1243
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
1244
|
+
/**
|
|
1245
|
+
* In case the ProductOption found by the `where` argument doesn't exist, create a new ProductOption with this data.
|
|
1246
|
+
*/
|
|
1247
|
+
create: Prisma.XOR<Prisma.ProductOptionCreateInput, Prisma.ProductOptionUncheckedCreateInput>;
|
|
1248
|
+
/**
|
|
1249
|
+
* In case the ProductOption was found with the provided `where` argument, update it with this data.
|
|
1250
|
+
*/
|
|
1251
|
+
update: Prisma.XOR<Prisma.ProductOptionUpdateInput, Prisma.ProductOptionUncheckedUpdateInput>;
|
|
1252
|
+
};
|
|
1253
|
+
/**
|
|
1254
|
+
* ProductOption delete
|
|
1255
|
+
*/
|
|
1256
|
+
export type ProductOptionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Select specific fields to fetch from the ProductOption
|
|
1259
|
+
*/
|
|
1260
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Omit specific fields from the ProductOption
|
|
1263
|
+
*/
|
|
1264
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Choose, which related nodes to fetch as well
|
|
1267
|
+
*/
|
|
1268
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Filter which ProductOption to delete.
|
|
1271
|
+
*/
|
|
1272
|
+
where: Prisma.ProductOptionWhereUniqueInput;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* ProductOption deleteMany
|
|
1276
|
+
*/
|
|
1277
|
+
export type ProductOptionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Filter which ProductOptions to delete
|
|
1280
|
+
*/
|
|
1281
|
+
where?: Prisma.ProductOptionWhereInput;
|
|
1282
|
+
/**
|
|
1283
|
+
* Limit how many ProductOptions to delete.
|
|
1284
|
+
*/
|
|
1285
|
+
limit?: number;
|
|
1286
|
+
};
|
|
1287
|
+
/**
|
|
1288
|
+
* ProductOption.values
|
|
1289
|
+
*/
|
|
1290
|
+
export type ProductOption$valuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1291
|
+
/**
|
|
1292
|
+
* Select specific fields to fetch from the ProductOptionValue
|
|
1293
|
+
*/
|
|
1294
|
+
select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
|
|
1295
|
+
/**
|
|
1296
|
+
* Omit specific fields from the ProductOptionValue
|
|
1297
|
+
*/
|
|
1298
|
+
omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
|
|
1299
|
+
/**
|
|
1300
|
+
* Choose, which related nodes to fetch as well
|
|
1301
|
+
*/
|
|
1302
|
+
include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
|
|
1303
|
+
where?: Prisma.ProductOptionValueWhereInput;
|
|
1304
|
+
orderBy?: Prisma.ProductOptionValueOrderByWithRelationInput | Prisma.ProductOptionValueOrderByWithRelationInput[];
|
|
1305
|
+
cursor?: Prisma.ProductOptionValueWhereUniqueInput;
|
|
1306
|
+
take?: number;
|
|
1307
|
+
skip?: number;
|
|
1308
|
+
distinct?: Prisma.ProductOptionValueScalarFieldEnum | Prisma.ProductOptionValueScalarFieldEnum[];
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* ProductOption without action
|
|
1312
|
+
*/
|
|
1313
|
+
export type ProductOptionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1314
|
+
/**
|
|
1315
|
+
* Select specific fields to fetch from the ProductOption
|
|
1316
|
+
*/
|
|
1317
|
+
select?: Prisma.ProductOptionSelect<ExtArgs> | null;
|
|
1318
|
+
/**
|
|
1319
|
+
* Omit specific fields from the ProductOption
|
|
1320
|
+
*/
|
|
1321
|
+
omit?: Prisma.ProductOptionOmit<ExtArgs> | null;
|
|
1322
|
+
/**
|
|
1323
|
+
* Choose, which related nodes to fetch as well
|
|
1324
|
+
*/
|
|
1325
|
+
include?: Prisma.ProductOptionInclude<ExtArgs> | null;
|
|
1326
|
+
};
|
|
1327
|
+
export {};
|
|
1328
|
+
//# sourceMappingURL=ProductOption.d.ts.map
|