Skip to content

Variable: CopyPageRequestDestinationSchema

ts
const CopyPageRequestDestinationSchema: ZodObject<{
  type: ZodEnum<{
     existing_page: "existing_page";
     parent_content: "parent_content";
     parent_page: "parent_page";
     space: "space";
  }>;
  value: ZodString;
}, $loose>;

Defined in: src/v1/models/copyPageRequestDestination.ts:12

Defines where the page will be copied to, and can be one of the following types.*

  • parent_page: page will be copied as a child of the specified parent page*
  • parent_content: page will be copied as a child of the specified parent content*
  • space: page will be copied to the specified space as a root page on the space*
  • existing_page: page will be copied and replace the specified page