@messaia/cdk-cms 20.0.7 → 20.0.9

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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ChangeDetectorRef, Type, ElementRef } from '@angular/core';
3
3
  import * as i1 from '@angular/router';
4
- import { ActivatedRoute, ActivatedRouteSnapshot } from '@angular/router';
4
+ import { ActivatedRoute, Resolve, ActivatedRouteSnapshot } from '@angular/router';
5
5
  import * as _angular_forms from '@angular/forms';
6
6
  import { NgModel } from '@angular/forms';
7
7
  import { HttpClient } from '@angular/common/http';
@@ -898,36 +898,43 @@ declare class FaqDepartment {
898
898
 
899
899
  declare class Faq extends AuditEntity {
900
900
  /**
901
- * @property
901
+ * The question text
902
+ * @type {string}
902
903
  */
903
904
  question?: string;
904
905
  /**
905
- * @property
906
+ * The group name
907
+ * @type {string}
906
908
  */
907
909
  group?: string;
908
910
  /**
909
- * @property
911
+ * Associated clients
912
+ * @type {FaqClient[]}
910
913
  */
911
914
  clientJoins?: FaqClient[];
912
915
  /**
913
- * @property
916
+ * Associated departments
917
+ * @type {FaqDepartment[]}
914
918
  */
915
919
  departmentJoins?: FaqDepartment[];
916
920
  /**
917
- * @property
921
+ * Display order of the FAQ
922
+ * @type {number}
918
923
  */
919
924
  ordering?: number;
920
925
  /**
921
- * @property
926
+ * The answer text
927
+ * @type {string}
922
928
  */
923
929
  answer?: string;
924
930
  /**
925
- * @property
931
+ * Indicates if the FAQ is enabled
932
+ * @type {boolean}
926
933
  */
927
934
  enabled?: boolean;
928
935
  /**
929
- * constructor
930
- * @param init
936
+ * Constructor
937
+ * @param init - Partial initialization object
931
938
  */
932
939
  constructor(init?: Partial<Faq>);
933
940
  }
@@ -1118,10 +1125,22 @@ declare class ListProjectionResolve {
1118
1125
 
1119
1126
  /**
1120
1127
  * Settings resolve service
1128
+ *
1129
+ * This resolver provides the CMS configuration settings for routes that depend on them.
1121
1130
  */
1122
- declare class SettingsResolve {
1131
+ declare class SettingsResolve implements Resolve<CmsSettings> {
1132
+ private cmsSettings;
1133
+ /**
1134
+ * Constructor injecting the CMS settings provided via Angular DI.
1135
+ *
1136
+ * @param cmsSettings - The CMS settings instance injected from the DI system.
1137
+ */
1138
+ constructor(cmsSettings: CmsSettings);
1123
1139
  /**
1124
- * Resolves settings
1140
+ * Resolves settings for a route.
1141
+ *
1142
+ * @param route - The activated route snapshot.
1143
+ * @returns An observable emitting the CMS settings.
1125
1144
  */
1126
1145
  resolve(route: ActivatedRouteSnapshot): Observable<CmsSettings>;
1127
1146
  static ɵfac: i0.ɵɵFactoryDeclaration<SettingsResolve, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk-cms",
3
- "version": "20.0.7",
3
+ "version": "20.0.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0"