@memberjunction/interactive-component-types 2.88.0 → 2.90.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.
@@ -6,6 +6,32 @@ import { ComponentLibraryDependency } from "./library-dependency";
6
6
  */
7
7
  export declare class ComponentSpec {
8
8
  name: string;
9
+ /**
10
+ * Components can be embedded or registry. Registry means we don't have the
11
+ * code directly here nor do we generate the code, we simply use the component from its registry
12
+ */
13
+ location: "embedded" | "registry";
14
+ /**
15
+ * Only used when location == "registry", a hierarchical namespace such as "crm/analytics/accounts". The combination of the
16
+ * namespace and name are how a registry component is loaded. Registry components might have
17
+ * a root level segment that starts with @ such as "@memberjunction/examples/entities" or if the root
18
+ * segment doesn't have @ that means the component is local to that registry
19
+ */
20
+ namespace?: string;
21
+ /**
22
+ * Only used when location == "registry", a semantic versioning string such as
23
+ * "1.0.0"
24
+ * "^1.0.0"
25
+ * "~1.0.0"
26
+ * Follows conventions documented here: https://semver.org/ and https://docs.npmjs.com/about-semantic-versioning
27
+ */
28
+ version?: string;
29
+ /**
30
+ * When an architect decides to use an existing component as a base for a new version,
31
+ * they can set this flag to true. This indicates that the new version will be created
32
+ * based on the existing component based on the namespace/name/version specified above
33
+ */
34
+ createNewVersion?: boolean;
9
35
  /**
10
36
  * End-user friendly description of what the component does
11
37
  */
@@ -1 +1 @@
1
- {"version":3,"file":"component-spec.d.ts","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE;;GAEG;AACH,qBAAa,aAAa;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM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,IAAI,EAAE,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC;IAE7F;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;OAQG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAE7C;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAE1B;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,0BAA0B,EAAE,CAAC;CAC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"component-spec.js","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAa,aAAa;CAqEzB;AArED,sCAqEC;AAAA,CAAC"}
1
+ {"version":3,"file":"component-spec.js","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAa,aAAa;CAmGzB;AAnGD,sCAmGC;AAAA,CAAC"}
@@ -18,6 +18,6 @@ export interface ComponentLibraryDependency {
18
18
  * SemVer string describing minimum version requirement
19
19
  * Example: "2.5.0" for fixed version, "^1.0.0" for minimum version
20
20
  */
21
- minVersion?: string;
21
+ version?: string;
22
22
  }
23
23
  //# sourceMappingURL=library-dependency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"library-dependency.d.ts","sourceRoot":"","sources":["../src/library-dependency.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"library-dependency.d.ts","sourceRoot":"","sources":["../src/library-dependency.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/interactive-component-types",
3
- "version": "2.88.0",
3
+ "version": "2.90.0",
4
4
  "description": "MemberJunction: Interactive Component - Type specifications for MJ Interactive UI Componentry",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,6 +19,6 @@
19
19
  "typescript": "^5.4.5"
20
20
  },
21
21
  "dependencies": {
22
- "@memberjunction/core": "2.88.0"
22
+ "@memberjunction/core": "2.90.0"
23
23
  }
24
24
  }