@devvit/public-api 0.10.21 → 0.10.22-next-2024-05-29-a25ccce55.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.json CHANGED
@@ -10144,7 +10144,7 @@
10144
10144
  "format": "esm"
10145
10145
  },
10146
10146
  "../protos/dist/types/devvit/plugin/redditapi/listings/listings_svc.js": {
10147
- "bytes": 6228,
10147
+ "bytes": 35535,
10148
10148
  "imports": [
10149
10149
  {
10150
10150
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -14469,7 +14469,7 @@
14469
14469
  "bytesInOutput": 43555
14470
14470
  },
14471
14471
  "../protos/dist/types/devvit/plugin/redditapi/listings/listings_svc.js": {
14472
- "bytesInOutput": 2904
14472
+ "bytesInOutput": 21563
14473
14473
  },
14474
14474
  "../protos/dist/types/devvit/plugin/redditapi/listings/listings_msg.js": {
14475
14475
  "bytesInOutput": 38038
@@ -14775,7 +14775,7 @@
14775
14775
  "bytesInOutput": 2583
14776
14776
  }
14777
14777
  },
14778
- "bytes": 15253103
14778
+ "bytes": 15325498
14779
14779
  }
14780
14780
  }
14781
14781
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.21",
3
+ "version": "0.10.22-next-2024-05-29-a25ccce55.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",
34
- "@devvit/shared-types": "0.10.21",
33
+ "@devvit/protos": "0.10.22-next-2024-05-29-a25ccce55.0",
34
+ "@devvit/shared-types": "0.10.22-next-2024-05-29-a25ccce55.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.21",
43
43
  "@devvit/repo-tools": "0.10.21",
44
- "@devvit/tsconfig": "0.10.21",
44
+ "@devvit/tsconfig": "0.10.22-next-2024-05-29-a25ccce55.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": "378a516dc4733f119630a90ba515da6795deb6e7"
67
+ "gitHead": "65928987f67d40dfd771d716cc81a25d42d60059"
68
68
  }
package/public-api.d.ts CHANGED
@@ -14975,9 +14975,9 @@ declare interface GetBestRequest {
14975
14975
  * Use when fetching subsequent pages with `before` or `after`.
14976
14976
  */
14977
14977
  count?: number | undefined;
14978
- /** One of: "num_comments", "new" */
14978
+ /** The maximum number of items desired (default: 25, maximum: 100) */
14979
14979
  limit?: number | undefined;
14980
- /** Show all results regardless of user preferences */
14980
+ /** Adding the string "all" will show all results regardless of user preferences */
14981
14981
  show?: string | undefined;
14982
14982
  }
14983
14983
 
@@ -15296,7 +15296,7 @@ declare interface GetDuplicatesRequest {
15296
15296
  count?: number | undefined;
15297
15297
  /** Only return duplicates that are crossposting this post */
15298
15298
  crosspostsOnly?: boolean | undefined;
15299
- /** Show all results regardless of user preferences */
15299
+ /** Adding the string "all" will show all results regardless of user preferences */
15300
15300
  show?: string | undefined;
15301
15301
  }
15302
15302
 
