Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
Koishi Plugin Edging
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 Plugin Edging
Commits
56c43b89
Commit
56c43b89
authored
Jun 20, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compile
parent
3c44472b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
87 deletions
+89
-87
package-lock.json
package-lock.json
+80
-80
package.json
package.json
+5
-5
src/config.ts
src/config.ts
+2
-1
src/index.ts
src/index.ts
+2
-1
No files found.
package-lock.json
View file @
56c43b89
This diff is collapsed.
Click to expand it.
package.json
View file @
56c43b89
...
@@ -47,12 +47,12 @@
...
@@ -47,12 +47,12 @@
"testEnvironment"
:
"node"
"testEnvironment"
:
"node"
},
},
"dependencies"
:
{
"dependencies"
:
{
"
koishi-thirdeye
"
:
"
^10.
2.8
"
,
"
koishi-thirdeye
"
:
"
^10.
3.1
"
,
"
moment
"
:
"
^2.29.3
"
"
moment
"
:
"
^2.29.3
"
},
},
"peerDependencies"
:
{
"peerDependencies"
:
{
"koishi"
:
"^4.7.
4
"
,
"koishi"
:
"^4.7.
5
"
,
"
koishi-plugin-pics
"
:
"
^9.
3.3
"
"
koishi-plugin-pics
"
:
"
^9.
4.1
"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"
@koishijs/plugin-cache-lru
"
:
"
^1.0.0-rc.0
"
,
"
@koishijs/plugin-cache-lru
"
:
"
^1.0.0-rc.0
"
,
...
@@ -67,9 +67,9 @@
...
@@ -67,9 +67,9 @@
"
eslint-config-prettier
"
:
"
^8.5.0
"
,
"
eslint-config-prettier
"
:
"
^8.5.0
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.1
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.1
"
,
"
jest
"
:
"
^28.0.3
"
,
"
jest
"
:
"
^28.0.3
"
,
"
koishi-plugin-pics
"
:
"
^9.
3.3
"
,
"
koishi-plugin-pics
"
:
"
^9.
4.1
"
,
"
koishi-plugin-picsource-heisi
"
:
"
^6.0.3
"
,
"
koishi-plugin-picsource-heisi
"
:
"
^6.0.3
"
,
"
koishi-plugin-picsource-lolicon
"
:
"
^9.2.
0
"
,
"
koishi-plugin-picsource-lolicon
"
:
"
^9.2.
3
"
,
"
koishi-plugin-picsource-miraikoi
"
:
"
^1.0.2
"
,
"
koishi-plugin-picsource-miraikoi
"
:
"
^1.0.2
"
,
"
koishi-plugin-picsource-yande
"
:
"
^2.0.3
"
,
"
koishi-plugin-picsource-yande
"
:
"
^2.0.3
"
,
"
prettier
"
:
"
^2.6.2
"
,
"
prettier
"
:
"
^2.6.2
"
,
...
...
src/config.ts
View file @
56c43b89
...
@@ -5,8 +5,9 @@ import {
...
@@ -5,8 +5,9 @@ import {
PutOption
,
PutOption
,
SchemaOptions
,
SchemaOptions
,
PutSession
,
PutSession
,
Selection
,
}
from
'
koishi-thirdeye
'
;
}
from
'
koishi-thirdeye
'
;
import
{
Adapter
,
Bot
,
Random
,
Se
lection
,
Se
ssion
}
from
'
koishi
'
;
import
{
Adapter
,
Bot
,
Random
,
Session
}
from
'
koishi
'
;
import
path
from
'
path
'
;
import
path
from
'
path
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
fs
from
'
fs
'
;
import
moment
from
'
moment
'
;
import
moment
from
'
moment
'
;
...
...
src/index.ts
View file @
56c43b89
...
@@ -14,6 +14,7 @@ import {
...
@@ -14,6 +14,7 @@ import {
UseMiddleware
,
UseMiddleware
,
OnPrivate
,
OnPrivate
,
PutBot
,
PutBot
,
selectContext
,
}
from
'
koishi-thirdeye
'
;
}
from
'
koishi-thirdeye
'
;
import
{
Adapter
,
Bot
,
Logger
,
Next
,
Session
}
from
'
koishi
'
;
import
{
Adapter
,
Bot
,
Logger
,
Next
,
Session
}
from
'
koishi
'
;
import
type
PicsContainer
from
'
koishi-plugin-pics
'
;
import
type
PicsContainer
from
'
koishi-plugin-pics
'
;
...
@@ -77,7 +78,7 @@ export default class EdgingPlugin
...
@@ -77,7 +78,7 @@ export default class EdgingPlugin
implements
LifecycleEvents
implements
LifecycleEvents
{
{
onApply
()
{
onApply
()
{
this
.
ctx
.
select
(
this
.
config
.
panelSelection
).
plugin
(
EdgingPanel
);
selectContext
(
this
.
ctx
,
this
.
config
.
panelSelection
).
plugin
(
EdgingPanel
);
dynamicInterval
(
dynamicInterval
(
this
.
ctx
,
this
.
ctx
,
this
.
wrapTry
(()
=>
this
.
processText
(),
'
process text
'
),
this
.
wrapTry
(()
=>
this
.
processText
(),
'
process text
'
),
...
...
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