@databutton/firebase-types 1.83.5 → 1.84.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.
|
@@ -47,6 +47,7 @@ export declare enum CollectionName {
|
|
|
47
47
|
PROJECT_APPBUTLERS = "project-appbutlers",
|
|
48
48
|
PROJECT_DEPLOYMENTS = "deployments",
|
|
49
49
|
PROJECT_INVITES = "project-invites",
|
|
50
|
+
USER_APP_INVITES = "user-app-invites",
|
|
50
51
|
PROJECTS = "projects",
|
|
51
52
|
PROJECT_TEMPLATES = "project-templates",
|
|
52
53
|
PUBLIC_USERNAMES = "public-usernames",
|
|
@@ -48,6 +48,7 @@ export var CollectionName;
|
|
|
48
48
|
CollectionName["PROJECT_APPBUTLERS"] = "project-appbutlers";
|
|
49
49
|
CollectionName["PROJECT_DEPLOYMENTS"] = "deployments";
|
|
50
50
|
CollectionName["PROJECT_INVITES"] = "project-invites";
|
|
51
|
+
CollectionName["USER_APP_INVITES"] = "user-app-invites";
|
|
51
52
|
CollectionName["PROJECTS"] = "projects";
|
|
52
53
|
CollectionName["PROJECT_TEMPLATES"] = "project-templates";
|
|
53
54
|
CollectionName["PUBLIC_USERNAMES"] = "public-usernames";
|
|
@@ -545,6 +545,24 @@ export interface ProjectInvitation {
|
|
|
545
545
|
email: string;
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
|
+
export interface UserAppInvitation {
|
|
549
|
+
project: {
|
|
550
|
+
id: string;
|
|
551
|
+
name?: string;
|
|
552
|
+
};
|
|
553
|
+
state: "pending" | "sent" | "failed";
|
|
554
|
+
createdAt: Timestamp;
|
|
555
|
+
acceptedAt?: Timestamp;
|
|
556
|
+
neonAuthUserId?: string;
|
|
557
|
+
error?: string;
|
|
558
|
+
from: {
|
|
559
|
+
userId: string;
|
|
560
|
+
email?: string;
|
|
561
|
+
};
|
|
562
|
+
to: {
|
|
563
|
+
email: string;
|
|
564
|
+
};
|
|
565
|
+
}
|
|
548
566
|
export interface DbtnControlledRequirementsConfig {
|
|
549
567
|
lastUpdatedBy: PerformedBy;
|
|
550
568
|
currentRequirements?: Requirements;
|