123456789101112131415161718192021222324252627282930313233 |
- // @flow
-
- /**
- * The Google API scopes to request access to for streaming.
- *
- * @type {Array<string>}
- */
- export const GOOGLE_API_SCOPES = [
- 'https://www.googleapis.com/auth/youtube.readonly'
- ];
-
- /**
- * An enumeration of the different states the Google API can be in.
- *
- * @private
- * @type {Object}
- */
- export const GOOGLE_API_STATES = {
- /**
- * The state in which the Google API still needs to be loaded.
- */
- NEEDS_LOADING: 0,
-
- /**
- * The state in which the Google API is loaded and ready for use.
- */
- LOADED: 1,
-
- /**
- * The state in which a user has been logged in through the Google API.
- */
- SIGNED_IN: 2
- };
|