@devvit/public-api 0.10.19-next-2024-04-12-e3d013b5d.0 → 0.10.19-next-2024-04-12-db1b48005.0
Sign up to get free protection for your applications and to get access to all the features.
- package/apis/reddit/RedditAPIClient.d.ts +1 -0
- package/apis/reddit/RedditAPIClient.d.ts.map +1 -1
- package/apis/reddit/RedditAPIClient.js +1 -0
- package/meta.json +43 -43
- package/meta.min.json +2 -2
- package/package.json +6 -6
- package/public-api.d.ts +1 -0
- package/public-api.iife.js +64 -63
- package/public-api.min.js.map +2 -2
@@ -240,6 +240,7 @@ export declare class RedditAPIClient {
|
|
240
240
|
* @param options.commentId - The ID of the comment e.g. 't1_1qjpg'
|
241
241
|
* @param options.limit - The maximum number of comments to return. e.g. 1000
|
242
242
|
* @param options.pageSize - The number of comments to return per request. e.g. 100
|
243
|
+
* @param options.sort - The sort order of the comments. e.g. 'new'
|
243
244
|
* @returns A Listing of Comment objects.
|
244
245
|
* @example
|
245
246
|
* ```ts
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RedditAPIClient.d.ts","sourceRoot":"","sources":["../../../src/apis/reddit/RedditAPIClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAK3D,OAAO,KAAK,EAEV,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,4BAA4B,EAC5B,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,OAAO,EACP,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,oCAAoC,EACpC,yBAAyB,EACzB,mBAAmB,EAC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AC,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC;CAUlE"}
|
@@ -273,6 +273,7 @@ export class RedditAPIClient {
|
|
273
273
|
* @param options.commentId - The ID of the comment e.g. 't1_1qjpg'
|
274
274
|
* @param options.limit - The maximum number of comments to return. e.g. 1000
|
275
275
|
* @param options.pageSize - The number of comments to return per request. e.g. 100
|
276
|
+
* @param options.sort - The sort order of the comments. e.g. 'new'
|
276
277
|
* @returns A Listing of Comment objects.
|
277
278
|
* @example
|
278
279
|
* ```ts
|
package/meta.json
CHANGED
@@ -9131,24 +9131,14 @@
|
|
9131
9131
|
],
|
9132
9132
|
"format": "esm"
|
9133
9133
|
},
|
9134
|
-
"../protos/dist/types/devvit/plugin/
|
9135
|
-
"bytes":
|
9134
|
+
"../protos/dist/types/devvit/plugin/timer/timer.js": {
|
9135
|
+
"bytes": 2596,
|
9136
9136
|
"imports": [
|
9137
|
-
{
|
9138
|
-
"path": "../../node_modules/long/src/long.js",
|
9139
|
-
"kind": "import-statement",
|
9140
|
-
"original": "long"
|
9141
|
-
},
|
9142
9137
|
{
|
9143
9138
|
"path": "../../node_modules/protobufjs/minimal.js",
|
9144
9139
|
"kind": "import-statement",
|
9145
9140
|
"original": "protobufjs/minimal.js"
|
9146
9141
|
},
|
9147
|
-
{
|
9148
|
-
"path": "../../node_modules/rxjs/dist/esm5/operators/index.js",
|
9149
|
-
"kind": "import-statement",
|
9150
|
-
"original": "rxjs/operators"
|
9151
|
-
},
|
9152
9142
|
{
|
9153
9143
|
"path": "../protos/dist/types/google/protobuf/empty.js",
|
9154
9144
|
"kind": "import-statement",
|
@@ -9162,14 +9152,24 @@
|
|
9162
9152
|
],
|
9163
9153
|
"format": "esm"
|
9164
9154
|
},
|
9165
|
-
"../protos/dist/types/devvit/plugin/
|
9166
|
-
"bytes":
|
9155
|
+
"../protos/dist/types/devvit/plugin/streambroker/streambroker.js": {
|
9156
|
+
"bytes": 6389,
|
9167
9157
|
"imports": [
|
9158
|
+
{
|
9159
|
+
"path": "../../node_modules/long/src/long.js",
|
9160
|
+
"kind": "import-statement",
|
9161
|
+
"original": "long"
|
9162
|
+
},
|
9168
9163
|
{
|
9169
9164
|
"path": "../../node_modules/protobufjs/minimal.js",
|
9170
9165
|
"kind": "import-statement",
|
9171
9166
|
"original": "protobufjs/minimal.js"
|
9172
9167
|
},
|
9168
|
+
{
|
9169
|
+
"path": "../../node_modules/rxjs/dist/esm5/operators/index.js",
|
9170
|
+
"kind": "import-statement",
|
9171
|
+
"original": "rxjs/operators"
|
9172
|
+
},
|
9173
9173
|
{
|
9174
9174
|
"path": "../protos/dist/types/google/protobuf/empty.js",
|
9175
9175
|
"kind": "import-statement",
|
@@ -11814,14 +11814,14 @@
|
|
11814
11814
|
"original": "./types/devvit/plugin/v2events/v2events.js"
|
11815
11815
|
},
|
11816
11816
|
{
|
11817
|
-
"path": "../protos/dist/types/devvit/plugin/
|
11817
|
+
"path": "../protos/dist/types/devvit/plugin/timer/timer.js",
|
11818
11818
|
"kind": "import-statement",
|
11819
|
-
"original": "./types/devvit/plugin/
|
11819
|
+
"original": "./types/devvit/plugin/timer/timer.js"
|
11820
11820
|
},
|
11821
11821
|
{
|
11822
|
-
"path": "../protos/dist/types/devvit/plugin/
|
11822
|
+
"path": "../protos/dist/types/devvit/plugin/streambroker/streambroker.js",
|
11823
11823
|
"kind": "import-statement",
|
11824
|
-
"original": "./types/devvit/plugin/
|
11824
|
+
"original": "./types/devvit/plugin/streambroker/streambroker.js"
|
11825
11825
|
},
|
11826
11826
|
{
|
11827
11827
|
"path": "../protos/dist/types/devvit/plugin/scheduler/scheduler.js",
|
@@ -11963,11 +11963,6 @@
|
|
11963
11963
|
"kind": "import-statement",
|
11964
11964
|
"original": "./types/devvit/events/v1alpha/events.js"
|
11965
11965
|
},
|
11966
|
-
{
|
11967
|
-
"path": "../protos/dist/types/devvit/dev_portal/reddit/redditor.js",
|
11968
|
-
"kind": "import-statement",
|
11969
|
-
"original": "./types/devvit/dev_portal/reddit/redditor.js"
|
11970
|
-
},
|
11971
11966
|
{
|
11972
11967
|
"path": "../protos/dist/types/devvit/dev_portal/waitlist/waitlist.twirp-client.js",
|
11973
11968
|
"kind": "import-statement",
|
@@ -11978,6 +11973,11 @@
|
|
11978
11973
|
"kind": "import-statement",
|
11979
11974
|
"original": "./types/devvit/dev_portal/waitlist/waitlist.js"
|
11980
11975
|
},
|
11976
|
+
{
|
11977
|
+
"path": "../protos/dist/types/devvit/dev_portal/reddit/redditor.js",
|
11978
|
+
"kind": "import-statement",
|
11979
|
+
"original": "./types/devvit/dev_portal/reddit/redditor.js"
|
11980
|
+
},
|
11981
11981
|
{
|
11982
11982
|
"path": "../protos/dist/types/devvit/dev_portal/nutrition/nutrition.js",
|
11983
11983
|
"kind": "import-statement",
|
@@ -12118,6 +12118,16 @@
|
|
12118
12118
|
"kind": "import-statement",
|
12119
12119
|
"original": "./types/devvit/ui/form_builder/v1alpha/field.js"
|
12120
12120
|
},
|
12121
|
+
{
|
12122
|
+
"path": "../protos/dist/types/devvit/ui/events/v1alpha/handle_ui.js",
|
12123
|
+
"kind": "import-statement",
|
12124
|
+
"original": "./types/devvit/ui/events/v1alpha/handle_ui.js"
|
12125
|
+
},
|
12126
|
+
{
|
12127
|
+
"path": "../protos/dist/types/devvit/ui/events/v1alpha/event.js",
|
12128
|
+
"kind": "import-statement",
|
12129
|
+
"original": "./types/devvit/ui/events/v1alpha/event.js"
|
12130
|
+
},
|
12121
12131
|
{
|
12122
12132
|
"path": "../protos/dist/types/devvit/ui/effects/v1alpha/show_toast.js",
|
12123
12133
|
"kind": "import-statement",
|
@@ -12163,16 +12173,6 @@
|
|
12163
12173
|
"kind": "import-statement",
|
12164
12174
|
"original": "./types/devvit/ui/effects/v1alpha/effect.js"
|
12165
12175
|
},
|
12166
|
-
{
|
12167
|
-
"path": "../protos/dist/types/devvit/ui/events/v1alpha/handle_ui.js",
|
12168
|
-
"kind": "import-statement",
|
12169
|
-
"original": "./types/devvit/ui/events/v1alpha/handle_ui.js"
|
12170
|
-
},
|
12171
|
-
{
|
12172
|
-
"path": "../protos/dist/types/devvit/ui/events/v1alpha/event.js",
|
12173
|
-
"kind": "import-statement",
|
12174
|
-
"original": "./types/devvit/ui/events/v1alpha/event.js"
|
12175
|
-
},
|
12176
12176
|
{
|
12177
12177
|
"path": "../protos/dist/types/devvit/ui/common/v1alpha/common.js",
|
12178
12178
|
"kind": "import-statement",
|
@@ -12489,14 +12489,14 @@
|
|
12489
12489
|
"original": "./types/devvit/dev_portal/data_api/admin/subscription/subscription.js"
|
12490
12490
|
},
|
12491
12491
|
{
|
12492
|
-
"path": "../protos/dist/types/devvit/dev_portal/data_api/admin/
|
12492
|
+
"path": "../protos/dist/types/devvit/dev_portal/data_api/admin/organization/organization.js",
|
12493
12493
|
"kind": "import-statement",
|
12494
|
-
"original": "./types/devvit/dev_portal/data_api/admin/
|
12494
|
+
"original": "./types/devvit/dev_portal/data_api/admin/organization/organization.js"
|
12495
12495
|
},
|
12496
12496
|
{
|
12497
|
-
"path": "../protos/dist/types/devvit/dev_portal/data_api/admin/
|
12497
|
+
"path": "../protos/dist/types/devvit/dev_portal/data_api/admin/auth/auth.js",
|
12498
12498
|
"kind": "import-statement",
|
12499
|
-
"original": "./types/devvit/dev_portal/data_api/admin/
|
12499
|
+
"original": "./types/devvit/dev_portal/data_api/admin/auth/auth.js"
|
12500
12500
|
},
|
12501
12501
|
{
|
12502
12502
|
"path": "../protos/dist/types/devvit/dev_portal/data_api/admin/audit/audit.js",
|
@@ -12968,7 +12968,7 @@
|
|
12968
12968
|
"format": "esm"
|
12969
12969
|
},
|
12970
12970
|
"src/apis/reddit/RedditAPIClient.ts": {
|
12971
|
-
"bytes":
|
12971
|
+
"bytes": 54261,
|
12972
12972
|
"imports": [
|
12973
12973
|
{
|
12974
12974
|
"path": "../shared-types/dist/Header.js",
|
@@ -15442,12 +15442,12 @@
|
|
15442
15442
|
"../protos/dist/types/devvit/plugin/v2events/v2events.js": {
|
15443
15443
|
"bytesInOutput": 9415
|
15444
15444
|
},
|
15445
|
-
"../protos/dist/types/devvit/plugin/streambroker/streambroker.js": {
|
15446
|
-
"bytesInOutput": 4803
|
15447
|
-
},
|
15448
15445
|
"../protos/dist/types/devvit/plugin/timer/timer.js": {
|
15449
15446
|
"bytesInOutput": 1616
|
15450
15447
|
},
|
15448
|
+
"../protos/dist/types/devvit/plugin/streambroker/streambroker.js": {
|
15449
|
+
"bytesInOutput": 4803
|
15450
|
+
},
|
15451
15451
|
"../protos/dist/types/devvit/plugin/scheduler/scheduler.js": {
|
15452
15452
|
"bytesInOutput": 20190
|
15453
15453
|
},
|
@@ -15791,7 +15791,7 @@
|
|
15791
15791
|
"bytesInOutput": 319
|
15792
15792
|
},
|
15793
15793
|
"src/apis/reddit/RedditAPIClient.ts": {
|
15794
|
-
"bytesInOutput":
|
15794
|
+
"bytesInOutput": 48794
|
15795
15795
|
},
|
15796
15796
|
"src/apis/redis/RedisClient.ts": {
|
15797
15797
|
"bytesInOutput": 17916
|
@@ -15971,7 +15971,7 @@
|
|
15971
15971
|
"bytesInOutput": 370
|
15972
15972
|
}
|
15973
15973
|
},
|
15974
|
-
"bytes":
|
15974
|
+
"bytes": 14509718
|
15975
15975
|
}
|
15976
15976
|
}
|
15977
15977
|
}
|
package/meta.min.json
CHANGED
@@ -2835,7 +2835,7 @@
|
|
2835
2835
|
"format": "esm"
|
2836
2836
|
},
|
2837
2837
|
"src/apis/reddit/RedditAPIClient.ts": {
|
2838
|
-
"bytes":
|
2838
|
+
"bytes": 54261,
|
2839
2839
|
"imports": [
|
2840
2840
|
{
|
2841
2841
|
"path": "../shared-types/dist/Header.js",
|
@@ -4618,7 +4618,7 @@
|
|
4618
4618
|
"imports": [],
|
4619
4619
|
"exports": [],
|
4620
4620
|
"inputs": {},
|
4621
|
-
"bytes":
|
4621
|
+
"bytes": 1218180
|
4622
4622
|
},
|
4623
4623
|
"dist/public-api.min.js": {
|
4624
4624
|
"imports": [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.10.19-next-2024-04-12-
|
3
|
+
"version": "0.10.19-next-2024-04-12-db1b48005.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
},
|
30
30
|
"types": "./index.d.ts",
|
31
31
|
"dependencies": {
|
32
|
-
"@devvit/protos": "0.10.19-next-2024-04-12-
|
33
|
-
"@devvit/runtimes": "0.10.19-next-2024-04-12-
|
34
|
-
"@devvit/shared-types": "0.10.19-next-2024-04-12-
|
32
|
+
"@devvit/protos": "0.10.19-next-2024-04-12-db1b48005.0",
|
33
|
+
"@devvit/runtimes": "0.10.19-next-2024-04-12-db1b48005.0",
|
34
|
+
"@devvit/shared-types": "0.10.19-next-2024-04-12-db1b48005.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.18",
|
43
43
|
"@devvit/repo-tools": "0.10.18",
|
44
|
-
"@devvit/tsconfig": "0.10.19-next-2024-04-12-
|
44
|
+
"@devvit/tsconfig": "0.10.19-next-2024-04-12-db1b48005.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",
|
@@ -63,5 +63,5 @@
|
|
63
63
|
}
|
64
64
|
},
|
65
65
|
"source": "./src/index.ts",
|
66
|
-
"gitHead": "
|
66
|
+
"gitHead": "5bd4e439e00324ac7c4ffc99c034c7c3d9117f95"
|
67
67
|
}
|
package/public-api.d.ts
CHANGED
@@ -3165,6 +3165,7 @@ export declare class RedditAPIClient {
|
|
3165
3165
|
* @param options.commentId - The ID of the comment e.g. 't1_1qjpg'
|
3166
3166
|
* @param options.limit - The maximum number of comments to return. e.g. 1000
|
3167
3167
|
* @param options.pageSize - The number of comments to return per request. e.g. 100
|
3168
|
+
* @param options.sort - The sort order of the comments. e.g. 'new'
|
3168
3169
|
* @returns A Listing of Comment objects.
|
3169
3170
|
* @example
|
3170
3171
|
* ```ts
|