tenniscommon 1.1.41 → 1.1.43
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/README.md
CHANGED
|
@@ -17,4 +17,4 @@ Because it’s consumed by both Node.js and Next.js, `tenniscommon` is built in
|
|
|
17
17
|
- **ES Modules (ESM)** output in `dist/esm`
|
|
18
18
|
- **Type declarations** in `dist/types`
|
|
19
19
|
|
|
20
|
-
This allows modern ESM tooling (like Next.js) and traditional Node.js CommonJS usage to both work cleanly from the same package
|
|
20
|
+
This allows modern ESM tooling (like Next.js) and traditional Node.js CommonJS usage to both work cleanly from the same package.
|
|
@@ -91,7 +91,6 @@ export declare const MATCH_ARRAYS: {
|
|
|
91
91
|
export interface MatchplayUIItem extends MatchplayItem {
|
|
92
92
|
groupKey: string;
|
|
93
93
|
groupDate: Date;
|
|
94
|
-
groupColor: string;
|
|
95
94
|
partnerName?: string;
|
|
96
95
|
opponentName: string;
|
|
97
96
|
opponentNameTwo?: string;
|
|
@@ -167,6 +166,11 @@ export interface MatchplayItem {
|
|
|
167
166
|
commentPlayer?: string;
|
|
168
167
|
points?: PointStats;
|
|
169
168
|
}
|
|
169
|
+
export interface MatchplayUIResponse {
|
|
170
|
+
matchplayUIData: Record<string, MatchplayUIItem[]>;
|
|
171
|
+
opponentNameMap: Record<string, string>;
|
|
172
|
+
tournamentNameMap: Record<string, string>;
|
|
173
|
+
}
|
|
170
174
|
export interface MatchplayStats {
|
|
171
175
|
Career: StatsPack;
|
|
172
176
|
CareerSingles: StatsPack;
|
|
@@ -91,7 +91,6 @@ export declare const MATCH_ARRAYS: {
|
|
|
91
91
|
export interface MatchplayUIItem extends MatchplayItem {
|
|
92
92
|
groupKey: string;
|
|
93
93
|
groupDate: Date;
|
|
94
|
-
groupColor: string;
|
|
95
94
|
partnerName?: string;
|
|
96
95
|
opponentName: string;
|
|
97
96
|
opponentNameTwo?: string;
|
|
@@ -167,6 +166,11 @@ export interface MatchplayItem {
|
|
|
167
166
|
commentPlayer?: string;
|
|
168
167
|
points?: PointStats;
|
|
169
168
|
}
|
|
169
|
+
export interface MatchplayUIResponse {
|
|
170
|
+
matchplayUIData: Record<string, MatchplayUIItem[]>;
|
|
171
|
+
opponentNameMap: Record<string, string>;
|
|
172
|
+
tournamentNameMap: Record<string, string>;
|
|
173
|
+
}
|
|
170
174
|
export interface MatchplayStats {
|
|
171
175
|
Career: StatsPack;
|
|
172
176
|
CareerSingles: StatsPack;
|
|
@@ -91,7 +91,6 @@ export declare const MATCH_ARRAYS: {
|
|
|
91
91
|
export interface MatchplayUIItem extends MatchplayItem {
|
|
92
92
|
groupKey: string;
|
|
93
93
|
groupDate: Date;
|
|
94
|
-
groupColor: string;
|
|
95
94
|
partnerName?: string;
|
|
96
95
|
opponentName: string;
|
|
97
96
|
opponentNameTwo?: string;
|
|
@@ -167,6 +166,11 @@ export interface MatchplayItem {
|
|
|
167
166
|
commentPlayer?: string;
|
|
168
167
|
points?: PointStats;
|
|
169
168
|
}
|
|
169
|
+
export interface MatchplayUIResponse {
|
|
170
|
+
matchplayUIData: Record<string, MatchplayUIItem[]>;
|
|
171
|
+
opponentNameMap: Record<string, string>;
|
|
172
|
+
tournamentNameMap: Record<string, string>;
|
|
173
|
+
}
|
|
170
174
|
export interface MatchplayStats {
|
|
171
175
|
Career: StatsPack;
|
|
172
176
|
CareerSingles: StatsPack;
|