@dotcms/types 0.0.1-beta.35 → 0.0.1-beta.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/types",
3
- "version": "0.0.1-beta.35",
3
+ "version": "0.0.1-beta.37",
4
4
  "keywords": [
5
5
  "dotCMS",
6
6
  "CMS",
@@ -51,12 +51,18 @@ export interface DotCMSPageRequestParams {
51
51
  * Whether to fire the rules set on the page.
52
52
  */
53
53
  fireRules?: boolean | string;
54
- /**
55
- * Allows access to related content via the Relationship fields of contentlets on a Page; 0 (default).
56
- */
57
- depth?: 0 | 1 | 2 | 3 | '0' | '1' | '2' | '3';
58
54
  /**
59
55
  * The publish date of the page you want to retrieve.
56
+ * Must be an ISO 8601 formatted date string (e.g. '2025-06-19T12:59:41Z').
57
+ *
58
+ * @example
59
+ * // ✓ Correct usage:
60
+ * publishDate: '2025-06-19T12:59:41Z'
61
+ * publishDate: '2023-12-25T00:00:00Z'
62
+ *
63
+ * // ✗ Incorrect usage:
64
+ * publishDate: '19/06/2025' // Wrong format
65
+ * publishDate: '2025-06-19 12:59:41' // Not ISO 8601 format
60
66
  */
61
67
  publishDate?: string;
62
68
  /**