MCPcopy Create free account
hub / github.com/core7s/react-design-editor / updateCreation

Method updateCreation

src/services/api.ts:200–209  ·  view source on GitHub ↗
(id: string, props: Partial<Template>)

Source from the content-addressed store, hash-verified

198 })
199 }
200 updateCreation(id: string, props: Partial<Template>): Promise<Template> {
201 return new Promise((resolve, reject) => {
202 this.base
203 .put(`/creations/${id}`, props)
204 .then(({ data }) => {
205 resolve(data)
206 })
207 .catch((err) => reject(err))
208 })
209 }
210
211 // ELEMENTS
212 getElements(): Promise<IElement[]> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected