@databutton/firebase-types 1.188.0 → 1.189.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.
|
@@ -139,6 +139,12 @@ export type AdminDetachFromParentPayload = {
|
|
|
139
139
|
export type AdminDetachFromParentResult = {
|
|
140
140
|
success: boolean;
|
|
141
141
|
};
|
|
142
|
+
export type AdminDeleteAccountPayload = {
|
|
143
|
+
accountId: string;
|
|
144
|
+
};
|
|
145
|
+
export type AdminDeleteAccountResult = {
|
|
146
|
+
success: boolean;
|
|
147
|
+
};
|
|
142
148
|
export type AdminEnableSsoPayload = {
|
|
143
149
|
accountId: string;
|
|
144
150
|
organizationId: string;
|
|
@@ -232,12 +238,14 @@ export type AdminHibernationCandidateRow = {
|
|
|
232
238
|
name: string;
|
|
233
239
|
owner: string;
|
|
234
240
|
ownerName: string | null;
|
|
241
|
+
ownerPlan: string | null;
|
|
235
242
|
lifeStage: ProjectLifeStage;
|
|
236
243
|
phase: InferredProjectPhase;
|
|
237
244
|
phaseConfidence: number;
|
|
238
245
|
phaseSinceMs: number;
|
|
239
246
|
lastOpenedAtMs: number | null;
|
|
240
247
|
deployed: boolean;
|
|
248
|
+
customDomain: string | null;
|
|
241
249
|
creditCentsByWeek: Record<string, number[]>;
|
|
242
250
|
};
|
|
243
251
|
export type AdminListHibernationCandidatesResult = {
|
|
@@ -274,6 +282,9 @@ export type AdminCallableRequest = {
|
|
|
274
282
|
} | {
|
|
275
283
|
action: "detachFromParent";
|
|
276
284
|
payload: AdminDetachFromParentPayload;
|
|
285
|
+
} | {
|
|
286
|
+
action: "deleteAccount";
|
|
287
|
+
payload: AdminDeleteAccountPayload;
|
|
277
288
|
} | {
|
|
278
289
|
action: "searchAccounts";
|
|
279
290
|
payload: AdminSearchAccountsPayload;
|
|
@@ -323,6 +334,9 @@ export type AdminCallableResponse = {
|
|
|
323
334
|
} | {
|
|
324
335
|
action: "detachFromParent";
|
|
325
336
|
result: AdminDetachFromParentResult;
|
|
337
|
+
} | {
|
|
338
|
+
action: "deleteAccount";
|
|
339
|
+
result: AdminDeleteAccountResult;
|
|
326
340
|
} | {
|
|
327
341
|
action: "searchAccounts";
|
|
328
342
|
result: AdminSearchAccountsResult;
|