Skip to content

Commit

Permalink
chore(update-contributors): do not skip ci (#3556)
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev authored and alsoba13 committed Sep 20, 2024
1 parent b60259a commit 345f4ba
Show file tree
Hide file tree
Showing 7 changed files with 523 additions and 121 deletions.
255 changes: 163 additions & 92 deletions api/gen/proto/go/vcs/v1/vcs.pb.go

Large diffs are not rendered by default.

218 changes: 218 additions & 0 deletions api/gen/proto/go/vcs/v1/vcs_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 32 additions & 2 deletions api/openapiv2/gen/phlare.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1089,15 +1089,45 @@
"type": "object",
"properties": {
"cookie": {
"type": "string"
"type": "string",
"title": "Deprecated"
},
"token": {
"type": "string",
"title": "base64 encoded encrypted token"
},
"tokenExpiresAt": {
"type": "string",
"format": "int64",
"description": "Unix ms timestamp of when the token expires."
},
"refreshTokenExpiresAt": {
"type": "string",
"format": "int64",
"description": "Unix ms timestamp of when the refresh token expires."
}
}
},
"v1GithubRefreshResponse": {
"type": "object",
"properties": {
"cookie": {
"type": "string"
"type": "string",
"title": "Deprecated"
},
"token": {
"type": "string",
"title": "base64 encoded encrypted token"
},
"tokenExpiresAt": {
"type": "string",
"format": "int64",
"description": "Unix ms timestamp of when the token expires."
},
"refreshTokenExpiresAt": {
"type": "string",
"format": "int64",
"description": "Unix ms timestamp of when the refresh token expires."
}
}
},
Expand Down
14 changes: 14 additions & 0 deletions api/vcs/v1/vcs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,27 @@ message GithubLoginRequest {
}

message GithubLoginResponse {
// Deprecated
string cookie = 1;
// base64 encoded encrypted token
string token = 2;
// Unix ms timestamp of when the token expires.
int64 token_expires_at = 3;
// Unix ms timestamp of when the refresh token expires.
int64 refresh_token_expires_at = 4;
}

message GithubRefreshRequest {}

message GithubRefreshResponse {
// Deprecated
string cookie = 1;
// base64 encoded encrypted token
string token = 2;
// Unix ms timestamp of when the token expires.
int64 token_expires_at = 3;
// Unix ms timestamp of when the refresh token expires.
int64 refresh_token_expires_at = 4;
}

message GetFileRequest {
Expand Down
Loading

0 comments on commit 345f4ba

Please sign in to comment.