@jjlmoya/utils-sports 1.8.0 → 1.10.0
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/package.json +3 -2
- package/src/entries.ts +14 -0
- package/src/index.ts +4 -28
- package/src/tool/gymTracker/entry.ts +30 -0
- package/src/tool/gymTracker/index.ts +2 -32
- package/src/tool/reactionTester/entry.ts +30 -0
- package/src/tool/reactionTester/index.ts +2 -32
- package/src/tool/scoreKeeper/entry.ts +31 -0
- package/src/tool/scoreKeeper/index.ts +2 -33
- package/src/tool/tournamentBracket/entry.ts +30 -0
- package/src/tool/tournamentBracket/index.ts +2 -32
- package/src/tools.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jjlmoya/utils-sports",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./src/index.ts",
|
|
9
|
-
"./data": "./src/data.ts"
|
|
9
|
+
"./data": "./src/data.ts",
|
|
10
|
+
"./entries": "./src/entries.ts"
|
|
10
11
|
},
|
|
11
12
|
"files": [
|
|
12
13
|
"src"
|
package/src/entries.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { gymTracker } from './tool/gymTracker/entry';
|
|
2
|
+
export type { GymTrackerLocaleContent } from './tool/gymTracker/entry';
|
|
3
|
+
export { reactionTester } from './tool/reactionTester/entry';
|
|
4
|
+
export type { ReactionTesterLocaleContent } from './tool/reactionTester/entry';
|
|
5
|
+
export { scoreKeeper } from './tool/scoreKeeper/entry';
|
|
6
|
+
export type { ScoreKeeperLocaleContent } from './tool/scoreKeeper/entry';
|
|
7
|
+
export { tournamentBracket } from './tool/tournamentBracket/entry';
|
|
8
|
+
export type { TournamentBracketLocaleContent } from './tool/tournamentBracket/entry';
|
|
9
|
+
export { sportsCategory } from './category';
|
|
10
|
+
import { gymTracker } from './tool/gymTracker/entry';
|
|
11
|
+
import { reactionTester } from './tool/reactionTester/entry';
|
|
12
|
+
import { scoreKeeper } from './tool/scoreKeeper/entry';
|
|
13
|
+
import { tournamentBracket } from './tool/tournamentBracket/entry';
|
|
14
|
+
export const ALL_ENTRIES = [gymTracker, reactionTester, scoreKeeper, tournamentBracket];
|
package/src/index.ts
CHANGED
|
@@ -17,39 +17,15 @@ export type {
|
|
|
17
17
|
|
|
18
18
|
export { ALL_ENTRIES, ALL_TOOLS } from './tools';
|
|
19
19
|
|
|
20
|
-
export {
|
|
21
|
-
ScoreKeeperComponent,
|
|
22
|
-
ScoreKeeperSEO,
|
|
23
|
-
ScoreKeeperBibliography,
|
|
24
|
-
SCORE_KEEPER_TOOL,
|
|
25
|
-
scoreKeeper,
|
|
26
|
-
} from './tool/scoreKeeper/index';
|
|
20
|
+
export { SCORE_KEEPER_TOOL, scoreKeeper } from './tool/scoreKeeper/index';
|
|
27
21
|
export type { ScoreKeeperUI, ScoreKeeperLocaleContent } from './tool/scoreKeeper/index';
|
|
28
22
|
|
|
29
|
-
export {
|
|
30
|
-
TournamentBracketComponent,
|
|
31
|
-
TournamentBracketSEO,
|
|
32
|
-
TournamentBracketBibliography,
|
|
33
|
-
TOURNAMENT_BRACKET_TOOL,
|
|
34
|
-
tournamentBracket,
|
|
35
|
-
} from './tool/tournamentBracket/index';
|
|
23
|
+
export { TOURNAMENT_BRACKET_TOOL, tournamentBracket } from './tool/tournamentBracket/index';
|
|
36
24
|
export type { TournamentBracketUI, TournamentBracketLocaleContent } from './tool/tournamentBracket/index';
|
|
37
25
|
|
|
38
|
-
export {
|
|
39
|
-
GymTrackerComponent,
|
|
40
|
-
GymTrackerSEO,
|
|
41
|
-
GymTrackerBibliography,
|
|
42
|
-
GYM_TRACKER_TOOL,
|
|
43
|
-
gymTracker,
|
|
44
|
-
} from './tool/gymTracker/index';
|
|
26
|
+
export { GYM_TRACKER_TOOL, gymTracker } from './tool/gymTracker/index';
|
|
45
27
|
export type { GymTrackerUI, GymTrackerLocaleContent } from './tool/gymTracker/index';
|
|
46
28
|
|
|
47
|
-
export {
|
|
48
|
-
ReactionTesterComponent,
|
|
49
|
-
ReactionTesterSEO,
|
|
50
|
-
ReactionTesterBibliography,
|
|
51
|
-
REACTION_TESTER_TOOL,
|
|
52
|
-
reactionTester,
|
|
53
|
-
} from './tool/reactionTester/index';
|
|
29
|
+
export { REACTION_TESTER_TOOL, reactionTester } from './tool/reactionTester/index';
|
|
54
30
|
export type { ReactionTesterUI, ReactionTesterLocaleContent } from './tool/reactionTester/index';
|
|
55
31
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SportsToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
import type { GymTrackerUI } from './ui';
|
|
3
|
+
|
|
4
|
+
export type { GymTrackerUI };
|
|
5
|
+
export type GymTrackerLocaleContent = ToolLocaleContent<GymTrackerUI>;
|
|
6
|
+
|
|
7
|
+
export const gymTracker: SportsToolEntry<GymTrackerUI> = {
|
|
8
|
+
id: 'gym-tracker',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:weight-lifter',
|
|
11
|
+
fg: 'mdi:chart-line',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type { GymTrackerUI };
|
|
5
|
-
export type GymTrackerLocaleContent = ToolLocaleContent<GymTrackerUI>;
|
|
6
|
-
|
|
7
|
-
export const gymTracker: SportsToolEntry<GymTrackerUI> = {
|
|
8
|
-
id: 'gym-tracker',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:weight-lifter',
|
|
11
|
-
fg: 'mdi:chart-line',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content as ToolLocaleContent<GymTrackerUI>),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { gymTracker } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const GYM_TRACKER_TOOL: ToolDefinition = {
|
|
34
4
|
entry: gymTracker,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SportsToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
import type { ReactionTesterUI } from './ui';
|
|
3
|
+
|
|
4
|
+
export type { ReactionTesterUI };
|
|
5
|
+
export type ReactionTesterLocaleContent = ToolLocaleContent<ReactionTesterUI>;
|
|
6
|
+
|
|
7
|
+
export const reactionTester: SportsToolEntry<ReactionTesterUI> = {
|
|
8
|
+
id: 'reaction-tester',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:lightning-bolt',
|
|
11
|
+
fg: 'mdi:timer-outline',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type { ReactionTesterUI };
|
|
5
|
-
export type ReactionTesterLocaleContent = ToolLocaleContent<ReactionTesterUI>;
|
|
6
|
-
|
|
7
|
-
export const reactionTester: SportsToolEntry<ReactionTesterUI> = {
|
|
8
|
-
id: 'reaction-tester',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:lightning-bolt',
|
|
11
|
-
fg: 'mdi:timer-outline',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { reactionTester } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const REACTION_TESTER_TOOL: ToolDefinition = {
|
|
34
4
|
entry: reactionTester,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SportsToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
import type { ScoreKeeperUI } from './ui';
|
|
4
|
+
|
|
5
|
+
export type { ScoreKeeperUI };
|
|
6
|
+
export type ScoreKeeperLocaleContent = ToolLocaleContent<ScoreKeeperUI>;
|
|
7
|
+
|
|
8
|
+
export const scoreKeeper: SportsToolEntry<ScoreKeeperUI> = {
|
|
9
|
+
id: 'score-keeper',
|
|
10
|
+
icons: {
|
|
11
|
+
bg: 'mdi:scoreboard-outline',
|
|
12
|
+
fg: 'mdi:trophy-variant-outline',
|
|
13
|
+
},
|
|
14
|
+
i18n: {
|
|
15
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
16
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
19
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
20
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
21
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
22
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
23
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
24
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
25
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
26
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
27
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
28
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
29
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
30
|
+
},
|
|
31
|
+
};
|
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import type { ScoreKeeperUI } from './ui';
|
|
4
|
-
|
|
5
|
-
export type { ScoreKeeperUI };
|
|
6
|
-
export type ScoreKeeperLocaleContent = ToolLocaleContent<ScoreKeeperUI>;
|
|
7
|
-
|
|
8
|
-
export const scoreKeeper: SportsToolEntry<ScoreKeeperUI> = {
|
|
9
|
-
id: 'score-keeper',
|
|
10
|
-
icons: {
|
|
11
|
-
bg: 'mdi:scoreboard-outline',
|
|
12
|
-
fg: 'mdi:trophy-variant-outline',
|
|
13
|
-
},
|
|
14
|
-
i18n: {
|
|
15
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
16
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
19
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
20
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
21
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
22
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
23
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
24
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
25
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
26
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
27
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
28
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
29
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import { scoreKeeper } from './entry';
|
|
2
|
+
export * from './entry';
|
|
34
3
|
export const SCORE_KEEPER_TOOL: ToolDefinition = {
|
|
35
4
|
entry: scoreKeeper,
|
|
36
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SportsToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
import type { TournamentBracketUI } from './ui';
|
|
3
|
+
|
|
4
|
+
export type { TournamentBracketUI };
|
|
5
|
+
export type TournamentBracketLocaleContent = ToolLocaleContent<TournamentBracketUI>;
|
|
6
|
+
|
|
7
|
+
export const tournamentBracket: SportsToolEntry<TournamentBracketUI> = {
|
|
8
|
+
id: 'tournament-bracket',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:sitemap',
|
|
11
|
+
fg: 'mdi:trophy',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type { TournamentBracketUI };
|
|
5
|
-
export type TournamentBracketLocaleContent = ToolLocaleContent<TournamentBracketUI>;
|
|
6
|
-
|
|
7
|
-
export const tournamentBracket: SportsToolEntry<TournamentBracketUI> = {
|
|
8
|
-
id: 'tournament-bracket',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:sitemap',
|
|
11
|
-
fg: 'mdi:trophy',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { tournamentBracket } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const TOURNAMENT_BRACKET_TOOL: ToolDefinition = {
|
|
34
4
|
entry: tournamentBracket,
|
|
35
5
|
Component: () => import('./component.astro'),
|
package/src/tools.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ALL_ENTRIES } from './entries';
|
|
1
2
|
import type { ToolDefinition } from './types';
|
|
2
3
|
import { SCORE_KEEPER_TOOL } from './tool/scoreKeeper/index';
|
|
3
4
|
import { TOURNAMENT_BRACKET_TOOL } from './tool/tournamentBracket/index';
|
|
@@ -12,4 +13,3 @@ export const ALL_TOOLS: ToolDefinition[] = [
|
|
|
12
13
|
];
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
export const ALL_ENTRIES = ALL_TOOLS.map(t => t.entry);
|