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