MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / domainToCreateRemote

Function domainToCreateRemote

app/src/sqlite/note.ts:70–80  ·  view source on GitHub ↗
(
	{ id, tags, fieldValues }: Note,
	remoteTemplateIds: RemoteTemplateId[],
)

Source from the content-addressed store, hash-verified

68}
69
70function domainToCreateRemote(
71 { id, tags, fieldValues }: Note,
72 remoteTemplateIds: RemoteTemplateId[],
73) {
74 return {
75 localId: id,
76 remoteTemplateIds,
77 fieldValues,
78 tags: Array.from(tags),
79 } satisfies CreateRemoteNote
80}
81
82function domainToEditRemote(
83 note: Note,

Callers 2

getNewNotesToUploadFunction · 0.70
makeNoteUploadableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected