feat(firebase): Add Firebase SDK and initialize Analytics
This commit integrates the Firebase SDK into the application to enable Firebase services, starting with Google Analytics. Key changes include: - Added the `firebase` package as a dependency. - Included Firebase project configuration variables in the production environment file. - Created a new `firebase.ts` utility to centralize Firebase app initialization. - Integrated the `FirebaseAnalytics` component into the root layout to enable analytics tracking across the entire application.
This commit is contained in:
@@ -45,6 +45,7 @@ export const CreateAdminSchema = z.object({
|
||||
export const LoginCredentials = z.object({
|
||||
username: z.string(),
|
||||
password: z.string(),
|
||||
device_token: z.string(),
|
||||
});
|
||||
export const AdminListResponse = z.object({
|
||||
users: z.array(UserSchema),
|
||||
|
||||
@@ -6,4 +6,5 @@ export const COOKIE_KEYS = {
|
||||
theme: `${_COOKIE_PREFIX}_theme`,
|
||||
refresh_token: `${_COOKIE_PREFIX}_refresh_token`,
|
||||
user: `${_COOKIE_PREFIX}_user`,
|
||||
device_token: `${_COOKIE_PREFIX}_device_token`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user