@databallr/sdk 0.3.4 → 0.3.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.
- package/README.md +1 -0
- package/dist/generated/methods.d.ts +1 -1
- package/dist/generated/methods.js +1 -1
- package/dist/generated/schema.d.ts +10 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** First 12 hex characters of the SHA-256 of the key-callable spec these files came from. */
|
|
2
|
-
export declare const SPEC_HASH = "
|
|
2
|
+
export declare const SPEC_HASH = "4e8f67009423";
|
|
3
3
|
/**
|
|
4
4
|
* Every generated method: GET operations by path, POST queries as
|
|
5
5
|
* `POST <path>`. `Databallr` turns this table into `dbr.nba.players.search(...)`.
|
|
@@ -3110,6 +3110,8 @@ export interface components {
|
|
|
3110
3110
|
};
|
|
3111
3111
|
/** @description Only games in these calendar months (1-12), in any of the seasons: [12] is every December. Listed in the manifest's options as `months`. */
|
|
3112
3112
|
months?: number[];
|
|
3113
|
+
/** @description aWOWY's opponent adjustment (Ayomide Awoyemi, LUMA Basketball Research): the on/off states and lineups also count `oppadj_pts` on each side, the five opponents' ratings' share of that side's points (their defense on the team's possessions, their offense on theirs), with ratings fitted only on the three seasons before the game's (databallr's RAPM). Points minus oppadj_pts = points against an average opponent. Team totals are not adjusted. The answer's `opp_adjust` says whether it was applied. Listed in the manifest's options as `opp_adjust`. */
|
|
3114
|
+
opp_adjust?: boolean;
|
|
3113
3115
|
opp_filter?: {
|
|
3114
3116
|
/** @description Only games against these teams. */
|
|
3115
3117
|
opp_teams?: string[];
|
|
@@ -3174,6 +3176,14 @@ export interface components {
|
|
|
3174
3176
|
[key: string]: number;
|
|
3175
3177
|
};
|
|
3176
3178
|
}[];
|
|
3179
|
+
/** @description With `opp_adjust`: whether the opponent adjustment was counted (every season has opponent ratings) and how, or the seasons without ratings (then nothing is adjusted). */
|
|
3180
|
+
opp_adjust?: {
|
|
3181
|
+
applied: boolean;
|
|
3182
|
+
credit?: string;
|
|
3183
|
+
levels?: string;
|
|
3184
|
+
method?: string;
|
|
3185
|
+
missing_seasons?: number[];
|
|
3186
|
+
};
|
|
3177
3187
|
players?: ({
|
|
3178
3188
|
id: number;
|
|
3179
3189
|
minutes: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databallr/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "TypeScript client for the databallr API (NBA and WNBA stats, SixRings)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"openapi-typescript": "7.13.0",
|
|
26
26
|
"publint": "0.3.25",
|
|
27
27
|
"typescript": "5.9.3",
|
|
28
|
-
"vite": "8.2.
|
|
29
|
-
"vitest": "4.1.
|
|
28
|
+
"vite": "8.2.6",
|
|
29
|
+
"vitest": "4.1.12",
|
|
30
30
|
"@databallr/api-schemas": "0.1.0"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|