refactor: api version

This commit is contained in:
Steven
2024-04-28 00:44:29 +08:00
parent 8bba7f706e
commit 1b291422e7
147 changed files with 3033 additions and 3033 deletions

17
proto/api/v1/common.proto Normal file
View File

@@ -0,0 +1,17 @@
syntax = "proto3";
package memos.api.v1;
option go_package = "gen/api/v1";
enum RowStatus {
ROW_STATUS_UNSPECIFIED = 0;
ACTIVE = 1;
ARCHIVED = 2;
}
// Used internally for obfuscating the page token.
message PageToken {
int32 limit = 1;
int32 offset = 2;
}