diff --git a/proto/librarian/sephirah/v1/sephirah.proto b/proto/librarian/sephirah/v1/sephirah.proto index ee3abec5..c3fece4f 100644 --- a/proto/librarian/sephirah/v1/sephirah.proto +++ b/proto/librarian/sephirah/v1/sephirah.proto @@ -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. diff --git a/proto/librarian/v1/common.proto b/proto/librarian/v1/common.proto index 26d676ed..314b8127 100644 --- a/proto/librarian/v1/common.proto +++ b/proto/librarian/v1/common.proto @@ -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 {