├── .eslintrc ├── src ├── index.ts ├── helpers │ └── detectPlatform.ts ├── interfaces │ ├── index.ts │ ├── ILogin.ts │ ├── IDataContext.ts │ └── IDataBase.ts ├── Database.ts ├── firebaseDatabase.ts ├── firebaseAuth.ts └── FirestoreDatabase.ts ├── tsconfig.json ├── .gitignore ├── package.json ├── LICENSE ├── test └── index.test.js ├── README.md ├── CODE_OF_CONDUCT.md └── yarn.lock /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "extends": [], 7 | "rules": {} 8 | } 9 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export { initializeApp as initializeFirebase } from "@firebase/app"; 2 | export { FirebaseAuth } from "./firebaseAuth"; 3 | export { FirebaseDatabase } from "./firebaseDatabase"; 4 | export { FirestoreDatabase } from "./FirestoreDatabase"; -------------------------------------------------------------------------------- /src/helpers/detectPlatform.ts: -------------------------------------------------------------------------------- 1 | export function detectPlatform() { 2 | if (typeof document !== 'undefined') { 3 | return 'browser'; 4 | } 5 | 6 | if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') { 7 | return 'react-native'; 8 | } 9 | 10 | return 'node'; 11 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "incremental": true, 4 | "target": "es5", 5 | "module": "commonjs", 6 | "declaration": true, 7 | "outDir": "lib", 8 | "esModuleInterop": true, 9 | "moduleResolution": "node", 10 | "skipLibCheck": true 11 | }, 12 | "include": ["src"], 13 | "exclude": ["node_modules", "**/__tests__/*"] 14 | } 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | /lib 14 | 15 | # misc 16 | .DS_Store 17 | .env.local 18 | .env.development.local 19 | .env.test.local 20 | .env.production.local 21 | 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | -------------------------------------------------------------------------------- /src/interfaces/index.ts: -------------------------------------------------------------------------------- 1 | import { FirebaseAuth } from "../firebaseAuth"; 2 | import { FirebaseDatabase } from "../firebaseDatabase"; 3 | import { FirestoreDatabase } from "../FirestoreDatabase"; 4 | import { FirebaseApp } from "@firebase/app"; 5 | 6 | declare interface IRefineFirebase { 7 | firebaseApp: FirebaseApp; 8 | firebaseAuth?: FirebaseAuth; 9 | firestoreDatabase?: FirestoreDatabase; 10 | firebaseDatabase?: FirebaseDatabase; 11 | } 12 | 13 | export { IRefineFirebase }; 14 | export * from "./IDataBase"; 15 | export * from "./ILogin"; 16 | export * from "./IDataContext"; -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "refine-firebase", 3 | "version": "1.2.1", 4 | "description": "Firebase Tool for Refine", 5 | "main": "lib/index.js", 6 | "author": "Resul TURAN", 7 | "license": "MIT", 8 | "keywords": [ 9 | "Refine", 10 | "Firebase" 11 | ], 12 | "devDependencies": { 13 | "@pankod/refine-core": "^3.95.3", 14 | "@types/uuid": "^8.3.1", 15 | "typescript": "^4.9.4" 16 | }, 17 | "scripts": { 18 | "dev": "tsc --watch --preserveWatchOutput", 19 | "build": "tsc" 20 | }, 21 | "dependencies": { 22 | "firebase": "^9.16.0", 23 | "uuid": "^9.0.0" 24 | }, 25 | "files": [ 26 | "lib" 27 | ], 28 | "repository": { 29 | "type": "git", 30 | "url": "https://github.com/rturan29/refine-firebase.git" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/interfaces/ILogin.ts: -------------------------------------------------------------------------------- 1 | import { Auth, User } from "firebase/auth"; 2 | 3 | declare interface ILoginArgs { 4 | email: string; 5 | password: string; 6 | remember: boolean; 7 | } 8 | 9 | 10 | declare interface IRegisterProps { 11 | setReCaptchaContainer: (ref: any) => void; 12 | } 13 | 14 | declare interface IRegisterArgs extends ILoginArgs { 15 | phone?: string; 16 | displayName?: string; 17 | } 18 | 19 | declare interface IUser extends Partial { 20 | email: string; 21 | name?: string; 22 | } 23 | 24 | declare interface IAuthCallbacks { 25 | onRegister?: (user: User) => void; 26 | onLogin?: (user: User) => void; 27 | onLogout?: (auth: Auth) => any; 28 | } 29 | 30 | declare type TLogoutData = void | false | string; 31 | 32 | 33 | export { ILoginArgs, IRegisterProps, IRegisterArgs, IUser, IAuthCallbacks, TLogoutData }; -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2021 Resul TURAN 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | 9 | -------------------------------------------------------------------------------- /src/interfaces/IDataContext.ts: -------------------------------------------------------------------------------- 1 | export declare type VariableOptions = { 2 | type?: string; 3 | name?: string; 4 | value: any; 5 | list?: boolean; 6 | required?: boolean; 7 | } | { 8 | [k: string]: any; 9 | }; 10 | export declare type Fields = Array; 11 | export declare type NestedField = { 12 | operation: string; 13 | variables: QueryBuilderOptions[]; 14 | fields: Fields; 15 | }; 16 | export interface QueryBuilderOptions { 17 | operation?: string; 18 | fields?: Fields; 19 | variables?: VariableOptions; 20 | } 21 | export declare type MetaDataQuery = { 22 | [k: string]: any; 23 | } & QueryBuilderOptions; 24 | export interface Pagination { 25 | current?: number; 26 | pageSize?: number; 27 | } 28 | export interface Search { 29 | field?: string; 30 | value?: string; 31 | } 32 | export declare type CrudOperators = "eq" | "ne" | "lt" | "gt" | "lte" | "gte" | "in" | "nin" | "contains" | "ncontains" | "containss" | "ncontainss" | "null"; 33 | export declare type CrudFilter = { 34 | field: string; 35 | operator: CrudOperators; 36 | value: any; 37 | }; 38 | export declare type CrudSort = { 39 | field: string; 40 | order: "asc" | "desc"; 41 | }; 42 | export declare type CrudFilters = CrudFilter[]; 43 | export declare type CrudSorting = CrudSort[]; 44 | -------------------------------------------------------------------------------- /test/index.test.js: -------------------------------------------------------------------------------- 1 | const { FirebaseAuth } = require("../lib/firebaseAuth"); 2 | const { getAuth, connectAuthEmulator, } = require("@firebase/auth"); 3 | const { initializeApp } = require("@firebase/app"); 4 | const { getFirestore, connectFirestoreEmulator } = require("firebase/firestore"); 5 | const { FirestoreDatabase } = require("../lib/FirestoreDatabase"); 6 | 7 | const emulator_uri = "http://localhost:9099"; 8 | const projectId = "fakeproject"; 9 | const apiKey = "fakeApiKey"; 10 | 11 | const userInfo = { 12 | email: "test@gmail.com", 13 | password: "123456", 14 | }; 15 | 16 | const app = initializeApp({ projectId, apiKey }); 17 | 18 | const auth = getAuth(app); 19 | const db = getFirestore(app); 20 | 21 | connectAuthEmulator(auth, emulator_uri); 22 | connectFirestoreEmulator(db, "localhost", 8080); 23 | 24 | 25 | const firebaseAuth = new FirebaseAuth(undefined, undefined, auth); 26 | const firestoreDatabase = new FirestoreDatabase({ firebaseApp: app }, db); 27 | 28 | (async function Test() { 29 | // await register(); 30 | 31 | await login(); 32 | console.log("Logged in successfully"); 33 | 34 | await createData(); 35 | 36 | auth.currentUser.delete(); 37 | })(); 38 | 39 | 40 | 41 | async function register() { 42 | await firebaseAuth.handleRegister(userInfo); 43 | } 44 | 45 | async function login() { 46 | await firebaseAuth.handleLogIn(userInfo); 47 | } 48 | 49 | async function createData() { 50 | try { 51 | const data = await firestoreDatabase.createData({ 52 | resource: "TEST", 53 | variables: { 54 | name: "test", 55 | age: 20, 56 | id: "test" 57 | } 58 | }); 59 | 60 | console.log(data); 61 | } catch (error) { 62 | console.log(error); 63 | } 64 | } 65 | 66 | module.exports = { register, login }; 67 | 68 | -------------------------------------------------------------------------------- /src/interfaces/IDataBase.ts: -------------------------------------------------------------------------------- 1 | import { FirebaseApp } from "@firebase/app"; 2 | import { MetaDataQuery, Pagination, CrudSorting, CrudFilters, CrudFilter } from "./IDataContext"; 3 | 4 | declare interface ICreateData { 5 | resource: string; 6 | variables: TVariables; 7 | metaData?: MetaDataQuery; 8 | } 9 | 10 | declare interface IUpdateData extends ICreateData { 11 | id?: string; 12 | } 13 | 14 | declare interface IUpdateManyData extends ICreateData { 15 | ids: Array; 16 | } 17 | 18 | declare interface IDeleteData { 19 | resource: string; 20 | id: string; 21 | metaData?: MetaDataQuery; 22 | } 23 | 24 | declare interface IDeleteManyData extends Omit { 25 | ids: Array; 26 | } 27 | 28 | declare interface IGetOne { 29 | resource: string; 30 | id: string; 31 | metaData?: MetaDataQuery; 32 | } 33 | 34 | declare interface IGetMany extends Omit { 35 | ids: Array; 36 | } 37 | 38 | declare interface IGetList { 39 | resource: string; 40 | pagination?: Pagination; 41 | sort?: CrudSorting; 42 | filters?: CrudFilters; 43 | metaData?: MetaDataQuery; 44 | } 45 | 46 | declare interface ICustomMethod { 47 | url: string; 48 | method: "get" | "delete" | "head" | "options" | "post" | "put" | "patch"; 49 | sort?: CrudSorting; 50 | filters?: CrudFilter[]; 51 | payload?: {}; 52 | query?: {}; 53 | headers?: {}; 54 | metaData?: MetaDataQuery; 55 | } 56 | 57 | declare interface IDatabaseOptions { 58 | firebaseApp?: FirebaseApp, 59 | requestPayloadFactory?: (resource: string, data: any) => any, 60 | responsePayloadFactory?: (resource: string, data: any) => any, 61 | } 62 | export { IDatabaseOptions, ICustomMethod, IGetList, IGetMany, IGetOne, IDeleteManyData, IDeleteData, IUpdateManyData, IUpdateData, ICreateData }; -------------------------------------------------------------------------------- /src/Database.ts: -------------------------------------------------------------------------------- 1 | import { DataProvider } from "@pankod/refine-core"; 2 | import { IDatabaseOptions } from "./interfaces"; 3 | 4 | export abstract class BaseDatabase { 5 | 6 | constructor (private options?: IDatabaseOptions) { 7 | this.getDataProvider = this.getDataProvider.bind(this); 8 | this.createData = this.createData.bind(this); 9 | this.createManyData = this.createManyData.bind(this); 10 | this.deleteData = this.deleteData.bind(this); 11 | this.deleteManyData = this.deleteManyData.bind(this); 12 | this.getList = this.getList.bind(this); 13 | this.getMany = this.getMany.bind(this); 14 | this.getOne = this.getOne.bind(this); 15 | this.updateData = this.updateData.bind(this); 16 | this.updateManyData = this.updateManyData.bind(this); 17 | this.getAPIUrl = this.getAPIUrl.bind(this); 18 | this.requestPayloadFactory = this.requestPayloadFactory.bind(this); 19 | this.responsePayloadFactory = this.responsePayloadFactory.bind(this); 20 | } 21 | 22 | requestPayloadFactory(resource: string, data: any): any { 23 | if (this.options?.requestPayloadFactory) { 24 | return (this.options.requestPayloadFactory(resource, data)); 25 | } else { 26 | return { ...data }; 27 | } 28 | } 29 | 30 | responsePayloadFactory(resource: string, data: any): any { 31 | if (this.options?.responsePayloadFactory) { 32 | return (this.options?.responsePayloadFactory(resource, data)); 33 | } else { 34 | return { ...data }; 35 | } 36 | } 37 | 38 | abstract createData(args: any): Promise; 39 | 40 | abstract createManyData(args: any): Promise; 41 | 42 | abstract deleteData(args: any): Promise; 43 | 44 | abstract deleteManyData(args: any): Promise; 45 | 46 | abstract getList(args: any): Promise; 47 | 48 | abstract getMany(args: any): Promise; 49 | 50 | abstract getOne(args: any): Promise; 51 | 52 | abstract updateData(args: any): Promise; 53 | 54 | abstract updateManyData(args: any): Promise; 55 | 56 | getAPIUrl() { 57 | return ""; 58 | } 59 | 60 | getDataProvider(): DataProvider { 61 | return { 62 | create: this.createData, 63 | createMany: this.createManyData, 64 | deleteOne: this.deleteData, 65 | deleteMany: this.deleteManyData, 66 | getList: this.getList, 67 | getMany: this.getMany, 68 | getOne: this.getOne, 69 | update: this.updateData, 70 | updateMany: this.updateManyData, 71 | getApiUrl: this.getAPIUrl, 72 | }; 73 | } 74 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![npm](https://img.shields.io/npm/v/refine-firebase) 2 | ![npm bundle size (version)](https://img.shields.io/bundlephobia/minzip/refine-firebase/1.1.1) 3 | ![npm](https://img.shields.io/npm/dt/refine-firebase) 4 | ![GitHub](https://img.shields.io/github/license/resulturan/refine-firebase) 5 | ![GitHub Repo stars](https://img.shields.io/github/stars/resulturan/refine-firebase?style=social) 6 | 7 | # Refine-Firebase 8 | 9 | > Firebase integration tool for your Refine app 10 | 11 | ## Install 12 | 13 | ```bash 14 | npm i refine-firebase 15 | ``` 16 | 17 | ## Usage 18 | 19 | **1. Create a config file and initialize firebase.** 20 | 21 | _firebaseConfig.js_ 22 | 23 | ```js 24 | import { initializeFirebase } from "refine-firebase"; 25 | 26 | export const firebaseConfig = { 27 | apiKey: XXXXX, 28 | authDomain: XXXXX, 29 | projectId: XXXXX, 30 | storageBucket: XXXXX, 31 | messagingSenderId: XXXXX, 32 | appId: XXXXX, 33 | databaseURL: XXXXX, 34 | }; 35 | 36 | export const firebaseApp = initializeFirebase(firebaseConfig); 37 | ``` 38 | 39 | **2. Create tools according to your needs.** 40 | 41 | _firebaseConfig.js_ 42 | 43 | ```js 44 | import { 45 | FirebaseAuth, 46 | FirebaseDatabase, 47 | FirestoreDatabase, 48 | } from "refine-firebase"; 49 | 50 | export const firebaseAuth = new FirebaseAuth(); 51 | 52 | export const firestoreDatabase = new FirestoreDatabase(); 53 | 54 | export const firebaseDatabase = new FirebaseDatabase(); 55 | ``` 56 | 57 | **3. Use dataProviders for Refine** 58 | 59 | _App.js_ 60 | 61 | ```js 62 | import {firebaseAuth, firestoreDatabase }from "./firebaseConfig"; 63 | 64 | 68 | ``` 69 | 70 | ## API Reference 71 | 72 | ### **Functions** 73 | 74 | | Function | Description | 75 | | ------------------ | ----------------------------------------------- | 76 | | initializeFirebase | Creates and initializes a FirebaseApp instance. | 77 | 78 | ### **Classes** 79 | 80 | | Class | Description | 81 | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------- | 82 | | FirebaseAuth | Provider for generating [firebase-authentication] and [IAuthContext] for @pankod/refine auth-provider | 83 | | FirestoreDatabase | Provider for initializing [Firestore] instance with the provided FirebaseApp and creating @pankod/refine [dataProvider] | 84 | | FirebaseDatabase | Provider for initializing [Realtime-Database] instance with the provided FirebaseApp and creating @pankod/refine [dataProvider] | 85 | 86 | 118 | 119 | ## License 120 | 121 | [MIT](http://vjpr.mit-license.org) 122 | 123 | [firebaseoptions]: https://firebase.google.com/docs/reference/js/app.firebaseoptions.md?authuser=0#firebaseoptions_interface 124 | [firebaseapp]: https://firebase.google.com/docs/reference/js/app.firebaseapp.md?authuser=0#firebaseapp_interface 125 | [iauthcontext]: https://refine.dev/docs/api-references/providers/auth-provider/#api-reference 126 | [firebase-authentication]: https://firebase.google.com/docs/reference/js/auth.md?authuser=0#functions 127 | [dataprovider]: https://refine.dev/docs/api-references/providers/data-provider 128 | [firestore]: https://firebase.google.com/docs/reference/js/firestore_.md?authuser=0#@firebase/firestore 129 | [realtime-database]: https://firebase.google.com/docs/reference/js/database.md?authuser=0#database_package 130 | -------------------------------------------------------------------------------- /src/firebaseDatabase.ts: -------------------------------------------------------------------------------- 1 | import { Database, get, getDatabase, ref, remove, set } from "firebase/database"; 2 | import { ICreateData, IDeleteData, IDeleteManyData, IGetList, IGetMany, IGetOne, IDatabaseOptions, IUpdateData, IUpdateManyData } from "./interfaces"; 3 | import { BaseDatabase } from "./Database"; 4 | 5 | import { v4 as uuidv4 } from 'uuid'; 6 | 7 | 8 | export class FirebaseDatabase extends BaseDatabase { 9 | database: Database; 10 | 11 | constructor (options?: IDatabaseOptions, database?: Database) { 12 | super(options); 13 | this.database = database || getDatabase(options?.firebaseApp); 14 | this.getRef = this.getRef.bind(this); 15 | } 16 | 17 | getRef(url: string) { 18 | return ref(this.database, url); 19 | } 20 | 21 | async createData(args: ICreateData): Promise { 22 | try { 23 | const uuid = uuidv4(); 24 | const databaseRef = this.getRef(`${args.resource}/${uuid}`); 25 | const payload = { 26 | ...args.variables, 27 | id: uuid, 28 | }; 29 | 30 | await set(databaseRef, this.requestPayloadFactory(args.resource, payload)); 31 | 32 | return { data: payload }; 33 | } catch (error) { 34 | Promise.reject(error); 35 | } 36 | } 37 | 38 | async createManyData(args: ICreateData): Promise { 39 | try { 40 | const data = await this.createData(args); 41 | 42 | return { data }; 43 | } catch (error) { 44 | Promise.reject(error); 45 | } 46 | } 47 | 48 | async deleteData(args: IDeleteData): Promise { 49 | try { 50 | const databaseRef = this.getRef(`${args.resource}/${args.id}`); 51 | await remove(databaseRef); 52 | } catch (error) { 53 | Promise.reject(error); 54 | } 55 | } 56 | 57 | async deleteManyData(args: IDeleteManyData): Promise { 58 | try { 59 | args.ids.forEach(async id => { 60 | await this.deleteData({ resource: args.resource, id }); 61 | }); 62 | } catch (error) { 63 | Promise.reject(error); 64 | } 65 | } 66 | 67 | async getList(args: IGetList): Promise { 68 | try { 69 | const databaseRef = this.getRef(args.resource); 70 | 71 | let snapshot = await get(databaseRef); 72 | 73 | if (snapshot?.exists()) { 74 | let data = Object.values(snapshot.val()); 75 | data = data.map(item => this.responsePayloadFactory(args.resource, item)); 76 | return { data }; 77 | } else { 78 | Promise.reject(); 79 | } 80 | } catch (error) { 81 | Promise.reject(error); 82 | } 83 | } 84 | 85 | async getMany(args: IGetMany): Promise { 86 | try { 87 | let { resource, ids } = args; 88 | const databaseRef = this.getRef(resource); 89 | 90 | let snapshot = await get(databaseRef); 91 | 92 | if (snapshot?.exists()) { 93 | let data = ids.filter((item, i) => ids.indexOf(item) === i)?.map(id => snapshot.val()?.[id]); 94 | data = this.responsePayloadFactory(args.resource, data); 95 | 96 | return { data }; 97 | } else { 98 | Promise.reject(); 99 | } 100 | 101 | } catch (error) { 102 | Promise.reject(error); 103 | } 104 | } 105 | 106 | async getOne(args: IGetOne): Promise { 107 | try { 108 | const databaseRef = this.getRef(args.resource); 109 | 110 | let snapshot = await get(databaseRef); 111 | 112 | if (snapshot?.exists()) { 113 | let data = this.responsePayloadFactory(args.resource, snapshot.val()?.[args.id]); 114 | 115 | return { data }; 116 | } else { 117 | Promise.reject(""); 118 | } 119 | } catch (error: any) { 120 | Promise.reject(error); 121 | } 122 | } 123 | 124 | async updateData(args: IUpdateData): Promise { 125 | try { 126 | const databaseRef = this.getRef(`${args.resource}/${args.id}`); 127 | 128 | await set(databaseRef, this.requestPayloadFactory(args.resource, args.variables)); 129 | 130 | return { data: args.variables }; 131 | } catch (error) { 132 | Promise.reject(error); 133 | } 134 | } 135 | async updateManyData(args: IUpdateManyData): Promise { 136 | try { 137 | let data: Array = []; 138 | args.ids.forEach(async (id: string) => { 139 | const result = this.updateData({ resource: args.resource, variables: args.variables, id }); 140 | data.push(result); 141 | }); 142 | return { data }; 143 | 144 | } catch (error) { 145 | Promise.reject(error); 146 | } 147 | } 148 | } 149 | 150 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, caste, color, religion, or sexual 10 | identity and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | * Demonstrating empathy and kindness toward other people 21 | * Being respectful of differing opinions, viewpoints, and experiences 22 | * Giving and gracefully accepting constructive feedback 23 | * Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | * Focusing on what is best not just for us as individuals, but for the overall 26 | community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | * The use of sexualized language or imagery, and sexual attention or advances of 31 | any kind 32 | * Trolling, insulting or derogatory comments, and personal or political attacks 33 | * Public or private harassment 34 | * Publishing others' private information, such as a physical or email address, 35 | without their explicit permission 36 | * Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Enforcement Responsibilities 40 | 41 | Community leaders are responsible for clarifying and enforcing our standards of 42 | acceptable behavior and will take appropriate and fair corrective action in 43 | response to any behavior that they deem inappropriate, threatening, offensive, 44 | or harmful. 45 | 46 | Community leaders have the right and responsibility to remove, edit, or reject 47 | comments, commits, code, wiki edits, issues, and other contributions that are 48 | not aligned to this Code of Conduct, and will communicate reasons for moderation 49 | decisions when appropriate. 50 | 51 | ## Scope 52 | 53 | This Code of Conduct applies within all community spaces, and also applies when 54 | an individual is officially representing the community in public spaces. 55 | Examples of representing our community include using an official e-mail address, 56 | posting via an official social media account, or acting as an appointed 57 | representative at an online or offline event. 58 | 59 | ## Enforcement 60 | 61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 62 | reported to the community leaders responsible for enforcement at 63 | rturan29@gmail.com. 64 | All complaints will be reviewed and investigated promptly and fairly. 65 | 66 | All community leaders are obligated to respect the privacy and security of the 67 | reporter of any incident. 68 | 69 | ## Enforcement Guidelines 70 | 71 | Community leaders will follow these Community Impact Guidelines in determining 72 | the consequences for any action they deem in violation of this Code of Conduct: 73 | 74 | ### 1. Correction 75 | 76 | **Community Impact**: Use of inappropriate language or other behavior deemed 77 | unprofessional or unwelcome in the community. 78 | 79 | **Consequence**: A private, written warning from community leaders, providing 80 | clarity around the nature of the violation and an explanation of why the 81 | behavior was inappropriate. A public apology may be requested. 82 | 83 | ### 2. Warning 84 | 85 | **Community Impact**: A violation through a single incident or series of 86 | actions. 87 | 88 | **Consequence**: A warning with consequences for continued behavior. No 89 | interaction with the people involved, including unsolicited interaction with 90 | those enforcing the Code of Conduct, for a specified period of time. This 91 | includes avoiding interactions in community spaces as well as external channels 92 | like social media. Violating these terms may lead to a temporary or permanent 93 | ban. 94 | 95 | ### 3. Temporary Ban 96 | 97 | **Community Impact**: A serious violation of community standards, including 98 | sustained inappropriate behavior. 99 | 100 | **Consequence**: A temporary ban from any sort of interaction or public 101 | communication with the community for a specified period of time. No public or 102 | private interaction with the people involved, including unsolicited interaction 103 | with those enforcing the Code of Conduct, is allowed during this period. 104 | Violating these terms may lead to a permanent ban. 105 | 106 | ### 4. Permanent Ban 107 | 108 | **Community Impact**: Demonstrating a pattern of violation of community 109 | standards, including sustained inappropriate behavior, harassment of an 110 | individual, or aggression toward or disparagement of classes of individuals. 111 | 112 | **Consequence**: A permanent ban from any sort of public interaction within the 113 | community. 114 | 115 | ## Attribution 116 | 117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 118 | version 2.1, available at 119 | [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. 120 | 121 | Community Impact Guidelines were inspired by 122 | [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. 123 | 124 | For answers to common questions about this code of conduct, see the FAQ at 125 | [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at 126 | [https://www.contributor-covenant.org/translations][translations]. 127 | 128 | [homepage]: https://www.contributor-covenant.org 129 | [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html 130 | [Mozilla CoC]: https://github.com/mozilla/diversity 131 | [FAQ]: https://www.contributor-covenant.org/faq 132 | [translations]: https://www.contributor-covenant.org/translations -------------------------------------------------------------------------------- /src/firebaseAuth.ts: -------------------------------------------------------------------------------- 1 | import { FirebaseApp } from "@firebase/app"; 2 | import { AuthProvider } from "@pankod/refine-core"; 3 | import { Auth, inMemoryPersistence, browserLocalPersistence, browserSessionPersistence, createUserWithEmailAndPassword, getAuth, getIdTokenResult, ParsedToken, RecaptchaParameters, RecaptchaVerifier, sendEmailVerification, sendPasswordResetEmail, signInWithEmailAndPassword, signOut, updateEmail, updatePassword, updateProfile, User as FirebaseUser } from "firebase/auth"; 4 | import { IAuthCallbacks, ILoginArgs, IRegisterArgs, IUser } from "./interfaces"; 5 | import { detectPlatform } from "./helpers/detectPlatform"; 6 | 7 | export class FirebaseAuth { 8 | auth: Auth; 9 | 10 | constructor ( 11 | private readonly authActions?: IAuthCallbacks, 12 | firebaseApp?: FirebaseApp, 13 | auth?: Auth 14 | ) { 15 | this.auth = auth || getAuth(firebaseApp); 16 | this.auth.useDeviceLanguage(); 17 | 18 | this.getAuthProvider = this.getAuthProvider.bind(this); 19 | this.handleLogIn = this.handleLogIn.bind(this); 20 | this.handleRegister = this.handleRegister.bind(this); 21 | this.handleLogOut = this.handleLogOut.bind(this); 22 | this.handleResetPassword = this.handleResetPassword.bind(this); 23 | this.onUpdateUserData = this.onUpdateUserData.bind(this); 24 | this.getUserIdentity = this.getUserIdentity.bind(this); 25 | this.handleCheckAuth = this.handleCheckAuth.bind(this); 26 | this.createRecaptcha = this.createRecaptcha.bind(this); 27 | this.getPermissions = this.getPermissions.bind(this); 28 | } 29 | 30 | public async handleLogOut() { 31 | await signOut(this.auth); 32 | await this.authActions?.onLogout?.(this.auth); 33 | } 34 | 35 | public async handleRegister(args: IRegisterArgs) { 36 | try { 37 | const { email, password, displayName } = args; 38 | 39 | const userCredential = await createUserWithEmailAndPassword(this.auth, email, password); 40 | await sendEmailVerification(userCredential.user); 41 | if (userCredential.user) { 42 | if (displayName) { 43 | await updateProfile(userCredential.user, { displayName }); 44 | } 45 | this.authActions?.onRegister?.(userCredential.user); 46 | } 47 | 48 | } catch (error) { 49 | return Promise.reject(error); 50 | } 51 | } 52 | 53 | public async handleLogIn({ email, password, remember }: ILoginArgs) { 54 | try { 55 | if (this.auth) { 56 | let persistance = browserSessionPersistence; 57 | if (detectPlatform() === "react-native") { 58 | persistance = inMemoryPersistence; 59 | } else if (remember) { 60 | persistance = browserLocalPersistence; 61 | } 62 | await this.auth.setPersistence(persistance); 63 | 64 | const userCredential = await signInWithEmailAndPassword(this.auth, email, password); 65 | const userToken = await userCredential?.user?.getIdToken?.(); 66 | if (userToken) { 67 | this.authActions?.onLogin?.(userCredential.user); 68 | } else { 69 | return Promise.reject(new Error("User is not found")); 70 | } 71 | } else { 72 | return Promise.reject(new Error("User is not found")); 73 | } 74 | } catch (error) { 75 | return Promise.reject(error); 76 | } 77 | } 78 | 79 | public handleResetPassword(email: string) { 80 | return sendPasswordResetEmail(this.auth, email); 81 | } 82 | 83 | public async onUpdateUserData(args: IRegisterArgs) { 84 | 85 | try { 86 | if (this.auth?.currentUser) { 87 | const { displayName, email, password } = args; 88 | if (password) { 89 | await updatePassword(this.auth.currentUser, password); 90 | } 91 | 92 | if (email && this.auth.currentUser.email !== email) { 93 | await updateEmail(this.auth.currentUser, email); 94 | } 95 | 96 | if (displayName && this.auth.currentUser.displayName !== displayName) { 97 | await updateProfile(this.auth.currentUser, { displayName: displayName }); 98 | } 99 | } 100 | } catch (error) { 101 | return Promise.reject(error); 102 | } 103 | } 104 | 105 | private async getUserIdentity(): Promise { 106 | const user = this.auth?.currentUser; 107 | return { 108 | ...this.auth.currentUser, 109 | email: user?.email || "", 110 | name: user?.displayName || "" 111 | }; 112 | } 113 | 114 | private getFirebaseUser(): Promise { 115 | return new Promise((resolve, reject) => { 116 | const unsubscribe = this.auth?.onAuthStateChanged(user => { 117 | unsubscribe(); 118 | resolve(user as FirebaseUser | PromiseLike); 119 | }, reject); 120 | }); 121 | } 122 | 123 | private async handleCheckAuth() { 124 | if (await this.getFirebaseUser()) { 125 | return Promise.resolve(); 126 | } else { 127 | return Promise.reject(new Error("User is not found")); 128 | } 129 | } 130 | 131 | public async getPermissions(): Promise { 132 | if (this.auth?.currentUser) { 133 | const idTokenResult = await getIdTokenResult(this.auth.currentUser); 134 | return idTokenResult?.claims; 135 | } else { 136 | return Promise.reject(new Error("User is not found")); 137 | } 138 | } 139 | 140 | public createRecaptcha(containerOrId: string | HTMLDivElement, parameters?: RecaptchaParameters) { 141 | return new RecaptchaVerifier(containerOrId, parameters, this.auth); 142 | } 143 | 144 | public getAuthProvider(): AuthProvider { 145 | return { 146 | login: this.handleLogIn, 147 | logout: this.handleLogOut, 148 | checkAuth: this.handleCheckAuth, 149 | checkError: () => Promise.resolve(), 150 | getPermissions: this.getPermissions, 151 | getUserIdentity: this.getUserIdentity, 152 | }; 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /src/FirestoreDatabase.ts: -------------------------------------------------------------------------------- 1 | import { Firestore, getDocs, getFirestore, collection, addDoc, doc, getDoc, updateDoc, deleteDoc, where, query, CollectionReference, DocumentData, Query, orderBy } from "firebase/firestore"; 2 | import { ICreateData, IDeleteData, IDeleteManyData, IGetList, IGetMany, IGetOne, IDatabaseOptions, IUpdateData, IUpdateManyData, CrudOperators } from "./interfaces"; 3 | import { BaseDatabase } from "./Database"; 4 | 5 | 6 | export class FirestoreDatabase extends BaseDatabase { 7 | database: Firestore; 8 | 9 | constructor (options?: IDatabaseOptions, database?: Firestore) { 10 | super(options); 11 | this.database = database || getFirestore(options?.firebaseApp); 12 | 13 | this.getCollectionRef = this.getCollectionRef.bind(this); 14 | this.getFilterQuery = this.getFilterQuery.bind(this); 15 | } 16 | 17 | 18 | getCollectionRef(resource: string) { 19 | return collection(this.database, resource); 20 | } 21 | 22 | getDocRef(resource: string, id: string) { 23 | return doc(this.database, resource, id); 24 | } 25 | 26 | getFilterQuery({ resource, sort, filters }: IGetList): (CollectionReference | Query) { 27 | const ref = this.getCollectionRef(resource); 28 | let queryFilter = filters?.map(filter => { 29 | const operator = getFilterOperator(filter.operator); 30 | return where(filter.field, operator, filter.value); 31 | }); 32 | let querySorter = sort?.map(sorter => orderBy(sorter.field, sorter.order)); 33 | 34 | if (queryFilter?.length && querySorter?.length) { 35 | return query(ref, ...queryFilter, ...querySorter); 36 | } else if (queryFilter?.length) { 37 | return query(ref, ...queryFilter); 38 | } else if (querySorter?.length) { 39 | return query(ref, ...querySorter); 40 | } 41 | else { 42 | return ref; 43 | } 44 | } 45 | 46 | async createData(args: ICreateData): Promise { 47 | try { 48 | const ref = this.getCollectionRef(args.resource); 49 | const payload = this.requestPayloadFactory(args.resource, args.variables); 50 | 51 | const docRef = await addDoc(ref, payload); 52 | 53 | let data = { 54 | id: docRef.id, 55 | ...payload 56 | }; 57 | 58 | return { data }; 59 | } catch (error) { 60 | Promise.reject(error); 61 | } 62 | } 63 | 64 | async createManyData(args: ICreateData): Promise { 65 | try { 66 | var data = await this.createData(args); 67 | 68 | return { data }; 69 | } catch (error) { 70 | Promise.reject(error); 71 | } 72 | } 73 | 74 | async deleteData(args: IDeleteData): Promise { 75 | try { 76 | const ref = this.getDocRef(args.resource, args.id); 77 | 78 | await deleteDoc(ref); 79 | } catch (error) { 80 | Promise.reject(error); 81 | } 82 | } 83 | 84 | async deleteManyData(args: IDeleteManyData): Promise { 85 | try { 86 | args.ids.forEach(async id => { 87 | this.deleteData({ resource: args.resource, id }); 88 | }); 89 | } catch (error) { 90 | Promise.reject(error); 91 | } 92 | } 93 | 94 | async getList(args: IGetList): Promise { 95 | try { 96 | const ref = this.getFilterQuery(args); 97 | let data: any[] = []; 98 | const current = args.pagination?.current ?? 1; 99 | const limit = args.pagination?.pageSize || 10; 100 | 101 | const querySnapshot = await getDocs(ref); 102 | 103 | querySnapshot.forEach(document => { 104 | data.push(this.responsePayloadFactory(args.resource, { 105 | id: document.id, 106 | ...document.data() 107 | })); 108 | }); 109 | return { data }; 110 | 111 | } catch (error) { 112 | Promise.reject(error); 113 | } 114 | } 115 | 116 | async getMany(args: IGetMany): Promise { 117 | try { 118 | const ref = this.getCollectionRef(args.resource); 119 | let data: any[] = []; 120 | 121 | const querySnapshot = await getDocs(ref); 122 | 123 | querySnapshot.forEach(document => { 124 | if (args.ids.includes(document.id)) { 125 | data.push(this.responsePayloadFactory(args.resource, { 126 | id: document.id, 127 | ...document.data() 128 | })); 129 | } 130 | }); 131 | return { data }; 132 | } catch (error) { 133 | Promise.reject(error); 134 | } 135 | } 136 | 137 | async getOne(args: IGetOne): Promise { 138 | try { 139 | if (args.resource && args.id) { 140 | const docRef = this.getDocRef(args.resource, args.id); 141 | 142 | const docSnap = await getDoc(docRef); 143 | 144 | const data = this.responsePayloadFactory(args.resource, { ...docSnap.data(), id: docSnap.id }); 145 | 146 | return { data }; 147 | } 148 | 149 | } catch (error: any) { 150 | Promise.reject(error); 151 | } 152 | } 153 | 154 | async updateData(args: IUpdateData): Promise { 155 | try { 156 | if (args.id && args.resource) { 157 | var ref = this.getDocRef(args.resource, args.id); 158 | await updateDoc(ref, this.requestPayloadFactory(args.resource, args.variables)); 159 | } 160 | 161 | return { data: args.variables }; 162 | } catch (error) { 163 | Promise.reject(error); 164 | } 165 | } 166 | async updateManyData(args: IUpdateManyData): Promise { 167 | try { 168 | args.ids.forEach(async id => { 169 | var ref = this.getDocRef(args.resource, id); 170 | await updateDoc(ref, this.requestPayloadFactory(args.resource, args.variables)); 171 | }); 172 | 173 | } catch (error) { 174 | Promise.reject(error); 175 | } 176 | } 177 | } 178 | 179 | function getFilterOperator(operator: CrudOperators) { 180 | switch (operator) { 181 | case "lt": 182 | return "<"; 183 | case "lte": 184 | return "<="; 185 | 186 | case "gt": 187 | return ">"; 188 | case "gte": 189 | return ">="; 190 | 191 | case "eq": 192 | return "=="; 193 | case "ne": 194 | return "!="; 195 | 196 | case "nin": 197 | return "not-in"; 198 | 199 | case "in": 200 | default: 201 | return "in"; 202 | } 203 | } 204 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@firebase/analytics-compat@0.2.1": 6 | version "0.2.1" 7 | resolved "https://registry.yarnpkg.com/@firebase/analytics-compat/-/analytics-compat-0.2.1.tgz#bec4f3773ae901ffb08a939ed4bc48ad2ec0d6ee" 8 | integrity sha512-qfFAGS4YFsBbmZwVa7xaDnGh7k9BKF4o/piyjySAv0lxRYd74/tSrm3kMk1YM7GCti7PdbgKvl6oSR70zMFQjw== 9 | dependencies: 10 | "@firebase/analytics" "0.9.1" 11 | "@firebase/analytics-types" "0.8.0" 12 | "@firebase/component" "0.6.1" 13 | "@firebase/util" "1.9.0" 14 | tslib "^2.1.0" 15 | 16 | "@firebase/analytics-types@0.8.0": 17 | version "0.8.0" 18 | resolved "https://registry.yarnpkg.com/@firebase/analytics-types/-/analytics-types-0.8.0.tgz#551e744a29adbc07f557306530a2ec86add6d410" 19 | integrity sha512-iRP+QKI2+oz3UAh4nPEq14CsEjrjD6a5+fuypjScisAh9kXKFvdJOZJDwk7kikLvWVLGEs9+kIUS4LPQV7VZVw== 20 | 21 | "@firebase/analytics@0.9.1": 22 | version "0.9.1" 23 | resolved "https://registry.yarnpkg.com/@firebase/analytics/-/analytics-0.9.1.tgz#7ed7dac7a12659e20231b701c4fa1e1ca1285883" 24 | integrity sha512-ARXtNHDrjDhVrs5MqmFDpr5yyCw89r1eHLd+Dw9fotAufxL1WTmo6O9bJqKb7QulIJaA84vsFokA3NaO2DNCnQ== 25 | dependencies: 26 | "@firebase/component" "0.6.1" 27 | "@firebase/installations" "0.6.1" 28 | "@firebase/logger" "0.4.0" 29 | "@firebase/util" "1.9.0" 30 | tslib "^2.1.0" 31 | 32 | "@firebase/app-check-compat@0.3.1": 33 | version "0.3.1" 34 | resolved "https://registry.yarnpkg.com/@firebase/app-check-compat/-/app-check-compat-0.3.1.tgz#09842f5e393e05641eebd9d93f75c7a28b17aced" 35 | integrity sha512-IaSYdmaoQgWUrN6rjAYJs1TGXj38Wl9damtrDEyJBf7+rrvKshPAP/CP6e2bd89XOMZKbvy8rKoe1CqX1K3ZjQ== 36 | dependencies: 37 | "@firebase/app-check" "0.6.1" 38 | "@firebase/app-check-types" "0.5.0" 39 | "@firebase/component" "0.6.1" 40 | "@firebase/logger" "0.4.0" 41 | "@firebase/util" "1.9.0" 42 | tslib "^2.1.0" 43 | 44 | "@firebase/app-check-interop-types@0.2.0": 45 | version "0.2.0" 46 | resolved "https://registry.yarnpkg.com/@firebase/app-check-interop-types/-/app-check-interop-types-0.2.0.tgz#9106270114ca4e7732457e8319333866a26285d8" 47 | integrity sha512-+3PQIeX6/eiVK+x/yg8r6xTNR97fN7MahFDm+jiQmDjcyvSefoGuTTNQuuMScGyx3vYUBeZn+Cp9kC0yY/9uxQ== 48 | 49 | "@firebase/app-check-types@0.5.0": 50 | version "0.5.0" 51 | resolved "https://registry.yarnpkg.com/@firebase/app-check-types/-/app-check-types-0.5.0.tgz#1b02826213d7ce6a1cf773c329b46ea1c67064f4" 52 | integrity sha512-uwSUj32Mlubybw7tedRzR24RP8M8JUVR3NPiMk3/Z4bCmgEKTlQBwMXrehDAZ2wF+TsBq0SN1c6ema71U/JPyQ== 53 | 54 | "@firebase/app-check@0.6.1": 55 | version "0.6.1" 56 | resolved "https://registry.yarnpkg.com/@firebase/app-check/-/app-check-0.6.1.tgz#5be49dab1b7cab214cb9c8411a710fa12548a92e" 57 | integrity sha512-gDG4Gr4n3MnBZAAwLMynU9u/b+f1y87lCezfwlmN1gUxD85mJcvp4hLf87fACTyRkdVfe8hqSXm+MOYn2bMGLg== 58 | dependencies: 59 | "@firebase/component" "0.6.1" 60 | "@firebase/logger" "0.4.0" 61 | "@firebase/util" "1.9.0" 62 | tslib "^2.1.0" 63 | 64 | "@firebase/app-compat@0.2.1": 65 | version "0.2.1" 66 | resolved "https://registry.yarnpkg.com/@firebase/app-compat/-/app-compat-0.2.1.tgz#29b310267244c273445a5776945c0be1e168ecc2" 67 | integrity sha512-UgPy2ZO0li0j4hAkaZKY9P1TuJEx5RylhUWPzCb8DZhBm+uHdfsFI9Yr+wMlu6qQH2sWoweFtYU6ljGzxwdctw== 68 | dependencies: 69 | "@firebase/app" "0.9.1" 70 | "@firebase/component" "0.6.1" 71 | "@firebase/logger" "0.4.0" 72 | "@firebase/util" "1.9.0" 73 | tslib "^2.1.0" 74 | 75 | "@firebase/app-types@0.9.0": 76 | version "0.9.0" 77 | resolved "https://registry.yarnpkg.com/@firebase/app-types/-/app-types-0.9.0.tgz#35b5c568341e9e263b29b3d2ba0e9cfc9ec7f01e" 78 | integrity sha512-AeweANOIo0Mb8GiYm3xhTEBVCmPwTYAu9Hcd2qSkLuga/6+j9b1Jskl5bpiSQWy9eJ/j5pavxj6eYogmnuzm+Q== 79 | 80 | "@firebase/app@0.9.1": 81 | version "0.9.1" 82 | resolved "https://registry.yarnpkg.com/@firebase/app/-/app-0.9.1.tgz#e3935befdd5bd739003d51779af1620e36d81cce" 83 | integrity sha512-Z8wOSol+pvp4CFyY1mW+aqdZlrwhW/ha2YXQ6/avJ56c5Hnvt4k6GktZE6o5NyzvfJTgNHryhMtnEJMIuLaT4w== 84 | dependencies: 85 | "@firebase/component" "0.6.1" 86 | "@firebase/logger" "0.4.0" 87 | "@firebase/util" "1.9.0" 88 | idb "7.0.1" 89 | tslib "^2.1.0" 90 | 91 | "@firebase/auth-compat@0.3.1": 92 | version "0.3.1" 93 | resolved "https://registry.yarnpkg.com/@firebase/auth-compat/-/auth-compat-0.3.1.tgz#542012424b68e9b7e78a90cbc4290c1b7d37fef8" 94 | integrity sha512-Ndcaam+IL1TuJ6hZ0EcQ+v261cK3kPm4mvUtouoTfl3FNinm9XvhccN8ojuaRtIV9TiY18mzGjONKF5ZCXLIZw== 95 | dependencies: 96 | "@firebase/auth" "0.21.1" 97 | "@firebase/auth-types" "0.12.0" 98 | "@firebase/component" "0.6.1" 99 | "@firebase/util" "1.9.0" 100 | node-fetch "2.6.7" 101 | tslib "^2.1.0" 102 | 103 | "@firebase/auth-interop-types@0.2.1": 104 | version "0.2.1" 105 | resolved "https://registry.yarnpkg.com/@firebase/auth-interop-types/-/auth-interop-types-0.2.1.tgz#78884f24fa539e34a06c03612c75f222fcc33742" 106 | integrity sha512-VOaGzKp65MY6P5FI84TfYKBXEPi6LmOCSMMzys6o2BN2LOsqy7pCuZCup7NYnfbk5OkkQKzvIfHOzTm0UDpkyg== 107 | 108 | "@firebase/auth-types@0.12.0": 109 | version "0.12.0" 110 | resolved "https://registry.yarnpkg.com/@firebase/auth-types/-/auth-types-0.12.0.tgz#f28e1b68ac3b208ad02a15854c585be6da3e8e79" 111 | integrity sha512-pPwaZt+SPOshK8xNoiQlK5XIrS97kFYc3Rc7xmy373QsOJ9MmqXxLaYssP5Kcds4wd2qK//amx/c+A8O2fVeZA== 112 | 113 | "@firebase/auth@0.21.1": 114 | version "0.21.1" 115 | resolved "https://registry.yarnpkg.com/@firebase/auth/-/auth-0.21.1.tgz#67347b7ab3bfcc3e92afd89af2ed0eb591277d2d" 116 | integrity sha512-/ap7eT9X7kZTD4Fn2m+nJyC1a9DfFo0H4euoJDN8U+JCMN+GOqkPbkMWCey7wV510WNoPCZQ05+nsAqKkbEVJw== 117 | dependencies: 118 | "@firebase/component" "0.6.1" 119 | "@firebase/logger" "0.4.0" 120 | "@firebase/util" "1.9.0" 121 | node-fetch "2.6.7" 122 | tslib "^2.1.0" 123 | 124 | "@firebase/component@0.6.1": 125 | version "0.6.1" 126 | resolved "https://registry.yarnpkg.com/@firebase/component/-/component-0.6.1.tgz#1099d18700fd35b114a2ddc4b5e91ce23971e45f" 127 | integrity sha512-yvKthG0InjFx9aOPnh6gk0lVNfNVEtyq3LwXgZr+hOwD0x/CtXq33XCpqv0sQj5CA4FdMy8OO+y9edI+ZUw8LA== 128 | dependencies: 129 | "@firebase/util" "1.9.0" 130 | tslib "^2.1.0" 131 | 132 | "@firebase/database-compat@0.3.1": 133 | version "0.3.1" 134 | resolved "https://registry.yarnpkg.com/@firebase/database-compat/-/database-compat-0.3.1.tgz#417043cb25388e44086dde0605f2ce7dc1bf9902" 135 | integrity sha512-sI7LNh0C8PCq9uUKjrBKLbZvqHTSjsf2LeZRxin+rHVegomjsOAYk9OzYwxETWh3URhpMkCM8KcTl7RVwAldog== 136 | dependencies: 137 | "@firebase/component" "0.6.1" 138 | "@firebase/database" "0.14.1" 139 | "@firebase/database-types" "0.10.1" 140 | "@firebase/logger" "0.4.0" 141 | "@firebase/util" "1.9.0" 142 | tslib "^2.1.0" 143 | 144 | "@firebase/database-types@0.10.1": 145 | version "0.10.1" 146 | resolved "https://registry.yarnpkg.com/@firebase/database-types/-/database-types-0.10.1.tgz#6c2288a7da869acd34f6b61493bb5f8d962b3a2a" 147 | integrity sha512-UgUx9VakTHbP2WrVUdYrUT2ofTFVfWjGW2O1fwuvvMyo6WSnuSyO5nB1u0cyoMPvO25dfMIUVerfK7qFfwGL3Q== 148 | dependencies: 149 | "@firebase/app-types" "0.9.0" 150 | "@firebase/util" "1.9.0" 151 | 152 | "@firebase/database@0.14.1": 153 | version "0.14.1" 154 | resolved "https://registry.yarnpkg.com/@firebase/database/-/database-0.14.1.tgz#2f2efaceb85ec51b6b10d3647340b44233f7c2ee" 155 | integrity sha512-iX6/p7hoxUMbYAGZD+D97L05xQgpkslF2+uJLZl46EdaEfjVMEwAdy7RS/grF96kcFZFg502LwPYTXoIdrZqOA== 156 | dependencies: 157 | "@firebase/auth-interop-types" "0.2.1" 158 | "@firebase/component" "0.6.1" 159 | "@firebase/logger" "0.4.0" 160 | "@firebase/util" "1.9.0" 161 | faye-websocket "0.11.4" 162 | tslib "^2.1.0" 163 | 164 | "@firebase/firestore-compat@0.3.1": 165 | version "0.3.1" 166 | resolved "https://registry.yarnpkg.com/@firebase/firestore-compat/-/firestore-compat-0.3.1.tgz#f571b2398cfcfe1c2b094d908c21c06c98f232f7" 167 | integrity sha512-7eE4O2ASyy5X2h4a+KCRt0ZpliUAKo2jrKxKl1ZVCnOOjSCkXXeRVRG9eNZRqBwukhdwskJTM9acs0WxmKOYLA== 168 | dependencies: 169 | "@firebase/component" "0.6.1" 170 | "@firebase/firestore" "3.8.1" 171 | "@firebase/firestore-types" "2.5.1" 172 | "@firebase/util" "1.9.0" 173 | tslib "^2.1.0" 174 | 175 | "@firebase/firestore-types@2.5.1": 176 | version "2.5.1" 177 | resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-2.5.1.tgz#464b2ee057956599ca34de50eae957c30fdbabb7" 178 | integrity sha512-xG0CA6EMfYo8YeUxC8FeDzf6W3FX1cLlcAGBYV6Cku12sZRI81oWcu61RSKM66K6kUENP+78Qm8mvroBcm1whw== 179 | 180 | "@firebase/firestore@3.8.1": 181 | version "3.8.1" 182 | resolved "https://registry.yarnpkg.com/@firebase/firestore/-/firestore-3.8.1.tgz#16a933529b31cefc01f4805d33a2f513d47ed0f4" 183 | integrity sha512-oc2HMkUnq/zF+g9o974tp5RVCdXCnrU8e5S98ajfWG/hGV+8pr4i6vIa4z0yEXKWGi4X0FguxrC69z1dxEJbNg== 184 | dependencies: 185 | "@firebase/component" "0.6.1" 186 | "@firebase/logger" "0.4.0" 187 | "@firebase/util" "1.9.0" 188 | "@firebase/webchannel-wrapper" "0.9.0" 189 | "@grpc/grpc-js" "~1.7.0" 190 | "@grpc/proto-loader" "^0.6.13" 191 | node-fetch "2.6.7" 192 | tslib "^2.1.0" 193 | 194 | "@firebase/functions-compat@0.3.1": 195 | version "0.3.1" 196 | resolved "https://registry.yarnpkg.com/@firebase/functions-compat/-/functions-compat-0.3.1.tgz#4adeb5ff79ded8c9ba1ddc7e15f26220b5e9ddd6" 197 | integrity sha512-f2D2XoRN+QCziCrUL7UrLaBEoG3v2iAeyNwbbOQ3vv0rI0mtku2/yeB2OINz5/iI6oIrBPUMNLr5fitofj7FpQ== 198 | dependencies: 199 | "@firebase/component" "0.6.1" 200 | "@firebase/functions" "0.9.1" 201 | "@firebase/functions-types" "0.6.0" 202 | "@firebase/util" "1.9.0" 203 | tslib "^2.1.0" 204 | 205 | "@firebase/functions-types@0.6.0": 206 | version "0.6.0" 207 | resolved "https://registry.yarnpkg.com/@firebase/functions-types/-/functions-types-0.6.0.tgz#ccd7000dc6fc668f5acb4e6a6a042a877a555ef2" 208 | integrity sha512-hfEw5VJtgWXIRf92ImLkgENqpL6IWpYaXVYiRkFY1jJ9+6tIhWM7IzzwbevwIIud/jaxKVdRzD7QBWfPmkwCYw== 209 | 210 | "@firebase/functions@0.9.1": 211 | version "0.9.1" 212 | resolved "https://registry.yarnpkg.com/@firebase/functions/-/functions-0.9.1.tgz#5a5999b474596ce5bb2d6020deb8540dc3ad17a9" 213 | integrity sha512-xCSSU4aVSqYU+lCqhn9o5jJcE1KLUOOKyJfCTdCSCyTn2J3vl9Vk4TDm3JSb1Eu6XsNWtxeMW188F/GYxuMWcw== 214 | dependencies: 215 | "@firebase/app-check-interop-types" "0.2.0" 216 | "@firebase/auth-interop-types" "0.2.1" 217 | "@firebase/component" "0.6.1" 218 | "@firebase/messaging-interop-types" "0.2.0" 219 | "@firebase/util" "1.9.0" 220 | node-fetch "2.6.7" 221 | tslib "^2.1.0" 222 | 223 | "@firebase/installations-compat@0.2.1": 224 | version "0.2.1" 225 | resolved "https://registry.yarnpkg.com/@firebase/installations-compat/-/installations-compat-0.2.1.tgz#0ee4ceb2145c79f88427f5d0c51d55f6e9ef3898" 226 | integrity sha512-X4IBVKajEeaE45zWX0Y1q8ey39aPFLa+BsUoYzsduMzCxcMBIPZd5/lV1EVGt8SN3+unnC2J75flYkxXVlhBoQ== 227 | dependencies: 228 | "@firebase/component" "0.6.1" 229 | "@firebase/installations" "0.6.1" 230 | "@firebase/installations-types" "0.5.0" 231 | "@firebase/util" "1.9.0" 232 | tslib "^2.1.0" 233 | 234 | "@firebase/installations-types@0.5.0": 235 | version "0.5.0" 236 | resolved "https://registry.yarnpkg.com/@firebase/installations-types/-/installations-types-0.5.0.tgz#2adad64755cd33648519b573ec7ec30f21fb5354" 237 | integrity sha512-9DP+RGfzoI2jH7gY4SlzqvZ+hr7gYzPODrbzVD82Y12kScZ6ZpRg/i3j6rleto8vTFC8n6Len4560FnV1w2IRg== 238 | 239 | "@firebase/installations@0.6.1": 240 | version "0.6.1" 241 | resolved "https://registry.yarnpkg.com/@firebase/installations/-/installations-0.6.1.tgz#727749e9959e898fa8af93f054b30f50dcc1ad18" 242 | integrity sha512-gpobP09LLLakBfNCL04fyblfyb3oX1pn+iNmELygrcAkXTO13IAMuOzThI+Xk4NHQZMX1p5GFSAiGbG4yfsSUQ== 243 | dependencies: 244 | "@firebase/component" "0.6.1" 245 | "@firebase/util" "1.9.0" 246 | idb "7.0.1" 247 | tslib "^2.1.0" 248 | 249 | "@firebase/logger@0.4.0": 250 | version "0.4.0" 251 | resolved "https://registry.yarnpkg.com/@firebase/logger/-/logger-0.4.0.tgz#15ecc03c452525f9d47318ad9491b81d1810f113" 252 | integrity sha512-eRKSeykumZ5+cJPdxxJRgAC3G5NknY2GwEbKfymdnXtnT0Ucm4pspfR6GT4MUQEDuJwRVbVcSx85kgJulMoFFA== 253 | dependencies: 254 | tslib "^2.1.0" 255 | 256 | "@firebase/messaging-compat@0.2.1": 257 | version "0.2.1" 258 | resolved "https://registry.yarnpkg.com/@firebase/messaging-compat/-/messaging-compat-0.2.1.tgz#7eb1b610dfbe30635c684245e71a354c866dd273" 259 | integrity sha512-BykvXtAWOs0W4Ik79lNfMKSxaUCtOJ47PJ9Vw2ySHZ14vFFNuDAtRTOBOlAFhUpsHqRoQFvFCkBGsRIQYq8hzw== 260 | dependencies: 261 | "@firebase/component" "0.6.1" 262 | "@firebase/messaging" "0.12.1" 263 | "@firebase/util" "1.9.0" 264 | tslib "^2.1.0" 265 | 266 | "@firebase/messaging-interop-types@0.2.0": 267 | version "0.2.0" 268 | resolved "https://registry.yarnpkg.com/@firebase/messaging-interop-types/-/messaging-interop-types-0.2.0.tgz#6056f8904a696bf0f7fdcf5f2ca8f008e8f6b064" 269 | integrity sha512-ujA8dcRuVeBixGR9CtegfpU4YmZf3Lt7QYkcj693FFannwNuZgfAYaTmbJ40dtjB81SAu6tbFPL9YLNT15KmOQ== 270 | 271 | "@firebase/messaging@0.12.1": 272 | version "0.12.1" 273 | resolved "https://registry.yarnpkg.com/@firebase/messaging/-/messaging-0.12.1.tgz#71f218a14302ec4b09eb81dfa3fbe8d94b797340" 274 | integrity sha512-/F+2OWarR8TcJJVlQS6zBoHHfXMgfgR0/ukQ3h7Ow3WZ3WZ9+Sj/gvxzothXZm+WtBylfXuhiANFgHEDFL0J0w== 275 | dependencies: 276 | "@firebase/component" "0.6.1" 277 | "@firebase/installations" "0.6.1" 278 | "@firebase/messaging-interop-types" "0.2.0" 279 | "@firebase/util" "1.9.0" 280 | idb "7.0.1" 281 | tslib "^2.1.0" 282 | 283 | "@firebase/performance-compat@0.2.1": 284 | version "0.2.1" 285 | resolved "https://registry.yarnpkg.com/@firebase/performance-compat/-/performance-compat-0.2.1.tgz#65bb8910b9434cb3d518c86c9b372177b29e5d03" 286 | integrity sha512-4mn6eS7r2r+ZAHvU0OHE+3ZO+x6gOVhf2ypBoijuDNaRNjSn9GcvA8udD4IbJ8FNv/k7mbbtA9AdxVb701Lr1g== 287 | dependencies: 288 | "@firebase/component" "0.6.1" 289 | "@firebase/logger" "0.4.0" 290 | "@firebase/performance" "0.6.1" 291 | "@firebase/performance-types" "0.2.0" 292 | "@firebase/util" "1.9.0" 293 | tslib "^2.1.0" 294 | 295 | "@firebase/performance-types@0.2.0": 296 | version "0.2.0" 297 | resolved "https://registry.yarnpkg.com/@firebase/performance-types/-/performance-types-0.2.0.tgz#400685f7a3455970817136d9b48ce07a4b9562ff" 298 | integrity sha512-kYrbr8e/CYr1KLrLYZZt2noNnf+pRwDq2KK9Au9jHrBMnb0/C9X9yWSXmZkFt4UIdsQknBq8uBB7fsybZdOBTA== 299 | 300 | "@firebase/performance@0.6.1": 301 | version "0.6.1" 302 | resolved "https://registry.yarnpkg.com/@firebase/performance/-/performance-0.6.1.tgz#0ca5efaf9523cf42777a6770706626514da2ca60" 303 | integrity sha512-mT/CWz3CLgyn/a3sO/TJgrTt+RA3DfuvWwGXY9zmIiuBZY2bDi1M2uMefJdJKc9sBUPRajNF6RL10nGYq3BAuQ== 304 | dependencies: 305 | "@firebase/component" "0.6.1" 306 | "@firebase/installations" "0.6.1" 307 | "@firebase/logger" "0.4.0" 308 | "@firebase/util" "1.9.0" 309 | tslib "^2.1.0" 310 | 311 | "@firebase/remote-config-compat@0.2.1": 312 | version "0.2.1" 313 | resolved "https://registry.yarnpkg.com/@firebase/remote-config-compat/-/remote-config-compat-0.2.1.tgz#d04be14a5aaa0e9fed36a7bf746610707f0a8e29" 314 | integrity sha512-RPCj7c2Q3QxMgJH3YCt0iD57KppFApghxAGETzlr6Jm6vT7k0vqvk2KgRBgKa4koJBsgwlUtRn2roaCqUEadyg== 315 | dependencies: 316 | "@firebase/component" "0.6.1" 317 | "@firebase/logger" "0.4.0" 318 | "@firebase/remote-config" "0.4.1" 319 | "@firebase/remote-config-types" "0.3.0" 320 | "@firebase/util" "1.9.0" 321 | tslib "^2.1.0" 322 | 323 | "@firebase/remote-config-types@0.3.0": 324 | version "0.3.0" 325 | resolved "https://registry.yarnpkg.com/@firebase/remote-config-types/-/remote-config-types-0.3.0.tgz#689900dcdb3e5c059e8499b29db393e4e51314b4" 326 | integrity sha512-RtEH4vdcbXZuZWRZbIRmQVBNsE7VDQpet2qFvq6vwKLBIQRQR5Kh58M4ok3A3US8Sr3rubYnaGqZSurCwI8uMA== 327 | 328 | "@firebase/remote-config@0.4.1": 329 | version "0.4.1" 330 | resolved "https://registry.yarnpkg.com/@firebase/remote-config/-/remote-config-0.4.1.tgz#1f27108e402a84a2334464eaa00857827bca83d6" 331 | integrity sha512-RCzBH3FjAPRSP3M1T7jdxLYBesIdLtNIQ0fR9ywJpGSSa0kIXEJ9iSZMTP+9pJtaCxz8db07FvjEqg7Y+lgjzg== 332 | dependencies: 333 | "@firebase/component" "0.6.1" 334 | "@firebase/installations" "0.6.1" 335 | "@firebase/logger" "0.4.0" 336 | "@firebase/util" "1.9.0" 337 | tslib "^2.1.0" 338 | 339 | "@firebase/storage-compat@0.2.1": 340 | version "0.2.1" 341 | resolved "https://registry.yarnpkg.com/@firebase/storage-compat/-/storage-compat-0.2.1.tgz#1500490a197724901cd4b6f36f63c824607452c9" 342 | integrity sha512-H0oFdYsMn2Z6tP9tlVERBkJiZsCbFAcl3Li1dnpvDg9g323egdjCnUUgH/tJODRR/Y84iZSNRkg4FvHDVI/o7Q== 343 | dependencies: 344 | "@firebase/component" "0.6.1" 345 | "@firebase/storage" "0.10.1" 346 | "@firebase/storage-types" "0.7.0" 347 | "@firebase/util" "1.9.0" 348 | tslib "^2.1.0" 349 | 350 | "@firebase/storage-types@0.7.0": 351 | version "0.7.0" 352 | resolved "https://registry.yarnpkg.com/@firebase/storage-types/-/storage-types-0.7.0.tgz#0beaeafb62be7ebcf402e25b8cf8fa5a157fe925" 353 | integrity sha512-n/8pYd82hc9XItV3Pa2KGpnuJ/2h/n/oTAaBberhe6GeyWQPnsmwwRK94W3GxUwBA/ZsszBAYZd7w7tTE+6XXA== 354 | 355 | "@firebase/storage@0.10.1": 356 | version "0.10.1" 357 | resolved "https://registry.yarnpkg.com/@firebase/storage/-/storage-0.10.1.tgz#389e4b8b2731bc0bb8c20b8ce314916168a866ef" 358 | integrity sha512-eN4ME+TFCh5KfyG9uo8PhE6cgKjK5Rb9eucQg1XEyLHMiaZiUv2xSuWehJn0FaL+UdteoaWKuRUZ4WXRDskXrA== 359 | dependencies: 360 | "@firebase/component" "0.6.1" 361 | "@firebase/util" "1.9.0" 362 | node-fetch "2.6.7" 363 | tslib "^2.1.0" 364 | 365 | "@firebase/util@1.9.0": 366 | version "1.9.0" 367 | resolved "https://registry.yarnpkg.com/@firebase/util/-/util-1.9.0.tgz#4aad6d777d140296839874a48339c6544d3ff11c" 368 | integrity sha512-oeoq/6Sr9btbwUQs5HPfeww97bf7qgBbkknbDTXpRaph2LZ23O9XLCE5tJy856SBmGQfO4xBZP8dyryLLM2nSQ== 369 | dependencies: 370 | tslib "^2.1.0" 371 | 372 | "@firebase/webchannel-wrapper@0.9.0": 373 | version "0.9.0" 374 | resolved "https://registry.yarnpkg.com/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.9.0.tgz#9340bce56560a8bdba1d25d6281d4bfc397450dc" 375 | integrity sha512-BpiZLBWdLFw+qFel9p3Zs1jD6QmH7Ii4aTDu6+vx8ShdidChZUXqDhYJly4ZjSgQh54miXbBgBrk0S+jTIh/Qg== 376 | 377 | "@grpc/grpc-js@~1.7.0": 378 | version "1.7.3" 379 | resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.7.3.tgz#f2ea79f65e31622d7f86d4b4c9ae38f13ccab99a" 380 | integrity sha512-H9l79u4kJ2PVSxUNA08HMYAnUBLj9v6KjYQ7SQ71hOZcEXhShE/y5iQCesP8+6/Ik/7i2O0a10bPquIcYfufog== 381 | dependencies: 382 | "@grpc/proto-loader" "^0.7.0" 383 | "@types/node" ">=12.12.47" 384 | 385 | "@grpc/proto-loader@^0.6.13": 386 | version "0.6.13" 387 | resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.6.13.tgz#008f989b72a40c60c96cd4088522f09b05ac66bc" 388 | integrity sha512-FjxPYDRTn6Ec3V0arm1FtSpmP6V50wuph2yILpyvTKzjc76oDdoihXqM1DzOW5ubvCC8GivfCnNtfaRE8myJ7g== 389 | dependencies: 390 | "@types/long" "^4.0.1" 391 | lodash.camelcase "^4.3.0" 392 | long "^4.0.0" 393 | protobufjs "^6.11.3" 394 | yargs "^16.2.0" 395 | 396 | "@grpc/proto-loader@^0.7.0": 397 | version "0.7.4" 398 | resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.4.tgz#4946a84fbf47c3ddd4e6a97acb79d69a9f47ebf2" 399 | integrity sha512-MnWjkGwqQ3W8fx94/c1CwqLsNmHHv2t0CFn+9++6+cDphC1lolpg9M2OU0iebIjK//pBNX9e94ho+gjx6vz39w== 400 | dependencies: 401 | "@types/long" "^4.0.1" 402 | lodash.camelcase "^4.3.0" 403 | long "^4.0.0" 404 | protobufjs "^7.0.0" 405 | yargs "^16.2.0" 406 | 407 | "@pankod/refine-core@^3.95.3": 408 | version "3.95.3" 409 | resolved "https://registry.yarnpkg.com/@pankod/refine-core/-/refine-core-3.95.3.tgz#12138f7ac705f4575f7b7ac7e18a8c5194c1a826" 410 | integrity sha512-rMgD4FQ6V4RoMK83/C8aroSof4f4VvbyVncm63ybuhHQS4YH1TCYg8hbKWVIAfDE9A3qqRAGO07SKHIaRur5Ww== 411 | dependencies: 412 | "@tanstack/react-query" "^4.10.1" 413 | "@tanstack/react-query-devtools" "^4.10.1" 414 | export-to-csv-fix-source-map "^0.2.1" 415 | lodash "^4.17.21" 416 | lodash-es "^4.17.21" 417 | papaparse "^5.3.0" 418 | pluralize "^8.0.0" 419 | qs "^6.10.1" 420 | tslib "^2.3.1" 421 | warn-once "^0.1.0" 422 | 423 | "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": 424 | version "1.1.2" 425 | resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" 426 | integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== 427 | 428 | "@protobufjs/base64@^1.1.2": 429 | version "1.1.2" 430 | resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" 431 | integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== 432 | 433 | "@protobufjs/codegen@^2.0.4": 434 | version "2.0.4" 435 | resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" 436 | integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== 437 | 438 | "@protobufjs/eventemitter@^1.1.0": 439 | version "1.1.0" 440 | resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" 441 | integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== 442 | 443 | "@protobufjs/fetch@^1.1.0": 444 | version "1.1.0" 445 | resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" 446 | integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== 447 | dependencies: 448 | "@protobufjs/aspromise" "^1.1.1" 449 | "@protobufjs/inquire" "^1.1.0" 450 | 451 | "@protobufjs/float@^1.0.2": 452 | version "1.0.2" 453 | resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" 454 | integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== 455 | 456 | "@protobufjs/inquire@^1.1.0": 457 | version "1.1.0" 458 | resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" 459 | integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== 460 | 461 | "@protobufjs/path@^1.1.2": 462 | version "1.1.2" 463 | resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" 464 | integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== 465 | 466 | "@protobufjs/pool@^1.1.0": 467 | version "1.1.0" 468 | resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" 469 | integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== 470 | 471 | "@protobufjs/utf8@^1.1.0": 472 | version "1.1.0" 473 | resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" 474 | integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== 475 | 476 | "@tanstack/match-sorter-utils@^8.7.0": 477 | version "8.7.6" 478 | resolved "https://registry.yarnpkg.com/@tanstack/match-sorter-utils/-/match-sorter-utils-8.7.6.tgz#ccf54a37447770e0cf0fe49a579c595fd2655b16" 479 | integrity sha512-2AMpRiA6QivHOUiBpQAVxjiHAA68Ei23ZUMNaRJrN6omWiSFLoYrxGcT6BXtuzp0Jw4h6HZCmGGIM/gbwebO2A== 480 | dependencies: 481 | remove-accents "0.4.2" 482 | 483 | "@tanstack/query-core@4.22.0": 484 | version "4.22.0" 485 | resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.22.0.tgz#7a786fcea64e229ed5d4308093dd644cdfaa895e" 486 | integrity sha512-OeLyBKBQoT265f5G9biReijeP8mBxNFwY7ZUu1dKL+YzqpG5q5z7J/N1eT8aWyKuhyDTiUHuKm5l+oIVzbtrjw== 487 | 488 | "@tanstack/react-query-devtools@^4.10.1": 489 | version "4.22.0" 490 | resolved "https://registry.yarnpkg.com/@tanstack/react-query-devtools/-/react-query-devtools-4.22.0.tgz#e39f04e55428ff6ce2b2796f3171db170afcb2a8" 491 | integrity sha512-YeYFBnfqvb+ZlA0IiJqiHNNSzepNhI1p2o9i8NlhQli9+Zrn230M47OBaBUs8qr3DD1dC2zGB1Dis50Ktz8gAA== 492 | dependencies: 493 | "@tanstack/match-sorter-utils" "^8.7.0" 494 | superjson "^1.10.0" 495 | use-sync-external-store "^1.2.0" 496 | 497 | "@tanstack/react-query@^4.10.1": 498 | version "4.22.0" 499 | resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.22.0.tgz#aaa4b41a6d306be6958018c74a8a3bb3e9f1924c" 500 | integrity sha512-P9o+HjG42uB/xHR6dMsJaPhtZydSe4v0xdG5G/cEj1oHZAXelMlm67/rYJNQGKgBamKElKogj+HYGF+NY2yHYg== 501 | dependencies: 502 | "@tanstack/query-core" "4.22.0" 503 | use-sync-external-store "^1.2.0" 504 | 505 | "@types/long@^4.0.1": 506 | version "4.0.2" 507 | resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" 508 | integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== 509 | 510 | "@types/node@>=12.12.47", "@types/node@>=13.7.0": 511 | version "18.11.18" 512 | resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" 513 | integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== 514 | 515 | "@types/uuid@^8.3.1": 516 | version "8.3.1" 517 | resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.1.tgz#1a32969cf8f0364b3d8c8af9cc3555b7805df14f" 518 | integrity sha512-Y2mHTRAbqfFkpjldbkHGY8JIzRN6XqYRliG8/24FcHm2D2PwW24fl5xMRTVGdrb7iMrwCaIEbLWerGIkXuFWVg== 519 | 520 | ansi-regex@^5.0.1: 521 | version "5.0.1" 522 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" 523 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== 524 | 525 | ansi-styles@^4.0.0: 526 | version "4.3.0" 527 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" 528 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== 529 | dependencies: 530 | color-convert "^2.0.1" 531 | 532 | call-bind@^1.0.0: 533 | version "1.0.2" 534 | resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" 535 | integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== 536 | dependencies: 537 | function-bind "^1.1.1" 538 | get-intrinsic "^1.0.2" 539 | 540 | cliui@^7.0.2: 541 | version "7.0.4" 542 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" 543 | integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== 544 | dependencies: 545 | string-width "^4.2.0" 546 | strip-ansi "^6.0.0" 547 | wrap-ansi "^7.0.0" 548 | 549 | color-convert@^2.0.1: 550 | version "2.0.1" 551 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" 552 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== 553 | dependencies: 554 | color-name "~1.1.4" 555 | 556 | color-name@~1.1.4: 557 | version "1.1.4" 558 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" 559 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== 560 | 561 | copy-anything@^3.0.2: 562 | version "3.0.3" 563 | resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-3.0.3.tgz#206767156f08da0e02efd392f71abcdf79643559" 564 | integrity sha512-fpW2W/BqEzqPp29QS+MwwfisHCQZtiduTe/m8idFo0xbti9fIZ2WVhAsCv4ggFVH3AgCkVdpoOCtQC6gBrdhjw== 565 | dependencies: 566 | is-what "^4.1.8" 567 | 568 | emoji-regex@^8.0.0: 569 | version "8.0.0" 570 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" 571 | integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== 572 | 573 | escalade@^3.1.1: 574 | version "3.1.1" 575 | resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" 576 | integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== 577 | 578 | export-to-csv-fix-source-map@^0.2.1: 579 | version "0.2.1" 580 | resolved "https://registry.yarnpkg.com/export-to-csv-fix-source-map/-/export-to-csv-fix-source-map-0.2.1.tgz#820020401ae7a29e3d08b9f863c03a112038bb8e" 581 | integrity sha512-02CGZG9Kduc0l9ErJ5b+99+PjeQIyoeVGz+f7/Yc04V4YKNPbdT63sQqBC5RW05va4w0MZen7pQpf92H3funYw== 582 | 583 | faye-websocket@0.11.4: 584 | version "0.11.4" 585 | resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" 586 | integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== 587 | dependencies: 588 | websocket-driver ">=0.5.1" 589 | 590 | firebase@^9.16.0: 591 | version "9.16.0" 592 | resolved "https://registry.yarnpkg.com/firebase/-/firebase-9.16.0.tgz#f9b7f07bf67ff5d1e7e925d502b9ac02133058e6" 593 | integrity sha512-nNLpDwJvfP3crRc6AjnHH46TAkFzk8zimNVMJfYRCwAf5amOSGyU8duuc3IsJF6dQGiYLSfzfr2tMCsQa+rhKQ== 594 | dependencies: 595 | "@firebase/analytics" "0.9.1" 596 | "@firebase/analytics-compat" "0.2.1" 597 | "@firebase/app" "0.9.1" 598 | "@firebase/app-check" "0.6.1" 599 | "@firebase/app-check-compat" "0.3.1" 600 | "@firebase/app-compat" "0.2.1" 601 | "@firebase/app-types" "0.9.0" 602 | "@firebase/auth" "0.21.1" 603 | "@firebase/auth-compat" "0.3.1" 604 | "@firebase/database" "0.14.1" 605 | "@firebase/database-compat" "0.3.1" 606 | "@firebase/firestore" "3.8.1" 607 | "@firebase/firestore-compat" "0.3.1" 608 | "@firebase/functions" "0.9.1" 609 | "@firebase/functions-compat" "0.3.1" 610 | "@firebase/installations" "0.6.1" 611 | "@firebase/installations-compat" "0.2.1" 612 | "@firebase/messaging" "0.12.1" 613 | "@firebase/messaging-compat" "0.2.1" 614 | "@firebase/performance" "0.6.1" 615 | "@firebase/performance-compat" "0.2.1" 616 | "@firebase/remote-config" "0.4.1" 617 | "@firebase/remote-config-compat" "0.2.1" 618 | "@firebase/storage" "0.10.1" 619 | "@firebase/storage-compat" "0.2.1" 620 | "@firebase/util" "1.9.0" 621 | 622 | function-bind@^1.1.1: 623 | version "1.1.1" 624 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 625 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== 626 | 627 | get-caller-file@^2.0.5: 628 | version "2.0.5" 629 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" 630 | integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== 631 | 632 | get-intrinsic@^1.0.2: 633 | version "1.2.0" 634 | resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" 635 | integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== 636 | dependencies: 637 | function-bind "^1.1.1" 638 | has "^1.0.3" 639 | has-symbols "^1.0.3" 640 | 641 | has-symbols@^1.0.3: 642 | version "1.0.3" 643 | resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" 644 | integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== 645 | 646 | has@^1.0.3: 647 | version "1.0.3" 648 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" 649 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== 650 | dependencies: 651 | function-bind "^1.1.1" 652 | 653 | http-parser-js@>=0.5.1: 654 | version "0.5.8" 655 | resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" 656 | integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== 657 | 658 | idb@7.0.1: 659 | version "7.0.1" 660 | resolved "https://registry.yarnpkg.com/idb/-/idb-7.0.1.tgz#d2875b3a2f205d854ee307f6d196f246fea590a7" 661 | integrity sha512-UUxlE7vGWK5RfB/fDwEGgRf84DY/ieqNha6msMV99UsEMQhJ1RwbCd8AYBj3QMgnE3VZnfQvm4oKVCJTYlqIgg== 662 | 663 | is-fullwidth-code-point@^3.0.0: 664 | version "3.0.0" 665 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" 666 | integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== 667 | 668 | is-what@^4.1.8: 669 | version "4.1.8" 670 | resolved "https://registry.yarnpkg.com/is-what/-/is-what-4.1.8.tgz#0e2a8807fda30980ddb2571c79db3d209b14cbe4" 671 | integrity sha512-yq8gMao5upkPoGEU9LsB2P+K3Kt8Q3fQFCGyNCWOAnJAMzEXVV9drYb0TXr42TTliLLhKIBvulgAXgtLLnwzGA== 672 | 673 | lodash-es@^4.17.21: 674 | version "4.17.21" 675 | resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" 676 | integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== 677 | 678 | lodash.camelcase@^4.3.0: 679 | version "4.3.0" 680 | resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" 681 | integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== 682 | 683 | lodash@^4.17.21: 684 | version "4.17.21" 685 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" 686 | integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== 687 | 688 | long@^4.0.0: 689 | version "4.0.0" 690 | resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" 691 | integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== 692 | 693 | long@^5.0.0: 694 | version "5.2.1" 695 | resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" 696 | integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== 697 | 698 | node-fetch@2.6.7: 699 | version "2.6.7" 700 | resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" 701 | integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== 702 | dependencies: 703 | whatwg-url "^5.0.0" 704 | 705 | object-inspect@^1.9.0: 706 | version "1.12.3" 707 | resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" 708 | integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== 709 | 710 | papaparse@^5.3.0: 711 | version "5.3.2" 712 | resolved "https://registry.yarnpkg.com/papaparse/-/papaparse-5.3.2.tgz#d1abed498a0ee299f103130a6109720404fbd467" 713 | integrity sha512-6dNZu0Ki+gyV0eBsFKJhYr+MdQYAzFUGlBMNj3GNrmHxmz1lfRa24CjFObPXtjcetlOv5Ad299MhIK0znp3afw== 714 | 715 | pluralize@^8.0.0: 716 | version "8.0.0" 717 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" 718 | integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== 719 | 720 | protobufjs@^6.11.3: 721 | version "6.11.3" 722 | resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" 723 | integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== 724 | dependencies: 725 | "@protobufjs/aspromise" "^1.1.2" 726 | "@protobufjs/base64" "^1.1.2" 727 | "@protobufjs/codegen" "^2.0.4" 728 | "@protobufjs/eventemitter" "^1.1.0" 729 | "@protobufjs/fetch" "^1.1.0" 730 | "@protobufjs/float" "^1.0.2" 731 | "@protobufjs/inquire" "^1.1.0" 732 | "@protobufjs/path" "^1.1.2" 733 | "@protobufjs/pool" "^1.1.0" 734 | "@protobufjs/utf8" "^1.1.0" 735 | "@types/long" "^4.0.1" 736 | "@types/node" ">=13.7.0" 737 | long "^4.0.0" 738 | 739 | protobufjs@^7.0.0: 740 | version "7.1.2" 741 | resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.1.2.tgz#a0cf6aeaf82f5625bffcf5a38b7cd2a7de05890c" 742 | integrity sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ== 743 | dependencies: 744 | "@protobufjs/aspromise" "^1.1.2" 745 | "@protobufjs/base64" "^1.1.2" 746 | "@protobufjs/codegen" "^2.0.4" 747 | "@protobufjs/eventemitter" "^1.1.0" 748 | "@protobufjs/fetch" "^1.1.0" 749 | "@protobufjs/float" "^1.0.2" 750 | "@protobufjs/inquire" "^1.1.0" 751 | "@protobufjs/path" "^1.1.2" 752 | "@protobufjs/pool" "^1.1.0" 753 | "@protobufjs/utf8" "^1.1.0" 754 | "@types/node" ">=13.7.0" 755 | long "^5.0.0" 756 | 757 | qs@^6.10.1: 758 | version "6.11.0" 759 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" 760 | integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== 761 | dependencies: 762 | side-channel "^1.0.4" 763 | 764 | remove-accents@0.4.2: 765 | version "0.4.2" 766 | resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5" 767 | integrity sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA== 768 | 769 | require-directory@^2.1.1: 770 | version "2.1.1" 771 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 772 | integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== 773 | 774 | safe-buffer@>=5.1.0: 775 | version "5.2.1" 776 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" 777 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== 778 | 779 | side-channel@^1.0.4: 780 | version "1.0.4" 781 | resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" 782 | integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== 783 | dependencies: 784 | call-bind "^1.0.0" 785 | get-intrinsic "^1.0.2" 786 | object-inspect "^1.9.0" 787 | 788 | string-width@^4.1.0, string-width@^4.2.0: 789 | version "4.2.3" 790 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" 791 | integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== 792 | dependencies: 793 | emoji-regex "^8.0.0" 794 | is-fullwidth-code-point "^3.0.0" 795 | strip-ansi "^6.0.1" 796 | 797 | strip-ansi@^6.0.0, strip-ansi@^6.0.1: 798 | version "6.0.1" 799 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" 800 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== 801 | dependencies: 802 | ansi-regex "^5.0.1" 803 | 804 | superjson@^1.10.0: 805 | version "1.12.2" 806 | resolved "https://registry.yarnpkg.com/superjson/-/superjson-1.12.2.tgz#072471f1e6add2d95a38b77fef8c7a199d82103a" 807 | integrity sha512-ugvUo9/WmvWOjstornQhsN/sR9mnGtWGYeTxFuqLb4AiT4QdUavjGFRALCPKWWnAiUJ4HTpytj5e0t5HoMRkXg== 808 | dependencies: 809 | copy-anything "^3.0.2" 810 | 811 | tr46@~0.0.3: 812 | version "0.0.3" 813 | resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" 814 | integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== 815 | 816 | tslib@^2.1.0, tslib@^2.3.1: 817 | version "2.4.1" 818 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" 819 | integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== 820 | 821 | typescript@^4.9.4: 822 | version "4.9.4" 823 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" 824 | integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== 825 | 826 | use-sync-external-store@^1.2.0: 827 | version "1.2.0" 828 | resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" 829 | integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== 830 | 831 | uuid@^9.0.0: 832 | version "9.0.0" 833 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" 834 | integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== 835 | 836 | warn-once@^0.1.0: 837 | version "0.1.1" 838 | resolved "https://registry.yarnpkg.com/warn-once/-/warn-once-0.1.1.tgz#952088f4fb56896e73fd4e6a3767272a3fccce43" 839 | integrity sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q== 840 | 841 | webidl-conversions@^3.0.0: 842 | version "3.0.1" 843 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" 844 | integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== 845 | 846 | websocket-driver@>=0.5.1: 847 | version "0.7.4" 848 | resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" 849 | integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== 850 | dependencies: 851 | http-parser-js ">=0.5.1" 852 | safe-buffer ">=5.1.0" 853 | websocket-extensions ">=0.1.1" 854 | 855 | websocket-extensions@>=0.1.1: 856 | version "0.1.4" 857 | resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" 858 | integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== 859 | 860 | whatwg-url@^5.0.0: 861 | version "5.0.0" 862 | resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" 863 | integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== 864 | dependencies: 865 | tr46 "~0.0.3" 866 | webidl-conversions "^3.0.0" 867 | 868 | wrap-ansi@^7.0.0: 869 | version "7.0.0" 870 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" 871 | integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== 872 | dependencies: 873 | ansi-styles "^4.0.0" 874 | string-width "^4.1.0" 875 | strip-ansi "^6.0.0" 876 | 877 | y18n@^5.0.5: 878 | version "5.0.8" 879 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" 880 | integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== 881 | 882 | yargs-parser@^20.2.2: 883 | version "20.2.9" 884 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" 885 | integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== 886 | 887 | yargs@^16.2.0: 888 | version "16.2.0" 889 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" 890 | integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== 891 | dependencies: 892 | cliui "^7.0.2" 893 | escalade "^3.1.1" 894 | get-caller-file "^2.0.5" 895 | require-directory "^2.1.1" 896 | string-width "^4.2.0" 897 | y18n "^5.0.5" 898 | yargs-parser "^20.2.2" 899 | --------------------------------------------------------------------------------