UNPKG

aws-amplify

Version:

AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.

84 lines (78 loc) 2.11 kB
/* * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" file accompanying this file. This file 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. */ import Analytics, { AnalyticsClass, AnalyticsProvider, AWSPinpointProvider, AWSKinesisProvider } from '@aws-amplify/analytics'; import Auth, { AuthClass } from '@aws-amplify/auth'; import Storage, { StorageClass } from '@aws-amplify/storage'; import API, { APIClass, graphqlOperation } from '@aws-amplify/api'; import PubSub, { PubSubClass } from '@aws-amplify/pubsub'; import Cache from '@aws-amplify/cache'; import Interactions, { InteractionsClass } from '@aws-amplify/interactions'; import UI from '@aws-amplify/ui'; import XR, { XRClass } from '@aws-amplify/xr'; import Amplify, { ConsoleLogger as Logger, Hub, JS, ClientDevice, Signer, I18n, ServiceWorker } from '@aws-amplify/core'; export default Amplify; Amplify.Auth = Auth; Amplify.Analytics = Analytics; Amplify.API = API; Amplify.Storage = Storage; Amplify.I18n = I18n; Amplify.Cache = Cache; Amplify.PubSub = PubSub; Amplify.Logger = Logger; Amplify.ServiceWorker = ServiceWorker; Amplify.Interactions = Interactions; Amplify.UI = UI; Amplify.XR = XR; export { Auth, Analytics, Storage, API, PubSub, I18n, Logger, Hub, Cache, JS, ClientDevice, Signer, ServiceWorker, Interactions, UI, XR }; export { AuthClass, AnalyticsClass, APIClass, StorageClass, PubSubClass, InteractionsClass, XRClass, AnalyticsProvider, AWSPinpointProvider, AWSKinesisProvider }; export { graphqlOperation };