Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
Koishi Plugin Ygocard
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 Ygocard
Commits
7965d428
Commit
7965d428
authored
Feb 18, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure dev works
parent
f9899273
Pipeline
#9845
passed with stages
in 43 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
.gitmodules
.gitmodules
+3
-0
dev/index.ts
dev/index.ts
+3
-1
dev/ygopro-database
dev/ygopro-database
+1
-0
src/index.ts
src/index.ts
+2
-2
No files found.
.gitmodules
0 → 100644
View file @
7965d428
[submodule "dev/ygopro-database"]
path = dev/ygopro-database
url = https://code.mycard.moe/mycard/ygopro-database
dev/index.ts
View file @
7965d428
...
...
@@ -26,6 +26,8 @@ app.plugin(DatabasePlugin);
app
.
plugin
(
ExtrasInDev
);
// Target plugin
app
.
plugin
(
TargetPlugin
,
{}
as
any
);
app
.
plugin
(
TargetPlugin
,
{
databasePaths
:
[
'
./dev/ygopro-database/locales/zh-CN
'
],
});
app
.
start
();
ygopro-database
@
b53a96ad
Subproject commit b53a96ad782fb428294895081eb913fda3bb68f0
src/index.ts
View file @
7965d428
...
...
@@ -8,7 +8,7 @@ export * from './config';
const
plugin
=
new
MyPlugin
();
export
default
class
ygocard
{
static
Config
:
any
=
plugin
.
schema
;
constructor
(
ctx
:
Context
,
config
:
YGOCardConfig
)
{
ctx
.
plugin
(
plugin
,
config
);
constructor
(
ctx
:
Context
,
config
:
Partial
<
YGOCardConfig
>
)
{
ctx
.
plugin
(
plugin
,
config
as
YGOCardConfig
);
}
}
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