@cieloazul310/jclub-financial-utils 0.0.1-alpha.6 → 0.0.1-alpha.8
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 +3 -3
- package/dist/all-fields.d.cts +1 -1
- package/dist/all-fields.d.mts +1 -1
- package/dist/all-fields.mjs +3 -3
- package/dist/all-fields.mjs.map +1 -1
- package/dist/{club-CauHQ_x1.d.mts → club-XBakdLnC.d.mts} +2 -2
- package/dist/club-XBakdLnC.d.mts.map +1 -0
- package/dist/club-dictionary.cjs +46 -0
- package/dist/club-dictionary.d.cts +26 -0
- package/dist/club-dictionary.d.cts.map +1 -0
- package/dist/club-dictionary.d.mts +26 -0
- package/dist/club-dictionary.d.mts.map +1 -0
- package/dist/club-dictionary.mjs +44 -0
- package/dist/club-dictionary.mjs.map +1 -0
- package/dist/{club-CmkWZe16.d.cts → club-ezWWFvf8.d.cts} +2 -2
- package/dist/club-ezWWFvf8.d.cts.map +1 -0
- package/dist/{clubs-Bpokw8dA.cjs → clubs-BoJOsnoJ.cjs} +151 -138
- package/dist/{clubs-CdRVlJPi.mjs → clubs-CWrmJ-o7.mjs} +147 -140
- package/dist/{clubs-CdRVlJPi.mjs.map → clubs-CWrmJ-o7.mjs.map} +1 -1
- package/dist/clubs.cjs +2 -1
- package/dist/clubs.d.cts +7 -2
- package/dist/clubs.d.cts.map +1 -1
- package/dist/clubs.d.mts +7 -2
- package/dist/clubs.d.mts.map +1 -1
- package/dist/clubs.mjs +2 -2
- package/dist/{data-BifrD3Hs.d.cts → data-8rg9TyXy.d.mts} +22 -8
- package/dist/data-8rg9TyXy.d.mts.map +1 -0
- package/dist/{data-CGTGYuvt.cjs → data-BSgR8Eao.cjs} +6 -7
- package/dist/{data-rDHl-GBR.d.mts → data-CknytKa6.d.cts} +22 -8
- package/dist/data-CknytKa6.d.cts.map +1 -0
- package/dist/{data-PJ-fpqmg.mjs → data-DQ33qXdV.mjs} +6 -7
- package/dist/data-DQ33qXdV.mjs.map +1 -0
- package/dist/data.cjs +3 -3
- package/dist/data.d.cts +1 -1
- package/dist/data.d.mts +1 -1
- package/dist/data.mjs +3 -3
- package/dist/data.mjs.map +1 -1
- package/dist/{dictionary-BZ_zUPSy.cjs → dictionary-B1HhYGNO.cjs} +2 -2
- package/dist/{dictionary-D9CmvgCW.mjs → dictionary-CHzb3HU_.mjs} +3 -3
- package/dist/dictionary-CHzb3HU_.mjs.map +1 -0
- package/dist/dictionary.cjs +1 -1
- package/dist/dictionary.d.cts +2 -2
- package/dist/dictionary.d.mts +2 -2
- package/dist/dictionary.mjs +1 -1
- package/dist/index.cjs +12 -6
- package/dist/index.d.cts +7 -6
- package/dist/index.d.mts +7 -6
- package/dist/index.mjs +6 -5
- package/dist/types/club.d.cts +1 -1
- package/dist/types/club.d.mts +1 -1
- package/dist/types/data.cjs +2 -2
- package/dist/types/data.d.cts +2 -2
- package/dist/types/data.d.mts +2 -2
- package/dist/types/data.mjs +2 -2
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.d.cts +4 -4
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.mjs +2 -2
- package/dist/types/year.d.cts +1 -1
- package/dist/types/year.d.mts +1 -1
- package/dist/{year-YIR3AeyZ.d.mts → year-BWTYD69L.d.cts} +1 -1
- package/dist/year-BWTYD69L.d.cts.map +1 -0
- package/dist/{year-uMcmlIjv.d.cts → year-DAScxhDV.d.mts} +1 -1
- package/dist/year-DAScxhDV.d.mts.map +1 -0
- package/dist/{years-B5VOLk4F.cjs → years-B04BT1Yh.mjs} +5 -7
- package/dist/years-B04BT1Yh.mjs.map +1 -0
- package/dist/{years-CYHxC5qZ.mjs → years-BUUrr09E.cjs} +16 -2
- package/dist/years.cjs +3 -2
- package/dist/years.d.cts +3 -2
- package/dist/years.d.cts.map +1 -1
- package/dist/years.d.mts +3 -2
- package/dist/years.d.mts.map +1 -1
- package/dist/years.mjs +2 -2
- package/package.json +3 -3
- package/dist/club-CauHQ_x1.d.mts.map +0 -1
- package/dist/club-CmkWZe16.d.cts.map +0 -1
- package/dist/data-BifrD3Hs.d.cts.map +0 -1
- package/dist/data-PJ-fpqmg.mjs.map +0 -1
- package/dist/data-rDHl-GBR.d.mts.map +0 -1
- package/dist/dictionary-D9CmvgCW.mjs.map +0 -1
- package/dist/year-YIR3AeyZ.d.mts.map +0 -1
- package/dist/year-uMcmlIjv.d.cts.map +0 -1
- package/dist/years-CYHxC5qZ.mjs.map +0 -1
- /package/dist/{club-DMPe0Tct.mjs → club-CjHhgzsk.mjs} +0 -0
- /package/dist/{year-DlsIuRa9.mjs → year-s5YwjW7B.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { getAttd, getBS, getExpense, getGeneral, getPL, getRevenue, getSeasonResult } from "./all-fields.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { clubInfoDictionary, getClubInfoLabel, getClubInfoLabelWithOptions } from "./club-dictionary.mjs";
|
|
3
|
+
import { i as getClubsByCategory, n as getClubById, r as getClubBySlug, t as getAllClubs } from "./clubs-CWrmJ-o7.mjs";
|
|
4
|
+
import { a as AllGeneralFields, c as AllSeasonResultFields, i as AllFinancialDatumFields, n as AllBSFields, o as AllPLFields, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields } from "./data-DQ33qXdV.mjs";
|
|
4
5
|
import "./types/index.mjs";
|
|
5
6
|
import { extendClubData, extendYearData } from "./data.mjs";
|
|
6
|
-
import { n as getLabelWithOptions, t as getLabel } from "./dictionary-
|
|
7
|
-
import { t as getAllYears } from "./years-
|
|
7
|
+
import { n as getLabelWithOptions, t as getLabel } from "./dictionary-CHzb3HU_.mjs";
|
|
8
|
+
import { n as getYearInfo, t as getAllYears } from "./years-B04BT1Yh.mjs";
|
|
8
9
|
|
|
9
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
10
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, clubInfoDictionary, extendClubData, extendYearData, getAllClubs, getAllYears, getAttd, getBS, getClubById, getClubBySlug, getClubInfoLabel, getClubInfoLabelWithOptions, getClubsByCategory, getExpense, getGeneral, getLabel, getLabelWithOptions, getPL, getRevenue, getSeasonResult, getYearInfo };
|
package/dist/types/club.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ClubInfo } from "../club-
|
|
1
|
+
import { t as ClubInfo } from "../club-ezWWFvf8.cjs";
|
|
2
2
|
export { ClubInfo };
|
package/dist/types/club.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ClubInfo } from "../club-
|
|
1
|
+
import { t as ClubInfo } from "../club-XBakdLnC.mjs";
|
|
2
2
|
export { ClubInfo };
|
package/dist/types/data.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const require_data = require('../data-
|
|
1
|
+
const require_data = require('../data-BSgR8Eao.cjs');
|
|
2
2
|
|
|
3
3
|
exports.AllAttdFields = require_data.AllAttdFields;
|
|
4
4
|
exports.AllBSFields = require_data.AllBSFields;
|
|
5
5
|
exports.AllExpenseFields = require_data.AllExpenseFields;
|
|
6
|
-
exports.
|
|
6
|
+
exports.AllFinancialDatumFields = require_data.AllFinancialDatumFields;
|
|
7
7
|
exports.AllGeneralFields = require_data.AllGeneralFields;
|
|
8
8
|
exports.AllPLFields = require_data.AllPLFields;
|
|
9
9
|
exports.AllRevenueFields = require_data.AllRevenueFields;
|
package/dist/types/data.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
1
|
+
import { C as PLFields, D as SeasonResultFields, E as SeasonResult, O as SortableFields, S as PL, T as RevenueFields, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as General, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFinancialDatumFields, k as SortableKeys, 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 Revenue, x as GeneralFields, y as FinancialDatumFields } from "../data-CknytKa6.cjs";
|
|
2
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, FinancialDatumFields, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableFields, SortableKeys };
|
package/dist/types/data.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
1
|
+
import { C as PLFields, D as SeasonResultFields, E as SeasonResult, O as SortableFields, S as PL, T as RevenueFields, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as General, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFinancialDatumFields, k as SortableKeys, 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 Revenue, x as GeneralFields, y as FinancialDatumFields } from "../data-8rg9TyXy.mjs";
|
|
2
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, FinancialDatumFields, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableFields, SortableKeys };
|
package/dist/types/data.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as AllGeneralFields, c as AllSeasonResultFields, i as
|
|
1
|
+
import { a as AllGeneralFields, c as AllSeasonResultFields, i as AllFinancialDatumFields, n as AllBSFields, o as AllPLFields, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields } from "../data-DQ33qXdV.mjs";
|
|
2
2
|
|
|
3
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
3
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields };
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const require_data = require('../data-
|
|
1
|
+
const require_data = require('../data-BSgR8Eao.cjs');
|
|
2
2
|
|
|
3
3
|
exports.AllAttdFields = require_data.AllAttdFields;
|
|
4
4
|
exports.AllBSFields = require_data.AllBSFields;
|
|
5
5
|
exports.AllExpenseFields = require_data.AllExpenseFields;
|
|
6
|
-
exports.
|
|
6
|
+
exports.AllFinancialDatumFields = require_data.AllFinancialDatumFields;
|
|
7
7
|
exports.AllGeneralFields = require_data.AllGeneralFields;
|
|
8
8
|
exports.AllPLFields = require_data.AllPLFields;
|
|
9
9
|
exports.AllRevenueFields = require_data.AllRevenueFields;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { t as ClubInfo } from "../club-
|
|
3
|
-
import { t as YearInfo } from "../year-
|
|
4
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
1
|
+
import { C as PLFields, D as SeasonResultFields, E as SeasonResult, O as SortableFields, S as PL, T as RevenueFields, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as General, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFinancialDatumFields, k as SortableKeys, 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 Revenue, x as GeneralFields, y as FinancialDatumFields } from "../data-CknytKa6.cjs";
|
|
2
|
+
import { t as ClubInfo } from "../club-ezWWFvf8.cjs";
|
|
3
|
+
import { t as YearInfo } from "../year-BWTYD69L.cjs";
|
|
4
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, ClubInfo, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, FinancialDatumFields, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableFields, SortableKeys, YearInfo };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { t as ClubInfo } from "../club-
|
|
3
|
-
import { t as YearInfo } from "../year-
|
|
4
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
1
|
+
import { C as PLFields, D as SeasonResultFields, E as SeasonResult, O as SortableFields, S as PL, T as RevenueFields, _ as ExtendedFinancialDatum, a as AllGeneralFields, b as General, c as AllSeasonResultFields, d as BS, f as BSFields, g as ExtendedDataLike, h as Extended, i as AllFinancialDatumFields, k as SortableKeys, 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 Revenue, x as GeneralFields, y as FinancialDatumFields } from "../data-8rg9TyXy.mjs";
|
|
2
|
+
import { t as ClubInfo } from "../club-XBakdLnC.mjs";
|
|
3
|
+
import { t as YearInfo } from "../year-DAScxhDV.mjs";
|
|
4
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields, Attd, AttdFields, BS, BSFields, ClubInfo, Expense, ExpenseFields, Extended, ExtendedDataLike, ExtendedFinancialDatum, FinancialDatum, FinancialDatumFields, General, GeneralFields, PL, PLFields, Revenue, RevenueFields, SeasonResult, SeasonResultFields, SortableFields, SortableKeys, YearInfo };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as AllGeneralFields, c as AllSeasonResultFields, i as
|
|
1
|
+
import { a as AllGeneralFields, c as AllSeasonResultFields, i as AllFinancialDatumFields, n as AllBSFields, o as AllPLFields, r as AllExpenseFields, s as AllRevenueFields, t as AllAttdFields } from "../data-DQ33qXdV.mjs";
|
|
2
2
|
|
|
3
|
-
export { AllAttdFields, AllBSFields, AllExpenseFields,
|
|
3
|
+
export { AllAttdFields, AllBSFields, AllExpenseFields, AllFinancialDatumFields, AllGeneralFields, AllPLFields, AllRevenueFields, AllSeasonResultFields };
|
package/dist/types/year.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as YearInfo } from "../year-
|
|
1
|
+
import { t as YearInfo } from "../year-BWTYD69L.cjs";
|
|
2
2
|
export { YearInfo };
|
package/dist/types/year.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as YearInfo } from "../year-
|
|
1
|
+
import { t as YearInfo } from "../year-DAScxhDV.mjs";
|
|
2
2
|
export { YearInfo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"year-BWTYD69L.d.cts","names":[],"sources":["../src/types/year.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"year-DAScxhDV.d.mts","names":[],"sources":["../src/types/year.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
//#region src/data/years.json
|
|
3
2
|
var years_default = [
|
|
4
3
|
{
|
|
@@ -152,11 +151,10 @@ var years_default = [
|
|
|
152
151
|
function getAllYears() {
|
|
153
152
|
return [...years_default].sort((a, b) => a.year - b.year);
|
|
154
153
|
}
|
|
154
|
+
function getYearInfo(year) {
|
|
155
|
+
return getAllYears().find((yearInfo) => yearInfo.year === year);
|
|
156
|
+
}
|
|
155
157
|
|
|
156
158
|
//#endregion
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
get: function () {
|
|
160
|
-
return getAllYears;
|
|
161
|
-
}
|
|
162
|
-
});
|
|
159
|
+
export { getYearInfo as n, getAllYears as t };
|
|
160
|
+
//# sourceMappingURL=years-B04BT1Yh.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"years-B04BT1Yh.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 const allYears = years;\n return [...allYears].sort((a, b) => a.year - b.year) as YearInfo[];\n}\n\nexport function getYearInfo(year: number) {\n const allYears = getAllYears();\n return allYears.find((yearInfo) => yearInfo.year === year);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGA,SAAgB,cAAc;AAE5B,QAAO,CAAC,GADSA,cACG,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,KAAK;;AAGtD,SAAgB,YAAY,MAAc;AAExC,QADiB,aAAa,CACd,MAAM,aAAa,SAAS,SAAS,KAAK"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
//#region src/data/years.json
|
|
2
3
|
var years_default = [
|
|
3
4
|
{
|
|
@@ -151,7 +152,20 @@ var years_default = [
|
|
|
151
152
|
function getAllYears() {
|
|
152
153
|
return [...years_default].sort((a, b) => a.year - b.year);
|
|
153
154
|
}
|
|
155
|
+
function getYearInfo(year) {
|
|
156
|
+
return getAllYears().find((yearInfo) => yearInfo.year === year);
|
|
157
|
+
}
|
|
154
158
|
|
|
155
159
|
//#endregion
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
Object.defineProperty(exports, 'getAllYears', {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () {
|
|
163
|
+
return getAllYears;
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(exports, 'getYearInfo', {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () {
|
|
169
|
+
return getYearInfo;
|
|
170
|
+
}
|
|
171
|
+
});
|
package/dist/years.cjs
CHANGED
package/dist/years.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { t as YearInfo } from "./year-
|
|
1
|
+
import { t as YearInfo } from "./year-BWTYD69L.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/years.d.ts
|
|
5
5
|
declare function getAllYears(): YearInfo[];
|
|
6
|
+
declare function getYearInfo(year: number): YearInfo | undefined;
|
|
6
7
|
//#endregion
|
|
7
|
-
export { getAllYears };
|
|
8
|
+
export { getAllYears, getYearInfo };
|
|
8
9
|
//# sourceMappingURL=years.d.cts.map
|
package/dist/years.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"years.d.cts","names":[],"sources":["../src/years.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAE0C"}
|
|
1
|
+
{"version":3,"file":"years.d.cts","names":[],"sources":["../src/years.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAE0C;iBAG1C,WAAA,gBAAwB"}
|
package/dist/years.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { t as YearInfo } from "./year-
|
|
1
|
+
import { t as YearInfo } from "./year-DAScxhDV.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/years.d.ts
|
|
5
5
|
declare function getAllYears(): YearInfo[];
|
|
6
|
+
declare function getYearInfo(year: number): YearInfo | undefined;
|
|
6
7
|
//#endregion
|
|
7
|
-
export { getAllYears };
|
|
8
|
+
export { getAllYears, getYearInfo };
|
|
8
9
|
//# sourceMappingURL=years.d.mts.map
|
package/dist/years.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"years.d.mts","names":[],"sources":["../src/years.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAE0C"}
|
|
1
|
+
{"version":3,"file":"years.d.mts","names":[],"sources":["../src/years.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAE0C;iBAG1C,WAAA,gBAAwB"}
|
package/dist/years.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as getAllYears } from "./years-
|
|
1
|
+
import { n as getYearInfo, t as getAllYears } from "./years-B04BT1Yh.mjs";
|
|
2
2
|
|
|
3
|
-
export { getAllYears };
|
|
3
|
+
export { getAllYears, getYearInfo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cieloazul310/jclub-financial-utils",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/cieloazul310/jclub-financial-table",
|
|
6
6
|
"author": {
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"dev": "npm run build -- --watch"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@repo/eslint-config": "^0.0.1-alpha.
|
|
56
|
-
"@repo/typescript-config": "^0.0.1-alpha.
|
|
55
|
+
"@repo/eslint-config": "^0.0.1-alpha.8",
|
|
56
|
+
"@repo/typescript-config": "^0.0.1-alpha.8",
|
|
57
57
|
"@types/node": "^25.0.3",
|
|
58
58
|
"eslint": "^9.39.2",
|
|
59
59
|
"tsdown": "^0.18.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"club-CauHQ_x1.d.mts","names":[],"sources":["../src/types/club.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"club-CmkWZe16.d.cts","names":[],"sources":["../src/types/club.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data-BifrD3Hs.d.cts","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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"year-YIR3AeyZ.d.mts","names":[],"sources":["../src/types/year.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"year-uMcmlIjv.d.cts","names":[],"sources":["../src/types/year.ts"],"sourcesContent":[],"mappings":";KAAY,QAAA;EAAA,EAAA,EAAA,MAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"years-CYHxC5qZ.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 const allYears = years;\n return [...allYears].sort((a, b) => a.year - b.year) as YearInfo[];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGA,SAAgB,cAAc;AAE5B,QAAO,CAAC,GADSA,cACG,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,KAAK"}
|
|
File without changes
|
|
File without changes
|