Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set up docgen and api review for packages-exp (#2868)
* set up doc gen tools * save progress * fix tsdocs * create docs without -exp in package name * enable api-report in app-types-exp * set up doc and api review pipeline * prepend underscore to internal only symbols * remove api review * [AUTOMATED]: Prettier Code Styling * [AUTOMATED]: License Headers * fix prepush hook * add api report for app-types * manually change the report file for testing * [AUTOMATED]: API Reports * centralize api review location * rename docgen script * enable json with comment in github
- Loading branch information
Showing
29 changed files
with
977 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.json linguist-language=JSON-with-Comments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## API Report File for "@firebase/app-exp" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
import { FirebaseApp } from '@firebase/app-types-exp'; | ||
import { FirebaseAppConfig } from '@firebase/app-types-exp'; | ||
import { FirebaseOptions } from '@firebase/app-types-exp'; | ||
import { LogCallback } from '@firebase/logger'; | ||
import { LogLevel } from '@firebase/logger'; | ||
import { LogOptions } from '@firebase/logger'; | ||
|
||
// @public | ||
export function deleteApp(app: FirebaseApp): Promise<void>; | ||
|
||
// @public | ||
export function getApp(name?: string): FirebaseApp; | ||
|
||
// @public | ||
export function getApps(): FirebaseApp[]; | ||
|
||
// @public | ||
export function initializeApp(options: FirebaseOptions, name?: string): FirebaseApp; | ||
|
||
// @public | ||
export function initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp; | ||
|
||
export { LogLevel } | ||
|
||
// @public | ||
export function onLog(logCallback: LogCallback | null, options?: LogOptions): void; | ||
|
||
// @public | ||
export function registerVersion(libraryKeyOrName: string, version: string, variant?: string): void; | ||
|
||
// @public | ||
export const SDK_VERSION: string; | ||
|
||
// @public | ||
export function setLogLevel(logLevel: LogLevel): void; | ||
|
||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
## API Report File for "@firebase/app-types-exp" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
import { ComponentContainer } from '@firebase/component'; | ||
|
||
// @public | ||
export interface FirebaseApp { | ||
automaticDataCollectionEnabled: boolean; | ||
|
||
readonly name: string; | ||
|
||
readonly options: FirebaseOptions; | ||
} | ||
|
||
// @public (undocumented) | ||
export interface FirebaseAppConfig { | ||
// (undocumented) | ||
automaticDataCollectionEnabled?: boolean; | ||
// (undocumented) | ||
name?: string; | ||
} | ||
|
||
// @internal (undocumented) | ||
export interface _FirebaseAppInternal extends FirebaseApp { | ||
// (undocumented) | ||
checkDestroyed(): void; | ||
// (undocumented) | ||
container: ComponentContainer; | ||
// (undocumented) | ||
isDeleted: boolean; | ||
} | ||
|
||
// @public (undocumented) | ||
export interface FirebaseOptions { | ||
// (undocumented) | ||
apiKey?: string; | ||
// (undocumented) | ||
appId?: string; | ||
// (undocumented) | ||
authDomain?: string; | ||
// (undocumented) | ||
databaseURL?: string; | ||
// (undocumented) | ||
measurementId?: string; | ||
// (undocumented) | ||
messagingSenderId?: string; | ||
// (undocumented) | ||
projectId?: string; | ||
// (undocumented) | ||
storageBucket?: string; | ||
} | ||
|
||
// @public (undocumented) | ||
export interface PlatformLoggerService { | ||
// (undocumented) | ||
getPlatformInfoString(): string; | ||
} | ||
|
||
|
||
// (No @packageDocumentation comment for this package) | ||
|
||
``` |
Oops, something went wrong.