Skip to content

Commit 57011bc

Browse files
committed
Better example data
1 parent d63e4e3 commit 57011bc

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

demo/db.json

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,14 @@
194194
"opponent1": {
195195
"id": 0,
196196
"position": 1,
197-
"score": 8
197+
"score": 16,
198+
"result": "win"
198199
},
199200
"opponent2": {
200201
"id": 1,
201202
"position": 2,
202-
"score": 6
203+
"score": 12,
204+
"result": "loss"
203205
}
204206
},
205207
{
@@ -216,11 +218,13 @@
216218
"end_datetime": null,
217219
"opponent1": {
218220
"id": 2,
219-
"position": 3
221+
"position": 3,
222+
"score": 8
220223
},
221224
"opponent2": {
222225
"id": 3,
223-
"position": 4
226+
"position": 4,
227+
"score": 4
224228
}
225229
},
226230
{
@@ -235,10 +239,7 @@
235239
"scheduled_datetime": null,
236240
"start_datetime": null,
237241
"end_datetime": null,
238-
"opponent1": {
239-
"id": 4,
240-
"position": 5
241-
},
242+
"opponent1": null,
242243
"opponent2": {
243244
"id": 5,
244245
"position": 6
@@ -345,7 +346,7 @@
345346
"position": 15
346347
},
347348
"opponent2": {
348-
"id": 15,
349+
"id": null,
349350
"position": 16
350351
}
351352
},
@@ -362,7 +363,7 @@
362363
"start_datetime": null,
363364
"end_datetime": null,
364365
"opponent1": {
365-
"id": null
366+
"id": 0
366367
},
367368
"opponent2": {
368369
"id": null
@@ -381,7 +382,7 @@
381382
"start_datetime": null,
382383
"end_datetime": null,
383384
"opponent1": {
384-
"id": null
385+
"id": 5
385386
},
386387
"opponent2": {
387388
"id": null
@@ -495,7 +496,7 @@
495496
"start_datetime": null,
496497
"end_datetime": null,
497498
"opponent1": {
498-
"id": null,
499+
"id": 1,
499500
"position": 1
500501
},
501502
"opponent2": {
@@ -515,10 +516,7 @@
515516
"scheduled_datetime": null,
516517
"start_datetime": null,
517518
"end_datetime": null,
518-
"opponent1": {
519-
"id": null,
520-
"position": 3
521-
},
519+
"opponent1": null,
522520
"opponent2": {
523521
"id": null,
524522
"position": 4

0 commit comments

Comments
 (0)