@devvit/public-api 0.11.0-next-2024-07-12-b7357c68f.0 → 0.11.0-next-2024-07-15-4a57db083.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.json CHANGED
@@ -7473,7 +7473,7 @@
7473
7473
  "format": "esm"
7474
7474
  },
7475
7475
  "../protos/dist/types/devvit/plugin/redditapi/common/common_msg.js": {
7476
- "bytes": 164964,
7476
+ "bytes": 165748,
7477
7477
  "imports": [
7478
7478
  {
7479
7479
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -9732,7 +9732,7 @@
9732
9732
  "format": "esm"
9733
9733
  },
9734
9734
  "../protos/dist/types/devvit/plugin/redditapi/users/users_svc.js": {
9735
- "bytes": 29411,
9735
+ "bytes": 31061,
9736
9736
  "imports": [
9737
9737
  {
9738
9738
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -9799,7 +9799,7 @@
9799
9799
  "format": "esm"
9800
9800
  },
9801
9801
  "../protos/dist/types/devvit/plugin/redditapi/subreddits/subreddits_svc.js": {
9802
- "bytes": 79573,
9802
+ "bytes": 84912,
9803
9803
  "imports": [
9804
9804
  {
9805
9805
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -10008,7 +10008,7 @@
10008
10008
  "format": "esm"
10009
10009
  },
10010
10010
  "../protos/dist/types/devvit/plugin/redditapi/moderation/moderation_svc.js": {
10011
- "bytes": 65760,
10011
+ "bytes": 67087,
10012
10012
  "imports": [
10013
10013
  {
10014
10014
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -10065,7 +10065,7 @@
10065
10065
  "format": "esm"
10066
10066
  },
10067
10067
  "../protos/dist/types/devvit/plugin/redditapi/listings/listings_svc.js": {
10068
- "bytes": 25214,
10068
+ "bytes": 35861,
10069
10069
  "imports": [
10070
10070
  {
10071
10071
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -10117,7 +10117,7 @@
10117
10117
  "format": "esm"
10118
10118
  },
10119
10119
  "../protos/dist/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js": {
10120
- "bytes": 39590,
10120
+ "bytes": 45643,
10121
10121
  "imports": [
10122
10122
  {
10123
10123
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -10180,7 +10180,7 @@
10180
10180
  "format": "esm"
10181
10181
  },
10182
10182
  "../protos/dist/types/devvit/plugin/redditapi/flair/flair_svc.js": {
10183
- "bytes": 33309,
10183
+ "bytes": 36413,
10184
10184
  "imports": [
10185
10185
  {
10186
10186
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -13993,7 +13993,7 @@
13993
13993
  "bytesInOutput": 22818
13994
13994
  },
13995
13995
  "../protos/dist/types/devvit/plugin/redditapi/common/common_msg.js": {
13996
- "bytesInOutput": 146607
13996
+ "bytesInOutput": 147289
13997
13997
  },
13998
13998
  "../protos/dist/types/devvit/ui/effects/v1alpha/effect.js": {
13999
13999
  "bytesInOutput": 9025
@@ -14260,13 +14260,13 @@
14260
14260
  "bytesInOutput": 191450
14261
14261
  },
14262
14262
  "../protos/dist/types/devvit/plugin/redditapi/users/users_svc.js": {
14263
- "bytesInOutput": 16576
14263
+ "bytesInOutput": 17630
14264
14264
  },
14265
14265
  "../protos/dist/types/devvit/plugin/redditapi/users/users_msg.js": {
14266
14266
  "bytesInOutput": 68200
14267
14267
  },
14268
14268
  "../protos/dist/types/devvit/plugin/redditapi/subreddits/subreddits_svc.js": {
14269
- "bytesInOutput": 46233
14269
+ "bytesInOutput": 49636
14270
14270
  },
14271
14271
  "../protos/dist/types/devvit/plugin/redditapi/subreddits/subreddits_msg.js": {
14272
14272
  "bytesInOutput": 554189
@@ -14293,19 +14293,19 @@
14293
14293
  "bytesInOutput": 36842
14294
14294
  },
14295
14295
  "../protos/dist/types/devvit/plugin/redditapi/moderation/moderation_svc.js": {
14296
- "bytesInOutput": 38509
14296
+ "bytesInOutput": 39360
14297
14297
  },
14298
14298
  "../protos/dist/types/devvit/plugin/redditapi/moderation/moderation_msg.js": {
14299
14299
  "bytesInOutput": 43555
14300
14300
  },
14301
14301
  "../protos/dist/types/devvit/plugin/redditapi/listings/listings_svc.js": {
14302
- "bytesInOutput": 15070
14302
+ "bytesInOutput": 21837
14303
14303
  },
14304
14304
  "../protos/dist/types/devvit/plugin/redditapi/listings/listings_msg.js": {
14305
14305
  "bytesInOutput": 38038
14306
14306
  },
14307
14307
  "../protos/dist/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js": {
14308
- "bytesInOutput": 23303
14308
+ "bytesInOutput": 27156
14309
14309
  },
14310
14310
  "../protos/dist/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js": {
14311
14311
  "bytesInOutput": 61001
@@ -14317,7 +14317,7 @@
14317
14317
  "bytesInOutput": 6769
14318
14318
  },
14319
14319
  "../protos/dist/types/devvit/plugin/redditapi/flair/flair_svc.js": {
14320
- "bytesInOutput": 19071
14320
+ "bytesInOutput": 21055
14321
14321
  },
14322
14322
  "../protos/dist/types/devvit/gateway/utils/v1alpha/utilities.js": {
14323
14323
  "bytesInOutput": 14630
@@ -14614,7 +14614,7 @@
14614
14614
  "bytesInOutput": 4450
14615
14615
  }
14616
14616
  },
14617
- "bytes": 15056522
14617
+ "bytes": 15128320
14618
14618
  }
14619
14619
  }
14620
14620
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.0-next-2024-07-12-b7357c68f.0",
3
+ "version": "0.11.0-next-2024-07-15-4a57db083.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.0-next-2024-07-12-b7357c68f.0",
34
- "@devvit/shared-types": "0.11.0-next-2024-07-12-b7357c68f.0",
33
+ "@devvit/protos": "0.11.0-next-2024-07-15-4a57db083.0",
34
+ "@devvit/shared-types": "0.11.0-next-2024-07-15-4a57db083.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "core-js": "3.27.2",
@@ -39,9 +39,9 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@ampproject/filesize": "4.3.0",
42
- "@devvit/eslint-config": "0.11.0-next-2024-07-12-b7357c68f.0",
43
- "@devvit/repo-tools": "0.11.0-next-2024-07-12-b7357c68f.0",
44
- "@devvit/tsconfig": "0.11.0-next-2024-07-12-b7357c68f.0",
42
+ "@devvit/eslint-config": "0.11.0-next-2024-07-15-4a57db083.0",
43
+ "@devvit/repo-tools": "0.11.0-next-2024-07-15-4a57db083.0",
44
+ "@devvit/tsconfig": "0.11.0-next-2024-07-15-4a57db083.0",
45
45
  "@microsoft/api-extractor": "7.41.0",
46
46
  "@reddit/faceplate-ui": "11.3.3",
47
47
  "@types/clone-deep": "4.0.1",
@@ -64,5 +64,5 @@
64
64
  }
65
65
  },
66
66
  "source": "./src/index.ts",
67
- "gitHead": "9e094672572731dd9e45ed6547038276d83425e6"
67
+ "gitHead": "4f447a0421f1c41759ca222eecfde38d87689fd6"
68
68
  }
package/public-api.d.ts CHANGED
@@ -827,6 +827,13 @@ declare interface ApiClientConfig {
827
827
  * in the call's metadata.
828
828
  */
829
829
  validateSubredditContext: string;
830
+ /**
831
+ * If set, the generated code should invoke the specified method to parse the response, rather
832
+ * than using the default protojson rehydration.
833
+ * The method specified signature looks like:
834
+ * func fixMethodNameResponse([]bytes) (*ResponseType, error)
835
+ */
836
+ useCustomResponseParser: boolean;
830
837
  }
831
838
 
832
839
  declare const ApiClientConfig: {
@@ -12587,7 +12594,11 @@ declare const FlairDefinition: {
12587
12594
  }): FlairArray;
12588
12595
  };
12589
12596
  readonly responseStream: false;
12590
- readonly options: {};
12597
+ readonly options: {
12598
+ readonly _unknownFields: {
12599
+ readonly 480010: readonly [Uint8Array];
12600
+ };
12601
+ };
12591
12602
  };
12592
12603
  /** https://www.reddit.com/dev/api#POST_api_selectflair */
12593
12604
  readonly selectFlair: {
@@ -12751,7 +12762,11 @@ declare const FlairDefinition: {
12751
12762
  }): FlairArray;
12752
12763
  };
12753
12764
  readonly responseStream: false;
12754
- readonly options: {};
12765
+ readonly options: {
12766
+ readonly _unknownFields: {
12767
+ readonly 480010: readonly [Uint8Array];
12768
+ };
12769
+ };
12755
12770
  };
12756
12771
  };
12757
12772
  };
@@ -18022,7 +18037,11 @@ declare const LinksAndCommentsDefinition: {
18022
18037
  }): JsonWrappedComment;
18023
18038
  };
