"...Irrlicht/svn:/svn.code.sf.net/p/irrlicht/code/trunk@754" did not exist on "40abacae7d330fe2efcc8d6c6416dea2dce170fb"
Commit b1c15423 authored by nanahira's avatar nanahira

readme

parent 241407ea
...@@ -45,11 +45,9 @@ export default class MyPlugin implements OnApply { ...@@ -45,11 +45,9 @@ export default class MyPlugin implements OnApply {
* `name` 插件名称。 * `name` 插件名称。
* `schema` 插件的配置描述模式。 * `schema` 插件的配置描述模式。可以是 Schema 描述模式,也可以是由 `schemastery-gen` 生成的 Schema 类。
koishi-thirdeye 内建了对[`koishi-utils-schemagen`](https://github.com/koishijs/koishi-utils-schemagen) 的支持。您可以直接传入由 `koishi-utils-schemagen` 定义的配置描述类。 koishi-thirdeye 内建了 `schemastery-gen` 的支持。只需要导入这1个包即可。
在插件初始化时,
## API ## API
......
...@@ -12,7 +12,6 @@ import { ...@@ -12,7 +12,6 @@ import {
Session, Session,
User, User,
} from 'koishi'; } from 'koishi';
import { MetadataArrayMap, MetadataMap } from './constants';
import { KoishiPluginRegistrationOptions, PluginClass } from '../register'; import { KoishiPluginRegistrationOptions, PluginClass } from '../register';
export interface Type<T = any> extends Function { export interface Type<T = any> extends Function {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment