@paroicms/public-server-lib 1.2.0 → 1.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/public-server-lib",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Common utilitaries for paroicms plugins (backend side).",
5
5
  "author": "Paroi Team",
6
6
  "repository": {
@@ -512,8 +512,8 @@ export interface CreateDocumentInput {
512
512
  title?: string;
513
513
  slug?: string;
514
514
  /**
515
- * Honored when the document type's route is `":relativeId"` (validated for format and sibling
516
- * uniqueness); ignored otherwise.
515
+ * Validated for format and sibling uniqueness. Required when the document type's route is
516
+ * `":relativeId"`; auto-generated when absent otherwise.
517
517
  */
518
518
  relativeId?: string;
519
519
  values?: UpdateFieldValues;
@@ -522,6 +522,8 @@ export interface CreateDocumentInput {
522
522
  export interface CreatePartInput {
523
523
  parentLNodeId: string;
524
524
  typeName: string;
525
+ /** ISO 8601 date string; defaults to now */
526
+ publishDate?: string;
525
527
  values?: UpdateFieldValues;
526
528
  }
527
529