@cieloazul310/jclub-financial-utils 0.0.1-alpha.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/.turbo/turbo-build.log +93 -0
- package/CHANGELOG.md +7 -0
- package/__tests__/club.test.ts +40 -0
- package/__tests__/dictionary.test.ts +26 -0
- package/__tests__/years.test.ts +11 -0
- package/clubs.yml +850 -0
- package/dictionary.yml +69 -0
- package/dist/all-fields.cjs +96 -0
- package/dist/all-fields.d.cts +14 -0
- package/dist/all-fields.d.cts.map +1 -0
- package/dist/all-fields.d.mts +14 -0
- package/dist/all-fields.d.mts.map +1 -0
- package/dist/all-fields.mjs +89 -0
- package/dist/all-fields.mjs.map +1 -0
- package/dist/club-CCls7mTR.mjs +1 -0
- package/dist/club-CYJ2Any-.cjs +0 -0
- package/dist/club-CcV6Gouv.d.mts +20 -0
- package/dist/club-CcV6Gouv.d.mts.map +1 -0
- package/dist/club-DConAzRZ.d.cts +20 -0
- package/dist/club-DConAzRZ.d.cts.map +1 -0
- package/dist/clubs-B6WFNimH.cjs +910 -0
- package/dist/clubs-BF9Y0ITz.mjs +893 -0
- package/dist/clubs-BF9Y0ITz.mjs.map +1 -0
- package/dist/clubs.cjs +5 -0
- package/dist/clubs.d.cts +10 -0
- package/dist/clubs.d.cts.map +1 -0
- package/dist/clubs.d.mts +10 -0
- package/dist/clubs.d.mts.map +1 -0
- package/dist/clubs.mjs +3 -0
- package/dist/data-BI1o8Mn-.mjs +1 -0
- package/dist/data-B_nPtYBn.cjs +0 -0
- package/dist/data-Bs9dSa_0.d.cts +158 -0
- package/dist/data-Bs9dSa_0.d.cts.map +1 -0
- package/dist/data-c1kTjXyV.d.mts +158 -0
- package/dist/data-c1kTjXyV.d.mts.map +1 -0
- package/dist/dictionary-BzN32kPK.cjs +113 -0
- package/dist/dictionary-LXXa4AIA.mjs +102 -0
- package/dist/dictionary-LXXa4AIA.mjs.map +1 -0
- package/dist/dictionary.cjs +4 -0
- package/dist/dictionary.d.cts +26 -0
- package/dist/dictionary.d.cts.map +1 -0
- package/dist/dictionary.d.mts +26 -0
- package/dist/dictionary.d.mts.map +1 -0
- package/dist/dictionary.mjs +3 -0
- package/dist/index.cjs +20 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.mjs +7 -0
- package/dist/types/club.cjs +0 -0
- package/dist/types/club.d.cts +2 -0
- package/dist/types/club.d.mts +2 -0
- package/dist/types/club.mjs +1 -0
- package/dist/types/data.cjs +0 -0
- package/dist/types/data.d.cts +2 -0
- package/dist/types/data.d.mts +2 -0
- package/dist/types/data.mjs +1 -0
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +4 -0
- package/dist/types/index.d.mts +4 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/year.cjs +0 -0
- package/dist/types/year.d.cts +2 -0
- package/dist/types/year.d.mts +2 -0
- package/dist/types/year.mjs +1 -0
- package/dist/year-0HxxyYb_.mjs +1 -0
- package/dist/year-C02MQex_.d.mts +9 -0
- package/dist/year-C02MQex_.d.mts.map +1 -0
- package/dist/year-CSrJssAF.d.cts +9 -0
- package/dist/year-CSrJssAF.d.cts.map +1 -0
- package/dist/year-dUgWR1aM.cjs +0 -0
- package/dist/years-6Ii8ZNVQ.mjs +157 -0
- package/dist/years-6Ii8ZNVQ.mjs.map +1 -0
- package/dist/years-DRN0nquf.cjs +162 -0
- package/dist/years.cjs +3 -0
- package/dist/years.d.cts +8 -0
- package/dist/years.d.cts.map +1 -0
- package/dist/years.d.mts +8 -0
- package/dist/years.d.mts.map +1 -0
- package/dist/years.mjs +3 -0
- package/eslint.config.mjs +4 -0
- package/package.json +66 -0
- package/scripts/build-clubs.ts +18 -0
- package/scripts/build-dictionary.ts +18 -0
- package/scripts/build-years.ts +18 -0
- package/scripts/build.ts +21 -0
- package/src/all-fields.ts +100 -0
- package/src/clubs.ts +20 -0
- package/src/data/clubs.json +949 -0
- package/src/data/dictionary.json +71 -0
- package/src/data/years.json +173 -0
- package/src/dictionary.ts +39 -0
- package/src/index.ts +5 -0
- package/src/types/club.ts +16 -0
- package/src/types/data.ts +161 -0
- package/src/types/index.ts +3 -0
- package/src/types/year.ts +5 -0
- package/src/years.ts +6 -0
- package/tsconfig.json +4 -0
- package/tsdown.config.ts +15 -0
- package/years.yml +111 -0
package/dictionary.yml
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
name: クラブ
|
|
2
|
+
fullname: 呼称
|
|
3
|
+
id: id
|
|
4
|
+
year: 年
|
|
5
|
+
category: 所属
|
|
6
|
+
license: ライセンス
|
|
7
|
+
revenue: 営業収入
|
|
8
|
+
sponsor: スポンサー収入
|
|
9
|
+
ticket: 入場料収入
|
|
10
|
+
broadcast: Jリーグ配分金
|
|
11
|
+
academy_rev: アカデミー関連収入
|
|
12
|
+
women_rev: 女子チーム関連収入
|
|
13
|
+
goods_rev: 物販収入
|
|
14
|
+
transfer_rev: 移籍補償金等収入
|
|
15
|
+
transfer_int_rev: 国外クラブからの収入
|
|
16
|
+
transfer_dom_rev: 国内クラブからの収入
|
|
17
|
+
other_revs: その他収入
|
|
18
|
+
expense: 営業費用
|
|
19
|
+
salary: チーム人件費
|
|
20
|
+
transfer_exp: 移籍関連費用
|
|
21
|
+
transfer_int_exp: 国外クラブからの移籍に関する費用
|
|
22
|
+
transfer_dom_exp: 国内クラブからの移籍に関する費用
|
|
23
|
+
manage_exp: 事業費
|
|
24
|
+
general_exp: 総事業費
|
|
25
|
+
game_exp: 試合関連経費
|
|
26
|
+
team_exp: トップチーム運営経費
|
|
27
|
+
academy_exp: アカデミー運営経費
|
|
28
|
+
women_exp: 女子チーム運営経費
|
|
29
|
+
goods_exp: 物販関連費
|
|
30
|
+
other_cost: その他売上原価
|
|
31
|
+
sga: 販売費および一般管理費
|
|
32
|
+
op_profit: 営業利益
|
|
33
|
+
no_rev: 営業外収益
|
|
34
|
+
no_exp: 営業外費用
|
|
35
|
+
ordinary_profit: 経常利益
|
|
36
|
+
sp_rev: 特別利益
|
|
37
|
+
sp_exp: 特別損失
|
|
38
|
+
profit_before_tax: 税引前当期利益
|
|
39
|
+
related_revenue: 関連する法人の営業収入
|
|
40
|
+
tax: 法人税および住民税等
|
|
41
|
+
profit: 当期純利益
|
|
42
|
+
curr_assets: 流動資産
|
|
43
|
+
fixed_assets: 固定資産等
|
|
44
|
+
assets: 総資産(資産の部)
|
|
45
|
+
curr_liabilities: 流動負債
|
|
46
|
+
fixed_liabilities: 固定負債
|
|
47
|
+
liabilities: 総負債(負債の部)
|
|
48
|
+
capital_stock: 資本金
|
|
49
|
+
capital_surplus: 資本剰余金等
|
|
50
|
+
retained_earnings: 利益剰余金
|
|
51
|
+
net_worth: 純資産(純資産の部)
|
|
52
|
+
rank: 順位
|
|
53
|
+
points: 勝ち点
|
|
54
|
+
ppg: PPG
|
|
55
|
+
elevation: 昇降格
|
|
56
|
+
league_attd: リーグ戦入場者数
|
|
57
|
+
league_games: リーグ戦ホーム試合数
|
|
58
|
+
leaguecup_attd: リーグカップ入場者数
|
|
59
|
+
leaguecup_games: リーグカップホーム試合数
|
|
60
|
+
po_attd: PO入場者数
|
|
61
|
+
po_games: POホーム試合数
|
|
62
|
+
acl_attd: ACL入場者数
|
|
63
|
+
acl_games: ACLホーム試合数
|
|
64
|
+
second_attd: セカンドチーム入場者数
|
|
65
|
+
second_games: セカンドチームホーム試合数
|
|
66
|
+
all_attd: 年間総入場者数
|
|
67
|
+
all_games: 年間ホーム試合数
|
|
68
|
+
average_attd: リーグ戦平均入場者数
|
|
69
|
+
unit_price: 客単価
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/all-fields.ts
|
|
3
|
+
const generalFields = [
|
|
4
|
+
"fullname",
|
|
5
|
+
"license",
|
|
6
|
+
"rank",
|
|
7
|
+
"points",
|
|
8
|
+
"ppg",
|
|
9
|
+
"elevation"
|
|
10
|
+
];
|
|
11
|
+
const plFields = [
|
|
12
|
+
"revenue",
|
|
13
|
+
"expense",
|
|
14
|
+
"op_profit",
|
|
15
|
+
"no_rev",
|
|
16
|
+
"no_exp",
|
|
17
|
+
"ordinary_profit",
|
|
18
|
+
"sp_rev",
|
|
19
|
+
"sp_exp",
|
|
20
|
+
"profit_before_tax",
|
|
21
|
+
"tax",
|
|
22
|
+
"profit",
|
|
23
|
+
"related_revenue"
|
|
24
|
+
];
|
|
25
|
+
const bsFields = [
|
|
26
|
+
"assets",
|
|
27
|
+
"curr_assets",
|
|
28
|
+
"fixed_assets",
|
|
29
|
+
"liabilities",
|
|
30
|
+
"curr_liabilities",
|
|
31
|
+
"fixed_liabilities",
|
|
32
|
+
"net_worth",
|
|
33
|
+
"capital_stock",
|
|
34
|
+
"capital_surplus",
|
|
35
|
+
"retained_earnings"
|
|
36
|
+
];
|
|
37
|
+
const revenueFields = [
|
|
38
|
+
"sponsor",
|
|
39
|
+
"ticket",
|
|
40
|
+
"broadcast",
|
|
41
|
+
"academy_rev",
|
|
42
|
+
"women_rev",
|
|
43
|
+
"goods_rev",
|
|
44
|
+
"transfer_rev",
|
|
45
|
+
"transfer_int_rev",
|
|
46
|
+
"transfer_dom_rev",
|
|
47
|
+
"other_revs"
|
|
48
|
+
];
|
|
49
|
+
const expenseFields = [
|
|
50
|
+
"salary",
|
|
51
|
+
"transfer_exp",
|
|
52
|
+
"transfer_int_exp",
|
|
53
|
+
"transfer_dom_exp",
|
|
54
|
+
"game_exp",
|
|
55
|
+
"team_exp",
|
|
56
|
+
"academy_exp",
|
|
57
|
+
"women_exp",
|
|
58
|
+
"goods_exp",
|
|
59
|
+
"other_cost",
|
|
60
|
+
"manage_exp",
|
|
61
|
+
"sga"
|
|
62
|
+
];
|
|
63
|
+
const attdFields = [
|
|
64
|
+
"all_attd",
|
|
65
|
+
"all_games",
|
|
66
|
+
"average_attd",
|
|
67
|
+
"unit_price",
|
|
68
|
+
"league_attd",
|
|
69
|
+
"league_games",
|
|
70
|
+
"leaguecup_attd",
|
|
71
|
+
"leaguecup_games",
|
|
72
|
+
"po_attd",
|
|
73
|
+
"po_games",
|
|
74
|
+
"acl_attd",
|
|
75
|
+
"acl_games",
|
|
76
|
+
"second_attd",
|
|
77
|
+
"second_games"
|
|
78
|
+
];
|
|
79
|
+
const allSortableFields = [
|
|
80
|
+
...plFields,
|
|
81
|
+
...bsFields,
|
|
82
|
+
...revenueFields,
|
|
83
|
+
...expenseFields,
|
|
84
|
+
...attdFields
|
|
85
|
+
];
|
|
86
|
+
const allFields = [...generalFields, ...allSortableFields];
|
|
87
|
+
|
|
88
|
+
//#endregion
|
|
89
|
+
exports.allFields = allFields;
|
|
90
|
+
exports.allSortableFields = allSortableFields;
|
|
91
|
+
exports.attdFields = attdFields;
|
|
92
|
+
exports.bsFields = bsFields;
|
|
93
|
+
exports.expenseFields = expenseFields;
|
|
94
|
+
exports.generalFields = generalFields;
|
|
95
|
+
exports.plFields = plFields;
|
|
96
|
+
exports.revenueFields = revenueFields;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { a as General, c as SeasonResult, i as FinancialDatum, n as BS, o as PL, r as Expense, s as Revenue, t as Attd } from "./data-Bs9dSa_0.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/all-fields.d.ts
|
|
4
|
+
declare const generalFields: (keyof General | keyof SeasonResult)[];
|
|
5
|
+
declare const plFields: (keyof PL)[];
|
|
6
|
+
declare const bsFields: (keyof BS)[];
|
|
7
|
+
declare const revenueFields: (keyof Revenue)[];
|
|
8
|
+
declare const expenseFields: (keyof Expense)[];
|
|
9
|
+
declare const attdFields: (keyof Attd)[];
|
|
10
|
+
declare const allSortableFields: ("revenue" | "expense" | "op_profit" | "no_rev" | "no_exp" | "ordinary_profit" | "sp_rev" | "sp_exp" | "profit_before_tax" | "tax" | "profit" | "related_revenue" | "curr_assets" | "fixed_assets" | "assets" | "curr_liabilities" | "fixed_liabilities" | "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" | "league_attd" | "league_games" | "leaguecup_attd" | "leaguecup_games" | "po_attd" | "po_games" | "acl_attd" | "acl_games" | "second_attd" | "second_games" | "all_attd" | "all_games" | "average_attd" | "unit_price")[];
|
|
11
|
+
declare const allFields: (keyof FinancialDatum)[];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { allFields, allSortableFields, attdFields, bsFields, expenseFields, generalFields, plFields, revenueFields };
|
|
14
|
+
//# sourceMappingURL=all-fields.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all-fields.d.cts","names":[],"sources":["../src/all-fields.ts"],"sourcesContent":[],"mappings":";;;cAWa,sBAAsB,gBAAgB;cAStC,iBAAiB;AATjB,cAuBA,QAhBZ,EAPkC,CAAA,MAuBL,EAvBqB,CAAA,EAAA;AAStC,cA0BA,aA1BmB,EAAA,CAAA,MA0BG,OA1BH,CAAA,EAAA;AAcnB,cAwBA,aAxBmB,EAAA,CAAA,MAwBG,OAxBH,CAAA,EAAA;AAYnB,cA0BA,UA1BsB,EAAA,CAAA,MA0BH,IA1BU,CAAA,EAAA;AAY7B,cA+BA,iBA/BsB,EAAO,CAAA,SAAA,GAAA,SAAA,GAAA,WAAA,GAAA,QAAA,GAAA,QAAA,GAAA,iBAAA,GAAA,QAAA,GAAA,QAAA,GAAA,mBAAA,GAAA,KAAA,GAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,cAAA,GAAA,QAAA,GAAA,kBAAA,GAAA,mBAAA,GAAA,aAAA,GAAA,WAAA,GAAA,eAAA,GAAA,iBAAA,GAAA,mBAAA,GAAA,SAAA,GAAA,QAAA,GAAA,WAAA,GAAA,aAAA,GAAA,WAAA,GAAA,WAAA,GAAA,cAAA,GAAA,kBAAA,GAAA,kBAAA,GAAA,YAAA,GAAA,QAAA,GAAA,cAAA,GAAA,kBAAA,GAAA,kBAAA,GAAA,YAAA,GAAA,aAAA,GAAA,UAAA,GAAA,UAAA,GAAA,aAAA,GAAA,WAAA,GAAA,WAAA,GAAA,YAAA,GAAA,KAAA,GAAA,aAAA,GAAA,cAAA,GAAA,gBAAA,GAAA,iBAAA,GAAA,SAAA,GAAA,UAAA,GAAA,UAAA,GAAA,WAAA,GAAA,aAAA,GAAA,cAAA,GAAA,UAAA,GAAA,WAAA,GAAA,cAAA,GAAA,YAAA,CAAA,EAAA;AAc7B,cAwBA,SAxBmB,EAAA,CAAI,MAwBL,cAxBK,CAAA,EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { a as General, c as SeasonResult, i as FinancialDatum, n as BS, o as PL, r as Expense, s as Revenue, t as Attd } from "./data-c1kTjXyV.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/all-fields.d.ts
|
|
4
|
+
declare const generalFields: (keyof General | keyof SeasonResult)[];
|
|
5
|
+
declare const plFields: (keyof PL)[];
|
|
6
|
+
declare const bsFields: (keyof BS)[];
|
|
7
|
+
declare const revenueFields: (keyof Revenue)[];
|
|
8
|
+
declare const expenseFields: (keyof Expense)[];
|
|
9
|
+
declare const attdFields: (keyof Attd)[];
|
|
10
|
+
declare const allSortableFields: ("revenue" | "expense" | "op_profit" | "no_rev" | "no_exp" | "ordinary_profit" | "sp_rev" | "sp_exp" | "profit_before_tax" | "tax" | "profit" | "related_revenue" | "curr_assets" | "fixed_assets" | "assets" | "curr_liabilities" | "fixed_liabilities" | "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" | "league_attd" | "league_games" | "leaguecup_attd" | "leaguecup_games" | "po_attd" | "po_games" | "acl_attd" | "acl_games" | "second_attd" | "second_games" | "all_attd" | "all_games" | "average_attd" | "unit_price")[];
|
|
11
|
+
declare const allFields: (keyof FinancialDatum)[];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { allFields, allSortableFields, attdFields, bsFields, expenseFields, generalFields, plFields, revenueFields };
|
|
14
|
+
//# sourceMappingURL=all-fields.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all-fields.d.mts","names":[],"sources":["../src/all-fields.ts"],"sourcesContent":[],"mappings":";;;cAWa,sBAAsB,gBAAgB;cAStC,iBAAiB;AATjB,cAuBA,QAhBZ,EAAA,CAPkC,MAuBL,EAvBK,CAAgB,EAAA;AAStC,cA0BA,aA1BmB,EAAA,CAAA,MA0BG,OA1BH,CAAA,EAAA;AAcnB,cAwBA,aAxBmB,EAAA,CAAA,MAwBG,OAxBH,CAAA,EAAA;AAYnB,cA0BA,UAfZ,EAXkC,CAAA,MA0BH,IA1BU,CAAA,EAAA;AAY7B,cA+BA,iBA/BsB,EAAO,CAAA,SAAA,GAAA,SAAA,GAAA,WAAA,GAAA,QAAA,GAAA,QAAA,GAAA,iBAAA,GAAA,QAAA,GAAA,QAAA,GAAA,mBAAA,GAAA,KAAA,GAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,cAAA,GAAA,QAAA,GAAA,kBAAA,GAAA,mBAAA,GAAA,aAAA,GAAA,WAAA,GAAA,eAAA,GAAA,iBAAA,GAAA,mBAAA,GAAA,SAAA,GAAA,QAAA,GAAA,WAAA,GAAA,aAAA,GAAA,WAAA,GAAA,WAAA,GAAA,cAAA,GAAA,kBAAA,GAAA,kBAAA,GAAA,YAAA,GAAA,QAAA,GAAA,cAAA,GAAA,kBAAA,GAAA,kBAAA,GAAA,YAAA,GAAA,aAAA,GAAA,UAAA,GAAA,UAAA,GAAA,aAAA,GAAA,WAAA,GAAA,WAAA,GAAA,YAAA,GAAA,KAAA,GAAA,aAAA,GAAA,cAAA,GAAA,gBAAA,GAAA,iBAAA,GAAA,SAAA,GAAA,UAAA,GAAA,UAAA,GAAA,WAAA,GAAA,aAAA,GAAA,cAAA,GAAA,UAAA,GAAA,WAAA,GAAA,cAAA,GAAA,YAAA,CAAA,EAAA;AAc7B,cAwBA,SAxBmB,EAAA,CAAA,MAwBD,cAxBK,CAAA,EAAA"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
//#region src/all-fields.ts
|
|
2
|
+
const generalFields = [
|
|
3
|
+
"fullname",
|
|
4
|
+
"license",
|
|
5
|
+
"rank",
|
|
6
|
+
"points",
|
|
7
|
+
"ppg",
|
|
8
|
+
"elevation"
|
|
9
|
+
];
|
|
10
|
+
const plFields = [
|
|
11
|
+
"revenue",
|
|
12
|
+
"expense",
|
|
13
|
+
"op_profit",
|
|
14
|
+
"no_rev",
|
|
15
|
+
"no_exp",
|
|
16
|
+
"ordinary_profit",
|
|
17
|
+
"sp_rev",
|
|
18
|
+
"sp_exp",
|
|
19
|
+
"profit_before_tax",
|
|
20
|
+
"tax",
|
|
21
|
+
"profit",
|
|
22
|
+
"related_revenue"
|
|
23
|
+
];
|
|
24
|
+
const bsFields = [
|
|
25
|
+
"assets",
|
|
26
|
+
"curr_assets",
|
|
27
|
+
"fixed_assets",
|
|
28
|
+
"liabilities",
|
|
29
|
+
"curr_liabilities",
|
|
30
|
+
"fixed_liabilities",
|
|
31
|
+
"net_worth",
|
|
32
|
+
"capital_stock",
|
|
33
|
+
"capital_surplus",
|
|
34
|
+
"retained_earnings"
|
|
35
|
+
];
|
|
36
|
+
const revenueFields = [
|
|
37
|
+
"sponsor",
|
|
38
|
+
"ticket",
|
|
39
|
+
"broadcast",
|
|
40
|
+
"academy_rev",
|
|
41
|
+
"women_rev",
|
|
42
|
+
"goods_rev",
|
|
43
|
+
"transfer_rev",
|
|
44
|
+
"transfer_int_rev",
|
|
45
|
+
"transfer_dom_rev",
|
|
46
|
+
"other_revs"
|
|
47
|
+
];
|
|
48
|
+
const expenseFields = [
|
|
49
|
+
"salary",
|
|
50
|
+
"transfer_exp",
|
|
51
|
+
"transfer_int_exp",
|
|
52
|
+
"transfer_dom_exp",
|
|
53
|
+
"game_exp",
|
|
54
|
+
"team_exp",
|
|
55
|
+
"academy_exp",
|
|
56
|
+
"women_exp",
|
|
57
|
+
"goods_exp",
|
|
58
|
+
"other_cost",
|
|
59
|
+
"manage_exp",
|
|
60
|
+
"sga"
|
|
61
|
+
];
|
|
62
|
+
const attdFields = [
|
|
63
|
+
"all_attd",
|
|
64
|
+
"all_games",
|
|
65
|
+
"average_attd",
|
|
66
|
+
"unit_price",
|
|
67
|
+
"league_attd",
|
|
68
|
+
"league_games",
|
|
69
|
+
"leaguecup_attd",
|
|
70
|
+
"leaguecup_games",
|
|
71
|
+
"po_attd",
|
|
72
|
+
"po_games",
|
|
73
|
+
"acl_attd",
|
|
74
|
+
"acl_games",
|
|
75
|
+
"second_attd",
|
|
76
|
+
"second_games"
|
|
77
|
+
];
|
|
78
|
+
const allSortableFields = [
|
|
79
|
+
...plFields,
|
|
80
|
+
...bsFields,
|
|
81
|
+
...revenueFields,
|
|
82
|
+
...expenseFields,
|
|
83
|
+
...attdFields
|
|
84
|
+
];
|
|
85
|
+
const allFields = [...generalFields, ...allSortableFields];
|
|
86
|
+
|
|
87
|
+
//#endregion
|
|
88
|
+
export { allFields, allSortableFields, attdFields, bsFields, expenseFields, generalFields, plFields, revenueFields };
|
|
89
|
+
//# sourceMappingURL=all-fields.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all-fields.mjs","names":["generalFields: (keyof General | keyof SeasonResult)[]","plFields: (keyof PL)[]","bsFields: (keyof BS)[]","revenueFields: (keyof Revenue)[]","expenseFields: (keyof Expense)[]","attdFields: (keyof Attd)[]","allFields: (keyof FinancialDatum)[]"],"sources":["../src/all-fields.ts"],"sourcesContent":["import type {\n General,\n SeasonResult,\n PL,\n BS,\n Revenue,\n Expense,\n Attd,\n FinancialDatum,\n} from \"./types/data\";\n\nexport const generalFields: (keyof General | keyof SeasonResult)[] = [\n \"fullname\",\n \"license\",\n \"rank\",\n \"points\",\n \"ppg\",\n \"elevation\",\n];\n\nexport const plFields: (keyof PL)[] = [\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];\nexport const bsFields: (keyof BS)[] = [\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];\nexport const revenueFields: (keyof 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];\nexport const expenseFields: (keyof Expense)[] = [\n \"salary\",\n \"transfer_exp\",\n \"transfer_int_exp\",\n \"transfer_dom_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];\nexport const attdFields: (keyof Attd)[] = [\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];\n\nexport const allSortableFields = [\n ...plFields,\n ...bsFields,\n ...revenueFields,\n ...expenseFields,\n ...attdFields,\n];\nexport const allFields: (keyof FinancialDatum)[] = [\n ...generalFields,\n ...allSortableFields,\n];\n"],"mappings":";AAWA,MAAaA,gBAAwD;CACnE;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAaC,WAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AACD,MAAaC,WAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AACD,MAAaC,gBAAmC;CAC9C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AACD,MAAaC,gBAAmC;CAC9C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AACD,MAAaC,aAA6B;CACxC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,oBAAoB;CAC/B,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACJ;AACD,MAAaC,YAAsC,CACjD,GAAG,eACH,GAAG,kBACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/types/club.d.ts
|
|
2
|
+
type ClubInfo = {
|
|
3
|
+
id: string;
|
|
4
|
+
slug: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fullname: string;
|
|
7
|
+
short_name: string;
|
|
8
|
+
company: string;
|
|
9
|
+
category: string;
|
|
10
|
+
hometown: string;
|
|
11
|
+
area?: string | null;
|
|
12
|
+
period: number;
|
|
13
|
+
website: string | null;
|
|
14
|
+
settlement?: string | null;
|
|
15
|
+
relatedCompanies?: string[] | null;
|
|
16
|
+
annotation?: string[] | null;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ClubInfo as t };
|
|
20
|
+
//# sourceMappingURL=club-CcV6Gouv.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"club-CcV6Gouv.d.mts","names":[],"sources":["../src/types/club.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/types/club.d.ts
|
|
2
|
+
type ClubInfo = {
|
|
3
|
+
id: string;
|
|
4
|
+
slug: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fullname: string;
|
|
7
|
+
short_name: string;
|
|
8
|
+
company: string;
|
|
9
|
+
category: string;
|
|
10
|
+
hometown: string;
|
|
11
|
+
area?: string | null;
|
|
12
|
+
period: number;
|
|
13
|
+
website: string | null;
|
|
14
|
+
settlement?: string | null;
|
|
15
|
+
relatedCompanies?: string[] | null;
|
|
16
|
+
annotation?: string[] | null;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ClubInfo as t };
|
|
20
|
+
//# sourceMappingURL=club-DConAzRZ.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"club-DConAzRZ.d.cts","names":[],"sources":["../src/types/club.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|