Some checks failed
Backend Tests / Static Checks (push) Has been cancelled
Backend Tests / Tests (other) (push) Has been cancelled
Backend Tests / Tests (plugin) (push) Has been cancelled
Backend Tests / Tests (server) (push) Has been cancelled
Backend Tests / Tests (store) (push) Has been cancelled
Build Canary Image / build-frontend (push) Has been cancelled
Build Canary Image / build-push (linux/amd64) (push) Has been cancelled
Build Canary Image / build-push (linux/arm64) (push) Has been cancelled
Build Canary Image / merge (push) Has been cancelled
Frontend Tests / Lint (push) Has been cancelled
Frontend Tests / Build (push) Has been cancelled
Proto Linter / Lint Protos (push) Has been cancelled
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;
|
|
}
|