Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/firebase/quickstart-js
/ functions
Functions
299 in github.com/firebase/quickstart-js
⨍
Functions
299
◇
Types & classes
83
↓ 9 callers
Function
alertMessage
* Displays the alert message in the toast.
auth/mfa-password.ts:613
↓ 7 callers
Function
hideElement
* Hides the element by ID. * @param {string} elementId The ID of the element.
auth/mfa-password.ts:584
↓ 7 callers
Function
showElement
* Shows the element by ID. * @param {string} elementId The ID of the element.
auth/mfa-password.ts:573
↓ 7 callers
Function
updateSignInButtonUI
* Updates the Sign-in button state depending on ReCAptcha and form values state.
auth/phone-visible.ts:203
↓ 6 callers
Function
handleModelParamsUpdate
( updateFn: (prevState: ModelParams) => ModelParams, )
ai/ai-react-app/src/components/Layout/RightSidebar.tsx:49
↓ 6 callers
Function
updateSignInButtonUI
* Updates the Sign-in button state depending on ReCAptcha and form values state.
auth/phone-invisible.ts:188
↓ 5 callers
Function
showEnrolledFactors
* Displays the enrolled second factors of the current user. * @param {!Array<!MultiFactorInfo>} enrolledFactors The * enrolled second factors of
auth/mfa-password.ts:283
↓ 4 callers
Function
getRandomItem
(arr)
firestore/scripts/PopulateFirestore.js:139
↓ 4 callers
Function
isCaptchaOK
* 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 callers
Function
setTokenSentToServer
(sent: boolean)
messaging/main.ts:70
↓ 4 callers
Function
showAccountDetails
* Displays the account details of the current user. * @param {?User} user The current signed in user.
auth/mfa-password.ts:272
↓ 4 callers
Function
showHideDiv
(divId: string, show: boolean)
messaging/main.ts:74
↓ 4 callers
Function
showSection
* Displays the given section element and changes styling of the given button.
database/scripts/main.ts:591
↓ 4 callers
Function
showToken
(currentToken: string)
messaging/main.ts:47
↓ 4 callers
Function
updateEnrollSendCodeButtonUI
* Updates the enroll send code button state depending on form values state.
auth/mfa-password.ts:531
↓ 4 callers
Function
updateSignInFormUI
* Updates the state of the Sign-in form.
auth/phone-invisible.ts:202
↓ 4 callers
Function
updateSignInFormUI
* Updates the state of the Sign-in form.
auth/phone-visible.ts:218
↓ 4 callers
Function
updateSignInSendCodeButtonUI
* Updates the sign in send code button state depending on form values state.
auth/mfa-password.ts:541
↓ 4 callers
Function
updateVerificationCodeFormUI
* Updates the state of the Verify code form.
auth/phone-invisible.ts:214
↓ 4 callers
Function
updateVerificationCodeFormUI
* Updates the state of the Verify code form.
auth/phone-visible.ts:230
↓ 3 callers
Function
clearAppVerifier
* Clears the application verifier.
auth/mfa-password.ts:551
↓ 3 callers
Function
clearMfaDialog
* Clears the multi-factor dialog.
auth/mfa-password.ts:562
↓ 3 callers
Function
fetchPosts
(postsRef: Query, sectionElement: HTMLElement)
database/scripts/main.ts:436
↓ 3 callers
Function
getCodeFromUserInput
* Reads the verification code from the user input.
auth/phone-invisible.ts:153
↓ 3 callers
Function
getCodeFromUserInput
* Reads the verification code from the user input.
auth/phone-visible.ts:154
↓ 3 callers
Function
handleError
* Handles Errors from various Promises..
auth/email-link.ts:83
↓ 3 callers
Function
handleGetIfFavoritedMovie
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:163
↓ 3 callers
Function
handleGetMovieById
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:54
↓ 3 callers
Function
resetUI
()
messaging/main.ts:23
↓ 3 callers
Function
updateMfaDialog
* Updates the multi-factor dialog UI for enrollment/sign-in flows.
auth/mfa-password.ts:184
↓ 3 callers
Function
updateSignInButtonUI
* Updates the Sign-in button state depending on ReCaptcha and form values state.
auth/phone-simple-popup.ts:124
↓ 3 callers
Function
updateVerifyCodeButtonUI
* Updates the Verify-code button state depending on form values state.
auth/phone-invisible.ts:195
↓ 3 callers
Function
updateVerifyCodeButtonUI
* Updates the Verify-code button state depending on form values state.
auth/phone-visible.ts:211
↓ 2 callers
Function
capitalize
(str: string)
dataconnect/app/src/components/moviecard.tsx:72
↓ 2 callers
Function
displayMfaError
* 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 callers
Function
fileToGenerativePart
(file: File)
ai/ai-react-app/src/utils/fileUtils.ts:11
↓ 2 callers
Function
getPhoneNumberFromUserInput
* Reads the phone number from the user input.
auth/phone-invisible.ts:160
↓ 2 callers
Function
getPhoneNumberFromUserInput
* Reads the phone number from the user input.
auth/phone-simple-popup.ts:100
↓ 2 callers
Function
getPhoneNumberFromUserInput
* Reads the phone number from the user input.
auth/phone-visible.ts:161
↓ 2 callers
Function
handleAddFavoritedMovie
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:115
↓ 2 callers
Function
handleDeleteFavoritedMovie
( movieId: string )
dataconnect/app/src/lib/MovieService.tsx:127
↓ 2 callers
Function
handleDeleteReview
(movieId: string)
dataconnect/app/src/lib/MovieService.tsx:153
↓ 2 callers
Function
handleModalityChange
(modality: ResponseModality, checked: boolean)
ai/ai-react-app/src/components/Layout/RightSidebar.tsx:61
↓ 2 callers
Function
handleModelParamsUpdate
( updateFn: (prevState: ModelParams) => ModelParams, )
ai/ai-react-app/src/components/Layout/LeftSidebar.tsx:34
↓ 2 callers
Function
handleNanoBananaModelParamsUpdate
( updateFn: (prevState: ModelParams) => ModelParams, )
ai/ai-react-app/src/components/Layout/RightSidebar.tsx:55
↓ 2 callers
Function
isCaptchaOK
* Returns true if the ReCaptcha is in an OK state.
auth/phone-visible.ts:177
↓ 2 callers
Function
isPhoneNumberValid
* 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 callers
Function
isPhoneNumberValid
* Returns true if the phone number is valid.
auth/phone-invisible.ts:167
↓ 2 callers
Function
isPhoneNumberValid
* Returns true if the phone number is valid.
auth/phone-simple-popup.ts:107
↓ 2 callers
Function
isPhoneNumberValid
* Returns true if the phone number is valid.
auth/phone-visible.ts:168
↓ 2 callers
Function
listMovies
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:96
↓ 2 callers
Function
loadUserProfile
()
dataconnect/app/src/pages/MyProfile.tsx:30
↓ 2 callers
Function
renderRecaptcha
* Displays Recaptcha verifier in the provided container. * @param {!HTMLElement|string} container The reCAPTCHA container.
auth/mfa-password.ts:248
↓ 2 callers
Function
resetRecaptcha
* This resets the recaptcha widget.
auth/phone-simple-popup.ts:116
↓ 2 callers
Function
searchMoviesByDescription
( query: string )
dataconnect/app/src/lib/MovieService.tsx:202
↓ 2 callers
Function
showMfaDialog
* Displays the multi-factor dialog.
auth/mfa-password.ts:239
↓ 2 callers
Function
showWelcomeMessage
()
remote-config/main.ts:24
↓ 2 callers
Function
toggleStar
* Star/unstar post.
database/scripts/main.ts:154
↓ 1 callers
Function
addCommentElement
* Creates a comment element and adds it to the given postElement.
database/scripts/main.ts:380
↓ 1 callers
Function
addFakeRestaurant
(restaurant)
firestore/scripts/PopulateFirestore.js:78
↓ 1 callers
Function
addFavoritedMovie
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:36
↓ 1 callers
Function
addFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:31
↓ 1 callers
Function
addFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:27
↓ 1 callers
Function
addMockRating
(restaurantId, avgRating)
firestore/scripts/PopulateFirestore.js:148
↓ 1 callers
Function
addMockRestaurants
(restaurntsArr)
firestore/scripts/PopulateFirestore.js:124
↓ 1 callers
Function
addReview
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:60
↓ 1 callers
Function
addReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:59
↓ 1 callers
Function
addReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:51
↓ 1 callers
Function
appendMessage
(payload: MessagePayload)
messaging/main.ts:116
↓ 1 callers
Function
capitalizeSentence
* 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 callers
Function
checkConfig
()
ai/ai-react-app/src/App.tsx:12
↓ 1 callers
Function
checkIfFavorited
()
dataconnect/app/src/components/moviecard.tsx:35
↓ 1 callers
Function
cleanupUi
* Cleanups the UI and removes all Firebase listeners.
database/scripts/main.ts:519
↓ 1 callers
Function
clearMessages
()
messaging/main.ts:128
↓ 1 callers
Function
containsSwearwords
* 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 callers
Function
createNewComment
* Writes a new comment for the given post.
database/scripts/main.ts:332
↓ 1 callers
Method
createNewUserAccount
()
firestore/src/app/sign-in-modal/sign-in-modal.component.ts:69
↓ 1 callers
Function
createPostElement
* Creates a post element.
database/scripts/main.ts:175
↓ 1 callers
Function
deleteComment
* Deletes the comment of the given ID in the given postElement.
database/scripts/main.ts:419
↓ 1 callers
Function
deleteFavoritedMovie
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:48
↓ 1 callers
Function
deleteFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:45
↓ 1 callers
Function
deleteFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:39
↓ 1 callers
Function
deleteReview
(reviewMovieId: string)
dataconnect/app/src/pages/MyProfile.tsx:41
↓ 1 callers
Function
deleteReview
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:84
↓ 1 callers
Function
deleteReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:87
↓ 1 callers
Function
deleteReviewRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:75
↓ 1 callers
Function
displayError
* 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 callers
Function
fetchActor
()
dataconnect/app/src/pages/Actor.tsx:30
↓ 1 callers
Function
fetchMovies
()
dataconnect/app/src/pages/Home.tsx:44
↓ 1 callers
Function
generateMockRestaurants
()
firestore/scripts/PopulateFirestore.js:88
↓ 1 callers
Function
getActorById
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:120
↓ 1 callers
Function
getActorByIdRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:129
↓ 1 callers
Function
getActorByIdRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:111
↓ 1 callers
Function
getCurrentUser
(dc)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:132
↓ 1 callers
Function
getCurrentUserRef
(dc)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:143
↓ 1 callers
Function
getCurrentUserRef
(dc)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:123
↓ 1 callers
Function
getHashValue
(key: string)
auth/customauth.ts:89
↓ 1 callers
Function
getIfFavoritedMovie
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:144
↓ 1 callers
Function
getIfFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/index.cjs.js:157
↓ 1 callers
Function
getIfFavoritedMovieRef
(dcOrVars, vars)
dataconnect/app/src/lib/dataconnect-sdk/esm/index.esm.js:135
next →
1–100 of 299, ranked by callers