@devvit/protos 0.11.0-next-2024-08-15-c46220b32.0 → 0.11.0-next-2024-08-15-6525c7284.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -146,7 +146,12 @@ message AppUpdateRequest {
146
146
  optional app_version.info.ComputePool default_pool = 10;
147
147
 
148
148
  // Is the app allowed to use the webview block and manage webview assets?
149
- optional bool is_webview_enabled = 11;
149
+ // Deprecated: Use capabilities instead.
150
+ // TODO: remove this after 2 releases. sometime in (Q4 2024)
151
+ optional bool is_webview_enabled = 11 [deprecated = true];
152
+
153
+ // What gated capabilities does the app have access to?
154
+ repeated devvit.dev_portal.app.info.AppCapability capabilities = 12;
150
155
  }
151
156
 
152
157
  // endregion
@@ -24,7 +24,8 @@ message AppInfo {
24
24
  bool is_delisted = 6;
25
25
  bool is_first_party = 13;
26
26
  bool is_archived = 14;
27
- bool is_webview_enabled = 17;
27
+ // Deprecated: Use capabilities instead.
28
+ bool is_webview_enabled = 17 [deprecated = true];
28
29
 
29
30
  google.protobuf.Timestamp created_at = 7;
30
31
  devvit.dev_portal.reddit.Redditor owner = 8;
@@ -34,7 +35,10 @@ message AppInfo {
34
35
  string privacy_policy = 12;
35
36
 
36
37
  devvit.dev_portal.app_version.info.ComputePool default_pool = 16;
37
- // Last number is 17, is_webview_enabled; next number is 18
38
+
39
+ repeated AppCapability capabilities = 18;
40
+
41
+ // Last number is 18, capabilities: next number is 19
38
42
  }
39
43
 
40
44
  message MultipleAppInfos {
@@ -46,3 +50,9 @@ message AppStats {
46
50
  // How many times/locations is this app currently installed in?
47
51
  int32 install_count = 1;
48
52
  }
53
+
54
+ enum AppCapability {
55
+ UNSPECIFIED = 0;
56
+ WEBVIEW = 1;
57
+ PAYMENTS = 2;
58
+ }