@srating-io/types 1.1.6 → 2.0.1
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/api/api_key.d.ts +5 -0
- package/dist/api/audit_gui.d.ts +48 -0
- package/dist/api/billing.d.ts +55 -0
- package/dist/api/boxscore.d.ts +15 -0
- package/dist/api/coach_statistic_ranking.d.ts +7 -0
- package/dist/api/conference.d.ts +12 -0
- package/dist/api/conference_player_statistic_ranking.d.ts +9 -0
- package/dist/api/conference_statistic_ranking.d.ts +9 -0
- package/dist/api/dashboard.d.ts +136 -0
- package/dist/api/fantasy_bracket_slot.d.ts +10 -0
- package/dist/api/fantasy_draft_order.d.ts +15 -0
- package/dist/api/fantasy_entry.d.ts +37 -0
- package/dist/api/fantasy_entry_player_statistic_ranking.d.ts +9 -0
- package/dist/api/fantasy_group.d.ts +77 -0
- package/dist/api/fantasy_group_comment.d.ts +10 -0
- package/dist/api/fantasy_group_invite.d.ts +10 -0
- package/dist/api/favorite.d.ts +33 -0
- package/dist/api/league_player_statistic_ranking.d.ts +9 -0
- package/dist/api/league_statistic_ranking.d.ts +9 -0
- package/dist/api/notification.d.ts +7 -0
- package/dist/api/play_by_play.d.ts +17 -0
- package/dist/api/player.d.ts +18 -0
- package/dist/api/player_boxscore.d.ts +15 -0
- package/dist/api/player_statistic_ranking.d.ts +9 -0
- package/dist/api/prediction.d.ts +17 -0
- package/dist/api/ranking.d.ts +22 -0
- package/dist/api/search.d.ts +36 -0
- package/dist/api/secret.d.ts +3 -0
- package/dist/api/session.d.ts +5 -0
- package/dist/api/statistic_ranking.d.ts +9 -0
- package/dist/api/user.d.ts +44 -0
- package/dist/api/user_payment_token.d.ts +51 -0
- package/dist/audit.d.ts +88 -0
- package/dist/auth.d.ts +83 -0
- package/dist/fantasy.d.ts +200 -0
- package/dist/general.d.ts +6 -308
- package/dist/index.d.ts +36 -0
- package/dist/payments.d.ts +58 -0
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type searchArguments = {
|
|
2
|
+
name: string;
|
|
3
|
+
organization_id: string;
|
|
4
|
+
division_id: string;
|
|
5
|
+
team?: number;
|
|
6
|
+
player?: number;
|
|
7
|
+
coach?: number;
|
|
8
|
+
};
|
|
9
|
+
export interface SearchTeamResult {
|
|
10
|
+
team_id: string;
|
|
11
|
+
char6: string;
|
|
12
|
+
code: string;
|
|
13
|
+
name: string;
|
|
14
|
+
alt_name: string | null;
|
|
15
|
+
primary_color: string | null;
|
|
16
|
+
}
|
|
17
|
+
export interface SearchPlayerResult {
|
|
18
|
+
player_id: string;
|
|
19
|
+
first_name: string;
|
|
20
|
+
last_name: string;
|
|
21
|
+
begin: number;
|
|
22
|
+
end: number;
|
|
23
|
+
relevance_score: number;
|
|
24
|
+
}
|
|
25
|
+
export interface SearchCoachResult {
|
|
26
|
+
coach_id: string;
|
|
27
|
+
first_name: string;
|
|
28
|
+
last_name: string;
|
|
29
|
+
begin: number;
|
|
30
|
+
end: number;
|
|
31
|
+
}
|
|
32
|
+
export type searchResults = {
|
|
33
|
+
teams: null | SearchTeamResult[];
|
|
34
|
+
players: null | SearchPlayerResult[];
|
|
35
|
+
coaches: null | SearchCoachResult[];
|
|
36
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StatisticRanking } from '../general.ts';
|
|
2
|
+
import * as Basketball from '../basketball.ts';
|
|
3
|
+
import * as Football from '../football.ts';
|
|
4
|
+
export type getStatsArguments = {
|
|
5
|
+
organization_id: string;
|
|
6
|
+
} & Partial<StatisticRanking>;
|
|
7
|
+
export type getStatsResults = Basketball.StatisticRanking | Football.StatisticRanking | {
|
|
8
|
+
error: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { User, Notifications } from '../auth.ts';
|
|
2
|
+
import { loadAccountResults } from './billing.ts';
|
|
3
|
+
export type loadUserResults = {} | User;
|
|
4
|
+
export type loadResults = {} | {
|
|
5
|
+
user: User;
|
|
6
|
+
notifications: Notifications;
|
|
7
|
+
};
|
|
8
|
+
export type registerArguments = {
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
confirm_password: string;
|
|
12
|
+
};
|
|
13
|
+
export type registerResults = {
|
|
14
|
+
error: string;
|
|
15
|
+
} | false | string;
|
|
16
|
+
export type loginArguments = {
|
|
17
|
+
username: string;
|
|
18
|
+
password: string;
|
|
19
|
+
};
|
|
20
|
+
export type loginResults = false | string;
|
|
21
|
+
export type useLoginCodeArguments = {
|
|
22
|
+
code: string;
|
|
23
|
+
email: string;
|
|
24
|
+
};
|
|
25
|
+
export type useLoginCodeResults = {
|
|
26
|
+
error: string;
|
|
27
|
+
} | false | string;
|
|
28
|
+
export type forgotPasswordArguments = {
|
|
29
|
+
email: string;
|
|
30
|
+
};
|
|
31
|
+
export type forgotPasswordResults = {
|
|
32
|
+
error: string;
|
|
33
|
+
} | false | true;
|
|
34
|
+
export type resetPasswordArguments = {
|
|
35
|
+
password: string;
|
|
36
|
+
confirm_password: string;
|
|
37
|
+
};
|
|
38
|
+
export type resetPasswordResults = boolean;
|
|
39
|
+
export type updateAccountArguments = {
|
|
40
|
+
display_name?: string;
|
|
41
|
+
};
|
|
42
|
+
export type updateAccountResults = false | {
|
|
43
|
+
error: string;
|
|
44
|
+
} | loadAccountResults;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { User } from '../auth.ts';
|
|
2
|
+
import { UserPaymentToken, UserPaymentTokens } from '../payments.ts';
|
|
3
|
+
export type createBankAccountArguments = {
|
|
4
|
+
account_number: string;
|
|
5
|
+
routing_number: string;
|
|
6
|
+
account_holder_name: string;
|
|
7
|
+
};
|
|
8
|
+
export type createBankAccountResults = {
|
|
9
|
+
error: string;
|
|
10
|
+
} | {
|
|
11
|
+
error: {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
user: User;
|
|
16
|
+
user_payment_token: UserPaymentToken;
|
|
17
|
+
};
|
|
18
|
+
export type createDebitCardArguments = {
|
|
19
|
+
token: string;
|
|
20
|
+
};
|
|
21
|
+
export type createDebitCardResults = {
|
|
22
|
+
error: string;
|
|
23
|
+
} | {
|
|
24
|
+
error: {
|
|
25
|
+
message: string;
|
|
26
|
+
};
|
|
27
|
+
} | {
|
|
28
|
+
user: User;
|
|
29
|
+
user_payment_token: UserPaymentToken;
|
|
30
|
+
};
|
|
31
|
+
export type removeTokenArguments = {
|
|
32
|
+
user_payment_token_id: string;
|
|
33
|
+
};
|
|
34
|
+
export type removeTokenResults = {
|
|
35
|
+
error: string;
|
|
36
|
+
} | {
|
|
37
|
+
error: {
|
|
38
|
+
message: string;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
user: User;
|
|
42
|
+
user_payment_tokens: UserPaymentTokens;
|
|
43
|
+
};
|
|
44
|
+
export type setDefaultArguments = {
|
|
45
|
+
user_payment_token_id: string;
|
|
46
|
+
};
|
|
47
|
+
export type setDefaultResults = {
|
|
48
|
+
error: string;
|
|
49
|
+
} | {
|
|
50
|
+
user: User;
|
|
51
|
+
};
|
package/dist/audit.d.ts
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One row per distinct bug rather than per occurrence: `fingerprint` is derived server side, so a
|
|
3
|
+
* repeat bumps `occurrences` instead of inserting.
|
|
4
|
+
*
|
|
5
|
+
* `stack`, `state` and `json_context` are large and are only sent by `audit_gui.detail` -- the list
|
|
6
|
+
* endpoint leaves them out, which is why they are optional here.
|
|
7
|
+
*/
|
|
8
|
+
export interface AuditGui {
|
|
9
|
+
audit_gui_id: number;
|
|
10
|
+
fingerprint: string;
|
|
11
|
+
release: string;
|
|
12
|
+
source: string;
|
|
13
|
+
name: string | null;
|
|
14
|
+
message: string | null;
|
|
15
|
+
digest: string | null;
|
|
16
|
+
route: string | null;
|
|
17
|
+
stack?: string | null;
|
|
18
|
+
state?: string | null;
|
|
19
|
+
json_context?: string | null;
|
|
20
|
+
occurrences: number;
|
|
21
|
+
date_of_entry: string;
|
|
22
|
+
last_seen: string;
|
|
23
|
+
resolved: number;
|
|
24
|
+
deleted: number;
|
|
25
|
+
}
|
|
26
|
+
export type AuditGuis = {
|
|
27
|
+
[audit_gui_id: number]: AuditGui;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* One row per request to the public api. Written only when the caller presented an api key, so
|
|
31
|
+
* nothing the gui does lands here.
|
|
32
|
+
*/
|
|
33
|
+
export interface AuditApi {
|
|
34
|
+
audit_api_id: number;
|
|
35
|
+
api_key_id: number | null;
|
|
36
|
+
class: string | null;
|
|
37
|
+
function: string | null;
|
|
38
|
+
arguments: string | null;
|
|
39
|
+
date_of_entry: string;
|
|
40
|
+
deleted: number;
|
|
41
|
+
}
|
|
42
|
+
export type AuditApis = {
|
|
43
|
+
[audit_api_id: number]: AuditApi;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* A failure inside the api, one row per occurrence -- unlike `audit_gui` these are not grouped.
|
|
47
|
+
*/
|
|
48
|
+
export interface AuditError {
|
|
49
|
+
audit_error_id: number;
|
|
50
|
+
api_key_id: number | null;
|
|
51
|
+
class: string | null;
|
|
52
|
+
function: string | null;
|
|
53
|
+
arguments: string | null;
|
|
54
|
+
error: string | null;
|
|
55
|
+
date_of_entry: string;
|
|
56
|
+
deleted: number;
|
|
57
|
+
}
|
|
58
|
+
export type AuditErrors = {
|
|
59
|
+
[audit_error_id: number]: AuditError;
|
|
60
|
+
};
|
|
61
|
+
export interface AuditCreated {
|
|
62
|
+
audit_created_id: number;
|
|
63
|
+
api_key_id: number | null;
|
|
64
|
+
table: string | null;
|
|
65
|
+
id: string | null;
|
|
66
|
+
date_of_entry: string;
|
|
67
|
+
deleted: number;
|
|
68
|
+
}
|
|
69
|
+
export type AuditCreateds = {
|
|
70
|
+
[audit_created_id: number]: AuditCreated;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* One row per *column* changed by a generic update, not one per update.
|
|
74
|
+
*/
|
|
75
|
+
export interface AuditUpdated {
|
|
76
|
+
audit_updated_id: number;
|
|
77
|
+
api_key_id: number | null;
|
|
78
|
+
table: string | null;
|
|
79
|
+
id: string | null;
|
|
80
|
+
column: string | null;
|
|
81
|
+
old_value: string | null;
|
|
82
|
+
new_value: string | null;
|
|
83
|
+
date_of_entry: string;
|
|
84
|
+
deleted: number;
|
|
85
|
+
}
|
|
86
|
+
export type AuditUpdateds = {
|
|
87
|
+
[audit_updated_id: number]: AuditUpdated;
|
|
88
|
+
};
|
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
user_id: string;
|
|
3
|
+
username: string;
|
|
4
|
+
display_name: string | null;
|
|
5
|
+
stripe_customer: string;
|
|
6
|
+
role_type_terminology_id: string | null;
|
|
7
|
+
default_user_payment_token_id: string | null;
|
|
8
|
+
date_of_entry: string;
|
|
9
|
+
updated_at: string;
|
|
10
|
+
guid: string;
|
|
11
|
+
deleted: number;
|
|
12
|
+
}
|
|
13
|
+
export type Users = {
|
|
14
|
+
[user_id: string]: User;
|
|
15
|
+
};
|
|
16
|
+
export interface Session {
|
|
17
|
+
session_id: string;
|
|
18
|
+
user_id: string;
|
|
19
|
+
expires_at: string;
|
|
20
|
+
guid: string;
|
|
21
|
+
deleted: number;
|
|
22
|
+
}
|
|
23
|
+
export type Sessions = {
|
|
24
|
+
[session_id: string]: Session;
|
|
25
|
+
};
|
|
26
|
+
export interface LoginCode {
|
|
27
|
+
login_code_id: string;
|
|
28
|
+
user_id: string;
|
|
29
|
+
code: number;
|
|
30
|
+
date_of_entry: string;
|
|
31
|
+
guid: string;
|
|
32
|
+
deleted: number;
|
|
33
|
+
}
|
|
34
|
+
export type LoginCodes = {
|
|
35
|
+
[login_code_id: string]: LoginCode;
|
|
36
|
+
};
|
|
37
|
+
export interface Secret {
|
|
38
|
+
secret_id: string;
|
|
39
|
+
expires: string;
|
|
40
|
+
date_of_entry: string;
|
|
41
|
+
guid: string;
|
|
42
|
+
deleted: number;
|
|
43
|
+
}
|
|
44
|
+
export type Secrets = {
|
|
45
|
+
[secret_id: string]: Secret;
|
|
46
|
+
};
|
|
47
|
+
export interface ApiKey {
|
|
48
|
+
api_key_id: string;
|
|
49
|
+
key: string;
|
|
50
|
+
user_id: string;
|
|
51
|
+
subscription_id: string;
|
|
52
|
+
usage: number;
|
|
53
|
+
usage_limit: number;
|
|
54
|
+
read: number;
|
|
55
|
+
write: number;
|
|
56
|
+
hidden_access: number;
|
|
57
|
+
rate_limiter: number;
|
|
58
|
+
query: number;
|
|
59
|
+
expires: number;
|
|
60
|
+
last_reset: number;
|
|
61
|
+
guid: string;
|
|
62
|
+
deleted: number;
|
|
63
|
+
}
|
|
64
|
+
export type ApiKeys = {
|
|
65
|
+
[api_key_id: string]: ApiKey;
|
|
66
|
+
};
|
|
67
|
+
export interface Notification {
|
|
68
|
+
notification_id: string;
|
|
69
|
+
user_id: string;
|
|
70
|
+
notification_type_terminology_id: string;
|
|
71
|
+
title: string;
|
|
72
|
+
message: string;
|
|
73
|
+
table: string;
|
|
74
|
+
id: string;
|
|
75
|
+
sent: number;
|
|
76
|
+
cleared: number;
|
|
77
|
+
date_of_entry: string;
|
|
78
|
+
guid: string;
|
|
79
|
+
deleted: number;
|
|
80
|
+
}
|
|
81
|
+
export type Notifications = {
|
|
82
|
+
[notification_id: string]: Notification;
|
|
83
|
+
};
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
export interface FantasyPayoutRule {
|
|
2
|
+
fantasy_payout_rule_id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
json_payout_structure: object;
|
|
7
|
+
ordinal: number;
|
|
8
|
+
custom: number;
|
|
9
|
+
guid: string;
|
|
10
|
+
inactive: number;
|
|
11
|
+
deleted: number;
|
|
12
|
+
}
|
|
13
|
+
export type FantasyPayoutRules = {
|
|
14
|
+
[fantasy_payout_rule_id: string]: FantasyPayoutRule;
|
|
15
|
+
};
|
|
16
|
+
export interface FantasyGroupInvite {
|
|
17
|
+
fantasy_group_invite_id: string;
|
|
18
|
+
fantasy_group_id: string;
|
|
19
|
+
email: string;
|
|
20
|
+
code?: string;
|
|
21
|
+
joined: number;
|
|
22
|
+
expires: string;
|
|
23
|
+
date_of_entry: string;
|
|
24
|
+
guid: string;
|
|
25
|
+
deleted: number;
|
|
26
|
+
}
|
|
27
|
+
export type FantasyGroupInvites = {
|
|
28
|
+
[fantasy_group_invite_id: string]: FantasyGroupInvite;
|
|
29
|
+
};
|
|
30
|
+
export interface FantasyGroupUser {
|
|
31
|
+
fantasy_group_user_id: string;
|
|
32
|
+
fantasy_group_id: string;
|
|
33
|
+
user_id: string;
|
|
34
|
+
email?: string;
|
|
35
|
+
name?: string;
|
|
36
|
+
date_of_entry: string;
|
|
37
|
+
guid: string;
|
|
38
|
+
deleted: number;
|
|
39
|
+
}
|
|
40
|
+
export type FantasyGroupUsers = {
|
|
41
|
+
[fantasy_group_user_id: string]: FantasyGroupUser;
|
|
42
|
+
};
|
|
43
|
+
export interface FantasyGroupComment {
|
|
44
|
+
fantasy_group_comment_id: string;
|
|
45
|
+
fantasy_group_id: string;
|
|
46
|
+
comment_type_terminology_id: string;
|
|
47
|
+
user_id: string;
|
|
48
|
+
comment: string;
|
|
49
|
+
date_of_entry: string;
|
|
50
|
+
guid: string;
|
|
51
|
+
deleted: number;
|
|
52
|
+
}
|
|
53
|
+
export type FantasyGroupComments = {
|
|
54
|
+
[fantasy_group_comment_id: string]: FantasyGroupComment;
|
|
55
|
+
};
|
|
56
|
+
export interface FantasyGroup {
|
|
57
|
+
fantasy_group_id: string;
|
|
58
|
+
organization_id: string;
|
|
59
|
+
division_id: string;
|
|
60
|
+
season: number;
|
|
61
|
+
name: string;
|
|
62
|
+
fantasy_payout_rule_id: string | null;
|
|
63
|
+
fantasy_group_type_terminology_id: string | null;
|
|
64
|
+
draft_type_terminology_id: string | null;
|
|
65
|
+
draft_scoring_terminology_id: string | null;
|
|
66
|
+
start_date: string | null;
|
|
67
|
+
end_date: string | null;
|
|
68
|
+
draft_start_datetime: string | null;
|
|
69
|
+
cap: number;
|
|
70
|
+
entries: number | null;
|
|
71
|
+
entries_per_user: number;
|
|
72
|
+
free: number;
|
|
73
|
+
entry_fee: number | null;
|
|
74
|
+
open_invites: number;
|
|
75
|
+
locked: number;
|
|
76
|
+
private: number;
|
|
77
|
+
started: number;
|
|
78
|
+
drafted: number;
|
|
79
|
+
finished: number;
|
|
80
|
+
notified_24_hours: number;
|
|
81
|
+
notified_15_mins: number;
|
|
82
|
+
notified_finished: number;
|
|
83
|
+
draft_time_per_user_in_seconds: number | null;
|
|
84
|
+
date_of_entry: string;
|
|
85
|
+
guid: string;
|
|
86
|
+
deleted: number;
|
|
87
|
+
}
|
|
88
|
+
export type FantasyGroups = {
|
|
89
|
+
[fantasy_group_id: string]: FantasyGroup;
|
|
90
|
+
};
|
|
91
|
+
export interface FantasyEntry {
|
|
92
|
+
fantasy_entry_id: string;
|
|
93
|
+
fantasy_group_id: string;
|
|
94
|
+
user_id: string;
|
|
95
|
+
name: string;
|
|
96
|
+
paid: number;
|
|
97
|
+
date_of_entry: string;
|
|
98
|
+
guid: string;
|
|
99
|
+
deleted: number;
|
|
100
|
+
}
|
|
101
|
+
export type FantasyEntrys = {
|
|
102
|
+
[fantasy_entry_id: string]: FantasyEntry;
|
|
103
|
+
};
|
|
104
|
+
export interface FantasyDraftOrder {
|
|
105
|
+
fantasy_draft_order_id: string;
|
|
106
|
+
child_fantasy_draft_order_id: string | null;
|
|
107
|
+
fantasy_entry_id: string;
|
|
108
|
+
fantasy_group_id: string;
|
|
109
|
+
fantasy_entry_player_id: string;
|
|
110
|
+
round: number;
|
|
111
|
+
pick: number;
|
|
112
|
+
eligible: string;
|
|
113
|
+
expires: string;
|
|
114
|
+
notified: number;
|
|
115
|
+
picked: number;
|
|
116
|
+
guid: string;
|
|
117
|
+
deleted: number;
|
|
118
|
+
}
|
|
119
|
+
export type FantasyDraftOrders = {
|
|
120
|
+
[fantasy_draft_order_id: string]: FantasyDraftOrder;
|
|
121
|
+
};
|
|
122
|
+
export interface FantasyEntryPlayer {
|
|
123
|
+
fantasy_entry_player_id: string;
|
|
124
|
+
fantasy_group_id: string;
|
|
125
|
+
fantasy_entry_id: string;
|
|
126
|
+
player_team_season_id: string;
|
|
127
|
+
date_of_entry: string;
|
|
128
|
+
guid: string;
|
|
129
|
+
deleted: number;
|
|
130
|
+
}
|
|
131
|
+
export type FantasyEntryPlayers = {
|
|
132
|
+
[fantasy_entry_player_id: string]: FantasyEntryPlayer;
|
|
133
|
+
};
|
|
134
|
+
export interface FantasyBracketSlot {
|
|
135
|
+
fantasy_bracket_slot_id: string;
|
|
136
|
+
first_parent_fantasy_bracket_slot_id: string;
|
|
137
|
+
second_parent_fantasy_bracket_slot_id: string;
|
|
138
|
+
child_fantasy_bracket_slot_id: string;
|
|
139
|
+
fantasy_group_id: string;
|
|
140
|
+
fantasy_entry_id: string;
|
|
141
|
+
actual_first_team_id: string | null;
|
|
142
|
+
actual_second_team_id: string | null;
|
|
143
|
+
third_team_id: string | null;
|
|
144
|
+
picked_first_team_id: string | null;
|
|
145
|
+
picked_second_team_id: string | null;
|
|
146
|
+
picked_winner_team_id: string | null;
|
|
147
|
+
tie_breaker_total_score: number | null;
|
|
148
|
+
game_id: string | null;
|
|
149
|
+
region: string;
|
|
150
|
+
round: number;
|
|
151
|
+
slot: number;
|
|
152
|
+
locked: number;
|
|
153
|
+
picked: number;
|
|
154
|
+
date_of_entry: string;
|
|
155
|
+
guid: string;
|
|
156
|
+
deleted: number;
|
|
157
|
+
}
|
|
158
|
+
export type FantasyBracketSlots = {
|
|
159
|
+
[fantasy_bracket_slot_id: string]: FantasyBracketSlot;
|
|
160
|
+
};
|
|
161
|
+
export interface FantasyRanking {
|
|
162
|
+
fantasy_ranking_id: string;
|
|
163
|
+
parent_fantasy_ranking_id: string;
|
|
164
|
+
fantasy_group_id: string;
|
|
165
|
+
fantasy_entry_id: string;
|
|
166
|
+
date_of_rank: string;
|
|
167
|
+
max: number;
|
|
168
|
+
rank: number;
|
|
169
|
+
rank_delta_one: number;
|
|
170
|
+
rank_delta_seven: number;
|
|
171
|
+
points: number;
|
|
172
|
+
date_of_entry: string;
|
|
173
|
+
updated_at: string;
|
|
174
|
+
current: number;
|
|
175
|
+
guid: string;
|
|
176
|
+
deleted: number;
|
|
177
|
+
}
|
|
178
|
+
export type FantasyRankings = {
|
|
179
|
+
[fantasy_ranking_id: string]: FantasyRanking;
|
|
180
|
+
};
|
|
181
|
+
export interface FantasyEntryPlayerStatisticRanking {
|
|
182
|
+
fantasy_entry_player_statistic_ranking_id: string;
|
|
183
|
+
parent_fantasy_entry_player_statistic_ranking_id: string;
|
|
184
|
+
organization_id: string;
|
|
185
|
+
division_id: string;
|
|
186
|
+
season: number;
|
|
187
|
+
fantasy_group_id: string;
|
|
188
|
+
fantasy_entry_id: string;
|
|
189
|
+
fantasy_entry_player_id: string;
|
|
190
|
+
sport_player_statistic_id: string;
|
|
191
|
+
date_of_rank: string;
|
|
192
|
+
date_of_entry: string;
|
|
193
|
+
updated_at: string;
|
|
194
|
+
current: number;
|
|
195
|
+
guid: string;
|
|
196
|
+
deleted: number;
|
|
197
|
+
}
|
|
198
|
+
export type FantasyEntryPlayerStatisticRankings = {
|
|
199
|
+
[fantasy_entry_player_statistic_ranking_id: string]: FantasyEntryPlayerStatisticRanking;
|
|
200
|
+
};
|