Skip to content

Commit 2e95c1b

Browse files
committed
Fix public receiver mistakes
1 parent 0ab980d commit 2e95c1b

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

android/public-receiver.org

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- [[#get_books][ ~GET_BOOKS~ ]]
1919
- [[#get_note][ ~GET_NOTE~ ]]
2020
- [[#get_saved_searches][ ~GET_SAVED_SEARCHES~ ]]
21-
- [[#get_widets][ ~GET_WIDETS~ ]]
21+
- [[#get_widgets][ ~GET_WIDGETS~ ]]
2222
- [[#move_note--move_notes][ ~MOVE_NOTE~ / ~MOVE_NOTES~ ]]
2323
- [[#move_saved_search][ ~MOVE_SAVED_SEARCH~ ]]
2424
- [[#refile_note--refile_notes][ ~REFILE_NOTE~ / ~REFILE_NOTES~ ]]
@@ -127,7 +127,7 @@ type Timestamp = {
127127
#+END_SRC
128128

129129
* Actions
130-
In practice, all actions should be prefixed with ~\"com.orgzly.android.\"~ , e.g. ~\"com.orgzly.android.ADD_NOTE\"~
130+
In practice, all actions should be prefixed with ~"com.orgzly.android."​~ , e.g. ~"com.orgzly.android.ADD_NOTE"​~
131131

132132
** ~ADD_NOTE~
133133
Adds a new note.
@@ -261,7 +261,7 @@ A list of all saved searches.
261261
type GetSavedSearchesResponse = Response<SavedSearch[]>
262262
#+END_SRC
263263

264-
** ~GET_WIDETS~
264+
** ~GET_WIDGETS~
265265
Retrieves a list of all home screen widgets.
266266

267267
*Arguments:*
@@ -282,7 +282,7 @@ Moves one or more notes in the specified direction.
282282
- ~NOTE_IDS~
283283
- ~NOTE_PATH~
284284
- ~NOTE_PATHS~
285-
- ~DIRECTION~; one of ~\"UP\"~, ~\"DOWN\"~, ~\"LEFT\"~ or ~\"RIGHT\"~
285+
- ~DIRECTION~; one of ~"UP"​~, ~"DOWN"​~, ~"LEFT"​~ or ~"RIGHT"​~
286286

287287
*Returns:*
288288
Nothing.
@@ -297,7 +297,7 @@ Moves a saved search up or down in the list of saved searches.
297297
- One of:
298298
- ~SAVED_SEARCH_ID~
299299
- ~SAVED_SEARCH_NAME~
300-
- ~DIRECTION~; either ~\"UP"~ or ~\"DOWN"~
300+
- ~DIRECTION~; either ~"UP"~ or ~"DOWN"~
301301

302302
*Returns:*
303303
Nothing.
@@ -314,7 +314,12 @@ Refiles one or more notes to a specified location.
314314
- ~NOTE_IDS~
315315
- ~NOTE_PATH~
316316
- ~NOTE_PATHS~
317-
- ~DIRECTION~; one of ~\"UP\"~, ~\"DOWN\"~, ~\"LEFT\"~ or ~\"RIGHT\"~
317+
- One of:
318+
- ~PARENT_BOOK_ID~
319+
- ~PARENT_BOOK_NAME~
320+
- ~PARENT_NOTE_ID~ and ~PLACEMENT~
321+
- ~PARENT_NOTE_PATH~ and ~PLACEMENT~
322+
- ~PARENT_NOTE_QUERY~ and ~PLACEMENT~
318323

319324
*Returns:*
320325
Nothing.

0 commit comments

Comments
 (0)