@aepstore-dev/contracts 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gen/users.ts CHANGED
@@ -151,6 +151,8 @@ export interface PublicProfileResponse {
151
151
  subscriptions: User[];
152
152
  subscribers: User[];
153
153
  isOwner: boolean;
154
+ /** viewer is subscribed to this profile (false when anonymous / self) */
155
+ isSubscribed: boolean;
154
156
  }
155
157
 
156
158
  export interface UpdateProfileRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -148,6 +148,7 @@ message PublicProfileResponse {
148
148
  repeated User subscriptions = 16;
149
149
  repeated User subscribers = 17;
150
150
  bool is_owner = 18;
151
+ bool is_subscribed = 19; // viewer is subscribed to this profile (false when anonymous / self)
151
152
  }
152
153
 
153
154
  // =================================================================