f2f19e8b45
Also remove oneof from pb enum and handle strs in Python.
36 lines
767 B
Protocol Buffer
36 lines
767 B
Protocol Buffer
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
syntax = "proto3";
|
|
|
|
package anki.links;
|
|
|
|
import "anki/generic.proto";
|
|
|
|
service LinksService {
|
|
rpc HelpPageLink(HelpPageLinkRequest) returns (generic.String);
|
|
}
|
|
|
|
message HelpPageLinkRequest {
|
|
enum HelpPage {
|
|
NOTE_TYPE = 0;
|
|
BROWSING = 1;
|
|
BROWSING_FIND_AND_REPLACE = 2;
|
|
BROWSING_NOTES_MENU = 3;
|
|
KEYBOARD_SHORTCUTS = 4;
|
|
EDITING = 5;
|
|
ADDING_CARD_AND_NOTE = 6;
|
|
ADDING_A_NOTE_TYPE = 7;
|
|
LATEX = 8;
|
|
PREFERENCES = 9;
|
|
INDEX = 10;
|
|
TEMPLATES = 11;
|
|
FILTERED_DECK = 12;
|
|
IMPORTING = 13;
|
|
CUSTOMIZING_FIELDS = 14;
|
|
DECK_OPTIONS = 15;
|
|
EDITING_FEATURES = 16;
|
|
}
|
|
HelpPage page = 1;
|
|
}
|