@devvit/protos 0.11.6-next-2025-01-13-2696f78b0.0 → 0.11.6-next-2025-01-14-e87112d67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/protos",
3
- "version": "0.11.6-next-2025-01-13-2696f78b0.0",
3
+ "version": "0.11.6-next-2025-01-14-e87112d67.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-13-2696f78b0.0",
49
- "@devvit/tsconfig": "0.11.6-next-2025-01-13-2696f78b0.0",
48
+ "@devvit/repo-tools": "0.11.6-next-2025-01-14-e87112d67.0",
49
+ "@devvit/tsconfig": "0.11.6-next-2025-01-14-e87112d67.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": "8ab79a5963b186b625bf537a16ad693ccd9241e5"
83
+ "gitHead": "cc32b6b6a73e265a411fbd1b2fd4f18924cddb37"
84
84
  }
@@ -13,3 +13,20 @@ 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
+ }
@@ -12,8 +12,6 @@ option java_package = "com.reddit.devvit.gql";
12
12
  //
13
13
  // This file contains types for the Subreddit.devPlatformMetadata field, which is (as of 2024Q4)
14
14
  // the old way to fetch Devvit metadata for a subreddit.
15
- //
16
- // For the newer types, see subreddit_manifest.proto.
17
15
 
18
16
  message SubredditContextActions {
19
17
  option deprecated = true;
@@ -7,10 +7,10 @@ import "google/protobuf/empty.proto";
7
7
 
8
8
  option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/service";
9
9
 
10
- // Fetch a bundle by its hostname
10
+ // Fetch a bundle
11
11
  message BundleRequest {
12
- // Must be legal name for filesystem. Eg, LinkedBundle.hostname. 'main.local'
13
- string hostname = 1;
12
+ // Must be an identifier for the bundle, i.e. an app ID (UUID) in prod, or "untitled-1234567890" from play
13
+ string actor_id = 1;
14
14
  }
15
15
 
16
16
  service BundleService {