@evershop/evershop 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/build/index.js +1 -1
- package/dist/bin/lib/addDefaultMiddlewareFuncs.d.ts +1 -1
- package/dist/bin/lib/addDefaultMiddlewareFuncs.js +41 -110
- package/dist/bin/lib/addDefaultMiddlewareFuncs.js.map +1 -1
- package/dist/bin/lib/bootstrap/bootstrap.js.map +1 -1
- package/dist/bin/lib/buildEntry.js +8 -5
- package/dist/bin/lib/buildEntry.js.map +1 -1
- package/dist/bin/lib/devEnvHelper.d.ts +6 -0
- package/dist/bin/lib/devEnvHelper.js +42 -0
- package/dist/bin/lib/devEnvHelper.js.map +1 -0
- package/dist/bin/theme/twizz.js.map +1 -1
- package/dist/components/admin/AttributeGroupSelector.d.ts +0 -1
- package/dist/components/admin/AttributeGroupSelector.js +46 -49
- package/dist/components/admin/AttributeGroupSelector.js.map +1 -1
- package/dist/components/admin/CategorySelector.d.ts +0 -1
- package/dist/components/admin/CategorySelector.js +15 -16
- package/dist/components/admin/CategorySelector.js.map +1 -1
- package/dist/components/admin/CategoryTree.js +6 -9
- package/dist/components/admin/CategoryTree.js.map +1 -1
- package/dist/components/admin/CollectionSelector.d.ts +0 -1
- package/dist/components/admin/CollectionSelector.js +15 -16
- package/dist/components/admin/CollectionSelector.js.map +1 -1
- package/dist/components/admin/FileBrowser.js +59 -65
- package/dist/components/admin/FileBrowser.js.map +1 -1
- package/dist/components/admin/FormButtons.js +6 -6
- package/dist/components/admin/FormButtons.js.map +1 -1
- package/dist/components/admin/ImageUploader.js +7 -10
- package/dist/components/admin/ImageUploader.js.map +1 -1
- package/dist/components/admin/ImageUploader.scss +6 -6
- package/dist/components/admin/NavigationItem.js +21 -12
- package/dist/components/admin/NavigationItem.js.map +1 -1
- package/dist/components/admin/NavigationItemGroup.scss +2 -1
- package/dist/components/admin/ProductListSkeleton.d.ts +0 -1
- package/dist/components/admin/ProductListSkeleton.js +4 -7
- package/dist/components/admin/ProductListSkeleton.js.map +1 -1
- package/dist/components/admin/ProductSelector.js +11 -10
- package/dist/components/admin/ProductSelector.js.map +1 -1
- package/dist/components/admin/SettingMenu.d.ts +0 -1
- package/dist/components/admin/SettingMenu.js +2 -5
- package/dist/components/admin/SettingMenu.js.map +1 -1
- package/dist/components/admin/Spinner.js +2 -2
- package/dist/components/admin/Spinner.js.map +1 -1
- package/dist/components/admin/Status.js +5 -4
- package/dist/components/admin/Status.js.map +1 -1
- package/dist/components/admin/grid/GridPagination.d.ts +7 -0
- package/dist/components/admin/grid/GridPagination.js +99 -0
- package/dist/components/admin/grid/GridPagination.js.map +1 -0
- package/dist/components/admin/grid/Thumbnail.js +2 -1
- package/dist/components/admin/grid/Thumbnail.js.map +1 -1
- package/dist/components/admin/grid/header/Dummy.js +2 -1
- package/dist/components/admin/grid/header/Dummy.js.map +1 -1
- package/dist/components/admin/grid/header/Sortable.d.ts +0 -5
- package/dist/components/admin/grid/header/Sortable.js +4 -6
- package/dist/components/admin/grid/header/Sortable.js.map +1 -1
- package/dist/components/common/Area.js +203 -13
- package/dist/components/common/Area.js.map +1 -1
- package/dist/components/common/Editor.js +2 -1
- package/dist/components/common/Editor.js.map +1 -1
- package/dist/components/common/ExtendableTable.js +12 -12
- package/dist/components/common/ExtendableTable.js.map +1 -1
- package/dist/components/common/SimplePagination.js +9 -10
- package/dist/components/common/SimplePagination.js.map +1 -1
- package/dist/components/common/StaticImage.js +2 -2
- package/dist/components/common/StaticImage.js.map +1 -1
- package/dist/components/common/form/CheckboxField.js +27 -24
- package/dist/components/common/form/CheckboxField.js.map +1 -1
- package/dist/components/common/form/DateField.d.ts +1 -1
- package/dist/components/common/form/DateField.js +17 -15
- package/dist/components/common/form/DateField.js.map +1 -1
- package/dist/components/common/form/DateTimeLocalField.js +16 -14
- package/dist/components/common/form/DateTimeLocalField.js.map +1 -1
- package/dist/components/common/form/Editor.js +19 -14
- package/dist/components/common/form/Editor.js.map +1 -1
- package/dist/components/common/form/Editor.scss +29 -6
- package/dist/components/common/form/EmailField.d.ts +6 -11
- package/dist/components/common/form/EmailField.js +26 -42
- package/dist/components/common/form/EmailField.js.map +1 -1
- package/dist/components/common/form/FileField.js +14 -9
- package/dist/components/common/form/FileField.js.map +1 -1
- package/dist/components/common/form/Form.js +24 -7
- package/dist/components/common/form/Form.js.map +1 -1
- package/dist/components/common/form/InputField.d.ts +1 -1
- package/dist/components/common/form/InputField.js +22 -15
- package/dist/components/common/form/InputField.js.map +1 -1
- package/dist/components/common/form/NumberField.js +36 -39
- package/dist/components/common/form/NumberField.js.map +1 -1
- package/dist/components/common/form/PasswordField.d.ts +7 -11
- package/dist/components/common/form/PasswordField.js +28 -45
- package/dist/components/common/form/PasswordField.js.map +1 -1
- package/dist/components/common/form/RadioGroupField.d.ts +1 -2
- package/dist/components/common/form/RadioGroupField.js +19 -10
- package/dist/components/common/form/RadioGroupField.js.map +1 -1
- package/dist/components/common/form/RangeField.js +1 -1
- package/dist/components/common/form/RangeField.js.map +1 -1
- package/dist/components/common/form/ReactSelectCreatableField.d.ts +1 -1
- package/dist/components/common/form/ReactSelectCreatableField.js +74 -74
- package/dist/components/common/form/ReactSelectCreatableField.js.map +1 -1
- package/dist/components/common/form/ReactSelectField.js +32 -53
- package/dist/components/common/form/ReactSelectField.js.map +1 -1
- package/dist/components/common/form/SelectField.d.ts +7 -3
- package/dist/components/common/form/SelectField.js +28 -17
- package/dist/components/common/form/SelectField.js.map +1 -1
- package/dist/components/common/form/TelField.d.ts +1 -1
- package/dist/components/common/form/TelField.js +20 -15
- package/dist/components/common/form/TelField.js.map +1 -1
- package/dist/components/common/form/TextareaField.d.ts +1 -1
- package/dist/components/common/form/TextareaField.js +13 -10
- package/dist/components/common/form/TextareaField.js.map +1 -1
- package/dist/components/common/form/TimeField.js +16 -9
- package/dist/components/common/form/TimeField.js.map +1 -1
- package/dist/components/common/form/ToggleField.d.ts +2 -3
- package/dist/components/common/form/ToggleField.js +14 -73
- package/dist/components/common/form/ToggleField.js.map +1 -1
- package/dist/components/common/form/UrlField.js +16 -14
- package/dist/components/common/form/UrlField.js.map +1 -1
- package/dist/components/common/form/editor/RawToolWrapper.d.ts +24 -0
- package/dist/components/common/form/editor/RawToolWrapper.js +63 -0
- package/dist/components/common/form/editor/RawToolWrapper.js.map +1 -0
- package/dist/components/common/form/editor/RowTemplates.js +9 -9
- package/dist/components/common/form/editor/RowTemplates.js.map +1 -1
- package/dist/components/common/modal/Alert.js +11 -11
- package/dist/components/common/modal/Alert.js.map +1 -1
- package/dist/components/common/react/client/Client.js +4 -1
- package/dist/components/common/react/client/Client.js.map +1 -1
- package/dist/components/common/react/client/Index.js +1 -3
- package/dist/components/common/react/client/Index.js.map +1 -1
- package/dist/components/common/react/server/Server.d.ts +3 -1
- package/dist/components/common/react/server/Server.js +6 -3
- package/dist/components/common/react/server/Server.js.map +1 -1
- package/dist/components/common/react/server/render.d.ts +1 -1
- package/dist/components/common/react/server/render.js +2 -2
- package/dist/components/common/react/server/render.js.map +1 -1
- package/dist/components/common/ui/Accordion.d.ts +7 -0
- package/dist/components/common/ui/Accordion.js +23 -0
- package/dist/components/common/ui/Accordion.js.map +1 -0
- package/dist/components/common/ui/Alert.d.ts +10 -0
- package/dist/components/common/ui/Alert.js +28 -0
- package/dist/components/common/ui/Alert.js.map +1 -0
- package/dist/components/common/ui/AlertDialog.d.ts +18 -0
- package/dist/components/common/ui/AlertDialog.js +44 -0
- package/dist/components/common/ui/AlertDialog.js.map +1 -0
- package/dist/components/common/ui/AspectRatio.d.ts +5 -0
- package/dist/components/common/ui/AspectRatio.js +9 -0
- package/dist/components/common/ui/AspectRatio.js.map +1 -0
- package/dist/components/common/ui/Avatar.d.ts +11 -0
- package/dist/components/common/ui/Avatar.js +23 -0
- package/dist/components/common/ui/Avatar.js.map +1 -0
- package/dist/components/common/ui/Badge.d.ts +8 -0
- package/dist/components/common/ui/Badge.js +36 -0
- package/dist/components/common/ui/Badge.js.map +1 -0
- package/dist/components/common/ui/Breadcrumb.d.ts +10 -0
- package/dist/components/common/ui/Breadcrumb.js +39 -0
- package/dist/components/common/ui/Breadcrumb.js.map +1 -0
- package/dist/components/common/ui/Button.d.ts +11 -0
- package/dist/components/common/ui/Button.js +38 -0
- package/dist/components/common/ui/Button.js.map +1 -0
- package/dist/components/common/ui/ButtonGroup.d.ts +11 -0
- package/dist/components/common/ui/ButtonGroup.js +37 -0
- package/dist/components/common/ui/ButtonGroup.js.map +1 -0
- package/dist/components/common/ui/Card.d.ts +11 -0
- package/dist/components/common/ui/Card.js +25 -0
- package/dist/components/common/ui/Card.js.map +1 -0
- package/dist/components/common/ui/Chart.d.ts +40 -0
- package/dist/components/common/ui/Chart.js +145 -0
- package/dist/components/common/ui/Chart.js.map +1 -0
- package/dist/components/common/ui/Checkbox.d.ts +4 -0
- package/dist/components/common/ui/Checkbox.js +11 -0
- package/dist/components/common/ui/Checkbox.js.map +1 -0
- package/dist/components/common/ui/Circle.d.ts +7 -0
- package/dist/components/common/ui/Circle.js +57 -0
- package/dist/components/common/ui/Circle.js.map +1 -0
- package/dist/components/common/ui/Collapsible.d.ts +6 -0
- package/dist/components/common/ui/Collapsible.js +13 -0
- package/dist/components/common/ui/Collapsible.js.map +1 -0
- package/dist/components/common/ui/ContextMenu.d.ts +25 -0
- package/dist/components/common/ui/ContextMenu.js +63 -0
- package/dist/components/common/ui/ContextMenu.js.map +1 -0
- package/dist/components/common/ui/Dialog.d.ts +17 -0
- package/dist/components/common/ui/Dialog.js +45 -0
- package/dist/components/common/ui/Dialog.js.map +1 -0
- package/dist/components/common/ui/DropdownMenu.d.ts +25 -0
- package/dist/components/common/ui/DropdownMenu.js +63 -0
- package/dist/components/common/ui/DropdownMenu.js.map +1 -0
- package/dist/components/common/ui/Empty.d.ts +12 -0
- package/dist/components/common/ui/Empty.js +34 -0
- package/dist/components/common/ui/Empty.js.map +1 -0
- package/dist/components/common/ui/Field.d.ts +25 -0
- package/dist/components/common/ui/Field.js +70 -0
- package/dist/components/common/ui/Field.js.map +1 -0
- package/dist/components/common/ui/HoverCard.d.ts +6 -0
- package/dist/components/common/ui/HoverCard.js +16 -0
- package/dist/components/common/ui/HoverCard.js.map +1 -0
- package/dist/components/common/ui/Input.d.ts +3 -0
- package/dist/components/common/ui/Input.js +9 -0
- package/dist/components/common/ui/Input.js.map +1 -0
- package/dist/components/common/ui/InputGroup.d.ts +20 -0
- package/dist/components/common/ui/InputGroup.js +65 -0
- package/dist/components/common/ui/InputGroup.js.map +1 -0
- package/dist/components/common/ui/Item.d.ts +22 -0
- package/dist/components/common/ui/Item.js +79 -0
- package/dist/components/common/ui/Item.js.map +1 -0
- package/dist/components/common/ui/Kbd.d.ts +4 -0
- package/dist/components/common/ui/Kbd.js +10 -0
- package/dist/components/common/ui/Kbd.js.map +1 -0
- package/dist/components/common/ui/Label.d.ts +3 -0
- package/dist/components/common/ui/Label.js +7 -0
- package/dist/components/common/ui/Label.js.map +1 -0
- package/dist/components/common/ui/Menubar.d.ts +23 -0
- package/dist/components/common/ui/Menubar.js +64 -0
- package/dist/components/common/ui/Menubar.js.map +1 -0
- package/dist/components/common/ui/NavigationMenu.d.ts +12 -0
- package/dist/components/common/ui/NavigationMenu.js +41 -0
- package/dist/components/common/ui/NavigationMenu.js.map +1 -0
- package/dist/components/common/ui/Pagination.d.ts +13 -0
- package/dist/components/common/ui/Pagination.js +34 -0
- package/dist/components/common/ui/Pagination.js.map +1 -0
- package/dist/components/common/ui/Popover.d.ts +9 -0
- package/dist/components/common/ui/Popover.js +25 -0
- package/dist/components/common/ui/Popover.js.map +1 -0
- package/dist/components/common/ui/Progress.d.ts +8 -0
- package/dist/components/common/ui/Progress.js +23 -0
- package/dist/components/common/ui/Progress.js.map +1 -0
- package/dist/components/common/ui/RadioGroup.d.ts +6 -0
- package/dist/components/common/ui/RadioGroup.js +15 -0
- package/dist/components/common/ui/RadioGroup.js.map +1 -0
- package/dist/components/common/ui/ScrollArea.d.ts +5 -0
- package/dist/components/common/ui/ScrollArea.js +15 -0
- package/dist/components/common/ui/ScrollArea.js.map +1 -0
- package/dist/components/common/ui/Select.d.ts +15 -0
- package/dist/components/common/ui/Select.js +46 -0
- package/dist/components/common/ui/Select.js.map +1 -0
- package/dist/components/common/ui/Separator.d.ts +4 -0
- package/dist/components/common/ui/Separator.js +8 -0
- package/dist/components/common/ui/Separator.js.map +1 -0
- package/dist/components/common/ui/Sheet.d.ts +14 -0
- package/dist/components/common/ui/Sheet.js +43 -0
- package/dist/components/common/ui/Sheet.js.map +1 -0
- package/dist/components/common/ui/Sidebar.d.ts +63 -0
- package/dist/components/common/ui/Sidebar.js +272 -0
- package/dist/components/common/ui/Sidebar.js.map +1 -0
- package/dist/components/common/ui/Skeleton.d.ts +3 -0
- package/dist/components/common/ui/Skeleton.js +7 -0
- package/dist/components/common/ui/Skeleton.js.map +1 -0
- package/dist/components/common/ui/Slider.d.ts +4 -0
- package/dist/components/common/ui/Slider.js +17 -0
- package/dist/components/common/ui/Slider.js.map +1 -0
- package/dist/components/common/ui/Sonner.d.ts +5 -0
- package/dist/components/common/ui/Sonner.js +24 -0
- package/dist/components/common/ui/Sonner.js.map +1 -0
- package/dist/components/common/ui/Spinner.d.ts +3 -0
- package/dist/components/common/ui/Spinner.js +8 -0
- package/dist/components/common/ui/Spinner.js.map +1 -0
- package/dist/components/common/ui/Switch.d.ts +6 -0
- package/dist/components/common/ui/Switch.js +9 -0
- package/dist/components/common/ui/Switch.js.map +1 -0
- package/dist/components/common/ui/Table.d.ts +10 -0
- package/dist/components/common/ui/Table.js +29 -0
- package/dist/components/common/ui/Table.js.map +1 -0
- package/dist/components/common/ui/Tabs.d.ts +11 -0
- package/dist/components/common/ui/Tabs.js +29 -0
- package/dist/components/common/ui/Tabs.js.map +1 -0
- package/dist/components/common/ui/Textarea.d.ts +3 -0
- package/dist/components/common/ui/Textarea.js +8 -0
- package/dist/components/common/ui/Textarea.js.map +1 -0
- package/dist/components/common/ui/Toggle.d.ts +9 -0
- package/dist/components/common/ui/Toggle.js +26 -0
- package/dist/components/common/ui/Toggle.js.map +1 -0
- package/dist/components/common/ui/ToggleGroup.d.ts +11 -0
- package/dist/components/common/ui/ToggleGroup.js +24 -0
- package/dist/components/common/ui/ToggleGroup.js.map +1 -0
- package/dist/components/common/ui/Tooltip.d.ts +7 -0
- package/dist/components/common/ui/Tooltip.js +22 -0
- package/dist/components/common/ui/Tooltip.js.map +1 -0
- package/dist/components/common/ui/hooks/useIsMobile.d.ts +1 -0
- package/dist/components/common/ui/hooks/useIsMobile.js +16 -0
- package/dist/components/common/ui/hooks/useIsMobile.js.map +1 -0
- package/dist/components/frontStore/CouponForm.js +3 -3
- package/dist/components/frontStore/CouponForm.js.map +1 -1
- package/dist/components/frontStore/Footer.js +3 -1
- package/dist/components/frontStore/Footer.js.map +1 -1
- package/dist/components/frontStore/Pagination.js +46 -13
- package/dist/components/frontStore/Pagination.js.map +1 -1
- package/dist/components/frontStore/cart/CartContext.d.ts +4 -2
- package/dist/components/frontStore/cart/CartContext.js +1 -0
- package/dist/components/frontStore/cart/CartContext.js.map +1 -1
- package/dist/components/frontStore/cart/CartSummaryItems.js +17 -15
- package/dist/components/frontStore/cart/CartSummaryItems.js.map +1 -1
- package/dist/components/frontStore/cart/CartTotalSummary.d.ts +3 -0
- package/dist/components/frontStore/cart/CartTotalSummary.js +25 -10
- package/dist/components/frontStore/cart/CartTotalSummary.js.map +1 -1
- package/dist/components/frontStore/cart/DefaultCartItemList.js +28 -18
- package/dist/components/frontStore/cart/DefaultCartItemList.js.map +1 -1
- package/dist/components/frontStore/cart/DefaultMiniCartDropdown.d.ts +1 -0
- package/dist/components/frontStore/cart/DefaultMiniCartDropdown.js +10 -45
- package/dist/components/frontStore/cart/DefaultMiniCartDropdown.js.map +1 -1
- package/dist/components/frontStore/cart/DefaultMiniCartDropdownEmpty.js +5 -4
- package/dist/components/frontStore/cart/DefaultMiniCartDropdownEmpty.js.map +1 -1
- package/dist/components/frontStore/cart/DefaultMiniCartIcon.js +3 -3
- package/dist/components/frontStore/cart/DefaultMiniCartIcon.js.map +1 -1
- package/dist/components/frontStore/cart/DefaultMinicartDropdownSummary.d.ts +7 -0
- package/dist/components/frontStore/cart/DefaultMinicartDropdownSummary.js +29 -0
- package/dist/components/frontStore/cart/DefaultMinicartDropdownSummary.js.map +1 -0
- package/dist/components/frontStore/cart/MiniCart.d.ts +2 -1
- package/dist/components/frontStore/cart/MiniCart.js +2 -2
- package/dist/components/frontStore/cart/MiniCart.js.map +1 -1
- package/dist/components/frontStore/cart/ShoppingCartEmpty.js +6 -5
- package/dist/components/frontStore/cart/ShoppingCartEmpty.js.map +1 -1
- package/dist/components/frontStore/catalog/CategoryInfo.js +2 -2
- package/dist/components/frontStore/catalog/CategoryInfo.js.map +1 -1
- package/dist/components/frontStore/catalog/CategoryProductsFilter.js +2 -1
- package/dist/components/frontStore/catalog/CategoryProductsFilter.js.map +1 -1
- package/dist/components/frontStore/catalog/DefaultAttributeFilterRender.js +16 -16
- package/dist/components/frontStore/catalog/DefaultAttributeFilterRender.js.map +1 -1
- package/dist/components/frontStore/catalog/DefaultCategoryFilterRender.js +9 -12
- package/dist/components/frontStore/catalog/DefaultCategoryFilterRender.js.map +1 -1
- package/dist/components/frontStore/catalog/DefaultPriceFilterRender.d.ts +1 -2
- package/dist/components/frontStore/catalog/DefaultPriceFilterRender.js +5 -7
- package/dist/components/frontStore/catalog/DefaultPriceFilterRender.js.map +1 -1
- package/dist/components/frontStore/catalog/DefaultProductFilterRender.js +18 -23
- package/dist/components/frontStore/catalog/DefaultProductFilterRender.js.map +1 -1
- package/dist/components/frontStore/catalog/DefaultProductFilterSummary.js +6 -5
- package/dist/components/frontStore/catalog/DefaultProductFilterSummary.js.map +1 -1
- package/dist/components/frontStore/catalog/DefaultVariantSelectorRender.d.ts +1 -2
- package/dist/components/frontStore/catalog/DefaultVariantSelectorRender.js +6 -6
- package/dist/components/frontStore/catalog/DefaultVariantSelectorRender.js.map +1 -1
- package/dist/components/frontStore/catalog/ProductListItemRender.js +5 -15
- package/dist/components/frontStore/catalog/ProductListItemRender.js.map +1 -1
- package/dist/components/frontStore/catalog/ProductSingleForm.js +21 -11
- package/dist/components/frontStore/catalog/ProductSingleForm.js.map +1 -1
- package/dist/components/frontStore/catalog/ProductSorting.d.ts +2 -1
- package/dist/components/frontStore/catalog/ProductSorting.js +19 -10
- package/dist/components/frontStore/catalog/ProductSorting.js.map +1 -1
- package/dist/components/frontStore/catalog/SearchBox.d.ts +1 -1
- package/dist/components/frontStore/catalog/SearchBox.js +16 -16
- package/dist/components/frontStore/catalog/SearchBox.js.map +1 -1
- package/dist/components/frontStore/catalog/VariantSelector.js +1 -1
- package/dist/components/frontStore/catalog/VariantSelector.js.map +1 -1
- package/dist/components/frontStore/checkout/CheckoutButton.js +23 -9
- package/dist/components/frontStore/checkout/CheckoutButton.js.map +1 -1
- package/dist/components/frontStore/checkout/CheckoutContext.d.ts +10 -9
- package/dist/components/frontStore/checkout/CheckoutContext.js +40 -25
- package/dist/components/frontStore/checkout/CheckoutContext.js.map +1 -1
- package/dist/components/frontStore/checkout/ContactInformation.js +36 -24
- package/dist/components/frontStore/checkout/ContactInformation.js.map +1 -1
- package/dist/components/frontStore/checkout/OrderSummaryItems.js +7 -5
- package/dist/components/frontStore/checkout/OrderSummaryItems.js.map +1 -1
- package/dist/components/frontStore/checkout/Payment.js +24 -8
- package/dist/components/frontStore/checkout/Payment.js.map +1 -1
- package/dist/components/frontStore/checkout/Shipment.d.ts +1 -1
- package/dist/components/frontStore/checkout/Shipment.js +26 -8
- package/dist/components/frontStore/checkout/Shipment.js.map +1 -1
- package/dist/components/frontStore/checkout/payment/BillingAddress.d.ts +5 -2
- package/dist/components/frontStore/checkout/payment/BillingAddress.js +39 -34
- package/dist/components/frontStore/checkout/payment/BillingAddress.js.map +1 -1
- package/dist/components/frontStore/checkout/payment/PaymentMethods.js +38 -40
- package/dist/components/frontStore/checkout/payment/PaymentMethods.js.map +1 -1
- package/dist/components/frontStore/checkout/shipment/ShippingMethods.js +43 -31
- package/dist/components/frontStore/checkout/shipment/ShippingMethods.js.map +1 -1
- package/dist/components/frontStore/customer/AccountInfo.js +4 -5
- package/dist/components/frontStore/customer/AccountInfo.js.map +1 -1
- package/dist/components/frontStore/customer/CustomerContext.d.ts +7 -2
- package/dist/components/frontStore/customer/CustomerContext.js +4 -4
- package/dist/components/frontStore/customer/CustomerContext.js.map +1 -1
- package/dist/components/frontStore/customer/LoginForm.js +15 -10
- package/dist/components/frontStore/customer/LoginForm.js.map +1 -1
- package/dist/components/frontStore/customer/MyAddresses.js +65 -66
- package/dist/components/frontStore/customer/MyAddresses.js.map +1 -1
- package/dist/components/frontStore/customer/OrderHistory.js +4 -4
- package/dist/components/frontStore/customer/OrderHistory.js.map +1 -1
- package/dist/components/frontStore/customer/RegistrationForm.js +23 -8
- package/dist/components/frontStore/customer/RegistrationForm.js.map +1 -1
- package/dist/components/frontStore/customer/ResetPasswordForm.js +6 -6
- package/dist/components/frontStore/customer/ResetPasswordForm.js.map +1 -1
- package/dist/components/frontStore/customer/address/addressForm/AddressForm.js +4 -4
- package/dist/components/frontStore/customer/address/addressForm/AddressForm.js.map +1 -1
- package/dist/components/frontStore/customer/address/addressForm/Index.js +1 -1
- package/dist/components/frontStore/customer/address/addressForm/Index.js.map +1 -1
- package/dist/lib/componee/getComponentsByRoute.d.ts +11 -1
- package/dist/lib/componee/getComponentsByRoute.js +13 -1
- package/dist/lib/componee/getComponentsByRoute.js.map +1 -1
- package/dist/lib/componee/scanForComponents.d.ts +11 -2
- package/dist/lib/componee/scanForComponents.js.map +1 -1
- package/dist/lib/event/EventProcessor.d.ts +17 -0
- package/dist/lib/event/EventProcessor.js +63 -0
- package/dist/lib/event/EventProcessor.js.map +1 -0
- package/dist/lib/event/EventStorage.d.ts +36 -0
- package/dist/lib/event/EventStorage.js +49 -0
- package/dist/lib/event/EventStorage.js.map +1 -0
- package/dist/lib/event/callSubscibers.d.ts +1 -1
- package/dist/lib/event/callSubscibers.js +7 -11
- package/dist/lib/event/callSubscibers.js.map +1 -1
- package/dist/lib/event/emitter.js.map +1 -1
- package/dist/lib/event/event-manager.js +38 -71
- package/dist/lib/event/event-manager.js.map +1 -1
- package/dist/lib/event/loadSubscribers.d.ts +10 -1
- package/dist/lib/event/loadSubscribers.js +2 -4
- package/dist/lib/event/loadSubscribers.js.map +1 -1
- package/dist/lib/event/subscriber.d.ts +1 -1
- package/dist/lib/event/subscriber.js +1 -1
- package/dist/lib/event/tests/unit/EventProcessor.test.d.ts +1 -0
- package/dist/lib/event/tests/unit/EventProcessor.test.js +196 -0
- package/dist/lib/event/tests/unit/EventProcessor.test.js.map +1 -0
- package/dist/lib/event/tests/unit/callSubscribers.test.d.ts +1 -0
- package/dist/lib/event/tests/unit/callSubscribers.test.js +57 -0
- package/dist/lib/event/tests/unit/callSubscribers.test.js.map +1 -0
- package/dist/lib/helpers.d.ts +1 -1
- package/dist/lib/helpers.js +1 -1
- package/dist/lib/helpers.js.map +1 -1
- package/dist/lib/mail/emailHelper.d.ts +65 -0
- package/dist/lib/mail/emailHelper.js +203 -0
- package/dist/lib/mail/emailHelper.js.map +1 -0
- package/dist/lib/middleware/parseFromFile.js +1 -1
- package/dist/lib/middleware/parseFromFile.js.map +1 -1
- package/dist/lib/middlewares/bodyJson.d.ts +2 -1
- package/dist/lib/middlewares/bodyJson.js.map +1 -1
- package/dist/lib/middlewares/publicStatic.d.ts +2 -1
- package/dist/lib/middlewares/publicStatic.js.map +1 -1
- package/dist/lib/postgres/connection.d.ts +3 -1
- package/dist/lib/postgres/connection.js +16 -13
- package/dist/lib/postgres/connection.js.map +1 -1
- package/dist/lib/postgres/query.d.ts +296 -0
- package/dist/lib/postgres/query.js +42 -0
- package/dist/lib/postgres/query.js.map +1 -0
- package/dist/lib/response/render.js +12 -25
- package/dist/lib/response/render.js.map +1 -1
- package/dist/lib/router/buildAbsoluteUrl.js +2 -2
- package/dist/lib/router/buildAbsoluteUrl.js.map +1 -1
- package/dist/lib/util/cn.d.ts +2 -0
- package/dist/lib/util/cn.js +6 -0
- package/dist/lib/util/cn.js.map +1 -0
- package/dist/lib/util/getConfig.d.ts +137 -1
- package/dist/lib/util/getConfig.js +3 -1
- package/dist/lib/util/getConfig.js.map +1 -1
- package/dist/lib/util/hookable.d.ts +2 -2
- package/dist/lib/util/hookable.js.map +1 -1
- package/dist/lib/util/keyGenerator.d.ts +1 -0
- package/dist/lib/util/keyGenerator.js +22 -0
- package/dist/lib/util/keyGenerator.js.map +1 -0
- package/dist/lib/util/registry.d.ts +17 -2
- package/dist/lib/util/registry.js.map +1 -1
- package/dist/lib/util/sanitizeHtml.d.ts +16 -0
- package/dist/lib/util/sanitizeHtml.js +45 -0
- package/dist/lib/util/sanitizeHtml.js.map +1 -0
- package/dist/lib/webpack/dev/createConfigClient.d.ts +1 -1
- package/dist/lib/webpack/dev/createConfigClient.js +42 -30
- package/dist/lib/webpack/dev/createConfigClient.js.map +1 -1
- package/dist/lib/webpack/isBuildRequired.js +4 -1
- package/dist/lib/webpack/isBuildRequired.js.map +1 -1
- package/dist/lib/webpack/loaders/AreaLoader.js +55 -20
- package/dist/lib/webpack/loaders/AreaLoader.js.map +1 -1
- package/dist/lib/webpack/plugins/GraphqlPlugin.d.ts +2 -3
- package/dist/lib/webpack/plugins/GraphqlPlugin.js +10 -6
- package/dist/lib/webpack/plugins/GraphqlPlugin.js.map +1 -1
- package/dist/lib/webpack/plugins/InjectTailwindSources.d.ts +8 -0
- package/dist/lib/webpack/plugins/InjectTailwindSources.js +23 -0
- package/dist/lib/webpack/plugins/InjectTailwindSources.js.map +1 -0
- package/dist/lib/webpack/plugins/Tailwindcss.d.ts +3 -3
- package/dist/lib/webpack/plugins/Tailwindcss.js +54 -56
- package/dist/lib/webpack/plugins/Tailwindcss.js.map +1 -1
- package/dist/lib/webpack/prod/createConfigClient.js +42 -4
- package/dist/lib/webpack/prod/createConfigClient.js.map +1 -1
- package/dist/lib/webpack/util/getTailwindConfig.d.ts +3 -0
- package/dist/lib/webpack/util/getTailwindConfig.js +3 -0
- package/dist/lib/webpack/util/getTailwindConfig.js.map +1 -1
- package/dist/lib/webpack/util/getTailwindSources.d.ts +1 -0
- package/dist/lib/webpack/util/getTailwindSources.js +21 -0
- package/dist/lib/webpack/util/getTailwindSources.js.map +1 -0
- package/dist/lib/webpack/util/parseGraphql.js +1 -1
- package/dist/lib/webpack/util/parseGraphql.js.map +1 -1
- package/dist/lib/widget/widgetManager.js +1 -1
- package/dist/lib/widget/widgetManager.js.map +1 -1
- package/dist/modules/auth/api/refreshUserToken/refreshToken.js +4 -6
- package/dist/modules/auth/api/refreshUserToken/refreshToken.js.map +1 -1
- package/dist/modules/auth/bootstrap.d.ts +1 -1
- package/dist/modules/auth/bootstrap.js +16 -14
- package/dist/modules/auth/bootstrap.js.map +1 -1
- package/dist/modules/auth/pages/admin/adminLogin/LoginForm.js +16 -13
- package/dist/modules/auth/pages/admin/adminLogin/LoginForm.js.map +1 -1
- package/dist/modules/auth/pages/admin/adminLogin/LoginForm.scss +1 -4
- package/dist/modules/auth/pages/admin/all/AdminUser.js +20 -21
- package/dist/modules/auth/pages/admin/all/AdminUser.js.map +1 -1
- package/dist/modules/auth/services/buildAdminUserPayload.d.ts +10 -0
- package/dist/modules/auth/services/buildAdminUserPayload.js +19 -0
- package/dist/modules/auth/services/buildAdminUserPayload.js.map +1 -0
- package/dist/modules/auth/services/loginUserWithEmail.d.ts +3 -7
- package/dist/modules/auth/services/loginUserWithEmail.js +15 -6
- package/dist/modules/auth/services/loginUserWithEmail.js.map +1 -1
- package/dist/modules/auth/services/logoutUser.d.ts +3 -4
- package/dist/modules/auth/services/logoutUser.js +12 -1
- package/dist/modules/auth/services/logoutUser.js.map +1 -1
- package/dist/modules/base/api/global/[apiResponse]apiErrorHandler.d.ts +3 -1
- package/dist/modules/base/api/global/[apiResponse]apiErrorHandler.js.map +1 -1
- package/dist/modules/base/api/global/[auth]apiResponse[apiErrorHandler].d.ts +3 -1
- package/dist/modules/base/api/global/[auth]apiResponse[apiErrorHandler].js.map +1 -1
- package/dist/modules/base/api/global/[auth]payloadValidate.d.ts +3 -1
- package/dist/modules/base/api/global/[auth]payloadValidate.js +3 -2
- package/dist/modules/base/api/global/[auth]payloadValidate.js.map +1 -1
- package/dist/modules/base/api/global/[payloadValidate]escapeHtml.d.ts +3 -1
- package/dist/modules/base/api/global/[payloadValidate]escapeHtml.js +0 -2
- package/dist/modules/base/api/global/[payloadValidate]escapeHtml.js.map +1 -1
- package/dist/modules/base/api/global/context.js +2 -1
- package/dist/modules/base/api/global/context.js.map +1 -1
- package/dist/modules/base/migration/Version-1.0.2.d.ts +2 -0
- package/dist/modules/base/migration/Version-1.0.2.js +22 -0
- package/dist/modules/base/migration/Version-1.0.2.js.map +1 -0
- package/dist/modules/base/pages/admin/all/FormCss.d.ts +5 -0
- package/dist/modules/base/pages/admin/all/FormCss.js +8 -0
- package/dist/modules/base/pages/admin/all/FormCss.js.map +1 -0
- package/dist/modules/base/pages/admin/all/TailwindCss.d.ts +6 -0
- package/dist/modules/base/pages/admin/all/TailwindCss.js +9 -0
- package/dist/modules/base/pages/admin/all/TailwindCss.js.map +1 -0
- package/dist/modules/base/pages/admin/all/form.scss +356 -0
- package/dist/modules/base/pages/admin/all/global.scss +3 -416
- package/dist/modules/base/pages/admin/all/shadcn.css +95 -0
- package/dist/modules/base/pages/admin/all/tailwind.css +126 -0
- package/dist/modules/base/pages/frontStore/all/Base.d.ts +2 -2
- package/dist/modules/base/pages/frontStore/all/Base.js +2 -1
- package/dist/modules/base/pages/frontStore/all/Base.js.map +1 -1
- package/dist/modules/base/pages/frontStore/all/Breadcrumb.js +6 -3
- package/dist/modules/base/pages/frontStore/all/Breadcrumb.js.map +1 -1
- package/dist/modules/base/pages/frontStore/all/Notification.scss +49 -25
- package/dist/modules/base/pages/frontStore/all/TailwindCss.d.ts +6 -0
- package/dist/modules/base/pages/frontStore/all/TailwindCss.js +9 -0
- package/dist/modules/base/pages/frontStore/all/TailwindCss.js.map +1 -0
- package/dist/modules/base/pages/frontStore/all/global.scss +160 -542
- package/dist/modules/base/pages/frontStore/all/shadcn.css +95 -0
- package/dist/modules/base/pages/frontStore/all/tailwind.css +120 -0
- package/dist/modules/base/pages/global/[auth]notFound[response].js +9 -0
- package/dist/modules/base/pages/global/[auth]notFound[response].js.map +1 -1
- package/dist/modules/base/pages/global/context.js +2 -1
- package/dist/modules/base/pages/global/context.js.map +1 -1
- package/dist/modules/base/pages/global/response[errorHandler].js +5 -1
- package/dist/modules/base/pages/global/response[errorHandler].js.map +1 -1
- package/dist/modules/base/services/escapePayload.js +20 -13
- package/dist/modules/base/services/escapePayload.js.map +1 -1
- package/dist/modules/base/services/markSkipEscape.d.ts +5 -0
- package/dist/modules/base/services/markSkipEscape.js +25 -20
- package/dist/modules/base/services/markSkipEscape.js.map +1 -1
- package/dist/modules/catalog/api/createAttribute/createAttribute[finish].d.ts +3 -1
- package/dist/modules/catalog/api/createCategory/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/createCategory/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/createCategory/createCategory[finish].d.ts +5 -1
- package/dist/modules/catalog/api/createCategory/createCategory[finish].js.map +1 -1
- package/dist/modules/catalog/api/createCategory/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/createCategory/finish[apiResponse].js +2 -2
- package/dist/modules/catalog/api/createCategory/finish[apiResponse].js.map +1 -1
- package/dist/modules/catalog/api/createCategory/payloadSchema.json +76 -0
- package/dist/modules/catalog/api/createCollection/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/createCollection/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/createCollection/createCollection[finish].d.ts +4 -1
- package/dist/modules/catalog/api/createCollection/createCollection[finish].js.map +1 -1
- package/dist/modules/catalog/api/createCollection/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/createCollection/finish[apiResponse].js +1 -1
- package/dist/modules/catalog/api/createCollection/finish[apiResponse].js.map +1 -1
- package/dist/modules/catalog/{services/collection/collectionDataSchema.json → api/createCollection/payloadSchema.json} +1 -0
- package/dist/modules/catalog/api/createProduct/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/createProduct/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/createProduct/createProduct[finish].d.ts +5 -1
- package/dist/modules/catalog/api/createProduct/createProduct[finish].js.map +1 -1
- package/dist/modules/catalog/api/createProduct/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/createProduct/finish[apiResponse].js +2 -2
- package/dist/modules/catalog/api/createProduct/finish[apiResponse].js.map +1 -1
- package/dist/modules/catalog/api/createProduct/payloadSchema.json +76 -0
- package/dist/modules/catalog/api/updateAttribute/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/updateAttribute/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/updateAttribute/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/updateAttribute/finish[apiResponse].js +1 -1
- package/dist/modules/catalog/api/updateAttribute/finish[apiResponse].js.map +1 -1
- package/dist/modules/catalog/api/updateAttribute/updateAttribute[finish].d.ts +4 -1
- package/dist/modules/catalog/api/updateAttribute/updateAttribute[finish].js +1 -1
- package/dist/modules/catalog/api/updateAttribute/updateAttribute[finish].js.map +1 -1
- package/dist/modules/catalog/api/updateCategory/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/updateCategory/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/updateCategory/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/updateCategory/finish[apiResponse].js +2 -2
- package/dist/modules/catalog/api/updateCategory/finish[apiResponse].js.map +1 -1
- package/dist/modules/catalog/api/updateCategory/payloadSchema.json +76 -0
- package/dist/modules/catalog/api/updateCategory/updateCategory[finish].d.ts +5 -1
- package/dist/modules/catalog/api/updateCategory/updateCategory[finish].js +1 -1
- package/dist/modules/catalog/api/updateCategory/updateCategory[finish].js.map +1 -1
- package/dist/modules/catalog/api/updateCollection/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/updateCollection/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/updateCollection/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/updateCollection/finish[apiResponse].js +1 -1
- package/dist/modules/catalog/api/updateCollection/finish[apiResponse].js.map +1 -1
- package/{src/modules/catalog/services/collection/collectionDataSchema.json → dist/modules/catalog/api/updateCollection/payloadSchema.json} +1 -0
- package/dist/modules/catalog/api/updateCollection/updateCollection[finish].d.ts +5 -1
- package/dist/modules/catalog/api/updateCollection/updateCollection[finish].js +1 -1
- package/dist/modules/catalog/api/updateCollection/updateCollection[finish].js.map +1 -1
- package/dist/modules/catalog/api/updateProduct/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/catalog/api/updateProduct/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/catalog/api/updateProduct/finish[apiResponse].d.ts +3 -1
- package/dist/modules/catalog/api/updateProduct/finish[apiResponse].js +2 -2
- package/dist/modules/catalog/api/updateProduct/finish[apiResponse].js.map +1 -1
- package/dist/modules/catalog/api/updateProduct/payloadSchema.json +76 -0
- package/dist/modules/catalog/api/updateProduct/updateProduct[finish].d.ts +5 -1
- package/dist/modules/catalog/api/updateProduct/updateProduct[finish].js +1 -1
- package/dist/modules/catalog/api/updateProduct/updateProduct[finish].js.map +1 -1
- package/dist/modules/catalog/components/CollectionProductsSetting.js +33 -30
- package/dist/modules/catalog/components/CollectionProductsSetting.js.map +1 -1
- package/dist/modules/catalog/graphql/types/Category/Category.resolvers.d.ts +36 -37
- package/dist/modules/catalog/graphql/types/Category/Category.resolvers.js +5 -1
- package/dist/modules/catalog/graphql/types/Category/Category.resolvers.js.map +1 -1
- package/dist/modules/catalog/graphql/types/Product/Product.graphql +1 -0
- package/dist/modules/catalog/graphql/types/Product/Product.resolvers.js +2 -1
- package/dist/modules/catalog/graphql/types/Product/Product.resolvers.js.map +1 -1
- package/dist/modules/catalog/migration/Version-1.0.8.d.ts +2 -0
- package/dist/modules/catalog/migration/Version-1.0.8.js +5 -0
- package/dist/modules/catalog/migration/Version-1.0.8.js.map +1 -0
- package/dist/modules/catalog/pages/admin/all/CatalogMenuGroup.js +5 -8
- package/dist/modules/catalog/pages/admin/all/CatalogMenuGroup.js.map +1 -1
- package/dist/modules/catalog/pages/admin/all/NewProductQuickLink.js +2 -2
- package/dist/modules/catalog/pages/admin/all/NewProductQuickLink.js.map +1 -1
- package/dist/modules/catalog/pages/admin/attributeEdit+attributeNew/Avaibility.js +9 -6
- package/dist/modules/catalog/pages/admin/attributeEdit+attributeNew/Avaibility.js.map +1 -1
- package/dist/modules/catalog/pages/admin/attributeEdit+attributeNew/General.js +31 -23
- package/dist/modules/catalog/pages/admin/attributeEdit+attributeNew/General.js.map +1 -1
- package/dist/modules/catalog/pages/admin/attributeEdit+attributeNew/General.scss +9 -6
- package/dist/modules/catalog/pages/admin/attributeGrid/Grid.js +105 -107
- package/dist/modules/catalog/pages/admin/attributeGrid/Grid.js.map +1 -1
- package/dist/modules/catalog/pages/admin/attributeGrid/NewAttributeButton.d.ts +10 -14
- package/dist/modules/catalog/pages/admin/attributeGrid/NewAttributeButton.js +2 -6
- package/dist/modules/catalog/pages/admin/attributeGrid/NewAttributeButton.js.map +1 -1
- package/dist/modules/catalog/pages/admin/attributeGrid/rows/AttributeName.js +2 -1
- package/dist/modules/catalog/pages/admin/attributeGrid/rows/AttributeName.js.map +1 -1
- package/dist/modules/catalog/pages/admin/attributeGrid/rows/GroupRow.js +6 -4
- package/dist/modules/catalog/pages/admin/attributeGrid/rows/GroupRow.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryEdit/Products.js +63 -61
- package/dist/modules/catalog/pages/admin/categoryEdit/Products.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/General.js +44 -33
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/General.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/General.scss +9 -6
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/Image.js +7 -4
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/Image.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/Seo.js +7 -4
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/Seo.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/Status.js +10 -9
- package/dist/modules/catalog/pages/admin/categoryEdit+categoryNew/Status.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryGrid/Grid.js +84 -87
- package/dist/modules/catalog/pages/admin/categoryGrid/Grid.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryGrid/NewCategoryButton.d.ts +10 -14
- package/dist/modules/catalog/pages/admin/categoryGrid/NewCategoryButton.js +2 -6
- package/dist/modules/catalog/pages/admin/categoryGrid/NewCategoryButton.js.map +1 -1
- package/dist/modules/catalog/pages/admin/categoryGrid/rows/CategoryName.js +2 -1
- package/dist/modules/catalog/pages/admin/categoryGrid/rows/CategoryName.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionEdit/Products.js +59 -58
- package/dist/modules/catalog/pages/admin/collectionEdit/Products.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionEdit+collectionNew/General.js +7 -4
- package/dist/modules/catalog/pages/admin/collectionEdit+collectionNew/General.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionEdit+collectionNew/General.scss +9 -6
- package/dist/modules/catalog/pages/admin/collectionEdit+collectionNew/PageHeading.d.ts +1 -7
- package/dist/modules/catalog/pages/admin/collectionEdit+collectionNew/PageHeading.js +1 -4
- package/dist/modules/catalog/pages/admin/collectionEdit+collectionNew/PageHeading.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionGrid/Grid.js +83 -87
- package/dist/modules/catalog/pages/admin/collectionGrid/Grid.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionGrid/NewCollectionButton.d.ts +10 -14
- package/dist/modules/catalog/pages/admin/collectionGrid/NewCollectionButton.js +2 -6
- package/dist/modules/catalog/pages/admin/collectionGrid/NewCollectionButton.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionGrid/PageHeading.d.ts +5 -5
- package/dist/modules/catalog/pages/admin/collectionGrid/PageHeading.js.map +1 -1
- package/dist/modules/catalog/pages/admin/collectionGrid/rows/CollectionNameRow.js +2 -1
- package/dist/modules/catalog/pages/admin/collectionGrid/rows/CollectionNameRow.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/Collection.js +8 -5
- package/dist/modules/catalog/pages/admin/productEdit/Collection.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/ProductEditForm.js +6 -6
- package/dist/modules/catalog/pages/admin/productEdit/ProductEditForm.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/VariantGroup.js +5 -2
- package/dist/modules/catalog/pages/admin/productEdit/VariantGroup.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/CreateVariant.js +12 -15
- package/dist/modules/catalog/pages/admin/productEdit/variants/CreateVariant.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/CreateVariantGroup.d.ts +1 -0
- package/dist/modules/catalog/pages/admin/productEdit/variants/CreateVariantGroup.js +13 -7
- package/dist/modules/catalog/pages/admin/productEdit/variants/CreateVariantGroup.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/EditVariant.js +14 -14
- package/dist/modules/catalog/pages/admin/productEdit/variants/EditVariant.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/New.js +8 -12
- package/dist/modules/catalog/pages/admin/productEdit/variants/New.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/Skeleton.js +12 -11
- package/dist/modules/catalog/pages/admin/productEdit/variants/Skeleton.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/Variant.js +19 -11
- package/dist/modules/catalog/pages/admin/productEdit/variants/Variant.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/VariantModal.d.ts +2 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/VariantModal.js +67 -69
- package/dist/modules/catalog/pages/admin/productEdit/variants/VariantModal.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/Variants.js +15 -14
- package/dist/modules/catalog/pages/admin/productEdit/variants/Variants.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Attributes.js +31 -18
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Attributes.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit+productNew/General.js +40 -27
- package/dist/modules/catalog/pages/admin/productEdit+productNew/General.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit+productNew/General.scss +9 -6
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Inventory.js +8 -5
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Inventory.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Media.js +5 -2
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Media.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Seo.js +8 -5
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Seo.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Shipping.d.ts +20 -0
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Shipping.js +52 -0
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Shipping.js.map +1 -0
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Status.js +9 -5
- package/dist/modules/catalog/pages/admin/productEdit+productNew/Status.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productGrid/Grid.js +155 -173
- package/dist/modules/catalog/pages/admin/productGrid/Grid.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productGrid/NewProductButton.d.ts +10 -14
- package/dist/modules/catalog/pages/admin/productGrid/NewProductButton.js +2 -6
- package/dist/modules/catalog/pages/admin/productGrid/NewProductButton.js.map +1 -1
- package/dist/modules/catalog/pages/admin/productGrid/rows/ProductName.js +3 -2
- package/dist/modules/catalog/pages/admin/productGrid/rows/ProductName.js.map +1 -1
- package/dist/modules/catalog/pages/frontStore/categoryView/CategoryView.js +1 -6
- package/dist/modules/catalog/pages/frontStore/categoryView/CategoryView.js.map +1 -1
- package/dist/modules/catalog/pages/frontStore/productView/ProductView.js +7 -1
- package/dist/modules/catalog/pages/frontStore/productView/ProductView.js.map +1 -1
- package/dist/modules/catalog/services/attribute/createProductAttribute.d.ts +78 -2
- package/dist/modules/catalog/services/attribute/createProductAttribute.js +25 -1
- package/dist/modules/catalog/services/attribute/createProductAttribute.js.map +1 -1
- package/dist/modules/catalog/services/attribute/deleteProductAttribute.d.ts +7 -1
- package/dist/modules/catalog/services/attribute/deleteProductAttribute.js +13 -1
- package/dist/modules/catalog/services/attribute/deleteProductAttribute.js.map +1 -1
- package/dist/modules/catalog/services/attribute/updateProductAttribute.d.ts +56 -2
- package/dist/modules/catalog/services/attribute/updateProductAttribute.js +29 -8
- package/dist/modules/catalog/services/attribute/updateProductAttribute.js.map +1 -1
- package/dist/modules/catalog/services/category/categoryDataSchema.json +6 -8
- package/dist/modules/catalog/services/category/createCategory.d.ts +28 -2
- package/dist/modules/catalog/services/category/createCategory.js +18 -1
- package/dist/modules/catalog/services/category/createCategory.js.map +1 -1
- package/dist/modules/catalog/services/category/deleteCategory.d.ts +7 -1
- package/dist/modules/catalog/services/category/deleteCategory.js +13 -1
- package/dist/modules/catalog/services/category/deleteCategory.js.map +1 -1
- package/dist/modules/catalog/services/category/updateCategory.d.ts +25 -1
- package/dist/modules/catalog/services/category/updateCategory.js +26 -4
- package/dist/modules/catalog/services/category/updateCategory.js.map +1 -1
- package/dist/modules/catalog/services/collection/createCollection.d.ts +12 -3
- package/dist/modules/catalog/services/collection/createCollection.js +20 -20
- package/dist/modules/catalog/services/collection/createCollection.js.map +1 -1
- package/dist/modules/catalog/services/collection/deleteCollection.d.ts +7 -1
- package/dist/modules/catalog/services/collection/deleteCollection.js +13 -1
- package/dist/modules/catalog/services/collection/deleteCollection.js.map +1 -1
- package/dist/modules/catalog/services/collection/updateCollection.d.ts +9 -1
- package/dist/modules/catalog/services/collection/updateCollection.js +22 -24
- package/dist/modules/catalog/services/collection/updateCollection.js.map +1 -1
- package/dist/modules/catalog/services/index.d.ts +29 -18
- package/dist/modules/catalog/services/index.js +35 -18
- package/dist/modules/catalog/services/index.js.map +1 -1
- package/dist/modules/catalog/services/product/createProduct.d.ts +56 -4
- package/dist/modules/catalog/services/product/createProduct.js +40 -3
- package/dist/modules/catalog/services/product/createProduct.js.map +1 -1
- package/dist/modules/catalog/services/product/deleteProduct.d.ts +7 -2
- package/dist/modules/catalog/services/product/deleteProduct.js +13 -1
- package/dist/modules/catalog/services/product/deleteProduct.js.map +1 -1
- package/dist/modules/catalog/services/product/productDataSchema.json +6 -8
- package/dist/modules/catalog/services/product/updateProduct.d.ts +58 -2
- package/dist/modules/catalog/services/product/updateProduct.js +53 -7
- package/dist/modules/catalog/services/product/updateProduct.js.map +1 -1
- package/dist/modules/catalog/subscribers/category_created/buildUrlRewrite.js.map +1 -1
- package/dist/modules/catalog/subscribers/category_deleted/deleteUrlRewrite.js +3 -3
- package/dist/modules/catalog/subscribers/category_deleted/deleteUrlRewrite.js.map +1 -1
- package/dist/modules/catalog/subscribers/category_updated/builUrlRewrite.js +1 -1
- package/dist/modules/catalog/subscribers/category_updated/builUrlRewrite.js.map +1 -1
- package/dist/modules/catalog/subscribers/product_created/buildUrlRewrite.js.map +1 -1
- package/dist/modules/catalog/subscribers/product_deleted/deleteUrlRewrite.js.map +1 -1
- package/dist/modules/catalog/subscribers/product_updated/buildUrlRewrite.js.map +1 -1
- package/dist/modules/checkout/api/addShippingZoneMethod/[validateMethod]addShippingZoneMethod.js +3 -1
- package/dist/modules/checkout/api/addShippingZoneMethod/[validateMethod]addShippingZoneMethod.js.map +1 -1
- package/dist/modules/checkout/api/addShippingZoneMethod/payloadSchema.json +190 -15
- package/dist/modules/checkout/api/cartCheckout/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/checkout/api/cartCheckout/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/checkout/api/cartCheckout/checkout.d.ts +1 -1
- package/dist/modules/checkout/api/cartCheckout/checkout.js +2 -1
- package/dist/modules/checkout/api/cartCheckout/checkout.js.map +1 -1
- package/dist/modules/checkout/api/removeMineCartItem/removeItem.js +3 -1
- package/dist/modules/checkout/api/removeMineCartItem/removeItem.js.map +1 -1
- package/dist/modules/checkout/api/updateShippingZoneMethod/payloadSchema.json +185 -14
- package/dist/modules/checkout/graphql/types/Cart/Cart.graphql +4 -0
- package/dist/modules/checkout/graphql/types/Cart/Cart.resolvers.js.map +1 -1
- package/dist/modules/checkout/graphql/types/PaymentMethod/AvailablePaymentMethod.resolvers.d.ts +1 -1
- package/dist/modules/checkout/migration/Version-1.0.7.d.ts +2 -0
- package/dist/modules/checkout/migration/Version-1.0.7.js +6 -0
- package/dist/modules/checkout/migration/Version-1.0.7.js.map +1 -0
- package/dist/modules/checkout/pages/admin/all/ShippingSettingMenu.d.ts +10 -14
- package/dist/modules/checkout/pages/admin/all/ShippingSettingMenu.js +17 -7
- package/dist/modules/checkout/pages/admin/all/ShippingSettingMenu.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/ShippingSetting.js +4 -3
- package/dist/modules/checkout/pages/admin/shippingSetting/ShippingSetting.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Method.js +15 -14
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Method.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/MethodForm.js +98 -63
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/MethodForm.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Methods.js +25 -20
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Methods.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/PriceBasedPrice.js +17 -15
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/PriceBasedPrice.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/WeightBasedPrice.js +16 -14
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/WeightBasedPrice.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Zone.js +21 -21
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Zone.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/ZoneForm.js +30 -28
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/ZoneForm.js.map +1 -1
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Zones.js +13 -14
- package/dist/modules/checkout/pages/admin/shippingSetting/shippingSetting/Zones.js.map +1 -1
- package/dist/modules/checkout/pages/frontStore/cart/ShoppingCart.js +3 -5
- package/dist/modules/checkout/pages/frontStore/cart/ShoppingCart.js.map +1 -1
- package/dist/modules/checkout/pages/frontStore/checkout/Checkout.js +3 -1
- package/dist/modules/checkout/pages/frontStore/checkout/Checkout.js.map +1 -1
- package/dist/modules/checkout/pages/frontStore/checkout/Checkout.scss +0 -4
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/CheckoutSuccess.scss +1 -1
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/CustomerInfo.d.ts +3 -2
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/CustomerInfo.js +5 -5
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/CustomerInfo.js.map +1 -1
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/Summary.d.ts +1 -1
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/Summary.js +8 -1
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/Summary.js.map +1 -1
- package/dist/modules/checkout/pages/frontStore/checkoutSuccess/Summary.scss +0 -3
- package/dist/modules/checkout/services/addBillingAddress.d.ts +15 -0
- package/dist/modules/checkout/services/addBillingAddress.js +24 -6
- package/dist/modules/checkout/services/addBillingAddress.js.map +1 -1
- package/dist/modules/checkout/services/addCartItem.d.ts +12 -0
- package/dist/modules/checkout/services/addCartItem.js +7 -1
- package/dist/modules/checkout/services/addCartItem.js.map +1 -1
- package/dist/modules/checkout/services/addShippingAddress.d.ts +13 -0
- package/dist/modules/checkout/services/addShippingAddress.js +18 -6
- package/dist/modules/checkout/services/addShippingAddress.js.map +1 -1
- package/dist/modules/checkout/services/cart/registerCartBaseFields.js +62 -11
- package/dist/modules/checkout/services/cart/registerCartBaseFields.js.map +1 -1
- package/dist/modules/checkout/services/cart/registerCartItemBaseFields.js +11 -0
- package/dist/modules/checkout/services/cart/registerCartItemBaseFields.js.map +1 -1
- package/dist/modules/checkout/services/checkout.d.ts +19 -1
- package/dist/modules/checkout/services/checkout.js +12 -6
- package/dist/modules/checkout/services/checkout.js.map +1 -1
- package/dist/modules/checkout/services/{getAvailablePaymentMethos.js → getAvailablePaymentMethods.js} +1 -1
- package/dist/modules/checkout/services/getAvailablePaymentMethods.js.map +1 -0
- package/dist/modules/checkout/services/getAvailableShippingMethods.js +1 -1
- package/dist/modules/checkout/services/getAvailableShippingMethods.js.map +1 -1
- package/dist/modules/checkout/services/index.d.ts +6 -4
- package/dist/modules/checkout/services/index.js +6 -4
- package/dist/modules/checkout/services/index.js.map +1 -1
- package/dist/modules/checkout/services/orderCreator.d.ts +79 -41
- package/dist/modules/checkout/services/orderCreator.js +40 -22
- package/dist/modules/checkout/services/orderCreator.js.map +1 -1
- package/dist/modules/checkout/services/orderValidator.js +6 -0
- package/dist/modules/checkout/services/orderValidator.js.map +1 -1
- package/dist/modules/checkout/services/removeCartItem.d.ts +8 -0
- package/dist/modules/checkout/services/removeCartItem.js +7 -1
- package/dist/modules/checkout/services/removeCartItem.js.map +1 -1
- package/dist/modules/checkout/services/updateCartItemQty.d.ts +14 -0
- package/dist/modules/checkout/services/updateCartItemQty.js +7 -1
- package/dist/modules/checkout/services/updateCartItemQty.js.map +1 -1
- package/dist/modules/cms/api/createCmsPage/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/cms/api/createCmsPage/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/cms/api/createCmsPage/createPage[finish].d.ts +3 -1
- package/dist/modules/cms/api/createCmsPage/createPage[finish].js +1 -1
- package/dist/modules/cms/api/createCmsPage/createPage[finish].js.map +1 -1
- package/dist/modules/cms/api/createCmsPage/finish[apiResponse].d.ts +3 -1
- package/dist/modules/cms/api/createCmsPage/finish[apiResponse].js +2 -2
- package/dist/modules/cms/api/createCmsPage/finish[apiResponse].js.map +1 -1
- package/dist/modules/cms/api/createCmsPage/payloadSchema.json +76 -0
- package/dist/modules/cms/api/deleteCmsPage/deleteCmsPage.d.ts +3 -1
- package/dist/modules/cms/api/deleteCmsPage/deleteCmsPage.js +1 -1
- package/dist/modules/cms/api/deleteCmsPage/deleteCmsPage.js.map +1 -1
- package/dist/modules/cms/api/updateCmsPage/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/cms/api/updateCmsPage/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/cms/api/updateCmsPage/finish[apiResponse].d.ts +3 -1
- package/dist/modules/cms/api/updateCmsPage/finish[apiResponse].js +2 -2
- package/dist/modules/cms/api/updateCmsPage/finish[apiResponse].js.map +1 -1
- package/dist/modules/cms/api/updateCmsPage/payloadSchema.json +76 -0
- package/dist/modules/cms/api/updateCmsPage/updatePage[finish].d.ts +2 -1
- package/dist/modules/cms/api/updateCmsPage/updatePage[finish].js.map +1 -1
- package/dist/modules/cms/bootstrap.d.ts +1 -1
- package/dist/modules/cms/bootstrap.js +18 -0
- package/dist/modules/cms/bootstrap.js.map +1 -1
- package/dist/modules/cms/components/BannerSetting.js +6 -2
- package/dist/modules/cms/components/BannerSetting.js.map +1 -1
- package/dist/modules/cms/components/BasicMenu.js +26 -10
- package/dist/modules/cms/components/BasicMenu.js.map +1 -1
- package/dist/modules/cms/components/BasicMenuSetting.js +90 -90
- package/dist/modules/cms/components/BasicMenuSetting.js.map +1 -1
- package/dist/modules/cms/components/SlideshowSetting.js +43 -43
- package/dist/modules/cms/components/SlideshowSetting.js.map +1 -1
- package/dist/modules/cms/components/TextBlockSetting.js +1 -1
- package/dist/modules/cms/components/TextBlockSetting.js.map +1 -1
- package/dist/modules/cms/graphql/types/CmsPage/CmsPage.resolvers.js +2 -8
- package/dist/modules/cms/graphql/types/CmsPage/CmsPage.resolvers.js.map +1 -1
- package/dist/modules/cms/graphql/types/PageInfo/PageInfo.resolvers.d.ts +3 -3
- package/dist/modules/cms/graphql/types/PageInfo/PageInfo.resolvers.js +7 -8
- package/dist/modules/cms/graphql/types/PageInfo/PageInfo.resolvers.js.map +1 -1
- package/dist/modules/cms/graphql/types/ThemeConfig/ThemeConfig.resolvers.d.ts +15 -1
- package/dist/modules/cms/graphql/types/Widget/Widget.resolvers.js +16 -8
- package/dist/modules/cms/graphql/types/Widget/Widget.resolvers.js.map +1 -1
- package/dist/modules/cms/pages/admin/adminNotFound/NotFound.js +2 -2
- package/dist/modules/cms/pages/admin/adminNotFound/NotFound.js.map +1 -1
- package/dist/modules/cms/pages/admin/all/CmsMenuGroup.js +3 -4
- package/dist/modules/cms/pages/admin/all/CmsMenuGroup.js.map +1 -1
- package/dist/modules/cms/pages/admin/all/CopyRight.d.ts +15 -18
- package/dist/modules/cms/pages/admin/all/CopyRight.js +0 -6
- package/dist/modules/cms/pages/admin/all/CopyRight.js.map +1 -1
- package/dist/modules/cms/pages/admin/all/Notification.scss +50 -25
- package/dist/modules/cms/pages/admin/all/QuickLinks.js +1 -1
- package/dist/modules/cms/pages/admin/all/QuickLinks.js.map +1 -1
- package/dist/modules/cms/pages/admin/all/SearchBox.d.ts +0 -1
- package/dist/modules/cms/pages/admin/all/SearchBox.js +8 -7
- package/dist/modules/cms/pages/admin/all/SearchBox.js.map +1 -1
- package/dist/modules/cms/pages/admin/all/Survey.d.ts +6 -0
- package/dist/modules/cms/pages/admin/all/Survey.js +18 -0
- package/dist/modules/cms/pages/admin/all/Survey.js.map +1 -0
- package/dist/modules/cms/pages/admin/all/search/NoResult.js +2 -5
- package/dist/modules/cms/pages/admin/all/search/NoResult.js.map +1 -1
- package/dist/modules/cms/pages/admin/all/search/Results.js +37 -16
- package/dist/modules/cms/pages/admin/all/search/Results.js.map +1 -1
- package/dist/modules/cms/pages/admin/cmsPageEdit+cmsPageNew/General.js +7 -4
- package/dist/modules/cms/pages/admin/cmsPageEdit+cmsPageNew/General.js.map +1 -1
- package/dist/modules/cms/pages/admin/cmsPageEdit+cmsPageNew/Seo.js +7 -4
- package/dist/modules/cms/pages/admin/cmsPageEdit+cmsPageNew/Seo.js.map +1 -1
- package/dist/modules/cms/pages/admin/cmsPageGrid/Grid.js +80 -85
- package/dist/modules/cms/pages/admin/cmsPageGrid/Grid.js.map +1 -1
- package/dist/modules/cms/pages/admin/cmsPageGrid/NewPageButton.d.ts +10 -14
- package/dist/modules/cms/pages/admin/cmsPageGrid/NewPageButton.js +2 -6
- package/dist/modules/cms/pages/admin/cmsPageGrid/NewPageButton.js.map +1 -1
- package/dist/modules/cms/pages/admin/cmsPageGrid/rows/PageName.js +2 -1
- package/dist/modules/cms/pages/admin/cmsPageGrid/rows/PageName.js.map +1 -1
- package/dist/modules/cms/pages/admin/dashboard/Layout.scss +8 -6
- package/dist/modules/cms/pages/admin/widgetEdit+widgetNew/General.js +27 -23
- package/dist/modules/cms/pages/admin/widgetEdit+widgetNew/General.js.map +1 -1
- package/dist/modules/cms/pages/admin/widgetEdit+widgetNew/Setting.js +9 -3
- package/dist/modules/cms/pages/admin/widgetEdit+widgetNew/Setting.js.map +1 -1
- package/dist/modules/cms/pages/admin/widgetGrid/Grid.js +89 -95
- package/dist/modules/cms/pages/admin/widgetGrid/Grid.js.map +1 -1
- package/dist/modules/cms/pages/admin/widgetGrid/NewWidgetButton.js +20 -17
- package/dist/modules/cms/pages/admin/widgetGrid/NewWidgetButton.js.map +1 -1
- package/dist/modules/cms/pages/admin/widgetGrid/rows/Name.js +2 -1
- package/dist/modules/cms/pages/admin/widgetGrid/rows/Name.js.map +1 -1
- package/dist/modules/cms/pages/admin/widgetGrid/rows/WidgetTypeRow.js +3 -2
- package/dist/modules/cms/pages/admin/widgetGrid/rows/WidgetTypeRow.js.map +1 -1
- package/dist/modules/cms/pages/frontStore/notFound/NotFound.js +2 -2
- package/dist/modules/cms/pages/frontStore/notFound/NotFound.js.map +1 -1
- package/dist/modules/cms/services/index.d.ts +3 -0
- package/dist/modules/cms/services/index.js +3 -0
- package/dist/modules/cms/services/index.js.map +1 -1
- package/dist/modules/cms/services/page/createPage.d.ts +18 -2
- package/dist/modules/cms/services/page/createPage.js +25 -7
- package/dist/modules/cms/services/page/createPage.js.map +1 -1
- package/dist/modules/cms/services/page/deletePage.d.ts +6 -2
- package/dist/modules/cms/services/page/deletePage.js +18 -6
- package/dist/modules/cms/services/page/deletePage.js.map +1 -1
- package/dist/modules/cms/services/page/pageDataSchema.json +15 -9
- package/dist/modules/cms/services/page/updatePage.d.ts +22 -1
- package/dist/modules/cms/services/page/updatePage.js +19 -2
- package/dist/modules/cms/services/page/updatePage.js.map +1 -1
- package/dist/modules/cms/services/tailwind.admin.config.d.ts +36 -34
- package/dist/modules/cms/services/tailwind.admin.config.js +3 -0
- package/dist/modules/cms/services/tailwind.admin.config.js.map +1 -1
- package/dist/modules/cms/services/tailwind.frontStore.config.d.ts +39 -37
- package/dist/modules/cms/services/tailwind.frontStore.config.js +3 -0
- package/dist/modules/cms/services/tailwind.frontStore.config.js.map +1 -1
- package/dist/modules/cms/services/widget/createWidget.d.ts +12 -1
- package/dist/modules/cms/services/widget/createWidget.js +14 -2
- package/dist/modules/cms/services/widget/createWidget.js.map +1 -1
- package/dist/modules/cms/services/widget/deleteWidget.d.ts +7 -1
- package/dist/modules/cms/services/widget/deleteWidget.js +13 -1
- package/dist/modules/cms/services/widget/deleteWidget.js.map +1 -1
- package/dist/modules/cms/services/widget/updateWidget.d.ts +7 -1
- package/dist/modules/cms/services/widget/updateWidget.js +15 -3
- package/dist/modules/cms/services/widget/updateWidget.js.map +1 -1
- package/dist/modules/cod/bootstrap.d.ts +1 -1
- package/dist/modules/cod/bootstrap.js +8 -2
- package/dist/modules/cod/bootstrap.js.map +1 -1
- package/dist/modules/cod/pages/admin/orderEdit/CaptureButton.js +5 -5
- package/dist/modules/cod/pages/admin/orderEdit/CaptureButton.js.map +1 -1
- package/dist/modules/cod/pages/admin/paymentSetting/CODSetting.js +8 -5
- package/dist/modules/cod/pages/admin/paymentSetting/CODSetting.js.map +1 -1
- package/dist/modules/cod/pages/frontStore/checkout/CashOnDelivery.js +13 -6
- package/dist/modules/cod/pages/frontStore/checkout/CashOnDelivery.js.map +1 -1
- package/dist/modules/customer/api/createCustomer/[bodyParser]createCustomer.d.ts +3 -1
- package/dist/modules/customer/api/createCustomer/[bodyParser]createCustomer.js.map +1 -1
- package/dist/modules/customer/api/createCustomer/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/customer/api/createCustomer/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/customer/api/refreshCustomerToken/refreshToken.js +4 -6
- package/dist/modules/customer/api/refreshCustomerToken/refreshToken.js.map +1 -1
- package/dist/modules/customer/api/resetPassword/[bodyParser]resetPassword.d.ts +3 -1
- package/dist/modules/customer/api/resetPassword/[bodyParser]resetPassword.js +14 -8
- package/dist/modules/customer/api/resetPassword/[bodyParser]resetPassword.js.map +1 -1
- package/dist/modules/customer/api/resetPassword/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/customer/api/resetPassword/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/customer/api/updatePassword/[bodyParser]updatePassword.js +2 -2
- package/dist/modules/customer/api/updatePassword/[bodyParser]updatePassword.js.map +1 -1
- package/dist/modules/customer/pages/admin/all/CustomerMenuGroup.js +2 -2
- package/dist/modules/customer/pages/admin/all/CustomerMenuGroup.js.map +1 -1
- package/dist/modules/customer/pages/admin/customerEdit/CustomerEditForm.js +1 -0
- package/dist/modules/customer/pages/admin/customerEdit/CustomerEditForm.js.map +1 -1
- package/dist/modules/customer/pages/admin/customerEdit/CustomerEditForm.scss +8 -6
- package/dist/modules/customer/pages/admin/customerEdit+customerNew/General.js +11 -6
- package/dist/modules/customer/pages/admin/customerEdit+customerNew/General.js.map +1 -1
- package/dist/modules/customer/pages/admin/customerEdit+customerNew/OrderHistory.js +7 -3
- package/dist/modules/customer/pages/admin/customerEdit+customerNew/OrderHistory.js.map +1 -1
- package/dist/modules/customer/pages/admin/customerGrid/Grid.js +111 -127
- package/dist/modules/customer/pages/admin/customerGrid/Grid.js.map +1 -1
- package/dist/modules/customer/pages/admin/customerGrid/rows/CustomerName.js +2 -1
- package/dist/modules/customer/pages/admin/customerGrid/rows/CustomerName.js.map +1 -1
- package/dist/modules/customer/pages/frontStore/all/CustomerIcon.js +3 -3
- package/dist/modules/customer/pages/frontStore/all/CustomerIcon.js.map +1 -1
- package/dist/modules/customer/pages/frontStore/login/LoginPage.js +11 -7
- package/dist/modules/customer/pages/frontStore/login/LoginPage.js.map +1 -1
- package/dist/modules/customer/pages/frontStore/register/RegisterPage.js +15 -11
- package/dist/modules/customer/pages/frontStore/register/RegisterPage.js.map +1 -1
- package/dist/modules/customer/pages/frontStore/resetPasswordPage/ResetPasswordPage.d.ts +5 -3
- package/dist/modules/customer/pages/frontStore/resetPasswordPage/ResetPasswordPage.js +58 -5
- package/dist/modules/customer/pages/frontStore/resetPasswordPage/ResetPasswordPage.js.map +1 -1
- package/dist/modules/customer/services/customer/address/createCustomerAddress.d.ts +13 -0
- package/dist/modules/customer/services/customer/address/createCustomerAddress.js +13 -1
- package/dist/modules/customer/services/customer/address/createCustomerAddress.js.map +1 -1
- package/dist/modules/customer/services/customer/address/deleteCustomerAddress.d.ts +5 -0
- package/dist/modules/customer/services/customer/address/deleteCustomerAddress.js +13 -1
- package/dist/modules/customer/services/customer/address/deleteCustomerAddress.js.map +1 -1
- package/dist/modules/customer/services/customer/address/updateCustomerAddress.d.ts +13 -0
- package/dist/modules/customer/services/customer/address/updateCustomerAddress.js +13 -1
- package/dist/modules/customer/services/customer/address/updateCustomerAddress.js.map +1 -1
- package/dist/modules/customer/services/customer/buildCustomerPayload.d.ts +8 -0
- package/dist/modules/customer/services/customer/buildCustomerPayload.js +19 -0
- package/dist/modules/customer/services/customer/buildCustomerPayload.js.map +1 -0
- package/dist/modules/customer/services/customer/createCustomer.d.ts +21 -3
- package/dist/modules/customer/services/customer/createCustomer.js +19 -5
- package/dist/modules/customer/services/customer/createCustomer.js.map +1 -1
- package/dist/modules/customer/services/customer/deleteCustomer.d.ts +7 -2
- package/dist/modules/customer/services/customer/deleteCustomer.js +13 -1
- package/dist/modules/customer/services/customer/deleteCustomer.js.map +1 -1
- package/dist/modules/customer/services/customer/loginCustomerWithEmail.js +3 -4
- package/dist/modules/customer/services/customer/loginCustomerWithEmail.js.map +1 -1
- package/dist/modules/customer/services/customer/updateCustomer.d.ts +23 -1
- package/dist/modules/customer/services/customer/updateCustomer.js +13 -1
- package/dist/modules/customer/services/customer/updateCustomer.js.map +1 -1
- package/dist/modules/customer/services/customer/updatePassword.d.ts +13 -0
- package/dist/modules/customer/services/customer/updatePassword.js +13 -1
- package/dist/modules/customer/services/customer/updatePassword.js.map +1 -1
- package/dist/modules/customer/services/index.d.ts +17 -10
- package/dist/modules/customer/services/index.js +26 -10
- package/dist/modules/customer/services/index.js.map +1 -1
- package/dist/modules/customer/services/sendResetPasswordEmail.d.ts +1 -0
- package/dist/modules/customer/services/sendResetPasswordEmail.js +182 -0
- package/dist/modules/customer/services/sendResetPasswordEmail.js.map +1 -0
- package/dist/modules/customer/subscribers/customer_registered/sendWelcomeEmail.d.ts +2 -0
- package/dist/modules/customer/subscribers/customer_registered/sendWelcomeEmail.js +203 -0
- package/dist/modules/customer/subscribers/customer_registered/sendWelcomeEmail.js.map +1 -0
- package/dist/modules/graphql/pages/global/{[bodyParser]buildQuery[graphql].js → [bodyParser,notFound]buildQuery[graphql].js} +49 -62
- package/dist/modules/graphql/pages/global/[bodyParser,notFound]buildQuery[graphql].js.map +1 -0
- package/dist/modules/graphql/pages/global/{[buildQuery]graphql[notFound].js → [buildQuery]graphql[response].js} +1 -1
- package/dist/modules/graphql/pages/global/{[buildQuery]graphql[notFound].js.map → [buildQuery]graphql[response].js.map} +1 -1
- package/dist/modules/graphql/pages/global/bodyParser[buildQuery].d.ts +1 -1
- package/dist/modules/graphql/pages/global/bodyParser[buildQuery].js.map +1 -1
- package/dist/modules/oms/api/createShipment/[context]borderParser[auth].d.ts +1 -1
- package/dist/modules/oms/api/createShipment/[context]borderParser[auth].js.map +1 -1
- package/dist/modules/oms/api/createShipment/createShipment.d.ts +3 -1
- package/dist/modules/oms/api/createShipment/createShipment.js +11 -56
- package/dist/modules/oms/api/createShipment/createShipment.js.map +1 -1
- package/dist/modules/oms/api/markDelivered/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/oms/api/markDelivered/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/oms/api/markDelivered/markDelivered.d.ts +3 -1
- package/dist/modules/oms/api/markDelivered/markDelivered.js +3 -8
- package/dist/modules/oms/api/markDelivered/markDelivered.js.map +1 -1
- package/dist/modules/oms/api/updateShipment/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/oms/api/updateShipment/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/oms/api/updateShipment/updateShipment.d.ts +3 -1
- package/dist/modules/oms/api/updateShipment/updateShipment.js +3 -8
- package/dist/modules/oms/api/updateShipment/updateShipment.js.map +1 -1
- package/dist/modules/oms/bootstrap.d.ts +1 -1
- package/dist/modules/oms/bootstrap.js +30 -54
- package/dist/modules/oms/bootstrap.js.map +1 -1
- package/dist/modules/oms/graphql/types/Carrier/Carrier.admin.resolvers.d.ts +5 -1
- package/dist/modules/oms/graphql/types/Order/Order.graphql +2 -0
- package/dist/modules/oms/graphql/types/Order/Order.resolvers.d.ts +24 -3
- package/dist/modules/oms/graphql/types/Order/Order.resolvers.js +3 -6
- package/dist/modules/oms/graphql/types/Order/Order.resolvers.js.map +1 -1
- package/dist/modules/oms/graphql/types/Status/Status.graphql +0 -3
- package/dist/modules/oms/graphql/types/Status/Status.resolvers.d.ts +24 -3
- package/dist/modules/oms/migration/Version-1.0.2.d.ts +2 -0
- package/dist/modules/oms/migration/Version-1.0.2.js +6 -0
- package/dist/modules/oms/migration/Version-1.0.2.js.map +1 -0
- package/dist/modules/oms/pages/admin/all/OmsMenuGroup.js +2 -2
- package/dist/modules/oms/pages/admin/all/OmsMenuGroup.js.map +1 -1
- package/dist/modules/oms/pages/admin/dashboard/Bestcustomers.js +20 -21
- package/dist/modules/oms/pages/admin/dashboard/Bestcustomers.js.map +1 -1
- package/dist/modules/oms/pages/admin/dashboard/Bestsellers.js +19 -20
- package/dist/modules/oms/pages/admin/dashboard/Bestsellers.js.map +1 -1
- package/dist/modules/oms/pages/admin/dashboard/Lifetimesales.js +26 -6
- package/dist/modules/oms/pages/admin/dashboard/Lifetimesales.js.map +1 -1
- package/dist/modules/oms/pages/admin/dashboard/Statistic.js +16 -16
- package/dist/modules/oms/pages/admin/dashboard/Statistic.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Activities.js +10 -11
- package/dist/modules/oms/pages/admin/orderEdit/Activities.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/AddTrackingButton.d.ts +3 -2
- package/dist/modules/oms/pages/admin/orderEdit/AddTrackingButton.js +35 -27
- package/dist/modules/oms/pages/admin/orderEdit/AddTrackingButton.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/CancelButton.js +27 -27
- package/dist/modules/oms/pages/admin/orderEdit/CancelButton.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Customer.d.ts +45 -18
- package/dist/modules/oms/pages/admin/orderEdit/Customer.js +18 -49
- package/dist/modules/oms/pages/admin/orderEdit/Customer.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/CustomerNotes.d.ts +10 -14
- package/dist/modules/oms/pages/admin/orderEdit/CustomerNotes.js +7 -11
- package/dist/modules/oms/pages/admin/orderEdit/CustomerNotes.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Items.d.ts +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Items.js +16 -13
- package/dist/modules/oms/pages/admin/orderEdit/Items.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Layout.scss +8 -6
- package/dist/modules/oms/pages/admin/orderEdit/MarkDeliveredButton.d.ts +16 -18
- package/dist/modules/oms/pages/admin/orderEdit/MarkDeliveredButton.js +6 -18
- package/dist/modules/oms/pages/admin/orderEdit/MarkDeliveredButton.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Payment.d.ts +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Payment.js +10 -10
- package/dist/modules/oms/pages/admin/orderEdit/Payment.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/ShipButton.d.ts +3 -2
- package/dist/modules/oms/pages/admin/orderEdit/ShipButton.js +10 -6
- package/dist/modules/oms/pages/admin/orderEdit/ShipButton.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Status.d.ts +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/Status.js +3 -5
- package/dist/modules/oms/pages/admin/orderEdit/Status.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/TrackingButton.d.ts +18 -16
- package/dist/modules/oms/pages/admin/orderEdit/TrackingButton.js +5 -18
- package/dist/modules/oms/pages/admin/orderEdit/TrackingButton.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/items/Name.js +6 -4
- package/dist/modules/oms/pages/admin/orderEdit/items/Name.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/items/Price.js +2 -1
- package/dist/modules/oms/pages/admin/orderEdit/items/Price.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/items/Thumbnail.js +7 -6
- package/dist/modules/oms/pages/admin/orderEdit/items/Thumbnail.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/payment/Discount.js +5 -5
- package/dist/modules/oms/pages/admin/orderEdit/payment/Discount.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/payment/Shipping.js +5 -5
- package/dist/modules/oms/pages/admin/orderEdit/payment/Shipping.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/payment/SubTotal.js +5 -5
- package/dist/modules/oms/pages/admin/orderEdit/payment/SubTotal.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/payment/Tax.js +5 -5
- package/dist/modules/oms/pages/admin/orderEdit/payment/Tax.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderEdit/payment/Total.js +4 -4
- package/dist/modules/oms/pages/admin/orderEdit/payment/Total.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderGrid/Grid.d.ts +1 -1
- package/dist/modules/oms/pages/admin/orderGrid/Grid.js +143 -147
- package/dist/modules/oms/pages/admin/orderGrid/Grid.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderGrid/rows/OrderNumber.js +2 -1
- package/dist/modules/oms/pages/admin/orderGrid/rows/OrderNumber.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderGrid/rows/PaymentStatus.d.ts +2 -3
- package/dist/modules/oms/pages/admin/orderGrid/rows/PaymentStatus.js +4 -3
- package/dist/modules/oms/pages/admin/orderGrid/rows/PaymentStatus.js.map +1 -1
- package/dist/modules/oms/pages/admin/orderGrid/rows/ShipmentStatus.d.ts +2 -3
- package/dist/modules/oms/pages/admin/orderGrid/rows/ShipmentStatus.js +4 -3
- package/dist/modules/oms/pages/admin/orderGrid/rows/ShipmentStatus.js.map +1 -1
- package/dist/modules/oms/services/addOrderActivityLog.d.ts +23 -0
- package/dist/modules/oms/services/addOrderActivityLog.js +27 -0
- package/dist/modules/oms/services/addOrderActivityLog.js.map +1 -0
- package/dist/modules/oms/services/addPaymentTransaction.d.ts +3 -0
- package/dist/modules/oms/services/addPaymentTransaction.js +16 -0
- package/dist/modules/oms/services/addPaymentTransaction.js.map +1 -0
- package/dist/modules/oms/services/cancelOrder.d.ts +61 -0
- package/dist/modules/oms/services/cancelOrder.js +34 -12
- package/dist/modules/oms/services/cancelOrder.js.map +1 -1
- package/dist/modules/oms/services/createShipment.d.ts +23 -0
- package/dist/modules/oms/services/createShipment.js +67 -0
- package/dist/modules/oms/services/createShipment.js.map +1 -0
- package/dist/modules/oms/services/index.d.ts +7 -1
- package/dist/modules/oms/services/index.js +7 -1
- package/dist/modules/oms/services/index.js.map +1 -1
- package/dist/modules/oms/services/orderLoader.d.ts +8 -0
- package/dist/modules/oms/services/orderLoader.js +57 -0
- package/dist/modules/oms/services/orderLoader.js.map +1 -0
- package/dist/modules/oms/services/statusManager.d.ts +54 -0
- package/dist/modules/oms/services/statusManager.js +101 -0
- package/dist/modules/oms/services/statusManager.js.map +1 -0
- package/dist/modules/oms/services/updateOrderStatus.d.ts +37 -0
- package/dist/modules/oms/services/updateOrderStatus.js +34 -9
- package/dist/modules/oms/services/updateOrderStatus.js.map +1 -1
- package/dist/modules/oms/services/updatePaymentStatus.d.ts +26 -0
- package/dist/modules/oms/services/updatePaymentStatus.js +13 -1
- package/dist/modules/oms/services/updatePaymentStatus.js.map +1 -1
- package/dist/modules/oms/services/updateShipmentStatus.d.ts +26 -0
- package/dist/modules/oms/services/updateShipmentStatus.js +13 -1
- package/dist/modules/oms/services/updateShipmentStatus.js.map +1 -1
- package/dist/modules/oms/subscribers/order_placed/sendOrderConfirmationEmail.d.ts +2 -0
- package/dist/modules/oms/subscribers/order_placed/sendOrderConfirmationEmail.js +701 -0
- package/dist/modules/oms/subscribers/order_placed/sendOrderConfirmationEmail.js.map +1 -0
- package/dist/modules/paypal/api/paypalAuthorizePayment/[bodyParser]authorize.js +4 -9
- package/dist/modules/paypal/api/paypalAuthorizePayment/[bodyParser]authorize.js.map +1 -1
- package/dist/modules/paypal/api/paypalCaptureAuthorizedPayment/[bodyParser]capture.js +17 -20
- package/dist/modules/paypal/api/paypalCaptureAuthorizedPayment/[bodyParser]capture.js.map +1 -1
- package/dist/modules/paypal/api/paypalCapturePayment/[bodyParser]capture.js +13 -12
- package/dist/modules/paypal/api/paypalCapturePayment/[bodyParser]capture.js.map +1 -1
- package/dist/modules/paypal/api/paypalCreateOrder/[bodyParser]createOrder.js +15 -15
- package/dist/modules/paypal/api/paypalCreateOrder/[bodyParser]createOrder.js.map +1 -1
- package/dist/modules/paypal/bootstrap.d.ts +1 -1
- package/dist/modules/paypal/bootstrap.js +23 -3
- package/dist/modules/paypal/bootstrap.js.map +1 -1
- package/dist/modules/paypal/graphql/types/PaypalSetting/PaypalSetting.admin.resolvers.d.ts +1 -1
- package/dist/modules/paypal/migration/Version-1.0.0.d.ts +3 -0
- package/dist/modules/paypal/migration/Version-1.0.0.js +19 -0
- package/dist/modules/paypal/migration/Version-1.0.0.js.map +1 -0
- package/dist/modules/paypal/pages/admin/orderEdit/PaypalCaptureButton.js +5 -5
- package/dist/modules/paypal/pages/admin/orderEdit/PaypalCaptureButton.js.map +1 -1
- package/dist/modules/paypal/pages/admin/paymentSetting/PaypalSetting.js +15 -12
- package/dist/modules/paypal/pages/admin/paymentSetting/PaypalSetting.js.map +1 -1
- package/dist/modules/paypal/pages/frontStore/checkout/Paypal.js +13 -7
- package/dist/modules/paypal/pages/frontStore/checkout/Paypal.js.map +1 -1
- package/dist/modules/promotion/api/couponRemove/removeCoupon.d.ts +3 -1
- package/dist/modules/promotion/api/couponRemove/removeCoupon.js +7 -2
- package/dist/modules/promotion/api/couponRemove/removeCoupon.js.map +1 -1
- package/dist/modules/promotion/api/createCoupon/createCoupon[finish].d.ts +1 -1
- package/dist/modules/promotion/api/updateCoupon/updateCoupon[finish].d.ts +1 -1
- package/dist/modules/promotion/pages/admin/all/CouponMenuGroup.js +1 -1
- package/dist/modules/promotion/pages/admin/all/CouponMenuGroup.js.map +1 -1
- package/dist/modules/promotion/pages/admin/all/NewCouponQuickLink.js +1 -1
- package/dist/modules/promotion/pages/admin/all/NewCouponQuickLink.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit/CouponEditForm.js +21 -9
- package/dist/modules/promotion/pages/admin/couponEdit/CouponEditForm.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/CustomerCondition.js +2 -2
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/CustomerCondition.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/General.js +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/General.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/General.scss +9 -6
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/AttributeGroupConditionValueSelector.js +28 -29
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/AttributeGroupConditionValueSelector.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/BuyXGetY.js +29 -30
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/BuyXGetY.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/CategoryConditionValueSelector.js +28 -29
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/CategoryConditionValueSelector.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/CollectionConditionValueSelector.js +28 -29
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/CollectionConditionValueSelector.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/RequireProducts.d.ts +0 -5
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/RequireProducts.js +21 -26
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/RequireProducts.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/SkuConditionValueSelector.js +28 -29
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/SkuConditionValueSelector.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/TargetProducts.js +24 -23
- package/dist/modules/promotion/pages/admin/couponEdit+couponNew/components/TargetProducts.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponGrid/Grid.js +145 -164
- package/dist/modules/promotion/pages/admin/couponGrid/Grid.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponGrid/NewCouponButton.js +5 -2
- package/dist/modules/promotion/pages/admin/couponGrid/NewCouponButton.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponGrid/rows/CouponName.js +3 -3
- package/dist/modules/promotion/pages/admin/couponGrid/rows/CouponName.js.map +1 -1
- package/dist/modules/promotion/pages/admin/couponNew/CouponNewForm.js +21 -9
- package/dist/modules/promotion/pages/admin/couponNew/CouponNewForm.js.map +1 -1
- package/dist/modules/promotion/pages/admin/navigation/CouponNewMenuItem.js +2 -2
- package/dist/modules/promotion/pages/admin/navigation/CouponNewMenuItem.js.map +1 -1
- package/dist/modules/promotion/pages/admin/navigation/CouponsMenuItem.js +2 -2
- package/dist/modules/promotion/pages/admin/navigation/CouponsMenuItem.js.map +1 -1
- package/dist/modules/promotion/services/coupon/createCoupon.d.ts +45 -1
- package/dist/modules/promotion/services/coupon/createCoupon.js +17 -5
- package/dist/modules/promotion/services/coupon/createCoupon.js.map +1 -1
- package/dist/modules/promotion/services/coupon/deleteCoupon.d.ts +8 -1
- package/dist/modules/promotion/services/coupon/deleteCoupon.js +16 -4
- package/dist/modules/promotion/services/coupon/deleteCoupon.js.map +1 -1
- package/dist/modules/promotion/services/coupon/updateCoupon.d.ts +8 -1
- package/dist/modules/promotion/services/coupon/updateCoupon.js +27 -13
- package/dist/modules/promotion/services/coupon/updateCoupon.js.map +1 -1
- package/dist/modules/promotion/services/index.d.ts +6 -0
- package/dist/modules/promotion/services/index.js +10 -0
- package/dist/modules/promotion/services/index.js.map +1 -0
- package/dist/modules/promotion/services/registerDefaultValidators.d.ts +1 -1
- package/dist/modules/setting/pages/admin/all/PaymentSettingMenu.js +17 -3
- package/dist/modules/setting/pages/admin/all/PaymentSettingMenu.js.map +1 -1
- package/dist/modules/setting/pages/admin/all/SettingMenuGroup.js +2 -2
- package/dist/modules/setting/pages/admin/all/SettingMenuGroup.js.map +1 -1
- package/dist/modules/setting/pages/admin/all/StoreSettingMenu.js +17 -3
- package/dist/modules/setting/pages/admin/all/StoreSettingMenu.js.map +1 -1
- package/dist/modules/setting/pages/admin/storeSetting/StoreSetting.js +36 -18
- package/dist/modules/setting/pages/admin/storeSetting/StoreSetting.js.map +1 -1
- package/dist/modules/setting/services/setting.d.ts +10 -1
- package/dist/modules/setting/services/setting.js +27 -0
- package/dist/modules/setting/services/setting.js.map +1 -1
- package/dist/modules/stripe/api/capturePaymentIntent/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/stripe/api/capturePaymentIntent/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/stripe/api/capturePaymentIntent/capturePaymentIntent.d.ts +4 -1
- package/dist/modules/stripe/api/capturePaymentIntent/capturePaymentIntent.js +6 -4
- package/dist/modules/stripe/api/capturePaymentIntent/capturePaymentIntent.js.map +1 -1
- package/dist/modules/stripe/api/createPaymentIntent/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/stripe/api/createPaymentIntent/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/stripe/api/createPaymentIntent/createPaymentIntent.d.ts +3 -1
- package/dist/modules/stripe/api/createPaymentIntent/createPaymentIntent.js +4 -4
- package/dist/modules/stripe/api/createPaymentIntent/createPaymentIntent.js.map +1 -1
- package/dist/modules/stripe/api/refundPaymentIntent/[context]bodyParser[auth].d.ts +1 -1
- package/dist/modules/stripe/api/refundPaymentIntent/[context]bodyParser[auth].js.map +1 -1
- package/dist/modules/stripe/api/refundPaymentIntent/refundPaymentIntent.d.ts +1 -1
- package/dist/modules/stripe/api/refundPaymentIntent/refundPaymentIntent.js +14 -13
- package/dist/modules/stripe/api/refundPaymentIntent/refundPaymentIntent.js.map +1 -1
- package/dist/modules/stripe/api/stripeWebHook/[bodyJson]webhook.d.ts +3 -1
- package/dist/modules/stripe/api/stripeWebHook/[bodyJson]webhook.js +7 -16
- package/dist/modules/stripe/api/stripeWebHook/[bodyJson]webhook.js.map +1 -1
- package/dist/modules/stripe/api/stripeWebHook/bodyJson.d.ts +1 -1
- package/dist/modules/stripe/api/stripeWebHook/bodyJson.js.map +1 -1
- package/dist/modules/stripe/bootstrap.d.ts +1 -1
- package/dist/modules/stripe/bootstrap.js +34 -22
- package/dist/modules/stripe/bootstrap.js.map +1 -1
- package/dist/modules/stripe/graphql/types/StripeSetting/StripeSetting.resolvers.d.ts +1 -1
- package/dist/modules/stripe/migration/Version-1.0.0.d.ts +3 -0
- package/dist/modules/stripe/migration/Version-1.0.0.js +19 -0
- package/dist/modules/stripe/migration/Version-1.0.0.js.map +1 -0
- package/dist/modules/stripe/pages/admin/orderEdit/StripeCaptureButton.js +6 -5
- package/dist/modules/stripe/pages/admin/orderEdit/StripeCaptureButton.js.map +1 -1
- package/dist/modules/stripe/pages/admin/orderEdit/StripeRefundButton.js +13 -9
- package/dist/modules/stripe/pages/admin/orderEdit/StripeRefundButton.js.map +1 -1
- package/dist/modules/stripe/pages/admin/paymentSetting/StripePayment.js +15 -12
- package/dist/modules/stripe/pages/admin/paymentSetting/StripePayment.js.map +1 -1
- package/dist/modules/stripe/pages/frontStore/checkout/Stripe.js +23 -14
- package/dist/modules/stripe/pages/frontStore/checkout/Stripe.js.map +1 -1
- package/dist/modules/stripe/pages/frontStore/stripeReturn/index.d.ts +3 -1
- package/dist/modules/stripe/pages/frontStore/stripeReturn/index.js +8 -4
- package/dist/modules/stripe/pages/frontStore/stripeReturn/index.js.map +1 -1
- package/dist/modules/stripe/services/cancelPayment.d.ts +1 -1
- package/dist/modules/stripe/services/cancelPayment.js +3 -3
- package/dist/modules/stripe/services/cancelPayment.js.map +1 -1
- package/dist/modules/tax/api/createTaxRate/payloadSchema.json +59 -10
- package/dist/modules/tax/api/updateTaxRate/payloadSchema.json +59 -10
- package/dist/modules/tax/pages/admin/all/TaxSettingMenu.js +17 -3
- package/dist/modules/tax/pages/admin/all/TaxSettingMenu.js.map +1 -1
- package/dist/modules/tax/pages/admin/taxSetting/TaxSetting.js +21 -14
- package/dist/modules/tax/pages/admin/taxSetting/TaxSetting.js.map +1 -1
- package/dist/modules/tax/pages/admin/taxSetting/components/Rate.js +15 -13
- package/dist/modules/tax/pages/admin/taxSetting/components/Rate.js.map +1 -1
- package/dist/modules/tax/pages/admin/taxSetting/components/RateForm.js +54 -44
- package/dist/modules/tax/pages/admin/taxSetting/components/RateForm.js.map +1 -1
- package/dist/modules/tax/pages/admin/taxSetting/components/Rates.js +25 -19
- package/dist/modules/tax/pages/admin/taxSetting/components/Rates.js.map +1 -1
- package/dist/modules/tax/pages/admin/taxSetting/components/TaxClass.js +4 -4
- package/dist/modules/tax/pages/admin/taxSetting/components/TaxClass.js.map +1 -1
- package/dist/modules/tax/pages/admin/taxSetting/components/TaxClassForm.js +14 -18
- package/dist/modules/tax/pages/admin/taxSetting/components/TaxClassForm.js.map +1 -1
- package/dist/modules/tax/services/registerCartItemTaxPercentField.js +3 -2
- package/dist/modules/tax/services/registerCartItemTaxPercentField.js.map +1 -1
- package/dist/types/apiResponse.d.ts +1 -1
- package/dist/types/appContext.d.ts +7 -4
- package/dist/types/customerAddress.d.ts +1 -1
- package/dist/types/db/index.d.ts +677 -0
- package/dist/types/db/index.js +19 -0
- package/dist/types/db/index.js.map +1 -0
- package/dist/types/event.d.ts +90 -3
- package/dist/types/order.d.ts +1 -5
- package/dist/types/pageMeta.d.ts +1 -0
- package/dist/types/registry.d.ts +119 -0
- package/dist/types/registry.js +2 -0
- package/dist/types/registry.js.map +1 -0
- package/dist/types/widget.d.ts +3 -0
- package/package.json +40 -21
- package/src/bin/build/index.js +1 -1
- package/src/bin/lib/{addDefaultMiddlewareFuncs.js → addDefaultMiddlewareFuncs.ts} +47 -146
- package/src/bin/lib/bootstrap/bootstrap.ts +1 -0
- package/src/bin/lib/buildEntry.js +10 -5
- package/src/bin/lib/devEnvHelper.ts +59 -0
- package/src/bin/theme/twizz.ts +1 -1
- package/src/components/admin/AttributeGroupSelector.tsx +102 -111
- package/src/components/admin/CategorySelector.tsx +25 -30
- package/src/components/admin/CategoryTree.tsx +7 -10
- package/src/components/admin/CollectionSelector.tsx +25 -30
- package/src/components/admin/FileBrowser.tsx +166 -169
- package/src/components/admin/FormButtons.tsx +11 -10
- package/src/components/admin/ImageUploader.scss +6 -6
- package/src/components/admin/ImageUploader.tsx +13 -10
- package/src/components/admin/NavigationItem.tsx +29 -11
- package/src/components/admin/NavigationItemGroup.scss +2 -1
- package/src/components/admin/ProductListSkeleton.tsx +5 -9
- package/src/components/admin/ProductSelector.tsx +19 -22
- package/src/components/admin/SettingMenu.tsx +2 -6
- package/src/components/admin/Spinner.jsx +2 -3
- package/src/components/admin/Status.tsx +6 -5
- package/src/components/admin/grid/GridPagination.tsx +163 -0
- package/src/components/admin/grid/Thumbnail.tsx +3 -2
- package/src/components/admin/grid/header/Dummy.tsx +3 -2
- package/src/components/admin/grid/header/Sortable.tsx +5 -8
- package/src/components/common/Area.tsx +260 -41
- package/src/components/common/Editor.tsx +6 -3
- package/src/components/common/ExtendableTable.tsx +36 -28
- package/src/components/common/SimplePagination.tsx +9 -10
- package/src/components/common/StaticImage.tsx +2 -2
- package/src/components/common/form/CheckboxField.tsx +69 -67
- package/src/components/common/form/DateField.tsx +45 -35
- package/src/components/common/form/DateTimeLocalField.tsx +43 -35
- package/src/components/common/form/Editor.scss +29 -6
- package/src/components/common/form/Editor.tsx +20 -15
- package/src/components/common/form/EmailField.tsx +73 -108
- package/src/components/common/form/FileField.tsx +39 -27
- package/src/components/common/form/Form.tsx +34 -7
- package/src/components/common/form/InputField.tsx +59 -52
- package/src/components/common/form/NumberField.tsx +80 -90
- package/src/components/common/form/PasswordField.tsx +82 -149
- package/src/components/common/form/RadioGroupField.tsx +44 -36
- package/src/components/common/form/RangeField.tsx +1 -1
- package/src/components/common/form/ReactSelectCreatableField.tsx +128 -124
- package/src/components/common/form/ReactSelectField.tsx +78 -86
- package/src/components/common/form/SelectField.tsx +81 -53
- package/src/components/common/form/TelField.tsx +52 -49
- package/src/components/common/form/TextareaField.tsx +39 -26
- package/src/components/common/form/TimeField.tsx +44 -29
- package/src/components/common/form/ToggleField.tsx +30 -112
- package/src/components/common/form/UrlField.tsx +50 -49
- package/src/components/common/form/editor/RawToolWrapper.ts +79 -0
- package/src/components/common/form/editor/RowTemplates.tsx +17 -17
- package/src/components/common/modal/Alert.jsx +30 -28
- package/src/components/common/react/client/Client.tsx +3 -1
- package/src/components/common/react/client/Index.jsx +0 -2
- package/src/components/common/react/server/Server.tsx +8 -3
- package/src/components/common/react/server/render.tsx +2 -1
- package/src/components/common/ui/Accordion.tsx +78 -0
- package/src/components/common/ui/Alert.tsx +76 -0
- package/src/components/common/ui/AlertDialog.tsx +184 -0
- package/src/components/common/ui/AspectRatio.tsx +23 -0
- package/src/components/common/ui/Avatar.tsx +106 -0
- package/src/components/common/ui/Badge.tsx +57 -0
- package/src/components/common/ui/Breadcrumb.tsx +121 -0
- package/src/components/common/ui/Button.tsx +70 -0
- package/src/components/common/ui/ButtonGroup.tsx +87 -0
- package/src/components/common/ui/Card.tsx +102 -0
- package/src/components/common/ui/Chart.tsx +354 -0
- package/src/components/common/ui/Checkbox.tsx +26 -0
- package/src/components/common/ui/Circle.tsx +84 -0
- package/src/components/common/ui/Collapsible.tsx +20 -0
- package/src/components/common/ui/ContextMenu.tsx +261 -0
- package/src/components/common/ui/Dialog.tsx +153 -0
- package/src/components/common/ui/DropdownMenu.tsx +261 -0
- package/src/components/common/ui/Empty.tsx +102 -0
- package/src/components/common/ui/Field.tsx +236 -0
- package/src/components/common/ui/HoverCard.tsx +49 -0
- package/src/components/common/ui/Input.tsx +23 -0
- package/src/components/common/ui/InputGroup.tsx +170 -0
- package/src/components/common/ui/Item.tsx +200 -0
- package/src/components/common/ui/Kbd.tsx +27 -0
- package/src/components/common/ui/Label.tsx +18 -0
- package/src/components/common/ui/Menubar.tsx +271 -0
- package/src/components/common/ui/NavigationMenu.tsx +169 -0
- package/src/components/common/ui/Pagination.tsx +131 -0
- package/src/components/common/ui/Popover.tsx +87 -0
- package/src/components/common/ui/Progress.tsx +81 -0
- package/src/components/common/ui/RadioGroup.tsx +37 -0
- package/src/components/common/ui/ScrollArea.tsx +52 -0
- package/src/components/common/ui/Select.tsx +198 -0
- package/src/components/common/ui/Separator.tsx +23 -0
- package/src/components/common/ui/Sheet.tsx +131 -0
- package/src/components/common/ui/Sidebar.tsx +720 -0
- package/src/components/common/ui/Skeleton.tsx +14 -0
- package/src/components/common/ui/Slider.tsx +61 -0
- package/src/components/common/ui/Sonner.tsx +43 -0
- package/src/components/common/ui/Spinner.tsx +16 -0
- package/src/components/common/ui/Switch.tsx +30 -0
- package/src/components/common/ui/Table.tsx +110 -0
- package/src/components/common/ui/Tabs.tsx +80 -0
- package/src/components/common/ui/Textarea.tsx +22 -0
- package/src/components/common/ui/Toggle.tsx +42 -0
- package/src/components/common/ui/ToggleGroup.tsx +86 -0
- package/src/components/common/ui/Tooltip.tsx +68 -0
- package/src/components/common/ui/hooks/useIsMobile.tsx +21 -0
- package/src/components/frontStore/CouponForm.tsx +6 -6
- package/src/components/frontStore/Footer.tsx +2 -0
- package/src/components/frontStore/Pagination.tsx +108 -68
- package/src/components/frontStore/cart/CartContext.tsx +5 -2
- package/src/components/frontStore/cart/CartSummaryItems.tsx +17 -16
- package/src/components/frontStore/cart/CartTotalSummary.tsx +58 -10
- package/src/components/frontStore/cart/DefaultCartItemList.tsx +30 -16
- package/src/components/frontStore/cart/DefaultMiniCartDropdown.tsx +27 -93
- package/src/components/frontStore/cart/DefaultMiniCartDropdownEmpty.tsx +9 -8
- package/src/components/frontStore/cart/DefaultMiniCartIcon.tsx +4 -8
- package/src/components/frontStore/cart/DefaultMinicartDropdownSummary.tsx +57 -0
- package/src/components/frontStore/cart/MiniCart.tsx +3 -0
- package/src/components/frontStore/cart/ShoppingCartEmpty.tsx +25 -25
- package/src/components/frontStore/catalog/CategoryInfo.tsx +2 -2
- package/src/components/frontStore/catalog/CategoryProductsFilter.tsx +1 -2
- package/src/components/frontStore/catalog/DefaultAttributeFilterRender.tsx +30 -40
- package/src/components/frontStore/catalog/DefaultCategoryFilterRender.tsx +15 -39
- package/src/components/frontStore/catalog/DefaultPriceFilterRender.tsx +7 -9
- package/src/components/frontStore/catalog/DefaultProductFilterRender.tsx +64 -89
- package/src/components/frontStore/catalog/DefaultProductFilterSummary.tsx +19 -11
- package/src/components/frontStore/catalog/DefaultVariantSelectorRender.tsx +9 -8
- package/src/components/frontStore/catalog/ProductListItemRender.tsx +8 -22
- package/src/components/frontStore/catalog/ProductSingleForm.tsx +45 -22
- package/src/components/frontStore/catalog/ProductSorting.tsx +50 -49
- package/src/components/frontStore/catalog/SearchBox.tsx +35 -54
- package/src/components/frontStore/catalog/VariantSelector.tsx +1 -1
- package/src/components/frontStore/checkout/CheckoutButton.tsx +48 -19
- package/src/components/frontStore/checkout/CheckoutContext.tsx +56 -36
- package/src/components/frontStore/checkout/ContactInformation.tsx +82 -72
- package/src/components/frontStore/checkout/OrderSummaryItems.tsx +12 -5
- package/src/components/frontStore/checkout/Payment.tsx +50 -12
- package/src/components/frontStore/checkout/Shipment.tsx +49 -17
- package/src/components/frontStore/checkout/payment/BillingAddress.tsx +117 -90
- package/src/components/frontStore/checkout/payment/PaymentMethods.tsx +94 -81
- package/src/components/frontStore/checkout/shipment/ShippingMethods.tsx +138 -106
- package/src/components/frontStore/customer/AccountInfo.tsx +4 -5
- package/src/components/frontStore/customer/CustomerContext.tsx +19 -8
- package/src/components/frontStore/customer/LoginForm.tsx +22 -10
- package/src/components/frontStore/customer/MyAddresses.tsx +117 -108
- package/src/components/frontStore/customer/OrderHistory.tsx +5 -5
- package/src/components/frontStore/customer/RegistrationForm.tsx +38 -11
- package/src/components/frontStore/customer/ResetPasswordForm.tsx +9 -7
- package/src/components/frontStore/customer/address/addressForm/AddressForm.tsx +5 -1
- package/src/components/frontStore/customer/address/addressForm/Index.tsx +1 -1
- package/src/lib/componee/{getComponentsByRoute.js → getComponentsByRoute.ts} +22 -2
- package/src/lib/componee/{scanForComponents.js → scanForComponents.ts} +34 -15
- package/src/lib/event/EventProcessor.ts +78 -0
- package/src/lib/event/EventStorage.ts +74 -0
- package/src/lib/event/callSubscibers.ts +13 -0
- package/src/lib/event/emitter.ts +1 -1
- package/src/lib/event/event-manager.ts +96 -0
- package/src/lib/event/{loadSubscribers.js → loadSubscribers.ts} +20 -8
- package/src/lib/event/subscriber.ts +1 -1
- package/src/lib/event/tests/unit/EventProcessor.test.js +262 -0
- package/src/lib/event/tests/unit/callSubscribers.test.js +77 -0
- package/src/lib/helpers.ts +1 -1
- package/src/lib/mail/emailHelper.ts +284 -0
- package/src/lib/middleware/parseFromFile.js +1 -1
- package/src/lib/middlewares/bodyJson.ts +2 -1
- package/src/lib/middlewares/publicStatic.ts +2 -1
- package/src/lib/postgres/connection.ts +17 -15
- package/src/lib/postgres/query.ts +582 -0
- package/src/lib/response/render.ts +19 -35
- package/src/lib/router/buildAbsoluteUrl.ts +2 -5
- package/src/lib/util/cn.ts +6 -0
- package/src/lib/util/getConfig.ts +181 -2
- package/src/lib/util/hookable.ts +12 -4
- package/src/lib/util/keyGenerator.ts +23 -0
- package/src/lib/util/registry.ts +31 -0
- package/src/lib/util/sanitizeHtml.ts +59 -0
- package/src/lib/webpack/dev/createConfigClient.js +44 -35
- package/src/lib/webpack/isBuildRequired.ts +4 -1
- package/src/lib/webpack/loaders/AreaLoader.js +73 -23
- package/src/lib/webpack/plugins/GraphqlPlugin.js +18 -9
- package/src/lib/webpack/plugins/InjectTailwindSources.ts +27 -0
- package/src/lib/webpack/plugins/Tailwindcss.ts +71 -75
- package/src/lib/webpack/prod/createConfigClient.js +43 -4
- package/src/lib/webpack/util/getTailwindConfig.js +3 -0
- package/src/lib/webpack/util/getTailwindSources.ts +27 -0
- package/src/lib/webpack/util/parseGraphql.js +1 -1
- package/src/lib/widget/widgetManager.ts +1 -1
- package/src/modules/auth/api/refreshUserToken/refreshToken.ts +4 -6
- package/src/modules/auth/bootstrap.ts +33 -0
- package/src/modules/auth/pages/admin/adminLogin/LoginForm.scss +1 -4
- package/src/modules/auth/pages/admin/adminLogin/LoginForm.tsx +17 -18
- package/src/modules/auth/pages/admin/all/AdminUser.jsx +37 -34
- package/src/modules/auth/services/buildAdminUserPayload.ts +22 -0
- package/src/modules/auth/services/loginUserWithEmail.ts +36 -6
- package/src/modules/auth/services/logoutUser.ts +22 -1
- package/src/modules/base/api/global/{[apiResponse]apiErrorHandler.js → [apiResponse]apiErrorHandler.ts} +8 -1
- package/src/modules/base/api/global/{[auth]apiResponse[apiErrorHandler].js → [auth]apiResponse[apiErrorHandler].ts} +7 -1
- package/src/modules/base/api/global/{[auth]payloadValidate.js → [auth]payloadValidate.ts} +10 -3
- package/src/modules/base/api/global/[payloadValidate]escapeHtml.ts +12 -0
- package/src/modules/base/api/global/context.js +2 -4
- package/src/modules/base/migration/Version-1.0.2.js +37 -0
- package/src/modules/base/pages/admin/all/FormCss.tsx +10 -0
- package/src/modules/base/pages/admin/all/TailwindCss.tsx +11 -0
- package/src/modules/base/pages/admin/all/form.scss +356 -0
- package/src/modules/base/pages/admin/all/global.scss +3 -416
- package/src/modules/base/pages/admin/all/shadcn.css +95 -0
- package/src/modules/base/pages/admin/all/tailwind.css +126 -0
- package/src/modules/base/pages/frontStore/all/Base.tsx +2 -1
- package/src/modules/base/pages/frontStore/all/Breadcrumb.tsx +27 -13
- package/src/modules/base/pages/frontStore/all/Notification.scss +49 -25
- package/src/modules/base/pages/frontStore/all/TailwindCss.tsx +11 -0
- package/src/modules/base/pages/frontStore/all/global.scss +160 -542
- package/src/modules/base/pages/frontStore/all/shadcn.css +95 -0
- package/src/modules/base/pages/frontStore/all/tailwind.css +120 -0
- package/src/modules/base/pages/global/[auth]notFound[response].ts +7 -0
- package/src/modules/base/pages/global/context.js +2 -4
- package/src/modules/base/pages/global/response[errorHandler].ts +10 -8
- package/src/modules/base/services/{escapePayload.js → escapePayload.ts} +17 -11
- package/src/modules/base/services/markSkipEscape.ts +43 -0
- package/src/modules/catalog/api/createCategory/createCategory[finish].ts +10 -0
- package/src/modules/catalog/api/{updateCategory/finish[apiResponse].js → createCategory/finish[apiResponse].ts} +13 -4
- package/src/modules/catalog/api/createCategory/payloadSchema.json +76 -0
- package/src/modules/catalog/api/createCollection/{createCollection[finish].js → createCollection[finish].ts} +2 -1
- package/src/modules/catalog/api/createCollection/{finish[apiResponse].js → finish[apiResponse].ts} +12 -3
- package/src/modules/catalog/api/createCollection/payloadSchema.json +94 -0
- package/src/modules/catalog/api/createProduct/createProduct[finish].ts +10 -0
- package/src/modules/catalog/api/createProduct/{finish[apiResponse].js → finish[apiResponse].ts} +13 -4
- package/src/modules/catalog/api/createProduct/payloadSchema.json +76 -0
- package/src/modules/catalog/api/updateAttribute/{finish[apiResponse].js → finish[apiResponse].ts} +12 -2
- package/src/modules/catalog/api/updateAttribute/updateAttribute[finish].ts +11 -0
- package/src/modules/catalog/api/{createCategory/finish[apiResponse].js → updateCategory/finish[apiResponse].ts} +13 -4
- package/src/modules/catalog/api/updateCategory/payloadSchema.json +76 -0
- package/src/modules/catalog/api/updateCategory/updateCategory[finish].ts +14 -0
- package/src/modules/catalog/api/updateCollection/{finish[apiResponse].js → finish[apiResponse].ts} +12 -3
- package/src/modules/catalog/api/updateCollection/payloadSchema.json +94 -0
- package/src/modules/catalog/api/updateCollection/updateCollection[finish].ts +14 -0
- package/src/modules/catalog/api/updateProduct/{finish[apiResponse].js → finish[apiResponse].ts} +13 -4
- package/src/modules/catalog/api/updateProduct/payloadSchema.json +76 -0
- package/src/modules/catalog/api/updateProduct/updateProduct[finish].ts +14 -0
- package/src/modules/catalog/components/CollectionProductsSetting.tsx +91 -85
- package/src/modules/catalog/graphql/types/Category/{Category.resolvers.js → Category.resolvers.ts} +5 -1
- package/src/modules/catalog/graphql/types/Product/Product.graphql +1 -0
- package/src/modules/catalog/graphql/types/Product/Product.resolvers.ts +3 -1
- package/src/modules/catalog/migration/Version-1.0.8.ts +8 -0
- package/src/modules/catalog/pages/admin/all/CatalogMenuGroup.jsx +5 -8
- package/src/modules/catalog/pages/admin/all/NewProductQuickLink.jsx +2 -8
- package/src/modules/catalog/pages/admin/attributeEdit+attributeNew/Avaibility.tsx +20 -10
- package/src/modules/catalog/pages/admin/attributeEdit+attributeNew/General.scss +9 -6
- package/src/modules/catalog/pages/admin/attributeEdit+attributeNew/General.tsx +63 -60
- package/src/modules/catalog/pages/admin/attributeGrid/Grid.jsx +192 -171
- package/src/modules/catalog/pages/admin/attributeGrid/NewAttributeButton.tsx +26 -0
- package/src/modules/catalog/pages/admin/attributeGrid/rows/AttributeName.tsx +3 -2
- package/src/modules/catalog/pages/admin/attributeGrid/rows/GroupRow.tsx +12 -10
- package/src/modules/catalog/pages/admin/categoryEdit/Products.tsx +167 -140
- package/src/modules/catalog/pages/admin/categoryEdit+categoryNew/General.scss +9 -6
- package/src/modules/catalog/pages/admin/categoryEdit+categoryNew/General.tsx +92 -69
- package/src/modules/catalog/pages/admin/categoryEdit+categoryNew/Image.tsx +15 -5
- package/src/modules/catalog/pages/admin/categoryEdit+categoryNew/Seo.tsx +21 -5
- package/src/modules/catalog/pages/admin/categoryEdit+categoryNew/Status.tsx +22 -10
- package/src/modules/catalog/pages/admin/categoryGrid/Grid.jsx +166 -152
- package/src/modules/catalog/pages/admin/categoryGrid/NewCategoryButton.tsx +26 -0
- package/src/modules/catalog/pages/admin/categoryGrid/rows/CategoryName.tsx +3 -2
- package/src/modules/catalog/pages/admin/collectionEdit/Products.tsx +158 -137
- package/src/modules/catalog/pages/admin/collectionEdit+collectionNew/General.scss +9 -6
- package/src/modules/catalog/pages/admin/collectionEdit+collectionNew/General.tsx +21 -4
- package/src/modules/catalog/pages/admin/collectionEdit+collectionNew/PageHeading.tsx +1 -5
- package/src/modules/catalog/pages/admin/collectionGrid/Grid.jsx +166 -156
- package/src/modules/catalog/pages/admin/collectionGrid/NewCollectionButton.tsx +26 -0
- package/src/modules/catalog/pages/admin/collectionGrid/rows/CollectionNameRow.tsx +3 -2
- package/src/modules/catalog/pages/admin/productEdit/Collection.tsx +18 -6
- package/src/modules/catalog/pages/admin/productEdit/ProductEditForm.tsx +12 -10
- package/src/modules/catalog/pages/admin/productEdit/VariantGroup.tsx +13 -2
- package/src/modules/catalog/pages/admin/productEdit/variants/CreateVariant.tsx +31 -25
- package/src/modules/catalog/pages/admin/productEdit/variants/CreateVariantGroup.tsx +23 -12
- package/src/modules/catalog/pages/admin/productEdit/variants/EditVariant.tsx +33 -26
- package/src/modules/catalog/pages/admin/productEdit/variants/New.tsx +11 -26
- package/src/modules/catalog/pages/admin/productEdit/variants/Skeleton.tsx +28 -22
- package/src/modules/catalog/pages/admin/productEdit/variants/Variant.tsx +42 -23
- package/src/modules/catalog/pages/admin/productEdit/variants/VariantModal.tsx +129 -130
- package/src/modules/catalog/pages/admin/productEdit/variants/Variants.tsx +28 -19
- package/src/modules/catalog/pages/admin/productEdit+productNew/Attributes.tsx +65 -31
- package/src/modules/catalog/pages/admin/productEdit+productNew/General.scss +9 -6
- package/src/modules/catalog/pages/admin/productEdit+productNew/General.tsx +76 -64
- package/src/modules/catalog/pages/admin/productEdit+productNew/Inventory.tsx +20 -8
- package/src/modules/catalog/pages/admin/productEdit+productNew/Media.tsx +17 -5
- package/src/modules/catalog/pages/admin/productEdit+productNew/Seo.tsx +20 -6
- package/src/modules/catalog/pages/admin/productEdit+productNew/Shipping.tsx +110 -0
- package/src/modules/catalog/pages/admin/productEdit+productNew/Status.tsx +20 -6
- package/src/modules/catalog/pages/admin/productGrid/Grid.jsx +272 -268
- package/src/modules/catalog/pages/admin/productGrid/NewProductButton.tsx +29 -0
- package/src/modules/catalog/pages/admin/productGrid/rows/ProductName.tsx +5 -4
- package/src/modules/catalog/pages/frontStore/categoryView/CategoryView.tsx +4 -8
- package/src/modules/catalog/pages/frontStore/productView/ProductView.tsx +10 -1
- package/src/modules/catalog/services/attribute/createProductAttribute.ts +146 -8
- package/src/modules/catalog/services/attribute/deleteProductAttribute.ts +58 -4
- package/src/modules/catalog/services/attribute/updateProductAttribute.ts +128 -14
- package/src/modules/catalog/services/category/categoryDataSchema.json +6 -8
- package/src/modules/catalog/services/category/createCategory.ts +66 -6
- package/src/modules/catalog/services/category/deleteCategory.ts +61 -4
- package/src/modules/catalog/services/category/updateCategory.ts +75 -10
- package/src/modules/catalog/services/collection/createCollection.ts +71 -30
- package/src/modules/catalog/services/collection/deleteCollection.ts +58 -4
- package/src/modules/catalog/services/collection/updateCollection.ts +70 -35
- package/src/modules/catalog/services/index.ts +46 -35
- package/src/modules/catalog/services/product/createProduct.ts +159 -13
- package/src/modules/catalog/services/product/deleteProduct.ts +58 -4
- package/src/modules/catalog/services/product/productDataSchema.json +6 -8
- package/src/modules/catalog/services/product/updateProduct.ts +183 -24
- package/src/modules/catalog/subscribers/category_created/buildUrlRewrite.ts +1 -1
- package/src/modules/catalog/subscribers/category_deleted/deleteUrlRewrite.ts +8 -8
- package/src/modules/catalog/subscribers/category_updated/builUrlRewrite.ts +4 -4
- package/src/modules/catalog/subscribers/product_created/buildUrlRewrite.ts +1 -1
- package/src/modules/catalog/subscribers/product_deleted/deleteUrlRewrite.ts +1 -1
- package/src/modules/catalog/subscribers/product_updated/buildUrlRewrite.ts +1 -1
- package/src/modules/checkout/api/addShippingZoneMethod/[validateMethod]addShippingZoneMethod.js +4 -1
- package/src/modules/checkout/api/addShippingZoneMethod/payloadSchema.json +190 -15
- package/src/modules/checkout/api/cartCheckout/checkout.ts +3 -3
- package/src/modules/checkout/api/removeMineCartItem/removeItem.ts +3 -1
- package/src/modules/checkout/api/updateShippingZoneMethod/payloadSchema.json +185 -14
- package/src/modules/checkout/graphql/types/Cart/Cart.graphql +4 -0
- package/src/modules/checkout/graphql/types/Cart/Cart.resolvers.ts +0 -2
- package/src/modules/checkout/migration/Version-1.0.7.ts +13 -0
- package/src/modules/checkout/pages/admin/all/ShippingSettingMenu.tsx +72 -0
- package/src/modules/checkout/pages/admin/shippingSetting/ShippingSetting.tsx +11 -6
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/Method.tsx +27 -20
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/MethodForm.tsx +174 -117
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/Methods.tsx +58 -38
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/PriceBasedPrice.tsx +41 -30
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/WeightBasedPrice.tsx +40 -29
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/Zone.tsx +60 -66
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/ZoneForm.tsx +81 -72
- package/src/modules/checkout/pages/admin/shippingSetting/shippingSetting/Zones.tsx +26 -31
- package/src/modules/checkout/pages/frontStore/cart/ShoppingCart.tsx +8 -6
- package/src/modules/checkout/pages/frontStore/checkout/Checkout.scss +0 -4
- package/src/modules/checkout/pages/frontStore/checkout/Checkout.tsx +2 -0
- package/src/modules/checkout/pages/frontStore/checkoutSuccess/CheckoutSuccess.scss +1 -1
- package/src/modules/checkout/pages/frontStore/checkoutSuccess/CustomerInfo.tsx +17 -3
- package/src/modules/checkout/pages/frontStore/checkoutSuccess/Summary.scss +0 -3
- package/src/modules/checkout/pages/frontStore/checkoutSuccess/Summary.tsx +17 -2
- package/src/modules/checkout/services/addBillingAddress.ts +74 -6
- package/src/modules/checkout/services/addCartItem.ts +31 -1
- package/src/modules/checkout/services/addShippingAddress.ts +54 -6
- package/src/modules/checkout/services/cart/registerCartBaseFields.js +62 -11
- package/src/modules/checkout/services/cart/registerCartItemBaseFields.js +10 -0
- package/src/modules/checkout/services/checkout.ts +35 -7
- package/src/modules/checkout/services/getAvailableShippingMethods.ts +1 -1
- package/src/modules/checkout/services/index.ts +18 -4
- package/src/modules/checkout/services/orderCreator.ts +179 -71
- package/src/modules/checkout/services/orderValidator.ts +6 -0
- package/src/modules/checkout/services/removeCartItem.ts +27 -1
- package/src/modules/checkout/services/updateCartItemQty.ts +33 -1
- package/src/modules/cms/api/createCmsPage/createPage[finish].ts +12 -0
- package/src/modules/cms/api/createCmsPage/{finish[apiResponse].js → finish[apiResponse].ts} +10 -4
- package/src/modules/cms/api/createCmsPage/payloadSchema.json +76 -0
- package/src/modules/cms/api/deleteCmsPage/{deleteCmsPage.js → deleteCmsPage.ts} +8 -2
- package/src/modules/cms/api/updateCmsPage/{finish[apiResponse].js → finish[apiResponse].ts} +10 -4
- package/src/modules/cms/api/updateCmsPage/payloadSchema.json +76 -0
- package/src/modules/cms/api/updateCmsPage/{updatePage[finish].js → updatePage[finish].ts} +2 -1
- package/src/modules/cms/{bootstrap.js → bootstrap.ts} +24 -3
- package/src/modules/cms/components/BannerSetting.tsx +10 -6
- package/src/modules/cms/components/BasicMenu.tsx +78 -33
- package/src/modules/cms/components/BasicMenuSetting.tsx +199 -209
- package/src/modules/cms/components/SlideshowSetting.tsx +84 -102
- package/src/modules/cms/components/TextBlockSetting.tsx +1 -1
- package/src/modules/cms/graphql/types/CmsPage/CmsPage.resolvers.ts +2 -8
- package/src/modules/cms/graphql/types/PageInfo/PageInfo.resolvers.ts +12 -9
- package/src/modules/cms/graphql/types/Widget/Widget.resolvers.js +15 -8
- package/src/modules/cms/pages/admin/adminNotFound/NotFound.tsx +8 -2
- package/src/modules/cms/pages/admin/all/CmsMenuGroup.jsx +3 -4
- package/src/modules/cms/pages/admin/all/{CopyRight.jsx → CopyRight.tsx} +8 -9
- package/src/modules/cms/pages/admin/all/Notification.scss +50 -25
- package/src/modules/cms/pages/admin/all/QuickLinks.jsx +1 -1
- package/src/modules/cms/pages/admin/all/SearchBox.tsx +17 -22
- package/src/modules/cms/pages/admin/all/Survey.tsx +30 -0
- package/src/modules/cms/pages/admin/all/search/NoResult.tsx +2 -5
- package/src/modules/cms/pages/admin/all/search/Results.jsx +87 -32
- package/src/modules/cms/pages/admin/cmsPageEdit+cmsPageNew/General.tsx +17 -5
- package/src/modules/cms/pages/admin/cmsPageEdit+cmsPageNew/Seo.tsx +17 -5
- package/src/modules/cms/pages/admin/cmsPageGrid/Grid.jsx +166 -157
- package/src/modules/cms/pages/admin/cmsPageGrid/NewPageButton.tsx +25 -0
- package/src/modules/cms/pages/admin/cmsPageGrid/rows/PageName.tsx +3 -2
- package/src/modules/cms/pages/admin/dashboard/Layout.scss +8 -6
- package/src/modules/cms/pages/admin/widgetEdit+widgetNew/General.tsx +79 -50
- package/src/modules/cms/pages/admin/widgetEdit+widgetNew/Setting.tsx +16 -4
- package/src/modules/cms/pages/admin/widgetGrid/Grid.jsx +178 -170
- package/src/modules/cms/pages/admin/widgetGrid/NewWidgetButton.tsx +45 -33
- package/src/modules/cms/pages/admin/widgetGrid/rows/Name.tsx +3 -2
- package/src/modules/cms/pages/admin/widgetGrid/rows/WidgetTypeRow.tsx +5 -4
- package/src/modules/cms/pages/frontStore/notFound/NotFound.tsx +6 -4
- package/src/modules/cms/services/index.ts +3 -0
- package/src/modules/cms/services/page/{createPage.js → createPage.ts} +65 -8
- package/src/modules/cms/services/page/deletePage.ts +109 -0
- package/src/modules/cms/services/page/pageDataSchema.json +15 -9
- package/src/modules/cms/services/page/{updatePage.js → updatePage.ts} +68 -6
- package/src/modules/cms/services/{tailwind.admin.config.js → tailwind.admin.config.ts} +3 -0
- package/src/modules/cms/services/{tailwind.frontStore.config.js → tailwind.frontStore.config.ts} +3 -0
- package/src/modules/cms/services/widget/createWidget.ts +120 -0
- package/src/modules/cms/services/widget/deleteWidget.ts +97 -0
- package/src/modules/cms/services/widget/updateWidget.js +17 -1
- package/src/modules/cms/services/widget/updateWidget.ts +139 -0
- package/src/modules/cod/{bootstrap.js → bootstrap.ts} +17 -3
- package/src/modules/cod/pages/admin/orderEdit/CaptureButton.jsx +8 -6
- package/src/modules/cod/pages/admin/paymentSetting/CODSetting.tsx +19 -7
- package/src/modules/cod/pages/frontStore/checkout/CashOnDelivery.tsx +18 -8
- package/src/modules/customer/api/createCustomer/{[bodyParser]createCustomer.js → [bodyParser]createCustomer.ts} +7 -1
- package/src/modules/customer/api/refreshCustomerToken/refreshToken.ts +4 -6
- package/src/modules/customer/api/resetPassword/{[bodyParser]resetPassword.js → [bodyParser]resetPassword.ts} +21 -11
- package/src/modules/customer/api/updatePassword/[bodyParser]updatePassword.js +2 -2
- package/src/modules/customer/pages/admin/all/CustomerMenuGroup.jsx +2 -2
- package/src/modules/customer/pages/admin/customerEdit/CustomerEditForm.jsx +1 -0
- package/src/modules/customer/pages/admin/customerEdit/CustomerEditForm.scss +8 -6
- package/src/modules/customer/pages/admin/customerEdit+customerNew/General.jsx +15 -9
- package/src/modules/customer/pages/admin/customerEdit+customerNew/OrderHistory.jsx +17 -5
- package/src/modules/customer/pages/admin/customerGrid/Grid.jsx +217 -209
- package/src/modules/customer/pages/admin/customerGrid/rows/CustomerName.tsx +3 -2
- package/src/modules/customer/pages/frontStore/all/CustomerIcon.tsx +3 -3
- package/src/modules/customer/pages/frontStore/login/LoginPage.tsx +27 -17
- package/src/modules/customer/pages/frontStore/register/RegisterPage.tsx +26 -18
- package/src/modules/customer/pages/frontStore/resetPasswordPage/ResetPasswordPage.tsx +128 -11
- package/src/modules/customer/services/customer/address/createCustomerAddress.ts +54 -2
- package/src/modules/customer/services/customer/address/deleteCustomerAddress.ts +49 -2
- package/src/modules/customer/services/customer/address/updateCustomerAddress.ts +55 -3
- package/src/modules/customer/services/customer/buildCustomerPayload.ts +20 -0
- package/src/modules/customer/services/customer/createCustomer.ts +63 -10
- package/src/modules/customer/services/customer/deleteCustomer.ts +55 -5
- package/src/modules/customer/services/customer/loginCustomerWithEmail.ts +3 -4
- package/src/modules/customer/services/customer/updateCustomer.ts +62 -5
- package/src/modules/customer/services/customer/updatePassword.ts +56 -3
- package/src/modules/customer/services/index.ts +34 -25
- package/src/modules/customer/services/sendResetPasswordEmail.ts +190 -0
- package/src/modules/customer/subscribers/customer_registered/sendWelcomeEmail.ts +212 -0
- package/src/modules/graphql/pages/global/{[bodyParser]buildQuery[graphql].js → [bodyParser,notFound]buildQuery[graphql].js} +54 -62
- package/src/modules/oms/api/createShipment/createShipment.ts +38 -0
- package/src/modules/oms/api/markDelivered/{markDelivered.js → markDelivered.ts} +14 -10
- package/src/modules/oms/api/updateShipment/{updateShipment.js → updateShipment.ts} +14 -9
- package/src/modules/oms/{bootstrap.js → bootstrap.ts} +46 -55
- package/src/modules/oms/graphql/types/Order/Order.graphql +2 -0
- package/src/modules/oms/graphql/types/Order/Order.resolvers.js +3 -6
- package/src/modules/oms/graphql/types/Status/Status.graphql +0 -3
- package/src/modules/oms/migration/Version-1.0.2.ts +13 -0
- package/src/modules/oms/pages/admin/all/OmsMenuGroup.jsx +2 -2
- package/src/modules/oms/pages/admin/dashboard/Bestcustomers.jsx +47 -31
- package/src/modules/oms/pages/admin/dashboard/Bestsellers.tsx +42 -30
- package/src/modules/oms/pages/admin/dashboard/Lifetimesales.jsx +40 -10
- package/src/modules/oms/pages/admin/dashboard/Statistic.jsx +50 -20
- package/src/modules/oms/pages/admin/orderEdit/Activities.jsx +18 -14
- package/src/modules/oms/pages/admin/orderEdit/AddTrackingButton.tsx +98 -75
- package/src/modules/oms/pages/admin/orderEdit/CancelButton.tsx +62 -54
- package/src/modules/oms/pages/admin/orderEdit/Customer.tsx +153 -0
- package/src/modules/oms/pages/admin/orderEdit/{CustomerNotes.jsx → CustomerNotes.tsx} +22 -14
- package/src/modules/oms/pages/admin/orderEdit/Items.jsx +31 -26
- package/src/modules/oms/pages/admin/orderEdit/Layout.scss +8 -6
- package/src/modules/oms/pages/admin/orderEdit/{MarkDeliveredButton.jsx → MarkDeliveredButton.tsx} +24 -21
- package/src/modules/oms/pages/admin/orderEdit/Payment.jsx +23 -20
- package/src/modules/oms/pages/admin/orderEdit/ShipButton.tsx +18 -8
- package/src/modules/oms/pages/admin/orderEdit/Status.jsx +3 -11
- package/src/modules/oms/pages/admin/orderEdit/{TrackingButton.jsx → TrackingButton.tsx} +25 -24
- package/src/modules/oms/pages/admin/orderEdit/items/Name.tsx +10 -5
- package/src/modules/oms/pages/admin/orderEdit/items/Price.tsx +3 -2
- package/src/modules/oms/pages/admin/orderEdit/items/Thumbnail.tsx +12 -7
- package/src/modules/oms/pages/admin/orderEdit/payment/Discount.tsx +9 -5
- package/src/modules/oms/pages/admin/orderEdit/payment/Shipping.tsx +7 -5
- package/src/modules/oms/pages/admin/orderEdit/payment/SubTotal.tsx +7 -5
- package/src/modules/oms/pages/admin/orderEdit/payment/Tax.tsx +7 -5
- package/src/modules/oms/pages/admin/orderEdit/payment/Total.tsx +4 -4
- package/src/modules/oms/pages/admin/orderGrid/Grid.jsx +287 -258
- package/src/modules/oms/pages/admin/orderGrid/rows/OrderNumber.tsx +3 -2
- package/src/modules/oms/pages/admin/orderGrid/rows/PaymentStatus.tsx +7 -10
- package/src/modules/oms/pages/admin/orderGrid/rows/ShipmentStatus.tsx +6 -10
- package/src/modules/oms/services/addOrderActivityLog.ts +62 -0
- package/src/modules/oms/services/addPaymentTransaction.ts +26 -0
- package/src/modules/oms/services/cancelOrder.ts +140 -24
- package/src/modules/oms/services/createShipment.ts +121 -0
- package/src/modules/oms/services/index.ts +7 -1
- package/src/modules/oms/services/orderLoader.ts +73 -0
- package/src/modules/oms/services/statusManager.ts +159 -0
- package/src/modules/oms/services/updateOrderStatus.ts +106 -14
- package/src/modules/oms/services/updatePaymentStatus.ts +57 -5
- package/src/modules/oms/services/updateShipmentStatus.ts +54 -2
- package/src/modules/oms/subscribers/order_placed/sendOrderConfirmationEmail.ts +717 -0
- package/src/modules/paypal/api/paypalAuthorizePayment/[bodyParser]authorize.ts +8 -8
- package/src/modules/paypal/api/paypalCaptureAuthorizedPayment/[bodyParser]capture.ts +38 -22
- package/src/modules/paypal/api/paypalCapturePayment/[bodyParser]capture.ts +25 -14
- package/src/modules/paypal/api/paypalCreateOrder/[bodyParser]createOrder.ts +15 -16
- package/src/modules/paypal/{bootstrap.js → bootstrap.ts} +24 -3
- package/src/modules/paypal/migration/Version-1.0.0.ts +24 -0
- package/src/modules/paypal/pages/admin/orderEdit/PaypalCaptureButton.tsx +8 -6
- package/src/modules/paypal/pages/admin/paymentSetting/PaypalSetting.tsx +26 -18
- package/src/modules/paypal/pages/frontStore/checkout/Paypal.tsx +17 -8
- package/src/modules/promotion/api/couponRemove/{removeCoupon.js → removeCoupon.ts} +14 -3
- package/src/modules/promotion/pages/admin/all/CouponMenuGroup.tsx +1 -1
- package/src/modules/promotion/pages/admin/all/NewCouponQuickLink.tsx +1 -1
- package/src/modules/promotion/pages/admin/couponEdit/CouponEditForm.tsx +45 -13
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/CustomerCondition.tsx +4 -1
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/General.scss +9 -6
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/General.tsx +1 -0
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/AttributeGroupConditionValueSelector.tsx +50 -46
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/BuyXGetY.tsx +66 -57
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/CategoryConditionValueSelector.tsx +48 -44
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/CollectionConditionValueSelector.tsx +48 -44
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/RequireProducts.tsx +48 -58
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/SkuConditionValueSelector.tsx +49 -45
- package/src/modules/promotion/pages/admin/couponEdit+couponNew/components/TargetProducts.tsx +48 -53
- package/src/modules/promotion/pages/admin/couponGrid/Grid.jsx +246 -252
- package/src/modules/promotion/pages/admin/couponGrid/NewCouponButton.tsx +10 -2
- package/src/modules/promotion/pages/admin/couponGrid/rows/CouponName.tsx +6 -7
- package/src/modules/promotion/pages/admin/couponNew/CouponNewForm.tsx +45 -13
- package/src/modules/promotion/pages/admin/navigation/CouponNewMenuItem.tsx +2 -2
- package/src/modules/promotion/pages/admin/navigation/CouponsMenuItem.tsx +2 -2
- package/src/modules/promotion/services/coupon/createCoupon.ts +147 -0
- package/src/modules/promotion/services/coupon/deleteCoupon.ts +100 -0
- package/src/modules/promotion/services/coupon/updateCoupon.ts +130 -0
- package/src/modules/promotion/services/index.ts +11 -0
- package/src/modules/setting/pages/admin/all/PaymentSettingMenu.tsx +50 -4
- package/src/modules/setting/pages/admin/all/SettingMenuGroup.tsx +2 -2
- package/src/modules/setting/pages/admin/all/StoreSettingMenu.tsx +50 -4
- package/src/modules/setting/pages/admin/storeSetting/StoreSetting.tsx +60 -30
- package/src/modules/setting/services/setting.ts +40 -2
- package/src/modules/stripe/api/capturePaymentIntent/{capturePaymentIntent.js → capturePaymentIntent.ts} +14 -5
- package/src/modules/stripe/api/createPaymentIntent/{createPaymentIntent.js → createPaymentIntent.ts} +11 -5
- package/src/modules/stripe/api/refundPaymentIntent/{refundPaymentIntent.js → refundPaymentIntent.ts} +20 -13
- package/src/modules/stripe/api/stripeWebHook/{[bodyJson]webhook.js → [bodyJson]webhook.ts} +41 -21
- package/src/modules/stripe/{bootstrap.js → bootstrap.ts} +43 -22
- package/src/modules/stripe/migration/Version-1.0.0.ts +24 -0
- package/src/modules/stripe/pages/admin/orderEdit/StripeCaptureButton.jsx +9 -6
- package/src/modules/stripe/pages/admin/orderEdit/StripeRefundButton.tsx +19 -12
- package/src/modules/stripe/pages/admin/paymentSetting/StripePayment.tsx +30 -22
- package/src/modules/stripe/pages/frontStore/checkout/Stripe.tsx +33 -24
- package/src/modules/stripe/pages/frontStore/stripeReturn/{index.js → index.ts} +15 -5
- package/src/modules/stripe/services/{cancelPayment.js → cancelPayment.ts} +4 -4
- package/src/modules/tax/api/createTaxRate/payloadSchema.json +59 -10
- package/src/modules/tax/api/updateTaxRate/payloadSchema.json +59 -10
- package/src/modules/tax/pages/admin/all/TaxSettingMenu.tsx +50 -4
- package/src/modules/tax/pages/admin/taxSetting/TaxSetting.tsx +55 -32
- package/src/modules/tax/pages/admin/taxSetting/components/Rate.tsx +34 -25
- package/src/modules/tax/pages/admin/taxSetting/components/RateForm.tsx +132 -114
- package/src/modules/tax/pages/admin/taxSetting/components/Rates.tsx +57 -37
- package/src/modules/tax/pages/admin/taxSetting/components/TaxClass.tsx +7 -10
- package/src/modules/tax/pages/admin/taxSetting/components/TaxClassForm.tsx +42 -45
- package/src/modules/tax/services/registerCartItemTaxPercentField.js +3 -2
- package/src/types/apiResponse.ts +1 -1
- package/src/types/appContext.tsx +9 -4
- package/src/types/customerAddress.ts +1 -1
- package/src/types/db/index.ts +1128 -0
- package/src/types/event.ts +111 -6
- package/src/types/order.ts +1 -5
- package/src/types/pageMeta.ts +1 -0
- package/src/types/registry.ts +160 -0
- package/src/types/widget.ts +3 -0
- package/dist/bin/lib/findRoute.d.ts +0 -1
- package/dist/bin/lib/findRoute.js +0 -25
- package/dist/bin/lib/findRoute.js.map +0 -1
- package/dist/components/admin/AttributeGroupSelector.scss +0 -23
- package/dist/components/admin/Badge.d.ts +0 -8
- package/dist/components/admin/Badge.js +0 -27
- package/dist/components/admin/Badge.js.map +0 -1
- package/dist/components/admin/Badge.scss +0 -111
- package/dist/components/admin/Card.d.ts +0 -38
- package/dist/components/admin/Card.js +0 -55
- package/dist/components/admin/Card.js.map +0 -1
- package/dist/components/admin/Card.scss +0 -38
- package/dist/components/admin/CategorySelector.scss +0 -23
- package/dist/components/admin/Circle.d.ts +0 -7
- package/dist/components/admin/Circle.js +0 -19
- package/dist/components/admin/Circle.js.map +0 -1
- package/dist/components/admin/Circle.scss +0 -90
- package/dist/components/admin/CollectionSelector.scss +0 -23
- package/dist/components/admin/Dot.d.ts +0 -7
- package/dist/components/admin/Dot.js +0 -17
- package/dist/components/admin/Dot.js.map +0 -1
- package/dist/components/admin/Dot.scss +0 -32
- package/dist/components/admin/ProductListSkeleton.scss +0 -23
- package/dist/components/admin/SettingMenu.scss +0 -8
- package/dist/components/admin/grid/Filter.d.ts +0 -19
- package/dist/components/admin/grid/Filter.js +0 -23
- package/dist/components/admin/grid/Filter.js.map +0 -1
- package/dist/components/admin/grid/Filter.scss +0 -39
- package/dist/components/admin/grid/Pagination.d.ts +0 -8
- package/dist/components/admin/grid/Pagination.js +0 -105
- package/dist/components/admin/grid/Pagination.js.map +0 -1
- package/dist/components/admin/grid/Pagination.scss +0 -26
- package/dist/components/common/Button.d.ts +0 -14
- package/dist/components/common/Button.js +0 -42
- package/dist/components/common/Button.js.map +0 -1
- package/dist/components/common/Button.scss +0 -66
- package/dist/components/common/form/ColorField.d.ts +0 -14
- package/dist/components/common/form/ColorField.js +0 -36
- package/dist/components/common/form/ColorField.js.map +0 -1
- package/dist/components/common/modal/Modal.d.ts +0 -13
- package/dist/components/common/modal/Modal.js +0 -53
- package/dist/components/common/modal/Modal.js.map +0 -1
- package/dist/components/common/modal/useModal.d.ts +0 -12
- package/dist/components/common/modal/useModal.js +0 -33
- package/dist/components/common/modal/useModal.js.map +0 -1
- package/dist/components/frontStore/catalog/Filter.scss +0 -142
- package/dist/components/frontStore/catalog/VariantSelector.scss +0 -23
- package/dist/lib/webpack/util/keyGenerator.d.ts +0 -1
- package/dist/lib/webpack/util/keyGenerator.js +0 -10
- package/dist/lib/webpack/util/keyGenerator.js.map +0 -1
- package/dist/modules/auth/pages/admin/all/AdminUser.scss +0 -20
- package/dist/modules/catalog/pages/admin/collectionGrid/NameRow.d.ts +0 -16
- package/dist/modules/catalog/pages/admin/collectionGrid/NameRow.js +0 -18
- package/dist/modules/catalog/pages/admin/collectionGrid/NameRow.js.map +0 -1
- package/dist/modules/catalog/pages/admin/productEdit/variants/Variants.scss +0 -50
- package/dist/modules/checkout/services/getAvailablePaymentMethos.js.map +0 -1
- package/dist/modules/cms/pages/admin/all/SearchBox.scss +0 -65
- package/dist/modules/cod/api/createOrder/[placeOrder]addOrderPlacedEvent.d.ts +0 -2
- package/dist/modules/cod/api/createOrder/[placeOrder]addOrderPlacedEvent.js +0 -20
- package/dist/modules/cod/api/createOrder/[placeOrder]addOrderPlacedEvent.js.map +0 -1
- package/dist/modules/graphql/pages/global/[bodyParser]buildQuery[graphql].js.map +0 -1
- package/dist/modules/oms/pages/admin/orderEdit/Activities.scss +0 -59
- package/dist/modules/oms/pages/admin/orderEdit/Items.scss +0 -53
- package/dist/modules/oms/pages/admin/orderEdit/Payment.scss +0 -14
- package/dist/types/index.d.ts +0 -9
- package/dist/types/index.js +0 -10
- package/dist/types/index.js.map +0 -1
- package/src/bin/lib/findRoute.js +0 -26
- package/src/components/admin/AttributeGroupSelector.scss +0 -23
- package/src/components/admin/Badge.scss +0 -111
- package/src/components/admin/Badge.tsx +0 -49
- package/src/components/admin/Card.scss +0 -38
- package/src/components/admin/Card.tsx +0 -130
- package/src/components/admin/CategorySelector.scss +0 -23
- package/src/components/admin/Circle.scss +0 -90
- package/src/components/admin/Circle.tsx +0 -36
- package/src/components/admin/CollectionSelector.scss +0 -23
- package/src/components/admin/Dot.scss +0 -32
- package/src/components/admin/Dot.tsx +0 -35
- package/src/components/admin/ProductListSkeleton.scss +0 -23
- package/src/components/admin/SettingMenu.scss +0 -8
- package/src/components/admin/grid/Filter.scss +0 -39
- package/src/components/admin/grid/Filter.tsx +0 -79
- package/src/components/admin/grid/Pagination.scss +0 -26
- package/src/components/admin/grid/Pagination.tsx +0 -178
- package/src/components/common/Button.scss +0 -66
- package/src/components/common/Button.tsx +0 -94
- package/src/components/common/form/ColorField.tsx +0 -104
- package/src/components/common/modal/Modal.tsx +0 -105
- package/src/components/common/modal/useModal.tsx +0 -57
- package/src/components/frontStore/catalog/Filter.scss +0 -142
- package/src/components/frontStore/catalog/VariantSelector.scss +0 -23
- package/src/lib/event/callSubscibers.js +0 -19
- package/src/lib/event/event-manager.js +0 -134
- package/src/lib/webpack/util/keyGenerator.js +0 -10
- package/src/modules/auth/bootstrap.js +0 -28
- package/src/modules/auth/pages/admin/all/AdminUser.scss +0 -20
- package/src/modules/base/api/global/[payloadValidate]escapeHtml.js +0 -12
- package/src/modules/base/services/markSkipEscape.js +0 -30
- package/src/modules/catalog/api/createCategory/createCategory[finish].js +0 -8
- package/src/modules/catalog/api/createProduct/createProduct[finish].js +0 -8
- package/src/modules/catalog/api/updateAttribute/updateAttribute[finish].js +0 -10
- package/src/modules/catalog/api/updateCategory/updateCategory[finish].js +0 -8
- package/src/modules/catalog/api/updateCollection/updateCollection[finish].js +0 -8
- package/src/modules/catalog/api/updateProduct/updateProduct[finish].js +0 -8
- package/src/modules/catalog/events.d.ts +0 -146
- package/src/modules/catalog/pages/admin/attributeGrid/NewAttributeButton.jsx +0 -22
- package/src/modules/catalog/pages/admin/categoryGrid/NewCategoryButton.jsx +0 -22
- package/src/modules/catalog/pages/admin/collectionGrid/NameRow.jsx +0 -26
- package/src/modules/catalog/pages/admin/collectionGrid/NewCollectionButton.jsx +0 -22
- package/src/modules/catalog/pages/admin/productEdit/variants/Variants.scss +0 -50
- package/src/modules/catalog/pages/admin/productGrid/NewProductButton.jsx +0 -22
- package/src/modules/checkout/pages/admin/all/ShippingSettingMenu.jsx +0 -26
- package/src/modules/cms/api/createCmsPage/createPage[finish].js +0 -10
- package/src/modules/cms/pages/admin/all/SearchBox.scss +0 -65
- package/src/modules/cms/pages/admin/cmsPageGrid/NewPageButton.jsx +0 -22
- package/src/modules/cms/services/page/deletePage.js +0 -55
- package/src/modules/cms/services/widget/createWidget.js +0 -71
- package/src/modules/cms/services/widget/deleteWidget.js +0 -47
- package/src/modules/cod/api/createOrder/[placeOrder]addOrderPlacedEvent.js +0 -18
- package/src/modules/oms/api/createShipment/createShipment.js +0 -95
- package/src/modules/oms/pages/admin/orderEdit/Activities.scss +0 -59
- package/src/modules/oms/pages/admin/orderEdit/Customer.jsx +0 -131
- package/src/modules/oms/pages/admin/orderEdit/Items.scss +0 -53
- package/src/modules/oms/pages/admin/orderEdit/Payment.scss +0 -14
- package/src/modules/promotion/services/coupon/createCoupon.js +0 -75
- package/src/modules/promotion/services/coupon/deleteCoupon.js +0 -49
- package/src/modules/promotion/services/coupon/updateCoupon.js +0 -94
- package/src/types/index.ts +0 -9
- package/src/types/request.d.ts +0 -7
- /package/dist/modules/checkout/services/{getAvailablePaymentMethos.d.ts → getAvailablePaymentMethods.d.ts} +0 -0
- /package/dist/modules/graphql/pages/global/{[bodyParser]buildQuery[graphql].d.ts → [bodyParser,notFound]buildQuery[graphql].d.ts} +0 -0
- /package/dist/modules/graphql/pages/global/{[buildQuery]graphql[notFound].d.ts → [buildQuery]graphql[response].d.ts} +0 -0
- /package/src/modules/catalog/api/createCategory/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/api/createCollection/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/api/createProduct/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/api/updateAttribute/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/api/updateCategory/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/api/updateCollection/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/api/updateProduct/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/catalog/pages/admin/collectionGrid/{PageHeading.jsx → PageHeading.tsx} +0 -0
- /package/src/modules/checkout/api/cartCheckout/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/checkout/services/{getAvailablePaymentMethos.ts → getAvailablePaymentMethods.ts} +0 -0
- /package/src/modules/cms/api/createCmsPage/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/cms/api/updateCmsPage/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/customer/api/createCustomer/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/customer/api/resetPassword/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/graphql/pages/global/{[buildQuery]graphql[notFound].js → [buildQuery]graphql[response].js} +0 -0
- /package/src/modules/graphql/pages/global/{bodyParser[buildQuery].js → bodyParser[buildQuery].ts} +0 -0
- /package/src/modules/oms/api/createShipment/{[context]borderParser[auth].js → [context]borderParser[auth].ts} +0 -0
- /package/src/modules/oms/api/markDelivered/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/oms/api/updateShipment/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/stripe/api/capturePaymentIntent/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/stripe/api/createPaymentIntent/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/stripe/api/refundPaymentIntent/{[context]bodyParser[auth].js → [context]bodyParser[auth].ts} +0 -0
- /package/src/modules/stripe/api/stripeWebHook/{bodyJson.js → bodyJson.ts} +0 -0
|
@@ -0,0 +1,1128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* EVERSHOP DATABASE TYPES
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* This file contains TypeScript type definitions for all database tables.
|
|
7
|
+
* These types are auto-generated from the PostgreSQL schema and should be
|
|
8
|
+
* used throughout the codebase for type safety.
|
|
9
|
+
*
|
|
10
|
+
* Usage:
|
|
11
|
+
* import type { OrderRow, ProductRow } from '@evershop/evershop/src/types/db';
|
|
12
|
+
*
|
|
13
|
+
* Conventions:
|
|
14
|
+
* - `XxxRow`: Represents a full row from the table (SELECT *)
|
|
15
|
+
* - `XxxInsert`: Fields for inserting (omits auto-generated fields)
|
|
16
|
+
* - `XxxUpdate`: Fields for updating (all optional except PK)
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// =============================================================================
|
|
20
|
+
// ADMIN USER
|
|
21
|
+
// =============================================================================
|
|
22
|
+
|
|
23
|
+
export interface AdminUserRow {
|
|
24
|
+
admin_user_id: number;
|
|
25
|
+
uuid: string;
|
|
26
|
+
status: boolean;
|
|
27
|
+
email: string;
|
|
28
|
+
password: string;
|
|
29
|
+
full_name: string | null;
|
|
30
|
+
created_at: Date;
|
|
31
|
+
updated_at: Date;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type AdminUserInsert = Omit<
|
|
35
|
+
AdminUserRow,
|
|
36
|
+
'admin_user_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
37
|
+
>;
|
|
38
|
+
export type AdminUserUpdate = Partial<Omit<AdminUserRow, 'admin_user_id'>>;
|
|
39
|
+
|
|
40
|
+
// =============================================================================
|
|
41
|
+
// ATTRIBUTE
|
|
42
|
+
// =============================================================================
|
|
43
|
+
|
|
44
|
+
export interface AttributeRow {
|
|
45
|
+
attribute_id: number;
|
|
46
|
+
uuid: string;
|
|
47
|
+
attribute_code: string;
|
|
48
|
+
attribute_name: string;
|
|
49
|
+
type: string;
|
|
50
|
+
is_required: boolean;
|
|
51
|
+
display_on_frontend: boolean;
|
|
52
|
+
sort_order: number;
|
|
53
|
+
is_filterable: boolean;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type AttributeInsert = Omit<AttributeRow, 'attribute_id' | 'uuid'>;
|
|
57
|
+
export type AttributeUpdate = Partial<Omit<AttributeRow, 'attribute_id'>>;
|
|
58
|
+
|
|
59
|
+
// =============================================================================
|
|
60
|
+
// ATTRIBUTE GROUP
|
|
61
|
+
// =============================================================================
|
|
62
|
+
|
|
63
|
+
export interface AttributeGroupRow {
|
|
64
|
+
attribute_group_id: number;
|
|
65
|
+
uuid: string;
|
|
66
|
+
group_name: string;
|
|
67
|
+
created_at: Date;
|
|
68
|
+
updated_at: Date;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export type AttributeGroupInsert = Omit<
|
|
72
|
+
AttributeGroupRow,
|
|
73
|
+
'attribute_group_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
74
|
+
>;
|
|
75
|
+
export type AttributeGroupUpdate = Partial<
|
|
76
|
+
Omit<AttributeGroupRow, 'attribute_group_id'>
|
|
77
|
+
>;
|
|
78
|
+
|
|
79
|
+
// =============================================================================
|
|
80
|
+
// ATTRIBUTE GROUP LINK
|
|
81
|
+
// =============================================================================
|
|
82
|
+
|
|
83
|
+
export interface AttributeGroupLinkRow {
|
|
84
|
+
attribute_group_link_id: number;
|
|
85
|
+
attribute_id: number;
|
|
86
|
+
group_id: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type AttributeGroupLinkInsert = Omit<
|
|
90
|
+
AttributeGroupLinkRow,
|
|
91
|
+
'attribute_group_link_id'
|
|
92
|
+
>;
|
|
93
|
+
export type AttributeGroupLinkUpdate = Partial<
|
|
94
|
+
Omit<AttributeGroupLinkRow, 'attribute_group_link_id'>
|
|
95
|
+
>;
|
|
96
|
+
|
|
97
|
+
// =============================================================================
|
|
98
|
+
// ATTRIBUTE OPTION
|
|
99
|
+
// =============================================================================
|
|
100
|
+
|
|
101
|
+
export interface AttributeOptionRow {
|
|
102
|
+
attribute_option_id: number;
|
|
103
|
+
uuid: string;
|
|
104
|
+
attribute_id: number;
|
|
105
|
+
attribute_code: string;
|
|
106
|
+
option_text: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export type AttributeOptionInsert = Omit<
|
|
110
|
+
AttributeOptionRow,
|
|
111
|
+
'attribute_option_id' | 'uuid'
|
|
112
|
+
>;
|
|
113
|
+
export type AttributeOptionUpdate = Partial<
|
|
114
|
+
Omit<AttributeOptionRow, 'attribute_option_id'>
|
|
115
|
+
>;
|
|
116
|
+
|
|
117
|
+
// =============================================================================
|
|
118
|
+
// CART
|
|
119
|
+
// =============================================================================
|
|
120
|
+
|
|
121
|
+
export interface CartRow {
|
|
122
|
+
cart_id: number;
|
|
123
|
+
uuid: string;
|
|
124
|
+
sid: string | null;
|
|
125
|
+
currency: string;
|
|
126
|
+
customer_id: number | null;
|
|
127
|
+
customer_group_id: number | null;
|
|
128
|
+
customer_email: string | null;
|
|
129
|
+
customer_full_name: string | null;
|
|
130
|
+
user_ip: string | null;
|
|
131
|
+
status: boolean;
|
|
132
|
+
coupon: string | null;
|
|
133
|
+
shipping_fee_excl_tax: string | null;
|
|
134
|
+
shipping_fee_incl_tax: string | null;
|
|
135
|
+
discount_amount: string | null;
|
|
136
|
+
sub_total: string;
|
|
137
|
+
sub_total_incl_tax: string;
|
|
138
|
+
sub_total_with_discount: string;
|
|
139
|
+
sub_total_with_discount_incl_tax: string;
|
|
140
|
+
total_qty: number;
|
|
141
|
+
total_weight: string | null;
|
|
142
|
+
tax_amount: string;
|
|
143
|
+
tax_amount_before_discount: string;
|
|
144
|
+
shipping_tax_amount: string;
|
|
145
|
+
grand_total: string;
|
|
146
|
+
shipping_method: string | null;
|
|
147
|
+
shipping_method_name: string | null;
|
|
148
|
+
shipping_zone_id: number | null;
|
|
149
|
+
shipping_address_id: number | null;
|
|
150
|
+
payment_method: string | null;
|
|
151
|
+
payment_method_name: string | null;
|
|
152
|
+
billing_address_id: number | null;
|
|
153
|
+
shipping_note: string | null;
|
|
154
|
+
created_at: Date;
|
|
155
|
+
updated_at: Date;
|
|
156
|
+
total_tax_amount: string | null;
|
|
157
|
+
no_shipping_required: boolean;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export type CartInsert = Omit<
|
|
161
|
+
CartRow,
|
|
162
|
+
'cart_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
163
|
+
>;
|
|
164
|
+
export type CartUpdate = Partial<Omit<CartRow, 'cart_id'>>;
|
|
165
|
+
|
|
166
|
+
// =============================================================================
|
|
167
|
+
// CART ADDRESS
|
|
168
|
+
// =============================================================================
|
|
169
|
+
|
|
170
|
+
export interface CartAddressRow {
|
|
171
|
+
cart_address_id: number;
|
|
172
|
+
uuid: string;
|
|
173
|
+
full_name: string | null;
|
|
174
|
+
postcode: string | null;
|
|
175
|
+
telephone: string | null;
|
|
176
|
+
country: string | null;
|
|
177
|
+
province: string | null;
|
|
178
|
+
city: string | null;
|
|
179
|
+
address_1: string | null;
|
|
180
|
+
address_2: string | null;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export type CartAddressInsert = Omit<
|
|
184
|
+
CartAddressRow,
|
|
185
|
+
'cart_address_id' | 'uuid'
|
|
186
|
+
>;
|
|
187
|
+
export type CartAddressUpdate = Partial<
|
|
188
|
+
Omit<CartAddressRow, 'cart_address_id'>
|
|
189
|
+
>;
|
|
190
|
+
|
|
191
|
+
// =============================================================================
|
|
192
|
+
// CART ITEM
|
|
193
|
+
// =============================================================================
|
|
194
|
+
|
|
195
|
+
export interface CartItemRow {
|
|
196
|
+
cart_item_id: number;
|
|
197
|
+
uuid: string;
|
|
198
|
+
cart_id: number;
|
|
199
|
+
product_id: number;
|
|
200
|
+
product_sku: string;
|
|
201
|
+
product_name: string;
|
|
202
|
+
thumbnail: string | null;
|
|
203
|
+
product_weight: string | null;
|
|
204
|
+
product_price: string;
|
|
205
|
+
product_price_incl_tax: string;
|
|
206
|
+
qty: number;
|
|
207
|
+
final_price: string;
|
|
208
|
+
final_price_incl_tax: string;
|
|
209
|
+
tax_percent: string;
|
|
210
|
+
tax_amount: string;
|
|
211
|
+
tax_amount_before_discount: string;
|
|
212
|
+
discount_amount: string;
|
|
213
|
+
line_total: string;
|
|
214
|
+
line_total_with_discount: string;
|
|
215
|
+
line_total_incl_tax: string;
|
|
216
|
+
line_total_with_discount_incl_tax: string;
|
|
217
|
+
variant_group_id: number | null;
|
|
218
|
+
variant_options: string | null;
|
|
219
|
+
product_custom_options: string | null;
|
|
220
|
+
created_at: Date;
|
|
221
|
+
updated_at: Date;
|
|
222
|
+
no_shipping_required: boolean;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export type CartItemInsert = Omit<
|
|
226
|
+
CartItemRow,
|
|
227
|
+
'cart_item_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
228
|
+
>;
|
|
229
|
+
export type CartItemUpdate = Partial<Omit<CartItemRow, 'cart_item_id'>>;
|
|
230
|
+
|
|
231
|
+
// =============================================================================
|
|
232
|
+
// CATEGORY
|
|
233
|
+
// =============================================================================
|
|
234
|
+
|
|
235
|
+
export interface CategoryRow {
|
|
236
|
+
category_id: number;
|
|
237
|
+
uuid: string;
|
|
238
|
+
status: boolean;
|
|
239
|
+
parent_id: number | null;
|
|
240
|
+
include_in_nav: boolean;
|
|
241
|
+
position: number | null;
|
|
242
|
+
show_products: boolean;
|
|
243
|
+
created_at: Date;
|
|
244
|
+
updated_at: Date;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export type CategoryInsert = Omit<
|
|
248
|
+
CategoryRow,
|
|
249
|
+
'category_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
250
|
+
>;
|
|
251
|
+
export type CategoryUpdate = Partial<Omit<CategoryRow, 'category_id'>>;
|
|
252
|
+
|
|
253
|
+
// =============================================================================
|
|
254
|
+
// CATEGORY DESCRIPTION
|
|
255
|
+
// =============================================================================
|
|
256
|
+
|
|
257
|
+
export interface CategoryDescriptionRow {
|
|
258
|
+
category_description_id: number;
|
|
259
|
+
category_description_category_id: number;
|
|
260
|
+
name: string;
|
|
261
|
+
short_description: string | null;
|
|
262
|
+
description: string | null;
|
|
263
|
+
image: string | null;
|
|
264
|
+
meta_title: string | null;
|
|
265
|
+
meta_keywords: string | null;
|
|
266
|
+
meta_description: string | null;
|
|
267
|
+
url_key: string;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export type CategoryDescriptionInsert = Omit<
|
|
271
|
+
CategoryDescriptionRow,
|
|
272
|
+
'category_description_id'
|
|
273
|
+
>;
|
|
274
|
+
export type CategoryDescriptionUpdate = Partial<
|
|
275
|
+
Omit<CategoryDescriptionRow, 'category_description_id'>
|
|
276
|
+
>;
|
|
277
|
+
|
|
278
|
+
// =============================================================================
|
|
279
|
+
// CMS PAGE
|
|
280
|
+
// =============================================================================
|
|
281
|
+
|
|
282
|
+
export interface CmsPageRow {
|
|
283
|
+
cms_page_id: number;
|
|
284
|
+
uuid: string;
|
|
285
|
+
status: boolean | null;
|
|
286
|
+
created_at: Date;
|
|
287
|
+
updated_at: Date;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type CmsPageInsert = Omit<
|
|
291
|
+
CmsPageRow,
|
|
292
|
+
'cms_page_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
293
|
+
>;
|
|
294
|
+
export type CmsPageUpdate = Partial<Omit<CmsPageRow, 'cms_page_id'>>;
|
|
295
|
+
|
|
296
|
+
// =============================================================================
|
|
297
|
+
// CMS PAGE DESCRIPTION
|
|
298
|
+
// =============================================================================
|
|
299
|
+
|
|
300
|
+
export interface CmsPageDescriptionRow {
|
|
301
|
+
cms_page_description_id: number;
|
|
302
|
+
cms_page_description_cms_page_id: number | null;
|
|
303
|
+
url_key: string;
|
|
304
|
+
name: string;
|
|
305
|
+
content: string | null;
|
|
306
|
+
meta_title: string | null;
|
|
307
|
+
meta_keywords: string | null;
|
|
308
|
+
meta_description: string | null;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type CmsPageDescriptionInsert = Omit<
|
|
312
|
+
CmsPageDescriptionRow,
|
|
313
|
+
'cms_page_description_id'
|
|
314
|
+
>;
|
|
315
|
+
export type CmsPageDescriptionUpdate = Partial<
|
|
316
|
+
Omit<CmsPageDescriptionRow, 'cms_page_description_id'>
|
|
317
|
+
>;
|
|
318
|
+
|
|
319
|
+
// =============================================================================
|
|
320
|
+
// COLLECTION
|
|
321
|
+
// =============================================================================
|
|
322
|
+
|
|
323
|
+
export interface CollectionRow {
|
|
324
|
+
collection_id: number;
|
|
325
|
+
uuid: string;
|
|
326
|
+
name: string;
|
|
327
|
+
description: string | null;
|
|
328
|
+
code: string;
|
|
329
|
+
created_at: Date;
|
|
330
|
+
updated_at: Date;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type CollectionInsert = Omit<
|
|
334
|
+
CollectionRow,
|
|
335
|
+
'collection_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
336
|
+
>;
|
|
337
|
+
export type CollectionUpdate = Partial<Omit<CollectionRow, 'collection_id'>>;
|
|
338
|
+
|
|
339
|
+
// =============================================================================
|
|
340
|
+
// COUPON
|
|
341
|
+
// =============================================================================
|
|
342
|
+
|
|
343
|
+
export interface CouponRow {
|
|
344
|
+
coupon_id: number;
|
|
345
|
+
uuid: string;
|
|
346
|
+
status: boolean;
|
|
347
|
+
description: string;
|
|
348
|
+
discount_amount: string;
|
|
349
|
+
free_shipping: boolean;
|
|
350
|
+
discount_type: string;
|
|
351
|
+
coupon: string;
|
|
352
|
+
used_time: number;
|
|
353
|
+
target_products: Record<string, unknown> | null;
|
|
354
|
+
condition: Record<string, unknown> | null;
|
|
355
|
+
user_condition: Record<string, unknown> | null;
|
|
356
|
+
buyx_gety: Record<string, unknown> | null;
|
|
357
|
+
max_uses_time_per_coupon: number | null;
|
|
358
|
+
max_uses_time_per_customer: number | null;
|
|
359
|
+
start_date: Date | null;
|
|
360
|
+
end_date: Date | null;
|
|
361
|
+
created_at: Date;
|
|
362
|
+
updated_at: Date;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type CouponInsert = Omit<
|
|
366
|
+
CouponRow,
|
|
367
|
+
'coupon_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
368
|
+
>;
|
|
369
|
+
export type CouponUpdate = Partial<Omit<CouponRow, 'coupon_id'>>;
|
|
370
|
+
|
|
371
|
+
// =============================================================================
|
|
372
|
+
// CUSTOMER
|
|
373
|
+
// =============================================================================
|
|
374
|
+
|
|
375
|
+
export interface CustomerRow {
|
|
376
|
+
customer_id: number;
|
|
377
|
+
uuid: string;
|
|
378
|
+
status: number;
|
|
379
|
+
group_id: number | null;
|
|
380
|
+
email: string;
|
|
381
|
+
password: string;
|
|
382
|
+
full_name: string | null;
|
|
383
|
+
created_at: Date;
|
|
384
|
+
updated_at: Date;
|
|
385
|
+
is_google_login: boolean;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export type CustomerInsert = Omit<
|
|
389
|
+
CustomerRow,
|
|
390
|
+
'customer_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
391
|
+
>;
|
|
392
|
+
export type CustomerUpdate = Partial<Omit<CustomerRow, 'customer_id'>>;
|
|
393
|
+
|
|
394
|
+
// =============================================================================
|
|
395
|
+
// CUSTOMER ADDRESS
|
|
396
|
+
// =============================================================================
|
|
397
|
+
|
|
398
|
+
export interface CustomerAddressRow {
|
|
399
|
+
customer_address_id: number;
|
|
400
|
+
uuid: string;
|
|
401
|
+
customer_id: number;
|
|
402
|
+
full_name: string | null;
|
|
403
|
+
telephone: string | null;
|
|
404
|
+
address_1: string | null;
|
|
405
|
+
address_2: string | null;
|
|
406
|
+
postcode: string | null;
|
|
407
|
+
city: string | null;
|
|
408
|
+
province: string | null;
|
|
409
|
+
country: string;
|
|
410
|
+
created_at: Date;
|
|
411
|
+
updated_at: Date;
|
|
412
|
+
is_default: boolean | null;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type CustomerAddressInsert = Omit<
|
|
416
|
+
CustomerAddressRow,
|
|
417
|
+
'customer_address_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
418
|
+
>;
|
|
419
|
+
export type CustomerAddressUpdate = Partial<
|
|
420
|
+
Omit<CustomerAddressRow, 'customer_address_id'>
|
|
421
|
+
>;
|
|
422
|
+
|
|
423
|
+
// =============================================================================
|
|
424
|
+
// CUSTOMER GROUP
|
|
425
|
+
// =============================================================================
|
|
426
|
+
|
|
427
|
+
export interface CustomerGroupRow {
|
|
428
|
+
customer_group_id: number;
|
|
429
|
+
uuid: string;
|
|
430
|
+
group_name: string;
|
|
431
|
+
created_at: Date;
|
|
432
|
+
updated_at: Date;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export type CustomerGroupInsert = Omit<
|
|
436
|
+
CustomerGroupRow,
|
|
437
|
+
'customer_group_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
438
|
+
>;
|
|
439
|
+
export type CustomerGroupUpdate = Partial<
|
|
440
|
+
Omit<CustomerGroupRow, 'customer_group_id'>
|
|
441
|
+
>;
|
|
442
|
+
|
|
443
|
+
// =============================================================================
|
|
444
|
+
// EVENT
|
|
445
|
+
// =============================================================================
|
|
446
|
+
|
|
447
|
+
export interface EventRow {
|
|
448
|
+
event_id: number;
|
|
449
|
+
uuid: string;
|
|
450
|
+
name: string;
|
|
451
|
+
data: Record<string, unknown> | null;
|
|
452
|
+
created_at: Date;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type EventInsert = Omit<EventRow, 'event_id' | 'uuid' | 'created_at'>;
|
|
456
|
+
export type EventUpdate = Partial<Omit<EventRow, 'event_id'>>;
|
|
457
|
+
|
|
458
|
+
// =============================================================================
|
|
459
|
+
// MIGRATION
|
|
460
|
+
// =============================================================================
|
|
461
|
+
|
|
462
|
+
export interface MigrationRow {
|
|
463
|
+
migration_id: number;
|
|
464
|
+
module: string;
|
|
465
|
+
version: string;
|
|
466
|
+
created_at: Date;
|
|
467
|
+
updated_at: Date;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type MigrationInsert = Omit<
|
|
471
|
+
MigrationRow,
|
|
472
|
+
'migration_id' | 'created_at' | 'updated_at'
|
|
473
|
+
>;
|
|
474
|
+
export type MigrationUpdate = Partial<Omit<MigrationRow, 'migration_id'>>;
|
|
475
|
+
|
|
476
|
+
// =============================================================================
|
|
477
|
+
// ORDER
|
|
478
|
+
// =============================================================================
|
|
479
|
+
|
|
480
|
+
export interface OrderRow {
|
|
481
|
+
order_id: number;
|
|
482
|
+
uuid: string;
|
|
483
|
+
integration_order_id: string | null;
|
|
484
|
+
sid: string | null;
|
|
485
|
+
order_number: string;
|
|
486
|
+
cart_id: number;
|
|
487
|
+
currency: string;
|
|
488
|
+
customer_id: number | null;
|
|
489
|
+
customer_email: string | null;
|
|
490
|
+
customer_full_name: string | null;
|
|
491
|
+
user_ip: string | null;
|
|
492
|
+
user_agent: string | null;
|
|
493
|
+
coupon: string | null;
|
|
494
|
+
shipping_fee_excl_tax: string | null;
|
|
495
|
+
shipping_fee_incl_tax: string | null;
|
|
496
|
+
discount_amount: string | null;
|
|
497
|
+
sub_total: string;
|
|
498
|
+
sub_total_incl_tax: string;
|
|
499
|
+
sub_total_with_discount: string;
|
|
500
|
+
sub_total_with_discount_incl_tax: string;
|
|
501
|
+
total_qty: number;
|
|
502
|
+
total_weight: string | null;
|
|
503
|
+
tax_amount: string;
|
|
504
|
+
tax_amount_before_discount: string;
|
|
505
|
+
shipping_tax_amount: string;
|
|
506
|
+
shipping_note: string | null;
|
|
507
|
+
grand_total: string;
|
|
508
|
+
shipping_method: string | null;
|
|
509
|
+
shipping_method_name: string | null;
|
|
510
|
+
shipping_address_id: number | null;
|
|
511
|
+
payment_method: string | null;
|
|
512
|
+
payment_method_name: string | null;
|
|
513
|
+
billing_address_id: number | null;
|
|
514
|
+
shipment_status: string;
|
|
515
|
+
payment_status: string;
|
|
516
|
+
created_at: Date;
|
|
517
|
+
updated_at: Date;
|
|
518
|
+
total_tax_amount: string | null;
|
|
519
|
+
status: string | null;
|
|
520
|
+
no_shipping_required: boolean;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export type OrderInsert = Omit<
|
|
524
|
+
OrderRow,
|
|
525
|
+
'order_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
526
|
+
>;
|
|
527
|
+
export type OrderUpdate = Partial<Omit<OrderRow, 'order_id'>>;
|
|
528
|
+
|
|
529
|
+
// =============================================================================
|
|
530
|
+
// ORDER ACTIVITY
|
|
531
|
+
// =============================================================================
|
|
532
|
+
|
|
533
|
+
export interface OrderActivityRow {
|
|
534
|
+
order_activity_id: number;
|
|
535
|
+
uuid: string;
|
|
536
|
+
order_activity_order_id: number;
|
|
537
|
+
comment: string;
|
|
538
|
+
customer_notified: boolean;
|
|
539
|
+
created_at: Date;
|
|
540
|
+
updated_at: Date;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export type OrderActivityInsert = Omit<
|
|
544
|
+
OrderActivityRow,
|
|
545
|
+
'order_activity_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
546
|
+
>;
|
|
547
|
+
export type OrderActivityUpdate = Partial<
|
|
548
|
+
Omit<OrderActivityRow, 'order_activity_id'>
|
|
549
|
+
>;
|
|
550
|
+
|
|
551
|
+
// =============================================================================
|
|
552
|
+
// ORDER ADDRESS
|
|
553
|
+
// =============================================================================
|
|
554
|
+
|
|
555
|
+
export interface OrderAddressRow {
|
|
556
|
+
order_address_id: number;
|
|
557
|
+
uuid: string;
|
|
558
|
+
full_name: string | null;
|
|
559
|
+
postcode: string | null;
|
|
560
|
+
telephone: string | null;
|
|
561
|
+
country: string | null;
|
|
562
|
+
province: string | null;
|
|
563
|
+
city: string | null;
|
|
564
|
+
address_1: string | null;
|
|
565
|
+
address_2: string | null;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type OrderAddressInsert = Omit<
|
|
569
|
+
OrderAddressRow,
|
|
570
|
+
'order_address_id' | 'uuid'
|
|
571
|
+
>;
|
|
572
|
+
export type OrderAddressUpdate = Partial<
|
|
573
|
+
Omit<OrderAddressRow, 'order_address_id'>
|
|
574
|
+
>;
|
|
575
|
+
|
|
576
|
+
// =============================================================================
|
|
577
|
+
// ORDER ITEM
|
|
578
|
+
// =============================================================================
|
|
579
|
+
|
|
580
|
+
export interface OrderItemRow {
|
|
581
|
+
order_item_id: number;
|
|
582
|
+
uuid: string;
|
|
583
|
+
order_item_order_id: number;
|
|
584
|
+
product_id: number;
|
|
585
|
+
referer: number | null;
|
|
586
|
+
product_sku: string;
|
|
587
|
+
product_name: string;
|
|
588
|
+
thumbnail: string | null;
|
|
589
|
+
product_weight: string | null;
|
|
590
|
+
product_price: string;
|
|
591
|
+
product_price_incl_tax: string;
|
|
592
|
+
qty: number;
|
|
593
|
+
final_price: string;
|
|
594
|
+
final_price_incl_tax: string;
|
|
595
|
+
tax_percent: string;
|
|
596
|
+
tax_amount: string;
|
|
597
|
+
tax_amount_before_discount: string;
|
|
598
|
+
discount_amount: string;
|
|
599
|
+
line_total: string;
|
|
600
|
+
line_total_with_discount: string;
|
|
601
|
+
line_total_incl_tax: string;
|
|
602
|
+
line_total_with_discount_incl_tax: string;
|
|
603
|
+
variant_group_id: number | null;
|
|
604
|
+
variant_options: string | null;
|
|
605
|
+
product_custom_options: string | null;
|
|
606
|
+
requested_data: string | null;
|
|
607
|
+
no_shipping_required: boolean;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export type OrderItemInsert = Omit<OrderItemRow, 'order_item_id' | 'uuid'>;
|
|
611
|
+
export type OrderItemUpdate = Partial<Omit<OrderItemRow, 'order_item_id'>>;
|
|
612
|
+
|
|
613
|
+
// =============================================================================
|
|
614
|
+
// PAYMENT TRANSACTION
|
|
615
|
+
// =============================================================================
|
|
616
|
+
|
|
617
|
+
export interface PaymentTransactionRow {
|
|
618
|
+
payment_transaction_id: number;
|
|
619
|
+
uuid: string;
|
|
620
|
+
payment_transaction_order_id: number;
|
|
621
|
+
transaction_id: string | null;
|
|
622
|
+
transaction_type: string;
|
|
623
|
+
amount: string;
|
|
624
|
+
parent_transaction_id: string | null;
|
|
625
|
+
payment_action: string | null;
|
|
626
|
+
additional_information: string | null;
|
|
627
|
+
created_at: Date;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export type PaymentTransactionInsert = Omit<
|
|
631
|
+
PaymentTransactionRow,
|
|
632
|
+
'payment_transaction_id' | 'uuid' | 'created_at'
|
|
633
|
+
>;
|
|
634
|
+
export type PaymentTransactionUpdate = Partial<
|
|
635
|
+
Omit<PaymentTransactionRow, 'payment_transaction_id'>
|
|
636
|
+
>;
|
|
637
|
+
|
|
638
|
+
// =============================================================================
|
|
639
|
+
// PRODUCT
|
|
640
|
+
// =============================================================================
|
|
641
|
+
|
|
642
|
+
export interface ProductRow {
|
|
643
|
+
product_id: number;
|
|
644
|
+
uuid: string;
|
|
645
|
+
type: string;
|
|
646
|
+
variant_group_id: number | null;
|
|
647
|
+
visibility: boolean;
|
|
648
|
+
group_id: number | null;
|
|
649
|
+
sku: string;
|
|
650
|
+
price: string;
|
|
651
|
+
weight: string | null;
|
|
652
|
+
tax_class: number | null;
|
|
653
|
+
status: boolean;
|
|
654
|
+
created_at: Date;
|
|
655
|
+
updated_at: Date;
|
|
656
|
+
category_id: number | null;
|
|
657
|
+
no_shipping_required: boolean;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export type ProductInsert = Omit<
|
|
661
|
+
ProductRow,
|
|
662
|
+
'product_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
663
|
+
>;
|
|
664
|
+
export type ProductUpdate = Partial<Omit<ProductRow, 'product_id'>>;
|
|
665
|
+
|
|
666
|
+
// =============================================================================
|
|
667
|
+
// PRODUCT ATTRIBUTE VALUE INDEX
|
|
668
|
+
// =============================================================================
|
|
669
|
+
|
|
670
|
+
export interface ProductAttributeValueIndexRow {
|
|
671
|
+
product_attribute_value_index_id: number;
|
|
672
|
+
product_id: number;
|
|
673
|
+
attribute_id: number;
|
|
674
|
+
option_id: number | null;
|
|
675
|
+
option_text: string | null;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export type ProductAttributeValueIndexInsert = Omit<
|
|
679
|
+
ProductAttributeValueIndexRow,
|
|
680
|
+
'product_attribute_value_index_id'
|
|
681
|
+
>;
|
|
682
|
+
export type ProductAttributeValueIndexUpdate = Partial<
|
|
683
|
+
Omit<ProductAttributeValueIndexRow, 'product_attribute_value_index_id'>
|
|
684
|
+
>;
|
|
685
|
+
|
|
686
|
+
// =============================================================================
|
|
687
|
+
// PRODUCT CATEGORY (Junction Table)
|
|
688
|
+
// =============================================================================
|
|
689
|
+
|
|
690
|
+
export interface ProductCategoryRow {
|
|
691
|
+
product_category_id: number;
|
|
692
|
+
category_id: number;
|
|
693
|
+
product_id: number;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export type ProductCategoryInsert = Omit<
|
|
697
|
+
ProductCategoryRow,
|
|
698
|
+
'product_category_id'
|
|
699
|
+
>;
|
|
700
|
+
export type ProductCategoryUpdate = Partial<
|
|
701
|
+
Omit<ProductCategoryRow, 'product_category_id'>
|
|
702
|
+
>;
|
|
703
|
+
|
|
704
|
+
// =============================================================================
|
|
705
|
+
// PRODUCT COLLECTION (Junction Table)
|
|
706
|
+
// =============================================================================
|
|
707
|
+
|
|
708
|
+
export interface ProductCollectionRow {
|
|
709
|
+
product_collection_id: number;
|
|
710
|
+
collection_id: number;
|
|
711
|
+
product_id: number;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export type ProductCollectionInsert = Omit<
|
|
715
|
+
ProductCollectionRow,
|
|
716
|
+
'product_collection_id'
|
|
717
|
+
>;
|
|
718
|
+
export type ProductCollectionUpdate = Partial<
|
|
719
|
+
Omit<ProductCollectionRow, 'product_collection_id'>
|
|
720
|
+
>;
|
|
721
|
+
|
|
722
|
+
// =============================================================================
|
|
723
|
+
// PRODUCT CUSTOM OPTION
|
|
724
|
+
// =============================================================================
|
|
725
|
+
|
|
726
|
+
export interface ProductCustomOptionRow {
|
|
727
|
+
product_custom_option_id: number;
|
|
728
|
+
uuid: string;
|
|
729
|
+
product_custom_option_product_id: number;
|
|
730
|
+
option_name: string;
|
|
731
|
+
option_type: string;
|
|
732
|
+
is_required: boolean;
|
|
733
|
+
sort_order: number | null;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type ProductCustomOptionInsert = Omit<
|
|
737
|
+
ProductCustomOptionRow,
|
|
738
|
+
'product_custom_option_id' | 'uuid'
|
|
739
|
+
>;
|
|
740
|
+
export type ProductCustomOptionUpdate = Partial<
|
|
741
|
+
Omit<ProductCustomOptionRow, 'product_custom_option_id'>
|
|
742
|
+
>;
|
|
743
|
+
|
|
744
|
+
// =============================================================================
|
|
745
|
+
// PRODUCT CUSTOM OPTION VALUE
|
|
746
|
+
// =============================================================================
|
|
747
|
+
|
|
748
|
+
export interface ProductCustomOptionValueRow {
|
|
749
|
+
product_custom_option_value_id: number;
|
|
750
|
+
uuid: string;
|
|
751
|
+
option_id: number;
|
|
752
|
+
extra_price: string | null;
|
|
753
|
+
sort_order: number | null;
|
|
754
|
+
value: string;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export type ProductCustomOptionValueInsert = Omit<
|
|
758
|
+
ProductCustomOptionValueRow,
|
|
759
|
+
'product_custom_option_value_id' | 'uuid'
|
|
760
|
+
>;
|
|
761
|
+
export type ProductCustomOptionValueUpdate = Partial<
|
|
762
|
+
Omit<ProductCustomOptionValueRow, 'product_custom_option_value_id'>
|
|
763
|
+
>;
|
|
764
|
+
|
|
765
|
+
// =============================================================================
|
|
766
|
+
// PRODUCT DESCRIPTION
|
|
767
|
+
// =============================================================================
|
|
768
|
+
|
|
769
|
+
export interface ProductDescriptionRow {
|
|
770
|
+
product_description_id: number;
|
|
771
|
+
product_description_product_id: number;
|
|
772
|
+
name: string;
|
|
773
|
+
description: string | null;
|
|
774
|
+
short_description: string | null;
|
|
775
|
+
url_key: string;
|
|
776
|
+
meta_title: string | null;
|
|
777
|
+
meta_description: string | null;
|
|
778
|
+
meta_keywords: string | null;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export type ProductDescriptionInsert = Omit<
|
|
782
|
+
ProductDescriptionRow,
|
|
783
|
+
'product_description_id'
|
|
784
|
+
>;
|
|
785
|
+
export type ProductDescriptionUpdate = Partial<
|
|
786
|
+
Omit<ProductDescriptionRow, 'product_description_id'>
|
|
787
|
+
>;
|
|
788
|
+
|
|
789
|
+
// =============================================================================
|
|
790
|
+
// PRODUCT IMAGE
|
|
791
|
+
// =============================================================================
|
|
792
|
+
|
|
793
|
+
export interface ProductImageRow {
|
|
794
|
+
product_image_id: number;
|
|
795
|
+
product_image_product_id: number;
|
|
796
|
+
origin_image: string;
|
|
797
|
+
thumb_image: string | null;
|
|
798
|
+
listing_image: string | null;
|
|
799
|
+
single_image: string | null;
|
|
800
|
+
is_main: boolean;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export type ProductImageInsert = Omit<ProductImageRow, 'product_image_id'>;
|
|
804
|
+
export type ProductImageUpdate = Partial<
|
|
805
|
+
Omit<ProductImageRow, 'product_image_id'>
|
|
806
|
+
>;
|
|
807
|
+
|
|
808
|
+
// =============================================================================
|
|
809
|
+
// PRODUCT INVENTORY
|
|
810
|
+
// =============================================================================
|
|
811
|
+
|
|
812
|
+
export interface ProductInventoryRow {
|
|
813
|
+
product_inventory_id: number;
|
|
814
|
+
product_inventory_product_id: number;
|
|
815
|
+
qty: number;
|
|
816
|
+
manage_stock: boolean;
|
|
817
|
+
stock_availability: boolean;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export type ProductInventoryInsert = Omit<
|
|
821
|
+
ProductInventoryRow,
|
|
822
|
+
'product_inventory_id'
|
|
823
|
+
>;
|
|
824
|
+
export type ProductInventoryUpdate = Partial<
|
|
825
|
+
Omit<ProductInventoryRow, 'product_inventory_id'>
|
|
826
|
+
>;
|
|
827
|
+
|
|
828
|
+
// =============================================================================
|
|
829
|
+
// RESET PASSWORD TOKEN
|
|
830
|
+
// =============================================================================
|
|
831
|
+
|
|
832
|
+
export interface ResetPasswordTokenRow {
|
|
833
|
+
reset_password_token_id: number;
|
|
834
|
+
customer_id: number;
|
|
835
|
+
token: string;
|
|
836
|
+
created_at: Date;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export type ResetPasswordTokenInsert = Omit<
|
|
840
|
+
ResetPasswordTokenRow,
|
|
841
|
+
'reset_password_token_id' | 'created_at'
|
|
842
|
+
>;
|
|
843
|
+
export type ResetPasswordTokenUpdate = Partial<
|
|
844
|
+
Omit<ResetPasswordTokenRow, 'reset_password_token_id'>
|
|
845
|
+
>;
|
|
846
|
+
|
|
847
|
+
// =============================================================================
|
|
848
|
+
// SESSION
|
|
849
|
+
// =============================================================================
|
|
850
|
+
|
|
851
|
+
export interface SessionRow {
|
|
852
|
+
sid: string;
|
|
853
|
+
sess: Record<string, unknown>;
|
|
854
|
+
expire: Date;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
export type SessionInsert = SessionRow;
|
|
858
|
+
export type SessionUpdate = Partial<Omit<SessionRow, 'sid'>>;
|
|
859
|
+
|
|
860
|
+
// =============================================================================
|
|
861
|
+
// SETTING
|
|
862
|
+
// =============================================================================
|
|
863
|
+
|
|
864
|
+
export interface SettingRow {
|
|
865
|
+
setting_id: number;
|
|
866
|
+
uuid: string;
|
|
867
|
+
name: string;
|
|
868
|
+
value: string | null;
|
|
869
|
+
is_json: boolean;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export type SettingInsert = Omit<SettingRow, 'setting_id' | 'uuid'>;
|
|
873
|
+
export type SettingUpdate = Partial<Omit<SettingRow, 'setting_id'>>;
|
|
874
|
+
|
|
875
|
+
// =============================================================================
|
|
876
|
+
// SHIPMENT
|
|
877
|
+
// =============================================================================
|
|
878
|
+
|
|
879
|
+
export interface ShipmentRow {
|
|
880
|
+
shipment_id: number;
|
|
881
|
+
uuid: string;
|
|
882
|
+
shipment_order_id: number;
|
|
883
|
+
carrier: string | null;
|
|
884
|
+
tracking_number: string | null;
|
|
885
|
+
created_at: Date;
|
|
886
|
+
updated_at: Date;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export type ShipmentInsert = Omit<
|
|
890
|
+
ShipmentRow,
|
|
891
|
+
'shipment_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
892
|
+
>;
|
|
893
|
+
export type ShipmentUpdate = Partial<Omit<ShipmentRow, 'shipment_id'>>;
|
|
894
|
+
|
|
895
|
+
// =============================================================================
|
|
896
|
+
// SHIPPING METHOD
|
|
897
|
+
// =============================================================================
|
|
898
|
+
|
|
899
|
+
export interface ShippingMethodRow {
|
|
900
|
+
shipping_method_id: number;
|
|
901
|
+
uuid: string;
|
|
902
|
+
name: string;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export type ShippingMethodInsert = Omit<
|
|
906
|
+
ShippingMethodRow,
|
|
907
|
+
'shipping_method_id' | 'uuid'
|
|
908
|
+
>;
|
|
909
|
+
export type ShippingMethodUpdate = Partial<
|
|
910
|
+
Omit<ShippingMethodRow, 'shipping_method_id'>
|
|
911
|
+
>;
|
|
912
|
+
|
|
913
|
+
// =============================================================================
|
|
914
|
+
// SHIPPING ZONE
|
|
915
|
+
// =============================================================================
|
|
916
|
+
|
|
917
|
+
export interface ShippingZoneRow {
|
|
918
|
+
shipping_zone_id: number;
|
|
919
|
+
uuid: string;
|
|
920
|
+
name: string;
|
|
921
|
+
country: string;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
export type ShippingZoneInsert = Omit<
|
|
925
|
+
ShippingZoneRow,
|
|
926
|
+
'shipping_zone_id' | 'uuid'
|
|
927
|
+
>;
|
|
928
|
+
export type ShippingZoneUpdate = Partial<
|
|
929
|
+
Omit<ShippingZoneRow, 'shipping_zone_id'>
|
|
930
|
+
>;
|
|
931
|
+
|
|
932
|
+
// =============================================================================
|
|
933
|
+
// SHIPPING ZONE METHOD
|
|
934
|
+
// =============================================================================
|
|
935
|
+
|
|
936
|
+
export interface ShippingZoneMethodRow {
|
|
937
|
+
shipping_zone_method_id: number;
|
|
938
|
+
method_id: number;
|
|
939
|
+
zone_id: number;
|
|
940
|
+
is_enabled: boolean;
|
|
941
|
+
cost: string | null;
|
|
942
|
+
calculate_api: string | null;
|
|
943
|
+
condition_type: string | null;
|
|
944
|
+
max: string | null;
|
|
945
|
+
min: string | null;
|
|
946
|
+
price_based_cost: Record<string, unknown> | null;
|
|
947
|
+
weight_based_cost: Record<string, unknown> | null;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export type ShippingZoneMethodInsert = Omit<
|
|
951
|
+
ShippingZoneMethodRow,
|
|
952
|
+
'shipping_zone_method_id'
|
|
953
|
+
>;
|
|
954
|
+
export type ShippingZoneMethodUpdate = Partial<
|
|
955
|
+
Omit<ShippingZoneMethodRow, 'shipping_zone_method_id'>
|
|
956
|
+
>;
|
|
957
|
+
|
|
958
|
+
// =============================================================================
|
|
959
|
+
// SHIPPING ZONE PROVINCE
|
|
960
|
+
// =============================================================================
|
|
961
|
+
|
|
962
|
+
export interface ShippingZoneProvinceRow {
|
|
963
|
+
shipping_zone_province_id: number;
|
|
964
|
+
uuid: string;
|
|
965
|
+
zone_id: number;
|
|
966
|
+
province: string;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export type ShippingZoneProvinceInsert = Omit<
|
|
970
|
+
ShippingZoneProvinceRow,
|
|
971
|
+
'shipping_zone_province_id' | 'uuid'
|
|
972
|
+
>;
|
|
973
|
+
export type ShippingZoneProvinceUpdate = Partial<
|
|
974
|
+
Omit<ShippingZoneProvinceRow, 'shipping_zone_province_id'>
|
|
975
|
+
>;
|
|
976
|
+
|
|
977
|
+
// =============================================================================
|
|
978
|
+
// TAX CLASS
|
|
979
|
+
// =============================================================================
|
|
980
|
+
|
|
981
|
+
export interface TaxClassRow {
|
|
982
|
+
tax_class_id: number;
|
|
983
|
+
uuid: string;
|
|
984
|
+
name: string;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export type TaxClassInsert = Omit<TaxClassRow, 'tax_class_id' | 'uuid'>;
|
|
988
|
+
export type TaxClassUpdate = Partial<Omit<TaxClassRow, 'tax_class_id'>>;
|
|
989
|
+
|
|
990
|
+
// =============================================================================
|
|
991
|
+
// TAX RATE
|
|
992
|
+
// =============================================================================
|
|
993
|
+
|
|
994
|
+
export interface TaxRateRow {
|
|
995
|
+
tax_rate_id: number;
|
|
996
|
+
uuid: string;
|
|
997
|
+
name: string;
|
|
998
|
+
tax_class_id: number | null;
|
|
999
|
+
country: string;
|
|
1000
|
+
province: string;
|
|
1001
|
+
postcode: string;
|
|
1002
|
+
rate: string;
|
|
1003
|
+
is_compound: boolean;
|
|
1004
|
+
priority: number;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export type TaxRateInsert = Omit<TaxRateRow, 'tax_rate_id' | 'uuid'>;
|
|
1008
|
+
export type TaxRateUpdate = Partial<Omit<TaxRateRow, 'tax_rate_id'>>;
|
|
1009
|
+
|
|
1010
|
+
// =============================================================================
|
|
1011
|
+
// URL REWRITE
|
|
1012
|
+
// =============================================================================
|
|
1013
|
+
|
|
1014
|
+
export interface UrlRewriteRow {
|
|
1015
|
+
url_rewrite_id: number;
|
|
1016
|
+
language: string;
|
|
1017
|
+
request_path: string;
|
|
1018
|
+
target_path: string;
|
|
1019
|
+
entity_uuid: string | null;
|
|
1020
|
+
entity_type: string | null;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
export type UrlRewriteInsert = Omit<UrlRewriteRow, 'url_rewrite_id'>;
|
|
1024
|
+
export type UrlRewriteUpdate = Partial<Omit<UrlRewriteRow, 'url_rewrite_id'>>;
|
|
1025
|
+
|
|
1026
|
+
// =============================================================================
|
|
1027
|
+
// VARIANT GROUP
|
|
1028
|
+
// =============================================================================
|
|
1029
|
+
|
|
1030
|
+
export interface VariantGroupRow {
|
|
1031
|
+
variant_group_id: number;
|
|
1032
|
+
uuid: string;
|
|
1033
|
+
attribute_group_id: number;
|
|
1034
|
+
attribute_one: number | null;
|
|
1035
|
+
attribute_two: number | null;
|
|
1036
|
+
attribute_three: number | null;
|
|
1037
|
+
attribute_four: number | null;
|
|
1038
|
+
attribute_five: number | null;
|
|
1039
|
+
visibility: boolean;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export type VariantGroupInsert = Omit<
|
|
1043
|
+
VariantGroupRow,
|
|
1044
|
+
'variant_group_id' | 'uuid'
|
|
1045
|
+
>;
|
|
1046
|
+
export type VariantGroupUpdate = Partial<
|
|
1047
|
+
Omit<VariantGroupRow, 'variant_group_id'>
|
|
1048
|
+
>;
|
|
1049
|
+
|
|
1050
|
+
// =============================================================================
|
|
1051
|
+
// WIDGET
|
|
1052
|
+
// =============================================================================
|
|
1053
|
+
|
|
1054
|
+
export interface WidgetRow {
|
|
1055
|
+
widget_id: number;
|
|
1056
|
+
uuid: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
type: string;
|
|
1059
|
+
route: Record<string, unknown>[];
|
|
1060
|
+
area: Record<string, unknown>[];
|
|
1061
|
+
sort_order: number;
|
|
1062
|
+
settings: Record<string, unknown>;
|
|
1063
|
+
status: boolean | null;
|
|
1064
|
+
created_at: Date;
|
|
1065
|
+
updated_at: Date;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export type WidgetInsert = Omit<
|
|
1069
|
+
WidgetRow,
|
|
1070
|
+
'widget_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
1071
|
+
>;
|
|
1072
|
+
export type WidgetUpdate = Partial<Omit<WidgetRow, 'widget_id'>>;
|
|
1073
|
+
|
|
1074
|
+
// =============================================================================
|
|
1075
|
+
// SITE (Cloud specific - may not exist in all installations)
|
|
1076
|
+
// =============================================================================
|
|
1077
|
+
|
|
1078
|
+
export interface SiteRow {
|
|
1079
|
+
site_id: number;
|
|
1080
|
+
uuid: string;
|
|
1081
|
+
order_id: number;
|
|
1082
|
+
user_id: number;
|
|
1083
|
+
name: string;
|
|
1084
|
+
type: string;
|
|
1085
|
+
domain: string;
|
|
1086
|
+
configuration: Record<string, unknown> | null;
|
|
1087
|
+
db_name: string;
|
|
1088
|
+
db_username: string;
|
|
1089
|
+
db_password: string;
|
|
1090
|
+
admin_email: string;
|
|
1091
|
+
admin_password: string | null;
|
|
1092
|
+
github_installation_id: string | null;
|
|
1093
|
+
github_repository: string | null;
|
|
1094
|
+
github_branch: string | null;
|
|
1095
|
+
version: string | null;
|
|
1096
|
+
created_at: Date;
|
|
1097
|
+
updated_at: Date;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export type SiteInsert = Omit<
|
|
1101
|
+
SiteRow,
|
|
1102
|
+
'site_id' | 'uuid' | 'created_at' | 'updated_at'
|
|
1103
|
+
>;
|
|
1104
|
+
export type SiteUpdate = Partial<Omit<SiteRow, 'site_id'>>;
|
|
1105
|
+
|
|
1106
|
+
// =============================================================================
|
|
1107
|
+
// QUERY BUILDER RESULT TYPES
|
|
1108
|
+
// =============================================================================
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Result type from insert operations via postgres-query-builder
|
|
1112
|
+
*/
|
|
1113
|
+
export interface InsertResult<T = Record<string, unknown>> {
|
|
1114
|
+
insertId: number;
|
|
1115
|
+
[key: string]: unknown;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Result type from update operations via postgres-query-builder
|
|
1120
|
+
*/
|
|
1121
|
+
export interface UpdateResult {
|
|
1122
|
+
rowCount: number;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Helper type for creating insert results that include all row data
|
|
1127
|
+
*/
|
|
1128
|
+
export type InsertResultWithRow<T> = T & { insertId: number };
|