@memberjunction/server 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.
@@ -61545,6 +61545,7 @@ let ComponentLibrary_ = class ComponentLibrary_ {
61545
61545
  _mj__CreatedAt;
61546
61546
  _mj__UpdatedAt;
61547
61547
  Status;
61548
+ LintRules;
61548
61549
  MJ_ComponentLibraryLinks_LibraryIDArray;
61549
61550
  };
61550
61551
  __decorate([
@@ -61606,6 +61607,10 @@ __decorate([
61606
61607
  MaxLength(40),
61607
61608
  __metadata("design:type", String)
61608
61609
  ], ComponentLibrary_.prototype, "Status", void 0);
61610
+ __decorate([
61611
+ Field({ nullable: true, 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.` }),
61612
+ __metadata("design:type", String)
61613
+ ], ComponentLibrary_.prototype, "LintRules", void 0);
61609
61614
  __decorate([
61610
61615
  Field(() => [ComponentLibraryLink_]),
61611
61616
  __metadata("design:type", Array)
@@ -61625,6 +61630,7 @@ let CreateComponentLibraryInput = class CreateComponentLibraryInput {
61625
61630
  CDNCssUrl;
61626
61631
  Description;
61627
61632
  Status;
61633
+ LintRules;
61628
61634
  };
61629
61635
  __decorate([
61630
61636
  Field({ nullable: true }),
@@ -61666,6 +61672,10 @@ __decorate([
61666
61672
  Field({ nullable: true }),
61667
61673
  __metadata("design:type", String)
61668
61674
  ], CreateComponentLibraryInput.prototype, "Status", void 0);
61675
+ __decorate([
61676
+ Field({ nullable: true }),
61677
+ __metadata("design:type", String)
61678
+ ], CreateComponentLibraryInput.prototype, "LintRules", void 0);
61669
61679
  CreateComponentLibraryInput = __decorate([
61670
61680
  InputType()
61671
61681
  ], CreateComponentLibraryInput);
@@ -61681,6 +61691,7 @@ let UpdateComponentLibraryInput = class UpdateComponentLibraryInput {
61681
61691
  CDNCssUrl;
61682
61692
  Description;
61683
61693
  Status;
61694
+ LintRules;
61684
61695
  OldValues___;
61685
61696
  };
61686
61697
  __decorate([
@@ -61723,6 +61734,10 @@ __decorate([
61723
61734
  Field({ nullable: true }),
61724
61735
  __metadata("design:type", String)
61725
61736
  ], UpdateComponentLibraryInput.prototype, "Status", void 0);
61737
+ __decorate([
61738
+ Field({ nullable: true }),
61739
+ __metadata("design:type", String)
61740
+ ], UpdateComponentLibraryInput.prototype, "LintRules", void 0);
61726
61741
  __decorate([
61727
61742
  Field(() => [KeyValuePairInput], { nullable: true }),
61728
61743
  __metadata("design:type", Array)