@cieloazul310/jclub-financial-utils 0.0.1-alpha.3 → 0.0.1-alpha.5

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.
Files changed (61) hide show
  1. package/dist/all-fields.cjs +1 -93
  2. package/dist/all-fields.d.cts +9 -17
  3. package/dist/all-fields.d.cts.map +1 -1
  4. package/dist/all-fields.d.mts +9 -17
  5. package/dist/all-fields.d.mts.map +1 -1
  6. package/dist/all-fields.mjs +1 -85
  7. package/dist/all-fields.mjs.map +1 -1
  8. package/dist/{clubs-B6WFNimH.cjs → clubs-B9ZOclEl.cjs} +180 -167
  9. package/dist/{clubs-BitYeQ3W.mjs → clubs-ECnq3cfm.mjs} +181 -168
  10. package/dist/{clubs-BitYeQ3W.mjs.map → clubs-ECnq3cfm.mjs.map} +1 -1
  11. package/dist/clubs.cjs +1 -1
  12. package/dist/clubs.mjs +1 -1
  13. package/dist/data-BifrD3Hs.d.cts +180 -0
  14. package/dist/data-BifrD3Hs.d.cts.map +1 -0
  15. package/dist/data-CGTGYuvt.cjs +151 -0
  16. package/dist/data-PJ-fpqmg.mjs +104 -0
  17. package/dist/data-PJ-fpqmg.mjs.map +1 -0
  18. package/dist/data-rDHl-GBR.d.mts +180 -0
  19. package/dist/data-rDHl-GBR.d.mts.map +1 -0
  20. package/dist/data.cjs +21 -12
  21. package/dist/data.d.cts +1 -1
  22. package/dist/data.d.cts.map +1 -1
  23. package/dist/data.d.mts +1 -1
  24. package/dist/data.d.mts.map +1 -1
  25. package/dist/data.mjs +21 -12
  26. package/dist/data.mjs.map +1 -1
  27. package/dist/{dictionary-BzN32kPK.cjs → dictionary-BZ_zUPSy.cjs} +1 -1
  28. package/dist/{dictionary-C5g3hCzq.mjs → dictionary-D9CmvgCW.mjs} +2 -2
  29. package/dist/{dictionary-C5g3hCzq.mjs.map → dictionary-D9CmvgCW.mjs.map} +1 -1
  30. package/dist/dictionary.cjs +1 -1
  31. package/dist/dictionary.d.cts +1 -1
  32. package/dist/dictionary.d.mts +1 -1
  33. package/dist/dictionary.mjs +1 -1
  34. package/dist/index.cjs +16 -15
  35. package/dist/index.d.cts +3 -3
  36. package/dist/index.d.mts +3 -3
  37. package/dist/index.mjs +7 -6
  38. package/dist/types/data.cjs +10 -0
  39. package/dist/types/data.d.cts +2 -2
  40. package/dist/types/data.d.mts +2 -2
  41. package/dist/types/data.mjs +3 -1
  42. package/dist/types/index.cjs +10 -0
  43. package/dist/types/index.d.cts +2 -2
  44. package/dist/types/index.d.mts +2 -2
  45. package/dist/types/index.mjs +3 -1
  46. package/dist/{years-BwmUZcK_.mjs → years-BD3YalWA.mjs} +1 -1
  47. package/dist/{years-BwmUZcK_.mjs.map → years-BD3YalWA.mjs.map} +1 -1
  48. package/dist/years.cjs +1 -1
  49. package/dist/years.mjs +1 -1
  50. package/package.json +7 -7
  51. package/dist/data-CEME1ilU.d.mts +0 -163
  52. package/dist/data-CEME1ilU.d.mts.map +0 -1
  53. package/dist/data-Dr1RQuDQ.d.cts +0 -163
  54. package/dist/data-Dr1RQuDQ.d.cts.map +0 -1
  55. package/dist/year-D3WZVmTU.mjs +0 -1
  56. package/dist/year-dUgWR1aM.cjs +0 -0
  57. /package/dist/{club-Dyqgxvkt.mjs → club-DMPe0Tct.mjs} +0 -0
  58. /package/dist/{club-CYJ2Any-.cjs → club-DtKevGOY.cjs} +0 -0
  59. /package/dist/{data-B_nPtYBn.cjs → year-C8iQUfNS.cjs} +0 -0
  60. /package/dist/{data-vII377kw.mjs → year-DlsIuRa9.mjs} +0 -0
  61. /package/dist/{years-DRN0nquf.cjs → years-BtLTGqsM.cjs} +0 -0
