├── .github ├── CODEOWNERS ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── ---report-a-bug.md │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── docs.yaml │ ├── postmerge.yaml │ └── test.yaml ├── .gitignore ├── .guides ├── config.json ├── setup.md ├── upgrade.md └── usage.md ├── .mocharc.yaml ├── .prettierignore ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── deploy_key.enc ├── docgen ├── api-extractor.base.json ├── api-extractor.v1.json ├── api-extractor.v2.json ├── content-sources │ ├── v1 │ │ └── toc.yaml │ └── v2 │ │ └── toc.yaml ├── theme │ └── helpers │ │ └── cleanBreadcrumb.js └── toc.ts ├── eslint.config.js ├── integration_test ├── README.md ├── database.rules.json ├── firebase.json ├── firestore.indexes.json ├── firestore.rules ├── functions │ ├── .npmrc │ ├── src │ │ ├── index.ts │ │ ├── region.ts │ │ ├── testing.ts │ │ ├── v1 │ │ │ ├── auth-tests.ts │ │ │ ├── database-tests.ts │ │ │ ├── firestore-tests.ts │ │ │ ├── https-tests.ts │ │ │ ├── index.ts │ │ │ ├── pubsub-tests.ts │ │ │ ├── remoteConfig-tests.ts │ │ │ ├── storage-tests.ts │ │ │ ├── testLab-tests.ts │ │ │ └── testLab-utils.ts │ │ └── v2 │ │ │ ├── https-tests.ts │ │ │ ├── index.ts │ │ │ └── scheduled-tests.ts │ └── tsconfig.json ├── package.json.template └── run_tests.sh ├── logger ├── compat.js └── index.js ├── mocha └── setup.ts ├── package.json ├── protos ├── README.md ├── compiledFirestore.d.ts ├── compiledFirestore.js ├── compiledFirestore.mjs └── update.sh ├── scripts ├── bin-test │ ├── extsdks │ │ ├── local │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ └── translate │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ ├── mocha-setup.ts │ ├── run.sh │ ├── sources │ │ ├── broken-syntax │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── commonjs-grouped │ │ │ ├── g1.js │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── commonjs-main │ │ │ ├── functions.js │ │ │ └── package.json │ │ ├── commonjs-params │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── commonjs-preserve │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── commonjs │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── esm-ext │ │ │ ├── index.mjs │ │ │ └── package.json │ │ ├── esm-main │ │ │ ├── functions.js │ │ │ └── package.json │ │ ├── esm-params │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── esm-top-level-await │ │ │ ├── exports.js │ │ │ ├── index.js │ │ │ └── package.json │ │ └── esm │ │ │ ├── index.js │ │ │ └── package.json │ └── test.ts ├── fetch-regions ├── publish-container │ ├── Dockerfile │ └── cloudbuild.yaml ├── publish.sh ├── publish │ ├── cloudbuild.yaml │ ├── deploy_key.enc │ ├── hub.enc │ ├── npmrc.enc │ └── twitter.json.enc ├── test-packaging.sh ├── tweet.js └── verify-exports.mjs ├── spec ├── common │ ├── change.spec.ts │ ├── config.spec.ts │ ├── encoding.spec.ts │ ├── metaprogramming.ts │ ├── options.ts │ ├── params.spec.ts │ ├── providers │ │ ├── https.spec.ts │ │ ├── identity.spec.ts │ │ └── tasks.spec.ts │ ├── trace.spec.ts │ └── utilities │ │ ├── path-pattern.spec.ts │ │ └── path.spec.ts ├── fixtures.ts ├── fixtures │ ├── credential │ │ ├── jwk.json │ │ ├── key.d.ts │ │ ├── key.json │ │ └── unparsable.key.json │ ├── env │ │ └── env.json │ ├── extsdk │ │ ├── local │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ └── translate │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ ├── http.ts │ ├── mockrequest.ts │ └── sources │ │ ├── commonjs-grouped │ │ ├── g1.js │ │ ├── index.js │ │ └── package.json │ │ ├── commonjs-main │ │ ├── functions.js │ │ └── package.json │ │ ├── commonjs-parametrized-fields │ │ ├── index.js │ │ └── package.json │ │ ├── commonjs-params │ │ ├── index.js │ │ └── package.json │ │ └── commonjs │ │ ├── index.js │ │ └── package.json ├── helper.ts ├── logger.spec.ts ├── params │ └── params.spec.ts ├── runtime │ ├── loader.spec.ts │ └── manifest.spec.ts ├── tslint.json ├── v1 │ ├── cloud-functions.spec.ts │ ├── config.spec.ts │ ├── function-builder.spec.ts │ ├── providers │ │ ├── analytics.spec.input.ts │ │ ├── analytics.spec.ts │ │ ├── auth.spec.ts │ │ ├── database.spec.ts │ │ ├── firestore.spec.ts │ │ ├── fixtures.ts │ │ ├── https.spec.ts │ │ ├── httpsAsync.spec.ts │ │ ├── pubsub.spec.ts │ │ ├── remoteConfig.spec.ts │ │ ├── storage.spec.ts │ │ ├── tasks.spec.ts │ │ └── testLab.spec.ts │ └── utils.spec.ts └── v2 │ ├── params.spec.ts │ └── providers │ ├── alerts │ ├── alerts.spec.ts │ ├── appDistribution.spec.ts │ ├── billing.spec.ts │ ├── crashlytics.spec.ts │ └── performance.spec.ts │ ├── database.spec.ts │ ├── dataconnect.spec.ts │ ├── eventarc.spec.ts │ ├── firestore.spec.ts │ ├── fixtures.ts │ ├── https.spec.ts │ ├── httpsAsync.spec.ts │ ├── identity.spec.ts │ ├── pubsub.spec.ts │ ├── remoteConfig.spec.ts │ ├── scheduler.spec.ts │ ├── storage.spec.ts │ ├── tasks.spec.ts │ └── testLab.spec.ts ├── src ├── bin │ └── firebase-functions.ts ├── common │ ├── app.ts │ ├── change.ts │ ├── config.ts │ ├── debug.ts │ ├── encoding.ts │ ├── onInit.ts │ ├── options.ts │ ├── params.ts │ ├── providers │ │ ├── database.ts │ │ ├── firestore.ts │ │ ├── https.ts │ │ ├── identity.ts │ │ └── tasks.ts │ ├── timezone.ts │ ├── trace.ts │ └── utilities │ │ ├── assertions.ts │ │ ├── encoder.ts │ │ ├── path-pattern.ts │ │ ├── path.ts │ │ └── utils.ts ├── function-configuration.ts ├── logger │ ├── common.ts │ ├── compat.ts │ └── index.ts ├── params │ ├── index.ts │ └── types.ts ├── runtime │ ├── loader.ts │ └── manifest.ts ├── types │ └── global.d.ts ├── v1 │ ├── cloud-functions.ts │ ├── config.ts │ ├── function-builder.ts │ ├── function-configuration.ts │ ├── index.ts │ └── providers │ │ ├── analytics.ts │ │ ├── auth.ts │ │ ├── database.ts │ │ ├── firestore.ts │ │ ├── https.ts │ │ ├── pubsub.ts │ │ ├── remoteConfig.ts │ │ ├── storage.ts │ │ ├── tasks.ts │ │ └── testLab.ts └── v2 │ ├── core.ts │ ├── index.ts │ ├── options.ts │ ├── providers │ ├── alerts │ │ ├── alerts.ts │ │ ├── appDistribution.ts │ │ ├── billing.ts │ │ ├── crashlytics.ts │ │ ├── index.ts │ │ └── performance.ts │ ├── database.ts │ ├── dataconnect.ts │ ├── eventarc.ts │ ├── firestore.ts │ ├── https.ts │ ├── identity.ts │ ├── pubsub.ts │ ├── remoteConfig.ts │ ├── scheduler.ts │ ├── storage.ts │ ├── tasks.ts │ └── testLab.ts │ └── trace.ts ├── tsconfig.json ├── tsconfig.release.json ├── tsdown.config.mts ├── tslint.json ├── v1 ├── analytics.js ├── auth.js ├── database.js ├── firestore.js ├── index.js ├── pubsub.js ├── remoteConfig.js ├── storage.js ├── tasks.js └── testLab.js └── v2 ├── alerts ├── appDistribution.js ├── billing.js ├── crashlytics.js ├── index.js └── performance.js ├── core.js ├── database.js ├── dataconnect.js ├── eventarc.js ├── firestore.js ├── https.js ├── identity.js ├── index.js ├── options.js ├── params.js ├── pubsub.js ├── remoteConfig.js ├── scheduler.js ├── storage.js ├── tasks.js └── testLab.js /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/---report-a-bug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/ISSUE_TEMPLATE/---report-a-bug.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.github/workflows/postmerge.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/workflows/postmerge.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.gitignore -------------------------------------------------------------------------------- /.guides/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.guides/config.json -------------------------------------------------------------------------------- /.guides/setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.guides/setup.md -------------------------------------------------------------------------------- /.guides/upgrade.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.guides/upgrade.md -------------------------------------------------------------------------------- /.guides/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.guides/usage.md -------------------------------------------------------------------------------- /.mocharc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/.mocharc.yaml -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /lib/**/* 3 | /CONTRIBUTING.md 4 | /docgen -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | printWidth: 100, 3 | }; -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/README.md -------------------------------------------------------------------------------- /deploy_key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/deploy_key.enc -------------------------------------------------------------------------------- /docgen/api-extractor.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/api-extractor.base.json -------------------------------------------------------------------------------- /docgen/api-extractor.v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/api-extractor.v1.json -------------------------------------------------------------------------------- /docgen/api-extractor.v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/api-extractor.v2.json -------------------------------------------------------------------------------- /docgen/content-sources/v1/toc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/content-sources/v1/toc.yaml -------------------------------------------------------------------------------- /docgen/content-sources/v2/toc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/content-sources/v2/toc.yaml -------------------------------------------------------------------------------- /docgen/theme/helpers/cleanBreadcrumb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/theme/helpers/cleanBreadcrumb.js -------------------------------------------------------------------------------- /docgen/toc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/docgen/toc.ts -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/eslint.config.js -------------------------------------------------------------------------------- /integration_test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/README.md -------------------------------------------------------------------------------- /integration_test/database.rules.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/database.rules.json -------------------------------------------------------------------------------- /integration_test/firebase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/firebase.json -------------------------------------------------------------------------------- /integration_test/firestore.indexes.json: -------------------------------------------------------------------------------- 1 | { 2 | "indexes": [] 3 | } 4 | -------------------------------------------------------------------------------- /integration_test/firestore.rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/firestore.rules -------------------------------------------------------------------------------- /integration_test/functions/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /integration_test/functions/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/index.ts -------------------------------------------------------------------------------- /integration_test/functions/src/region.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/region.ts -------------------------------------------------------------------------------- /integration_test/functions/src/testing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/testing.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/auth-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/auth-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/database-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/database-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/firestore-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/firestore-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/https-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/https-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/index.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/pubsub-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/pubsub-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/remoteConfig-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/remoteConfig-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/storage-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/storage-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/testLab-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/testLab-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v1/testLab-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v1/testLab-utils.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v2/https-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v2/https-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v2/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v2/index.ts -------------------------------------------------------------------------------- /integration_test/functions/src/v2/scheduled-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/src/v2/scheduled-tests.ts -------------------------------------------------------------------------------- /integration_test/functions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/functions/tsconfig.json -------------------------------------------------------------------------------- /integration_test/package.json.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/package.json.template -------------------------------------------------------------------------------- /integration_test/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/integration_test/run_tests.sh -------------------------------------------------------------------------------- /logger/compat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/logger/compat.js -------------------------------------------------------------------------------- /logger/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/logger/index.js -------------------------------------------------------------------------------- /mocha/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/mocha/setup.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/package.json -------------------------------------------------------------------------------- /protos/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/protos/README.md -------------------------------------------------------------------------------- /protos/compiledFirestore.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/protos/compiledFirestore.d.ts -------------------------------------------------------------------------------- /protos/compiledFirestore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/protos/compiledFirestore.js -------------------------------------------------------------------------------- /protos/compiledFirestore.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/protos/compiledFirestore.mjs -------------------------------------------------------------------------------- /protos/update.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/protos/update.sh -------------------------------------------------------------------------------- /scripts/bin-test/extsdks/local/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/extsdks/local/index.d.ts -------------------------------------------------------------------------------- /scripts/bin-test/extsdks/local/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/extsdks/local/index.js -------------------------------------------------------------------------------- /scripts/bin-test/extsdks/local/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/extsdks/local/package.json -------------------------------------------------------------------------------- /scripts/bin-test/extsdks/translate/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/extsdks/translate/index.d.ts -------------------------------------------------------------------------------- /scripts/bin-test/extsdks/translate/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/extsdks/translate/index.js -------------------------------------------------------------------------------- /scripts/bin-test/extsdks/translate/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/extsdks/translate/package.json -------------------------------------------------------------------------------- /scripts/bin-test/mocha-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/mocha-setup.ts -------------------------------------------------------------------------------- /scripts/bin-test/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/run.sh -------------------------------------------------------------------------------- /scripts/bin-test/sources/broken-syntax/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/broken-syntax/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/broken-syntax/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "broken-syntax" 3 | } -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-grouped/g1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-grouped/g1.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-grouped/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-grouped/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-grouped/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs-grouped" 3 | } 4 | -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-main/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-main/functions.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-main/package.json -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-params/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-params/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-params/package.json -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-preserve/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs-preserve/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs-preserve/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs-preserve" 3 | } 4 | -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/commonjs/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/commonjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-ext/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-ext/index.mjs -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-ext/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-ext/package.json -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-main/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-main/functions.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-main/package.json -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-params/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-params/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-params/package.json -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-top-level-await/exports.js: -------------------------------------------------------------------------------- 1 | export const fn = () => { 2 | return null; 3 | } -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-top-level-await/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-top-level-await/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm-top-level-await/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm-top-level-await/package.json -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm/index.js -------------------------------------------------------------------------------- /scripts/bin-test/sources/esm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/sources/esm/package.json -------------------------------------------------------------------------------- /scripts/bin-test/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/bin-test/test.ts -------------------------------------------------------------------------------- /scripts/fetch-regions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/fetch-regions -------------------------------------------------------------------------------- /scripts/publish-container/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish-container/Dockerfile -------------------------------------------------------------------------------- /scripts/publish-container/cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish-container/cloudbuild.yaml -------------------------------------------------------------------------------- /scripts/publish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish.sh -------------------------------------------------------------------------------- /scripts/publish/cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish/cloudbuild.yaml -------------------------------------------------------------------------------- /scripts/publish/deploy_key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish/deploy_key.enc -------------------------------------------------------------------------------- /scripts/publish/hub.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish/hub.enc -------------------------------------------------------------------------------- /scripts/publish/npmrc.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish/npmrc.enc -------------------------------------------------------------------------------- /scripts/publish/twitter.json.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/publish/twitter.json.enc -------------------------------------------------------------------------------- /scripts/test-packaging.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/test-packaging.sh -------------------------------------------------------------------------------- /scripts/tweet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/tweet.js -------------------------------------------------------------------------------- /scripts/verify-exports.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/scripts/verify-exports.mjs -------------------------------------------------------------------------------- /spec/common/change.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/change.spec.ts -------------------------------------------------------------------------------- /spec/common/config.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/config.spec.ts -------------------------------------------------------------------------------- /spec/common/encoding.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/encoding.spec.ts -------------------------------------------------------------------------------- /spec/common/metaprogramming.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/metaprogramming.ts -------------------------------------------------------------------------------- /spec/common/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/options.ts -------------------------------------------------------------------------------- /spec/common/params.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/params.spec.ts -------------------------------------------------------------------------------- /spec/common/providers/https.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/providers/https.spec.ts -------------------------------------------------------------------------------- /spec/common/providers/identity.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/providers/identity.spec.ts -------------------------------------------------------------------------------- /spec/common/providers/tasks.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/providers/tasks.spec.ts -------------------------------------------------------------------------------- /spec/common/trace.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/trace.spec.ts -------------------------------------------------------------------------------- /spec/common/utilities/path-pattern.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/utilities/path-pattern.spec.ts -------------------------------------------------------------------------------- /spec/common/utilities/path.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/common/utilities/path.spec.ts -------------------------------------------------------------------------------- /spec/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures.ts -------------------------------------------------------------------------------- /spec/fixtures/credential/jwk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/credential/jwk.json -------------------------------------------------------------------------------- /spec/fixtures/credential/key.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/credential/key.d.ts -------------------------------------------------------------------------------- /spec/fixtures/credential/key.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/credential/key.json -------------------------------------------------------------------------------- /spec/fixtures/credential/unparsable.key.json: -------------------------------------------------------------------------------- 1 | { 2 | foo: bar 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/env/env.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/env/env.json -------------------------------------------------------------------------------- /spec/fixtures/extsdk/local/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/extsdk/local/index.d.ts -------------------------------------------------------------------------------- /spec/fixtures/extsdk/local/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/extsdk/local/index.js -------------------------------------------------------------------------------- /spec/fixtures/extsdk/local/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/extsdk/local/package.json -------------------------------------------------------------------------------- /spec/fixtures/extsdk/translate/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/extsdk/translate/index.d.ts -------------------------------------------------------------------------------- /spec/fixtures/extsdk/translate/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/extsdk/translate/index.js -------------------------------------------------------------------------------- /spec/fixtures/extsdk/translate/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/extsdk/translate/package.json -------------------------------------------------------------------------------- /spec/fixtures/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/http.ts -------------------------------------------------------------------------------- /spec/fixtures/mockrequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/mockrequest.ts -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-grouped/g1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs-grouped/g1.js -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-grouped/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs-grouped/index.js -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-grouped/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs-grouped" 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-main/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs-main/functions.js -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs-main/package.json -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-parametrized-fields/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs-parametrized-fields/index.js -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-parametrized-fields/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs-parametrized-fields" 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-params/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs-params/index.js -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs-params/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs-params" 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/fixtures/sources/commonjs/index.js -------------------------------------------------------------------------------- /spec/fixtures/sources/commonjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /spec/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/helper.ts -------------------------------------------------------------------------------- /spec/logger.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/logger.spec.ts -------------------------------------------------------------------------------- /spec/params/params.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/params/params.spec.ts -------------------------------------------------------------------------------- /spec/runtime/loader.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/runtime/loader.spec.ts -------------------------------------------------------------------------------- /spec/runtime/manifest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/runtime/manifest.spec.ts -------------------------------------------------------------------------------- /spec/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/tslint.json -------------------------------------------------------------------------------- /spec/v1/cloud-functions.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/cloud-functions.spec.ts -------------------------------------------------------------------------------- /spec/v1/config.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/config.spec.ts -------------------------------------------------------------------------------- /spec/v1/function-builder.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/function-builder.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/analytics.spec.input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/analytics.spec.input.ts -------------------------------------------------------------------------------- /spec/v1/providers/analytics.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/analytics.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/auth.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/auth.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/database.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/database.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/firestore.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/firestore.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/fixtures.ts -------------------------------------------------------------------------------- /spec/v1/providers/https.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/https.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/httpsAsync.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/httpsAsync.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/pubsub.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/pubsub.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/remoteConfig.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/remoteConfig.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/storage.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/storage.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/tasks.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/tasks.spec.ts -------------------------------------------------------------------------------- /spec/v1/providers/testLab.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/providers/testLab.spec.ts -------------------------------------------------------------------------------- /spec/v1/utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v1/utils.spec.ts -------------------------------------------------------------------------------- /spec/v2/params.spec.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/v2/providers/alerts/alerts.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/alerts/alerts.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/alerts/appDistribution.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/alerts/appDistribution.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/alerts/billing.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/alerts/billing.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/alerts/crashlytics.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/alerts/crashlytics.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/alerts/performance.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/alerts/performance.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/database.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/database.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/dataconnect.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/dataconnect.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/eventarc.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/eventarc.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/firestore.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/firestore.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/fixtures.ts -------------------------------------------------------------------------------- /spec/v2/providers/https.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/https.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/httpsAsync.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/httpsAsync.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/identity.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/identity.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/pubsub.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/pubsub.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/remoteConfig.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/remoteConfig.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/scheduler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/scheduler.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/storage.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/storage.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/tasks.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/tasks.spec.ts -------------------------------------------------------------------------------- /spec/v2/providers/testLab.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/spec/v2/providers/testLab.spec.ts -------------------------------------------------------------------------------- /src/bin/firebase-functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/bin/firebase-functions.ts -------------------------------------------------------------------------------- /src/common/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/app.ts -------------------------------------------------------------------------------- /src/common/change.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/change.ts -------------------------------------------------------------------------------- /src/common/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/config.ts -------------------------------------------------------------------------------- /src/common/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/debug.ts -------------------------------------------------------------------------------- /src/common/encoding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/encoding.ts -------------------------------------------------------------------------------- /src/common/onInit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/onInit.ts -------------------------------------------------------------------------------- /src/common/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/options.ts -------------------------------------------------------------------------------- /src/common/params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/params.ts -------------------------------------------------------------------------------- /src/common/providers/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/providers/database.ts -------------------------------------------------------------------------------- /src/common/providers/firestore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/providers/firestore.ts -------------------------------------------------------------------------------- /src/common/providers/https.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/providers/https.ts -------------------------------------------------------------------------------- /src/common/providers/identity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/providers/identity.ts -------------------------------------------------------------------------------- /src/common/providers/tasks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/providers/tasks.ts -------------------------------------------------------------------------------- /src/common/timezone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/timezone.ts -------------------------------------------------------------------------------- /src/common/trace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/trace.ts -------------------------------------------------------------------------------- /src/common/utilities/assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/utilities/assertions.ts -------------------------------------------------------------------------------- /src/common/utilities/encoder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/utilities/encoder.ts -------------------------------------------------------------------------------- /src/common/utilities/path-pattern.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/utilities/path-pattern.ts -------------------------------------------------------------------------------- /src/common/utilities/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/utilities/path.ts -------------------------------------------------------------------------------- /src/common/utilities/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/common/utilities/utils.ts -------------------------------------------------------------------------------- /src/function-configuration.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/logger/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/logger/common.ts -------------------------------------------------------------------------------- /src/logger/compat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/logger/compat.ts -------------------------------------------------------------------------------- /src/logger/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/logger/index.ts -------------------------------------------------------------------------------- /src/params/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/params/index.ts -------------------------------------------------------------------------------- /src/params/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/params/types.ts -------------------------------------------------------------------------------- /src/runtime/loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/runtime/loader.ts -------------------------------------------------------------------------------- /src/runtime/manifest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/runtime/manifest.ts -------------------------------------------------------------------------------- /src/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/types/global.d.ts -------------------------------------------------------------------------------- /src/v1/cloud-functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/cloud-functions.ts -------------------------------------------------------------------------------- /src/v1/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/config.ts -------------------------------------------------------------------------------- /src/v1/function-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/function-builder.ts -------------------------------------------------------------------------------- /src/v1/function-configuration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/function-configuration.ts -------------------------------------------------------------------------------- /src/v1/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/index.ts -------------------------------------------------------------------------------- /src/v1/providers/analytics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/analytics.ts -------------------------------------------------------------------------------- /src/v1/providers/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/auth.ts -------------------------------------------------------------------------------- /src/v1/providers/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/database.ts -------------------------------------------------------------------------------- /src/v1/providers/firestore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/firestore.ts -------------------------------------------------------------------------------- /src/v1/providers/https.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/https.ts -------------------------------------------------------------------------------- /src/v1/providers/pubsub.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/pubsub.ts -------------------------------------------------------------------------------- /src/v1/providers/remoteConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/remoteConfig.ts -------------------------------------------------------------------------------- /src/v1/providers/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/storage.ts -------------------------------------------------------------------------------- /src/v1/providers/tasks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/tasks.ts -------------------------------------------------------------------------------- /src/v1/providers/testLab.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v1/providers/testLab.ts -------------------------------------------------------------------------------- /src/v2/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/core.ts -------------------------------------------------------------------------------- /src/v2/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/index.ts -------------------------------------------------------------------------------- /src/v2/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/options.ts -------------------------------------------------------------------------------- /src/v2/providers/alerts/alerts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/alerts/alerts.ts -------------------------------------------------------------------------------- /src/v2/providers/alerts/appDistribution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/alerts/appDistribution.ts -------------------------------------------------------------------------------- /src/v2/providers/alerts/billing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/alerts/billing.ts -------------------------------------------------------------------------------- /src/v2/providers/alerts/crashlytics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/alerts/crashlytics.ts -------------------------------------------------------------------------------- /src/v2/providers/alerts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/alerts/index.ts -------------------------------------------------------------------------------- /src/v2/providers/alerts/performance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/alerts/performance.ts -------------------------------------------------------------------------------- /src/v2/providers/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/database.ts -------------------------------------------------------------------------------- /src/v2/providers/dataconnect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/dataconnect.ts -------------------------------------------------------------------------------- /src/v2/providers/eventarc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/eventarc.ts -------------------------------------------------------------------------------- /src/v2/providers/firestore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/firestore.ts -------------------------------------------------------------------------------- /src/v2/providers/https.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/https.ts -------------------------------------------------------------------------------- /src/v2/providers/identity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/identity.ts -------------------------------------------------------------------------------- /src/v2/providers/pubsub.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/pubsub.ts -------------------------------------------------------------------------------- /src/v2/providers/remoteConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/remoteConfig.ts -------------------------------------------------------------------------------- /src/v2/providers/scheduler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/scheduler.ts -------------------------------------------------------------------------------- /src/v2/providers/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/storage.ts -------------------------------------------------------------------------------- /src/v2/providers/tasks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/tasks.ts -------------------------------------------------------------------------------- /src/v2/providers/testLab.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/providers/testLab.ts -------------------------------------------------------------------------------- /src/v2/trace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/src/v2/trace.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.release.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/tsconfig.release.json -------------------------------------------------------------------------------- /tsdown.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/tsdown.config.mts -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/tslint.json -------------------------------------------------------------------------------- /v1/analytics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/analytics.js -------------------------------------------------------------------------------- /v1/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/auth.js -------------------------------------------------------------------------------- /v1/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/database.js -------------------------------------------------------------------------------- /v1/firestore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/firestore.js -------------------------------------------------------------------------------- /v1/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/index.js -------------------------------------------------------------------------------- /v1/pubsub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/pubsub.js -------------------------------------------------------------------------------- /v1/remoteConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/remoteConfig.js -------------------------------------------------------------------------------- /v1/storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/storage.js -------------------------------------------------------------------------------- /v1/tasks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/tasks.js -------------------------------------------------------------------------------- /v1/testLab.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v1/testLab.js -------------------------------------------------------------------------------- /v2/alerts/appDistribution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/alerts/appDistribution.js -------------------------------------------------------------------------------- /v2/alerts/billing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/alerts/billing.js -------------------------------------------------------------------------------- /v2/alerts/crashlytics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/alerts/crashlytics.js -------------------------------------------------------------------------------- /v2/alerts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/alerts/index.js -------------------------------------------------------------------------------- /v2/alerts/performance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/alerts/performance.js -------------------------------------------------------------------------------- /v2/core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/core.js -------------------------------------------------------------------------------- /v2/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/database.js -------------------------------------------------------------------------------- /v2/dataconnect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/dataconnect.js -------------------------------------------------------------------------------- /v2/eventarc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/eventarc.js -------------------------------------------------------------------------------- /v2/firestore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/firestore.js -------------------------------------------------------------------------------- /v2/https.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/https.js -------------------------------------------------------------------------------- /v2/identity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/identity.js -------------------------------------------------------------------------------- /v2/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/index.js -------------------------------------------------------------------------------- /v2/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/options.js -------------------------------------------------------------------------------- /v2/params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/params.js -------------------------------------------------------------------------------- /v2/pubsub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/pubsub.js -------------------------------------------------------------------------------- /v2/remoteConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/remoteConfig.js -------------------------------------------------------------------------------- /v2/scheduler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/scheduler.js -------------------------------------------------------------------------------- /v2/storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/storage.js -------------------------------------------------------------------------------- /v2/tasks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/tasks.js -------------------------------------------------------------------------------- /v2/testLab.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firebase/firebase-functions/HEAD/v2/testLab.js --------------------------------------------------------------------------------