MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / fromId

Method fromId

apps/client/src/code/pages/page/notes/notes.ts:29–40  ·  view source on GitHub ↗
(noteId: string | null, regionId?: string | null)

Source from the content-addressed store, hash-verified

27 }
28
29 fromId(noteId: string | null, regionId?: string | null): PageNote | null {
30 const note = this.react.map[noteId!];
31
32 if (
33 note != null &&
34 (regionId === undefined || note.react.collab.regionId === regionId)
35 ) {
36 return note;
37 } else {
38 return null;
39 }
40 }
41 fromIds(noteIds: string[], regionId?: string): PageNote[] {
42 const noteIdsSet = new Set<string>();
43

Callers 8

fromIdsMethod · 0.95
goToPageMethod · 0.45
finishSetupMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected