@memberjunction/core-entities 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.
@@ -9216,6 +9216,22 @@ exports.ComponentLibrarySchema = zod_1.z.object({
9216
9216
  * * Display Name: Updated At
9217
9217
  * * SQL Data Type: datetimeoffset
9218
9218
  * * Default Value: getutcdate()`),
9219
+ Status: zod_1.z.union([zod_1.z.literal('Active'), zod_1.z.literal('Deprecated'), zod_1.z.literal('Disabled')]).describe(`
9220
+ * * Field Name: Status
9221
+ * * Display Name: Status
9222
+ * * SQL Data Type: nvarchar(20)
9223
+ * * Default Value: Active
9224
+ * * Value List Type: List
9225
+ * * Possible Values
9226
+ * * Active
9227
+ * * Deprecated
9228
+ * * Disabled
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.`),
9219
9235
  });
9220
9236
  /**
9221
9237
  * zod schema definition for the entity MJ: Component Library Links
@@ -36907,6 +36923,36 @@ let ComponentLibraryEntity = class ComponentLibraryEntity extends core_1.BaseEnt
36907
36923
  get __mj_UpdatedAt() {
36908
36924
  return this.Get('__mj_UpdatedAt');
36909
36925
  }
36926
+ /**
36927
+ * * Field Name: Status
36928
+ * * Display Name: Status
36929
+ * * SQL Data Type: nvarchar(20)
36930
+ * * Default Value: Active
36931
+ * * Value List Type: List
36932
+ * * Possible Values
36933
+ * * Active
36934
+ * * Deprecated
36935
+ * * Disabled
36936
+ * * Description: Status of the component library. Active: fully supported; Deprecated: works but shows console warning; Disabled: throws error if used
36937
+ */
36938
+ get Status() {
36939
+ return this.Get('Status');
36940
+ }
36941
+ set Status(value) {
36942
+ this.Set('Status', value);
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
+ }
36910
36956
  };
36911
36957
  exports.ComponentLibraryEntity = ComponentLibraryEntity;
36912
36958
  exports.ComponentLibraryEntity = ComponentLibraryEntity = __decorate([