Skip to content

Commit

Permalink
fix(gebura): update
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Jan 16, 2024
1 parent fd90488 commit c7b4e2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 7 additions & 7 deletions proto/librarian/sephirah/v1/sephirah.proto
Original file line number Diff line number Diff line change
Expand Up @@ -108,22 +108,22 @@ service LibrarianSephirahService {
rpc UpdateApp(UpdateAppRequest) returns (UpdateAppResponse);
// `Gebura` `Admin` Used to manage apps
rpc ListApps(ListAppsRequest) returns (ListAppsResponse);
// `Gebura` `Admin` Asynchronous update apps.
// `Gebura` `Admin` Merge two apps
rpc MergeApps(MergeAppsRequest) returns (MergeAppsResponse);
// `Gebura` `Admin` Pick one app out from merged
rpc PickApp(PickAppRequest) returns (PickAppResponse);

// `Gebura` `Normal` Asynchronous update apps.
// Request on INTERNAL app applies to all bound external apps.
// Create an INTERNAL app when requested external app does not exist
// Server should implement a sync rate limit to prevent abuse,
// when rate limit reached, return without real sync.
rpc SyncApps(SyncAppsRequest) returns (SyncAppsResponse);
// `Gebura` `Admin` Asynchronously update apps associated with an account.
// `Gebura` `Normal` Asynchronously update apps associated with an account.
// Create an INTERNAL app when associated external app does not exist.
// Server should implement a sync rate limit to prevent abuse,
// when rate limit reached, return without real sync.
rpc SyncAccountApps(SyncAccountAppsRequest) returns (SyncAccountAppsResponse);
// `Gebura` `Admin` Merge two apps
rpc MergeApps(MergeAppsRequest) returns (MergeAppsResponse);
// `Gebura` `Admin` Pick one app out from merged
rpc PickApp(PickAppRequest) returns (PickAppResponse);

// `Gebura` `Normal`
rpc SearchApps(SearchAppsRequest) returns (SearchAppsResponse);
// `Gebura` `Normal` Flattened app info, data priority is 1.INTERNAL, 2.STEAM.
Expand Down
3 changes: 3 additions & 0 deletions proto/librarian/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ message AppPackage {
AppPackageBinary binary = 6;
// false by default
bool public = 7;
// Only used in response
// Available when assigned to an app
optional InternalID assigned_app_id = 8;
}

enum AppPackageSource {
Expand Down

0 comments on commit c7b4e2e

Please sign in to comment.