MCPcopy Create free account
hub / github.com/EsperoTech/yaade / duplicateCollection

Function duplicateCollection

client/src/api/index.tsx:76–83  ·  view source on GitHub ↗
(id: number, name: string)

Source from the content-addressed store, hash-verified

74 });
75
76const duplicateCollection = (id: number, name: string): Promise<Response> =>
77 fetch(BASE_PATH + `api/collection/${id}/duplicate`, {
78 method: 'POST',
79 headers: DEFAULT_HEADERS,
80 body: JSON.stringify({
81 name: name,
82 }),
83 });
84
85const moveCollection = (
86 id: number,

Callers 1

MoveableHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected