@databutton/firebase-types 1.91.4 → 1.91.6

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.
@@ -52,6 +52,11 @@ export interface Account {
52
52
  * For example used for consolidated billing, quota management and audit logs
53
53
  */
54
54
  parentId: string | null;
55
+ /**
56
+ * Public username for the account just as with the profiles
57
+ * Used to determine deployed app URLs
58
+ */
59
+ publicUsername: PublicUsername | null;
55
60
  }
56
61
  interface AccountConfigBase {
57
62
  enabledBy: PerformedBy;
@@ -1784,6 +1789,7 @@ export interface TokenUsageEntry {
1784
1789
  finishReason: string | null;
1785
1790
  }
1786
1791
  export interface PublicUsernameRecord {
1792
+ type?: "profile" | "account";
1787
1793
  userId: string;
1788
1794
  changedTo?: string;
1789
1795
  }
@@ -21,6 +21,7 @@ export type CreateProjectRequest = {
21
21
  initialAppIdea?: string | null;
22
22
  projectTemplateId: string;
23
23
  requestSentAt: Timestamp;
24
+ accountId?: string;
24
25
  };
25
26
  export type CreateProjectResponse = {
26
27
  success: true;
@@ -115,6 +116,7 @@ export type GrantAccessResponse = {
115
116
  };
116
117
  export type ClaimPublicUsernameRequest = {
117
118
  publicUsername: string;
119
+ accountId?: string;
118
120
  };
119
121
  export type ClaimPublicUsernameResponse = {
120
122
  success: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.91.4",
3
+ "version": "1.91.6",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {