Skip to content

Core ​

Core APIs 提供了一系列 APIs,用于帮助开发者进行服务端函数定义、获取上下文、权限验证、日志记录或者多语言设置等操作。

安装 ​

shell
npm install @pc-nexus/core

使用

javascript
import { Resolver } from "@pc-nexus/core";

import { i18n } from "@pc-nexus/core";

APIs ​

目前 Core APIs 提供的能力如下:

APIs描述
resolver定义服务端解析器函数
app获取当前应用上下文信息
authorize获取当前用户的权限信息
i18n应用多语言设置

举报邮箱:abuse@worktile.com