@memberjunction/interactive-component-types 2.121.0 → 2.122.1
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.
|
@@ -66,21 +66,35 @@ export type ComponentQueryParameterValue = {
|
|
|
66
66
|
* Name of the parameter
|
|
67
67
|
*/
|
|
68
68
|
name: string;
|
|
69
|
+
/**
|
|
70
|
+
* Whether this parameter must be provided when executing the query.
|
|
71
|
+
*/
|
|
72
|
+
isRequired: boolean;
|
|
69
73
|
/**
|
|
70
74
|
* Value of the parameter. If the value is '@runtime', it indicates that the component will determine the value at runtime.
|
|
71
75
|
* If anything other than '@runtime' is specified, it is a hardcoded value that the component will use.
|
|
72
76
|
*/
|
|
73
|
-
value
|
|
77
|
+
value?: string;
|
|
74
78
|
/**
|
|
75
79
|
* When specifying '@runtime' for the value, populate this field with a value that can be used to test the query to validate it runs. It doesn't need
|
|
76
80
|
* to be a value that is valid in the sense of being in the database, but is of the right type. For example if the
|
|
77
81
|
* parameter is a number, date or string, include a test value of that type. **Note** if the parameter is for a UNIQUEIDENTIFIER column
|
|
78
82
|
* type make sure to use a valid UUID format otherwise the query will FAIL.
|
|
79
83
|
*/
|
|
80
|
-
testValue
|
|
84
|
+
testValue?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Data type of the parameter (e.g., 'string', 'int', 'uniqueidentifier', 'datetime', 'decimal').
|
|
87
|
+
* This helps the component generator understand how to properly format and pass the parameter value.
|
|
88
|
+
*/
|
|
89
|
+
type?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Example value demonstrating the proper format for this parameter.
|
|
92
|
+
* Preferred over testValue for component generation as it aligns with SkipQueryParamInfo.SampleValue naming.
|
|
93
|
+
*/
|
|
94
|
+
sampleValue?: string;
|
|
81
95
|
/**
|
|
82
|
-
* Description of the parameter and how it is used in the query. This is
|
|
83
|
-
* the
|
|
96
|
+
* Description of the parameter and how it is used in the query. This is important for helping
|
|
97
|
+
* the component developer understand what the parameter is for and how to determine its value.
|
|
84
98
|
*/
|
|
85
99
|
description?: string;
|
|
86
100
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-requirements.d.ts","sourceRoot":"","sources":["../src/data-requirements.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACtC;;;;;OAKG;IACH,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAErC;;OAEG;IACH,QAAQ,EAAE,8BAA8B,EAAE,CAAC;IAE3C;;OAEG;IACH,OAAO,EAAE,6BAA6B,EAAE,CAAC;IAEzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,MAAM,EAAE,qBAAqB,EAAE,CAAC;IAEhC;;;OAGG;IACH,WAAW,EAAE,MAAM,EAAE,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAE5C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"data-requirements.d.ts","sourceRoot":"","sources":["../src/data-requirements.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACtC;;;;;OAKG;IACH,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAErC;;OAEG;IACH,QAAQ,EAAE,8BAA8B,EAAE,CAAC;IAE3C;;OAEG;IACH,OAAO,EAAE,6BAA6B,EAAE,CAAC;I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M,CAAC;IAEtB;;OAEG;IACH,qBAAqB,EAAE,+BAA+B,EAAE,CAAC;CAC5D,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEtF;;;IAGI;AACJ,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/interactive-component-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.122.1",
|
|
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,8 +19,8 @@
|
|
|
19
19
|
"typescript": "^5.4.5"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/core": "2.
|
|
23
|
-
"@memberjunction/ai-vectors-memory": "2.
|
|
22
|
+
"@memberjunction/core": "2.122.1",
|
|
23
|
+
"@memberjunction/ai-vectors-memory": "2.122.1"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|