18024
18039
  readonly responseStream: false;
18025
- readonly options: {};
18040
+ readonly options: {
18041
+ readonly _unknownFields: {
18042
+ readonly 480010: readonly [Uint8Array];
18043
+ };
18044
+ };
18026
18045
  };
18027
18046
  /**
18028
18047
  * Delete a Post or Comment
@@ -19321,7 +19340,11 @@ declare const LinksAndCommentsDefinition: {
19321
19340
  }): JsonWrappedComment;
19322
19341
  };
19323
19342
  readonly responseStream: false;
19324
- readonly options: {};
19343
+ readonly options: {
19344
+ readonly _unknownFields: {
19345
+ readonly 480010: readonly [Uint8Array];
19346
+ };
19347
+ };
19325
19348
  };
19326
19349
  /**
19327
19350
  * Report a Post, Comment, or Private Message
@@ -21430,7 +21453,11 @@ declare const ListingsDefinition: {
21430
21453
  }): ListingResponse;
21431
21454
  };
21432
21455
  readonly responseStream: false;
21433
- readonly options: {};
21456
+ readonly options: {
21457
+ readonly _unknownFields: {
21458
+ readonly 480010: readonly [Uint8Array];
21459
+ };
21460
+ };
21434
21461
  };
21435
21462
  /**
21436
21463
  * Find duplicate posts that reference the same URL as this Post
@@ -21816,7 +21843,11 @@ declare const ListingsDefinition: {
21816
21843
  }): ListingResponse;
21817
21844
  };
21818
21845
  readonly responseStream: false;
21819
- readonly options: {};
21846
+ readonly options: {
21847
+ readonly _unknownFields: {
21848
+ readonly 480010: readonly [Uint8Array];
21849
+ };
21850
+ };
21820
21851
  };
21821
21852
  /**
21822
21853
  * Listing with Hot sort
@@ -27772,7 +27803,11 @@ declare const ModerationDefinition: {
27772
27803
  }): StringValue;
27773
27804
  };
27774
27805
  readonly responseStream: false;
27775
- readonly options: {};
27806
+ readonly options: {
27807
+ readonly _unknownFields: {
27808
+ readonly 480010: readonly [Uint8Array];
27809
+ };
27810
+ };
27776
27811
  };
27777
27812
  };
27778
27813
  };
@@ -52209,7 +52244,11 @@ declare const SubredditsDefinition: {
52209
52244
  }): Listing_2;
52210
52245
  };
52211
52246
  readonly responseStream: false;
52212
- readonly options: {};
52247
+ readonly options: {
52248
+ readonly _unknownFields: {
52249
+ readonly 480010: readonly [Uint8Array];
52250
+ };
52251
+ };
52213
52252
  };
52214
52253
  /** https://www.reddit.com/dev/api#POST_api_delete_sr_banner */
52215
52254
  readonly deleteSrBanner: {
@@ -53868,7 +53907,11 @@ declare const SubredditsDefinition: {
53868
53907
  }): StringValue;
53869
53908
  };
53870
53909
  readonly responseStream: false;
53871
- readonly options: {};
53910
+ readonly options: {
53911
+ readonly _unknownFields: {
53912
+ readonly 480010: readonly [Uint8Array];
53913
+ };
53914
+ };
53872
53915
  };
53873
53916
  /** https://www.reddit.com/dev/api#GET_sticky */
53874
53917
  readonly sticky: {
@@ -68319,7 +68362,11 @@ declare const UsersDefinition: {
68319
68362
  }): BoolValue;
68320
68363
  };
68321
68364
  readonly responseStream: false;
68322
- readonly options: {};
68365
+ readonly options: {
68366
+ readonly _unknownFields: {
68367
+ readonly 480010: readonly [Uint8Array];
68368
+ };
68369
+ };
68323
68370
  };
68324
68371
  /** https://www.reddit.com/dev/api#DELETE_api_v1_me_friends_username */
68325
68372
  readonly unfriendUser: {