@cieloazul310/jclub-financial-utils 0.0.1-alpha.5 → 0.0.1-alpha.6
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/{clubs-B9ZOclEl.cjs → clubs-Bpokw8dA.cjs} +1 -1
- package/dist/{clubs-ECnq3cfm.mjs → clubs-CdRVlJPi.mjs} +2 -2
- package/dist/{clubs-ECnq3cfm.mjs.map → clubs-CdRVlJPi.mjs.map} +1 -1
- package/dist/clubs.cjs +1 -1
- package/dist/clubs.d.cts.map +1 -1
- package/dist/clubs.d.mts.map +1 -1
- package/dist/clubs.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{years-BtLTGqsM.cjs → years-B5VOLk4F.cjs} +1 -1
- package/dist/{years-BD3YalWA.mjs → years-CYHxC5qZ.mjs} +2 -2
- package/dist/{years-BD3YalWA.mjs.map → years-CYHxC5qZ.mjs.map} +1 -1
- package/dist/years.cjs +1 -1
- package/dist/years.d.cts.map +1 -1
- package/dist/years.d.mts.map +1 -1
- package/dist/years.mjs +1 -1
- package/package.json +3 -3
|
@@ -889,7 +889,7 @@ var clubs_default = [
|
|
|
889
889
|
//#endregion
|
|
890
890
|
//#region src/clubs.ts
|
|
891
891
|
function getAllClubs() {
|
|
892
|
-
return clubs_default;
|
|
892
|
+
return [...clubs_default];
|
|
893
893
|
}
|
|
894
894
|
function getClubBySlug(slug) {
|
|
895
895
|
return getAllClubs().find((club) => club.slug === slug);
|
|
@@ -888,7 +888,7 @@ var clubs_default = [
|
|
|
888
888
|
//#endregion
|
|
889
889
|
//#region src/clubs.ts
|
|
890
890
|
function getAllClubs() {
|
|
891
|
-
return clubs_default;
|
|
891
|
+
return [...clubs_default];
|
|
892
892
|
}
|
|
893
893
|
function getClubBySlug(slug) {
|
|
894
894
|
return getAllClubs().find((club) => club.slug === slug);
|
|
@@ -903,4 +903,4 @@ function getClubsByCategory(category) {
|
|
|
903
903
|
|
|
904
904
|
//#endregion
|
|
905
905
|
export { getClubBySlug as n, getClubsByCategory as r, getAllClubs as t };
|
|
906
|
-
//# sourceMappingURL=clubs-
|
|
906
|
+
//# sourceMappingURL=clubs-CdRVlJPi.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clubs-
|
|
1
|
+
{"version":3,"file":"clubs-CdRVlJPi.mjs","names":["clubs"],"sources":["../src/data/clubs.json","../src/clubs.ts"],"sourcesContent":["","import type { ClubInfo } from \"./types\";\nimport clubs from \"./data/clubs.json\";\n\nexport function getAllClubs() {\n const allClubs = clubs;\n return [...allClubs] as ClubInfo[];\n}\n\nexport function getClubBySlug(slug: string) {\n const clubs = getAllClubs();\n return clubs.find((club) => club.slug === slug);\n}\n\nexport function getClubsByCategory(category: string) {\n const clubs = getAllClubs();\n return clubs.filter((club) =>\n [\"J1\", \"J2\", \"J3\"].includes(category)\n ? club.category === category\n : [\"JFL\"].includes(club.category),\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGA,SAAgB,cAAc;AAE5B,QAAO,CAAC,GADSA,cACG;;AAGtB,SAAgB,cAAc,MAAc;AAE1C,QADc,aAAa,CACd,MAAM,SAAS,KAAK,SAAS,KAAK;;AAGjD,SAAgB,mBAAmB,UAAkB;AAEnD,QADc,aAAa,CACd,QAAQ,SACnB;EAAC;EAAM;EAAM;EAAK,CAAC,SAAS,SAAS,GACjC,KAAK,aAAa,WAClB,CAAC,MAAM,CAAC,SAAS,KAAK,SAAS,CACpC"}
|
package/dist/clubs.cjs
CHANGED
package/dist/clubs.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clubs.d.cts","names":[],"sources":["../src/clubs.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"clubs.d.cts","names":[],"sources":["../src/clubs.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAEU;iBAGV,aAAA,gBAA0B;iBAK1B,kBAAA,oBAAmC"}
|
package/dist/clubs.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clubs.d.mts","names":[],"sources":["../src/clubs.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"clubs.d.mts","names":[],"sources":["../src/clubs.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAEU;iBAGV,aAAA,gBAA0B;iBAK1B,kBAAA,oBAAmC"}
|
package/dist/clubs.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_all_fields = require('./all-fields.cjs');
|
|
2
|
-
const require_clubs = require('./clubs-
|
|
2
|
+
const require_clubs = require('./clubs-Bpokw8dA.cjs');
|
|
3
3
|
const require_data = require('./data-CGTGYuvt.cjs');
|
|
4
4
|
require('./types/index.cjs');
|
|
5
5
|
const require_data$1 = require('./data.cjs');
|
|
6
6
|
const require_dictionary = require('./dictionary-BZ_zUPSy.cjs');
|
|
7
|
-
const require_years = require('./years-
|
|
7
|
+
const require_years = require('./years-B5VOLk4F.cjs');
|
|
8
8
|
|
|
9
9
|
exports.AllAttdFields = require_data.AllAttdFields;
|
|
10
10
|
exports.AllBSFields = require_data.AllBSFields;
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
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-
|
|
2
|
+
import { n as getClubBySlug, r as getClubsByCategory, t as getAllClubs } from "./clubs-CdRVlJPi.mjs";
|
|
3
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";
|
|
4
4
|
import "./types/index.mjs";
|
|
5
5
|
import { extendClubData, extendYearData } from "./data.mjs";
|
|
6
6
|
import { n as getLabelWithOptions, t as getLabel } from "./dictionary-D9CmvgCW.mjs";
|
|
7
|
-
import { t as getAllYears } from "./years-
|
|
7
|
+
import { t as getAllYears } from "./years-CYHxC5qZ.mjs";
|
|
8
8
|
|
|
9
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 };
|
|
@@ -149,9 +149,9 @@ var years_default = [
|
|
|
149
149
|
//#endregion
|
|
150
150
|
//#region src/years.ts
|
|
151
151
|
function getAllYears() {
|
|
152
|
-
return years_default;
|
|
152
|
+
return [...years_default].sort((a, b) => a.year - b.year);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
//#endregion
|
|
156
156
|
export { getAllYears as t };
|
|
157
|
-
//# sourceMappingURL=years-
|
|
157
|
+
//# sourceMappingURL=years-CYHxC5qZ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"years-
|
|
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"}
|
package/dist/years.cjs
CHANGED
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,
|
|
1
|
+
{"version":3,"file":"years.d.cts","names":[],"sources":["../src/years.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAE0C"}
|
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,
|
|
1
|
+
{"version":3,"file":"years.d.mts","names":[],"sources":["../src/years.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,CAAA,GAE0C"}
|
package/dist/years.mjs
CHANGED
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.6",
|
|
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.6",
|
|
56
|
+
"@repo/typescript-config": "^0.0.1-alpha.6",
|
|
57
57
|
"@types/node": "^25.0.3",
|
|
58
58
|
"eslint": "^9.39.2",
|
|
59
59
|
"tsdown": "^0.18.2",
|