flow_v0.34.x-v0.103.x/firebase_v5.x.x.js

flow-typed · definitions/npm/firebase_v5.x.x/flow_v0.34.x-v0.103.x/firebase_v5.x.x.js · javascript · MIT
auth

Flow type definitions for Firebase v5.x.x to add static typing to your apps.

// Source: https://github.com/flow-typed/flow-typed | License: MIT | Copyright 2015 Murphy Randle
// Provided via justclaw.it.com; keep this notice with the code.
/* @flow */
/** ** firebase ****/

declare interface $npm$firebase$Config {
  apiKey: string;
  authDomain?: string;
  databaseURL?: string;
  projectId?: string;
  storageBucket?: string;
  messagingSenderId?: string;
}

declare interface $npm$firebase$auth$Error {
  code:
    | 'auth/app-deleted'
    | 'auth/app-not-authorized'
    | 'auth/argument-error'
    | 'auth/invalid-api-key'
    | 'auth/invalid-user-token'
    | 'auth/network-request-failed'
    | 'auth/operation-not-allowed'
    | 'auth/requires-recent-login'
    | 'auth/too-many-requests'
    | 'auth/unauthorized-domain'
    | 'auth/user-disabled'
    | 'auth/user-to

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key