diff --git a/storage/notes.go b/storage/notes.go index 53d4dc0..1bd1702 100644 --- a/storage/notes.go +++ b/storage/notes.go @@ -121,15 +121,38 @@ func (s *Storage) UpdateNote(note *Note) error { return nil } -func (s *Storage) CreateNoteLocal() (*Note, error) { +func (s *Storage) CreateNoteLocal( + creatorId string, + rawContent string, + contentWarning *string, + timestamp time.Time, + attachmentIds []string, + emoteIds []string, + repliesToId *string, + quotesId *string, + accessLevel NoteAccessLevel, + tags []string, +) (*Note, error) { defer util.Untrace(util.Trace(&log.Logger)) - // TODO: Think of good arguments and implement me + // TODO: Implement me panic("not implemented") } -func (s *Storage) CreateNoteRemote() (*Note, error) { +func (s *Storage) CreateNoteRemote( + creatorId string, + rawContent string, + contentWarning *string, + timestamp time.Time, + attachmentIds []string, + emoteIds []string, + repliesToId *string, + quotesId *string, + accessLevel NoteAccessLevel, + tags []string, + originId string, +) (*Note, error) { defer util.Untrace(util.Trace(&log.Logger)) - // TODO: Think of good arguments and implement me + // TODO: Implement me panic("not implemented") }