import {CopyNoteService} from 'ceo-core/application/services/copyNote-service.js'CopyNoteService
Extends:
BaseService → CopyNoteService
Copy notes live in the editor's metdata and so are only tracked via an internal, read-only, stack here.
You shouldn't need to interact with this outside the NoteViewer component.
Method Summary
| Public Methods | ||
| public | add(uid: *, id: *, val: *, user: *, icon: *, email: *, version: *, created_at: *): * | |
| public | remove(uid: *): * | |
| public | reset(): * | |
| public | setLastSelectedNote(id: *): * | |
| public | update(uid: *, id: *, val: *): * | |
| public | updateNotes(notes: *): * | |
| public | updateSelection(id: *): * | |
Inherited Summary
| From class BaseService | ||
| public | Preform a DELETE action | |
| public | Preform a GET action | |
| public | Preform a POST action | |
| public | postUpload(url: string, data: object, params: object): object Preform a POST action | |
| public | Preform a PUT action | |
Public Methods
public add(uid: *, id: *, val: *, user: *, icon: *, email: *, version: *, created_at: *): * source
Params:
| Name | Type | Attribute | Description | 
| uid | * | ||
| id | * | ||
| val | * | ||
| user | * | ||
| icon | * | ||
| * | |||
| version | * | ||
| created_at | * | 
Return:
| * | 
public update(uid: *, id: *, val: *): * source
Params:
| Name | Type | Attribute | Description | 
| uid | * | ||
| id | * | ||
| val | * | 
Return:
| * | 
