@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.
@@ -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);
@@ -25,6 +25,8 @@ message DevvitSubredditMetadata {
25
25
  string slug = 1;
26
26
  // Display name
27
27
  string name = 2;
28
+ // Owner userName
29
+ string owner_name = 3;
28
30
  }
29
31
 
30
32
  // List of all installed apps for the loaded Subreddit
@@ -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
- // The action (available actions here: https://github.snooguts.net/reddit/reddit-public/blob/master/r2/r2/models/modaction.py#L192)
12
- string action = 1;
13
- // Optional Details string
14
- optional string details = 2;
15
- // Optional Description
16
- optional string description = 3;
17
- // Optional Note
18
- optional string note = 4;
19
- // Optional action target
20
- optional string target = 5;
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
- bool success = 1;
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
  }