dupr-js-client 2.0.0 → 2.2.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/dist/index.d.ts +3 -3
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -233,7 +233,7 @@ interface ExternalMatchRequest {
|
|
|
233
233
|
/** Display-only bracket name. */
|
|
234
234
|
bracket?: string;
|
|
235
235
|
/** DUPR Club unique identifier. Required when matchSource is CLUB. */
|
|
236
|
-
clubId?: number;
|
|
236
|
+
clubId?: string | number;
|
|
237
237
|
/** Optional key-value metadata. */
|
|
238
238
|
extras?: Record<string, string>;
|
|
239
239
|
matchCompletionType?: MatchCompletionType;
|
|
@@ -261,7 +261,7 @@ interface ExternalUpdateMatchRequest {
|
|
|
261
261
|
/** Display-only bracket name. */
|
|
262
262
|
bracket?: string;
|
|
263
263
|
/** DUPR Club unique identifier. */
|
|
264
|
-
clubId?: number;
|
|
264
|
+
clubId?: string | number;
|
|
265
265
|
/** Optional key-value metadata. */
|
|
266
266
|
extras?: Record<string, string>;
|
|
267
267
|
matchCompletionType?: MatchCompletionType;
|
|
@@ -318,7 +318,7 @@ interface CreateEventRequestV1 {
|
|
|
318
318
|
startDate: string;
|
|
319
319
|
endDate: string;
|
|
320
320
|
location?: string;
|
|
321
|
-
clubId?: number;
|
|
321
|
+
clubId?: string | number;
|
|
322
322
|
}
|
|
323
323
|
interface UpdateEventRequestV1 {
|
|
324
324
|
eventId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dupr-js-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "A comprehensive TypeScript/JavaScript client for the DUPR (Dynamic Universal Pickleball Rating) API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sunny Tambi",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"prepublishOnly": "npm run build && npm run typecheck"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@changesets/cli": "^2.31.0",
|
|
38
39
|
"@types/node": "^20.0.0",
|
|
39
40
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
40
41
|
"@typescript-eslint/parser": "^7.0.0",
|