@endora-commerce/mod-catalog 0.109.0 → 0.110.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/components/CopyToChannelsDialog.d.ts +37 -0
- package/dist/admin/components/CopyToChannelsDialog.d.ts.map +1 -0
- package/dist/admin/components/CopyToChannelsDialog.js +83 -0
- package/dist/admin/components/CopyToChannelsDialog.js.map +1 -0
- package/dist/admin/components/PackagingUnitsEditor.d.ts +13 -4
- package/dist/admin/components/PackagingUnitsEditor.d.ts.map +1 -1
- package/dist/admin/components/PackagingUnitsEditor.js +20 -85
- package/dist/admin/components/PackagingUnitsEditor.js.map +1 -1
- package/dist/admin/components/ProductAttachmentsSection.d.ts +1 -3
- package/dist/admin/components/ProductAttachmentsSection.d.ts.map +1 -1
- package/dist/admin/components/ProductAttachmentsSection.js +59 -98
- package/dist/admin/components/ProductAttachmentsSection.js.map +1 -1
- package/dist/admin/components/ProductAttributesTab.d.ts +1 -11
- package/dist/admin/components/ProductAttributesTab.d.ts.map +1 -1
- package/dist/admin/components/ProductAttributesTab.js +128 -119
- package/dist/admin/components/ProductAttributesTab.js.map +1 -1
- package/dist/admin/components/ProductContentCard.d.ts +41 -0
- package/dist/admin/components/ProductContentCard.d.ts.map +1 -0
- package/dist/admin/components/ProductContentCard.js +28 -0
- package/dist/admin/components/ProductContentCard.js.map +1 -0
- package/dist/admin/components/ProductGallerySection.d.ts +2 -13
- package/dist/admin/components/ProductGallerySection.d.ts.map +1 -1
- package/dist/admin/components/ProductGallerySection.js +98 -354
- package/dist/admin/components/ProductGallerySection.js.map +1 -1
- package/dist/admin/components/ProductOrderRulesCard.d.ts +11 -15
- package/dist/admin/components/ProductOrderRulesCard.d.ts.map +1 -1
- package/dist/admin/components/ProductOrderRulesCard.js +15 -268
- package/dist/admin/components/ProductOrderRulesCard.js.map +1 -1
- package/dist/admin/components/ProductScopeBar.d.ts +28 -0
- package/dist/admin/components/ProductScopeBar.d.ts.map +1 -0
- package/dist/admin/components/ProductScopeBar.js +70 -0
- package/dist/admin/components/ProductScopeBar.js.map +1 -0
- package/dist/admin/components/ProductScopeOverview.d.ts +13 -1
- package/dist/admin/components/ProductScopeOverview.d.ts.map +1 -1
- package/dist/admin/components/ProductScopeOverview.js +51 -36
- package/dist/admin/components/ProductScopeOverview.js.map +1 -1
- package/dist/admin/components/ProductUrlRedirects.d.ts +15 -0
- package/dist/admin/components/ProductUrlRedirects.d.ts.map +1 -0
- package/dist/admin/components/ProductUrlRedirects.js +70 -0
- package/dist/admin/components/ProductUrlRedirects.js.map +1 -0
- package/dist/admin/components/editor/DetailsTab.d.ts +30 -0
- package/dist/admin/components/editor/DetailsTab.d.ts.map +1 -0
- package/dist/admin/components/editor/DetailsTab.js +59 -0
- package/dist/admin/components/editor/DetailsTab.js.map +1 -0
- package/dist/admin/components/editor/ImmediateBadge.d.ts +21 -0
- package/dist/admin/components/editor/ImmediateBadge.d.ts.map +1 -0
- package/dist/admin/components/editor/ImmediateBadge.js +21 -0
- package/dist/admin/components/editor/ImmediateBadge.js.map +1 -0
- package/dist/admin/components/editor/confirm-removal.d.ts +13 -0
- package/dist/admin/components/editor/confirm-removal.d.ts.map +1 -0
- package/dist/admin/components/editor/confirm-removal.js +33 -0
- package/dist/admin/components/editor/confirm-removal.js.map +1 -0
- package/dist/admin/components/editor/editor-context.d.ts +53 -0
- package/dist/admin/components/editor/editor-context.d.ts.map +1 -0
- package/dist/admin/components/editor/editor-context.js +88 -0
- package/dist/admin/components/editor/editor-context.js.map +1 -0
- package/dist/admin/components/editor/scoped-controls.d.ts +46 -0
- package/dist/admin/components/editor/scoped-controls.d.ts.map +1 -0
- package/dist/admin/components/editor/scoped-controls.js +64 -0
- package/dist/admin/components/editor/scoped-controls.js.map +1 -0
- package/dist/admin/index.d.ts +1 -1
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js +11 -0
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/lib/attribute-scope.d.ts +17 -14
- package/dist/admin/lib/attribute-scope.d.ts.map +1 -1
- package/dist/admin/lib/attribute-scope.js +12 -9
- package/dist/admin/lib/attribute-scope.js.map +1 -1
- package/dist/admin/lib/editor-scope.d.ts +35 -0
- package/dist/admin/lib/editor-scope.d.ts.map +1 -0
- package/dist/admin/lib/editor-scope.js +114 -0
- package/dist/admin/lib/editor-scope.js.map +1 -0
- package/dist/admin/lib/order-minimum-input.d.ts +13 -0
- package/dist/admin/lib/order-minimum-input.d.ts.map +1 -0
- package/dist/admin/lib/order-minimum-input.js +16 -0
- package/dist/admin/lib/order-minimum-input.js.map +1 -0
- package/dist/admin/lib/product-labels.d.ts +0 -2
- package/dist/admin/lib/product-labels.d.ts.map +1 -1
- package/dist/admin/lib/product-labels.js +1 -5
- package/dist/admin/lib/product-labels.js.map +1 -1
- package/dist/admin/lib/product-scopes-api.d.ts +5 -22
- package/dist/admin/lib/product-scopes-api.d.ts.map +1 -1
- package/dist/admin/lib/product-scopes-api.js +1 -45
- package/dist/admin/lib/product-scopes-api.js.map +1 -1
- package/dist/admin/lib/product-url-keys-api.d.ts +4 -27
- package/dist/admin/lib/product-url-keys-api.d.ts.map +1 -1
- package/dist/admin/lib/product-url-keys-api.js +0 -49
- package/dist/admin/lib/product-url-keys-api.js.map +1 -1
- package/dist/admin/lib/scope-overview.d.ts +13 -14
- package/dist/admin/lib/scope-overview.d.ts.map +1 -1
- package/dist/admin/lib/scope-overview.js +36 -31
- package/dist/admin/lib/scope-overview.js.map +1 -1
- package/dist/admin/lib/scoped-editor-store.d.ts +81 -0
- package/dist/admin/lib/scoped-editor-store.d.ts.map +1 -0
- package/dist/admin/lib/scoped-editor-store.js +198 -0
- package/dist/admin/lib/scoped-editor-store.js.map +1 -0
- package/dist/admin/lib/scoped-values-api.d.ts +14 -0
- package/dist/admin/lib/scoped-values-api.d.ts.map +1 -0
- package/dist/admin/lib/scoped-values-api.js +55 -0
- package/dist/admin/lib/scoped-values-api.js.map +1 -0
- package/dist/admin/pages/AttributesManager.d.ts.map +1 -1
- package/dist/admin/pages/AttributesManager.js +119 -38
- package/dist/admin/pages/AttributesManager.js.map +1 -1
- package/dist/admin/pages/ProductContentPage.d.ts +27 -0
- package/dist/admin/pages/ProductContentPage.d.ts.map +1 -0
- package/dist/admin/pages/ProductContentPage.js +161 -0
- package/dist/admin/pages/ProductContentPage.js.map +1 -0
- package/dist/admin/pages/ProductCreateForm.d.ts +3 -0
- package/dist/admin/pages/ProductCreateForm.d.ts.map +1 -0
- package/dist/admin/pages/ProductCreateForm.js +87 -0
- package/dist/admin/pages/ProductCreateForm.js.map +1 -0
- package/dist/admin/pages/ProductEditor.d.ts.map +1 -1
- package/dist/admin/pages/ProductEditor.js +840 -457
- package/dist/admin/pages/ProductEditor.js.map +1 -1
- package/dist/admin/pages/ProductsList.d.ts.map +1 -1
- package/dist/admin/pages/ProductsList.js +9 -19
- package/dist/admin/pages/ProductsList.js.map +1 -1
- package/dist/backend/admin-search-provider.d.ts +2 -1
- package/dist/backend/admin-search-provider.d.ts.map +1 -1
- package/dist/backend/admin-search-provider.js +1 -1
- package/dist/backend/admin-search-provider.js.map +1 -1
- package/dist/backend/commands/attribute-commands.d.ts +4 -3
- package/dist/backend/commands/attribute-commands.d.ts.map +1 -1
- package/dist/backend/commands/attribute-commands.js +82 -21
- package/dist/backend/commands/attribute-commands.js.map +1 -1
- package/dist/backend/commands/product-content-commands.d.ts +31 -0
- package/dist/backend/commands/product-content-commands.d.ts.map +1 -0
- package/dist/backend/commands/product-content-commands.js +70 -0
- package/dist/backend/commands/product-content-commands.js.map +1 -0
- package/dist/backend/commands/scoped-values.commands.d.ts +95 -0
- package/dist/backend/commands/scoped-values.commands.d.ts.map +1 -0
- package/dist/backend/commands/scoped-values.commands.js +235 -0
- package/dist/backend/commands/scoped-values.commands.js.map +1 -0
- package/dist/backend/demo/reset.d.ts.map +1 -1
- package/dist/backend/demo/reset.js +2 -1
- package/dist/backend/demo/reset.js.map +1 -1
- package/dist/backend/demo/rows.d.ts +18 -0
- package/dist/backend/demo/rows.d.ts.map +1 -1
- package/dist/backend/demo/rows.js +18 -0
- package/dist/backend/demo/rows.js.map +1 -1
- package/dist/backend/demo/seed.d.ts +2 -1
- package/dist/backend/demo/seed.d.ts.map +1 -1
- package/dist/backend/demo/seed.js +20 -6
- package/dist/backend/demo/seed.js.map +1 -1
- package/dist/backend/entities/gallery-item-scope-override.entity.d.ts +30 -0
- package/dist/backend/entities/gallery-item-scope-override.entity.d.ts.map +1 -0
- package/dist/backend/entities/gallery-item-scope-override.entity.js +80 -0
- package/dist/backend/entities/gallery-item-scope-override.entity.js.map +1 -0
- package/dist/backend/entities/gallery-item.entity.d.ts +7 -6
- package/dist/backend/entities/gallery-item.entity.d.ts.map +1 -1
- package/dist/backend/entities/gallery-item.entity.js +11 -6
- package/dist/backend/entities/gallery-item.entity.js.map +1 -1
- package/dist/backend/entities/gallery-role-scope-override.entity.d.ts +28 -0
- package/dist/backend/entities/gallery-role-scope-override.entity.d.ts.map +1 -0
- package/dist/backend/entities/gallery-role-scope-override.entity.js +75 -0
- package/dist/backend/entities/gallery-role-scope-override.entity.js.map +1 -0
- package/dist/backend/entities/product-attachment-scope-override.entity.d.ts +30 -0
- package/dist/backend/entities/product-attachment-scope-override.entity.d.ts.map +1 -0
- package/dist/backend/entities/product-attachment-scope-override.entity.js +80 -0
- package/dist/backend/entities/product-attachment-scope-override.entity.js.map +1 -0
- package/dist/backend/entities/product-attachment.entity.d.ts +4 -6
- package/dist/backend/entities/product-attachment.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-attachment.entity.js +6 -12
- package/dist/backend/entities/product-attachment.entity.js.map +1 -1
- package/dist/backend/entities/product-attribute.entity.d.ts +5 -9
- package/dist/backend/entities/product-attribute.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-attribute.entity.js +5 -13
- package/dist/backend/entities/product-attribute.entity.js.map +1 -1
- package/dist/backend/entities/product-channel-scope.entity.d.ts +7 -2
- package/dist/backend/entities/product-channel-scope.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-channel-scope.entity.js +10 -1
- package/dist/backend/entities/product-channel-scope.entity.js.map +1 -1
- package/dist/backend/entities/product-content-value.entity.d.ts +39 -0
- package/dist/backend/entities/product-content-value.entity.d.ts.map +1 -0
- package/dist/backend/entities/product-content-value.entity.js +81 -0
- package/dist/backend/entities/product-content-value.entity.js.map +1 -0
- package/dist/backend/entities/product-packaging-unit-scope-override.entity.d.ts +30 -0
- package/dist/backend/entities/product-packaging-unit-scope-override.entity.d.ts.map +1 -0
- package/dist/backend/entities/product-packaging-unit-scope-override.entity.js +80 -0
- package/dist/backend/entities/product-packaging-unit-scope-override.entity.js.map +1 -0
- package/dist/backend/entities/product-packaging-unit.entity.d.ts +1 -7
- package/dist/backend/entities/product-packaging-unit.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-packaging-unit.entity.js +0 -10
- package/dist/backend/entities/product-packaging-unit.entity.js.map +1 -1
- package/dist/backend/entities/product-url-key.entity.d.ts +14 -19
- package/dist/backend/entities/product-url-key.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-url-key.entity.js +17 -22
- package/dist/backend/entities/product-url-key.entity.js.map +1 -1
- package/dist/backend/entities/product-url-redirect.entity.d.ts +8 -13
- package/dist/backend/entities/product-url-redirect.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-url-redirect.entity.js +13 -14
- package/dist/backend/entities/product-url-redirect.entity.js.map +1 -1
- package/dist/backend/entities/product-variant.entity.d.ts +8 -1
- package/dist/backend/entities/product-variant.entity.d.ts.map +1 -1
- package/dist/backend/entities/product-variant.entity.js +13 -2
- package/dist/backend/entities/product-variant.entity.js.map +1 -1
- package/dist/backend/entities/product.entity.d.ts +31 -14
- package/dist/backend/entities/product.entity.d.ts.map +1 -1
- package/dist/backend/entities/product.entity.js +41 -34
- package/dist/backend/entities/product.entity.js.map +1 -1
- package/dist/backend/index.d.ts +8 -3
- package/dist/backend/index.d.ts.map +1 -1
- package/dist/backend/index.js +136 -49
- package/dist/backend/index.js.map +1 -1
- package/dist/backend/plugin.d.ts +36 -6
- package/dist/backend/plugin.d.ts.map +1 -1
- package/dist/backend/plugin.js +36 -13
- package/dist/backend/plugin.js.map +1 -1
- package/dist/backend/prompt-tools.d.ts +3 -2
- package/dist/backend/prompt-tools.d.ts.map +1 -1
- package/dist/backend/prompt-tools.js +18 -7
- package/dist/backend/prompt-tools.js.map +1 -1
- package/dist/backend/routes.admin.d.ts +15 -16
- package/dist/backend/routes.admin.d.ts.map +1 -1
- package/dist/backend/routes.admin.js +110 -99
- package/dist/backend/routes.admin.js.map +1 -1
- package/dist/backend/routes.api-key.d.ts.map +1 -1
- package/dist/backend/routes.api-key.js +4 -2
- package/dist/backend/routes.api-key.js.map +1 -1
- package/dist/backend/routes.public.d.ts +8 -1
- package/dist/backend/routes.public.d.ts.map +1 -1
- package/dist/backend/routes.public.js +60 -8
- package/dist/backend/routes.public.js.map +1 -1
- package/dist/backend/services/asset-references.d.ts +12 -1
- package/dist/backend/services/asset-references.d.ts.map +1 -1
- package/dist/backend/services/asset-references.js +42 -2
- package/dist/backend/services/asset-references.js.map +1 -1
- package/dist/backend/services/attachment-packaging-scopes.d.ts +38 -20
- package/dist/backend/services/attachment-packaging-scopes.d.ts.map +1 -1
- package/dist/backend/services/attachment-packaging-scopes.js +58 -75
- package/dist/backend/services/attachment-packaging-scopes.js.map +1 -1
- package/dist/backend/services/attachment.service.d.ts +4 -8
- package/dist/backend/services/attachment.service.d.ts.map +1 -1
- package/dist/backend/services/attachment.service.js +35 -49
- package/dist/backend/services/attachment.service.js.map +1 -1
- package/dist/backend/services/attribute-filter-match.d.ts +14 -0
- package/dist/backend/services/attribute-filter-match.d.ts.map +1 -0
- package/dist/backend/services/attribute-filter-match.js +19 -0
- package/dist/backend/services/attribute-filter-match.js.map +1 -0
- package/dist/backend/services/attribute-scope-preview.d.ts +17 -7
- package/dist/backend/services/attribute-scope-preview.d.ts.map +1 -1
- package/dist/backend/services/attribute-scope-preview.js +30 -20
- package/dist/backend/services/attribute-scope-preview.js.map +1 -1
- package/dist/backend/services/attribute-set.service.d.ts +10 -1
- package/dist/backend/services/attribute-set.service.d.ts.map +1 -1
- package/dist/backend/services/attribute-set.service.js +30 -4
- package/dist/backend/services/attribute-set.service.js.map +1 -1
- package/dist/backend/services/attribute-type-mapping.d.ts +2 -2
- package/dist/backend/services/attribute-type-mapping.d.ts.map +1 -1
- package/dist/backend/services/attribute-type-mapping.js +6 -0
- package/dist/backend/services/attribute-type-mapping.js.map +1 -1
- package/dist/backend/services/attribute-usage.d.ts +31 -0
- package/dist/backend/services/attribute-usage.d.ts.map +1 -0
- package/dist/backend/services/attribute-usage.js +29 -0
- package/dist/backend/services/attribute-usage.js.map +1 -0
- package/dist/backend/services/bulk-operation.service.d.ts.map +1 -1
- package/dist/backend/services/bulk-operation.service.js +12 -6
- package/dist/backend/services/bulk-operation.service.js.map +1 -1
- package/dist/backend/services/bundle.service.d.ts.map +1 -1
- package/dist/backend/services/bundle.service.js +19 -1
- package/dist/backend/services/bundle.service.js.map +1 -1
- package/dist/backend/services/catalog-admin-search.service.d.ts +3 -2
- package/dist/backend/services/catalog-admin-search.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-admin-search.service.js +6 -6
- package/dist/backend/services/catalog-admin-search.service.js.map +1 -1
- package/dist/backend/services/catalog-admin.service.d.ts +63 -12
- package/dist/backend/services/catalog-admin.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-admin.service.js +352 -189
- package/dist/backend/services/catalog-admin.service.js.map +1 -1
- package/dist/backend/services/catalog-attribute-read.service.d.ts +14 -0
- package/dist/backend/services/catalog-attribute-read.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-attribute-read.service.js +7 -19
- package/dist/backend/services/catalog-attribute-read.service.js.map +1 -1
- package/dist/backend/services/catalog-bulk-import.service.d.ts +52 -5
- package/dist/backend/services/catalog-bulk-import.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-bulk-import.service.js +190 -142
- package/dist/backend/services/catalog-bulk-import.service.js.map +1 -1
- package/dist/backend/services/catalog-bulk-update.service.d.ts +5 -3
- package/dist/backend/services/catalog-bulk-update.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-bulk-update.service.js +21 -8
- package/dist/backend/services/catalog-bulk-update.service.js.map +1 -1
- package/dist/backend/services/catalog-product-read.service.d.ts +11 -1
- package/dist/backend/services/catalog-product-read.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-product-read.service.js +37 -17
- package/dist/backend/services/catalog-product-read.service.js.map +1 -1
- package/dist/backend/services/catalog-query.service.d.ts +39 -8
- package/dist/backend/services/catalog-query.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-query.service.js +154 -116
- package/dist/backend/services/catalog-query.service.js.map +1 -1
- package/dist/backend/services/catalog-quick-search.service.d.ts.map +1 -1
- package/dist/backend/services/catalog-quick-search.service.js +5 -5
- package/dist/backend/services/catalog-quick-search.service.js.map +1 -1
- package/dist/backend/services/catalog-write-ports.d.ts +14 -16
- package/dist/backend/services/catalog-write-ports.d.ts.map +1 -1
- package/dist/backend/services/catalog-write-ports.js +11 -70
- package/dist/backend/services/catalog-write-ports.js.map +1 -1
- package/dist/backend/services/category-admin.service.d.ts.map +1 -1
- package/dist/backend/services/category-admin.service.js +9 -1
- package/dist/backend/services/category-admin.service.js.map +1 -1
- package/dist/backend/services/content-attribute-rules.d.ts +49 -0
- package/dist/backend/services/content-attribute-rules.d.ts.map +1 -0
- package/dist/backend/services/content-attribute-rules.js +89 -0
- package/dist/backend/services/content-attribute-rules.js.map +1 -0
- package/dist/backend/services/effective-value.sql.d.ts +24 -38
- package/dist/backend/services/effective-value.sql.d.ts.map +1 -1
- package/dist/backend/services/effective-value.sql.js +37 -87
- package/dist/backend/services/effective-value.sql.js.map +1 -1
- package/dist/backend/services/gallery-scopes.d.ts +45 -22
- package/dist/backend/services/gallery-scopes.d.ts.map +1 -1
- package/dist/backend/services/gallery-scopes.js +116 -109
- package/dist/backend/services/gallery-scopes.js.map +1 -1
- package/dist/backend/services/gallery.service.d.ts +13 -27
- package/dist/backend/services/gallery.service.d.ts.map +1 -1
- package/dist/backend/services/gallery.service.js +75 -199
- package/dist/backend/services/gallery.service.js.map +1 -1
- package/dist/backend/services/grouped.service.d.ts.map +1 -1
- package/dist/backend/services/grouped.service.js +13 -1
- package/dist/backend/services/grouped.service.js.map +1 -1
- package/dist/backend/services/packaging-unit.service.d.ts.map +1 -1
- package/dist/backend/services/packaging-unit.service.js +7 -12
- package/dist/backend/services/packaging-unit.service.js.map +1 -1
- package/dist/backend/services/page-builder-content.d.ts +64 -0
- package/dist/backend/services/page-builder-content.d.ts.map +1 -0
- package/dist/backend/services/page-builder-content.js +113 -0
- package/dist/backend/services/page-builder-content.js.map +1 -0
- package/dist/backend/services/primary-asset-url.d.ts +6 -1
- package/dist/backend/services/primary-asset-url.d.ts.map +1 -1
- package/dist/backend/services/primary-asset-url.js +9 -4
- package/dist/backend/services/primary-asset-url.js.map +1 -1
- package/dist/backend/services/product-availability.service.d.ts +16 -3
- package/dist/backend/services/product-availability.service.d.ts.map +1 -1
- package/dist/backend/services/product-availability.service.js +58 -21
- package/dist/backend/services/product-availability.service.js.map +1 -1
- package/dist/backend/services/product-content.service.d.ts +62 -0
- package/dist/backend/services/product-content.service.d.ts.map +1 -0
- package/dist/backend/services/product-content.service.js +122 -0
- package/dist/backend/services/product-content.service.js.map +1 -0
- package/dist/backend/services/product-editor-preferences.service.d.ts +6 -0
- package/dist/backend/services/product-editor-preferences.service.d.ts.map +1 -1
- package/dist/backend/services/product-editor-preferences.service.js +12 -0
- package/dist/backend/services/product-editor-preferences.service.js.map +1 -1
- package/dist/backend/services/product-global-field-rules.d.ts +39 -0
- package/dist/backend/services/product-global-field-rules.d.ts.map +1 -0
- package/dist/backend/services/product-global-field-rules.js +84 -0
- package/dist/backend/services/product-global-field-rules.js.map +1 -0
- package/dist/backend/services/product-link.service.d.ts.map +1 -1
- package/dist/backend/services/product-link.service.js +14 -16
- package/dist/backend/services/product-link.service.js.map +1 -1
- package/dist/backend/services/product-list-view-service.d.ts.map +1 -1
- package/dist/backend/services/product-list-view-service.js +5 -8
- package/dist/backend/services/product-list-view-service.js.map +1 -1
- package/dist/backend/services/product-page-revalidation.d.ts +9 -0
- package/dist/backend/services/product-page-revalidation.d.ts.map +1 -1
- package/dist/backend/services/product-page-revalidation.js +19 -0
- package/dist/backend/services/product-page-revalidation.js.map +1 -1
- package/dist/backend/services/product-scopes.service.d.ts +15 -6
- package/dist/backend/services/product-scopes.service.d.ts.map +1 -1
- package/dist/backend/services/product-scopes.service.js +87 -33
- package/dist/backend/services/product-scopes.service.js.map +1 -1
- package/dist/backend/services/product-value-resolver.service.d.ts +2 -2
- package/dist/backend/services/product-value-resolver.service.d.ts.map +1 -1
- package/dist/backend/services/product-value-resolver.service.js +4 -7
- package/dist/backend/services/product-value-resolver.service.js.map +1 -1
- package/dist/backend/services/publication-window-sweep.d.ts +61 -7
- package/dist/backend/services/publication-window-sweep.d.ts.map +1 -1
- package/dist/backend/services/publication-window-sweep.js +106 -19
- package/dist/backend/services/publication-window-sweep.js.map +1 -1
- package/dist/backend/services/scheduled-work-probe.d.ts +34 -0
- package/dist/backend/services/scheduled-work-probe.d.ts.map +1 -0
- package/dist/backend/services/scheduled-work-probe.js +30 -0
- package/dist/backend/services/scheduled-work-probe.js.map +1 -0
- package/dist/backend/services/scope-completeness.d.ts +11 -11
- package/dist/backend/services/scope-completeness.d.ts.map +1 -1
- package/dist/backend/services/scope-completeness.js +26 -33
- package/dist/backend/services/scope-completeness.js.map +1 -1
- package/dist/backend/services/scope-overview.service.d.ts +24 -24
- package/dist/backend/services/scope-overview.service.d.ts.map +1 -1
- package/dist/backend/services/scope-overview.service.js +33 -76
- package/dist/backend/services/scope-overview.service.js.map +1 -1
- package/dist/backend/services/scoped-store-adapters.d.ts +58 -0
- package/dist/backend/services/scoped-store-adapters.d.ts.map +1 -0
- package/dist/backend/services/scoped-store-adapters.js +92 -0
- package/dist/backend/services/scoped-store-adapters.js.map +1 -0
- package/dist/backend/services/scoped-values-global-only.d.ts +36 -0
- package/dist/backend/services/scoped-values-global-only.d.ts.map +1 -0
- package/dist/backend/services/scoped-values-global-only.js +92 -0
- package/dist/backend/services/scoped-values-global-only.js.map +1 -0
- package/dist/backend/services/scoped-values-import.d.ts +86 -0
- package/dist/backend/services/scoped-values-import.d.ts.map +1 -0
- package/dist/backend/services/scoped-values-import.js +320 -0
- package/dist/backend/services/scoped-values-import.js.map +1 -0
- package/dist/backend/services/scoped-values-read.service.d.ts +56 -0
- package/dist/backend/services/scoped-values-read.service.d.ts.map +1 -0
- package/dist/backend/services/scoped-values-read.service.js +289 -0
- package/dist/backend/services/scoped-values-read.service.js.map +1 -0
- package/dist/backend/services/scoped-values-save.service.d.ts +79 -0
- package/dist/backend/services/scoped-values-save.service.d.ts.map +1 -0
- package/dist/backend/services/scoped-values-save.service.js +675 -0
- package/dist/backend/services/scoped-values-save.service.js.map +1 -0
- package/dist/backend/services/scoped-values-state.d.ts +94 -0
- package/dist/backend/services/scoped-values-state.d.ts.map +1 -0
- package/dist/backend/services/scoped-values-state.js +159 -0
- package/dist/backend/services/scoped-values-state.js.map +1 -0
- package/dist/backend/services/scoped-values.service.d.ts +36 -0
- package/dist/backend/services/scoped-values.service.d.ts.map +1 -0
- package/dist/backend/services/scoped-values.service.js +92 -0
- package/dist/backend/services/scoped-values.service.js.map +1 -0
- package/dist/backend/services/storefront-value-overrides.d.ts +7 -8
- package/dist/backend/services/storefront-value-overrides.d.ts.map +1 -1
- package/dist/backend/services/storefront-value-overrides.js +11 -14
- package/dist/backend/services/storefront-value-overrides.js.map +1 -1
- package/dist/backend/services/url-key-resolution.service.d.ts +12 -18
- package/dist/backend/services/url-key-resolution.service.d.ts.map +1 -1
- package/dist/backend/services/url-key-resolution.service.js +43 -43
- package/dist/backend/services/url-key-resolution.service.js.map +1 -1
- package/dist/backend/services/url-key.service.d.ts +87 -135
- package/dist/backend/services/url-key.service.d.ts.map +1 -1
- package/dist/backend/services/url-key.service.js +447 -619
- package/dist/backend/services/url-key.service.js.map +1 -1
- package/dist/manifest.d.ts +7 -1
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +34 -0
- package/dist/manifest.js.map +1 -1
- package/dist/migrations/20261030T113855_catalog_scope_model_texts.d.ts +36 -0
- package/dist/migrations/20261030T113855_catalog_scope_model_texts.d.ts.map +1 -0
- package/dist/migrations/20261030T113855_catalog_scope_model_texts.js +225 -0
- package/dist/migrations/20261030T113855_catalog_scope_model_texts.js.map +1 -0
- package/dist/migrations/20261030T113859_catalog_scope_model_order_rules.d.ts +18 -0
- package/dist/migrations/20261030T113859_catalog_scope_model_order_rules.d.ts.map +1 -0
- package/dist/migrations/20261030T113859_catalog_scope_model_order_rules.js +39 -0
- package/dist/migrations/20261030T113859_catalog_scope_model_order_rules.js.map +1 -0
- package/dist/migrations/20261030T113904_catalog_scope_model_url_keys.d.ts +6 -0
- package/dist/migrations/20261030T113904_catalog_scope_model_url_keys.d.ts.map +1 -0
- package/dist/migrations/20261030T113904_catalog_scope_model_url_keys.js +119 -0
- package/dist/migrations/20261030T113904_catalog_scope_model_url_keys.js.map +1 -0
- package/dist/migrations/20261030T113908_catalog_scope_model_media.d.ts +6 -0
- package/dist/migrations/20261030T113908_catalog_scope_model_media.d.ts.map +1 -0
- package/dist/migrations/20261030T113908_catalog_scope_model_media.js +185 -0
- package/dist/migrations/20261030T113908_catalog_scope_model_media.js.map +1 -0
- package/dist/migrations/20261104T121504_catalog_product_content_values.d.ts +36 -0
- package/dist/migrations/20261104T121504_catalog_product_content_values.d.ts.map +1 -0
- package/dist/migrations/20261104T121504_catalog_product_content_values.js +53 -0
- package/dist/migrations/20261104T121504_catalog_product_content_values.js.map +1 -0
- package/dist/migrations/20261107T093126_catalog_sku_unique_among_live.d.ts +33 -0
- package/dist/migrations/20261107T093126_catalog_sku_unique_among_live.d.ts.map +1 -0
- package/dist/migrations/20261107T093126_catalog_sku_unique_among_live.js +58 -0
- package/dist/migrations/20261107T093126_catalog_sku_unique_among_live.js.map +1 -0
- package/dist/migrations/20261107T120008_catalog_product_created_at_milliseconds.d.ts +36 -0
- package/dist/migrations/20261107T120008_catalog_product_created_at_milliseconds.d.ts.map +1 -0
- package/dist/migrations/20261107T120008_catalog_product_created_at_milliseconds.js +40 -0
- package/dist/migrations/20261107T120008_catalog_product_created_at_milliseconds.js.map +1 -0
- package/dist/migrations/index.d.ts +8 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +15 -1
- package/dist/migrations/index.js.map +1 -1
- package/docs/catalog/attachments.md +53 -43
- package/docs/catalog/attribute-sets.md +2 -2
- package/docs/catalog/attributes.md +68 -8
- package/docs/catalog/category-content.md +3 -0
- package/docs/catalog/composite-products.md +2 -2
- package/docs/catalog/editing-a-product-at-a-scope.md +95 -0
- package/docs/catalog/gallery-and-labels.md +61 -60
- package/docs/catalog/packaging-units.md +43 -34
- package/docs/catalog/per-channel-per-language-overrides.md +83 -410
- package/docs/catalog/product-content.md +180 -0
- package/docs/catalog/product-links.md +2 -2
- package/docs/catalog/url-keys-and-redirects.md +79 -79
- package/docs/catalog.md +68 -14
- package/i18n/en.json +270 -270
- package/i18n/pl.json +272 -272
- package/package.json +11 -11
- package/dist/admin/components/AttachmentScopesDialog.d.ts +0 -22
- package/dist/admin/components/AttachmentScopesDialog.d.ts.map +0 -1
- package/dist/admin/components/AttachmentScopesDialog.js +0 -70
- package/dist/admin/components/AttachmentScopesDialog.js.map +0 -1
- package/dist/admin/components/ProductScopeControls.d.ts +0 -31
- package/dist/admin/components/ProductScopeControls.d.ts.map +0 -1
- package/dist/admin/components/ProductScopeControls.js +0 -243
- package/dist/admin/components/ProductScopeControls.js.map +0 -1
- package/dist/admin/components/ProductScopeEditor.d.ts +0 -88
- package/dist/admin/components/ProductScopeEditor.d.ts.map +0 -1
- package/dist/admin/components/ProductScopeEditor.js +0 -396
- package/dist/admin/components/ProductScopeEditor.js.map +0 -1
- package/dist/admin/components/ProductUrlKeysPanel.d.ts +0 -17
- package/dist/admin/components/ProductUrlKeysPanel.d.ts.map +0 -1
- package/dist/admin/components/ProductUrlKeysPanel.js +0 -215
- package/dist/admin/components/ProductUrlKeysPanel.js.map +0 -1
- package/dist/admin/components/ScopedDialogParts.d.ts +0 -23
- package/dist/admin/components/ScopedDialogParts.d.ts.map +0 -1
- package/dist/admin/components/ScopedDialogParts.js +0 -16
- package/dist/admin/components/ScopedDialogParts.js.map +0 -1
- package/dist/admin/lib/media-scopes.d.ts +0 -41
- package/dist/admin/lib/media-scopes.d.ts.map +0 -1
- package/dist/admin/lib/media-scopes.js +0 -66
- package/dist/admin/lib/media-scopes.js.map +0 -1
- package/dist/admin/lib/product-scope-drafts.d.ts +0 -77
- package/dist/admin/lib/product-scope-drafts.d.ts.map +0 -1
- package/dist/admin/lib/product-scope-drafts.js +0 -133
- package/dist/admin/lib/product-scope-drafts.js.map +0 -1
- package/dist/backend/entities/gallery-item-channel-hidden.entity.d.ts +0 -14
- package/dist/backend/entities/gallery-item-channel-hidden.entity.d.ts.map +0 -1
- package/dist/backend/entities/gallery-item-channel-hidden.entity.js +0 -42
- package/dist/backend/entities/gallery-item-channel-hidden.entity.js.map +0 -1
- package/dist/backend/entities/gallery-item-channel-label.entity.d.ts +0 -18
- package/dist/backend/entities/gallery-item-channel-label.entity.d.ts.map +0 -1
- package/dist/backend/entities/gallery-item-channel-label.entity.js +0 -49
- package/dist/backend/entities/gallery-item-channel-label.entity.js.map +0 -1
- package/dist/backend/entities/product-attachment-channel-hidden.entity.d.ts +0 -13
- package/dist/backend/entities/product-attachment-channel-hidden.entity.d.ts.map +0 -1
- package/dist/backend/entities/product-attachment-channel-hidden.entity.js +0 -41
- package/dist/backend/entities/product-attachment-channel-hidden.entity.js.map +0 -1
- package/dist/backend/services/product-overrides.service.d.ts +0 -84
- package/dist/backend/services/product-overrides.service.d.ts.map +0 -1
- package/dist/backend/services/product-overrides.service.js +0 -211
- package/dist/backend/services/product-overrides.service.js.map +0 -1
- package/dist/backend/services/product-scope-context.service.d.ts +0 -36
- package/dist/backend/services/product-scope-context.service.d.ts.map +0 -1
- package/dist/backend/services/product-scope-context.service.js +0 -107
- package/dist/backend/services/product-scope-context.service.js.map +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Migration } from '@mikro-orm/migrations';
|
|
2
|
+
/**
|
|
3
|
+
* Issue #234 — store `products.created_at` to the millisecond.
|
|
4
|
+
*
|
|
5
|
+
* The storefront listing pages by the keyset `(created_at, id)`, and its
|
|
6
|
+
* cursor carries `created_at` as a millisecond ISO string because that is all
|
|
7
|
+
* a JavaScript `Date` holds. A row written through the ORM has a millisecond
|
|
8
|
+
* value; a row whose `created_at` came from SQL `now()` — an import, a seed, a
|
|
9
|
+
* bulk insert — had microseconds. For such rows the next page's
|
|
10
|
+
* `created_at < T.mmm` left out the rest of that millisecond, and
|
|
11
|
+
* `created_at = T.mmm` matched none of it, so the listing never returned them.
|
|
12
|
+
* The price-range path and the price tail use the same keyset.
|
|
13
|
+
*
|
|
14
|
+
* `timestamptz(3)` makes PostgreSQL round every value it stores to the
|
|
15
|
+
* millisecond, whoever writes it, so the cursor's precision and the column's
|
|
16
|
+
* are the same and cannot drift apart again. The cursor logic, and every
|
|
17
|
+
* cursor already handed out, stay as they are (architect ruling 6,
|
|
18
|
+
* 2026-11-07).
|
|
19
|
+
*
|
|
20
|
+
* Existing values are rounded to the nearest millisecond (PostgreSQL rounds,
|
|
21
|
+
* it does not truncate). That can move a row's `created_at` by up to half a
|
|
22
|
+
* millisecond and give two rows the same value; `id` already breaks ties in
|
|
23
|
+
* every ordering over it.
|
|
24
|
+
*
|
|
25
|
+
* **Cost.** Changing the precision rewrites `products` and its indexes under
|
|
26
|
+
* an `ACCESS EXCLUSIVE` lock, which blocks reads and writes of the table for
|
|
27
|
+
* the duration of the rewrite.
|
|
28
|
+
*
|
|
29
|
+
* `down()` widens the column back to microseconds; the precision dropped by
|
|
30
|
+
* `up()` is not restored.
|
|
31
|
+
*/
|
|
32
|
+
export declare class Migration20261107T120008CatalogProductCreatedAtMilliseconds extends Migration {
|
|
33
|
+
up(): Promise<void>;
|
|
34
|
+
down(): Promise<void>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=20261107T120008_catalog_product_created_at_milliseconds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"20261107T120008_catalog_product_created_at_milliseconds.d.ts","sourceRoot":"","sources":["../../src/migrations/20261107T120008_catalog_product_created_at_milliseconds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,2DAA4D,SAAQ,SAAS;IACzE,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAInB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAGrC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Migration } from '@mikro-orm/migrations';
|
|
2
|
+
/**
|
|
3
|
+
* Issue #234 — store `products.created_at` to the millisecond.
|
|
4
|
+
*
|
|
5
|
+
* The storefront listing pages by the keyset `(created_at, id)`, and its
|
|
6
|
+
* cursor carries `created_at` as a millisecond ISO string because that is all
|
|
7
|
+
* a JavaScript `Date` holds. A row written through the ORM has a millisecond
|
|
8
|
+
* value; a row whose `created_at` came from SQL `now()` — an import, a seed, a
|
|
9
|
+
* bulk insert — had microseconds. For such rows the next page's
|
|
10
|
+
* `created_at < T.mmm` left out the rest of that millisecond, and
|
|
11
|
+
* `created_at = T.mmm` matched none of it, so the listing never returned them.
|
|
12
|
+
* The price-range path and the price tail use the same keyset.
|
|
13
|
+
*
|
|
14
|
+
* `timestamptz(3)` makes PostgreSQL round every value it stores to the
|
|
15
|
+
* millisecond, whoever writes it, so the cursor's precision and the column's
|
|
16
|
+
* are the same and cannot drift apart again. The cursor logic, and every
|
|
17
|
+
* cursor already handed out, stay as they are (architect ruling 6,
|
|
18
|
+
* 2026-11-07).
|
|
19
|
+
*
|
|
20
|
+
* Existing values are rounded to the nearest millisecond (PostgreSQL rounds,
|
|
21
|
+
* it does not truncate). That can move a row's `created_at` by up to half a
|
|
22
|
+
* millisecond and give two rows the same value; `id` already breaks ties in
|
|
23
|
+
* every ordering over it.
|
|
24
|
+
*
|
|
25
|
+
* **Cost.** Changing the precision rewrites `products` and its indexes under
|
|
26
|
+
* an `ACCESS EXCLUSIVE` lock, which blocks reads and writes of the table for
|
|
27
|
+
* the duration of the rewrite.
|
|
28
|
+
*
|
|
29
|
+
* `down()` widens the column back to microseconds; the precision dropped by
|
|
30
|
+
* `up()` is not restored.
|
|
31
|
+
*/
|
|
32
|
+
export class Migration20261107T120008CatalogProductCreatedAtMilliseconds extends Migration {
|
|
33
|
+
async up() {
|
|
34
|
+
this.addSql(`alter table "products" alter column "created_at" type timestamptz(3);`);
|
|
35
|
+
}
|
|
36
|
+
async down() {
|
|
37
|
+
this.addSql(`alter table "products" alter column "created_at" type timestamptz;`);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=20261107T120008_catalog_product_created_at_milliseconds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"20261107T120008_catalog_product_created_at_milliseconds.js","sourceRoot":"","sources":["../../src/migrations/20261107T120008_catalog_product_created_at_milliseconds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,OAAO,2DAA4D,SAAQ,SAAS;IAC/E,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CAAC,uEAAuE,CAAC,CAAC;IACvF,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,oEAAoE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
|
@@ -61,6 +61,13 @@ import { Migration20261022T182523CatalogAdminNameKeys } from './20261022T182523_
|
|
|
61
61
|
import { Migration20261025T222634CatalogProductStatusDropDraft } from './20261025T222634_catalog_product_status_drop_draft.js';
|
|
62
62
|
import { Migration20261026T033453CatalogProductMediaScopes } from './20261026T033453_catalog_product_media_scopes.js';
|
|
63
63
|
import { Migration20261026T084533CatalogAttachmentPackagingTranslations } from './20261026T084533_catalog_attachment_packaging_translations.js';
|
|
64
|
+
import { Migration20261030T113855CatalogScopeModelTexts } from './20261030T113855_catalog_scope_model_texts.js';
|
|
65
|
+
import { Migration20261030T113859CatalogScopeModelOrderRules } from './20261030T113859_catalog_scope_model_order_rules.js';
|
|
66
|
+
import { Migration20261030T113904CatalogScopeModelUrlKeys } from './20261030T113904_catalog_scope_model_url_keys.js';
|
|
67
|
+
import { Migration20261030T113908CatalogScopeModelMedia } from './20261030T113908_catalog_scope_model_media.js';
|
|
68
|
+
import { Migration20261104T121504CatalogProductContentValues } from './20261104T121504_catalog_product_content_values.js';
|
|
69
|
+
import { Migration20261107T093126CatalogSkuUniqueAmongLive } from './20261107T093126_catalog_sku_unique_among_live.js';
|
|
70
|
+
import { Migration20261107T120008CatalogProductCreatedAtMilliseconds } from './20261107T120008_catalog_product_created_at_milliseconds.js';
|
|
64
71
|
export declare const migrations: (typeof Migration20260429T070004CatalogProductAttributeExtensions)[];
|
|
65
|
-
export { Migration20260429T064146CatalogAttributeSetsInit, Migration20260429T070004CatalogProductAttributeExtensions, Migration20260429T102322CatalogProductTypeAndVirtualFields, Migration20260429T111839CatalogGalleryItemsAndLabels, Migration20260429T112543CatalogProductAttachments, Migration20260429T123726CatalogProductLinks, Migration20260429T130803CatalogGroupedAndBundle, Migration20260501T185835CatalogProductAttributeIsComparable, Migration20260505T060113CatalogAttributeOptionsAndFlags, Migration20260515T082629CatalogAttributeMassEditable, Migration20260526T124736CatalogProductStatusInactive, Migration20260611T140346CatalogProductValueOverridesInit, Migration20260611T140400CatalogAttributeQuickSearchable, Migration20260611T140407CatalogBulkOperations, Migration20260611T140408CatalogBulkOperationLogs, Migration20260611T140412CatalogProductPackagingUnits, Migration20260718T060659CatalogBulkOperationRevertState, Migration20260718T200343CatalogCategoryCustomFieldValues, Migration20260723T230401CatalogAttributesOnCustomFields, Migration20260804T152604CatalogWidenProductSku, Migration20260804T160244CatalogCategoryActivation, Migration20260912T094557CatalogSalesChannelProducts, Migration20260912T094623CatalogSalesChannelCategories, Migration20260925T125527CatalogInventoryColumns, Migration20261008T080839CatalogProductAttributeIsPriceRule, Migration20261008T092714CatalogCategoryContent, Migration20261014T170531CatalogProductListSavedViews, Migration20261016T082008CatalogOrderRules, Migration20261022T035133CatalogProductScopes, Migration20261022T054223CatalogProductUrlKeys, Migration20261022T111811CatalogPriceFieldsRemoved, Migration20261022T182523CatalogAdminNameKeys, Migration20261025T222634CatalogProductStatusDropDraft, Migration20261026T033453CatalogProductMediaScopes, Migration20261026T084533CatalogAttachmentPackagingTranslations, };
|
|
72
|
+
export { Migration20260429T064146CatalogAttributeSetsInit, Migration20260429T070004CatalogProductAttributeExtensions, Migration20260429T102322CatalogProductTypeAndVirtualFields, Migration20260429T111839CatalogGalleryItemsAndLabels, Migration20260429T112543CatalogProductAttachments, Migration20260429T123726CatalogProductLinks, Migration20260429T130803CatalogGroupedAndBundle, Migration20260501T185835CatalogProductAttributeIsComparable, Migration20260505T060113CatalogAttributeOptionsAndFlags, Migration20260515T082629CatalogAttributeMassEditable, Migration20260526T124736CatalogProductStatusInactive, Migration20260611T140346CatalogProductValueOverridesInit, Migration20260611T140400CatalogAttributeQuickSearchable, Migration20260611T140407CatalogBulkOperations, Migration20260611T140408CatalogBulkOperationLogs, Migration20260611T140412CatalogProductPackagingUnits, Migration20260718T060659CatalogBulkOperationRevertState, Migration20260718T200343CatalogCategoryCustomFieldValues, Migration20260723T230401CatalogAttributesOnCustomFields, Migration20260804T152604CatalogWidenProductSku, Migration20260804T160244CatalogCategoryActivation, Migration20260912T094557CatalogSalesChannelProducts, Migration20260912T094623CatalogSalesChannelCategories, Migration20260925T125527CatalogInventoryColumns, Migration20261008T080839CatalogProductAttributeIsPriceRule, Migration20261008T092714CatalogCategoryContent, Migration20261014T170531CatalogProductListSavedViews, Migration20261016T082008CatalogOrderRules, Migration20261022T035133CatalogProductScopes, Migration20261022T054223CatalogProductUrlKeys, Migration20261022T111811CatalogPriceFieldsRemoved, Migration20261022T182523CatalogAdminNameKeys, Migration20261025T222634CatalogProductStatusDropDraft, Migration20261026T033453CatalogProductMediaScopes, Migration20261026T084533CatalogAttachmentPackagingTranslations, Migration20261030T113855CatalogScopeModelTexts, Migration20261030T113859CatalogScopeModelOrderRules, Migration20261030T113904CatalogScopeModelUrlKeys, Migration20261030T113908CatalogScopeModelMedia, Migration20261104T121504CatalogProductContentValues, Migration20261107T093126CatalogSkuUniqueAmongLive, Migration20261107T120008CatalogProductCreatedAtMilliseconds, };
|
|
66
73
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAE,gDAAgD,EAAE,MAAM,kDAAkD,CAAC;AACpH,OAAO,EAAE,yDAAyD,EAAE,MAAM,2DAA2D,CAAC;AACtI,OAAO,EAAE,0DAA0D,EAAE,MAAM,8DAA8D,CAAC;AAC1I,OAAO,EAAE,oDAAoD,EAAE,MAAM,uDAAuD,CAAC;AAC7H,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AACrH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4CAA4C,CAAC;AACzG,OAAO,EAAE,+CAA+C,EAAE,MAAM,iDAAiD,CAAC;AAClH,OAAO,EAAE,2DAA2D,EAAE,MAAM,8DAA8D,CAAC;AAC3I,OAAO,EAAE,uDAAuD,EAAE,MAAM,0DAA0D,CAA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,oDAAoD,CAAC;AACvH,OAAO,EAAE,2DAA2D,EAAE,MAAM,8DAA8D,CAAC;AAE3I,eAAO,MAAM,UAAU,sEA2CtB,CAAC;AAEF,OAAO,EACL,gDAAgD,EAChD,yDAAyD,EACzD,0DAA0D,EAC1D,oDAAoD,EACpD,iDAAiD,EACjD,2CAA2C,EAC3C,+CAA+C,EAC/C,2DAA2D,EAC3D,uDAAuD,EACvD,oDAAoD,EACpD,oDAAoD,EACpD,wDAAwD,EACxD,uDAAuD,EACvD,6CAA6C,EAC7C,gDAAgD,EAChD,oDAAoD,EACpD,uDAAuD,EACvD,wDAAwD,EACxD,uDAAuD,EACvD,8CAA8C,EAC9C,iDAAiD,EACjD,mDAAmD,EACnD,qDAAqD,EACrD,+CAA+C,EAC/C,0DAA0D,EAC1D,8CAA8C,EAC9C,oDAAoD,EACpD,yCAAyC,EACzC,4CAA4C,EAC5C,6CAA6C,EAC7C,iDAAiD,EACjD,4CAA4C,EAC5C,qDAAqD,EACrD,iDAAiD,EACjD,8DAA8D,EAC9D,8CAA8C,EAC9C,mDAAmD,EACnD,gDAAgD,EAChD,8CAA8C,EAC9C,mDAAmD,EACnD,iDAAiD,EACjD,2DAA2D,GAC5D,CAAC"}
|
package/dist/migrations/index.js
CHANGED
|
@@ -61,6 +61,13 @@ import { Migration20261022T182523CatalogAdminNameKeys } from './20261022T182523_
|
|
|
61
61
|
import { Migration20261025T222634CatalogProductStatusDropDraft } from './20261025T222634_catalog_product_status_drop_draft.js';
|
|
62
62
|
import { Migration20261026T033453CatalogProductMediaScopes } from './20261026T033453_catalog_product_media_scopes.js';
|
|
63
63
|
import { Migration20261026T084533CatalogAttachmentPackagingTranslations } from './20261026T084533_catalog_attachment_packaging_translations.js';
|
|
64
|
+
import { Migration20261030T113855CatalogScopeModelTexts } from './20261030T113855_catalog_scope_model_texts.js';
|
|
65
|
+
import { Migration20261030T113859CatalogScopeModelOrderRules } from './20261030T113859_catalog_scope_model_order_rules.js';
|
|
66
|
+
import { Migration20261030T113904CatalogScopeModelUrlKeys } from './20261030T113904_catalog_scope_model_url_keys.js';
|
|
67
|
+
import { Migration20261030T113908CatalogScopeModelMedia } from './20261030T113908_catalog_scope_model_media.js';
|
|
68
|
+
import { Migration20261104T121504CatalogProductContentValues } from './20261104T121504_catalog_product_content_values.js';
|
|
69
|
+
import { Migration20261107T093126CatalogSkuUniqueAmongLive } from './20261107T093126_catalog_sku_unique_among_live.js';
|
|
70
|
+
import { Migration20261107T120008CatalogProductCreatedAtMilliseconds } from './20261107T120008_catalog_product_created_at_milliseconds.js';
|
|
64
71
|
export const migrations = [
|
|
65
72
|
Migration20260429T064146CatalogAttributeSetsInit,
|
|
66
73
|
Migration20260429T070004CatalogProductAttributeExtensions,
|
|
@@ -97,6 +104,13 @@ export const migrations = [
|
|
|
97
104
|
Migration20261025T222634CatalogProductStatusDropDraft,
|
|
98
105
|
Migration20261026T033453CatalogProductMediaScopes,
|
|
99
106
|
Migration20261026T084533CatalogAttachmentPackagingTranslations,
|
|
107
|
+
Migration20261030T113855CatalogScopeModelTexts,
|
|
108
|
+
Migration20261030T113859CatalogScopeModelOrderRules,
|
|
109
|
+
Migration20261030T113904CatalogScopeModelUrlKeys,
|
|
110
|
+
Migration20261030T113908CatalogScopeModelMedia,
|
|
111
|
+
Migration20261104T121504CatalogProductContentValues,
|
|
112
|
+
Migration20261107T093126CatalogSkuUniqueAmongLive,
|
|
113
|
+
Migration20261107T120008CatalogProductCreatedAtMilliseconds,
|
|
100
114
|
];
|
|
101
|
-
export { Migration20260429T064146CatalogAttributeSetsInit, Migration20260429T070004CatalogProductAttributeExtensions, Migration20260429T102322CatalogProductTypeAndVirtualFields, Migration20260429T111839CatalogGalleryItemsAndLabels, Migration20260429T112543CatalogProductAttachments, Migration20260429T123726CatalogProductLinks, Migration20260429T130803CatalogGroupedAndBundle, Migration20260501T185835CatalogProductAttributeIsComparable, Migration20260505T060113CatalogAttributeOptionsAndFlags, Migration20260515T082629CatalogAttributeMassEditable, Migration20260526T124736CatalogProductStatusInactive, Migration20260611T140346CatalogProductValueOverridesInit, Migration20260611T140400CatalogAttributeQuickSearchable, Migration20260611T140407CatalogBulkOperations, Migration20260611T140408CatalogBulkOperationLogs, Migration20260611T140412CatalogProductPackagingUnits, Migration20260718T060659CatalogBulkOperationRevertState, Migration20260718T200343CatalogCategoryCustomFieldValues, Migration20260723T230401CatalogAttributesOnCustomFields, Migration20260804T152604CatalogWidenProductSku, Migration20260804T160244CatalogCategoryActivation, Migration20260912T094557CatalogSalesChannelProducts, Migration20260912T094623CatalogSalesChannelCategories, Migration20260925T125527CatalogInventoryColumns, Migration20261008T080839CatalogProductAttributeIsPriceRule, Migration20261008T092714CatalogCategoryContent, Migration20261014T170531CatalogProductListSavedViews, Migration20261016T082008CatalogOrderRules, Migration20261022T035133CatalogProductScopes, Migration20261022T054223CatalogProductUrlKeys, Migration20261022T111811CatalogPriceFieldsRemoved, Migration20261022T182523CatalogAdminNameKeys, Migration20261025T222634CatalogProductStatusDropDraft, Migration20261026T033453CatalogProductMediaScopes, Migration20261026T084533CatalogAttachmentPackagingTranslations, };
|
|
115
|
+
export { Migration20260429T064146CatalogAttributeSetsInit, Migration20260429T070004CatalogProductAttributeExtensions, Migration20260429T102322CatalogProductTypeAndVirtualFields, Migration20260429T111839CatalogGalleryItemsAndLabels, Migration20260429T112543CatalogProductAttachments, Migration20260429T123726CatalogProductLinks, Migration20260429T130803CatalogGroupedAndBundle, Migration20260501T185835CatalogProductAttributeIsComparable, Migration20260505T060113CatalogAttributeOptionsAndFlags, Migration20260515T082629CatalogAttributeMassEditable, Migration20260526T124736CatalogProductStatusInactive, Migration20260611T140346CatalogProductValueOverridesInit, Migration20260611T140400CatalogAttributeQuickSearchable, Migration20260611T140407CatalogBulkOperations, Migration20260611T140408CatalogBulkOperationLogs, Migration20260611T140412CatalogProductPackagingUnits, Migration20260718T060659CatalogBulkOperationRevertState, Migration20260718T200343CatalogCategoryCustomFieldValues, Migration20260723T230401CatalogAttributesOnCustomFields, Migration20260804T152604CatalogWidenProductSku, Migration20260804T160244CatalogCategoryActivation, Migration20260912T094557CatalogSalesChannelProducts, Migration20260912T094623CatalogSalesChannelCategories, Migration20260925T125527CatalogInventoryColumns, Migration20261008T080839CatalogProductAttributeIsPriceRule, Migration20261008T092714CatalogCategoryContent, Migration20261014T170531CatalogProductListSavedViews, Migration20261016T082008CatalogOrderRules, Migration20261022T035133CatalogProductScopes, Migration20261022T054223CatalogProductUrlKeys, Migration20261022T111811CatalogPriceFieldsRemoved, Migration20261022T182523CatalogAdminNameKeys, Migration20261025T222634CatalogProductStatusDropDraft, Migration20261026T033453CatalogProductMediaScopes, Migration20261026T084533CatalogAttachmentPackagingTranslations, Migration20261030T113855CatalogScopeModelTexts, Migration20261030T113859CatalogScopeModelOrderRules, Migration20261030T113904CatalogScopeModelUrlKeys, Migration20261030T113908CatalogScopeModelMedia, Migration20261104T121504CatalogProductContentValues, Migration20261107T093126CatalogSkuUniqueAmongLive, Migration20261107T120008CatalogProductCreatedAtMilliseconds, };
|
|
102
116
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAE,gDAAgD,EAAE,MAAM,kDAAkD,CAAC;AACpH,OAAO,EAAE,yDAAyD,EAAE,MAAM,2DAA2D,CAAC;AACtI,OAAO,EAAE,0DAA0D,EAAE,MAAM,8DAA8D,CAAC;AAC1I,OAAO,EAAE,oDAAoD,EAAE,MAAM,uDAAuD,CAAC;AAC7H,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AACrH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4CAA4C,CAAC;AACzG,OAAO,EAAE,+CAA+C,EAAE,MAAM,iDAAiD,CAAC;AAClH,OAAO,EAAE,2DAA2D,EAAE,MAAM,8DA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C,4CAA4C,EAC5C,6CAA6C,EAC7C,iDAAiD,EACjD,4CAA4C,EAC5C,qDAAqD,EACrD,iDAAiD,EACjD,8DAA8D,EAC9D,8CAA8C,EAC9C,mDAAmD,EACnD,gDAAgD,EAChD,8CAA8C,EAC9C,mDAAmD,EACnD,iDAAiD,EACjD,2DAA2D,GAC5D,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Product
|
|
2
|
+
title: Product attachments
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# Product
|
|
5
|
+
# Product attachments
|
|
6
6
|
|
|
7
7
|
Product Attachments are downloadable files (certificates, technical
|
|
8
8
|
specifications, product cards, generic PDFs) attached to a Product.
|
|
@@ -10,7 +10,7 @@ They wrap an underlying `Asset` row, so the same file can be linked to
|
|
|
10
10
|
multiple Products without duplication — the `assets` row survives even
|
|
11
11
|
when an attachment is deleted.
|
|
12
12
|
|
|
13
|
-
## Attachment
|
|
13
|
+
## Attachment types
|
|
14
14
|
|
|
15
15
|
The `attachment_types` dictionary categorizes attachments. Migration
|
|
16
16
|
`20260429T112543_catalog_product_attachments.ts` seeds four standard rows with deterministic UUIDs so seeds and
|
|
@@ -21,7 +21,7 @@ tests can reference them stably:
|
|
|
21
21
|
- `product_card` — Product card / Karta produktu
|
|
22
22
|
- `pdf` — generic PDF
|
|
23
23
|
|
|
24
|
-
Admins can add custom types via the **Attachment
|
|
24
|
+
Admins can add custom types via the **Attachment types** page in the
|
|
25
25
|
admin panel. Deleting a type that any product still references returns
|
|
26
26
|
`409 ATTACHMENT_TYPE_IN_USE`.
|
|
27
27
|
|
|
@@ -34,44 +34,54 @@ admin panel. Deleting a type that any product still references returns
|
|
|
34
34
|
| `PATCH /api/v1/admin/catalog/attachment-types/:id` | admin | Update name / position |
|
|
35
35
|
| `DELETE /api/v1/admin/catalog/attachment-types/:id` | admin | Delete; rejects when in use |
|
|
36
36
|
| `GET /api/v1/admin/catalog/products/:id/attachments` | admin | List attachments on a product |
|
|
37
|
-
| `POST /api/v1/admin/catalog/products/:id/attachments` | admin | Attach an existing Asset
|
|
38
|
-
| `PATCH /api/v1/admin/catalog/products/:id/attachments/:attachmentId` | admin | Update
|
|
37
|
+
| `POST /api/v1/admin/catalog/products/:id/attachments` | admin | Attach an existing Asset with its type and its Global name and description |
|
|
38
|
+
| `PATCH /api/v1/admin/catalog/products/:id/attachments/:attachmentId` | admin | Update type / position |
|
|
39
|
+
| `PUT /api/v1/admin/catalog/products/:id/scoped-values` | admin | Name, description and hidden flag at Global, a channel, or a channel and language (see below) |
|
|
39
40
|
| `DELETE /api/v1/admin/catalog/products/:id/attachments/:attachmentId` | admin | Remove (Asset survives) |
|
|
40
41
|
|
|
41
|
-
## Per
|
|
42
|
-
|
|
43
|
-
An attachment is the same file in every sales channel. What can differ
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
42
|
+
## Per scope: Global, Channel, Channel × language
|
|
43
|
+
|
|
44
|
+
An attachment is the same file in every sales channel. What can differ per scope is
|
|
45
|
+
its name, its description, and whether it is listed at all. All three are scoped
|
|
46
|
+
fields, saved with the rest of the scope by `PUT …/products/:id/scoped-values`:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"scope": { "channelId": "<retail-uuid>", "languageCode": "pl-PL" },
|
|
51
|
+
"version": "7",
|
|
52
|
+
"changes": {
|
|
53
|
+
"attachments": { "<attachmentId>": { "name": "Karta techniczna", "description": null, "hidden": false } }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- **Name** — at most 160 characters. At Global it is required, so an empty name is
|
|
59
|
+
refused there; at a channel or a channel and language `null` stores a deliberately
|
|
60
|
+
empty name.
|
|
61
|
+
- **Description** — at most 4000 characters; `null` stores a deliberately empty
|
|
62
|
+
description, which stays empty there even though a parent scope has one.
|
|
63
|
+
- **Hidden** — `true` or `false`, at Global, a channel, or a channel and language. A
|
|
64
|
+
hidden attachment is neither listed on the product page there nor linked from it.
|
|
65
|
+
|
|
66
|
+
`{ "inherit": true }` removes the scope's own value, and a field left out is unchanged.
|
|
67
|
+
A scope that holds no value inherits it — Channel × language → Channel → Global.
|
|
68
|
+
Writing at a channel the product is not in, or a language the channel does not
|
|
69
|
+
offer, answers `422 SCOPE_INVALID`; removing an override is always allowed, even after
|
|
70
|
+
the product has left the channel.
|
|
71
|
+
|
|
72
|
+
Hiding is presentation, not access control. A hidden attachment is not shown at
|
|
73
|
+
the scope, but its file keeps its stable URL, and anyone who has that URL can
|
|
62
74
|
still download it. Do not rely on hiding to keep a document confidential: a file
|
|
63
75
|
that must not be public must not be attached to the product.
|
|
64
76
|
|
|
65
77
|
Creating or updating an attachment is recorded once in the audit log, as
|
|
66
78
|
`product_attachment.create` or `product_attachment.update`, with the attachment's
|
|
67
|
-
state before and after
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
`product.updated.v1` with `changedFields: ["attachments"]`. A request that changes
|
|
71
|
-
nothing writes nothing and announces nothing.
|
|
79
|
+
state before and after. A scoped save is recorded as `product.scoped_values.save`.
|
|
80
|
+
Both announce `product.updated.v1`. A request that changes nothing writes nothing and
|
|
81
|
+
announces nothing. Deleting an attachment removes its overrides at every scope.
|
|
72
82
|
|
|
73
|
-
With
|
|
74
|
-
|
|
83
|
+
With no override, every channel and language lists every attachment under its Global
|
|
84
|
+
name and description.
|
|
75
85
|
|
|
76
86
|
## Errors
|
|
77
87
|
|
|
@@ -82,14 +92,14 @@ as before.
|
|
|
82
92
|
| `ATTACHMENT_TYPE_CODE_TAKEN` | 409 | `code` collision on create |
|
|
83
93
|
| `ATTACHMENT_TYPE_NOT_FOUND` | 404 | `:id` missing |
|
|
84
94
|
| `ATTACHMENT_NOT_FOUND` | 404 | `:attachmentId` missing |
|
|
85
|
-
| `SCOPE_INVALID` | 422 |
|
|
95
|
+
| `SCOPE_INVALID` | 422 | A scoped attachment value for a channel the product is not in, or a language the channel does not offer |
|
|
86
96
|
|
|
87
97
|
## Storefront integration
|
|
88
98
|
|
|
89
99
|
`productDetail.attachments[]` carries the full type and Asset metadata
|
|
90
|
-
(filename, sizeBytes, mimeType, url), as the request's sales channel
|
|
91
|
-
attachments hidden there are left out, and the name and description are
|
|
92
|
-
|
|
100
|
+
(filename, sizeBytes, mimeType, url), as the request's sales channel and language
|
|
101
|
+
show it: attachments hidden there are left out, and the name and description are the
|
|
102
|
+
effective values there. The `<AttachmentsList>` component
|
|
93
103
|
groups by AttachmentType (preserving first-seen order so admin-curated
|
|
94
104
|
positions shape the section ordering), renders one heading per type,
|
|
95
105
|
and emits download anchors with `download={filename}` for clean file
|
|
@@ -99,11 +109,11 @@ names.
|
|
|
99
109
|
|
|
100
110
|
`attachment_types` (id, code unique, name jsonb, position) +
|
|
101
111
|
`product_attachments` (id, product_id FK CASCADE, asset_id FK RESTRICT,
|
|
102
|
-
attachment_type_id FK RESTRICT, name, description
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
attachment's, the product's and the channel's delete.
|
|
112
|
+
attachment_type_id FK RESTRICT, the Global name, description and hidden flag,
|
|
113
|
+
position). `product_attachment_scope_overrides` holds a name, description or hidden
|
|
114
|
+
flag at a channel or a channel and language; it references the attachment together
|
|
115
|
+
with its product, so an override cannot point at another product's attachment, and
|
|
116
|
+
it cascades on the attachment's, the product's and the channel's delete.
|
|
107
117
|
|
|
108
118
|
The Foundation has no public `AssetsService` — the catalog uses direct
|
|
109
119
|
`Asset` entity imports across modules. An admin Asset upload UI is a
|
|
@@ -14,7 +14,7 @@ and the configurable-product variant picker.
|
|
|
14
14
|
Attributes are grouped into [Attribute Sets](./attribute-sets.md) which
|
|
15
15
|
are then pinned to a Product so the admin editor renders just the
|
|
16
16
|
fields that family actually needs. This page covers the attribute
|
|
17
|
-
itself; the set ↔ product wiring lives on the Attribute
|
|
17
|
+
itself; the set ↔ product wiring lives on the Attribute sets page.
|
|
18
18
|
|
|
19
19
|
## Anatomy
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ Every attribute carries:
|
|
|
25
25
|
| `key` | Stable, URL-safe identifier — `^[a-z][a-z0-9_]*$`, unique platform-wide (case-insensitive). Used in filter URLs, search payloads, and the product JSONB key. |
|
|
26
26
|
| `label` | `Record<bcp47-tag, string>` per-locale label map. |
|
|
27
27
|
| `labelDefault` | Fallback label used when the active storefront / admin locale is missing from `label`. |
|
|
28
|
-
| `valueType` | One of `string`, `number`, `boolean`, `price`, `date`, `select`, `multiselect`, `enum`. |
|
|
28
|
+
| `valueType` | One of `string`, `number`, `boolean`, `price`, `date`, `select`, `multiselect`, `enum`, `page_builder`. |
|
|
29
29
|
| `options[]` | Ordered list of selectable options — only for `select` / `multiselect` / `enum`. See [Option lists](#option-lists) below. |
|
|
30
30
|
|
|
31
31
|
Plus the behavioural flags and a numeric position:
|
|
@@ -55,10 +55,30 @@ Plus the behavioural flags and a numeric position:
|
|
|
55
55
|
| `select` | option `value` | Single choice from `options[]`. At most one option may carry `isDefault = true`. |
|
|
56
56
|
| `multiselect` | array of option `value`s | Multiple choices from `options[]`. Any number of options may carry `isDefault = true`. |
|
|
57
57
|
| `enum` | option `value` | Same storage shape as `select`; renders as a compact pill / segmented control on storefront filters and the PDP rather than a dropdown. |
|
|
58
|
+
| `page_builder` | one Page Builder document per language, stored apart from `attribute_values` | **Page Builder content** — see [Product content](./product-content.md). |
|
|
58
59
|
|
|
59
60
|
Changing `valueType` while any product carries a value the new type
|
|
60
61
|
cannot represent is refused with `attribute_type_change_unsafe`.
|
|
61
62
|
|
|
63
|
+
### Page Builder content
|
|
64
|
+
|
|
65
|
+
A `page_builder` attribute holds a Page Builder document per language for each
|
|
66
|
+
product, authored on its own screen and shown in the product page's description
|
|
67
|
+
tab ([Product content](./product-content.md)). Its settings are fixed:
|
|
68
|
+
|
|
69
|
+
- its languages are those of its documents, so it is never `scopable`: it has
|
|
70
|
+
no value per sales channel or per channel language;
|
|
71
|
+
- `isSearchable`, `isFilterable`, `isVariantAxis`, `displayAsSlider`,
|
|
72
|
+
`isComparable`, `quickSearchable`, `isPromoRule`, `isPriceRule`,
|
|
73
|
+
`massEditable`, `isRequired`, `isVisibleOnProductPage` and `scopable`
|
|
74
|
+
stay `false`. Setting any of them on create or update is refused with
|
|
75
|
+
`400 VALIDATION_FAILED`, one detail per setting, and nothing is stored;
|
|
76
|
+
- it has no options;
|
|
77
|
+
- its type cannot be changed, and no attribute can be changed into it (`409`).
|
|
78
|
+
|
|
79
|
+
The attribute editor hides those settings for this type, and the list shows the
|
|
80
|
+
row's flags locked. The type is admissible for products only.
|
|
81
|
+
|
|
62
82
|
## Option lists
|
|
63
83
|
|
|
64
84
|
For `select` / `multiselect` / `enum` attributes the option list is
|
|
@@ -89,7 +109,8 @@ Admin routes are gated by `catalog:read` (list / get) /
|
|
|
89
109
|
| `GET /api/v1/admin/catalog/attributes/:idOrKey` | admin | Single attribute read |
|
|
90
110
|
| `POST /api/v1/admin/catalog/attributes` | admin | Create attribute (accepts the flags + inline `options[]` for select-style types) |
|
|
91
111
|
| `PATCH /api/v1/admin/catalog/attributes/:key` | admin | Update labels and hot-toggle `isFilterable` / `isSearchable` / `isVariantAxis` / `isPromoRule` / `isPriceRule` / `isComparable` / `isVisibleOnProductPage` / `isRequired` / `filterPosition`. Re-emits `attribute.updated.v1`. |
|
|
92
|
-
| `
|
|
112
|
+
| `GET /api/v1/admin/catalog/attributes/:idOrKey/usage` | admin (`catalog:read`) | What deleting the attribute would meet: `{ attributeSetCount, productValueCount, productContentCount }` — see [Deleting an attribute](#deleting-an-attribute) |
|
|
113
|
+
| `DELETE /api/v1/admin/catalog/attributes/:idOrKey` | admin (`catalog:write`) | Delete an attribute of any type; refused with `409` while an Attribute Set contains it or a product holds a value for it — see [Deleting an attribute](#deleting-an-attribute) |
|
|
93
114
|
| `GET /api/v1/admin/catalog/attributes/:idOrKey/options` | admin | List option rows for select / enum / multiselect attributes |
|
|
94
115
|
| `POST /api/v1/admin/catalog/attributes/:idOrKey/options` | admin | Append an option |
|
|
95
116
|
| `PATCH /api/v1/admin/catalog/attribute-options/:optionId` | admin | Patch `label` / `labelDefault` / `isDefault` / `sortOrder` (option `value` is immutable) |
|
|
@@ -100,6 +121,41 @@ the [Catalog](../catalog.md) page) — that endpoint resolves the
|
|
|
100
121
|
currently visible filterable attributes per Sales Channel and orders
|
|
101
122
|
them by `filterPosition`.
|
|
102
123
|
|
|
124
|
+
## Deleting an attribute
|
|
125
|
+
|
|
126
|
+
**Delete** is offered on every attribute row, whatever its type. The
|
|
127
|
+
confirmation first reads `GET …/attributes/:idOrKey/usage` and says what stands
|
|
128
|
+
in the way and what goes with the attribute:
|
|
129
|
+
|
|
130
|
+
| Count | Meaning | Effect |
|
|
131
|
+
| --- | --- | --- |
|
|
132
|
+
| `attributeSetCount` | Attribute Sets that contain the attribute | Refuses: remove it from them first |
|
|
133
|
+
| `productValueCount` | Products that hold a value for the key — on the product, as a per-sales-channel override, or on a variant | Refuses: clear the values first |
|
|
134
|
+
| `productContentCount` | Products that carry content for a `page_builder` attribute | The content is deleted with the attribute |
|
|
135
|
+
|
|
136
|
+
A deleted product does not count, and does not block the delete. The dialog and
|
|
137
|
+
the delete use the same query, so a refusal can only come from a change made
|
|
138
|
+
after the dialog opened; the dialog then shows the API's message.
|
|
139
|
+
|
|
140
|
+
The delete removes the attribute's definition, its options, its content and its
|
|
141
|
+
catalogue settings in one transaction, with one audit entry
|
|
142
|
+
(`catalog.attribute.delete`, whose before-state counts the content removed). It
|
|
143
|
+
then emits `attribute.updated.v1` with the key and both `isSearchable` and
|
|
144
|
+
`isFilterable` set to `false`, so the search index and price lists stop using
|
|
145
|
+
the key.
|
|
146
|
+
|
|
147
|
+
Promotion conditions, price-list rows and feed rules that use the attribute are
|
|
148
|
+
neither refused nor deleted — the catalogue cannot see them. They stop matching
|
|
149
|
+
products: a promotion condition on the key no longer matches a cart line, a
|
|
150
|
+
price-list row on it shows as inactive, and a feed whose selection rule names it
|
|
151
|
+
records a configuration error on its next run. The confirmation says so in one
|
|
152
|
+
sentence. Fix or remove them in their own screens.
|
|
153
|
+
|
|
154
|
+
**Behaviour change (feature 172).** A per-sales-channel override or a variant
|
|
155
|
+
value now refuses the delete, as a value on the product always did; a value on a
|
|
156
|
+
deleted product no longer does; and the delete now emits
|
|
157
|
+
`attribute.updated.v1`.
|
|
158
|
+
|
|
103
159
|
## Errors
|
|
104
160
|
|
|
105
161
|
| Code | Status | When |
|
|
@@ -125,12 +181,16 @@ values across the current page are omitted (no empty filter).
|
|
|
125
181
|
|
|
126
182
|
### PDP "Parametry produktu" tab
|
|
127
183
|
|
|
128
|
-
|
|
129
|
-
attribute meeting both:
|
|
184
|
+
The PDP's `Parametry produktu` tab lists every attribute meeting both:
|
|
130
185
|
|
|
131
186
|
- the product has a value for the attribute, **and**
|
|
132
187
|
- the attribute is flagged `isVisibleOnProductPage = true`.
|
|
133
188
|
|
|
189
|
+
Each row shows the attribute's label and its rendered value — never a technical
|
|
190
|
+
key or a raw stored value. An attribute not flagged visible is never shown, and
|
|
191
|
+
the tab itself is shown only when at least one attribute qualifies. Page Builder
|
|
192
|
+
content never appears in it.
|
|
193
|
+
|
|
134
194
|
For `select` / `multiselect` / `enum` values the tab renders the
|
|
135
195
|
option's per-locale label, not the raw `value`. The detail payload
|
|
136
196
|
field is assembled by `CatalogQueryService.buildVisibleAttributesProjection()`.
|
|
@@ -190,7 +250,7 @@ admin surface composes the two back into the legacy form.
|
|
|
190
250
|
- Boolean flags: `is_searchable`, `is_filterable`, `is_variant_axis`,
|
|
191
251
|
`is_comparable`, `quick_searchable`, `is_promo_rule`,
|
|
192
252
|
`is_price_rule`, `is_visible_on_product_page`, `display_as_slider`,
|
|
193
|
-
`
|
|
253
|
+
`scopable`, `mass_editable`.
|
|
194
254
|
- `filter_position int NOT NULL DEFAULT 0`.
|
|
195
255
|
- Presentation refinements: `select_display varchar(16) NULL`
|
|
196
256
|
(`pill` = legacy `enum`, `dropdown` = legacy `select`) and
|
|
@@ -213,8 +273,8 @@ lists product definitions read-only and refuses mutations with
|
|
|
213
273
|
|
|
214
274
|
## Events emitted
|
|
215
275
|
|
|
216
|
-
- `attribute.updated.v1` — picked up by the
|
|
217
|
-
bridged to webhook subscribers.
|
|
276
|
+
- `attribute.updated.v1` — on create, update and delete; picked up by the
|
|
277
|
+
search indexer and bridged to webhook subscribers.
|
|
218
278
|
|
|
219
279
|
## Audit log
|
|
220
280
|
|
|
@@ -29,6 +29,9 @@ The **Content** action appears only while a module that provides a Page Builder
|
|
|
29
29
|
(the CMS module) is enabled and you have access to it. Content that is already
|
|
30
30
|
stored is kept while that module is off.
|
|
31
31
|
|
|
32
|
+
Unlike [product content](./product-content.md), which is hidden while the CMS
|
|
33
|
+
module is off, category content keeps rendering on the storefront.
|
|
34
|
+
|
|
32
35
|
## On the storefront
|
|
33
36
|
|
|
34
37
|
The category page renders the content between the category heading and the
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Composite
|
|
2
|
+
title: Composite products
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# Composite
|
|
5
|
+
# Composite products: grouped, bundle, virtual
|
|
6
6
|
|
|
7
7
|
The Catalog supports three product types beyond `simple` /
|
|
8
8
|
`configurable`. Each carries a type-discriminated payload on the PDP
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Editing a product at a scope
|
|
3
|
+
description: How to use the scope switcher in the product editor to set Global, Channel and Channel × language values, and what the editor tells you while you do.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Editing a product at a scope
|
|
7
|
+
|
|
8
|
+
The product editor edits **one scope at a time**. The scope switcher in the editor header chooses which one, and
|
|
9
|
+
every tab then shows and saves the values at that scope. For what the three levels mean and how a value is resolved,
|
|
10
|
+
see [Product scopes — Global, Channel and Channel × language](./per-channel-per-language-overrides.md).
|
|
11
|
+
|
|
12
|
+
## The scope switcher
|
|
13
|
+
|
|
14
|
+
The switcher offers three levels, narrowest last:
|
|
15
|
+
|
|
16
|
+
1. **Global** — the value for every sales channel and every language;
|
|
17
|
+
2. **Channel** — pick a sales channel (the language stays "All languages") to edit the value for that channel;
|
|
18
|
+
3. **Channel × language** — pick a sales channel, then one of its languages.
|
|
19
|
+
|
|
20
|
+
Only scopes that are valid for the product are offered: the product must be in the channel, and the channel must
|
|
21
|
+
offer the language. A product that is in no sales channel can only be edited at Global. If the address you open names
|
|
22
|
+
a channel or language that is no longer valid, the editor opens at the nearest valid scope and says why ("Opened at
|
|
23
|
+
…"). A banner reading "Changes apply only to *scope*" is shown whenever you are not at Global, and the editor says in
|
|
24
|
+
words where you are ("Editing …"). Next to it is a link to the **Scope map** tab.
|
|
25
|
+
|
|
26
|
+
Saving applies to the current scope only. A save never changes a value at any other scope.
|
|
27
|
+
|
|
28
|
+
## Switching with unsaved changes
|
|
29
|
+
|
|
30
|
+
Changes are saved one scope at a time, so switching scope (or leaving the product, or using the browser's Back
|
|
31
|
+
button) with unsaved changes opens a dialog with three choices:
|
|
32
|
+
|
|
33
|
+
- **Save and continue** — save the changes at the scope you are leaving, then switch;
|
|
34
|
+
- **Discard changes** — drop them and switch;
|
|
35
|
+
- **Stay here** — close the dialog and keep editing.
|
|
36
|
+
|
|
37
|
+
If the save is refused, you stay where you are and the refusal is shown on the field. If someone else saved the
|
|
38
|
+
product in the meantime, the editor reports a version conflict; **Reload** discards your staged changes and reads the
|
|
39
|
+
product again, and the button says so.
|
|
40
|
+
|
|
41
|
+
## Inherit, or set a value here
|
|
42
|
+
|
|
43
|
+
At Channel and Channel × language, every field that can be set at that scope shows where its value comes from:
|
|
44
|
+
|
|
45
|
+
- **Inherited** — the field is ticked "Use value from *parent scope*" and shows the parent's value, with its source,
|
|
46
|
+
read-only. A text field at Channel × language reads "Not translated"; "No value" appears when nothing in the
|
|
47
|
+
chain has one;
|
|
48
|
+
- **Overridden** — the field holds its own value at this scope;
|
|
49
|
+
- **Empty here** — the field holds a deliberately empty value, which stops the chain: the parent's value is not used.
|
|
50
|
+
|
|
51
|
+
To set a value at this scope, untick "Use value from *parent scope*" and type it. To go back to the parent's value,
|
|
52
|
+
tick it again; the own value is removed when you save. A required field (the name, a required attribute) cannot be
|
|
53
|
+
left empty at a scope: enter a value or tick "Use value from *scope*".
|
|
54
|
+
|
|
55
|
+
The same action is available on the Scope map as **Use value from *scope***, after a confirmation.
|
|
56
|
+
|
|
57
|
+
## What is missing at this scope
|
|
58
|
+
|
|
59
|
+
Under the scope switcher the editor lists the required values that would block publishing at the scope you are
|
|
60
|
+
editing: "Missing here" and, at a channel, "Missing in this channel" with the languages concerned. A value counts as
|
|
61
|
+
present when it exists at the scope, at the channel, or at Global, in that order. At Global the list becomes
|
|
62
|
+
"*N* incomplete scopes" with a link to the Scope map. The list reflects **saved** values; the check made when you
|
|
63
|
+
save counts saved and staged values together.
|
|
64
|
+
|
|
65
|
+
## The Scope map tab
|
|
66
|
+
|
|
67
|
+
The **Scope map** tab is the overview of every scope of the product: one cell per sales channel in one language, a
|
|
68
|
+
"Whole channel" column for values set for the channel itself, the status in each cell (set here, from the channel or
|
|
69
|
+
from Global, and whether the product is live there now), and what is missing. **Edit at *scope*** opens the editor at
|
|
70
|
+
that scope, and a field's link focuses that field. Values kept for a channel or language the product has left are
|
|
71
|
+
listed under "No longer applies" and can be deleted there.
|
|
72
|
+
|
|
73
|
+
## Read-only mode
|
|
74
|
+
|
|
75
|
+
Without the `catalog:write` permission the editor is read-only: "Read-only — you can view values at every scope".
|
|
76
|
+
You can switch scope and read the values, their sources and the Scope map, but no field can be changed.
|
|
77
|
+
|
|
78
|
+
## Fields that exist only at Global, or only at Channel
|
|
79
|
+
|
|
80
|
+
- **Global only** — SKU, type, attribute set, categories, stock settings, the download file, the gallery image set,
|
|
81
|
+
attachment files and order, packaging units and quantities, and every attribute that is not marked scopable. At
|
|
82
|
+
another scope these tabs show the value read-only with "This is the same in every scope" and an **Edit at Global**
|
|
83
|
+
link.
|
|
84
|
+
- **Global and Channel, not Channel × language** — publication window, audience, minimum order quantity, returnable,
|
|
85
|
+
and scopable attributes that are not text (numbers, selects, booleans). At Channel × language these fields are not
|
|
86
|
+
offered.
|
|
87
|
+
|
|
88
|
+
## Required attributes and Global saves
|
|
89
|
+
|
|
90
|
+
The completeness check looks at each channel and language separately, so a required attribute may be absent at
|
|
91
|
+
Global. There is one exception, kept on purpose: **a Global save that carries an attribute cell or an attribute-set
|
|
92
|
+
change is refused (`required_empty`) for every empty required attribute, whether or not you changed it.** Fill the
|
|
93
|
+
attributes it names, or save without touching the attributes section. A Global save with no attribute cell, and
|
|
94
|
+
saves at Channel or Channel × language, are not refused for this. The name and the URL key can never be cleared at
|
|
95
|
+
Global.
|