Navigate to the
failed workflow.
continue-on-error: true
@@ -103,6 +103,6 @@ jobs:
subject: 'Nightly build ${{github.run_id}} of ${{github.repository}} cancelled!'
html: >
Nightly workflow ${{github.run_id}} cancelled on: ${{github.repository}}
-
Navigate to the
+
Navigate to the
cancelled workflow.
continue-on-error: true
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d2a2797765..29681b50dc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -47,7 +47,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
- node-version: 10.x
+ node-version: 12.x
- name: Install and build
run: |
@@ -116,7 +116,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
- node-version: 10.x
+ node-version: 12.x
- name: Publish preflight check
id: preflight
diff --git a/.gitignore b/.gitignore
index 4c60db05ce..9331c650de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,4 +19,4 @@ test/resources/appid.txt
# Release tarballs should not be checked in
firebase-admin-*.tgz
-docgen/html/
+docgen/markdown/
diff --git a/api-extractor.json b/api-extractor.json
index 140b645cfe..43ef780464 100644
--- a/api-extractor.json
+++ b/api-extractor.json
@@ -1,338 +1,32 @@
-/**
- * Config file for API Extractor. For more info, please visit: https://api-extractor.com
- */
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
-
- /**
- * Optionally specifies another JSON config file that this file extends from. This provides a way for
- * standard settings to be shared across multiple projects.
- *
- * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains
- * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be
- * resolved using NodeJS require().
- *
- * SUPPORTED TOKENS: none
- * DEFAULT VALUE: ""
- */
- // "extends": "./shared/api-extractor-base.json"
- // "extends": "my-package/include/api-extractor-base.json"
-
- /**
- * Determines the "" token that can be used with other config file settings. The project folder
- * typically contains the tsconfig.json and package.json config files, but the path is user-defined.
- *
- * The path is resolved relative to the folder of the config file that contains the setting.
- *
- * The default value for "projectFolder" is the token "", which means the folder is determined by traversing
- * parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder
- * that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error
- * will be reported.
- *
- * SUPPORTED TOKENS:
- * DEFAULT VALUE: ""
- */
- // "projectFolder": "..",
-
- /**
- * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor
- * analyzes the symbols exported by this module.
- *
- * The file extension must be ".d.ts" and not ".ts".
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- */
- // We point to the firebase-namespace.d.ts file since index.d.ts uses namespace imports that are
- // not supported by API Extractor. See https://github.com/microsoft/rushstack/issues/1029 and
- // https://github.com/microsoft/rushstack/issues/2338.
- "mainEntryPointFilePath": "/lib/firebase-namespace.d.ts",
-
- /**
- * A list of NPM package names whose exports should be treated as part of this package.
- *
- * For example, suppose that Webpack is used to generate a distributed bundle for the project "library1",
- * and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part
- * of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly
- * imports library2. To avoid this, we can specify:
- *
- * "bundledPackages": [ "library2" ],
- *
- * This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been
- * local files for library1.
- */
+ "mainEntryPointFilePath": "/lib/default-namespace.d.ts",
"bundledPackages": [],
-
- /**
- * Determines how the TypeScript compiler engine will be invoked by API Extractor.
- */
"compiler": {
- /**
- * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project.
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * Note: This setting will be ignored if "overrideTsconfig" is used.
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: "/tsconfig.json"
- */
- // "tsconfigFilePath": "/tsconfig.json",
- /**
- * Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk.
- * The object must conform to the TypeScript tsconfig schema:
- *
- * http://json.schemastore.org/tsconfig
- *
- * If omitted, then the tsconfig.json file will be read from the "projectFolder".
- *
- * DEFAULT VALUE: no overrideTsconfig section
- */
- // "overrideTsconfig": {
- // . . .
- // }
- /**
- * This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended
- * and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when
- * dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses
- * for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck.
- *
- * DEFAULT VALUE: false
- */
- // "skipLibCheck": true,
- },
- /**
- * Configures how the API report file (*.api.md) will be generated.
- */
+ },
"apiReport": {
- /**
- * (REQUIRED) Whether to generate an API report.
- */
- "enabled": true
-
- /**
- * The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce
- * a full file path.
- *
- * The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/".
- *
- * SUPPORTED TOKENS: ,
- * DEFAULT VALUE: ".api.md"
- */
- // "reportFileName": ".api.md",
-
- /**
- * Specifies the folder where the API report file is written. The file name portion is determined by
- * the "reportFileName" setting.
- *
- * The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy,
- * e.g. for an API review.
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: "/etc/"
- */
- // "reportFolder": "/etc/",
-
- /**
- * Specifies the folder where the temporary report file is written. The file name portion is determined by
- * the "reportFileName" setting.
- *
- * After the temporary file is written to disk, it is compared with the file in the "reportFolder".
- * If they are different, a production build will fail.
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: "/temp/"
- */
- // "reportTempFolder": "/temp/"
+ "enabled": true,
+ "reportFileName": ""
},
-
- /**
- * Configures how the doc model file (*.api.json) will be generated.
- */
"docModel": {
- /**
- * (REQUIRED) Whether to generate a doc model file.
- */
"enabled": true
-
- /**
- * The output path for the doc model file. The file extension should be ".api.json".
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: "/temp/.api.json"
- */
- // "apiJsonFilePath": "/temp/.api.json"
},
-
- /**
- * Configures how the .d.ts rollup file will be generated.
- */
"dtsRollup": {
- /**
- * (REQUIRED) Whether to generate the .d.ts rollup file.
- */
"enabled": false
-
- /**
- * Specifies the output path for a .d.ts rollup file to be generated without any trimming.
- * This file will include all declarations that are exported by the main entry point.
- *
- * If the path is an empty string, then this file will not be written.
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: "/dist/.d.ts"
- */
- // "untrimmedFilePath": "/dist/.d.ts",
-
- /**
- * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release.
- * This file will include only declarations that are marked as "@public" or "@beta".
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: ""
- */
- // "betaTrimmedFilePath": "/dist/-beta.d.ts",
-
- /**
- * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release.
- * This file will include only declarations that are marked as "@public".
- *
- * If the path is an empty string, then this file will not be written.
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: ""
- */
- // "publicTrimmedFilePath": "/dist/-public.d.ts",
-
- /**
- * When a declaration is trimmed, by default it will be replaced by a code comment such as
- * "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the
- * declaration completely.
- *
- * DEFAULT VALUE: false
- */
- // "omitTrimmingComments": true
},
-
- /**
- * Configures how the tsdoc-metadata.json file will be generated.
- */
"tsdocMetadata": {
- /**
- * Whether to generate the tsdoc-metadata.json file.
- *
- * DEFAULT VALUE: true
- */
- // "enabled": true,
- /**
- * Specifies where the TSDoc metadata file should be written.
- *
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
- * prepend a folder token such as "".
- *
- * The default value is "", which causes the path to be automatically inferred from the "tsdocMetadata",
- * "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup
- * falls back to "tsdoc-metadata.json" in the package folder.
- *
- * SUPPORTED TOKENS: , ,
- * DEFAULT VALUE: ""
- */
- // "tsdocMetadataFilePath": "/dist/tsdoc-metadata.json"
+ "enabled": false
},
-
- /**
- * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files
- * will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead.
- * To use the OS's default newline kind, specify "os".
- *
- * DEFAULT VALUE: "crlf"
- */
- // "newlineKind": "crlf",
-
- /**
- * Configures how API Extractor reports error and warning messages produced during analysis.
- *
- * There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages.
- */
"messages": {
- /**
- * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing
- * the input .d.ts files.
- *
- * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551"
- *
- * DEFAULT VALUE: A single "default" entry with logLevel=warning.
- */
"compilerMessageReporting": {
- /**
- * Configures the default routing for messages that don't match an explicit rule in this table.
- */
"default": {
- /**
- * Specifies whether the message should be written to the the tool's output log. Note that
- * the "addToApiReportFile" property may supersede this option.
- *
- * Possible values: "error", "warning", "none"
- *
- * Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail
- * and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes
- * the "--local" option), the warning is displayed but the build will not fail.
- *
- * DEFAULT VALUE: "warning"
- */
"logLevel": "warning"
-
- /**
- * When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md),
- * then the message will be written inside that file; otherwise, the message is instead logged according to
- * the "logLevel" option.
- *
- * DEFAULT VALUE: false
- */
- // "addToApiReportFile": false
}
-
- // "TS2551": {
- // "logLevel": "warning",
- // "addToApiReportFile": true
- // },
- //
- // . . .
},
-
- /**
- * Configures handling of messages reported by API Extractor during its analysis.
- *
- * API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag"
- *
- * DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings
- */
"extractorMessageReporting": {
"default": {
"logLevel": "warning"
- // "addToApiReportFile": false
},
"ae-missing-release-tag": {
@@ -343,26 +37,10 @@
"logLevel": "none"
}
},
-
- /**
- * Configures handling of messages reported by the TSDoc parser when analyzing code comments.
- *
- * TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text"
- *
- * DEFAULT VALUE: A single "default" entry with logLevel=warning.
- */
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
- // "addToApiReportFile": false
}
-
- // "tsdoc-link-tag-unescaped-text": {
- // "logLevel": "warning",
- // "addToApiReportFile": true
- // },
- //
- // . . .
}
}
}
diff --git a/docgen/content-sources/node/HOME.md b/docgen/content-sources/node/HOME.md
deleted file mode 100644
index 4e253f7733..0000000000
--- a/docgen/content-sources/node/HOME.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Firebase Admin Node.js SDK Reference
-
-The Admin SDK is a set of server libraries that lets you interact with Firebase from privileged environments.
-You can install it via our [npm package](https://www.npmjs.com/package/firebase-admin).
-
-To get started using the Firebase Admin Node.js SDK, see
-[Add the Firebase Admin SDK to your server](https://firebase.google.com/docs/admin/setup).
-
-For source code, see the [Firebase Admin Node.js SDK GitHub repo](https://github.com/firebase/firebase-admin-node).
diff --git a/docgen/content-sources/node/toc.yaml b/docgen/content-sources/node/toc.yaml
deleted file mode 100644
index c563a522ba..0000000000
--- a/docgen/content-sources/node/toc.yaml
+++ /dev/null
@@ -1,315 +0,0 @@
-toc:
-- title: "admin"
- path: /docs/reference/admin/node/admin
- section:
- - title: "AppOptions"
- path: /docs/reference/admin/node/admin.AppOptions
- - title: "FirebaseArrayIndexError"
- path: /docs/reference/admin/node/admin.FirebaseArrayIndexError
- - title: "FirebaseError"
- path: /docs/reference/admin/node/admin.FirebaseError
- - title: "GoogleOAuthAccessToken"
- path: /docs/reference/admin/node/admin.GoogleOAuthAccessToken
- - title: "ServiceAccount"
- path: /docs/reference/admin/node/admin.ServiceAccount
-
-- title: "admin.app"
- path: /docs/reference/admin/node/admin.app
- section:
- - title: "App"
- path: /docs/reference/admin/node/admin.app.App-1
-
-- title: "admin.appCheck"
- path: /docs/reference/admin/node/admin.appCheck
- section:
- - title: "AppCheck"
- path: /docs/reference/admin/node/admin.appCheck.AppCheck-1
- - title: "AppCheckToken"
- path: /docs/reference/admin/node/admin.appCheck.AppCheckToken
- - title: "AppCheckTokenOptions"
- path: /docs/reference/admin/node/admin.appCheck.AppCheckTokenOptions
- - title: "DecodedAppCheckToken"
- path: /docs/reference/admin/node/admin.appCheck.DecodedAppCheckToken
- - title: "VerifyAppCheckTokenResponse"
- path: /docs/reference/admin/node/admin.appCheck.VerifyAppCheckTokenResponse
-
-- title: "admin.auth"
- path: /docs/reference/admin/node/admin.auth
- section:
- - title: "Auth"
- path: /docs/reference/admin/node/admin.auth.Auth-1
- - title: "ActionCodeSettings"
- path: /docs/reference/admin/node/admin.auth.ActionCodeSettings
- - title: "AuthProviderConfigFilter"
- path: /docs/reference/admin/node/admin.auth.AuthProviderConfigFilter
- - title: "BaseAuthProviderConfig"
- path: /docs/reference/admin/node/admin.auth.BaseAuthProviderConfig
- - title: "BaseCreateMultiFactorInfoRequest"
- path: /docs/reference/admin/node/admin.auth.BaseCreateMultiFactorInfoRequest
- - title: "BaseUpdateMultiFactorInfoRequest"
- path: /docs/reference/admin/node/admin.auth.BaseUpdateMultiFactorInfoRequest
- - title: "CreatePhoneMultiFactorInfoRequest"
- path: /docs/reference/admin/node/admin.auth.CreatePhoneMultiFactorInfoRequest
- - title: "CreateRequest"
- path: /docs/reference/admin/node/admin.auth.CreateRequest
- - title: "EmailSignInProviderConfig"
- path: /docs/reference/admin/node/admin.auth.EmailSignInProviderConfig
- - title: "ListProviderConfigResults"
- path: /docs/reference/admin/node/admin.auth.ListProviderConfigResults
- - title: "ListTenantsResult"
- path: /docs/reference/admin/node/admin.auth.ListTenantsResult
- - title: "MultiFactorConfig"
- path: /docs/reference/admin/node/admin.auth.MultiFactorConfig
- - title: "MultiFactorCreateSettings"
- path: /docs/reference/admin/node/admin.auth.MultiFactorCreateSettings
- - title: "MultiFactorInfo"
- path: /docs/reference/admin/node/admin.auth.MultiFactorInfo
- - title: "MultiFactorSettings"
- path: /docs/reference/admin/node/admin.auth.MultiFactorSettings
- - title: "MultiFactorUpdateSettings"
- path: /docs/reference/admin/node/admin.auth.MultiFactorUpdateSettings
- - title: "OAuthResponseType"
- path: /docs/reference/admin/node/admin.auth.OAuthResponseType
- - title: "OIDCAuthProviderConfig"
- path: /docs/reference/admin/node/admin.auth.OIDCAuthProviderConfig
- - title: "OIDCUpdateAuthProviderRequest"
- path: /docs/reference/admin/node/admin.auth.OIDCUpdateAuthProviderRequest
- - title: "PhoneMultiFactorInfo"
- path: /docs/reference/admin/node/admin.auth.PhoneMultiFactorInfo
- - title: "SAMLAuthProviderConfig"
- path: /docs/reference/admin/node/admin.auth.SAMLAuthProviderConfig
- - title: "SAMLUpdateAuthProviderRequest"
- path: /docs/reference/admin/node/admin.auth.SAMLUpdateAuthProviderRequest
- - title: "Tenant"
- path: /docs/reference/admin/node/admin.auth.Tenant
- - title: "TenantAwareAuth"
- path: /docs/reference/admin/node/admin.auth.TenantAwareAuth
- - title: "TenantManager"
- path: /docs/reference/admin/node/admin.auth.TenantManager
- - title: "UpdatePhoneMultiFactorInfoRequest"
- path: /docs/reference/admin/node/admin.auth.UpdatePhoneMultiFactorInfoRequest
- - title: "UpdateRequest"
- path: /docs/reference/admin/node/admin.auth.UpdateRequest
- - title: "UpdateTenantRequest"
- path: /docs/reference/admin/node/admin.auth.UpdateTenantRequest
- - title: "UserImportOptions"
- path: /docs/reference/admin/node/admin.auth.UserImportOptions
- - title: "UserImportRecord"
- path: /docs/reference/admin/node/admin.auth.UserImportRecord
- - title: "UserImportResult"
- path: /docs/reference/admin/node/admin.auth.UserImportResult
- - title: "DecodedIdToken"
- path: /docs/reference/admin/node/admin.auth.DecodedIdToken
- - title: "UserInfo"
- path: /docs/reference/admin/node/admin.auth.UserInfo
- - title: "UserMetadata"
- path: /docs/reference/admin/node/admin.auth.UserMetadata
- - title: "UserMetadataRequest"
- path: /docs/reference/admin/node/admin.auth.UserMetadataRequest
- - title: "UserProviderRequest"
- path: /docs/reference/admin/node/admin.auth.UserProviderRequest
- - title: "UserRecord"
- path: /docs/reference/admin/node/admin.auth.UserRecord
- - title: "UserProvider"
- path: /docs/reference/admin/node/admin.auth.UserProvider
- - title: "SessionCookieOptions"
- path: /docs/reference/admin/node/admin.auth.SessionCookieOptions
- - title: "BaseAuth"
- path: /docs/reference/admin/node/admin.auth.BaseAuth
- - title: "ListUsersResult"
- path: /docs/reference/admin/node/admin.auth.ListUsersResult
- - title: "GetUsersResult"
- path: /docs/reference/admin/node/admin.auth.GetUsersResult
- - title: "DeleteUsersResult"
- path: /docs/reference/admin/node/admin.auth.DeleteUsersResult
- - title: "UidIdentifier"
- path: /docs/reference/admin/node/admin.auth.UidIdentifier
- - title: "EmailIdentifier"
- path: /docs/reference/admin/node/admin.auth.EmailIdentifier
- - title: "PhoneIdentifier"
- path: /docs/reference/admin/node/admin.auth.PhoneIdentifier
- - title: "ProviderIdentifier"
- path: /docs/reference/admin/node/admin.auth.ProviderIdentifier
-
-- title: "admin.credential"
- path: /docs/reference/admin/node/admin.credential
- section:
- - title: "Credential"
- path: /docs/reference/admin/node/admin.credential.Credential-1
-
-- title: "admin.database"
- path: /docs/reference/admin/node/admin.database
- section:
- - title: "Database"
- path: /docs/reference/admin/node/admin.database.Database-1
-
-- title: "admin.firestore"
- path: /docs/reference/admin/node/admin.firestore
-
-- title: "admin.installations"
- path: /docs/reference/admin/node/admin.installations
- section:
- - title: "Installations"
- path: /docs/reference/admin/node/admin.installations.Installations-1
-
-- title: "admin.instanceId"
- path: /docs/reference/admin/node/admin.instanceId
- section:
- - title: "InstanceId"
- path: /docs/reference/admin/node/admin.instanceId.InstanceId-1
-
-- title: "admin.machineLearning"
- path: /docs/reference/admin/node/admin.machineLearning
- section:
- - title: "ListModelsOptions"
- path: /docs/reference/admin/node/admin.machineLearning.ListModelsOptions
- - title: "ListModelsResult"
- path: /docs/reference/admin/node/admin.machineLearning.ListModelsResult
- - title: "MachineLearning"
- path: /docs/reference/admin/node/admin.machineLearning.MachineLearning-1
- - title: "Model"
- path: /docs/reference/admin/node/admin.machineLearning.Model
- - title: "ModelOptionsBase"
- path: /docs/reference/admin/node/admin.machineLearning.ModelOptionsBase
- - title: "GcsTfliteModelOptions"
- path: /docs/reference/admin/node/admin.machineLearning.GcsTfliteModelOptions
- - title: "AutoMLTfliteModelOptions"
- path: /docs/reference/admin/node/admin.machineLearning.AutoMLTfliteModelOptions
- - title: "TFLiteModel"
- path: /docs/reference/admin/node/admin.machineLearning.TFLiteModel
-
-- title: "admin.messaging"
- path: /docs/reference/admin/node/admin.messaging
- section:
- - title: "BaseMessage"
- path: /docs/reference/admin/node/admin.messaging.BaseMessage
- - title: "TopicMessage"
- path: /docs/reference/admin/node/admin.messaging.TopicMessage
- - title: "TokenMessage"
- path: /docs/reference/admin/node/admin.messaging.TokenMessage
- - title: "ConditionMessage"
- path: /docs/reference/admin/node/admin.messaging.ConditionMessage
- - title: "AndroidConfig"
- path: /docs/reference/admin/node/admin.messaging.AndroidConfig
- - title: "AndroidFcmOptions"
- path: /docs/reference/admin/node/admin.messaging.AndroidFcmOptions
- - title: "AndroidNotification"
- path: /docs/reference/admin/node/admin.messaging.AndroidNotification
- - title: "FcmOptions"
- path: /docs/reference/admin/node/admin.messaging.FcmOptions
- - title: "LightSettings"
- path: /docs/reference/admin/node/admin.messaging.LightSettings
- - title: "Messaging"
- path: /docs/reference/admin/node/admin.messaging.Messaging-1
- - title: "MessagingConditionResponse"
- path: /docs/reference/admin/node/admin.messaging.MessagingConditionResponse
- - title: "MessagingDeviceGroupResponse"
- path: /docs/reference/admin/node/admin.messaging.MessagingDeviceGroupResponse
- - title: "MessagingDeviceResult"
- path: /docs/reference/admin/node/admin.messaging.MessagingDeviceResult
- - title: "MessagingDevicesResponse"
- path: /docs/reference/admin/node/admin.messaging.MessagingDevicesResponse
- - title: "MessagingOptions"
- path: /docs/reference/admin/node/admin.messaging.MessagingOptions
- - title: "MessagingPayload"
- path: /docs/reference/admin/node/admin.messaging.MessagingPayload
- - title: "MessagingTopicResponse"
- path: /docs/reference/admin/node/admin.messaging.MessagingTopicResponse
- - title: "MessagingTopicManagementResponse"
- path: /docs/reference/admin/node/admin.messaging.MessagingTopicManagementResponse
- - title: "NotificationMessagePayload"
- path: /docs/reference/admin/node/admin.messaging.NotificationMessagePayload
- - title: "MulticastMessage"
- path: /docs/reference/admin/node/admin.messaging.MulticastMessage
- - title: "WebpushNotification"
- path: /docs/reference/admin/node/admin.messaging.WebpushNotification
- - title: "WebpushFcmOptions"
- path: /docs/reference/admin/node/admin.messaging.WebpushFcmOptions
- - title: "DataMessagePayload"
- path: /docs/reference/admin/node/admin.messaging.DataMessagePayload
- - title: "BatchResponse"
- path: /docs/reference/admin/node/admin.messaging.BatchResponse
- - title: "SendResponse"
- path: /docs/reference/admin/node/admin.messaging.SendResponse
- - title: "ApnsConfig"
- path: /docs/reference/admin/node/admin.messaging.ApnsConfig
- - title: "ApnsFcmOptions"
- path: /docs/reference/admin/node/admin.messaging.ApnsFcmOptions
- - title: "ApnsPayload"
- path: /docs/reference/admin/node/admin.messaging.ApnsPayload
- - title: "Aps"
- path: /docs/reference/admin/node/admin.messaging.Aps
- - title: "ApsAlert"
- path: /docs/reference/admin/node/admin.messaging.ApsAlert
- - title: "CriticalSound"
- path: /docs/reference/admin/node/admin.messaging.CriticalSound
- - title: "Notification"
- path: /docs/reference/admin/node/admin.messaging.Notification
- - title: "WebpushConfig"
- path: /docs/reference/admin/node/admin.messaging.WebpushConfig
-
-- title: "admin.projectManagement"
- path: /docs/reference/admin/node/admin.projectManagement
- section:
- - title: "AndroidApp"
- path: /docs/reference/admin/node/admin.projectManagement.AndroidApp
- - title: "AndroidAppMetadata"
- path: /docs/reference/admin/node/admin.projectManagement.AndroidAppMetadata
- - title: "AppMetadata"
- path: /docs/reference/admin/node/admin.projectManagement.AppMetadata
- - title: "AppPlatform"
- path: /docs/reference/admin/node/admin.projectManagement.AppPlatform
- - title: "IosApp"
- path: /docs/reference/admin/node/admin.projectManagement.IosApp
- - title: "IosAppMetadata"
- path: /docs/reference/admin/node/admin.projectManagement.IosAppMetadata
- - title: "ProjectManagement"
- path: /docs/reference/admin/node/admin.projectManagement.ProjectManagement-1
- - title: "ShaCertificate"
- path: /docs/reference/admin/node/admin.projectManagement.ShaCertificate
-
-- title: "admin.securityRules"
- path: /docs/reference/admin/node/admin.securityRules
- section:
- - title: "RulesFile"
- path: /docs/reference/admin/node/admin.securityRules.RulesFile
- - title: "Ruleset"
- path: /docs/reference/admin/node/admin.securityRules.Ruleset
- - title: "RulesetMetadata"
- path: /docs/reference/admin/node/admin.securityRules.RulesetMetadata
- - title: "RulesetMetadataList"
- path: /docs/reference/admin/node/admin.securityRules.RulesetMetadataList
- - title: "SecurityRules"
- path: /docs/reference/admin/node/admin.securityRules.SecurityRules-1
-
-- title: "admin.storage"
- path: /docs/reference/admin/node/admin.storage
- section:
- - title: "Storage"
- path: /docs/reference/admin/node/admin.storage.Storage-1
-
-- title: "admin.remoteConfig"
- path: /docs/reference/admin/node/admin.remoteConfig
- section:
- - title: "RemoteConfig"
- path: /docs/reference/admin/node/admin.remoteConfig.RemoteConfig-1
- - title: "RemoteConfigTemplate"
- path: /docs/reference/admin/node/admin.remoteConfig.RemoteConfigTemplate
- - title: "RemoteConfigParameter"
- path: /docs/reference/admin/node/admin.remoteConfig.RemoteConfigParameter
- - title: "RemoteConfigParameterGroup"
- path: /docs/reference/admin/node/admin.remoteConfig.RemoteConfigParameterGroup
- - title: "RemoteConfigCondition"
- path: /docs/reference/admin/node/admin.remoteConfig.RemoteConfigCondition
- - title: "ExplicitParameterValue"
- path: /docs/reference/admin/node/admin.remoteConfig.ExplicitParameterValue
- - title: "InAppDefaultValue"
- path: /docs/reference/admin/node/admin.remoteConfig.InAppDefaultValue
- - title: "Version"
- path: /docs/reference/admin/node/admin.remoteConfig.Version
- - title: "ListVersionsResult"
- path: /docs/reference/admin/node/admin.remoteConfig.ListVersionsResult
- - title: "ListVersionsOptions"
- path: /docs/reference/admin/node/admin.remoteConfig.ListVersionsOptions
- - title: "RemoteConfigUser"
- path: /docs/reference/admin/node/admin.remoteConfig.RemoteConfigUser
diff --git a/docgen/extras/firebase-admin.database.md b/docgen/extras/firebase-admin.database.md
new file mode 100644
index 0000000000..0f33392cf0
--- /dev/null
+++ b/docgen/extras/firebase-admin.database.md
@@ -0,0 +1,12 @@
+## External API Re-exports
+
+The following externally defined APIs are re-exported from this module entry point for convenience.
+
+| Symbol | Description |
+| --- | --- |
+| [DataSnapshot](https://firebase.google.com/docs/reference/js/firebase.database.DataSnapshot) | `DataSnapshot` type from the `@firebase/database` package. |
+| [EventType](https://firebase.google.com/docs/reference/js/firebase.database#eventtype) | `EventType` type from the `@firebase/database` package. |
+| [OnDisconnect](https://firebase.google.com/docs/reference/js/firebase.database.OnDisconnect) | `OnDisconnect` type from the `@firebase/database` package. |
+| [Query](https://firebase.google.com/docs/reference/js/firebase.database.Query) | `Query` type from the `@firebase/database` package. |
+| [Reference](https://firebase.google.com/docs/reference/js/firebase.database.Reference) | `Reference` type from the `@firebase/database` package. |
+| [ThenableReference](https://firebase.google.com/docs/reference/js/firebase.database.ThenableReference) | `ThenableReference` type from the `@firebase/database` package. |
diff --git a/docgen/extras/firebase-admin.firestore.md b/docgen/extras/firebase-admin.firestore.md
new file mode 100644
index 0000000000..9281e20c2b
--- /dev/null
+++ b/docgen/extras/firebase-admin.firestore.md
@@ -0,0 +1,27 @@
+## External API Re-exports
+
+The following externally defined APIs are re-exported from this module entry point for convenience.
+
+| Symbol | Description |
+| --- | --- |
+| [BulkWriter](https://googleapis.dev/nodejs/firestore/latest/BulkWriter.html) | `BulkWriter` type from the `@google-cloud/firestore` package. |
+| [BulkWriterOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#BulkWriterOptions) | `BulkWriterOptions` type from the `@google-cloud/firestore` package. |
+| [CollectionGroup](https://googleapis.dev/nodejs/firestore/latest/CollectionGroup.html) | `CollectionGroup` type from the `@google-cloud/firestore` package. |
+| [CollectionReference](https://googleapis.dev/nodejs/firestore/latest/CollectionReference.html) | `CollectionReference` type from the `@google-cloud/firestore` package. |
+| [DocumentData](https://googleapis.dev/nodejs/firestore/latest/global.html#DocumentData) | `DocumentData` type from the `@google-cloud/firestore` package. |
+| [DocumentReference](https://googleapis.dev/nodejs/firestore/latest/DocumentReference.html) | `DocumentReference` type from the `@google-cloud/firestore` package. |
+| [DocumentSnapshot](https://googleapis.dev/nodejs/firestore/latest/DocumentSnapshot.html) | `DocumentSnapshot` type from the `@google-cloud/firestore` package. |
+| [FieldPath](https://googleapis.dev/nodejs/firestore/latest/FieldPath.html) | `FieldPath` type from the `@google-cloud/firestore` package. |
+| [FieldValue](https://googleapis.dev/nodejs/firestore/latest/FieldValue.html) | `FieldValue` type from the `@google-cloud/firestore` package. |
+| [Firestore](https://googleapis.dev/nodejs/firestore/latest/Firestore.html) | `Firestore` type from the `@google-cloud/firestore` package. |
+| [FirestoreDataConverter](https://googleapis.dev/nodejs/firestore/latest/global.html#FirestoreDataConverter) | `FirestoreDataConverter` type from the `@google-cloud/firestore` package. |
+| [GeoPoint](https://googleapis.dev/nodejs/firestore/latest/GeoPoint.html) | `GeoPoint` type from the `@google-cloud/firestore` package. |
+| [Query](https://googleapis.dev/nodejs/firestore/latest/Query.html) | `Query` type from the `@google-cloud/firestore` package. |
+| [QueryDocumentSnapshot](https://googleapis.dev/nodejs/firestore/latest/QueryDocumentSnapshot.html) | `QueryDocumentSnapshot` type from the `@google-cloud/firestore` package. |
+| [QueryPartition](https://googleapis.dev/nodejs/firestore/latest/QueryPartition.html) | `QueryPartition` type from the `@google-cloud/firestore` package. |
+| [QuerySnapshot](https://googleapis.dev/nodejs/firestore/latest/QuerySnapshot.html) | `QuerySnapshot` type from the `@google-cloud/firestore` package. |
+| [Timestamp](https://googleapis.dev/nodejs/firestore/latest/Timestamp.html) | `Timestamp` type from the `@google-cloud/firestore` package. |
+| [Transaction](https://googleapis.dev/nodejs/firestore/latest/Transaction.html) | `Transaction` type from the `@google-cloud/firestore` package. |
+| [WriteBatch](https://googleapis.dev/nodejs/firestore/latest/WriteBatch.html) | `WriteBatch` type from the `@google-cloud/firestore` package. |
+| [WriteResult](https://googleapis.dev/nodejs/firestore/latest/WriteResult.html) | `WriteResult` type from the `@google-cloud/firestore` package. |
+| [setLogFunction](https://googleapis.dev/nodejs/firestore/latest/global.html#setLogFunction) | `setLogFunction` function from the `@google-cloud/firestore` package. |
diff --git a/docgen/generate-docs.js b/docgen/generate-docs.js
deleted file mode 100644
index 619526dff8..0000000000
--- a/docgen/generate-docs.js
+++ /dev/null
@@ -1,466 +0,0 @@
-/**
- * @license
- * Copyright 2019 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-const { exec } = require('child-process-promise');
-const fs = require('mz/fs');
-const jsdom = require('jsdom');
-const path = require('path');
-const readline = require('readline');
-const yargs = require('yargs');
-const yaml = require('js-yaml');
-
-const repoPath = path.resolve(`${__dirname}/..`);
-
-const defaultSources = [
- `${repoPath}/lib/firebase-namespace.d.ts`,
- `${repoPath}/lib/firebase-namespace-api.d.ts`,
- `${repoPath}/lib/**/*.d.ts`,
-];
-
-// Command-line options.
-const { source: sourceFile } = yargs
- .option('source', {
- default: defaultSources.join(' '),
- describe: 'Typescript source file(s)',
- type: 'string'
- })
- .version(false)
- .help().argv;
-
-const docPath = path.resolve(`${__dirname}/html/node`);
-const contentPath = path.resolve(`${__dirname}/content-sources/node`);
-const tempHomePath = path.resolve(`${contentPath}/HOME_TEMP.md`);
-const devsitePath = `/docs/reference/admin/node/`;
-
-const firestoreExcludes = [
- 'v1', 'v1beta1', 'setLogFunction','DocumentData',
- 'BulkWriterOptions', 'DocumentChangeType', 'FirestoreDataConverter',
- 'GrpcStatus', 'Precondition', 'ReadOptions', 'UpdateData', 'Settings',
-];
-const firestoreHtmlPath = `${docPath}/admin.firestore.html`;
-const firestoreHeader = `
-
Type aliases
-
-
Following types are defined in the @google-cloud/firestore package
- and re-exported from this namespace for convenience.
- {{#each tags}} -- {{tagName}}
- - {{#markdown}}{{{text}}}{{/markdown}}
- {{/each}}
-
- {{/if}} -