@databutton/firebase-types 1.110.1 → 1.112.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.
|
@@ -109,6 +109,11 @@ export interface Account {
|
|
|
109
109
|
* Format is: <userID, projectID>
|
|
110
110
|
*/
|
|
111
111
|
userAccountLevelProjectIds: Record<string, string>;
|
|
112
|
+
/**
|
|
113
|
+
* Set when the account has been soft-deleted by an admin.
|
|
114
|
+
* Soft-deleted accounts are excluded from queries and their projects are also soft-deleted.
|
|
115
|
+
*/
|
|
116
|
+
markedForDeletionBy?: PerformedBy | null;
|
|
112
117
|
}
|
|
113
118
|
interface AccountConfigBase {
|
|
114
119
|
enabledBy: PerformedBy;
|
|
@@ -1298,7 +1303,8 @@ export type RiffMigrationState<T> = {
|
|
|
1298
1303
|
* For example the agentProject is hidden from the user, but is used to provide a account wide devx and agent environment to a user in the account context
|
|
1299
1304
|
*/
|
|
1300
1305
|
export declare enum SpecialProjectType {
|
|
1301
|
-
AGENT_PROJECT = "agentProject"
|
|
1306
|
+
AGENT_PROJECT = "agentProject",
|
|
1307
|
+
API_GATEWAY = "apiGateway"
|
|
1302
1308
|
}
|
|
1303
1309
|
export interface Project {
|
|
1304
1310
|
createdAt: Timestamp;
|
|
@@ -69,6 +69,7 @@ export var ProjectExtension;
|
|
|
69
69
|
export var SpecialProjectType;
|
|
70
70
|
(function (SpecialProjectType) {
|
|
71
71
|
SpecialProjectType["AGENT_PROJECT"] = "agentProject";
|
|
72
|
+
SpecialProjectType["API_GATEWAY"] = "apiGateway";
|
|
72
73
|
})(SpecialProjectType || (SpecialProjectType = {}));
|
|
73
74
|
/**
|
|
74
75
|
* Taken from AWS types
|
|
@@ -494,4 +494,10 @@ export type CreateAgentProjectResponse = {
|
|
|
494
494
|
errorCode: string;
|
|
495
495
|
errorMessage?: string;
|
|
496
496
|
};
|
|
497
|
+
export type DeleteAccountRequest = {
|
|
498
|
+
accountId: string;
|
|
499
|
+
};
|
|
500
|
+
export type DeleteAccountResponse = {
|
|
501
|
+
success: boolean;
|
|
502
|
+
};
|
|
497
503
|
export {};
|