MCPcopy Create free account

hub / github.com/FirebaseExtended/experimental-extensions / functions

Functions308 in github.com/FirebaseExtended/experimental-extensions

↓ 17 callersFunctioncreateDocumentSnapshot
( input: any = { input: "I like Paris. I like the Louvre." }, path = "trips/id1" )
firestore-nlp-extension/functions/__tests__/utils/firestoreUtils.ts:25
↓ 16 callersFunctionresetRequiredModulesForFirestoreNlpDocCreate
* Imports extension functions src and admin modules. * Usually needed after a "jest.resetModules()" since it clear admin import.
firestore-nlp-extension/functions/__tests__/functions.test.ts:125
↓ 11 callersMethodperformEntityExtraction
(input: string)
firestore-nlp-extension/functions/src/nlpTaskHandler.ts:114
↓ 8 callersMethodextractUrl
(snapshot)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:62
↓ 8 callersFunctionresetRequiredModulesForFirestoreNlpDocUpdate
* Imports extension functions src and admin modules. * Usually needed after a "jest.resetModules()" since it clear admin import.
firestore-nlp-extension/functions/__tests__/functions.test.ts:789
↓ 6 callersFunctionaddToPromiseQueue
(promises, newPromise, maxConcurrentRequests)
storage-mirror-firestore-utilities/lib/driver.js:76
↓ 6 callersFunctionaddToPromiseQueue
( promises: PromiseQueue, newPromise: Promise<any>, maxConcurrentRequests: number )
storage-mirror-firestore-utilities/bin/driver.ts:64
↓ 5 callersFunctionisStaleEvent
* Returns whether an GCS event is stale based on what is currently in Firestore. * @param existingSnapshot Current Firestore snapshot. * @param even
storage-mirror-firestore/functions/lib/mirror.js:323
↓ 5 callersMethodperformTextClassification
(input: string)
firestore-nlp-extension/functions/src/nlpTaskHandler.ts:73
↓ 5 callersFunctionsecondsSinceTime
(time)
storage-mirror-firestore-utilities/lib/driver.js:113
↓ 5 callersFunctionsecondsSinceTime
(time: number)
storage-mirror-firestore-utilities/bin/driver.ts:107
↓ 4 callersFunctiondelay
(ms: number)
ai-user-engagement/functions/integration-tests/integration-test.spec.ts:48
↓ 4 callersFunctionextractInput
(snapshot)
firestore-sentiment-analysis/functions/index.js:50
↓ 4 callersFunctionextractInput
(snapshot: admin.firestore.DocumentSnapshot)
firestore-nlp-extension/functions/src/index.ts:87
↓ 4 callersFunctionisValidDocumentName
* Returns whether an a Document name (includes Prefixes) is valid in Firestore. * https://firebase.google.com/docs/firestore/quotas#collections_docum
storage-mirror-firestore/functions/lib/util.js:37
↓ 4 callersFunctionsnapshot
( data = { score: 100, user_name: "mock User" }, path = "users/id1" )
firestore-leaderboard/extension/functions/__tests__/mocks/firestore.ts:19
↓ 4 callersMethodupdateShortUrl
(snapshot, url)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:97
↓ 3 callersFunctionclearMocks
* Clears all mocks that might be used for 'toHaveBeenCalled' type * of assertions.
firestore-nlp-extension/functions/__tests__/functions.test.ts:63
↓ 3 callersFunctioncreateLogger
(logFile)
storage-mirror-firestore-utilities/lib/driver.js:87
↓ 3 callersFunctioncreateLogger
(logFile: string)
storage-mirror-firestore-utilities/bin/driver.ts:80
↓ 3 callersFunctioncreateOperation
(path, type, minFileSize, maxFileSize)
storage-mirror-firestore-utilities/lib/driver.js:305
↓ 3 callersFunctioncreateOperation
( path: string, type: Operation["type"], minFileSize?: number, maxFileSize?: number )
storage-mirror-firestore-utilities/bin/driver.ts:367
↓ 3 callersFunctionexpectMessage
(message: string)
ai-user-engagement/functions/integration-tests/integration-test.spec.ts:52
↓ 3 callersFunctionmirrorDocumentPathToTombstonePath
* Returns the relevant Tombstone path for any Item Document or Prefix Document path. * @param path The Item Document or Prefix Document path. This is
storage-mirror-firestore/functions/lib/util.js:104
↓ 3 callersFunctionobjectNameToFirestorePaths
* Returns the Firestore Paths to all the Prefix Documents and the Item Document * for a given GCS Object name. `prefixPaths` is sorted from the root
storage-mirror-firestore/functions/lib/util.js:82
↓ 3 callersMethodonEmpty
* Returns a Promise that resolves when all the Promises inside the Promise Queue resolve.
storage-mirror-firestore-utilities/lib/driver.js:64
↓ 3 callersMethodonEmpty
* Returns a Promise that resolves when all the Promises inside the Promise Queue resolve.
storage-mirror-firestore-utilities/bin/driver.ts:53
↓ 3 callersFunctionpathHash
(path: string)
storage-mirror-firestore/functions/src/util.ts:125
↓ 3 callersMethodperformSentimentAnalysis
(input: string)
firestore-nlp-extension/functions/src/nlpTaskHandler.ts:42
↓ 3 callersFunctionprunePrefix
(prefix)
storage-mirror-firestore-utilities/lib/driver.js:118
↓ 3 callersFunctionprunePrefix
(prefix: string)
storage-mirror-firestore-utilities/bin/driver.ts:113
↓ 3 callersFunctionstep
(result)
storage-mirror-firestore/functions/lib/index.js:7
↓ 3 callersFunctionstep
(result)
storage-mirror-firestore/functions/lib/mirror.js:7
↓ 3 callersFunctionstep
(result)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:22
↓ 3 callersFunctionstep
(result)
firestore-shorten-urls-dynamic-links/functions/lib/index.js:22
↓ 3 callersFunctionstep
(result)
storage-mirror-firestore-utilities/lib/driver.js:7
↓ 3 callersFunctionstep
(result)
storage-mirror-firestore-utilities/functions/lib/index.js:7
↓ 3 callersFunctionupdateFirestore
* Update the Item Document in Firestore with the provided data and perform * maintenance (creation/deletion) on it's Prefix Documents if necessary.
storage-mirror-firestore/functions/lib/mirror.js:141
↓ 3 callersFunctionupdateFirestore
* Update the Item Document in Firestore with the provided data and perform * maintenance (creation/deletion) on it's Prefix Documents if necessary.
storage-mirror-firestore/functions/src/mirror.ts:173
↓ 3 callersFunctionverb
(n)
storage-mirror-firestore-utilities/lib/driver.js:15
↓ 2 callersFunctioncalculateSentiment
(snapshot)
firestore-sentiment-analysis/functions/index.js:90
↓ 2 callersFunctionconfirm
(prompt)
storage-mirror-firestore-utilities/lib/driver.js:404
↓ 2 callersFunctionconfirm
(prompt: string)
storage-mirror-firestore-utilities/bin/driver.ts:527
↓ 2 callersMethodentityTypeToString
* Returns string representation of the given entity Type. This method is * useful to deal with the edge cases cause by entity.type being a union ty
firestore-nlp-extension/functions/src/nlpTaskHandler.ts:205
↓ 2 callersFunctionfilterObjectFields
( o: Object, filter: RegExp )
storage-mirror-firestore/functions/src/util.ts:9
↓ 2 callersFunctionfirestoreDocumentData
* Construct the Firestore Document fields for the Prefixes Documents & Item Document. * @param metadata GCS metadata for the relevant object. * @par
storage-mirror-firestore/functions/lib/mirror.js:355
↓ 2 callersFunctionfirestoreDocumentData
* Construct the Firestore Document fields for the Prefixes Documents & Item Document. * @param metadata GCS metadata for the relevant object. * @par
storage-mirror-firestore/functions/src/mirror.ts:440
↓ 2 callersMethodhandleCreateDocument
(snapshot)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:65
↓ 2 callersMethodhandleUpdateDocument
(before, after)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:77
↓ 2 callersFunctionisConfigValid
()
firestore-nlp-extension/functions/src/index.ts:66
↓ 2 callersFunctionisDeletionEventType
(eventType: string)
storage-mirror-firestore/functions/src/util.ts:28
↓ 2 callersFunctionisStaleEvent
( existingSnapshot: DocumentSnapshot, eventData: MirrorDocument, isDeletion: boolean )
storage-mirror-firestore/functions/src/mirror.ts:391
↓ 2 callersFunctionisValidDocumentId
* Returns whether a id is valid for a Document in Firestore. * https://firebase.google.com/docs/firestore/quotas#collections_documents_and_fields *
storage-mirror-firestore/functions/lib/util.js:52
↓ 2 callersFunctionisValidDocumentName
(name: string)
storage-mirror-firestore/functions/src/util.ts:40
↓ 2 callersFunctionmirrorDocumentPathToTombstonePath
(path: string)
storage-mirror-firestore/functions/src/util.ts:107
↓ 2 callersFunctionobjectNameToFirestorePaths
(name: string)
storage-mirror-firestore/functions/src/util.ts:85
↓ 2 callersMethodonDocumentCreate
(snapshot)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:40
↓ 2 callersMethodonDocumentUpdate
(change)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:51
↓ 2 callersMethodshortenUrl
(snapshot)
firestore-shorten-urls-dynamic-links/functions/lib/index.js:71
↓ 2 callersMethodshortenUrl
( snapshot: admin.firestore.DocumentSnapshot )
firestore-shorten-urls-dynamic-links/functions/src/index.ts:80
↓ 2 callersFunctionshouldMirrorObject
(name: string)
storage-mirror-firestore/functions/src/util.ts:69
↓ 2 callersFunctionupdateDocumentNlpData
( docReference: admin.firestore.DocumentReference, nlpData: NlpData | admin.firestore.FieldValue )
firestore-nlp-extension/functions/src/index.ts:191
↓ 2 callersFunctionupdateNlpData
( docSnapshot: admin.firestore.DocumentSnapshot )
firestore-nlp-extension/functions/src/index.ts:135
↓ 2 callersFunctionupdateSentiment
(snapshot, sentiment)
firestore-sentiment-analysis/functions/index.js:118
↓ 1 callersFunctionadopt
(value)
storage-mirror-firestore/functions/lib/index.js:3
↓ 1 callersFunctionadopt
(value)
storage-mirror-firestore/functions/lib/mirror.js:3
↓ 1 callersFunctionadopt
(value)
firestore-shorten-urls-dynamic-links/functions/lib/abstract-shortener.js:18
↓ 1 callersFunctionadopt
(value)
firestore-shorten-urls-dynamic-links/functions/lib/index.js:18
↓ 1 callersFunctionadopt
(value)
storage-mirror-firestore-utilities/lib/driver.js:3
↓ 1 callersFunctionadopt
(value)
storage-mirror-firestore-utilities/functions/lib/index.js:3
↓ 1 callersFunctioncheckFirestore
(config, state, constants, onInconsistency)
storage-mirror-firestore-utilities/lib/driver.js:789
↓ 1 callersFunctioncheckFirestore
( config: CheckConfig, state: CheckState, constants: CheckConstants, onInconsistency: (name: string) =
storage-mirror-firestore-utilities/bin/driver.ts:986
↓ 1 callersFunctioncheckStorage
(config, state, constants, onInconsistency)
storage-mirror-firestore-utilities/lib/driver.js:875
↓ 1 callersFunctioncheckStorage
( config: CheckConfig, state: CheckState, constants: CheckConstants, onInconsistency: (err: string) =>
storage-mirror-firestore-utilities/bin/driver.ts:1090
↓ 1 callersFunctioncleanFirestore
(constants, config, state)
storage-mirror-firestore-utilities/lib/driver.js:1068
↓ 1 callersFunctioncleanFirestore
( constants: CleanConstants, config: CleanConfig, state: CleanState )
storage-mirror-firestore-utilities/bin/driver.ts:1357
↓ 1 callersFunctioncleanStorage
(constants, config, state)
storage-mirror-firestore-utilities/lib/driver.js:1035
↓ 1 callersFunctioncleanStorage
( constants: CleanConstants, config: CleanConfig, state: CleanState )
storage-mirror-firestore-utilities/bin/driver.ts:1313
↓ 1 callersFunctionconsistencyCheck
(config, state, constants)
storage-mirror-firestore-utilities/lib/driver.js:763
↓ 1 callersFunctionconsistencyCheck
( config: CheckConfig, state: CheckState, constants: CheckConstants )
storage-mirror-firestore-utilities/bin/driver.ts:951
↓ 1 callersFunctioncreateOperationSet
(path, operationsPerSet)
storage-mirror-firestore-utilities/lib/driver.js:330
↓ 1 callersFunctioncreateOperationSet
( path: string, operationsPerSet: number )
storage-mirror-firestore-utilities/bin/driver.ts:400
↓ 1 callersFunctioncreatePath
(prefix)
storage-mirror-firestore-utilities/lib/driver.js:290
↓ 1 callersFunctioncreatePath
(prefix: string)
storage-mirror-firestore-utilities/bin/driver.ts:350
↓ 1 callersFunctioncreateTask
(bucket, prefix, setsPerTask, operationsPerSet)
storage-mirror-firestore-utilities/lib/driver.js:366
↓ 1 callersFunctioncreateTask
( bucket: string, prefix: string, setsPerTask: number, operationsPerSet: number )
storage-mirror-firestore-utilities/bin/driver.ts:443
↓ 1 callersFunctiondeliver
(write)
firestore-schedule-writes/functions/lib/index.js:120
↓ 1 callersFunctiondeliver
(write: QueuedWrite)
firestore-schedule-writes/functions/src/index.ts:177
↓ 1 callersMethoddequeue
* Returns the oldest Promise in the Promise Queue.
storage-mirror-firestore-utilities/lib/driver.js:52
↓ 1 callersMethoddequeue
* Returns the oldest Promise in the Promise Queue.
storage-mirror-firestore-utilities/bin/driver.ts:41
↓ 1 callersMethodenqueue
* Enqueues a new Promise into the Promise Queue.
storage-mirror-firestore-utilities/lib/driver.js:45
↓ 1 callersMethodenqueue
* Enqueues a new Promise into the Promise Queue.
storage-mirror-firestore-utilities/bin/driver.ts:34
↓ 1 callersFunctionfetchAndProcess
()
firestore-schedule-writes/functions/lib/index.js:15
↓ 1 callersFunctionfetchAndProcess
()
firestore-schedule-writes/functions/src/index.ts:36
↓ 1 callersFunctiongenerateReadme
(extensionName)
generate-experimental-readme.js:43
↓ 1 callersMethodgetAccessToken
()
firestore-shorten-urls-dynamic-links/functions/lib/index.js:41
↓ 1 callersMethodgetAccessToken
()
firestore-shorten-urls-dynamic-links/functions/src/index.ts:41
↓ 1 callersFunctiongetChangeType
(change)
firestore-sentiment-analysis/functions/index.js:53
↓ 1 callersFunctiongetChangeType
( change: functions.Change<admin.firestore.DocumentSnapshot> )
firestore-leaderboard/extension/functions/src/index.ts:44
↓ 1 callersFunctiongetCurrentMetadata
* Get the metadata for an object, returning undefined if the object does not exist. * This is a wrapper around `getMetadata` that returns undefined i
storage-mirror-firestore/functions/lib/mirror.js:25
next →1–100 of 308, ranked by callers