@devvit/public-api 0.10.21-next-2024-05-15-c4d60f773.0 → 0.10.21-next-2024-05-15-b2c0ec71b.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.json CHANGED
@@ -7510,7 +7510,7 @@
7510
7510
  "format": "esm"
7511
7511
  },
7512
7512
  "../protos/dist/types/devvit/plugin/redditapi/common/common_msg.js": {
7513
- "bytes": 162703,
7513
+ "bytes": 163351,
7514
7514
  "imports": [
7515
7515
  {
7516
7516
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -9790,7 +9790,7 @@
9790
9790
  "format": "esm"
9791
9791
  },
9792
9792
  "../protos/dist/types/devvit/plugin/redditapi/widgets/widgets_svc.js": {
9793
- "bytes": 15941,
9793
+ "bytes": 47031,
9794
9794
  "imports": [
9795
9795
  {
9796
9796
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -14135,7 +14135,7 @@
14135
14135
  "bytesInOutput": 22818
14136
14136
  },
14137
14137
  "../protos/dist/types/devvit/plugin/redditapi/common/common_msg.js": {
14138
- "bytesInOutput": 144629
14138
+ "bytesInOutput": 145209
14139
14139
  },
14140
14140
  "../protos/dist/types/devvit/ui/effects/v1alpha/effect.js": {
14141
14141
  "bytesInOutput": 9025
@@ -14402,7 +14402,7 @@
14402
14402
  "bytesInOutput": 57764
14403
14403
  },
14404
14404
  "../protos/dist/types/devvit/plugin/redditapi/widgets/widgets_svc.js": {
14405
- "bytesInOutput": 7454
14405
+ "bytesInOutput": 27312
14406
14406
  },
14407
14407
  "../protos/dist/types/devvit/plugin/redditapi/widgets/widgets_msg.js": {
14408
14408
  "bytesInOutput": 191666
@@ -14750,7 +14750,7 @@
14750
14750
  "bytesInOutput": 370
14751
14751
  }
14752
14752
  },
14753
- "bytes": 14732664
14753
+ "bytes": 14811910
14754
14754
  }
14755
14755
  }
14756
14756
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.21-next-2024-05-15-c4d60f773.0",
3
+ "version": "0.10.21-next-2024-05-15-b2c0ec71b.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.10.21-next-2024-05-15-c4d60f773.0",
34
- "@devvit/shared-types": "0.10.21-next-2024-05-15-c4d60f773.0",
33
+ "@devvit/protos": "0.10.21-next-2024-05-15-b2c0ec71b.0",
34
+ "@devvit/shared-types": "0.10.21-next-2024-05-15-b2c0ec71b.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "core-js": "3.27.2",
@@ -41,7 +41,7 @@
41
41
  "@ampproject/filesize": "4.3.0",
42
42
  "@devvit/eslint-config": "0.10.20",
43
43
  "@devvit/repo-tools": "0.10.20",
44
- "@devvit/tsconfig": "0.10.21-next-2024-05-15-c4d60f773.0",
44
+ "@devvit/tsconfig": "0.10.21-next-2024-05-15-b2c0ec71b.0",
45
45
  "@microsoft/api-extractor": "7.41.0",
46
46
  "@reddit/faceplate-ui": "11.1.0",
47
47
  "@types/clone-deep": "4.0.1",
@@ -64,5 +64,5 @@
64
64
  }
65
65
  },
66
66
  "source": "./src/index.ts",
67
- "gitHead": "a2055adc7ccd8b786d199582d409bb7ad2476204"
67
+ "gitHead": "d69a3c6725f2050a05572b734bfe930ccd053c51"
68
68
  }
package/public-api.d.ts CHANGED
@@ -823,6 +823,11 @@ declare interface ApiClientConfig {
823
823
  * Note: in the current implementation, this only works for bodyType=FORM_SNAKE.
824
824
  */
825
825
  enforceJson: boolean;
826
+ /**
827
+ * Some requests involve sending a specific `kind` field that's not otherwise part of the
828
+ * request message. If this field is specified, that will be included in the request.
829
+ */
830
+ requestKindValue: string;
826
831
  }
827
832
 
828
833
  declare const ApiClientConfig: {
@@ -70068,7 +70073,11 @@ declare const WidgetsDefinition: {
70068
70073
  }): ButtonWidget_2;
70069
70074
  };
70070
70075
  readonly responseStream: false;