@@ -15364,17 +15364,14 @@ declare interface GetHotRequest {
15364
15364
  * @example "t3_abc123"
15365
15365
  */
15366
15366
  after?: string | undefined;
15367
- /** One of: "num_comments", "new" */
15367
+ /** The maximum number of items desired (default: 25, maximum: 100) */
15368
15368
  limit?: number | undefined;
15369
15369
  /**
15370
15370
  * The number of items seen so far.
15371
15371
  * Use when fetching subsequent pages with `before` or `after`.
15372
15372
  */
15373
15373
  count?: number | undefined;
15374
- /**
15375
- * The number of items seen so far.
15376
- * Use when fetching subsequent pages with `before` or `after`.
15377
- */
15374
+ /** Adding the string "all" will show all results regardless of user preferences */
15378
15375
  show?: string | undefined;
15379
15376
  /**
15380
15377
  * If provided filter the results by geographic location
@@ -15517,7 +15514,7 @@ declare interface GetNewRequest {
15517
15514
  * @example "t3_abc123"
15518
15515
  */
15519
15516
  after?: string | undefined;
15520
- /** One of: "num_comments", "new" */
15517
+ /** The maximum number of items desired (default: 25, maximum: 100) */
15521
15518
  limit?: number | undefined;
15522
15519
  /**
15523
15520
  * The number of items seen so far.
@@ -15657,7 +15654,7 @@ declare interface GetRisingRequest {
15657
15654
  * Use when fetching subsequent pages with `before` or `after`.
15658
15655
  */
15659
15656
  count?: number | undefined;
15660
- /** One of: "num_comments", "new" */
15657
+ /** The maximum number of items desired (default: 25, maximum: 100) */
15661
15658
  limit?: number | undefined;
15662
15659
  /**
15663
15660
  * The number of items seen so far.
@@ -15710,10 +15707,10 @@ declare interface GetSortRequest {
15710
15707
  limit?: number | undefined;
15711
15708
  /**
15712
15709
  * The number of items seen so far.
15713
- * Use when fetching subsequent pages with `before` or `after`.
15710
+ * Use when fetching subsequent pages with `before` or `after`, defaults to 0
15714
15711
  */
15715
15712
  count?: number | undefined;
15716
- /** Show all results regardless of user preferences */
15713
+ /** Adding the string "all" will show all results regardless of user preferences */
15717
15714
  show?: string | undefined;
15718
15715
  /**
15719
15716
  * Show results within the given timeframe (default: "day")
@@ -21890,7 +21887,11 @@ declare const ListingsDefinition: {
21890
21887
  }): Listing_2;
21891
21888
  };
21892
21889
  readonly responseStream: false;
21893
- readonly options: {};
21890
+ readonly options: {
21891
+ readonly _unknownFields: {
21892
+ readonly 480010: readonly [Uint8Array];
21893
+ };
21894
+ };
21894
21895
  };
21895
21896
  /**
21896
21897
  * Create a custom listing with the Post IDs provided
@@ -22255,7 +22256,11 @@ declare const ListingsDefinition: {
22255
22256
  }): Listing_2;
22256
22257
  };
22257
22258
  readonly responseStream: false;
22258
- readonly options: {};
22259
+ readonly options: {
22260
+ readonly _unknownFields: {
22261
+ readonly 480010: readonly [Uint8Array];
22262
+ };
22263
+ };
22259
22264
  };
22260
22265
  /**
22261
22266
  * Get a comment tree for a Post
@@ -22638,7 +22643,11 @@ declare const ListingsDefinition: {
22638
22643
  }): ListingResponse;
22639
22644
  };
22640
22645
  readonly responseStream: false;
22641
- readonly options: {};
22646
+ readonly options: {
22647
+ readonly _unknownFields: {
22648
+ readonly 480010: readonly [Uint8Array];
22649
+ };
22650
+ };
22642
22651
  };
22643
22652
  /**
22644
22653
  * Find duplicate posts that reference the same URL as this Post
@@ -23023,7 +23032,11 @@ declare const ListingsDefinition: {
23023
23032
  }): ListingResponse;
23024
23033
  };
23025
23034
  readonly responseStream: false;
23026
- readonly options: {};
23035
+ readonly options: {
23036
+ readonly _unknownFields: {
23037
+ readonly 480010: readonly [Uint8Array];
23038
+ };
23039
+ };
23027
23040
  };
23028
23041
  /**
23029
23042
  * Listing with Hot sort
@@ -23400,7 +23413,11 @@ declare const ListingsDefinition: {
23400
23413
  }): Listing_2;
23401
23414
  };
23402
23415
  readonly responseStream: false;
23403
- readonly options: {};
23416
+ readonly options: {
23417
+ readonly _unknownFields: {
23418
+ readonly 480010: readonly [Uint8Array];
23419
+ };
23420
+ };
23404
23421
  };
23405
23422
  /**
23406
23423
  * Listing with New sort
@@ -23775,7 +23792,11 @@ declare const ListingsDefinition: {
23775
23792
  }): Listing_2;
23776
23793
  };
23777
23794
  readonly responseStream: false;
23778
- readonly options: {};
23795
+ readonly options: {
23796
+ readonly _unknownFields: {
23797
+ readonly 480010: readonly [Uint8Array];
23798
+ };
23799
+ };
23779
23800
  };
23780
23801
  /**
23781
23802
  * Listing with Rising sort
@@ -24150,7 +24171,11 @@ declare const ListingsDefinition: {
24150
24171
  }): Listing_2;
24151
24172
  };
24152
24173
  readonly responseStream: false;
24153
- readonly options: {};
24174
+ readonly options: {
24175
+ readonly _unknownFields: {
24176
+ readonly 480010: readonly [Uint8Array];
24177
+ };
24178
+ };
24154
24179
  };
24155
24180
  /**
24156
24181
  * Listing with Top or Controversial sort
@@ -24529,7 +24554,11 @@ declare const ListingsDefinition: {
24529
24554
  }): Listing_2;
24530
24555
  };
24531
24556
  readonly responseStream: false;
24532
- readonly options: {};
24557
+ readonly options: {
24558
+ readonly _unknownFields: {
24559
+ readonly 480010: readonly [Uint8Array];
24560
+ };
24561
+ };
24533
24562
  };
24534
24563
  };
24535
24564
  };