sodas-sdk 1.5.0 → 1.5.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.
- package/dist/SODAS_SDK_CLASS/template/validation.d.ts +2 -0
- package/dist/index.browser.js +6 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.legacy.browser.js +6 -0
- package/dist/index.legacy.browser.js.map +1 -1
- package/dist/index.legacy.node.cjs +6 -0
- package/dist/index.legacy.node.cjs.map +1 -1
- package/dist/index.node.js +6 -0
- package/dist/index.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -79,5 +79,7 @@ declare class ValidationTemplate extends GOVERNANCE_MODEL {
|
|
|
79
79
|
* @returns Escaped JSON string with format: "{\"validation_rules\":[...]}"
|
|
80
80
|
*/
|
|
81
81
|
static stringifyValidationRulesToEscapedString(rules: ValidationRule[]): string;
|
|
82
|
+
get rules(): ValidationRule[];
|
|
83
|
+
get escapedRules(): string;
|
|
82
84
|
}
|
|
83
85
|
export default ValidationTemplate;
|
package/dist/index.browser.js
CHANGED
|
@@ -5226,6 +5226,12 @@ class ValidationTemplate extends _governanceClass__WEBPACK_IMPORTED_MODULE_3__["
|
|
|
5226
5226
|
const escaped = jsonString.replace(/"/g, '\\"');
|
|
5227
5227
|
return '"' + escaped + '"';
|
|
5228
5228
|
}
|
|
5229
|
+
get rules() {
|
|
5230
|
+
return this.ValidationRules;
|
|
5231
|
+
}
|
|
5232
|
+
get escapedRules() {
|
|
5233
|
+
return ValidationTemplate.stringifyValidationRulesToEscapedString(this.rules);
|
|
5234
|
+
}
|
|
5229
5235
|
}
|
|
5230
5236
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationTemplate);
|
|
5231
5237
|
|