Skip to main content
Deno 2 is finally here 🎉️
Learn more
class NewItemFromCloneDetails
import { NewItemFromCloneDetails } from "https://deno.land/x/sptaki@1.2.0/models/mod.ts";

Properties

itemTplToClone: string

Id of the item to copy and use as a base

newId: string

the id the new item should have, leave blank to have one generated for you This is often known as the TplId, or TemplateId

overrideProperties: Props

Item properties that should be applied over the top of the cloned base

parentId: string

ParentId for the new item (item type)