@databutton/firebase-types 1.126.0 → 1.126.1

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.
@@ -241,7 +241,9 @@ export declare enum CreateTeamAccountErrorCode {
241
241
  UNAUTHENTICATED = "UNAUTHENTICATED",
242
242
  INVALID_NAME = "INVALID_NAME",
243
243
  ACCOUNT_LIMIT_REACHED = "ACCOUNT_LIMIT_REACHED",
244
- INTERNAL_ERROR = "INTERNAL_ERROR"
244
+ INTERNAL_ERROR = "INTERNAL_ERROR",
245
+ INVALID_USERNAME = "INVALID_USERNAME",
246
+ USERNAME_TAKEN = "USERNAME_TAKEN"
245
247
  }
246
248
  export declare enum ProjectEnvConfigEnv {
247
249
  DEV = "dev",
@@ -265,6 +265,8 @@ export var CreateTeamAccountErrorCode;
265
265
  CreateTeamAccountErrorCode["INVALID_NAME"] = "INVALID_NAME";
266
266
  CreateTeamAccountErrorCode["ACCOUNT_LIMIT_REACHED"] = "ACCOUNT_LIMIT_REACHED";
267
267
  CreateTeamAccountErrorCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
268
+ CreateTeamAccountErrorCode["INVALID_USERNAME"] = "INVALID_USERNAME";
269
+ CreateTeamAccountErrorCode["USERNAME_TAKEN"] = "USERNAME_TAKEN";
268
270
  })(CreateTeamAccountErrorCode || (CreateTeamAccountErrorCode = {}));
269
271
  // Environments config can be defined for
270
272
  export var ProjectEnvConfigEnv;
@@ -485,6 +485,7 @@ export type ReviewApprovalRequestResponse = {
485
485
  };
486
486
  export type CreateTeamAccountRequest = {
487
487
  name: string;
488
+ publicUsername?: string;
488
489
  };
489
490
  export type CreateTeamAccountResponse = {
490
491
  success: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.126.0",
3
+ "version": "1.126.1",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {