@cieloazul310/jclub-financial-utils 0.0.1-alpha.3 → 0.0.1-alpha.4
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/dist/all-fields.cjs +1 -93
- package/dist/all-fields.d.cts +9 -17
- package/dist/all-fields.d.cts.map +1 -1
- package/dist/all-fields.d.mts +9 -17
- package/dist/all-fields.d.mts.map +1 -1
- package/dist/all-fields.mjs +1 -85
- package/dist/all-fields.mjs.map +1 -1
- package/dist/data-BifrD3Hs.d.cts +180 -0
- package/dist/data-BifrD3Hs.d.cts.map +1 -0
- package/dist/data-CGTGYuvt.cjs +151 -0
- package/dist/data-PJ-fpqmg.mjs +104 -0
- package/dist/data-PJ-fpqmg.mjs.map +1 -0
- package/dist/data-rDHl-GBR.d.mts +180 -0
- package/dist/data-rDHl-GBR.d.mts.map +1 -0
- package/dist/data.cjs +21 -12
- package/dist/data.d.cts +1 -1
- package/dist/data.d.cts.map +1 -1
- package/dist/data.d.mts +1 -1
- package/dist/data.d.mts.map +1 -1
- package/dist/data.mjs +21 -12
- package/dist/data.mjs.map +1 -1
- package/dist/{dictionary-BzN32kPK.cjs → dictionary-BZ_zUPSy.cjs} +1 -1
- package/dist/{dictionary-C5g3hCzq.mjs → dictionary-D9CmvgCW.mjs} +2 -2
- package/dist/{dictionary-C5g3hCzq.mjs.map → dictionary-D9CmvgCW.mjs.map} +1 -1
- package/dist/dictionary.cjs +1 -1
- package/dist/dictionary.d.cts +1 -1
- package/dist/dictionary.d.mts +1 -1
- package/dist/dictionary.mjs +1 -1
- package/dist/index.cjs +15 -14
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +6 -5
- package/dist/types/data.cjs +10 -0
- package/dist/types/data.d.cts +2 -2
- package/dist/types/data.d.mts +2 -2
- package/dist/types/data.mjs +3 -1
- package/dist/types/index.cjs +10 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +3 -1
- package/dist/{years-BwmUZcK_.mjs → years-BD3YalWA.mjs} +1 -1
- package/dist/{years-BwmUZcK_.mjs.map → years-BD3YalWA.mjs.map} +1 -1
- package/dist/years.cjs +1 -1
- package/dist/years.mjs +1 -1
- package/package.json +3 -3
- package/dist/data-CEME1ilU.d.mts +0 -163
- package/dist/data-CEME1ilU.d.mts.map +0 -1
- package/dist/data-Dr1RQuDQ.d.cts +0 -163
- package/dist/data-Dr1RQuDQ.d.cts.map +0 -1
- package/dist/year-D3WZVmTU.mjs +0 -1
- package/dist/year-dUgWR1aM.cjs +0 -0
- /package/dist/{club-Dyqgxvkt.mjs → club-DMPe0Tct.mjs} +0 -0
- /package/dist/{club-CYJ2Any-.cjs → club-DtKevGOY.cjs} +0 -0
- /package/dist/{data-B_nPtYBn.cjs → year-C8iQUfNS.cjs} +0 -0
- /package/dist/{data-vII377kw.mjs → year-DlsIuRa9.mjs} +0 -0
- /package/dist/{years-DRN0nquf.cjs → years-BtLTGqsM.cjs} +0 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
//#region src/types/data.ts
|
|
2
|
+
const AllGeneralFields = [
|
|
3
|
+
"id",
|
|
4
|
+
"name",
|
|
5
|
+
"slug",
|
|
6
|
+
"fullname",
|
|
7
|
+
"year",
|
|
8
|
+
"category",
|
|
9
|
+
"license"
|
|
10
|
+
];
|
|
11
|
+
const AllSeasonResultFields = [
|
|
12
|
+
"rank",
|
|
13
|
+
"points",
|
|
14
|
+
"ppg",
|
|
15
|
+
"elevation"
|
|
16
|
+
];
|
|
17
|
+
const AllPLFields = [
|
|
18
|
+
"revenue",
|
|
19
|
+
"expense",
|
|
20
|
+
"op_profit",
|
|
21
|
+
"no_rev",
|
|
22
|
+
"no_exp",
|
|
23
|
+
"ordinary_profit",
|
|
24
|
+
"sp_rev",
|
|
25
|
+
"sp_exp",
|
|
26
|
+
"profit_before_tax",
|
|
27
|
+
"tax",
|
|
28
|
+
"profit",
|
|
29
|
+
"related_revenue"
|
|
30
|
+
];
|
|
31
|
+
const AllBSFields = [
|
|
32
|
+
"assets",
|
|
33
|
+
"curr_assets",
|
|
34
|
+
"fixed_assets",
|
|
35
|
+
"liabilities",
|
|
36
|
+
"curr_liabilities",
|
|
37
|
+
"fixed_liabilities",
|
|
38
|
+
"net_worth",
|
|
39
|
+
"capital_stock",
|
|
40
|
+
"capital_surplus",
|
|
41
|
+
"retained_earnings",
|
|
42
|
+
"profit"
|
|
43
|
+
];
|
|
44
|
+
const AllRevenueFields = [
|
|
45
|
+
"revenue",
|
|
46
|
+
"sponsor",
|
|
47
|
+
"ticket",
|
|
48
|
+
"broadcast",
|
|
49
|
+
"academy_rev",
|
|
50
|
+
"women_rev",
|
|
51
|
+
"goods_rev",
|
|
52
|
+
"transfer_rev",
|
|
53
|
+
"transfer_int_rev",
|
|
54
|
+
"transfer_dom_rev",
|
|
55
|
+
"other_revs",
|
|
56
|
+
"related_revenue"
|
|
57
|
+
];
|
|
58
|
+
const AllExpenseFields = [
|
|
59
|
+
"expense",
|
|
60
|
+
"salary",
|
|
61
|
+
"transfer_exp",
|
|
62
|
+
"transfer_int_exp",
|
|
63
|
+
"transfer_dom_exp",
|
|
64
|
+
"manage_exp",
|
|
65
|
+
"general_exp",
|
|
66
|
+
"game_exp",
|
|
67
|
+
"team_exp",
|
|
68
|
+
"academy_exp",
|
|
69
|
+
"women_exp",
|
|
70
|
+
"goods_exp",
|
|
71
|
+
"other_cost",
|
|
72
|
+
"manage_exp",
|
|
73
|
+
"sga"
|
|
74
|
+
];
|
|
75
|
+
const AllAttdFields = [
|
|
76
|
+
"ticket",
|
|
77
|
+
"all_attd",
|
|
78
|
+
"all_games",
|
|
79
|
+
"average_attd",
|
|
80
|
+
"unit_price",
|
|
81
|
+
"league_attd",
|
|
82
|
+
"league_games",
|
|
83
|
+
"leaguecup_attd",
|
|
84
|
+
"leaguecup_games",
|
|
85
|
+
"po_attd",
|
|
86
|
+
"po_games",
|
|
87
|
+
"acl_attd",
|
|
88
|
+
"acl_games",
|
|
89
|
+
"second_attd",
|
|
90
|
+
"second_games"
|
|
91
|
+
];
|
|
92
|
+
const AllFields = [
|
|
93
|
+
...AllGeneralFields,
|
|
94
|
+
...AllSeasonResultFields,
|
|
95
|
+
...AllPLFields,
|
|
96
|
+
...AllBSFields,
|
|
97
|
+
...AllRevenueFields,
|
|
98
|
+
...AllExpenseFields,
|
|
99
|
+
...AllAttdFields
|
|
100
|
+
];
|
|
101
|
+
|
|
102
|
+
//#endregion
|
|
103
|
+
export { AllGeneralFields as a, AllSeasonResultFields as c, AllFields as i, AllBSFields as n, AllPLFields as o, AllExpenseFields as r, AllRevenueFields as s, AllAttdFields as t };
|
|
104
|
+
//# sourceMappingURL=data-PJ-fpqmg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-PJ-fpqmg.mjs","names":[],"sources":["../src/types/data.ts"],"sourcesContent":["export const AllGeneralFields = [\n \"id\",\n \"name\",\n \"slug\",\n \"fullname\",\n \"year\",\n \"category\",\n \"license\",\n] as const;\nexport type GeneralFields = (typeof AllGeneralFields)[number];\nexport type General = {\n id: string;\n name: string;\n slug: string;\n fullname: string;\n year: number;\n category: string;\n license?: string | null;\n};\n\nexport const AllSeasonResultFields = [\n \"rank\",\n \"points\",\n \"ppg\",\n \"elevation\",\n] as const;\nexport type SeasonResultFields = (typeof AllSeasonResultFields)[number];\nexport type SeasonResult = {\n rank: number;\n points: number;\n ppg: number;\n elevation?: \"昇格\" | \"降格\" | null;\n};\n\nexport const AllPLFields = [\n \"revenue\",\n \"expense\",\n \"op_profit\",\n \"no_rev\",\n \"no_exp\",\n \"ordinary_profit\",\n \"sp_rev\",\n \"sp_exp\",\n \"profit_before_tax\",\n \"tax\",\n \"profit\",\n \"related_revenue\",\n] as const;\nexport type PLFields = (typeof AllPLFields)[number];\nexport type PL = {\n /** 営業収入 */\n revenue: number;\n /** 営業費用 */\n expense: number;\n /** 営業利益 */\n op_profit: number;\n /** 営業外収入 */\n no_rev?: number | null;\n /** 営業外費用 */\n no_exp?: number | null;\n /** 経常利益 */\n ordinary_profit: number;\n /** 特別利益 */\n sp_rev?: number | null;\n /** 特別損失 */\n sp_exp?: number | null;\n /** 税引前当期利益 */\n profit_before_tax?: number | null;\n /** 法人税および住民税等 */\n tax?: number | null;\n /** 当期純利益 */\n profit: number;\n /** 関連する法人の営業収入 */\n related_revenue?: number | null;\n};\n\nexport const AllBSFields = [\n \"assets\",\n \"curr_assets\",\n \"fixed_assets\",\n \"liabilities\",\n \"curr_liabilities\",\n \"fixed_liabilities\",\n \"net_worth\",\n \"capital_stock\",\n \"capital_surplus\",\n \"retained_earnings\",\n \"profit\",\n] as const;\nexport type BSFields = (typeof AllBSFields)[number];\nexport type BS = {\n /** 流動資産 */\n curr_assets?: number | null;\n /** 固定資産等 */\n fixed_assets?: number | null;\n /** 総資産 */\n assets?: number | null;\n /** 流動負債 */\n curr_liabilities?: number | null;\n /** 固定負債 */\n fixed_liabilities?: number | null;\n /** 総負債 */\n liabilities?: number | null;\n /** 純資産 */\n net_worth?: number | null;\n /** 資本金 */\n capital_stock?: number | null;\n /** 資本剰余金 */\n capital_surplus?: number | null;\n /** 利益剰余金 */\n retained_earnings?: number | null;\n /** 当期純利益 */\n profit: number;\n};\n\nexport const AllRevenueFields = [\n \"revenue\",\n \"sponsor\",\n \"ticket\",\n \"broadcast\",\n \"academy_rev\",\n \"women_rev\",\n \"goods_rev\",\n \"transfer_rev\",\n \"transfer_int_rev\",\n \"transfer_dom_rev\",\n \"other_revs\",\n \"related_revenue\",\n] as const;\nexport type RevenueFields = (typeof AllRevenueFields)[number];\nexport type Revenue = {\n /** 営業収入 */\n revenue: number;\n /** 広告料収入 */\n sponsor?: number | null;\n /** 入場料収入 */\n ticket?: number | null;\n /** Jリーグ配分金 */\n broadcast?: number | null;\n /** アカデミー関連収入 */\n academy_rev?: number | null;\n /** 女子チーム関連収入 */\n women_rev?: number | null;\n /** 物販収入 */\n goods_rev?: number | null;\n /** 移籍補償金等収入 */\n transfer_rev?: number | null;\n /** 国外クラブからの収入 */\n transfer_int_rev?: number | null;\n /** 国内クラブからの収入 */\n transfer_dom_rev?: number | null;\n /** その他収入 */\n other_revs?: number | null;\n /** 関連する法人の営業収入 */\n related_revenue?: number | null;\n};\n\nexport const AllExpenseFields = [\n \"expense\",\n \"salary\",\n \"transfer_exp\",\n \"transfer_int_exp\",\n \"transfer_dom_exp\",\n \"manage_exp\",\n \"general_exp\",\n \"game_exp\",\n \"team_exp\",\n \"academy_exp\",\n \"women_exp\",\n \"goods_exp\",\n \"other_cost\",\n \"manage_exp\",\n \"sga\",\n] as const;\nexport type ExpenseFields = (typeof AllExpenseFields)[number];\nexport type Expense = {\n /** 営業費用 */\n expense: number;\n /** チーム人件費 */\n salary?: number | null;\n /** 移籍関連費用 */\n transfer_exp?: number | null;\n /** 国外クラブからの移籍に関する費用 */\n transfer_int_exp?: number | null;\n /** 国内クラブからの移籍に関する費用 */\n transfer_dom_exp?: number | null;\n /** 事業費 */\n manage_exp?: number | null;\n /** 総事業費 */\n general_exp?: number | null;\n /** 試合関連経費 */\n game_exp?: number | null;\n /** トップチーム運営経費 */\n team_exp?: number | null;\n /** アカデミー関連経費 */\n academy_exp?: number | null;\n /** 女子チーム運営経費 */\n women_exp?: number | null;\n /** 物販関連費 */\n goods_exp?: number | null;\n /** その他売上原価 */\n other_cost?: number | null;\n /** 販売費および一般管理費 */\n sga?: number | null;\n};\n\nexport const AllAttdFields = [\n \"ticket\",\n \"all_attd\",\n \"all_games\",\n \"average_attd\",\n \"unit_price\",\n \"league_attd\",\n \"league_games\",\n \"leaguecup_attd\",\n \"leaguecup_games\",\n \"po_attd\",\n \"po_games\",\n \"acl_attd\",\n \"acl_games\",\n \"second_attd\",\n \"second_games\",\n] as const;\nexport type AttdFields = (typeof AllAttdFields)[number];\nexport type Attd = {\n /** 入場料収入 */\n ticket: number | null;\n /** リーグ戦入場者数 */\n league_attd: number;\n /** リーグ戦ホーム試合数 */\n league_games: number;\n /** リーグカップ入場者数 */\n leaguecup_attd?: number | null;\n /** リーグカップホーム試合数 */\n leaguecup_games?: number | null;\n /** PO入場者数 */\n po_attd?: number | null;\n /** POホーム試合数 */\n po_games?: number | null;\n /** ACL入場者数 */\n acl_attd?: number | null;\n /** ACLホーム試合数 */\n acl_games?: number | null;\n /** セカンドチーム入場者数 */\n second_attd?: number | null;\n /** セカンドチームホーム試合数 */\n second_games?: number | null;\n /** 総入場者数 */\n all_attd: number;\n /** ホーム総試合数 */\n all_games: number;\n /** リーグ戦平均入場者数 */\n average_attd: number;\n /** 客単価 */\n unit_price?: number | null;\n};\n\nexport const AllFields = [\n ...AllGeneralFields,\n ...AllSeasonResultFields,\n ...AllPLFields,\n ...AllBSFields,\n ...AllRevenueFields,\n ...AllExpenseFields,\n ...AllAttdFields,\n];\n\nexport type FinancialDatum = General &\n SeasonResult &\n PL &\n BS &\n Revenue &\n Expense &\n Attd;\n\nexport type SortableKeys =\n | \"rank\"\n | PLFields\n | BSFields\n | RevenueFields\n | ExpenseFields\n | AttdFields;\n\nexport type ExtendedDataLike<T = number | string | undefined | null> =\n T extends undefined\n ? undefined\n : {\n value: T;\n delta?: number | null;\n };\n\nexport type Extended<T extends Partial<FinancialDatum>> = {\n [key in keyof T]: ExtendedDataLike<T[key]>;\n};\n\nexport type ExtendedFinancialDatum = Extended<FinancialDatum>;\n"],"mappings":";AAAA,MAAa,mBAAmB;CAC9B;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAYD,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACD;AASD,MAAa,cAAc;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AA6BD,MAAa,cAAc;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AA2BD,MAAa,mBAAmB;CAC9B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AA6BD,MAAa,mBAAmB;CAC9B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAiCD,MAAa,gBAAgB;CAC3B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAmCD,MAAa,YAAY;CACvB,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACJ"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
//#region src/types/data.d.ts
|
|
2
|
+
declare const AllGeneralFields: readonly ["id", "name", "slug", "fullname", "year", "category", "license"];
|
|
3
|
+
type GeneralFields = (typeof AllGeneralFields)[number];
|
|
4
|
+
type General = {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
slug: string;
|
|
8
|
+
fullname: string;
|
|
9
|
+
year: number;
|
|
10
|
+
category: string;
|
|
11
|
+
license?: string | null;
|
|
12
|
+
};
|
|
13
|
+
declare const AllSeasonResultFields: readonly ["rank", "points", "ppg", "elevation"];
|
|
14
|
+
type SeasonResultFields = (typeof AllSeasonResultFields)[number];
|
|
15
|
+
type SeasonResult = {
|
|
16
|
+
rank: number;
|
|
17
|
+
points: number;
|
|
18
|
+
ppg: number;
|
|
19
|
+
elevation?: "昇格" | "降格" | null;
|
|
20
|
+
};
|
|
21
|
+
declare const AllPLFields: readonly ["revenue", "expense", "op_profit", "no_rev", "no_exp", "ordinary_profit", "sp_rev", "sp_exp", "profit_before_tax", "tax", "profit", "related_revenue"];
|
|
22
|
+
type PLFields = (typeof AllPLFields)[number];
|
|
23
|
+
type PL = {
|
|
24
|
+
/** 営業収入 */
|
|
25
|
+
revenue: number;
|
|
26
|
+
/** 営業費用 */
|
|
27
|
+
expense: number;
|
|
28
|
+
/** 営業利益 */
|
|
29
|
+
op_profit: number;
|
|
30
|
+
/** 営業外収入 */
|
|
31
|
+
no_rev?: number | null;
|
|
32
|
+
/** 営業外費用 */
|
|
33
|
+
no_exp?: number | null;
|
|
34
|
+
/** 経常利益 */
|
|
35
|
+
ordinary_profit: number;
|
|
36
|
+
/** 特別利益 */
|
|
37
|
+
sp_rev?: number | null;
|
|
38
|
+
/** 特別損失 */
|
|
39
|
+
sp_exp?: number | null;
|
|
40
|
+
/** 税引前当期利益 */
|
|
41
|
+
profit_before_tax?: number | null;
|
|
42
|
+
/** 法人税および住民税等 */
|
|
43
|
+
tax?: number | null;
|
|
44
|
+
/** 当期純利益 */
|
|
45
|
+
profit: number;
|
|
46
|
+
/** 関連する法人の営業収入 */
|
|
47
|
+
related_revenue?: number | null;
|
|
48
|
+
};
|
|
49
|
+
declare const AllBSFields: readonly ["assets", "curr_assets", "fixed_assets", "liabilities", "curr_liabilities", "fixed_liabilities", "net_worth", "capital_stock", "capital_surplus", "retained_earnings", "profit"];
|
|
50
|
+
type BSFields = (typeof AllBSFields)[number];
|
|
51
|
+
type BS = {
|
|
52
|
+
/** 流動資産 */
|
|
53
|
+
curr_assets?: number | null;
|
|
54
|
+
/** 固定資産等 */
|
|
55
|
+
fixed_assets?: number | null;
|
|
56
|
+
/** 総資産 */
|
|
57
|
+
assets?: number | null;
|
|
58
|
+
/** 流動負債 */
|
|
59
|
+
curr_liabilities?: number | null;
|
|
60
|
+
/** 固定負債 */
|
|
61
|
+
fixed_liabilities?: number | null;
|
|
62
|
+
/** 総負債 */
|
|
63
|
+
liabilities?: number | null;
|
|
64
|
+
/** 純資産 */
|
|
65
|
+
net_worth?: number | null;
|
|
66
|
+
/** 資本金 */
|
|
67
|
+
capital_stock?: number | null;
|
|
68
|
+
/** 資本剰余金 */
|
|
69
|
+
capital_surplus?: number | null;
|
|
70
|
+
/** 利益剰余金 */
|
|
71
|
+
retained_earnings?: number | null;
|
|
72
|
+
/** 当期純利益 */
|
|
73
|
+
profit: number;
|
|
74
|
+
};
|
|
75
|
+
declare const AllRevenueFields: readonly ["revenue", "sponsor", "ticket", "broadcast", "academy_rev", "women_rev", "goods_rev", "transfer_rev", "transfer_int_rev", "transfer_dom_rev", "other_revs", "related_revenue"];
|
|
76
|
+
type RevenueFields = (typeof AllRevenueFields)[number];
|
|
77
|
+
type Revenue = {
|
|
78
|
+
/** 営業収入 */
|
|
79
|
+
revenue: number;
|
|
80
|
+
/** 広告料収入 */
|
|
81
|
+
sponsor?: number | null;
|
|
82
|
+
/** 入場料収入 */
|
|
83
|
+
ticket?: number | null;
|
|
84
|
+
/** Jリーグ配分金 */
|
|
85
|
+
broadcast?: number | null;
|
|
86
|
+
/** アカデミー関連収入 */
|
|
87
|
+
academy_rev?: number | null;
|
|
88
|
+
/** 女子チーム関連収入 */
|
|
89
|
+
women_rev?: number | null;
|
|
90
|
+
/** 物販収入 */
|
|
91
|
+
goods_rev?: number | null;
|
|
92
|
+
/** 移籍補償金等収入 */
|
|
93
|
+
transfer_rev?: number | null;
|
|
94
|
+
/** 国外クラブからの収入 */
|
|
95
|
+
transfer_int_rev?: number | null;
|
|
96
|
+
/** 国内クラブからの収入 */
|
|
97
|
+
transfer_dom_rev?: number | null;
|
|
98
|
+
/** その他収入 */
|
|
99
|
+
other_revs?: number | null;
|
|
100
|
+
/** 関連する法人の営業収入 */
|
|
101
|
+
related_revenue?: number | null;
|
|
102
|
+
};
|
|
103
|
+
declare const AllExpenseFields: readonly ["expense", "salary", "transfer_exp", "transfer_int_exp", "transfer_dom_exp", "manage_exp", "general_exp", "game_exp", "team_exp", "academy_exp", "women_exp", "goods_exp", "other_cost", "manage_exp", "sga"];
|
|
104
|
+
type ExpenseFields = (typeof AllExpenseFields)[number];
|
|
105
|
+
type Expense = {
|
|
106
|
+
/** 営業費用 */
|
|
107
|
+
expense: number;
|
|
108
|
+
/** チーム人件費 */
|
|
109
|
+
salary?: number | null;
|
|
110
|
+
/** 移籍関連費用 */
|
|
111
|
+
transfer_exp?: number | null;
|
|
112
|
+
/** 国外クラブからの移籍に関する費用 */
|
|
113
|
+
transfer_int_exp?: number | null;
|
|
114
|
+
/** 国内クラブからの移籍に関する費用 */
|
|
115
|
+
transfer_dom_exp?: number | null;
|
|
116
|
+
/** 事業費 */
|
|
117
|
+
manage_exp?: number | null;
|
|
118
|
+
/** 総事業費 */
|
|
119
|
+
general_exp?: number | null;
|
|
120
|
+
/** 試合関連経費 */
|
|
121
|
+
game_exp?: number | null;
|
|
122
|
+
/** トップチーム運営経費 */
|
|
123
|
+
team_exp?: number | null;
|
|
124
|
+
/** アカデミー関連経費 */
|
|
125
|
+
academy_exp?: number | null;
|
|
126
|
+
/** 女子チーム運営経費 */
|
|
127
|
+
women_exp?: number | null;
|
|
128
|
+
/** 物販関連費 */
|
|
129
|
+
goods_exp?: number | null;
|
|
130
|
+
/** その他売上原価 */
|
|
131
|
+
other_cost?: number | null;
|
|
132
|
+
/** 販売費および一般管理費 */
|
|
133
|
+
sga?: number | null;
|
|
134
|
+
};
|
|
135
|
+
declare const AllAttdFields: readonly ["ticket", "all_attd", "all_games", "average_attd", "unit_price", "league_attd", "league_games", "leaguecup_attd", "leaguecup_games", "po_attd", "po_games", "acl_attd", "acl_games", "second_attd", "second_games"];
|
|
136
|
+
type AttdFields = (typeof AllAttdFields)[number];
|
|
137
|
+
type Attd = {
|
|
138
|
+
/** 入場料収入 */
|
|
139
|
+
ticket: number | null;
|
|
140
|
+
/** リーグ戦入場者数 */
|
|
141
|
+
league_attd: number;
|
|
142
|
+
/** リーグ戦ホーム試合数 */
|
|
143
|
+
league_games: number;
|
|
144
|
+
/** リーグカップ入場者数 */
|
|
145
|
+
leaguecup_attd?: number | null;
|
|
146
|
+
/** リーグカップホーム試合数 */
|
|
147
|
+
leaguecup_games?: number | null;
|
|
148
|
+
/** PO入場者数 */
|
|
149
|
+
po_attd?: number | null;
|
|
150
|
+
/** POホーム試合数 */
|
|
151
|
+
po_games?: number | null;
|
|
152
|
+
/** ACL入場者数 */
|
|
153
|
+
acl_attd?: number | null;
|
|
154
|
+
/** ACLホーム試合数 */
|
|
155
|
+
acl_games?: number | null;
|
|
156
|
+
/** セカンドチーム入場者数 */
|
|
157
|
+
second_attd?: number | null;
|
|
158
|
+
/** セカンドチームホーム試合数 */
|
|
159
|
+
second_games?: number | null;
|
|
160
|
+
/** 総入場者数 */
|
|
161
|
+
all_attd: number;
|
|
162
|
+
/** ホーム総試合数 */
|
|
163
|
+
all_games: number;
|
|
164
|
+
/** リーグ戦平均入場者数 */
|
|
165
|
+
average_attd: number;
|
|
166
|
+
/** 客単価 */
|
|
167
|
+
unit_price?: number | null;
|
|
168
|
+
};
|
|
169
|
+
declare const AllFields: ("id" | "name" | "slug" | "fullname" | "year" | "category" | "license" | "rank" | "points" | "ppg" | "elevation" | "revenue" | "expense" | "op_profit" | "no_rev" | "no_exp" | "ordinary_profit" | "sp_rev" | "sp_exp" | "profit_before_tax" | "tax" | "profit" | "related_revenue" | "assets" | "curr_assets" | "fixed_assets" | "liabilities" | "curr_liabilities" | "fixed_liabilities" | "net_worth" | "capital_stock" | "capital_surplus" | "retained_earnings" | "sponsor" | "ticket" | "broadcast" | "academy_rev" | "women_rev" | "goods_rev" | "transfer_rev" | "transfer_int_rev" | "transfer_dom_rev" | "other_revs" | "salary" | "transfer_exp" | "transfer_int_exp" | "transfer_dom_exp" | "manage_exp" | "general_exp" | "game_exp" | "team_exp" | "academy_exp" | "women_exp" | "goods_exp" | "other_cost" | "sga" | "all_attd" | "all_games" | "average_attd" | "unit_price" | "league_attd" | "league_games" | "leaguecup_attd" | "leaguecup_games" | "po_attd" | "po_games" | "acl_attd" | "acl_games" | "second_attd" | "second_games")[];
|
|
170
|
+
type FinancialDatum = General & SeasonResult & PL & BS & Revenue & Expense & Attd;
|
|
171
|
+
type SortableKeys = "rank" | PLFields | BSFields | RevenueFields | ExpenseFields | AttdFields;
|
|
172
|
+
type ExtendedDataLike<T = number | string | undefined | null> = T extends undefined ? undefined : {
|
|
173
|
+
value: T;
|
|
174
|
+
delta?: number | null;
|
|
175
|
+
};
|
|
176
|
+
type Extended<T extends Partial<FinancialDatum>> = { [key in keyof T]: ExtendedDataLike<T[key]> };
|
|
177
|
+
type ExtendedFinancialDatum = Extended<FinancialDatum>;
|
|
178
|
+
//#endregion
|
|
179
|
+
export { Revenue as C, SortableKeys as D, SeasonResultFields as E, PLFields as S, SeasonResult as T, ExtendedFinancialDatum as _, AllGeneralFields as a, GeneralFields as b, AllSeasonResultFields as c, BS as d, BSFields as f, ExtendedDataLike as g, Extended as h, AllFields as i, Attd as l, ExpenseFields as m, AllBSFields as n, AllPLFields as o, Expense as p, AllExpenseFields as r, AllRevenueFields as s, AllAttdFields as t, AttdFields as u, FinancialDatum as v, RevenueFields as w, PL as x, General as y };
|
|
180
|
+
//# sourceMappingURL=data-rDHl-GBR.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-rDHl-GBR.d.mts","names":[],"sources":["../src/types/data.ts"],"sourcesContent":[],"mappings":";cAAa;AAAA,KASD,aAAA,GADF,CAAA,OAC0B,gBAD1B,CAAA,CAAA,MAAA,CAAA;AACE,KACA,OAAA,GADa;EACb,EAAA,EAAA,MAAO;EAUN,IAAA,EAAA,MAAA;EAMD,IAAA,EAAA,MAAA;EACA,QAAA,EAAA,MAAY;EAOX,IAAA,EAAA,MAAA;EAcD,QAAA,EAAA,MAAQ;EACR,OAAE,CAAA,EAAA,MAAA,GAAA,IAAA;AA2Bd,CAAA;AAaY,cArEC,qBAqE6B,EAAA,SAAA,CAAA,MAAA,EAAA,QAAA,EAAA,KAAA,EAAA,WAAA,CAAA;AAC9B,KAhEA,kBAAA,GAgEE,CAAA,OAhE2B,qBAgE3B,CAAA,CAAA,MAAA,CAAA;AAyBD,KAxFD,YAAA,GAqGF;EACE,IAAA,EAAA,MAAA;EACA,MAAA,EAAA,MAAO;EA2BN,GAAA,EAAA,MAAA;EAiBD,SAAA,CAAA,EAAA,IAAa,GAAA,IAAA,GAAA,IAAW;AACpC,CAAA;AA+Ba,cA5KA,WA4LH,EAAA,SAAA,CAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,KAAA,EAAA,QAAA,EAAA,iBAAA,CAAA;AACE,KA/KA,QAAA,GA+KU,CAAA,OA/KS,WA+KE,CAAa,CAAA,MAAA,CAAA;AAClC,KA/KA,EAAA,GA+KI;EAiCH;EAUD,OAAA,EAAA,MAAA;EAAiB;EAC3B,OAAA,EAAA,MAAA;EACA;EACA,SAAA,EAAA,MAAA;EACA;EACA,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EACA;EAAI,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAEM;EAER,eAAA,EAAA,MAAA;EACA;EACA,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EACA;EACA,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAAU;EAEF,iBAAA,CAAA,EAAgB,MAAA,GAAA,IAC1B;EAOU;EAA2B,GAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAAR;EACf,MAAA,EAAA,MAAA;EAAqB;EAAE,eAAA,CAAA,EAAA,MAAA,GAAA,IAAA;CAAnB;AAAgB,cAxNvB,WAwNuB,EAAA,SAAA,CAAA,QAAA,EAAA,aAAA,EAAA,cAAA,EAAA,aAAA,EAAA,kBAAA,EAAA,mBAAA,EAAA,WAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,QAAA,CAAA;AAGxB,KA9MA,QAAA,GA8MA,CAAA,OA9MmB,WA8Me,CAAA,CAAA,MAAA,CAAA;KA7MlC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyBC;KAcD,aAAA,WAAwB;KACxB,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BC;KAiBD,aAAA,WAAwB;KACxB,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BC;KAiBD,UAAA,WAAqB;KACrB,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiCC;KAUD,cAAA,GAAiB,UAC3B,eACA,KACA,KACA,UACA,UACA;KAEU,YAAA,YAER,WACA,WACA,gBACA,gBACA;KAEQ,2DACV;SAGa;;;KAIH,mBAAmB,QAAQ,mCACvB,IAAI,iBAAiB,EAAE;KAG3B,sBAAA,GAAyB,SAAS"}
|
package/dist/data.cjs
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_data = require('./data-CGTGYuvt.cjs');
|
|
2
|
+
require('./types/index.cjs');
|
|
2
3
|
|
|
3
4
|
//#region src/data.ts
|
|
5
|
+
function isGeneralFields(key) {
|
|
6
|
+
return require_data.AllGeneralFields.some((str) => str === key);
|
|
7
|
+
}
|
|
8
|
+
function isSeasonResultFields(key) {
|
|
9
|
+
return require_data.AllSeasonResultFields.some((str) => str === key);
|
|
10
|
+
}
|
|
4
11
|
function processDatum(datum, prev) {
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const obj = {
|
|
8
|
-
...general,
|
|
9
|
-
...seasonResult
|
|
10
|
-
};
|
|
11
|
-
for (const key of require_all_fields.allSortableFields) {
|
|
12
|
+
const obj = {};
|
|
13
|
+
for (const key of require_data.AllFields) {
|
|
12
14
|
const value = datum[key];
|
|
13
|
-
|
|
14
|
-
value
|
|
15
|
-
|
|
16
|
-
}
|
|
15
|
+
if (isGeneralFields(key) || isSeasonResultFields(key)) {
|
|
16
|
+
if (value) obj[key] = { value };
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
if (typeof value === "number") {
|
|
20
|
+
obj[key] = {
|
|
21
|
+
value,
|
|
22
|
+
delta: typeof prev?.[key] === "number" ? value - prev[key] : null
|
|
23
|
+
};
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
17
26
|
}
|
|
18
27
|
return obj;
|
|
19
28
|
}
|
package/dist/data.d.cts
CHANGED
package/dist/data.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.cts","names":[],"sources":["../src/data.ts"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"data.d.cts","names":[],"sources":["../src/data.ts"],"sourcesContent":[],"mappings":";;;;iBAuCgB,cAAA,OACR,mBACL;iBASa,cAAA,OACR,4BACI,0BACT"}
|
package/dist/data.d.mts
CHANGED
package/dist/data.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.mts","names":[],"sources":["../src/data.ts"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"data.d.mts","names":[],"sources":["../src/data.ts"],"sourcesContent":[],"mappings":";;;;iBAuCgB,cAAA,OACR,mBACL;iBASa,cAAA,OACR,4BACI,0BACT"}
|
package/dist/data.mjs
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as AllGeneralFields, c as AllSeasonResultFields, i as AllFields } from "./data-PJ-fpqmg.mjs";
|
|
2
|
+
import "./types/index.mjs";
|
|
2
3
|
|
|
3
4
|
//#region src/data.ts
|
|
5
|
+
function isGeneralFields(key) {
|
|
6
|
+
return AllGeneralFields.some((str) => str === key);
|
|
7
|
+
}
|
|
8
|
+
function isSeasonResultFields(key) {
|
|
9
|
+
return AllSeasonResultFields.some((str) => str === key);
|
|
10
|
+
}
|
|
4
11
|
function processDatum(datum, prev) {
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const obj = {
|
|
8
|
-
...general,
|
|
9
|
-
...seasonResult
|
|
10
|
-
};
|
|
11
|
-
for (const key of allSortableFields) {
|
|
12
|
+
const obj = {};
|
|
13
|
+
for (const key of AllFields) {
|
|
12
14
|
const value = datum[key];
|
|
13
|
-
|
|
14
|
-
value
|
|
15
|
-
|
|
16
|
-
}
|
|
15
|
+
if (isGeneralFields(key) || isSeasonResultFields(key)) {
|
|
16
|
+
if (value) obj[key] = { value };
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
if (typeof value === "number") {
|
|
20
|
+
obj[key] = {
|
|
21
|
+
value,
|
|
22
|
+
delta: typeof prev?.[key] === "number" ? value - prev[key] : null
|
|
23
|
+
};
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
17
26
|
}
|
|
18
27
|
return obj;
|
|
19
28
|
}
|
package/dist/data.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.mjs","names":[
|
|
1
|
+
{"version":3,"file":"data.mjs","names":[],"sources":["../src/data.ts"],"sourcesContent":["import {\n AllFields,\n AllGeneralFields,\n AllSeasonResultFields,\n type GeneralFields,\n type FinancialDatum,\n type ExtendedFinancialDatum,\n type SeasonResultFields,\n} from \"./types\";\n\nfunction isGeneralFields(key: string): key is GeneralFields {\n return AllGeneralFields.some((str) => str === key);\n}\nfunction isSeasonResultFields(key: string): key is SeasonResultFields {\n return AllSeasonResultFields.some((str) => str === key);\n}\n\nfunction processDatum(datum: FinancialDatum, prev?: FinancialDatum | null) {\n const obj = {} as any;\n\n for (const key of AllFields) {\n const value = datum[key];\n if (isGeneralFields(key) || isSeasonResultFields(key)) {\n if (value) {\n obj[key] = { value };\n }\n continue;\n }\n if (typeof value === \"number\") {\n obj[key] = {\n value,\n delta: typeof prev?.[key] === \"number\" ? value - prev[key] : null,\n };\n continue;\n }\n }\n return obj;\n}\n\nexport function extendClubData(\n data: FinancialDatum[],\n): ExtendedFinancialDatum[] {\n const sorted = [...data].sort((a, b) => a.year - b.year);\n return sorted.map((d, index, arr) => {\n const prev = index === 0 ? null : arr[index - 1];\n\n return processDatum(d, prev);\n });\n}\n\nexport function extendYearData(\n data: FinancialDatum[],\n prevData: FinancialDatum[] | null,\n): ExtendedFinancialDatum[] {\n return data.map((datum) => {\n const prev = prevData?.find(({ slug }) => slug === datum.slug);\n\n return processDatum(datum, prev);\n });\n}\n"],"mappings":";;;;AAUA,SAAS,gBAAgB,KAAmC;AAC1D,QAAO,iBAAiB,MAAM,QAAQ,QAAQ,IAAI;;AAEpD,SAAS,qBAAqB,KAAwC;AACpE,QAAO,sBAAsB,MAAM,QAAQ,QAAQ,IAAI;;AAGzD,SAAS,aAAa,OAAuB,MAA8B;CACzE,MAAM,MAAM,EAAE;AAEd,MAAK,MAAM,OAAO,WAAW;EAC3B,MAAM,QAAQ,MAAM;AACpB,MAAI,gBAAgB,IAAI,IAAI,qBAAqB,IAAI,EAAE;AACrD,OAAI,MACF,KAAI,OAAO,EAAE,OAAO;AAEtB;;AAEF,MAAI,OAAO,UAAU,UAAU;AAC7B,OAAI,OAAO;IACT;IACA,OAAO,OAAO,OAAO,SAAS,WAAW,QAAQ,KAAK,OAAO;IAC9D;AACD;;;AAGJ,QAAO;;AAGT,SAAgB,eACd,MAC0B;AAE1B,QADe,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,KAAK,CAC1C,KAAK,GAAG,OAAO,QAAQ;AAGnC,SAAO,aAAa,GAFP,UAAU,IAAI,OAAO,IAAI,QAAQ,GAElB;GAC5B;;AAGJ,SAAgB,eACd,MACA,UAC0B;AAC1B,QAAO,KAAK,KAAK,UAAU;EACzB,MAAM,OAAO,UAAU,MAAM,EAAE,WAAW,SAAS,MAAM,KAAK;AAE9D,SAAO,aAAa,OAAO,KAAK;GAChC"}
|
|
@@ -23,7 +23,7 @@ var dictionary_default = {
|
|
|
23
23
|
transfer_exp: "移籍関連費用",
|
|
24
24
|
transfer_int_exp: "国外クラブからの移籍に関する費用",
|
|
25
25
|
transfer_dom_exp: "国内クラブからの移籍に関する費用",
|
|
26
|
-
manage_exp: "事業費",
|
|
26
|
+
manage_exp: "事業費(チーム人件費を除く)",
|
|
27
27
|
general_exp: "総事業費",
|
|
28
28
|
game_exp: "試合関連経費",
|
|
29
29
|
team_exp: "トップチーム運営経費",
|
|
@@ -22,7 +22,7 @@ var dictionary_default = {
|
|
|
22
22
|
transfer_exp: "移籍関連費用",
|
|
23
23
|
transfer_int_exp: "国外クラブからの移籍に関する費用",
|
|
24
24
|
transfer_dom_exp: "国内クラブからの移籍に関する費用",
|
|
25
|
-
manage_exp: "事業費",
|
|
25
|
+
manage_exp: "事業費(チーム人件費を除く)",
|
|
26
26
|
general_exp: "総事業費",
|
|
27
27
|
game_exp: "試合関連経費",
|
|
28
28
|
team_exp: "トップチーム運営経費",
|
|
@@ -99,4 +99,4 @@ function getLabelWithOptions(key, options) {
|
|
|
99
99
|
|
|
100
100
|
//#endregion
|
|
101
101
|
export { getLabelWithOptions as n, getLabel as t };
|
|
102
|
-
//# sourceMappingURL=dictionary-
|
|
102
|
+
//# sourceMappingURL=dictionary-D9CmvgCW.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary-
|
|
1
|
+
{"version":3,"file":"dictionary-D9CmvgCW.mjs","names":["dictionary"],"sources":["../src/data/dictionary.json","../src/dictionary.ts"],"sourcesContent":["","import type { FinancialDatum } from \"./types\";\nimport dictionary from \"./data/dictionary.json\";\n\nconst has = Object.prototype.hasOwnProperty;\n\nfunction isDirectoryKey(\n key: string,\n): key is keyof Omit<FinancialDatum, \"slug\"> {\n return has.call(dictionary, key);\n}\n\n/**\n * プロパティ名から日本語ラベルを取得する\n * @param key FinancialDatum のプロパティ名\n * @returns 日本語ラベル。未定義のキーの場合はキー名をそのまま返す\n */\nexport function getLabel(key: string): string {\n if (isDirectoryKey(key)) return dictionary[key];\n return key;\n}\n\n/**\n * プロパティ名から日本語ラベルを取得する(オプションつき)\n * @param key FinancialDatum のプロパティ名\n * @param options fallback や後処理のオプション\n * @returns 日本語ラベル\n */\nexport function getLabelWithOptions(\n key: keyof Omit<FinancialDatum, \"slug\">,\n options?: {\n /** キーが未定義の場合のフォールバック。省略時はキー名を返す */\n fallback?: string;\n /** ラベルに対する後処理 */\n transform?: (label: string) => string;\n },\n): string {\n const label = dictionary[key] ?? options?.fallback ?? key;\n return options?.transform ? options.transform(label) : label;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGA,MAAM,MAAM,OAAO,UAAU;AAE7B,SAAS,eACP,KAC2C;AAC3C,QAAO,IAAI,KAAKA,oBAAY,IAAI;;;;;;;AAQlC,SAAgB,SAAS,KAAqB;AAC5C,KAAI,eAAe,IAAI,CAAE,QAAOA,mBAAW;AAC3C,QAAO;;;;;;;;AAST,SAAgB,oBACd,KACA,SAMQ;CACR,MAAM,QAAQA,mBAAW,QAAQ,SAAS,YAAY;AACtD,QAAO,SAAS,YAAY,QAAQ,UAAU,MAAM,GAAG"}
|
package/dist/dictionary.cjs
CHANGED
package/dist/dictionary.d.cts
CHANGED
package/dist/dictionary.d.mts
CHANGED
package/dist/dictionary.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
const require_all_fields = require('./all-fields.cjs');
|
|
2
2
|
const require_clubs = require('./clubs-B6WFNimH.cjs');
|
|
3
|
-
const require_data = require('./data.cjs');
|
|
4
|
-
const require_dictionary = require('./dictionary-BzN32kPK.cjs');
|
|
5
|
-
const require_years = require('./years-DRN0nquf.cjs');
|
|
3
|
+
const require_data = require('./data-CGTGYuvt.cjs');
|
|
6
4
|
require('./types/index.cjs');
|
|
5
|
+
const require_data$1 = require('./data.cjs');
|
|
6
|
+
const require_dictionary = require('./dictionary-BZ_zUPSy.cjs');
|
|
7
|
+
const require_years = require('./years-BtLTGqsM.cjs');
|
|
7
8
|
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
9
|
+
exports.AllAttdFields = require_data.AllAttdFields;
|
|
10
|
+
exports.AllBSFields = require_data.AllBSFields;
|
|
11
|
+
exports.AllExpenseFields = require_data.AllExpenseFields;
|
|
12
|
+
exports.AllFields = require_data.AllFields;
|
|
13
|
+
exports.AllGeneralFields = require_data.AllGeneralFields;
|
|
14
|
+
exports.AllPLFields = require_data.AllPLFields;
|
|
15
|
+
exports.AllRevenueFields = require_data.AllRevenueFields;
|
|
16
|
+
exports.AllSeasonResultFields = require_data.AllSeasonResultFields;
|
|
17
|
+
exports.extendClubData = require_data$1.extendClubData;
|
|
18
|
+
exports.extendYearData = require_data$1.extendYearData;
|
|
16
19
|
exports.getAllClubs = require_clubs.getAllClubs;
|
|
17
20
|
exports.getAllYears = require_years.getAllYears;
|
|
18
21
|
exports.getAttd = require_all_fields.getAttd;
|
|
@@ -25,6 +28,4 @@ exports.getLabel = require_dictionary.getLabel;
|
|
|
25
28
|
exports.getLabelWithOptions = require_dictionary.getLabelWithOptions;
|
|
26
29
|
exports.getPL = require_all_fields.getPL;
|
|
27
30
|
exports.getRevenue = require_all_fields.getRevenue;
|
|
28
|
-
exports.getSeasonResult = require_all_fields.getSeasonResult;
|
|
29
|
-
exports.plFields = require_all_fields.plFields;
|
|
30
|
-
exports.revenueFields = require_all_fields.revenueFields;
|
|
31
|
+
exports.getSeasonResult = require_all_fields.getSeasonResult;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
1
|
+
import { C as Revenue, D as SortableKeys, E as SeasonResultFields, S as PLFields, T as SeasonResult, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as GeneralFields, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFields, l as Attd, m as ExpenseFields, n as AllBSFields, o as AllPLFields, p as Expense, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields, u as AttdFields, v as FinancialDatum, w as RevenueFields, x as PL, y as General } from "./data-BifrD3Hs.cjs";
|
|
2
|
+
import { getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult } from "./all-fields.cjs";
|
|
3
3
|
import { t as ClubInfo } from "./club-CmkWZe16.cjs";
|
|
4
4
|
import { t as YearInfo } from "./year-uMcmlIjv.cjs";
|
|
5
5
|
import "./types/index.cjs";
|
|
@@ -7,4 +7,4 @@ import { getAllClubs, getClubBySlug, getClubsByCategory } from "./clubs.cjs";
|
|
|
7
7
|
import { extendClubData, extendYearData } from "./data.cjs";
|
|
8
8
|
import { getLabel, getLabelWithOptions } from "./dictionary.cjs";
|
|
9
9
|
import { getAllYears } from "./years.cjs";
|
|
10
|
-
export { Attd, BS, ClubInfo, Expense, ExtendedFinancialDatum, FinancialDatum, General,
|
|
10
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, ClubInfo, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableKeys, YearInfo, extendClubData, extendYearData, getAllClubs, getAllYears, getAttd, getBS, getClubBySlug, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
1
|
+
import { C as Revenue, D as SortableKeys, E as SeasonResultFields, S as PLFields, T as SeasonResult, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as GeneralFields, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFields, l as Attd, m as ExpenseFields, n as AllBSFields, o as AllPLFields, p as Expense, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields, u as AttdFields, v as FinancialDatum, w as RevenueFields, x as PL, y as General } from "./data-rDHl-GBR.mjs";
|
|
2
|
+
import { getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult } from "./all-fields.mjs";
|
|
3
3
|
import { t as ClubInfo } from "./club-CauHQ_x1.mjs";
|
|
4
4
|
import { t as YearInfo } from "./year-YIR3AeyZ.mjs";
|
|
5
5
|
import "./types/index.mjs";
|
|
@@ -7,4 +7,4 @@ import { getAllClubs, getClubBySlug, getClubsByCategory } from "./clubs.mjs";
|
|
|
7
7
|
import { extendClubData, extendYearData } from "./data.mjs";
|
|
8
8
|
import { getLabel, getLabelWithOptions } from "./dictionary.mjs";
|
|
9
9
|
import { getAllYears } from "./years.mjs";
|
|
10
|
-
export { Attd, BS, ClubInfo, Expense, ExtendedFinancialDatum, FinancialDatum, General,
|
|
10
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, ClubInfo, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableKeys, YearInfo, extendClubData, extendYearData, getAllClubs, getAllYears, getAttd, getBS, getClubBySlug, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult } from "./all-fields.mjs";
|
|
2
2
|
import { n as getClubBySlug, r as getClubsByCategory, t as getAllClubs } from "./clubs-BitYeQ3W.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { n as getLabelWithOptions, t as getLabel } from "./dictionary-C5g3hCzq.mjs";
|
|
5
|
-
import { t as getAllYears } from "./years-BwmUZcK_.mjs";
|
|
3
|
+
import { a as AllGeneralFields, c as AllSeasonResultFields, i as AllFields, n as AllBSFields, o as AllPLFields, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields } from "./data-PJ-fpqmg.mjs";
|
|
6
4
|
import "./types/index.mjs";
|
|
5
|
+
import { extendClubData, extendYearData } from "./data.mjs";
|
|
6
|
+
import { n as getLabelWithOptions, t as getLabel } from "./dictionary-D9CmvgCW.mjs";
|
|
7
|
+
import { t as getAllYears } from "./years-BD3YalWA.mjs";
|
|
7
8
|
|
|
8
|
-
export {
|
|
9
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, extendClubData, extendYearData, getAllClubs, getAllYears, getAttd, getBS, getClubBySlug, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult };
|
package/dist/types/data.cjs
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const require_data = require('../data-CGTGYuvt.cjs');
|
|
2
|
+
|
|
3
|
+
exports.AllAttdFields = require_data.AllAttdFields;
|
|
4
|
+
exports.AllBSFields = require_data.AllBSFields;
|
|
5
|
+
exports.AllExpenseFields = require_data.AllExpenseFields;
|
|
6
|
+
exports.AllFields = require_data.AllFields;
|
|
7
|
+
exports.AllGeneralFields = require_data.AllGeneralFields;
|
|
8
|
+
exports.AllPLFields = require_data.AllPLFields;
|
|
9
|
+
exports.AllRevenueFields = require_data.AllRevenueFields;
|
|
10
|
+
exports.AllSeasonResultFields = require_data.AllSeasonResultFields;
|
package/dist/types/data.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { Attd, BS, Expense, ExtendedFinancialDatum, FinancialDatum, General, PL, Revenue, SeasonResult,
|
|
1
|
+
import { C as Revenue, D as SortableKeys, E as SeasonResultFields, S as PLFields, T as SeasonResult, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as GeneralFields, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFields, l as Attd, m as ExpenseFields, n as AllBSFields, o as AllPLFields, p as Expense, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields, u as AttdFields, v as FinancialDatum, w as RevenueFields, x as PL, y as General } from "../data-BifrD3Hs.cjs";
|
|
2
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableKeys };
|
package/dist/types/data.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { Attd, BS, Expense, ExtendedFinancialDatum, FinancialDatum, General, PL, Revenue, SeasonResult,
|
|
1
|
+
import { C as Revenue, D as SortableKeys, E as SeasonResultFields, S as PLFields, T as SeasonResult, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as GeneralFields, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFields, l as Attd, m as ExpenseFields, n as AllBSFields, o as AllPLFields, p as Expense, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields, u as AttdFields, v as FinancialDatum, w as RevenueFields, x as PL, y as General } from "../data-rDHl-GBR.mjs";
|
|
2
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableKeys };
|
package/dist/types/data.mjs
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { a as AllGeneralFields, c as AllSeasonResultFields, i as AllFields, n as AllBSFields, o as AllPLFields, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields } from "../data-PJ-fpqmg.mjs";
|
|
2
|
+
|
|
3
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields };
|