@devvit/protos 0.11.14-next-2025-04-23-b2693b188.0 → 0.11.14-next-2025-04-24-2e64fc4fa.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/community.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './types/devvit/dev_portal/data_api/admin/user/user.js';
21
21
  export * from './types/devvit/dev_portal/dev_portal.js';
22
22
  export type * from './types/devvit/dev_portal/dev_portal.twirp-client.js';
23
23
  export * from './types/devvit/dev_portal/dev_portal.twirp-client.js';
24
+ export * from './types/devvit/dev_portal/developer_account/developer_account.js';
24
25
  export * from './types/devvit/dev_portal/feedback/feedback.js';
25
26
  export * from './types/devvit/dev_portal/installation/installation.js';
26
27
  export * from './types/devvit/dev_portal/installation_settings/installation_settings.js';
@@ -1 +1 @@
1
- {"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../src/community.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,gEAAgE,CAAC;AAC/E,mBAAmB,sCAAsC,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,wDAAwD,CAAC;AACvE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sEAAsE,CAAC;AACrF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,oFAAoF,CAAC;AACnG,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,yDAAyD,CAAC;AACxE,cAAc,uDAAuD,CAAC;AACtE,cAAc,uEAAuE,CAAC;AACtF,cAAc,uEAAuE,CAAC;AACtF,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,mBAAmB,sDAAsD,CAAC;AAC1E,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CA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AA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8DAA8D,CAAC;AAC7E,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wDAAwD,CAAC"}
package/community.js CHANGED
@@ -20,6 +20,7 @@ export * from './types/devvit/dev_portal/data_api/admin/subscription/subscriptio
20
20
  export * from './types/devvit/dev_portal/data_api/admin/user/user.js';
21
21
  export * from './types/devvit/dev_portal/dev_portal.js';
22
22
  export * from './types/devvit/dev_portal/dev_portal.twirp-client.js';
23
+ export * from './types/devvit/dev_portal/developer_account/developer_account.js';
23
24
  export * from './types/devvit/dev_portal/feedback/feedback.js';
24
25
  export * from './types/devvit/dev_portal/installation/installation.js';
25
26
  export * from './types/devvit/dev_portal/installation_settings/installation_settings.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/protos",
3
- "version": "0.11.14-next-2025-04-23-b2693b188.0",
3
+ "version": "0.11.14-next-2025-04-24-2e64fc4fa.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.14-next-2025-04-23-b2693b188.0",
49
- "@devvit/tsconfig": "0.11.14-next-2025-04-23-b2693b188.0",
48
+ "@devvit/repo-tools": "0.11.14-next-2025-04-24-2e64fc4fa.0",
49
+ "@devvit/tsconfig": "0.11.14-next-2025-04-24-2e64fc4fa.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": "66cd54d4b36f35aadda5b779cbb4999e4a854133"
83
+ "gitHead": "34110f2f2b686297d00bd83acc404759581fda03"
84
84
  }
@@ -16,6 +16,7 @@ import "devvit/dev_portal/data_api/admin/auth/auth.proto";
16
16
  import "devvit/dev_portal/data_api/admin/organization/organization.proto";
17
17
  import "devvit/dev_portal/data_api/admin/subscription/subscription.proto";
18
18
  import "devvit/dev_portal/data_api/admin/user/user.proto";
19
+ import "devvit/dev_portal/developer_account/developer_account.proto";
19
20
  import "devvit/dev_portal/feedback/feedback.proto";
20
21
  import "devvit/dev_portal/installation/installation.proto";
21
22
  import "devvit/dev_portal/installation_settings/installation_settings.proto";
@@ -179,3 +180,10 @@ service DevPortalAppPublishRequest {
179
180
  rpc UpdateNote(app_publish_request.note.AppPRUpdateNoteRequest) returns (google.protobuf.Empty);
180
181
  rpc RemoveNote(UUID) returns (google.protobuf.Empty);
181
182
  }
183
+
184
+ // Developer Account service, for managing when users register their Reddit account for a Developer Account
185
+ // A Developer account is specific to the Developer Platform, and is necessary to develop apps
186
+ service DeveloperAccount {
187
+ rpc RegisterUser(developer_account.DeveloperAccountRegisterUserRequest) returns (developer_account.DeveloperAccountInfo);
188
+ rpc GetUserAccountInfoIfExists(google.protobuf.Empty) returns (developer_account.GetUserAccountInfoResponse);
189
+ }
@@ -0,0 +1,46 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.developer_account;
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+
7
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/dev_portal/developer_account";
8
+
9
+ message DeveloperAccountRegisterUserRequest {
10
+ // Thing ID (T2 ID with prefix. eg, t2_123abc.)
11
+ string user_id = 1;
12
+ // Username
13
+ string user_name = 2;
14
+ bool does_consent_to_email = 3;
15
+ }
16
+
17
+ message GetUserAccountInfoResponse {
18
+ // The version of the developer terms & conditions accepted by the user upon Developer Account creation (ie, 2)
19
+ int32 accepted_terms_version = 1;
20
+ // The current version of the developer terms & conditions
21
+ int32 current_terms_version = 2;
22
+ bool has_verified_email = 3;
23
+ // User selected preferences for email communication from the Developer Platform
24
+ bool does_consent_to_email = 4;
25
+ // Thing ID (T2 ID with prefix. eg, t2_123abc.), optional because user could be logged out
26
+ optional string user_id = 5;
27
+ }
28
+
29
+ message DeveloperAccountInfo {
30
+ // UUID of the Developer Account, assigned in database
31
+ string id = 1;
32
+ // Thing I (T2 ID with prefix. eg, t2_123abc.), optional because user could be logged out
33
+ string user_id = 2;
34
+ // User's reddit username (eg, "spez")
35
+ string user_name = 3;
36
+
37
+ google.protobuf.Timestamp created_at = 4;
38
+ // The version of the developer terms & conditions accepted by the user upon Developer Account creation (ie, 2)
39
+ int32 accepted_terms_version = 5;
40
+ // Timestamp of when the user accepted the current developer terms & conditions
41
+ google.protobuf.Timestamp accepted_terms_version_at = 6;
42
+ // Whether the user has verified the email address associated with their Reddit Account
43
+ bool has_verified_email = 7;
44
+ // User selected preferences for email communication from the Developer Platform
45
+ bool does_consent_to_email = 8;
46
+ }