MCPcopy Create free account
hub / github.com/bcms/cms / create

Method create

client/src/handlers/entry.ts:289–306  ·  view source on GitHub ↗

* Creates a new entry based on the given template and data. * * @param {string} templateIdOrName - The ID or name of the template to use for the entry creation. * @param {EntryCreateBody} data - The data to create the new entry. * @return {Promise } The newly created entry.

(
        templateIdOrName: string,
        data: EntryCreateBody,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

findTemplateByNameMethod · 0.95
baseUriMethod · 0.95
getByIdMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected