Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docgen/content-sources/toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ toc:
section:
- title: 'Config'
path: /docs/reference/functions/config_.config.html
- title: 'config.Config'
path: /docs/reference/functions/config_.config.config.html

- title: 'functions.analytics'
path: /docs/reference/functions/providers_analytics_.html
Expand Down
13 changes: 11 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,18 @@ export function config(): config.Config {
return config.singleton;
}

/**
* Store and retrieve project configuration data such as third-party API
* keys or other settings. You can set configuration values using the
* Firebase CLI as described in
* [Environment Configuration](/docs/functions/config-env).
*/
export namespace config {
// Config type is usable as a object (dot notation allowed), and firebase
// property will also code complete.
/**
* The Functions configuration interface.
*
* Access via `functions.config()`.
*/
export interface Config {
[key: string]: any;
}
Expand Down
4 changes: 2 additions & 2 deletions src/providers/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function _objectWithOptions(options: DeploymentOptions): ObjectBuilder {
/**
* The Google Cloud Storage bucket builder interface.
*
* Access via [`functions.storage.bucket()`](functions.storage#.bucket).
* Access via [`functions.storage.bucket()`](providers_storage_.html#bucket).
*/
export class BucketBuilder {
/** @hidden */
Expand All @@ -107,7 +107,7 @@ export class BucketBuilder {
/**
* The Google Cloud Storage object builder interface.
*
* Access via [`functions.storage.object()`](functions.storage#.object).
* Access via [`functions.storage.object()`](providers_storage_.html#object).
*/
export class ObjectBuilder {
/** @hidden */
Expand Down