mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
333 B
Protocol Buffer
24 lines
333 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package memos.api.v1;
|
|
|
|
option go_package = "gen/api/v1";
|
|
|
|
enum State {
|
|
STATE_UNSPECIFIED = 0;
|
|
NORMAL = 1;
|
|
ARCHIVED = 2;
|
|
}
|
|
|
|
// Used internally for obfuscating the page token.
|
|
message PageToken {
|
|
int32 limit = 1;
|
|
int32 offset = 2;
|
|
}
|
|
|
|
enum Direction {
|
|
DIRECTION_UNSPECIFIED = 0;
|
|
ASC = 1;
|
|
DESC = 2;
|
|
}
|