Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
Koishi Thirdeye
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
Koishi Thirdeye
Commits
b1c15423
Commit
b1c15423
authored
Nov 21, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
241407ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
README.md
README.md
+2
-4
src/def/interfaces.ts
src/def/interfaces.ts
+0
-1
No files found.
README.md
View file @
b1c15423
...
...
@@ -45,11 +45,9 @@ export default class MyPlugin implements OnApply {
*
`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
...
...
src/def/interfaces.ts
View file @
b1c15423
...
...
@@ -12,7 +12,6 @@ import {
Session
,
User
,
}
from
'
koishi
'
;
import
{
MetadataArrayMap
,
MetadataMap
}
from
'
./constants
'
;
import
{
KoishiPluginRegistrationOptions
,
PluginClass
}
from
'
../register
'
;
export
interface
Type
<
T
=
any
>
extends
Function
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment