Skip to content

Variable: CopyPageRequestDestinationSchema ​

ts
const CopyPageRequestDestinationSchema: ZodObject<{
  type: ZodCustom<
     | string & object
     | "space"
     | "existing_page"
     | "parent_page"
     | "parent_content", 
     | string & object
     | "space"
     | "existing_page"
     | "parent_page"
    | "parent_content">;
  value: ZodString;
}, ApiObjectConfig<undefined>>;

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