@komaci/common-shared 244.1.0 → 244.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.
@@ -334,6 +334,7 @@
334
334
  "commerce_unified_checkout",
335
335
  "commerce_unified_coupons",
336
336
  "commerce_unified_promotions",
337
+ "commerce_wishlist",
337
338
  "commercecart",
338
339
  "commercepayments",
339
340
  "commercepricing",
@@ -701,6 +702,7 @@
701
702
  "pref_center",
702
703
  "privacy_center",
703
704
  "private_industries_common",
705
+ "prm_slack",
704
706
  "process_home",
705
707
  "process_migration",
706
708
  "program_mgmt_omnistudio",
@@ -22,7 +22,7 @@ const initModuleMetadataObject = () => ({
22
22
  exports: {},
23
23
  templateKomaciDocMap: {},
24
24
  hasRenderFunction: false,
25
- defaultComponentId: '',
25
+ staticMetadataId: '',
26
26
  });
27
27
  exports.initModuleMetadataObject = initModuleMetadataObject;
28
28
  /**
package/build/types.d.ts CHANGED
@@ -202,6 +202,11 @@ export declare enum FunctionTypes {
202
202
  RENDER_FUNCTION = "RenderFunction",
203
203
  ERROR = "ErrorFunction"
204
204
  }
205
+ export declare enum ModuleTypes {
206
+ BUNDLE_MODULE = "Bundle",
207
+ SCRIPT_ONLY = "ScriptOnly",
208
+ TEMPLATE_ONLY = "TemplateOnly"
209
+ }
205
210
  /**
206
211
  * Basic information needed by all function nodes
207
212
  */
@@ -280,7 +285,8 @@ export declare type ModuleMetadata = {
280
285
  [fName: string]: KomaciDocument;
281
286
  };
282
287
  hasRenderFunction: boolean;
283
- defaultComponentId: string;
288
+ staticMetadataId: string;
289
+ moduleType?: ModuleTypes.BUNDLE_MODULE | ModuleTypes.SCRIPT_ONLY | ModuleTypes.TEMPLATE_ONLY;
284
290
  };
285
291
  export declare type ImportBinding = {
286
292
  importPath: string;
package/build/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FunctionTypes = exports.UNSUPPORTED_FUNCTION = exports.PropertyTypes = exports.IdKeys = exports.PROPS = exports.CONTEXT = exports.ERROR_PREFIX = void 0;
3
+ exports.ModuleTypes = exports.FunctionTypes = exports.UNSUPPORTED_FUNCTION = exports.PropertyTypes = exports.IdKeys = exports.PROPS = exports.CONTEXT = exports.ERROR_PREFIX = void 0;
4
4
  exports.ERROR_PREFIX = '[komaci] ';
5
5
  exports.CONTEXT = 'ctx';
6
6
  exports.PROPS = 'props';
@@ -68,4 +68,10 @@ var FunctionTypes;
68
68
  FunctionTypes["RENDER_FUNCTION"] = "RenderFunction";
69
69
  FunctionTypes["ERROR"] = "ErrorFunction";
70
70
  })(FunctionTypes = exports.FunctionTypes || (exports.FunctionTypes = {}));
71
+ var ModuleTypes;
72
+ (function (ModuleTypes) {
73
+ ModuleTypes["BUNDLE_MODULE"] = "Bundle";
74
+ ModuleTypes["SCRIPT_ONLY"] = "ScriptOnly";
75
+ ModuleTypes["TEMPLATE_ONLY"] = "TemplateOnly";
76
+ })(ModuleTypes = exports.ModuleTypes || (exports.ModuleTypes = {}));
71
77
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/common-shared",
3
- "version": "244.1.0",
3
+ "version": "244.1.2",
4
4
  "description": "Assets that are shared across Komaci commonjs packages",
5
5
  "homepage": "https://komaci.dev/",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "build/komaci-mapping.json"
30
30
  ],
31
31
  "devDependencies": {
32
- "@komaci/types": "244.1.0"
32
+ "@komaci/types": "244.1.2"
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/core": "^7.9.0",