@memberjunction/interactive-component-types 2.90.0 → 2.92.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/component-spec.d.ts
CHANGED
|
@@ -87,5 +87,46 @@ export declare class ComponentSpec {
|
|
|
87
87
|
* 3rd party lib dependencies, if any
|
|
88
88
|
*/
|
|
89
89
|
libraries?: ComponentLibraryDependency[];
|
|
90
|
+
/**
|
|
91
|
+
* Relevant examples of components intended to inspire this component's creation
|
|
92
|
+
*/
|
|
93
|
+
relevantExamples?: Array<ComponentExample[]>;
|
|
90
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* Type that defines an example component used to inspire the creation
|
|
97
|
+
* of a new component. By definition these examples are located in a registry
|
|
98
|
+
* and can be found via the combination of their name and namespace. The optional
|
|
99
|
+
* properties can be used at runtime to store additional information as required
|
|
100
|
+
* for generation/inference needs
|
|
101
|
+
*/
|
|
102
|
+
export type ComponentExample = {
|
|
103
|
+
name: string;
|
|
104
|
+
namespace: string;
|
|
105
|
+
version?: string;
|
|
106
|
+
description: string;
|
|
107
|
+
functionalRequirements: string;
|
|
108
|
+
technicalDesign: string;
|
|
109
|
+
/**
|
|
110
|
+
* Tracks a 0-1 number that indicates the relevance of this example to the containing ComponentSpec, can be used
|
|
111
|
+
* for ranking examples by importance/relevance
|
|
112
|
+
*/
|
|
113
|
+
relevance: number;
|
|
114
|
+
code?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Optional runtime embedding vector calculated for description
|
|
117
|
+
*/
|
|
118
|
+
descriptionVector?: number[];
|
|
119
|
+
/**
|
|
120
|
+
* Optional runtime embedding vector calculated for functional requirements
|
|
121
|
+
*/
|
|
122
|
+
functionalRequirementsVector?: number[];
|
|
123
|
+
/**
|
|
124
|
+
* Optional runtime embedding vector calculated for technical design
|
|
125
|
+
*/
|
|
126
|
+
technicalDesignVector?: number[];
|
|
127
|
+
/**
|
|
128
|
+
* Bag to hold any number of other runtime attributes
|
|
129
|
+
*/
|
|
130
|
+
other?: any;
|
|
131
|
+
};
|
|
91
132
|
//# sourceMappingURL=component-spec.d.ts.map
|
|
@@ -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;;;OAGG;IACH,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IAElC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,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,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AE/B;;OAEG;IACH,SAAS,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAEzC;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,EAAE,CAAC,CAAC;CAChD;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,EAAE,CAAC;IACxC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjC;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-spec.js","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"component-spec.js","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAa,aAAa;CAwGzB;AAxGD,sCAwGC;AAAA,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/interactive-component-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.92.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.
|
|
22
|
+
"@memberjunction/core": "2.92.0"
|
|
23
23
|
}
|
|
24
24
|
}
|