@devvit/protos 0.11.0-next-2024-09-13-63d93e8d9.0 → 0.11.0-next-2024-09-16-7f0c45441.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/meta.min.json +13 -12
- package/package.json +6 -6
- package/protos.min.js +2 -2
- package/protos.min.js.map +3 -3
- package/schema/devvit/gql/subreddit_metadata.proto +6 -2
- package/schema/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +8 -0
- package/schema/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +2 -0
- package/schema/snootobuf.devenv.lock +644 -398
- package/schema/snootobuf.lock +644 -398
- package/schema/snootobuf.redditapi.lock +644 -398
- package/schema/snootobuf.ts.lock +644 -398
- package/types/devvit/gateway/resolvers.d.ts +2 -2
- package/types/devvit/gql/subreddit_metadata.d.ts +2 -2
- package/types/devvit/gql/subreddit_metadata.d.ts.map +1 -1
- package/types/devvit/gql/subreddit_metadata.js +10 -10
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +18 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +68 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +411 -105
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +17 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +5 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +14 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +4 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.js +68 -2
@@ -25,8 +25,12 @@ message DevvitSubredditMetadata {
|
|
25
25
|
string slug = 1;
|
26
26
|
// Display name
|
27
27
|
string name = 2;
|
28
|
-
// Owner
|
29
|
-
string
|
28
|
+
// Owner user ID. Eg, `t2_1w72`.
|
29
|
+
string owner_id = 4;
|
30
|
+
|
31
|
+
// Owner userName (use owner_id instead)
|
32
|
+
reserved "owner_name";
|
33
|
+
reserved 3;
|
30
34
|
}
|
31
35
|
|
32
36
|
// List of all installed apps for the loaded Subreddit
|
@@ -217,6 +217,14 @@ message VoteRequest {
|
|
217
217
|
string id = 2;
|
218
218
|
}
|
219
219
|
|
220
|
+
message EditCustomPostRequest {
|
221
|
+
// Post or Comment thing ID
|
222
|
+
// @example "t3_abc123"
|
223
|
+
string thing_id = 1;
|
224
|
+
// Fallback option of a developer custom experience as rich-text
|
225
|
+
optional google.protobuf.StringValue richtext_fallback = 2;
|
226
|
+
}
|
227
|
+
|
220
228
|
// Response Types
|
221
229
|
message JsonWrappedComment {
|
222
230
|
message WrappedComment {
|
@@ -147,6 +147,8 @@ service LinksAndComments {
|
|
147
147
|
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
148
148
|
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
149
149
|
}
|
150
|
+
// Edit or set fields unique to developer platform custom posts
|
151
|
+
rpc EditCustomPost(EditCustomPostRequest) returns (devvit.plugin.redditapi.common.JsonRedditObjects);
|
150
152
|
// Set the "sticky" or "pinned" status of a Post
|
151
153
|
//
|
152
154
|
// If the post was created by the current user they can pin the post
|