Import: Added band and character import
Use 'npm run import' to import from assets/import/{bands,characters}.
Existing entries are not overwritten!
This commit is contained in:
7
assets/import/example_band.json
Normal file
7
assets/import/example_band.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"id": "1",
|
||||
"name": "BAND-MAID",
|
||||
"description": "Band-Maid (stylized as BAND-MAID) is an all girl rock band from Tokyo that formed in July 2013. The band combines a rock sound with a maid image modeled on Japanese maid cafés.",
|
||||
"imageURL": "https://cdn.discordapp.com/attachments/851543504831119380/1009467684490063892/unknown.png",
|
||||
"enabled": 0
|
||||
}
|
||||
18
assets/import/example_characters.json
Normal file
18
assets/import/example_characters.json
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"id": "1",
|
||||
"bandId": "1",
|
||||
"name": "Miku Kobato",
|
||||
"description": "Miku Kobato is a Japanese singer, songwriter and guitarist. She is the initial founding member and main lyricist for BAND-MAID.",
|
||||
"imageIdentifier": "bandmaid/miku.png",
|
||||
"enabled": 0
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"bandId": "1",
|
||||
"name": "Akane Hirose",
|
||||
"description": "Akane Hirose is a Japanese drummer and founding member of BAND-MAID.",
|
||||
"imageIdentifier": "bandmaid/akane.png",
|
||||
"enabled": 0
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user