@messaia/cdk-cms 19.0.0 → 19.0.1-rc01

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.
@@ -5,59 +5,99 @@ import { ContentClient } from "./content-client";
5
5
  import { ContentDepartment } from "./content-department";
6
6
  export declare class Content extends AuditEntity {
7
7
  /**
8
- * @property
8
+ * @property Defines the type of the content.
9
+ * @description Optional enum property indicating the content's type.
10
+ * @type {ContentType}
9
11
  */
10
12
  type?: ContentType;
11
13
  /**
12
- * @property
14
+ * @property Identifier for the section the content belongs to.
15
+ * @description Optional number representing the section ID.
16
+ * @type {number}
13
17
  */
14
18
  sectionId?: number;
15
19
  /**
16
- * @property
20
+ * @property The title of the content.
21
+ * @description This required property represents the human-readable title displayed in the UI.
22
+ * @type {string}
17
23
  */
18
24
  title?: string;
19
25
  /**
20
- * @property
26
+ * @property Internal name of the content.
27
+ * @description This required property is used for internal reference and URLs.
28
+ * @type {string}
21
29
  */
22
30
  name?: string;
23
31
  /**
24
- * @property
32
+ * @property Aliases of the content.
33
+ * @description Optional string used to define alternative names or keywords.
34
+ * @type {string}
25
35
  */
26
36
  aliases?: string;
27
37
  /**
28
- * @property
38
+ * @property The wrap tag used for HTML structure.
39
+ * @description Optional property that defines how the content is wrapped in the DOM.
40
+ * @type {WrapTag}
29
41
  */
30
42
  wrapTag: WrapTag;
31
43
  /**
32
- * @property
44
+ * @property Layout identifier or class name.
45
+ * @description Optional layout style applied to this content block.
46
+ * @type {string}
33
47
  */
34
48
  layout?: string;
35
49
  /**
36
- * @property
50
+ * @property Main body of the content.
51
+ * @description Optional HTML or markdown content.
52
+ * @type {string}
37
53
  */
38
54
  body?: string;
39
55
  /**
40
- * @property
56
+ * @property Embedded script.
57
+ * @description Optional JavaScript code associated with the content.
58
+ * @type {string}
41
59
  */
42
60
  script?: string;
43
61
  /**
44
- * @property
62
+ * @property headScript
63
+ * @description This optional property allows insertion of custom JavaScript code inside the <head> tag of the HTML document.
64
+ * @type {string}
65
+ */
66
+ headScript?: string;
67
+ /**
68
+ * @property noScript
69
+ * @description This optional property allows inserting content inside a <noscript> tag, which is rendered when JavaScript is disabled.
70
+ * @type {string}
71
+ */
72
+ noScript?: string;
73
+ /**
74
+ * @property Embedded style.
75
+ * @description Optional CSS styling specific to this content.
76
+ * @type {string}
45
77
  */
46
78
  style?: string;
47
79
  /**
48
- * @property
80
+ * @property Indicates whether the title should be shown.
81
+ * @description This optional boolean defaults to true and determines title visibility.
82
+ * @type {boolean}
49
83
  */
50
84
  showTitle: boolean;
51
85
  /**
52
- * @property
86
+ * @property Indicates whether the content is enabled.
87
+ * @description This boolean property enables or disables the content, default is true.
88
+ * @type {boolean}
53
89
  */
54
90
  enabled: boolean;
55
91
  /**
56
- * @property
92
+ * @property Associated clients for this content.
93
+ * @description This required property defines which clients the content is related to.
94
+ * @type {ContentClient[]}
57
95
  */
58
96
  clientJoins?: ContentClient[];
59
97
  /**
60
- * @property
98
+ * @property Associated departments for this content.
99
+ * @description Optional departments related to this content, with visibility based on admin context.
100
+ * @type {ContentDepartment[]}
61
101
  */
62
102
  departmentJoins?: ContentDepartment[];
63
103
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@messaia/cdk-cms",
3
- "version": "19.0.0",
3
+ "version": "19.0.1-rc01",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.5",
6
6
  "@angular/core": "^19.0.5",
7
- "@messaia/cdk": "^19.0.0"
7
+ "@messaia/cdk": "^19.0.1-rc01"
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "^2.4.1"