@devvit/protos 0.11.0-next-2024-09-12-e86db09f0.0 → 0.11.0-next-2024-09-12-d093e68b5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +4 -4
- package/package.json +5 -5
- package/protos.min.js +2 -2
- package/protos.min.js.map +2 -2
- package/schema/devvit/actor/test/wrappertypes.proto +2 -2
- package/schema/devvit/gql/subreddit_metadata.proto +2 -0
- package/schema/devvit/plugin/modlog/modlog.proto +11 -12
- package/schema/devvit/plugin/redditapi/graphql/graphql_svc.proto +2 -2
- package/schema/snootobuf.devenv.lock +188 -133
- package/schema/snootobuf.lock +188 -133
- package/schema/snootobuf.redditapi.lock +188 -133
- package/schema/snootobuf.ts.lock +188 -133
- package/schema/snootobuf.yaml +28 -25
- package/types/devvit/gateway/resolvers.d.ts +2 -0
- package/types/devvit/gateway/resolvers.d.ts.map +1 -1
- package/types/devvit/gql/subreddit_metadata.d.ts +2 -0
- package/types/devvit/gql/subreddit_metadata.d.ts.map +1 -1
- package/types/devvit/gql/subreddit_metadata.js +15 -1
@@ -2,10 +2,10 @@ syntax = "proto3";
|
|
2
2
|
|
3
3
|
package devvit.actor.test;
|
4
4
|
|
5
|
-
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/actor/test";
|
6
|
-
|
7
5
|
import "google/protobuf/wrappers.proto";
|
8
6
|
|
7
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/actor/test";
|
8
|
+
|
9
9
|
service WrapperTypes {
|
10
10
|
rpc StringRequest(google.protobuf.StringValue) returns (google.protobuf.StringValue);
|
11
11
|
rpc BoolRequest(google.protobuf.BoolValue) returns (google.protobuf.BoolValue);
|
@@ -6,23 +6,22 @@ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-c
|
|
6
6
|
option java_outer_classname = "_Modlog";
|
7
7
|
option java_package = "com.reddit.devvit.plugin.modlog";
|
8
8
|
|
9
|
-
|
10
9
|
message ModlogRequest {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
10
|
+
// The action (available actions here: https://github.snooguts.net/reddit/reddit-public/blob/master/r2/r2/models/modaction.py#L192)
|
11
|
+
string action = 1;
|
12
|
+
// Optional Details string
|
13
|
+
optional string details = 2;
|
14
|
+
// Optional Description
|
15
|
+
optional string description = 3;
|
16
|
+
// Optional Note
|
17
|
+
optional string note = 4;
|
18
|
+
// Optional action target
|
19
|
+
optional string target = 5;
|
21
20
|
}
|
22
21
|
|
23
22
|
// Generic response interface (mimics response from r2)
|
24
23
|
message ModlogResponse {
|
25
|
-
|
24
|
+
bool success = 1;
|
26
25
|
}
|
27
26
|
|
28
27
|
// The Modlog plugin allows an app to insert an arbitrary entry
|
@@ -12,8 +12,8 @@ service GraphQL {
|
|
12
12
|
rpc Query(QueryRequest) returns (QueryResponse);
|
13
13
|
|
14
14
|
// Sending a GraphQL persisted query request
|
15
|
-
//
|
16
|
-
// A persisted query is a query string that's cached on the server side,
|
15
|
+
//
|
16
|
+
// A persisted query is a query string that's cached on the server side,
|
17
17
|
// along with its unique identifier (always its SHA-256 hash)
|
18
18
|
rpc PersistedQuery(PersistedQueryRequest) returns (QueryResponse);
|
19
19
|
}
|