package/dist/data.cjs CHANGED
@@ -1,19 +1,28 @@
1
- const require_all_fields = require('./all-fields.cjs');
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 general = require_all_fields.getGeneral(datum);
6
- const seasonResult = require_all_fields.getSeasonResult(datum);
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
- obj[key] = {
14
- value,
15
- growth: value && prev?.[key] ? value - prev[key] : null
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
@@ -1,4 +1,4 @@
1
- import { a as FinancialDatum, i as ExtendedFinancialDatum } from "./data-Dr1RQuDQ.cjs";
1
+ import { _ as ExtendedFinancialDatum, v as FinancialDatum } from "./data-BifrD3Hs.cjs";
2
2
  import "./types/index.cjs";
3
3
 
4
4
  //#region src/data.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.cts","names":[],"sources":["../src/data.ts"],"sourcesContent":[],"mappings":";;;;iBAqBgB,cAAA,OACR,mBACL;iBASa,cAAA,OACR,4BACI,0BACT"}
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
@@ -1,4 +1,4 @@
1
- import { a as FinancialDatum, i as ExtendedFinancialDatum } from "./data-CEME1ilU.mjs";
1
+ import { _ as ExtendedFinancialDatum, v as FinancialDatum } from "./data-rDHl-GBR.mjs";
2
2
  import "./types/index.mjs";
3
3
 
4
4
  //#region src/data.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.mts","names":[],"sources":["../src/data.ts"],"sourcesContent":[],"mappings":";;;;iBAqBgB,cAAA,OACR,mBACL;iBASa,cAAA,OACR,4BACI,0BACT"}
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 { allSortableFields, getGeneral, getSeasonResult } from "./all-fields.mjs";
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 general = getGeneral(datum);
6
- const seasonResult = getSeasonResult(datum);
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
- obj[key] = {
14
- value,
15
- growth: value && prev?.[key] ? value - prev[key] : null
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":["obj: ExtendedFinancialDatum"],"sources":["../src/data.ts"],"sourcesContent":["import { allSortableFields, getGeneral, getSeasonResult } from \"./all-fields\";\nimport type { FinancialDatum, ExtendedFinancialDatum } from \"./types\";\n\nfunction processDatum(datum: FinancialDatum, prev?: FinancialDatum | null) {\n const general = getGeneral(datum);\n const seasonResult = getSeasonResult(datum);\n const obj: ExtendedFinancialDatum = {\n ...general,\n ...seasonResult,\n } as any;\n\n for (const key of allSortableFields) {\n const value = datum[key];\n obj[key] = {\n value,\n growth: value && prev?.[key] ? value - prev[key] : null,\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":";;;AAGA,SAAS,aAAa,OAAuB,MAA8B;CACzE,MAAM,UAAU,WAAW,MAAM;CACjC,MAAM,eAAe,gBAAgB,MAAM;CAC3C,MAAMA,MAA8B;EAClC,GAAG;EACH,GAAG;EACJ;AAED,MAAK,MAAM,OAAO,mBAAmB;EACnC,MAAM,QAAQ,MAAM;AACpB,MAAI,OAAO;GACT;GACA,QAAQ,SAAS,OAAO,OAAO,QAAQ,KAAK,OAAO;GACpD;;AAEH,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"}
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-C5g3hCzq.mjs.map
102
+ //# sourceMappingURL=dictionary-D9CmvgCW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary-C5g3hCzq.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"}
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"}
@@ -1,4 +1,4 @@
1
- const require_dictionary = require('./dictionary-BzN32kPK.cjs');
1
+ const require_dictionary = require('./dictionary-BZ_zUPSy.cjs');
2
2
 
3
3
  exports.getLabel = require_dictionary.getLabel;
4
4
  exports.getLabelWithOptions = require_dictionary.getLabelWithOptions;
@@ -1,4 +1,4 @@
1
- import { a as FinancialDatum } from "./data-Dr1RQuDQ.cjs";
1
+ import { v as FinancialDatum } from "./data-BifrD3Hs.cjs";
2
2
  import "./types/index.cjs";
3
3
 
4
4
  //#region src/dictionary.d.ts
@@ -1,4 +1,4 @@
1
- import { a as FinancialDatum } from "./data-CEME1ilU.mjs";
1
+ import { v as FinancialDatum } from "./data-rDHl-GBR.mjs";
2
2
  import "./types/index.mjs";
3
3
 
4
4
  //#region src/dictionary.d.ts
@@ -1,3 +1,3 @@
1
- import { n as getLabelWithOptions, t as getLabel } from "./dictionary-C5g3hCzq.mjs";
1
+ import { n as getLabelWithOptions, t as getLabel } from "./dictionary-D9CmvgCW.mjs";
2
2
 
3
3
  export { getLabel, getLabelWithOptions };
package/dist/index.cjs CHANGED
@@ -1,18 +1,21 @@
1
1
  const require_all_fields = require('./all-fields.cjs');
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');
2
+ const require_clubs = require('./clubs-B9ZOclEl.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.allFields = require_all_fields.allFields;
9
- exports.allSortableFields = require_all_fields.allSortableFields;
10
- exports.attdFields = require_all_fields.attdFields;
11
- exports.bsFields = require_all_fields.bsFields;
12
- exports.expenseFields = require_all_fields.expenseFields;
13
- exports.extendClubData = require_data.extendClubData;
14
- exports.extendYearData = require_data.extendYearData;
15
- exports.generalFields = require_all_fields.generalFields;
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 FinancialDatum, c as Revenue, i as ExtendedFinancialDatum, l as SeasonResult, n as BS, o as General, r as Expense, s as PL, t as Attd, u as SortalbeKeys } from "./data-Dr1RQuDQ.cjs";
2
- import { allFields, allSortableFields, attdFields, bsFields, expenseFields, generalFields, getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult, plFields, revenueFields } from "./all-fields.cjs";
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, PL, Revenue, SeasonResult, SortalbeKeys, YearInfo, allFields, allSortableFields, attdFields, bsFields, expenseFields, extendClubData, extendYearData, generalFields, getAllClubs, getAllYears, getAttd, getBS, getClubBySlug, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult, plFields, revenueFields };
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 FinancialDatum, c as Revenue, i as ExtendedFinancialDatum, l as SeasonResult, n as BS, o as General, r as Expense, s as PL, t as Attd, u as SortalbeKeys } from "./data-CEME1ilU.mjs";
2
- import { allFields, allSortableFields, attdFields, bsFields, expenseFields, generalFields, getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult, plFields, revenueFields } from "./all-fields.mjs";
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, PL, Revenue, SeasonResult, SortalbeKeys, YearInfo, allFields, allSortableFields, attdFields, bsFields, expenseFields, extendClubData, extendYearData, generalFields, getAllClubs, getAllYears, getAttd, getBS, getClubBySlug, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult, plFields, revenueFields };
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 { allFields, allSortableFields, attdFields, bsFields, expenseFields, generalFields, getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult, plFields, revenueFields } from "./all-fields.mjs";
2
- import { n as getClubBySlug, r as getClubsByCategory, t as getAllClubs } from "./clubs-BitYeQ3W.mjs";
3
- import { extendClubData, extendYearData } from "./data.mjs";
4
- import { n as getLabelWithOptions, t as getLabel } from "./dictionary-C5g3hCzq.mjs";
5
- import { t as getAllYears } from "./years-BwmUZcK_.mjs";
1
+ import { getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult } from "./all-fields.mjs";
2
+ import { n as getClubBySlug, r as getClubsByCategory, t as getAllClubs } from "./clubs-ECnq3cfm.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 { allFields, allSortableFields, attdFields, bsFields, expenseFields, extendClubData, extendYearData, generalFields, getAllClubs, getAllYears, getAttd, getBS, getClubBySlug, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult, plFields, revenueFields };
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 };
@@ -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;
@@ -1,2 +1,2 @@
1
- import { a as FinancialDatum, c as Revenue, i as ExtendedFinancialDatum, l as SeasonResult, n as BS, o as General, r as Expense, s as PL, t as Attd, u as SortalbeKeys } from "../data-Dr1RQuDQ.cjs";
2
- export { Attd, BS, Expense, ExtendedFinancialDatum, FinancialDatum, General, PL, Revenue, SeasonResult, SortalbeKeys };
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 };
@@ -1,2 +1,2 @@
1
- import { a as FinancialDatum, c as Revenue, i as ExtendedFinancialDatum, l as SeasonResult, n as BS, o as General, r as Expense, s as PL, t as Attd, u as SortalbeKeys } from "../data-CEME1ilU.mjs";
2
- export { Attd, BS, Expense, ExtendedFinancialDatum, FinancialDatum, General, PL, Revenue, SeasonResult, SortalbeKeys };
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 };
@@ -1 +1,3 @@
1
- export { };
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 };
@@ -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;
@@ -1,4 +1,4 @@
1
- import { a as FinancialDatum, c as Revenue, i as ExtendedFinancialDatum, l as SeasonResult, n as BS, o as General, r as Expense, s as PL, t as Attd, u as SortalbeKeys } from "../data-Dr1RQuDQ.cjs";
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
2
  import { t as ClubInfo } from "../club-CmkWZe16.cjs";