70071
- readonly options: {};
70076
+ readonly options: {
70077
+ readonly _unknownFields: {
70078
+ readonly 480010: readonly [Uint8Array];
70079
+ };
70080
+ };
70072
70081
  };
70073
70082
  /**
70074
70083
  * Add an image widget to a subreddit.
@@ -70153,7 +70162,11 @@ declare const WidgetsDefinition: {
70153
70162
  }): ImageWidget_2;
70154
70163
  };
70155
70164
  readonly responseStream: false;
70156
- readonly options: {};
70165
+ readonly options: {
70166
+ readonly _unknownFields: {
70167
+ readonly 480010: readonly [Uint8Array];
70168
+ };
70169
+ };
70157
70170
  };
70158
70171
  /**
70159
70172
  * Add a calendar widget to a subreddit.
@@ -70252,7 +70265,11 @@ declare const WidgetsDefinition: {
70252
70265
  }): CalendarWidget_2;
70253
70266
  };
70254
70267
  readonly responseStream: false;
70255
- readonly options: {};
70268
+ readonly options: {
70269
+ readonly _unknownFields: {
70270
+ readonly 480010: readonly [Uint8Array];
70271
+ };
70272
+ };
70256
70273
  };
70257
70274
  /**
70258
70275
  * Add a text widget to a subreddit.
@@ -70315,7 +70332,11 @@ declare const WidgetsDefinition: {
70315
70332
  }): TextAreaWidget_2;
70316
70333
  };
70317
70334
  readonly responseStream: false;
70318
- readonly options: {};
70335
+ readonly options: {
70336
+ readonly _unknownFields: {
70337
+ readonly 480010: readonly [Uint8Array];
70338
+ };
70339
+ };
70319
70340
  };
70320
70341
  /**
70321
70342
  * Add a community list widget to a subreddit.
@@ -70398,7 +70419,11 @@ declare const WidgetsDefinition: {
70398
70419
  }): CommunityListWidget_2;
70399
70420
  };
70400
70421
  readonly responseStream: false;
70401
- readonly options: {};
70422
+ readonly options: {
70423
+ readonly _unknownFields: {
70424
+ readonly 480010: readonly [Uint8Array];
70425
+ };
70426
+ };
70402
70427
  };
70403
70428
  /**
70404
70429
  * Add a post flair widget to a subreddit.
@@ -70467,7 +70492,11 @@ declare const WidgetsDefinition: {
70467
70492
  }): PostFlairWidget_2;
70468
70493
  };
70469
70494
  readonly responseStream: false;
70470
- readonly options: {};
70495
+ readonly options: {
70496
+ readonly _unknownFields: {
70497
+ readonly 480010: readonly [Uint8Array];
70498
+ };
70499
+ };
70471
70500
  };
70472
70501
  /**
70473
70502
  * Add a custom widget to a subreddit. This is an experimental feature.
@@ -70563,7 +70592,11 @@ declare const WidgetsDefinition: {
70563
70592
  }): CustomWidget_2;
70564
70593
  };
70565
70594
  readonly responseStream: false;
70566
- readonly options: {};
70595
+ readonly options: {
70596
+ readonly _unknownFields: {
70597
+ readonly 480010: readonly [Uint8Array];
70598
+ };
70599
+ };
70567
70600
  };
70568
70601
  /**
70569
70602
  * Delete a widget from a subreddit.
@@ -70598,7 +70631,11 @@ declare const WidgetsDefinition: {
70598
70631
  fromPartial(_: {}): Empty;
70599
70632
  };
70600
70633
  readonly responseStream: false;
70601
- readonly options: {};
70634
+ readonly options: {
70635
+ readonly _unknownFields: {
70636
+ readonly 480010: readonly [Uint8Array];
70637
+ };
70638
+ };
70602
70639
  };
70603
70640
  /**
70604
70641
  * Update a button widget on a subreddit.
@@ -70751,7 +70788,11 @@ declare const WidgetsDefinition: {
70751
70788
  }): ButtonWidget_2;
70752
70789
  };
70753
70790
  readonly responseStream: false;
70754
- readonly options: {};
70791
+ readonly options: {
70792
+ readonly _unknownFields: {
70793
+ readonly 480010: readonly [Uint8Array];
70794
+ };
70795
+ };
70755
70796
  };
70756
70797
  /**
70757
70798
  * Update an image widget on a subreddit.
@@ -70838,7 +70879,11 @@ declare const WidgetsDefinition: {
70838
70879
  }): ImageWidget_2;
70839
70880
  };
70840
70881
  readonly responseStream: false;
70841
- readonly options: {};
70882
+ readonly options: {
70883
+ readonly _unknownFields: {
70884
+ readonly 480010: readonly [Uint8Array];
70885
+ };
70886
+ };
70842
70887
  };
70843
70888
  /**
70844
70889
  * Update a calendar widget on a subreddit.
@@ -70939,7 +70984,11 @@ declare const WidgetsDefinition: {
70939
70984
  }): CalendarWidget_2;
70940
70985
  };
70941
70986
  readonly responseStream: false;
70942
- readonly options: {};
70987
+ readonly options: {
70988
+ readonly _unknownFields: {
70989
+ readonly 480010: readonly [Uint8Array];
70990
+ };
70991
+ };
70943
70992
  };
70944
70993
  /**
70945
70994
  * Update a text widget on a subreddit.
@@ -71004,7 +71053,11 @@ declare const WidgetsDefinition: {
71004
71053
  }): TextAreaWidget_2;
71005
71054
  };
71006
71055
  readonly responseStream: false;
71007
- readonly options: {};
71056
+ readonly options: {
71057
+ readonly _unknownFields: {
71058
+ readonly 480010: readonly [Uint8Array];
71059
+ };
71060
+ };
71008
71061
  };
71009
71062
  /**
71010
71063
  * Update a community list widget on a subreddit.
@@ -71067,7 +71120,11 @@ declare const WidgetsDefinition: {
71067
71120
  }): UpdateCommunityListWidgetResponse;
71068
71121
  };
71069
71122
  readonly responseStream: false;
71070
- readonly options: {};
71123
+ readonly options: {
71124
+ readonly _unknownFields: {
71125
+ readonly 480010: readonly [Uint8Array];
71126
+ };
71127
+ };
71071
71128
  };
71072
71129
  /**
71073
71130
  * Update a post flair widget on a subreddit.
@@ -71138,7 +71195,11 @@ declare const WidgetsDefinition: {
71138
71195
  }): PostFlairWidget_2;
71139
71196
  };
71140
71197
  readonly responseStream: false;
71141
- readonly options: {};
71198
+ readonly options: {
71199
+ readonly _unknownFields: {
71200
+ readonly 480010: readonly [Uint8Array];
71201
+ };
71202
+ };
71142
71203
  };
71143
71204
  /**
71144
71205
  * Update a custom widget on a subreddit.
@@ -71235,7 +71296,11 @@ declare const WidgetsDefinition: {
71235
71296
  }): CustomWidget_2;
71236
71297
  };
71237
71298
  readonly responseStream: false;
71238
- readonly options: {};
71299
+ readonly options: {
71300
+ readonly _unknownFields: {
71301
+ readonly 480010: readonly [Uint8Array];
71302
+ };
71303
+ };
71239
71304
  };
71240
71305
  /**
71241
71306
  * Get an S3 upload lease for a widget image. This is used to upload images for image widgets.
@@ -71290,7 +71355,11 @@ declare const WidgetsDefinition: {
71290
71355
  }): GetWidgetImageUploadLeaseResponse;
71291
71356
  };
71292
71357
  readonly responseStream: false;
71293
- readonly options: {};
71358
+ readonly options: {
71359
+ readonly _unknownFields: {
71360
+ readonly 480010: readonly [Uint8Array];
71361
+ };
71362
+ };
71294
71363
  };
71295
71364
  /**
71296
71365
  * Update the order of widgets on a subreddit.
@@ -71325,7 +71394,11 @@ declare const WidgetsDefinition: {
71325
71394
  fromPartial(_: {}): Empty;
71326
71395
  };
71327
71396
  readonly responseStream: false;
71328
- readonly options: {};
71397
+ readonly options: {
71398
+ readonly _unknownFields: {
71399
+ readonly 480010: readonly [Uint8Array];
71400
+ };
71401
+ };
71329
71402
  };
71330
71403
  /**
71331
71404
  * Get a list of widgets on a subreddit.
@@ -71594,7 +71667,11 @@ declare const WidgetsDefinition: {
71594
71667
  }): GetWidgetsResponse;
71595
71668
  };
71596
71669
  readonly responseStream: false;
71597
- readonly options: {};
71670
+ readonly options: {
71671
+ readonly _unknownFields: {
71672
+ readonly 480010: readonly [Uint8Array];
71673
+ };
71674
+ };
71598
71675
  };
71599
71676
  };
71600
71677
  };