@omnia/fx-models 8.0.53-dev → 8.0.54-dev

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/ManifestIds.d.ts CHANGED
@@ -133,6 +133,7 @@ export declare class OmniaResourceManifests {
133
133
  static get MagicLinkCore(): Guid;
134
134
  }
135
135
  export declare class OmniaWebComponentManifests {
136
+ static get JourneyBladeComponent(): Guid;
136
137
  static get AuthSetup(): Guid;
137
138
  static get SignInBlock(): Guid;
138
139
  static get SignInCore(): Guid;
package/ManifestIds.js CHANGED
@@ -420,6 +420,9 @@ class OmniaResourceManifests {
420
420
  }
421
421
  exports.OmniaResourceManifests = OmniaResourceManifests;
422
422
  class OmniaWebComponentManifests {
423
+ static get JourneyBladeComponent() {
424
+ return new models_1.Guid("4357bb82-64e3-482c-8710-afed3b2be35c");
425
+ }
423
426
  static get AuthSetup() {
424
427
  return new models_1.Guid("e4889269-c6ad-440d-a65f-3acdf5bb6152");
425
428
  }
@@ -22,3 +22,4 @@ export declare class Guid implements GuidValue {
22
22
  toJSON: () => string;
23
23
  valueOf(): string;
24
24
  }
25
+ export declare function guid(value: string): GuidValue;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Guid = void 0;
3
+ exports.guid = exports.Guid = void 0;
4
4
  //export interface GuidValue {
5
5
  // :string;
6
6
  //}
@@ -71,3 +71,12 @@ if (globalThis.omnia) {
71
71
  enumerable: false
72
72
  });
73
73
  }
74
+ // will make Guid class to static class to prevent new Guid instance later on
75
+ // now expose new function to create guid
76
+ function guid(value) {
77
+ if (!Guid.isValid(value)) {
78
+ throw `The string '${value}' is not a valid Guid`;
79
+ }
80
+ return value;
81
+ }
82
+ exports.guid = guid;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.53-dev",
4
+ "version": "8.0.54-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"