@devvit/protos 0.11.4-next-2024-12-03-674647757.0 → 0.11.4-next-2024-12-04-1757fb455.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/schema/devvit/dev_portal/app/app.proto +3 -0
- package/schema/devvit/dev_portal/app/info/app_info.proto +13 -1
- package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
- package/schema/snootobuf.devenv.lock +409 -289
- package/schema/snootobuf.lock +409 -289
- package/schema/snootobuf.redditapi.lock +409 -289
- package/schema/snootobuf.ts.lock +409 -289
- package/types/devvit/dev_portal/app/app.d.ts +2 -0
- package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/app.js +17 -0
- package/types/devvit/dev_portal/app/info/app_info.d.ts +13 -0
- package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/info/app_info.js +17 -0
- package/types/devvit/dev_portal/dev_portal.d.ts +42 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/protos",
|
3
|
-
"version": "0.11.4-next-2024-12-
|
3
|
+
"version": "0.11.4-next-2024-12-04-1757fb455.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -45,8 +45,8 @@
|
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@ampproject/filesize": "4.3.0",
|
48
|
-
"@devvit/repo-tools": "0.11.4-next-2024-12-
|
49
|
-
"@devvit/tsconfig": "0.11.4-next-2024-12-
|
48
|
+
"@devvit/repo-tools": "0.11.4-next-2024-12-04-1757fb455.0",
|
49
|
+
"@devvit/tsconfig": "0.11.4-next-2024-12-04-1757fb455.0",
|
50
50
|
"@protobuf-ts/plugin": "2.9.3",
|
51
51
|
"@types/long": "4.0.2",
|
52
52
|
"chokidar-cli": "3.0.0",
|
@@ -80,5 +80,5 @@
|
|
80
80
|
]
|
81
81
|
}
|
82
82
|
},
|
83
|
-
"gitHead": "
|
83
|
+
"gitHead": "e58e25cc0800622167eca6b3d7ace54bcde19269"
|
84
84
|
}
|
@@ -160,6 +160,9 @@ message AppUpdateRequest {
|
|
160
160
|
|
161
161
|
// What gated capabilities does the app have access to?
|
162
162
|
repeated devvit.dev_portal.app.info.AppCapability capabilities = 12;
|
163
|
+
|
164
|
+
// Is the app installation in small subreddits restricted (the actual limit is specified in the code)
|
165
|
+
optional bool min_subreddit_size_restriction_enabled = 13;
|
163
166
|
}
|
164
167
|
|
165
168
|
// endregion
|
@@ -15,14 +15,22 @@ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-c
|
|
15
15
|
// Contains the details of an app. For field documentation, refer to the Prisma schema.
|
16
16
|
message AppInfo {
|
17
17
|
string id = 1;
|
18
|
+
// A unique, immutable, and somewhat more readable name for the app; can only be URL-safe chars
|
18
19
|
string slug = 2;
|
20
|
+
// Human readable name used to be displayed on UIs
|
19
21
|
string name = 3;
|
22
|
+
// Human readable description
|
20
23
|
string description = 4;
|
24
|
+
// The t2_ id of the app account associated with this app
|
21
25
|
devvit.dev_portal.reddit.Redditor app_account = 15;
|
22
26
|
|
27
|
+
// App is NSFW (default: false)
|
23
28
|
bool is_nsfw = 5;
|
29
|
+
// Flag to flip when *admins* want to take an app off the App Store listings (default: false)
|
24
30
|
bool is_delisted = 6;
|
31
|
+
// Flag to designate an app maintained by Reddit, Inc. (default: false)
|
25
32
|
bool is_first_party = 13;
|
33
|
+
// Flag to flip when *app owners* want to take their app off App Store listings (default: false)
|
26
34
|
bool is_archived = 14;
|
27
35
|
// Deprecated: Use capabilities instead.
|
28
36
|
bool is_webview_enabled = 17 [deprecated = true];
|
@@ -31,16 +39,20 @@ message AppInfo {
|
|
31
39
|
devvit.dev_portal.reddit.Redditor owner = 8;
|
32
40
|
repeated categories.Categories categories = 9;
|
33
41
|
AppStats stats = 10;
|
42
|
+
// Human readable terms and conditions
|
34
43
|
string terms_and_conditions = 11;
|
44
|
+
// Human readable privacy policy
|
35
45
|
string privacy_policy = 12;
|
36
46
|
|
37
47
|
devvit.dev_portal.app_version.info.ComputePool default_pool = 16;
|
38
48
|
|
39
49
|
repeated AppCapability capabilities = 18;
|
40
50
|
|
51
|
+
// Flag to flip when *admins* want to switch the app off if the app is behaving oddly, has a bad bug, or breaking something
|
41
52
|
bool is_disabled = 19;
|
42
53
|
|
43
|
-
//
|
54
|
+
// Flag to forbid the app installation in small subreddits (the actual upper limit is specified in the code) (default: false)
|
55
|
+
bool min_subreddit_size_restriction_enabled = 20;
|
44
56
|
}
|
45
57
|
|
46
58
|
message MultipleAppInfos {
|
@@ -72,7 +72,7 @@ message UIResponse {
|
|
72
72
|
// Render the post with Blocks
|
73
73
|
Block blocks = 3;
|
74
74
|
|
75
|
-
//
|
75
|
+
// Render a menu. No one is using this yet, but it's here for an example. I'd love to see this migrate.
|
76
76
|
// CustomAction custom_actions = 4;
|
77
77
|
}
|
78
78
|
}
|