@databutton/firebase-types 1.126.0 → 1.127.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.
@@ -32,6 +32,7 @@ export declare enum CollectionName {
32
32
  DOMAINS = "domains",
33
33
  EVENTS = "events",
34
34
  FEATURE_FLAGS = "feature-flags",
35
+ JOB_CURSORS = "job-cursors",
35
36
  FRONTENDS = "frontends",
36
37
  FRONTEND_PACKAGES = "frontend-packages",
37
38
  KNOWLEDGE_BASES = "knowledge-bases",
@@ -241,7 +242,9 @@ export declare enum CreateTeamAccountErrorCode {
241
242
  UNAUTHENTICATED = "UNAUTHENTICATED",
242
243
  INVALID_NAME = "INVALID_NAME",
243
244
  ACCOUNT_LIMIT_REACHED = "ACCOUNT_LIMIT_REACHED",
244
- INTERNAL_ERROR = "INTERNAL_ERROR"
245
+ INTERNAL_ERROR = "INTERNAL_ERROR",
246
+ INVALID_USERNAME = "INVALID_USERNAME",
247
+ USERNAME_TAKEN = "USERNAME_TAKEN"
245
248
  }
246
249
  export declare enum ProjectEnvConfigEnv {
247
250
  DEV = "dev",
@@ -33,6 +33,7 @@ export var CollectionName;
33
33
  CollectionName["DOMAINS"] = "domains";
34
34
  CollectionName["EVENTS"] = "events";
35
35
  CollectionName["FEATURE_FLAGS"] = "feature-flags";
36
+ CollectionName["JOB_CURSORS"] = "job-cursors";
36
37
  CollectionName["FRONTENDS"] = "frontends";
37
38
  CollectionName["FRONTEND_PACKAGES"] = "frontend-packages";
38
39
  CollectionName["KNOWLEDGE_BASES"] = "knowledge-bases";
@@ -265,6 +266,8 @@ export var CreateTeamAccountErrorCode;
265
266
  CreateTeamAccountErrorCode["INVALID_NAME"] = "INVALID_NAME";
266
267
  CreateTeamAccountErrorCode["ACCOUNT_LIMIT_REACHED"] = "ACCOUNT_LIMIT_REACHED";
267
268
  CreateTeamAccountErrorCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
269
+ CreateTeamAccountErrorCode["INVALID_USERNAME"] = "INVALID_USERNAME";
270
+ CreateTeamAccountErrorCode["USERNAME_TAKEN"] = "USERNAME_TAKEN";
268
271
  })(CreateTeamAccountErrorCode || (CreateTeamAccountErrorCode = {}));
269
272
  // Environments config can be defined for
270
273
  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.127.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {