Think I got some parameters for create note down
This commit is contained in:
parent
599874c486
commit
70df49efa7
1 changed files with 27 additions and 4 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue