(noteId: string | null, regionId?: string | null)
| 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 |
no outgoing calls
no test coverage detected