@databutton/firebase-types 1.65.0 → 1.65.2
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.
|
@@ -27,6 +27,7 @@ export interface PublicUsername {
|
|
|
27
27
|
slug: string;
|
|
28
28
|
claimedAt: Timestamp;
|
|
29
29
|
}
|
|
30
|
+
export type ToSVersion = "2024-02-13";
|
|
30
31
|
export interface Profile {
|
|
31
32
|
displayName: string;
|
|
32
33
|
publicUsername?: PublicUsername;
|
|
@@ -69,11 +70,13 @@ export interface Profile {
|
|
|
69
70
|
};
|
|
70
71
|
};
|
|
71
72
|
/**
|
|
72
|
-
* Timestamps for when the user has accepted ToS
|
|
73
|
+
* Timestamps for when the user has accepted ToS and probably more in the future
|
|
73
74
|
*/
|
|
74
75
|
consent?: {
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
termsOfService: {
|
|
77
|
+
acceptedAt: Timestamp;
|
|
78
|
+
version: ToSVersion;
|
|
79
|
+
};
|
|
77
80
|
};
|
|
78
81
|
utm?: Record<string, string>;
|
|
79
82
|
/**
|