3
3
  import { t as YearInfo } from "../year-uMcmlIjv.cjs";
4
- export { Attd, BS, ClubInfo, Expense, ExtendedFinancialDatum, FinancialDatum, General, PL, Revenue, SeasonResult, SortalbeKeys, YearInfo };
4
+ 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 };
@@ -1,4 +1,4 @@
1
- import { a as FinancialDatum, c as Revenue, i as ExtendedFinancialDatum, l as SeasonResult, n as BS, o as General, r as Expense, s as PL, t as Attd, u as SortalbeKeys } from "../data-CEME1ilU.mjs";
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
2
  import { t as ClubInfo } from "../club-CauHQ_x1.mjs";
3
3
  import { t as YearInfo } from "../year-YIR3AeyZ.mjs";
4
- export { Attd, BS, ClubInfo, Expense, ExtendedFinancialDatum, FinancialDatum, General, PL, Revenue, SeasonResult, SortalbeKeys, YearInfo };
4
+ 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 };
@@ -1 +1,3 @@
1
- export { };
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 };
@@ -154,4 +154,4 @@ function getAllYears() {
154
154
 
155
155
  //#endregion
156
156
  export { getAllYears as t };
157
- //# sourceMappingURL=years-BwmUZcK_.mjs.map
157
+ //# sourceMappingURL=years-BD3YalWA.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"years-BwmUZcK_.mjs","names":["years"],"sources":["../src/data/years.json","../src/years.ts"],"sourcesContent":["","import type { YearInfo } from \"./types\";\nimport years from \"./data/years.json\";\n\nexport function getAllYears() {\n return years as YearInfo[];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGA,SAAgB,cAAc;AAC5B,QAAOA"}
1
+ {"version":3,"file":"years-BD3YalWA.mjs","names":["years"],"sources":["../src/data/years.json","../src/years.ts"],"sourcesContent":["","import type { YearInfo } from \"./types\";\nimport years from \"./data/years.json\";\n\nexport function getAllYears() {\n return years as YearInfo[];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGA,SAAgB,cAAc;AAC5B,QAAOA"}
package/dist/years.cjs CHANGED
@@ -1,3 +1,3 @@
1
- const require_years = require('./years-DRN0nquf.cjs');
1
+ const require_years = require('./years-BtLTGqsM.cjs');
2
2
 
3
3
  exports.getAllYears = require_years.getAllYears;
package/dist/years.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { t as getAllYears } from "./years-BwmUZcK_.mjs";
1
+ import { t as getAllYears } from "./years-BD3YalWA.mjs";
2
2
 
3
3
  export { getAllYears };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cieloazul310/jclub-financial-utils",
3
- "version": "0.0.1-alpha.3",
3
+ "version": "0.0.1-alpha.5",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/cieloazul310/jclub-financial-table",
6
6
  "author": {
@@ -52,13 +52,13 @@
52
52
  "dev": "npm run build -- --watch"
53
53
  },
54
54
  "devDependencies": {
55
- "@repo/eslint-config": "^0.0.1-alpha.3",
56
- "@repo/typescript-config": "^0.0.1-alpha.3",
57
- "@types/node": "^24.9.1",
58
- "eslint": "^9.34.0",
55
+ "@repo/eslint-config": "^0.0.1-alpha.5",
56
+ "@repo/typescript-config": "^0.0.1-alpha.5",
57
+ "@types/node": "^25.0.3",
58
+ "eslint": "^9.39.2",
59
59
  "tsdown": "^0.18.2",
60
- "tsx": "^4.20.6",
61
- "yaml": "^2.8.1"
60
+ "tsx": "^4.21.0",
61
+ "yaml": "^2.8.2"
62
62
  },
63
63
  "lint-staged": {
64
64
  "**/*.{js,mjs,cjs,ts,tsx}": [
@@ -1,163 +0,0 @@
1
- //#region src/types/data.d.ts
2
- type General = {
3
- id: string;
4
- name: string;
5
- slug: string;
6
- fullname: string;
7
- year: number;
8
- category: string;
9
- license: string | null;
10
- };
11
- type SeasonResult = {
12
- rank: number;
13
- points: number;
14
- ppg: number;
15
- elevation: "昇格" | "降格" | null;
16
- };
17
- type PL = {
18
- /** 営業収入 */
19
- revenue: number;
20
- /** 営業費用 */
21
- expense: number;
22
- /** 営業利益 */
23
- op_profit: number;
24
- /** 営業外収入 */
25
- no_rev: number | null;
26
- /** 営業外費用 */
27
- no_exp: number | null;
28
- /** 経常利益 */
29
- ordinary_profit: number;
30
- /** 特別利益 */
31
- sp_rev: number | null;
32
- /** 特別損失 */
33
- sp_exp: number | null;
34
- /** 税引前当期利益 */
35
- profit_before_tax: number | null;
36
- /** 法人税および住民税等 */
37
- tax: number | null;
38
- /** 当期純利益 */
39
- profit: number;
40
- /** 関連する法人の営業収入 */
41
- related_revenue: number | null;
42
- };
43
- type BS = {
44
- /** 流動資産 */
45
- curr_assets: number | null;
46
- /** 固定資産等 */
47
- fixed_assets: number | null;
48
- /** 総資産 */
49
- assets: number | null;
50
- /** 流動負債 */
51
- curr_liabilities: number | null;
52
- /** 固定負債 */
53
- fixed_liabilities: number | null;
54
- /** 総負債 */
55
- liabilities: number | null;
56
- /** 純資産 */
57
- net_worth: number | null;
58
- /** 資本金 */
59
- capital_stock: number | null;
60
- /** 資本剰余金 */
61
- capital_surplus: number | null;
62
- /** 利益剰余金 */
63
- retained_earnings: number | null;
64
- /** 当期純利益 */
65
- profit: number;
66
- };
67
- type Revenue = {
68
- /** 営業収入 */
69
- revenue: number;
70
- /** 広告料収入 */
71
- sponsor: number | null;
72
- /** 入場料収入 */
73
- ticket: number | null;
74
- /** Jリーグ配分金 */
75
- broadcast: number | null;
76
- /** アカデミー関連収入 */
77
- academy_rev: number | null;
78
- /** 女子チーム関連収入 */
79
- women_rev: number | null;
80
- /** 物販収入 */
81
- goods_rev: number | null;
82
- /** 移籍補償金等収入 */
83
- transfer_rev: number | null;
84
- /** 国外クラブからの収入 */
85
- transfer_int_rev: number | null;
86
- /** 国内クラブからの収入 */
87
- transfer_dom_rev: number | null;
88
- /** その他収入 */
89
- other_revs: number | null;
90
- /** 関連する法人の営業収入 */
91
- related_revenue: number | null;
92
- };
93
- type Expense = {
94
- /** 営業費用 */
95
- expense: number;
96
- /** チーム人件費 */
97
- salary: number | null;
98
- /** 移籍関連費用 */
99
- transfer_exp: number | null;
100
- /** 国外クラブからの移籍に関する費用 */
101
- transfer_int_exp: number | null;
102
- /** 国内クラブからの移籍に関する費用 */
103
- transfer_dom_exp: number | null;
104
- /** 事業費 */
105
- manage_exp: number | null;
106
- /** 総事業費 */
107
- general_exp: number | null;
108
- /** 試合関連経費 */
109
- game_exp: number | null;
110
- /** トップチーム運営経費 */
111
- team_exp: number | null;
112
- /** アカデミー関連経費 */
113
- academy_exp: number | null;
114
- /** 女子チーム運営経費 */
115
- women_exp: number | null;
116
- /** 物販関連費 */
117
- goods_exp: number | null;
118
- /** その他売上原価 */
119
- other_cost: number | null;
120
- /** 販売費および一般管理費 */
121
- sga: number | null;
122
- };
123
- type Attd = {
124
- /** 入場料収入 */
125
- ticket: number | null;
126
- /** リーグ戦入場者数 */
127
- league_attd: number;
128
- /** リーグ戦ホーム試合数 */
129
- league_games: number;
130
- /** リーグカップ入場者数 */
131
- leaguecup_attd: number | null;
132
- /** リーグカップホーム試合数 */
133
- leaguecup_games: number | null;
134
- /** PO入場者数 */
135
- po_attd: number | null;
136
- /** POホーム試合数 */
137
- po_games: number | null;
138
- /** ACL入場者数 */
139
- acl_attd: number | null;
140
- /** ACLホーム試合数 */
141
- acl_games: number | null;
142
- /** セカンドチーム入場者数 */
143
- second_attd: number | null;
144
- /** セカンドチームホーム試合数 */
145
- second_games: number | null;
146
- /** 総入場者数 */
147
- all_attd: number;
148
- /** ホーム総試合数 */
149
- all_games: number;
150
- /** リーグ戦平均入場者数 */
151
- average_attd: number;
152
- /** 客単価 */
153
- unit_price: number | null;
154
- };
155
- type FinancialDatum = General & SeasonResult & PL & BS & Revenue & Expense & Attd;
156
- type SortalbeKeys = keyof PL | keyof BS | keyof Revenue | keyof Expense | keyof Attd;
157
- type ExtendedFinancialDatum = General & SeasonResult & Record<SortalbeKeys, {
158
- value: number | null;
159
- growth: number | null;
160
- }>;
161
- //#endregion
162
- export { FinancialDatum as a, Revenue as c, ExtendedFinancialDatum as i, SeasonResult as l, BS as n, General as o, Expense as r, PL as s, Attd as t, SortalbeKeys as u };
163
- //# sourceMappingURL=data-CEME1ilU.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-CEME1ilU.d.mts","names":[],"sources":["../src/types/data.ts"],"sourcesContent":[],"mappings":";KAAY,OAAA;EAAA,EAAA,EAAA,MAAO;EASP,IAAA,EAAA,MAAA;EAMA,IAAA,EAAE,MAAA;EA0BF,QAAE,EAAA,MAAA;EAwBF,IAAA,EAAA,MAAO;EA0BP,QAAA,EAAO,MAAA;EA8BP,OAAI,EAAA,MAAA,GAAA,IAAA;AAiChB,CAAA;AAA6B,KAjJjB,YAAA,GAiJiB;EAC3B,IAAA,EAAA,MAAA;EACA,MAAA,EAAA,MAAA;EACA,GAAA,EAAA,MAAA;EACA,SAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA;CACA;AACA,KAjJU,EAAA,GAiJV;EAAI;EAEM,OAAA,EAAA,MAAY;EACd;EACA,OAAA,EAAA,MAAA;EACA;EACA,SAAA,EAAA,MAAA;EACA;EAAI,MAAA,EAAA,MAAA,GAAA,IAAA;EAEF;EAAyB,MAAA,EAAA,MAAA,GAAA,IAAA;EACnC;EACO,eAAA,EAAA,MAAA;EAAP;EAAM,MAAA,EAAA,MAAA,GAAA,IAAA;;;;;;;;;;;;KAlII,EAAA;;;;;;;;;;;;;;;;;;;;;;;;KAwBA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;KA0BA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8BA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiCA,cAAA,GAAiB,UAC3B,eACA,KACA,KACA,UACA,UACA;KAEU,YAAA,SACF,WACA,WACA,gBACA,gBACA;KAEE,sBAAA,GAAyB,UACnC,eACA,OAAO"}