@devvit/protos 0.10.20-next-2024-05-07-d0f4d978f.0 → 0.10.20-next-2024-05-07-be1701188.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ service LinksAndComments {
23
23
  // @see {@link https://www.reddit.com/dev/api#POST_api_del}
24
24
  rpc Del(BasicIdRequest) returns (google.protobuf.Empty) {
25
25
  option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
26
- option (devvit.plugin.redditapi.common.api_client_config).path = '/api/report';
26
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/del';
27
27
  option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
28
28
  }
29
29
  // Edit the body text of a Comment or Post
@@ -67,7 +67,7 @@ service LinksAndComments {
67
67
  // @see {@link https://www.reddit.com/dev/api#POST_api_lock}
68
68
  rpc Lock(BasicIdRequest) returns (google.protobuf.Empty) {
69
69
  option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
70
- option (devvit.plugin.redditapi.common.api_client_config).path = '/api/report';
70
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/lock';
71
71
  option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
72
72
  }
73
73
  // Marks a Post as Not-Safe-For-Work
@@ -193,7 +193,7 @@ export const LinksAndCommentsDefinition = {
193
193
  _unknownFields: {
194
194
  480010: [
195
195
  new Uint8Array([6, 10, 4, 80, 79, 83, 84]),
196
- new Uint8Array([13, 18, 11, 47, 97, 112, 105, 47, 114, 101, 112, 111, 114, 116]),
196
+ new Uint8Array([10, 18, 8, 47, 97, 112, 105, 47, 100, 101, 108]),
197
197
  new Uint8Array([2, 24, 4]),
198
198
  ],
199
199
  },
@@ -393,7 +393,7 @@ export const LinksAndCommentsDefinition = {
393
393
  _unknownFields: {
394
394
  480010: [
395
395
  new Uint8Array([6, 10, 4, 80, 79, 83, 84]),
396
- new Uint8Array([13, 18, 11, 47, 97, 112, 105, 47, 114, 101, 112, 111, 114, 116]),
396
+ new Uint8Array([11, 18, 9, 47, 97, 112, 105, 47, 108, 111, 99, 107]),
397
397
  new Uint8Array([2, 24, 4]),
398
398
  ],
399
399
  },