@-0/amplify 中文文档教程

发布于 3年前 浏览 22 项目主页 更新于 3年前

Amplify Utilities for -0 Integration

@aws-amplify 中有某些模块是 有助于集成到 -0 库中以供在 client:

  • @aws-amplify/datastore: Provides a client-first DX using IndexedDB
  • @aws-amplify/auth: Provides authentication/authorization for AWS Appsync APIs
  • @aws-amplify/storage: Provides object storage (S3) for client-side apps

Integrations

DataStore

DataStore 与-0 的路由任务集成。 公用事业 此处提供的是为了使调用 DataStore API 更方便 以数据为中心的时尚

Storage

存储到 S3 被抽象为简单的基于命令的 API,因此 它们可以作为管道与其他操作组合

Auth

身份验证也与 -0 的路由器集成,因此 需要特殊权限 dsFx 的路由受到保护

Amplify Utilities for -0 Integration

There are certain modules within @aws-amplify that are helpful to integrate into -0 libraries for use on the client:

  • @aws-amplify/datastore: Provides a client-first DX using IndexedDB
  • @aws-amplify/auth: Provides authentication/authorization for AWS Appsync APIs
  • @aws-amplify/storage: Provides object storage (S3) for client-side apps

Integrations

DataStore

DataStore is integrated with -0's routing Tasks. Utilities are herein provided to make calling DataStore APIs in a more data-centric fashion

Storage

Storage to S3 is abstracted to simple Command-based APIs, so that they can be composed with other actions as a pipeline

Auth

Authentication is also integrated with -0's router, so that routes requiring special permissions dsFx are protected

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文