@johnmorrisdotca/kyogijo-stadiums 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/NOTICE.md +179 -3
- package/README.md +43 -11
- package/dist/arenas-entry.d.ts +4 -0
- package/dist/arenas-entry.js +3 -0
- package/dist/arenas.d.ts +125 -0
- package/dist/arenas.data.d.ts +2 -0
- package/dist/arenas.data.js +3763 -0
- package/dist/arenas.js +72 -0
- package/dist/atlas-entry.d.ts +3 -1
- package/dist/atlas-entry.js +3 -2
- package/dist/atlas.d.ts +37 -19
- package/dist/atlas.js +92 -7
- package/dist/background.js +2 -1
- package/dist/budo/describe.d.ts +13 -0
- package/dist/budo/describe.js +120 -0
- package/dist/budo/dojo.api.d.ts +64 -0
- package/dist/budo/dojo.api.js +46 -0
- package/dist/budo/dojo.d.ts +72 -0
- package/dist/budo/dojo.js +300 -0
- package/dist/budo/judo.d.ts +61 -0
- package/dist/budo/judo.js +109 -0
- package/dist/budo/karate.d.ts +29 -0
- package/dist/budo/karate.js +80 -0
- package/dist/budo/kendo.d.ts +18 -0
- package/dist/budo/kendo.js +44 -0
- package/dist/budo/kimarite.d.ts +19 -0
- package/dist/budo/kimarite.js +33 -0
- package/dist/budo/kit.d.ts +16 -0
- package/dist/budo/kit.js +24 -0
- package/dist/budo/kyudo.d.ts +28 -0
- package/dist/budo/kyudo.js +66 -0
- package/dist/budo/looks.d.ts +28 -0
- package/dist/budo/looks.js +58 -0
- package/dist/budo/parts.d.ts +32 -0
- package/dist/budo/parts.js +10 -0
- package/dist/budo/plan.d.ts +64 -0
- package/dist/budo/plan.js +139 -0
- package/dist/budo/room.d.ts +133 -0
- package/dist/budo/room.js +111 -0
- package/dist/budo/sumo.d.ts +31 -0
- package/dist/budo/sumo.js +71 -0
- package/dist/budo/tatami.d.ts +55 -0
- package/dist/budo/tatami.js +156 -0
- package/dist/budo/types.d.ts +192 -0
- package/dist/budo/types.js +2 -0
- package/dist/budo-entry.d.ts +22 -0
- package/dist/budo-entry.js +13 -0
- package/dist/budo.board.d.ts +28 -0
- package/dist/budo.board.js +81 -0
- package/dist/budo.score.d.ts +18 -0
- package/dist/budo.score.js +52 -0
- package/dist/budo.style.d.ts +6 -0
- package/dist/budo.style.js +67 -0
- package/dist/charts.baseball.js +1 -1
- package/dist/charts.js +4 -4
- package/dist/charts.soccer.js +3 -3
- package/dist/charts.types.d.ts +10 -0
- package/dist/colour.d.ts +4 -4
- package/dist/colour.js +4 -4
- package/dist/crowd.d.ts +11 -1
- package/dist/crowd.draw.js +15 -9
- package/dist/crowd.js +17 -2
- package/dist/draw.js +156 -31
- package/dist/element-entry.d.ts +2 -0
- package/dist/element-entry.js +1 -0
- package/dist/element.d.ts +2 -2
- package/dist/element.js +2 -1
- package/dist/emblems-source.d.ts +50 -0
- package/dist/emblems-source.js +56 -0
- package/dist/eras.d.ts +3 -1
- package/dist/eras.js +8 -3
- package/dist/features.js +73 -0
- package/dist/field.data.d.ts +16 -0
- package/dist/field.data.js +50 -0
- package/dist/fields.kit.d.ts +2 -2
- package/dist/fields.types.d.ts +9 -3
- package/dist/formations.js +18 -7
- package/dist/formations.sports.d.ts +8 -0
- package/dist/formations.sports.js +251 -0
- package/dist/frames.providers.js +9 -1
- package/dist/halls.d.ts +65 -0
- package/dist/halls.js +122 -0
- package/dist/heat.js +17 -10
- package/dist/heat.zones.d.ts +4 -2
- package/dist/heat.zones.js +55 -3
- package/dist/homeside.js +7 -0
- package/dist/index.d.ts +15 -3
- package/dist/index.js +8 -1
- package/dist/layers-entry.d.ts +2 -1
- package/dist/layers-entry.js +1 -0
- package/dist/layers.d.ts +2 -1
- package/dist/layers.env.d.ts +10 -1
- package/dist/layers.env.js +33 -3
- package/dist/layers.js +30 -11
- package/dist/layers.types.d.ts +9 -2
- package/dist/leagues/budo.d.ts +196 -0
- package/dist/leagues/budo.js +105 -0
- package/dist/leagues/hockey.js +41 -19
- package/dist/leagues/sources.js +21 -0
- package/dist/leagues/types.d.ts +1 -1
- package/dist/leagues.d.ts +4 -1
- package/dist/leagues.js +102 -2
- package/dist/lineup.codes.d.ts +23 -0
- package/dist/lineup.codes.js +122 -0
- package/dist/logo.d.ts +25 -0
- package/dist/logo.js +47 -0
- package/dist/outline.d.ts +1 -1
- package/dist/outline.js +17 -3
- package/dist/pageant.js +7 -3
- package/dist/pointer-entry.d.ts +2 -0
- package/dist/pointer-entry.js +2 -0
- package/dist/pointer.d.ts +113 -0
- package/dist/pointer.js +151 -0
- package/dist/pool.d.ts +7 -7
- package/dist/pool.figures.d.ts +57 -55
- package/dist/pool.figures.js +59 -55
- package/dist/pool.js +7 -7
- package/dist/pool.labels.js +2 -1
- package/dist/ranges.names.js +6 -0
- package/dist/road.draw.js +3 -2
- package/dist/road.js +2 -1
- package/dist/road.types.d.ts +3 -0
- package/dist/rules.d.ts +138 -0
- package/dist/rules.js +511 -0
- package/dist/rules.types.d.ts +4 -0
- package/dist/rules.types.js +64 -0
- package/dist/score.d.ts +3 -0
- package/dist/score.js +23 -1
- package/dist/situation.d.ts +135 -0
- package/dist/situation.draw.d.ts +34 -0
- package/dist/situation.draw.js +202 -0
- package/dist/situation.js +337 -0
- package/dist/situation.style.d.ts +2 -0
- package/dist/situation.style.js +45 -0
- package/dist/situation.types.d.ts +77 -0
- package/dist/situation.types.js +3 -0
- package/dist/situation.widgets.d.ts +39 -0
- package/dist/situation.widgets.js +129 -0
- package/dist/strings.d.ts +175 -1
- package/dist/strings.js +364 -20
- package/dist/style.js +9 -2
- package/dist/surfaces/artistic.d.ts +3 -3
- package/dist/surfaces/artistic.js +3 -3
- package/dist/surfaces/baseball.js +2 -0
- package/dist/surfaces/basketball.js +1 -1
- package/dist/surfaces/budo.d.ts +6 -0
- package/dist/surfaces/budo.js +104 -0
- package/dist/surfaces/dive.d.ts +3 -3
- package/dist/surfaces/dive.js +3 -3
- package/dist/surfaces/football.js +7 -0
- package/dist/surfaces/hockey.js +3 -2
- package/dist/surfaces/polo.d.ts +4 -4
- package/dist/surfaces/polo.js +5 -5
- package/dist/surfaces/pool.d.ts +1 -1
- package/dist/surfaces/pool.js +3 -3
- package/dist/surfaces/surface.d.ts +32 -0
- package/dist/surfaces/venue.d.ts +1 -1
- package/dist/surfaces/venue.js +1 -1
- package/dist/target-entry.d.ts +2 -0
- package/dist/target-entry.js +2 -0
- package/dist/target.d.ts +200 -0
- package/dist/target.js +525 -0
- package/dist/team.common.d.ts +1 -1
- package/dist/team.common.js +3 -3
- package/dist/team.formation.d.ts +3 -1
- package/dist/team.formation.js +3 -3
- package/dist/team.layers.d.ts +2 -2
- package/dist/team.layers.js +4 -1
- package/dist/team.lineup.d.ts +27 -0
- package/dist/team.lineup.js +207 -0
- package/dist/team.network.js +6 -5
- package/dist/team.shape.js +5 -5
- package/dist/team.types.d.ts +40 -1
- package/dist/tenants.data.js +848 -0
- package/dist/turn-entry.d.ts +2 -2
- package/dist/turn-entry.js +1 -1
- package/dist/turn.camera.d.ts +16 -3
- package/dist/turn.camera.js +53 -7
- package/dist/turn.dom.js +11 -9
- package/dist/turn.kit.d.ts +2 -2
- package/dist/turn.style.js +4 -3
- package/dist/types.d.ts +43 -7
- package/dist/units.js +7 -0
- package/dist/uprights.budo.d.ts +17 -0
- package/dist/uprights.budo.js +87 -0
- package/dist/uprights.js +10 -1
- package/dist/uprights.pools.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zones-entry.d.ts +2 -0
- package/dist/zones-entry.js +2 -0
- package/package.json +39 -3
package/dist/strings.d.ts
CHANGED
|
@@ -1,4 +1,67 @@
|
|
|
1
|
+
import type { RuleId } from "./rules.types.ts";
|
|
1
2
|
import type { Language, RangeName, Sport } from "./types.ts";
|
|
3
|
+
/** The words of a game's situation (`situation`): the short ones on the pills and tags, and the sentences of the description. */
|
|
4
|
+
export interface SituationWords {
|
|
5
|
+
/** The teams when the drawing names none. */
|
|
6
|
+
home: string;
|
|
7
|
+
away: string;
|
|
8
|
+
/** The labels of the shootout's two rows when the drawing names no team. */
|
|
9
|
+
homeShort: string;
|
|
10
|
+
awayShort: string;
|
|
11
|
+
/** Hockey's short words on the pill: the power play, the empty net, a delayed penalty, the shootout and its sudden-death rounds. */
|
|
12
|
+
pp: string;
|
|
13
|
+
en: string;
|
|
14
|
+
delayed: string;
|
|
15
|
+
shootout: string;
|
|
16
|
+
/** The shootout's word where the rulebook calls it the game winning shots: the IIHF's, the Olympic and the Japanese leagues'. */
|
|
17
|
+
gws: string;
|
|
18
|
+
sudden: string;
|
|
19
|
+
/** Hockey sentences ({team}, {a}, {b}, {clock}, {n}, {away}, {home}, {awayGoals}, {homeGoals}). */
|
|
20
|
+
powerPlay: string;
|
|
21
|
+
strength: string;
|
|
22
|
+
penaltyTime: string;
|
|
23
|
+
emptyNet: string;
|
|
24
|
+
delayedPenalty: string;
|
|
25
|
+
shootoutScore: string;
|
|
26
|
+
gwsScore: string;
|
|
27
|
+
suddenDeath: string;
|
|
28
|
+
/** Baseball: {half} is `top` or `bottom`, {n} the inning, {nth} the inning as an ordinal ({list} the bases, {b} the balls, {s} the strikes). */
|
|
29
|
+
top: string;
|
|
30
|
+
bottom: string;
|
|
31
|
+
inning: string;
|
|
32
|
+
inningOnly: string;
|
|
33
|
+
halfOnly: string;
|
|
34
|
+
noOuts: string;
|
|
35
|
+
oneOut: string;
|
|
36
|
+
outs: string;
|
|
37
|
+
basesEmpty: string;
|
|
38
|
+
basesLoaded: string;
|
|
39
|
+
runnersOn: string;
|
|
40
|
+
bases: readonly [string, string, string];
|
|
41
|
+
and: string;
|
|
42
|
+
count: string;
|
|
43
|
+
/** Football: the down's ordinal (first to fourth), the tag ({ord}, {n}), the sentences ({ord}, {n}, {team}, {where}, {from}, {to}, {result}). */
|
|
44
|
+
downs: readonly [string, string, string, string];
|
|
45
|
+
tag: string;
|
|
46
|
+
tagGoal: string;
|
|
47
|
+
down: string;
|
|
48
|
+
downDistance: string;
|
|
49
|
+
downGoal: string;
|
|
50
|
+
ballOwn: string;
|
|
51
|
+
ballOpp: string;
|
|
52
|
+
ballMid: string;
|
|
53
|
+
/** A yard line in a drive's sentence and on the tag: {n}. */
|
|
54
|
+
placeOwn: string;
|
|
55
|
+
placeOpp: string;
|
|
56
|
+
placeMid: string;
|
|
57
|
+
tagOwn: string;
|
|
58
|
+
tagOpp: string;
|
|
59
|
+
redZone: string;
|
|
60
|
+
possession: string;
|
|
61
|
+
driveLine: string;
|
|
62
|
+
driveNoResult: string;
|
|
63
|
+
results: Readonly<Record<"touchdown" | "field-goal" | "missed-field-goal" | "punt" | "turnover" | "interception" | "fumble" | "downs" | "safety" | "end-of-half", string>>;
|
|
64
|
+
}
|
|
2
65
|
/** The words of a folded curling sheet: the labels of its enlarged ends and the sentences that say what is drawn. */
|
|
3
66
|
export interface FoldedWords {
|
|
4
67
|
top: string;
|
|
@@ -343,6 +406,57 @@ export interface KyogijoWords {
|
|
|
343
406
|
ground: string;
|
|
344
407
|
data: AthleticsData;
|
|
345
408
|
};
|
|
409
|
+
/**
|
|
410
|
+
* The budō surfaces' description (judo, karate, kendo, sumo, kyūdō and a dojo): each a fragment with its figures ({contest}, {safety}, {tatami}, {area}, {side}, {height}...), the sentences
|
|
411
|
+
* that follow it, the names of the four sides, and the words of the scoreboards.
|
|
412
|
+
*/
|
|
413
|
+
budo: {
|
|
414
|
+
sides: Record<"north" | "south" | "east" | "west", string>;
|
|
415
|
+
judo: string;
|
|
416
|
+
judoMany: string;
|
|
417
|
+
judoKata: string;
|
|
418
|
+
danger: string;
|
|
419
|
+
platform: string;
|
|
420
|
+
start: string;
|
|
421
|
+
officials: string;
|
|
422
|
+
tatami: string;
|
|
423
|
+
karate: string;
|
|
424
|
+
karateMany: string;
|
|
425
|
+
karateKata: string;
|
|
426
|
+
karateOfficials: string;
|
|
427
|
+
kendo: string;
|
|
428
|
+
sumo: string;
|
|
429
|
+
sumoBare: string;
|
|
430
|
+
tassels: string;
|
|
431
|
+
kyudo: string;
|
|
432
|
+
kyudoEnteki: string;
|
|
433
|
+
dojoTraditional: string;
|
|
434
|
+
dojoCompetition: string;
|
|
435
|
+
dojoChecker: string;
|
|
436
|
+
dojoBorder: string;
|
|
437
|
+
dojoKamiza: string;
|
|
438
|
+
dojoShinzen: string;
|
|
439
|
+
dojoDais: string;
|
|
440
|
+
dojoBanner: string;
|
|
441
|
+
dojoAreas: string;
|
|
442
|
+
dojoWalls: string;
|
|
443
|
+
/** The scoreboards: the heads and the sentences that say what each side scored. */
|
|
444
|
+
board: {
|
|
445
|
+
ippon: string;
|
|
446
|
+
wazaari: string;
|
|
447
|
+
yuko: string;
|
|
448
|
+
shido: string;
|
|
449
|
+
senshu: string;
|
|
450
|
+
chui: string;
|
|
451
|
+
points: string;
|
|
452
|
+
kimarite: string;
|
|
453
|
+
techniques: Record<"men" | "kote" | "do" | "tsuki" | "hansoku", string>;
|
|
454
|
+
judoScore: string;
|
|
455
|
+
karateScore: string;
|
|
456
|
+
kendoScore: string;
|
|
457
|
+
sumoScore: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
346
460
|
/** The title of a score: placeholders {away}, {awayScore}, {home} and {homeScore}. */
|
|
347
461
|
scoreTitle: string;
|
|
348
462
|
/** The sentences of a description. */
|
|
@@ -357,6 +471,16 @@ export interface KyogijoWords {
|
|
|
357
471
|
/** A soccer ground drawn at its published size, or without one: {ground}. */
|
|
358
472
|
ground: string;
|
|
359
473
|
groundDefault: string;
|
|
474
|
+
/** The title of an arena's drawing: {arena}. */
|
|
475
|
+
arenaRink: string;
|
|
476
|
+
arenaCourt: string;
|
|
477
|
+
/** What an arena drawn at the size its sources publish is, in place of the league's description: {length} and {width} in feet, {lengthM} and {widthM} in metres. */
|
|
478
|
+
arenaRinkAbout: string;
|
|
479
|
+
arenaCourtAbout: string;
|
|
480
|
+
/** The size is the one published for {arena}. */
|
|
481
|
+
arenaSize: string;
|
|
482
|
+
/** An arena whose rink is said to have been shorter than the NHL's, with no size given: {arena}. */
|
|
483
|
+
arenaUnknown: string;
|
|
360
484
|
/** A game decided on penalties: {name}, and the shoot-out score {a}-{b}, winner first. */
|
|
361
485
|
wonPens: string;
|
|
362
486
|
/** The shoot-out, as it is written beside a status: {a} and {b}, in the order of the sides on the drawing. */
|
|
@@ -383,6 +507,8 @@ export interface KyogijoWords {
|
|
|
383
507
|
emblem: string;
|
|
384
508
|
emblemNamed: string;
|
|
385
509
|
};
|
|
510
|
+
/** A game's situation: hockey's skaters and shootout, baseball's bases, outs and count, football's down and distance and drives. */
|
|
511
|
+
situation: SituationWords;
|
|
386
512
|
/**
|
|
387
513
|
* A special game, one surface set inside another: the title ({guest} is the inner surface, {host} where it is), the sentence that names the game ({event}, {date}),
|
|
388
514
|
* whether the surface lies wholly inside the host ({guest}, {host}) or reaches beyond it ({pct} percent of its area), how its place was decided, and the date.
|
|
@@ -635,6 +761,19 @@ export interface KyogijoWords {
|
|
|
635
761
|
rinkLeft: string;
|
|
636
762
|
rinkMiddle: string;
|
|
637
763
|
rinkRight: string;
|
|
764
|
+
/** The budō surfaces' zones: the contest area and the safety area, the boundary band, the floor, the clay, the sand and the ring of a dohyō, the shajō, the yamichi and the azuchi, the kamiza and the rest. */
|
|
765
|
+
budoContest: string;
|
|
766
|
+
budoSafety: string;
|
|
767
|
+
budoBand: string;
|
|
768
|
+
budoFloor: string;
|
|
769
|
+
budoClay: string;
|
|
770
|
+
budoJano: string;
|
|
771
|
+
budoRing: string;
|
|
772
|
+
budoShajo: string;
|
|
773
|
+
budoYamichi: string;
|
|
774
|
+
budoAzuchi: string;
|
|
775
|
+
budoKamiza: string;
|
|
776
|
+
budoRest: string;
|
|
638
777
|
sideRight: string;
|
|
639
778
|
};
|
|
640
779
|
};
|
|
@@ -657,6 +796,14 @@ export interface KyogijoWords {
|
|
|
657
796
|
formationNote: string;
|
|
658
797
|
formationPlayers: string;
|
|
659
798
|
formationItem: string;
|
|
799
|
+
/** A lineup: the title ({name} and {n} players), the captain ({who}), the volleyball rotation ({n}), the players with no place ({list}), the armband's tooltip and letter, and the head of the captain column. */
|
|
800
|
+
lineupTitle: string;
|
|
801
|
+
lineupCaptain: string;
|
|
802
|
+
lineupRotation: string;
|
|
803
|
+
lineupUnplaced: string;
|
|
804
|
+
captainTip: string;
|
|
805
|
+
captainMark: string;
|
|
806
|
+
tableCaptain: string;
|
|
660
807
|
/** Space control: the title ({n} players), the share of the surface nearest each team ({list}; each {name} and {pct}) and the players who share a place with another ({n}). */
|
|
661
808
|
voronoiTitle: string;
|
|
662
809
|
voronoiNote: string;
|
|
@@ -868,7 +1015,34 @@ export interface KyogijoWords {
|
|
|
868
1015
|
item: string;
|
|
869
1016
|
itemSag: string;
|
|
870
1017
|
/** The names of what stands on the surface, by kind. */
|
|
871
|
-
parts: Record<"scoreboard" | "net" | "antennae" | "goalposts" | "netposts" | "hoop" | "goal" | "boards" | "stumps" | "pylons" | "flags" | "fence" | "backstop" | "foul-poles" | "table-legs" | "walls" | "starting-blocks" | "backstroke-flags" | "false-start-rope" | "springboards" | "platforms" | "judges-stand" | "hurdles" | "steeplechase" | "high-jump" | "pole-vault" | "cage" | "padding" | "rink-boards", string>;
|
|
1018
|
+
parts: Record<"scoreboard" | "net" | "antennae" | "goalposts" | "netposts" | "hoop" | "goal" | "boards" | "stumps" | "pylons" | "flags" | "fence" | "backstop" | "foul-poles" | "table-legs" | "walls" | "starting-blocks" | "backstroke-flags" | "false-start-rope" | "springboards" | "platforms" | "judges-stand" | "hurdles" | "steeplechase" | "high-jump" | "pole-vault" | "cage" | "padding" | "rink-boards" | "mound" | "azuchi" | "targets", string>;
|
|
1019
|
+
};
|
|
1020
|
+
/** The names of the zones that `zoneAt` answers with (rules.ts), by id. */
|
|
1021
|
+
rules: Record<RuleId, string>;
|
|
1022
|
+
/** The words of the rules that FIBA's rule book says another way than the NBA's, for a court of `league: "fiba"`: the restricted area is the no-charge semicircle. */
|
|
1023
|
+
rulesFiba: Partial<Record<RuleId, string>>;
|
|
1024
|
+
/** The words of the targets seen end-on (target.ts): the goals, the stumps and the strike zone. */
|
|
1025
|
+
target: {
|
|
1026
|
+
sports: Record<"nhl" | "soccer" | "handball" | "waterpolo" | "lacrosse" | "fieldhockey" | "cricket" | "mlb", string>;
|
|
1027
|
+
/** Titles ({name}) and descriptions ({name} {w} {h} {unit}; {w} {bottom} {top} {side}). */
|
|
1028
|
+
titleGoal: string;
|
|
1029
|
+
descGoal: string;
|
|
1030
|
+
titleStrike: string;
|
|
1031
|
+
descStrike: string;
|
|
1032
|
+
titleStumps: string;
|
|
1033
|
+
descStumps: string;
|
|
1034
|
+
left: string;
|
|
1035
|
+
right: string;
|
|
1036
|
+
units: Record<"m" | "ft" | "in" | "cm" | "yd", string>;
|
|
1037
|
+
/** What became of a shot, a pitch or a delivery. */
|
|
1038
|
+
outcomes: Record<string, string>;
|
|
1039
|
+
/** The zones, by id. */
|
|
1040
|
+
zones: Record<string, string>;
|
|
1041
|
+
/** The length zones of a delivery, by id. */
|
|
1042
|
+
lengths: Record<string, string>;
|
|
1043
|
+
pitches: string;
|
|
1044
|
+
deliveries: string;
|
|
1045
|
+
numbers: string;
|
|
872
1046
|
};
|
|
873
1047
|
}
|
|
874
1048
|
/** The words of the package, by language. */
|