0.12.1 • Published 10 months ago

ct-frontend-addons v0.12.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

ct-frontend-addons

NOTE: This is NOT an official commercetools code and NOT production ready. Use it at your own risk

Available modules

  1. Minimum quantity
  2. Superuser
  3. Configurable components
  4. B2B superuser
  5. Approval workflows
  6. Product search
  7. Dealer/Store selector

Install

// cd backend directory
yarn add ct-frontend-addons

Usage

// backend/index.ts
+import { injectExtensionsRegistry } from 'ct-frontend-addons/dist/extensions';

-export default {
-  'dynamic-page-handler': mergeDynamicPageHandlers(extensionsToMerge),
-  'data-sources': extensionsToMerge.map((extension) => extension['data-sources'] || {}).reduce(Object.assign, {}),
-  actions: mergeActions(extensionsToMerge),
-} as ExtensionRegistry;
+export default injectExtensionsRegistry(
+  {
+    'dynamic-page-handler': mergeDynamicPageHandlers(extensionsToMerge),
+    'data-sources': extensionsToMerge.map((extension) => extension['data-sources'] || {}).reduce(Object.assi
gn, {}),
+    actions: mergeActions(extensionsToMerge),
+  } as ExtensionRegistry,
+  {
+    modules: { ... }
+  },
+);
0.11.0

10 months ago

0.12.0

10 months ago

0.12.1

10 months ago

0.9.0

10 months ago

0.9.1

10 months ago

0.8.2

12 months ago

0.8.0

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.6.4

1 year ago

0.7.0

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.3

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago