@devvit/protos 0.11.6-next-2025-01-16-ecd74e595.0 → 0.11.6-next-2025-01-22-9c374f153.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/schema/devvit/gateway/resolvers.proto +0 -17
- package/schema/snootobuf.devenv.lock +2 -218
- package/schema/snootobuf.lock +2 -219
- package/schema/snootobuf.redditapi.lock +2 -218
- package/schema/snootobuf.ts.lock +2 -218
- package/types/devvit/gateway/resolvers.d.ts +0 -72
- package/types/devvit/gateway/resolvers.d.ts.map +1 -1
- package/types/devvit/gateway/resolvers.js +0 -137
- package/types/devvit/gateway/resolvers.twirp-client.d.ts +1 -17
- package/types/devvit/gateway/resolvers.twirp-client.d.ts.map +1 -1
- package/types/devvit/gateway/resolvers.twirp-client.js +1 -23
- package/types/devvit/gateway/resolvers.twirp.d.ts +1 -9
- package/types/devvit/gateway/resolvers.twirp.d.ts.map +1 -1
- package/types/devvit/gateway/resolvers.twirp.js +1 -89
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/protos",
|
3
|
-
"version": "0.11.6-next-2025-01-
|
3
|
+
"version": "0.11.6-next-2025-01-22-9c374f153.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -45,8 +45,8 @@
|
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@ampproject/filesize": "4.3.0",
|
48
|
-
"@devvit/repo-tools": "0.11.6-next-2025-01-
|
49
|
-
"@devvit/tsconfig": "0.11.6-next-2025-01-
|
48
|
+
"@devvit/repo-tools": "0.11.6-next-2025-01-22-9c374f153.0",
|
49
|
+
"@devvit/tsconfig": "0.11.6-next-2025-01-22-9c374f153.0",
|
50
50
|
"@protobuf-ts/plugin": "2.9.3",
|
51
51
|
"@types/long": "4.0.2",
|
52
52
|
"chokidar-cli": "3.0.0",
|
@@ -80,5 +80,5 @@
|
|
80
80
|
]
|
81
81
|
}
|
82
82
|
},
|
83
|
-
"gitHead": "
|
83
|
+
"gitHead": "d7c10ef089f31ff66883fd9f948d63b04f743d71"
|
84
84
|
}
|
@@ -13,20 +13,3 @@ service SubredditMetadataResolver {
|
|
13
13
|
message SubredditMetadataRequest {
|
14
14
|
string subreddit = 1; // t5_ subreddit id
|
15
15
|
}
|
16
|
-
|
17
|
-
// Temporary migration service as we move subreddit metadata loading from gateway-v1 to gateway-graphql.
|
18
|
-
// This traffic should generally be replaced with calls to DevvitSubredditService.BatchGetSubredditManifest.
|
19
|
-
|
20
|
-
service BatchSubredditMetadataResolver {
|
21
|
-
rpc BatchGetLegacySubredditMetadata(BatchSubredditMetadataRequest) returns (BatchSubredditMetadataResponse);
|
22
|
-
}
|
23
|
-
|
24
|
-
message BatchSubredditMetadataRequest {
|
25
|
-
repeated string subreddit = 1; // t5_ subreddit id
|
26
|
-
}
|
27
|
-
|
28
|
-
message BatchSubredditMetadataResponse {
|
29
|
-
// JSON-encoded dump of devvit.gql.DevvitSubredditMetadata for
|
30
|
-
// this subreddit.
|
31
|
-
repeated string metadata = 1;
|
32
|
-
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
|
2
|
-
## checksum:
|
2
|
+
## checksum: 1ae6f395061c8d7e269ba4d017a6fd755cc5e4584ffcb8537a9a35cef2d60b37
|
3
3
|
|
4
4
|
file: {
|
5
5
|
message_type: {
|
@@ -134760,26 +134760,6 @@ file: {
|
|
134760
134760
|
}
|
134761
134761
|
name: "SubredditMetadataRequest"
|
134762
134762
|
}
|
134763
|
-
message_type: {
|
134764
|
-
field: {
|
134765
|
-
json_name: "subreddit"
|
134766
|
-
label: LABEL_REPEATED
|
134767
|
-
name: "subreddit"
|
134768
|
-
number: 1
|
134769
|
-
type: TYPE_STRING
|
134770
|
-
}
|
134771
|
-
name: "BatchSubredditMetadataRequest"
|
134772
|
-
}
|
134773
|
-
message_type: {
|
134774
|
-
field: {
|
134775
|
-
json_name: "metadata"
|
134776
|
-
label: LABEL_REPEATED
|
134777
|
-
name: "metadata"
|
134778
|
-
number: 1
|
134779
|
-
type: TYPE_STRING
|
134780
|
-
}
|
134781
|
-
name: "BatchSubredditMetadataResponse"
|
134782
|
-
}
|
134783
134763
|
name: "devvit/gateway/resolvers.proto"
|
134784
134764
|
options: {
|
134785
134765
|
go_package: "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/gateway"
|
@@ -134793,20 +134773,12 @@ file: {
|
|
134793
134773
|
}
|
134794
134774
|
name: "SubredditMetadataResolver"
|
134795
134775
|
}
|
134796
|
-
service: {
|
134797
|
-
method: {
|
134798
|
-
input_type: ".devvit.gateway.BatchSubredditMetadataRequest"
|
134799
|
-
name: "BatchGetLegacySubredditMetadata"
|
134800
|
-
output_type: ".devvit.gateway.BatchSubredditMetadataResponse"
|
134801
|
-
}
|
134802
|
-
name: "BatchSubredditMetadataResolver"
|
134803
|
-
}
|
134804
134776
|
source_code_info: {
|
134805
134777
|
location: {
|
134806
134778
|
span: 0
|
134807
134779
|
span: 0
|
134808
134780
|
span: 1
|
134809
|
-
span:
|
134781
|
+
span: 14
|
134810
134782
|
}
|
134811
134783
|
location: {
|
134812
134784
|
path: 12
|
@@ -134951,194 +134923,6 @@ file: {
|
|
134951
134923
|
span: 21
|
134952
134924
|
span: 22
|
134953
134925
|
}
|
134954
|
-
location: {
|
134955
|
-
leading_detached_comments: " Temporary migration service as we move subreddit metadata loading from gateway-v1 to gateway-graphql.\n This traffic should generally be replaced with calls to DevvitSubredditService.BatchGetSubredditManifest.\n"
|
134956
|
-
path: 1
|
134957
|
-
path: 6
|
134958
|
-
span: 0
|
134959
|
-
span: 1
|
134960
|
-
span: 19
|
134961
|
-
span: 21
|
134962
|
-
}
|
134963
|
-
location: {
|
134964
|
-
path: 1
|
134965
|
-
path: 1
|
134966
|
-
path: 6
|
134967
|
-
span: 19
|
134968
|
-
span: 38
|
134969
|
-
span: 8
|
134970
|
-
}
|
134971
|
-
location: {
|
134972
|
-
path: 0
|
134973
|
-
path: 1
|
134974
|
-
path: 2
|
134975
|
-
path: 6
|
134976
|
-
span: 110
|
134977
|
-
span: 2
|
134978
|
-
span: 20
|
134979
|
-
}
|
134980
|
-
location: {
|
134981
|
-
path: 0
|
134982
|
-
path: 1
|
134983
|
-
path: 1
|
134984
|
-
path: 2
|
134985
|
-
path: 6
|
134986
|
-
span: 20
|
134987
|
-
span: 37
|
134988
|
-
span: 6
|
134989
|
-
}
|
134990
|
-
location: {
|
134991
|
-
path: 0
|
134992
|
-
path: 1
|
134993
|
-
path: 2
|
134994
|
-
path: 2
|
134995
|
-
path: 6
|
134996
|
-
span: 20
|
134997
|
-
span: 38
|
134998
|
-
span: 67
|
134999
|
-
}
|
135000
|
-
location: {
|
135001
|
-
path: 0
|
135002
|
-
path: 1
|
135003
|
-
path: 2
|
135004
|
-
path: 3
|
135005
|
-
path: 6
|
135006
|
-
span: 108
|
135007
|
-
span: 20
|
135008
|
-
span: 78
|
135009
|
-
}
|
135010
|
-
location: {
|
135011
|
-
path: 1
|
135012
|
-
path: 4
|
135013
|
-
span: 0
|
135014
|
-
span: 1
|
135015
|
-
span: 23
|
135016
|
-
span: 25
|
135017
|
-
}
|
135018
|
-
location: {
|
135019
|
-
path: 1
|
135020
|
-
path: 1
|
135021
|
-
path: 4
|
135022
|
-
span: 23
|
135023
|
-
span: 37
|
135024
|
-
span: 8
|
135025
|
-
}
|
135026
|
-
location: {
|
135027
|
-
path: 0
|
135028
|
-
path: 1
|
135029
|
-
path: 2
|
135030
|
-
path: 4
|
135031
|
-
span: 2
|
135032
|
-
span: 24
|
135033
|
-
span: 32
|
135034
|
-
trailing_comments: " t5_ subreddit id\n"
|
135035
|
-
}
|
135036
|
-
location: {
|
135037
|
-
path: 0
|
135038
|
-
path: 1
|
135039
|
-
path: 2
|
135040
|
-
path: 4
|
135041
|
-
path: 4
|
135042
|
-
span: 10
|
135043
|
-
span: 2
|
135044
|
-
span: 24
|
135045
|
-
}
|
135046
|
-
location: {
|
135047
|
-
path: 0
|
135048
|
-
path: 1
|
135049
|
-
path: 2
|
135050
|
-
path: 4
|
135051
|
-
path: 5
|
135052
|
-
span: 11
|
135053
|
-
span: 17
|
135054
|
-
span: 24
|
135055
|
-
}
|
135056
|
-
location: {
|
135057
|
-
path: 0
|
135058
|
-
path: 1
|
135059
|
-
path: 1
|
135060
|
-
path: 2
|
135061
|
-
path: 4
|
135062
|
-
span: 18
|
135063
|
-
span: 24
|
135064
|
-
span: 27
|
135065
|
-
}
|
135066
|
-
location: {
|
135067
|
-
path: 0
|
135068
|
-
path: 1
|
135069
|
-
path: 2
|
135070
|
-
path: 3
|
135071
|
-
path: 4
|
135072
|
-
span: 24
|
135073
|
-
span: 30
|
135074
|
-
span: 31
|
135075
|
-
}
|
135076
|
-
location: {
|
135077
|
-
path: 2
|
135078
|
-
path: 4
|
135079
|
-
span: 0
|
135080
|
-
span: 1
|
135081
|
-
span: 27
|
135082
|
-
span: 31
|
135083
|
-
}
|
135084
|
-
location: {
|
135085
|
-
path: 1
|
135086
|
-
path: 2
|
135087
|
-
path: 4
|
135088
|
-
span: 27
|
135089
|
-
span: 38
|
135090
|
-
span: 8
|
135091
|
-
}
|
135092
|
-
location: {
|
135093
|
-
leading_comments: " JSON-encoded dump of devvit.gql.DevvitSubredditMetadata for\n this subreddit.\n"
|
135094
|
-
path: 0
|
135095
|
-
path: 2
|
135096
|
-
path: 2
|
135097
|
-
path: 4
|
135098
|
-
span: 2
|
135099
|
-
span: 30
|
135100
|
-
span: 31
|
135101
|
-
}
|
135102
|
-
location: {
|
135103
|
-
path: 0
|
135104
|
-
path: 2
|
135105
|
-
path: 2
|
135106
|
-
path: 4
|
135107
|
-
path: 4
|
135108
|
-
span: 10
|
135109
|
-
span: 2
|
135110
|
-
span: 30
|
135111
|
-
}
|
135112
|
-
location: {
|
135113
|
-
path: 0
|
135114
|
-
path: 2
|
135115
|
-
path: 2
|
135116
|
-
path: 4
|
135117
|
-
path: 5
|
135118
|
-
span: 11
|
135119
|
-
span: 17
|
135120
|
-
span: 30
|
135121
|
-
}
|
135122
|
-
location: {
|
135123
|
-
path: 0
|
135124
|
-
path: 1
|
135125
|
-
path: 2
|
135126
|
-
path: 2
|
135127
|
-
path: 4
|
135128
|
-
span: 18
|
135129
|
-
span: 26
|
135130
|
-
span: 30
|
135131
|
-
}
|
135132
|
-
location: {
|
135133
|
-
path: 0
|
135134
|
-
path: 2
|
135135
|
-
path: 2
|
135136
|
-
path: 3
|
135137
|
-
path: 4
|
135138
|
-
span: 29
|
135139
|
-
span: 30
|
135140
|
-
span: 30
|
135141
|
-
}
|
135142
134926
|
}
|
135143
134927
|
syntax: "proto3"
|
135144
134928
|
}
|
package/schema/snootobuf.lock
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
|
2
|
-
## checksum:
|
2
|
+
## checksum: d186457cd53aab0c568ed588e926295bbb6874f14680723309008ef086c86541
|
3
3
|
|
4
4
|
file: {
|
5
5
|
message_type: {
|
@@ -134760,26 +134760,6 @@ file: {
|
|
134760
134760
|
}
|
134761
134761
|
name: "SubredditMetadataRequest"
|
134762
134762
|
}
|
134763
|
-
message_type: {
|
134764
|
-
field: {
|
134765
|
-
json_name: "subreddit"
|
134766
|
-
label: LABEL_REPEATED
|
134767
|
-
name: "subreddit"
|
134768
|
-
number: 1
|
134769
|
-
type: TYPE_STRING
|
134770
|
-
}
|
134771
|
-
name: "BatchSubredditMetadataRequest"
|
134772
|
-
}
|
134773
|
-
message_type: {
|
134774
|
-
field: {
|
134775
|
-
json_name: "metadata"
|
134776
|
-
label: LABEL_REPEATED
|
134777
|
-
name: "metadata"
|
134778
|
-
number: 1
|
134779
|
-
type: TYPE_STRING
|
134780
|
-
}
|
134781
|
-
name: "BatchSubredditMetadataResponse"
|
134782
|
-
}
|
134783
134763
|
name: "devvit/gateway/resolvers.proto"
|
134784
134764
|
options: {
|
134785
134765
|
go_package: "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/gateway"
|
@@ -134793,20 +134773,12 @@ file: {
|
|
134793
134773
|
}
|
134794
134774
|
name: "SubredditMetadataResolver"
|
134795
134775
|
}
|
134796
|
-
service: {
|
134797
|
-
method: {
|
134798
|
-
input_type: ".devvit.gateway.BatchSubredditMetadataRequest"
|
134799
|
-
name: "BatchGetLegacySubredditMetadata"
|
134800
|
-
output_type: ".devvit.gateway.BatchSubredditMetadataResponse"
|
134801
|
-
}
|
134802
|
-
name: "BatchSubredditMetadataResolver"
|
134803
|
-
}
|
134804
134776
|
source_code_info: {
|
134805
134777
|
location: {
|
134806
134778
|
span: 0
|
134807
134779
|
span: 0
|
134808
134780
|
span: 1
|
134809
|
-
span:
|
134781
|
+
span: 14
|
134810
134782
|
}
|
134811
134783
|
location: {
|
134812
134784
|
path: 12
|
@@ -134951,194 +134923,6 @@ file: {
|
|
134951
134923
|
span: 21
|
134952
134924
|
span: 22
|
134953
134925
|
}
|
134954
|
-
location: {
|
134955
|
-
leading_detached_comments: " Temporary migration service as we move subreddit metadata loading from gateway-v1 to gateway-graphql.\n This traffic should generally be replaced with calls to DevvitSubredditService.BatchGetSubredditManifest.\n"
|
134956
|
-
path: 1
|
134957
|
-
path: 6
|
134958
|
-
span: 0
|
134959
|
-
span: 1
|
134960
|
-
span: 19
|
134961
|
-
span: 21
|
134962
|
-
}
|
134963
|
-
location: {
|
134964
|
-
path: 1
|
134965
|
-
path: 1
|
134966
|
-
path: 6
|
134967
|
-
span: 19
|
134968
|
-
span: 38
|
134969
|
-
span: 8
|
134970
|
-
}
|
134971
|
-
location: {
|
134972
|
-
path: 0
|
134973
|
-
path: 1
|
134974
|
-
path: 2
|
134975
|
-
path: 6
|
134976
|
-
span: 110
|
134977
|
-
span: 2
|
134978
|
-
span: 20
|
134979
|
-
}
|
134980
|
-
location: {
|
134981
|
-
path: 0
|
134982
|
-
path: 1
|
134983
|
-
path: 1
|
134984
|
-
path: 2
|
134985
|
-
path: 6
|
134986
|
-
span: 20
|
134987
|
-
span: 37
|
134988
|
-
span: 6
|
134989
|
-
}
|
134990
|
-
location: {
|
134991
|
-
path: 0
|
134992
|
-
path: 1
|
134993
|
-
path: 2
|
134994
|
-
path: 2
|
134995
|
-
path: 6
|
134996
|
-
span: 20
|
134997
|
-
span: 38
|
134998
|
-
span: 67
|
134999
|
-
}
|
135000
|
-
location: {
|
135001
|
-
path: 0
|
135002
|
-
path: 1
|
135003
|
-
path: 2
|
135004
|
-
path: 3
|
135005
|
-
path: 6
|
135006
|
-
span: 108
|
135007
|
-
span: 20
|
135008
|
-
span: 78
|
135009
|
-
}
|
135010
|
-
location: {
|
135011
|
-
path: 1
|
135012
|
-
path: 4
|
135013
|
-
span: 0
|
135014
|
-
span: 1
|
135015
|
-
span: 23
|
135016
|
-
span: 25
|
135017
|
-
}
|
135018
|
-
location: {
|
135019
|
-
path: 1
|
135020
|
-
path: 1
|
135021
|
-
path: 4
|
135022
|
-
span: 23
|
135023
|
-
span: 37
|
135024
|
-
span: 8
|
135025
|
-
}
|
135026
|
-
location: {
|
135027
|
-
path: 0
|
135028
|
-
path: 1
|
135029
|
-
path: 2
|
135030
|
-
path: 4
|
135031
|
-
span: 2
|
135032
|
-
span: 24
|
135033
|
-
span: 32
|
135034
|
-
trailing_comments: " t5_ subreddit id\n"
|
135035
|
-
}
|
135036
|
-
location: {
|
135037
|
-
path: 0
|
135038
|
-
path: 1
|
135039
|
-
path: 2
|
135040
|
-
path: 4
|
135041
|
-
path: 4
|
135042
|
-
span: 10
|
135043
|
-
span: 2
|
135044
|
-
span: 24
|
135045
|
-
}
|
135046
|
-
location: {
|
135047
|
-
path: 0
|
135048
|
-
path: 1
|
135049
|
-
path: 2
|
135050
|
-
path: 4
|
135051
|
-
path: 5
|
135052
|
-
span: 11
|
135053
|
-
span: 17
|
135054
|
-
span: 24
|
135055
|
-
}
|
135056
|
-
location: {
|
135057
|
-
path: 0
|
135058
|
-
path: 1
|
135059
|
-
path: 1
|
135060
|
-
path: 2
|
135061
|
-
path: 4
|
135062
|
-
span: 18
|
135063
|
-
span: 24
|
135064
|
-
span: 27
|
135065
|
-
}
|
135066
|
-
location: {
|
135067
|
-
path: 0
|
135068
|
-
path: 1
|
135069
|
-
path: 2
|
135070
|
-
path: 3
|
135071
|
-
path: 4
|
135072
|
-
span: 24
|
135073
|
-
span: 30
|
135074
|
-
span: 31
|
135075
|
-
}
|
135076
|
-
location: {
|
135077
|
-
path: 2
|
135078
|
-
path: 4
|
135079
|
-
span: 0
|
135080
|
-
span: 1
|
135081
|
-
span: 27
|
135082
|
-
span: 31
|
135083
|
-
}
|
135084
|
-
location: {
|
135085
|
-
path: 1
|
135086
|
-
path: 2
|
135087
|
-
path: 4
|
135088
|
-
span: 27
|
135089
|
-
span: 38
|
135090
|
-
span: 8
|
135091
|
-
}
|
135092
|
-
location: {
|
135093
|
-
leading_comments: " JSON-encoded dump of devvit.gql.DevvitSubredditMetadata for\n this subreddit.\n"
|
135094
|
-
path: 0
|
135095
|
-
path: 2
|
135096
|
-
path: 2
|
135097
|
-
path: 4
|
135098
|
-
span: 2
|
135099
|
-
span: 30
|
135100
|
-
span: 31
|
135101
|
-
}
|
135102
|
-
location: {
|
135103
|
-
path: 0
|
135104
|
-
path: 2
|
135105
|
-
path: 2
|
135106
|
-
path: 4
|
135107
|
-
path: 4
|
135108
|
-
span: 10
|
135109
|
-
span: 2
|
135110
|
-
span: 30
|
135111
|
-
}
|
135112
|
-
location: {
|
135113
|
-
path: 0
|
135114
|
-
path: 2
|
135115
|
-
path: 2
|
135116
|
-
path: 4
|
135117
|
-
path: 5
|
135118
|
-
span: 11
|
135119
|
-
span: 17
|
135120
|
-
span: 30
|
135121
|
-
}
|
135122
|
-
location: {
|
135123
|
-
path: 0
|
135124
|
-
path: 1
|
135125
|
-
path: 2
|
135126
|
-
path: 2
|
135127
|
-
path: 4
|
135128
|
-
span: 18
|
135129
|
-
span: 26
|
135130
|
-
span: 30
|
135131
|
-
}
|
135132
|
-
location: {
|
135133
|
-
path: 0
|
135134
|
-
path: 2
|
135135
|
-
path: 2
|
135136
|
-
path: 3
|
135137
|
-
path: 4
|
135138
|
-
span: 29
|
135139
|
-
span: 30
|
135140
|
-
span: 30
|
135141
|
-
}
|
135142
134926
|
}
|
135143
134927
|
syntax: "proto3"
|
135144
134928
|
}
|
@@ -295723,7 +295507,6 @@ file: {
|
|
295723
295507
|
destination_file: "../../../go-common/generated/proxies/devvit/devportal/int/media/devportalmedia.go"
|
295724
295508
|
destination_file: "../../../go-common/generated/proxies/devvit/devportal/waitlist/waitlist.go"
|
295725
295509
|
destination_file: "../../../go-common/generated/proxies/devvit/events/realtime.go"
|
295726
|
-
destination_file: "../../../go-common/generated/proxies/devvit/gateway/batchsubredditmetadataresolver.go"
|
295727
295510
|
destination_file: "../../../go-common/generated/proxies/devvit/gateway/custompostsnapshotresolver.go"
|
295728
295511
|
destination_file: "../../../go-common/generated/proxies/devvit/gateway/subredditmetadataresolver.go"
|
295729
295512
|
destination_file: "../../../go-common/generated/proxies/devvit/gateway/triggers.go"
|