@devvit/protos 0.11.0-next-2024-08-15-c46220b32.0 → 0.11.0-next-2024-08-15-0456f603c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +4 -4
- package/package.json +5 -5
- package/protos.min.js +2 -2
- package/protos.min.js.map +3 -3
- package/schema/devvit/dev_portal/app/app.proto +6 -1
- package/schema/devvit/dev_portal/app/info/app_info.proto +12 -2
- package/schema/snootobuf.lock +517 -236
- package/schema/snootobuf.ts.lock +517 -236
- package/types/devvit/dev_portal/app/app.d.ts +10 -2
- package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/app.js +27 -1
- package/types/devvit/dev_portal/app/info/app_info.d.ts +14 -1
- package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/info/app_info.js +63 -0
- package/types/devvit/dev_portal/dev_portal.d.ts +42 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
+
}
|