@memberjunction/core-entities 2.93.0 → 2.94.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.
|
@@ -9263,6 +9263,11 @@ exports.ComponentLibrarySchema = zod_1.z.object({
|
|
|
9263
9263
|
* * Display Name: Lint Rules
|
|
9264
9264
|
* * SQL Data Type: nvarchar(MAX)
|
|
9265
9265
|
* * Description: JSON configuration for library-specific lint rules that are applied during component validation. This field contains structured rules that define how components using this library should be validated, including DOM element requirements, initialization patterns, lifecycle methods, and common error patterns. Example structure: {"initialization": {"constructorName": "Chart", "elementType": "canvas"}, "lifecycle": {"requiredMethods": ["render"], "cleanupMethods": ["destroy"]}}. The linter dynamically applies these rules based on the libraries referenced in a component spec, enabling extensible validation without hardcoding library-specific logic.`),
|
|
9266
|
+
Dependencies: zod_1.z.string().nullable().describe(`
|
|
9267
|
+
* * Field Name: Dependencies
|
|
9268
|
+
* * Display Name: Dependencies
|
|
9269
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9270
|
+
* * Description: JSON object defining dependencies for this component library. Format: { "libraryName": "versionSpec", ... }. Version specifications follow NPM-style syntax (e.g., "~1.0.0", "^1.2.3", "2.3.4"). Dependencies are loaded before this library to ensure proper execution context.`),
|
|
9266
9271
|
});
|
|
9267
9272
|
/**
|
|
9268
9273
|
* zod schema definition for the entity MJ: Component Library Links
|
|
@@ -37057,6 +37062,18 @@ let ComponentLibraryEntity = class ComponentLibraryEntity extends core_1.BaseEnt
|
|
|
37057
37062
|
set LintRules(value) {
|
|
37058
37063
|
this.Set('LintRules', value);
|
|
37059
37064
|
}
|
|
37065
|
+
/**
|
|
37066
|
+
* * Field Name: Dependencies
|
|
37067
|
+
* * Display Name: Dependencies
|
|
37068
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
37069
|
+
* * Description: JSON object defining dependencies for this component library. Format: { "libraryName": "versionSpec", ... }. Version specifications follow NPM-style syntax (e.g., "~1.0.0", "^1.2.3", "2.3.4"). Dependencies are loaded before this library to ensure proper execution context.
|
|
37070
|
+
*/
|
|
37071
|
+
get Dependencies() {
|
|
37072
|
+
return this.Get('Dependencies');
|
|
37073
|
+
}
|
|
37074
|
+
set Dependencies(value) {
|
|
37075
|
+
this.Set('Dependencies', value);
|
|
37076
|
+
}
|
|
37060
37077
|
};
|
|
37061
37078
|
exports.ComponentLibraryEntity = ComponentLibraryEntity;
|
|
37062
37079
|
exports.ComponentLibraryEntity = ComponentLibraryEntity = __decorate([
|