MCPcopy Create free account

hub / github.com/firebase/quickstart-js / functions

Functions299 in github.com/firebase/quickstart-js

↓ 9 callersFunctionalertMessage
* Displays the alert message in the toast.
auth/mfa-password.ts:613
↓ 7 callersFunctionhideElement
* Hides the element by ID. * @param {string} elementId The ID of the element.
auth/mfa-password.ts:584
↓ 7 callersFunctionshowElement
* Shows the element by ID. * @param {string} elementId The ID of the element.
auth/mfa-password.ts:573
↓ 7 callersFunctionupdateSignInButtonUI
* Updates the Sign-in button state depending on ReCAptcha and form values state.
auth/phone-visible.ts:203
↓ 6 callersFunctionhandleModelParamsUpdate
( updateFn: (prevState: ModelParams) => ModelParams, )
ai/ai-react-app/src/components/Layout/RightSidebar.tsx:49
↓ 6 callersFunctionupdateSignInButtonUI
* Updates the Sign-in button state depending on ReCAptcha and form values state.
auth/phone-invisible.ts:188
↓ 5 callersFunctionshowEnrolledFactors
* Displays the enrolled second factors of the current user. * @param {!Array<!MultiFactorInfo>} enrolledFactors The * enrolled second factors of
auth/mfa-password.ts:283
↓ 4 callersFunctiongetRandomItem
(arr)
firestore/scripts/PopulateFirestore.js:139
↓ 4 callersFunctionisCaptchaOK
* Returns true if the ReCaptcha is in an OK state. * @return {boolean} Whether the ReCaptcha is in OK state.
auth/mfa-password.ts:520
↓ 4 callersFunctionsetTokenSentToServer
(sent: boolean)
messaging/main.ts:70
↓ 4 callersFunctionshowAccountDetails
* Displays the account details of the current user. * @param {?User} user The current signed in user.
auth/mfa-password.ts:272
↓ 4 callersFunctionshowHideDiv
(divId: string, show: boolean)
messaging/main.ts:74
↓ 4 callersFunctionshowSection
* Displays the given section element and changes styling of the given button.
database/scripts/main.ts:591
↓ 4 callersFunctionshowToken
(currentToken: string)
messaging/main.ts:47
↓ 4 callersFunctionupdateEnrollSendCodeButtonUI
* Updates the enroll send code button state depending on form values state.
auth/mfa-password.ts:531
↓ 4 callersFunctionupdateSignInFormUI
* Updates the state of the Sign-in form.
auth/phone-invisible.ts:202
↓ 4 callersFunctionupdateSignInFormUI
* Updates the state of the Sign-in form.
auth/phone-visible.ts:218
↓ 4 callersFunctionupdateSignInSendCodeButtonUI
* Updates the sign in send code button state depending on form values state.
auth/mfa-password.ts:541
↓ 4 callersFunctionupdateVerificationCodeFormUI
* Updates the state of the Verify code form.
auth/phone-invisible.ts:214
↓ 4 callersFunctionupdateVerificationCodeFormUI
* Updates the state of the Verify code form.
auth/phone-visible.ts:230
↓ 3 callersFunctionclearAppVerifier
* Clears the application verifier.
auth/mfa-password.ts:551
↓ 3 callersFunctionclearMfaDialog
* Clears the multi-factor dialog.
auth/mfa-password.ts:562
↓ 3 callersFunctionfetchPosts
(postsRef: Query, sectionElement: HTMLElement)
database/scripts/main.ts:436
↓ 3 callersFunctiongetCodeFromUserInput
* Reads the verification code from the user input.
auth/phone-invisible.ts:153
↓ 3 callersFunctiongetCodeFromUserInput
* Reads the verification code from the user input.
auth/phone-visible.ts:154
↓ 3 callersFunctionhandleError
* Handles Errors from various Promises..
auth/email-link.ts:83
↓ 3 callersFunctionhandleGetIfFavoritedMovie
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:163
↓ 3 callersFunctionhandleGetMovieById
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:54
↓ 3 callersFunctionresetUI
()
messaging/main.ts:23
↓ 3 callersFunctionupdateMfaDialog
* Updates the multi-factor dialog UI for enrollment/sign-in flows.
auth/mfa-password.ts:184
↓ 3 callersFunctionupdateSignInButtonUI
* Updates the Sign-in button state depending on ReCaptcha and form values state.
auth/phone-simple-popup.ts:124
↓ 3 callersFunctionupdateVerifyCodeButtonUI
* Updates the Verify-code button state depending on form values state.
auth/phone-invisible.ts:195
↓ 3 callersFunctionupdateVerifyCodeButtonUI
* Updates the Verify-code button state depending on form values state.
auth/phone-visible.ts:211
↓ 2 callersFunctioncapitalize
(str: string)
dataconnect/app/src/components/moviecard.tsx:72
↓ 2 callersFunctiondisplayMfaError
* Displays the error message in the mfa dialog and logs the error in the console. * @param {!Error} error The mfa error.
auth/mfa-password.ts:604
↓ 2 callersFunctionfileToGenerativePart
(file: File)
ai/ai-react-app/src/utils/fileUtils.ts:11
↓ 2 callersFunctiongetPhoneNumberFromUserInput
* Reads the phone number from the user input.
auth/phone-invisible.ts:160
↓ 2 callersFunctiongetPhoneNumberFromUserInput
* Reads the phone number from the user input.
auth/phone-simple-popup.ts:100
↓ 2 callersFunctiongetPhoneNumberFromUserInput
* Reads the phone number from the user input.
auth/phone-visible.ts:161
↓ 2 callersFunctionhandleAddFavoritedMovie
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:115
↓ 2 callersFunctionhandleDeleteFavoritedMovie
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:127
↓ 2 callersFunctionhandleDeleteReview
(movieId: string)
dataconnect/app/src/lib/MovieService.tsx:153
↓ 2 callersFunctionhandleModalityChange
(modality: ResponseModality, checked: boolean)
ai/ai-react-app/src/components/Layout/RightSidebar.tsx:61
↓ 2 callersFunctionhandleModelParamsUpdate
( updateFn: (prevState: ModelParams) => ModelParams, )
ai/ai-react-app/src/components/Layout/LeftSidebar.tsx:34
↓ 2 callersFunctionhandleNanoBananaModelParamsUpdate
( updateFn: (prevState: ModelParams) => ModelParams, )
ai/ai-react-app/src/components/Layout/RightSidebar.tsx:55
↓ 2 callersFunctionisCaptchaOK
* Returns true if the ReCaptcha is in an OK state.
auth/phone-visible.ts:177
↓ 2 callersFunctionisPhoneNumberValid
* Returns true if the input of phone number entry is valid. * @return {boolean} Whether the phone number is valid.
auth/mfa-password.ts:510
↓ 2 callersFunctionisPhoneNumberValid
* Returns true if the phone number is valid.
auth/phone-invisible.ts:167
↓ 2 callersFunctionisPhoneNumberValid
* Returns true if the phone number is valid.
auth/phone-simple-popup.ts:107
↓ 2 callersFunctionisPhoneNumberValid
* Returns true if the phone number is valid.
auth/phone-visible.ts:168
↓ 2 callersFunctionlistMovies
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:96
↓ 2 callersFunctionloadUserProfile
()
dataconnect/app/src/pages/MyProfile.tsx:30
↓ 2 callersFunctionrenderRecaptcha
* Displays Recaptcha verifier in the provided container. * @param {!HTMLElement|string} container The reCAPTCHA container.
auth/mfa-password.ts:248
↓ 2 callersFunctionresetRecaptcha
* This resets the recaptcha widget.
auth/phone-simple-popup.ts:116
↓ 2 callersFunctionsearchMoviesByDescription
( query: string )
dataconnect/app/src/lib/MovieService.tsx:202
↓ 2 callersFunctionshowMfaDialog
* Displays the multi-factor dialog.
auth/mfa-password.ts:239
↓ 2 callersFunctionshowWelcomeMessage
()
remote-config/main.ts:24
↓ 2 callersFunctiontoggleStar
* Star/unstar post.
database/scripts/main.ts:154
↓ 1 callersFunctionaddCommentElement
* Creates a comment element and adds it to the given postElement.
database/scripts/main.ts:380
↓ 1 callersFunctionaddFakeRestaurant
(restaurant)
firestore/scripts/PopulateFirestore.js:78
↓ 1 callersFunctionaddFavoritedMovie
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:36
↓ 1 callersFunctionaddFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:31
↓ 1 callersFunctionaddFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:27
↓ 1 callersFunctionaddMockRating
(restaurantId, avgRating)
firestore/scripts/PopulateFirestore.js:148
↓ 1 callersFunctionaddMockRestaurants
(restaurntsArr)
firestore/scripts/PopulateFirestore.js:124
↓ 1 callersFunctionaddReview
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:60
↓ 1 callersFunctionaddReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:59
↓ 1 callersFunctionaddReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:51
↓ 1 callersFunctionappendMessage
(payload: MessagePayload)
messaging/main.ts:116
↓ 1 callersFunctioncapitalizeSentence
* Capitalizes the first letter of each sentence in the given input. * * @param {string} input The input string. * @return {string} The capitalized
functions/functions/src/sanitizer.ts:27
↓ 1 callersFunctioncheckConfig
()
ai/ai-react-app/src/App.tsx:12
↓ 1 callersFunctioncheckIfFavorited
()
dataconnect/app/src/components/moviecard.tsx:35
↓ 1 callersFunctioncleanupUi
* Cleanups the UI and removes all Firebase listeners.
database/scripts/main.ts:519
↓ 1 callersFunctionclearMessages
()
messaging/main.ts:128
↓ 1 callersFunctioncontainsSwearwords
* Checks if the given message contains swearwords. * * @param {string} message * @return {boolean} True if the message contains swearwords.
functions/functions/src/sanitizer.ts:55
↓ 1 callersFunctioncreateNewComment
* Writes a new comment for the given post.
database/scripts/main.ts:332
↓ 1 callersMethodcreateNewUserAccount
()
firestore/src/app/sign-in-modal/sign-in-modal.component.ts:69
↓ 1 callersFunctioncreatePostElement
* Creates a post element.
database/scripts/main.ts:175
↓ 1 callersFunctiondeleteComment
* Deletes the comment of the given ID in the given postElement.
database/scripts/main.ts:419
↓ 1 callersFunctiondeleteFavoritedMovie
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:48
↓ 1 callersFunctiondeleteFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:45
↓ 1 callersFunctiondeleteFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:39
↓ 1 callersFunctiondeleteReview
(reviewMovieId: string)
dataconnect/app/src/pages/MyProfile.tsx:41
↓ 1 callersFunctiondeleteReview
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:84
↓ 1 callersFunctiondeleteReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:87
↓ 1 callersFunctiondeleteReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:75
↓ 1 callersFunctiondisplayError
* Alerts the error message in the toast and logs the error in the console. * @param {!Error} error The error to display.
auth/mfa-password.ts:595
↓ 1 callersFunctionfetchActor
()
dataconnect/app/src/pages/Actor.tsx:30
↓ 1 callersFunctionfetchMovies
()
dataconnect/app/src/pages/Home.tsx:44
↓ 1 callersFunctiongenerateMockRestaurants
()
firestore/scripts/PopulateFirestore.js:88
↓ 1 callersFunctiongetActorById
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:120
↓ 1 callersFunctiongetActorByIdRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:129
↓ 1 callersFunctiongetActorByIdRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:111
↓ 1 callersFunctiongetCurrentUser
(dc)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:132
↓ 1 callersFunctiongetCurrentUserRef
(dc)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:143
↓ 1 callersFunctiongetCurrentUserRef
(dc)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:123
↓ 1 callersFunctiongetHashValue
(key: string)
auth/customauth.ts:89
↓ 1 callersFunctiongetIfFavoritedMovie
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:144
↓ 1 callersFunctiongetIfFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:157
↓ 1 callersFunctiongetIfFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:135
next →1–100 of 299, ranked by callers