@memberjunction/core-entities 2.91.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.
@@ -9227,6 +9227,11 @@ exports.ComponentLibrarySchema = zod_1.z.object({
9227
9227
  * * Deprecated
9228
9228
  * * Disabled
9229
9229
  * * Description: Status of the component library. Active: fully supported; Deprecated: works but shows console warning; Disabled: throws error if used`),
9230
+ LintRules: zod_1.z.string().nullable().describe(`
9231
+ * * Field Name: LintRules
9232
+ * * Display Name: Lint Rules
9233
+ * * SQL Data Type: nvarchar(MAX)
9234
+ * * 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.`),
9230
9235
  });
9231
9236
  /**
9232
9237
  * zod schema definition for the entity MJ: Component Library Links
@@ -36936,6 +36941,18 @@ let ComponentLibraryEntity = class ComponentLibraryEntity extends core_1.BaseEnt
36936
36941
  set Status(value) {
36937
36942
  this.Set('Status', value);
36938
36943
  }
36944
+ /**
36945
+ * * Field Name: LintRules
36946
+ * * Display Name: Lint Rules
36947
+ * * SQL Data Type: nvarchar(MAX)
36948
+ * * 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.
36949
+ */
36950
+ get LintRules() {
36951
+ return this.Get('LintRules');
36952
+ }
36953
+ set LintRules(value) {
36954
+ this.Set('LintRules', value);
36955
+ }
36939
36956
  };
36940
36957
  exports.ComponentLibraryEntity = ComponentLibraryEntity;
36941
36958
  exports.ComponentLibraryEntity = ComponentLibraryEntity = __decorate([