Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
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
love_飞影
Neos
Commits
0c1920d6
Commit
0c1920d6
authored
Jun 21, 2023
by
timel
Committed by
Chunchi Che
Jun 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: store display in devtool
parent
2700352e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
src/stores/index.ts
src/stores/index.ts
+8
-13
No files found.
src/stores/index.ts
View file @
0c1920d6
...
@@ -8,7 +8,6 @@ export * from "./moraStore";
...
@@ -8,7 +8,6 @@ export * from "./moraStore";
export
*
from
"
./placeStore
"
;
export
*
from
"
./placeStore
"
;
export
*
from
"
./playerStore
"
;
export
*
from
"
./playerStore
"
;
import
{
proxy
}
from
"
valtio
"
;
import
{
devtools
}
from
"
valtio/utils
"
;
import
{
devtools
}
from
"
valtio/utils
"
;
import
{
cardStore
}
from
"
./cardStore
"
;
import
{
cardStore
}
from
"
./cardStore
"
;
...
@@ -20,15 +19,11 @@ import { moraStore } from "./moraStore";
...
@@ -20,15 +19,11 @@ import { moraStore } from "./moraStore";
import
{
placeStore
}
from
"
./placeStore
"
;
import
{
placeStore
}
from
"
./placeStore
"
;
import
{
playerStore
}
from
"
./playerStore
"
;
import
{
playerStore
}
from
"
./playerStore
"
;
export
const
store
=
proxy
({
devtools
(
playerStore
,
{
name
:
"
player
"
,
enabled
:
true
});
playerStore
,
devtools
(
chatStore
,
{
name
:
"
chat
"
,
enabled
:
true
});
chatStore
,
devtools
(
joinStore
,
{
name
:
"
join
"
,
enabled
:
true
});
joinStore
,
devtools
(
moraStore
,
{
name
:
"
mora
"
,
enabled
:
true
});
moraStore
,
devtools
(
matStore
,
{
name
:
"
mat
"
,
enabled
:
true
});
matStore
,
// 决斗盘
devtools
(
messageStore
,
{
name
:
"
message
"
,
enabled
:
true
});
messageStore
,
// 决斗的信息,包括模态框
devtools
(
cardStore
,
{
name
:
"
card
"
,
enabled
:
true
});
cardStore
,
devtools
(
placeStore
,
{
name
:
"
place
"
,
enabled
:
true
});
placeStore
,
});
devtools
(
store
,
{
name
:
"
valtio store
"
,
enabled
:
true
});
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