@srating-io/types 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/dist/fantasy.d.ts +19 -0
  2. package/package.json +1 -1
package/dist/fantasy.d.ts CHANGED
@@ -13,6 +13,24 @@ export interface FantasyPayoutRule {
13
13
  export type FantasyPayoutRules = {
14
14
  [fantasy_payout_rule_id: string]: FantasyPayoutRule;
15
15
  };
16
+ export interface FantasyPayout {
17
+ fantasy_payout_id: string;
18
+ fantasy_group_id: string;
19
+ fantasy_entry_id: string;
20
+ user_id: string;
21
+ rank: number | null;
22
+ amount: number;
23
+ method: string | null;
24
+ reference: string | null;
25
+ paid_at: string | null;
26
+ note: string | null;
27
+ date_of_entry: string;
28
+ guid: string;
29
+ deleted: number;
30
+ }
31
+ export type FantasyPayouts = {
32
+ [fantasy_payout_id: string]: FantasyPayout;
33
+ };
16
34
  export interface FantasyGroupInvite {
17
35
  fantasy_group_invite_id: string;
18
36
  fantasy_group_id: string;
@@ -81,6 +99,7 @@ export interface FantasyGroup {
81
99
  notified_15_mins: number;
82
100
  notified_finished: number;
83
101
  draft_time_per_user_in_seconds: number | null;
102
+ draft_order_seed: string | null;
84
103
  date_of_entry: string;
85
104
  guid: string;
86
105
  deleted: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@srating-io/types",
3
3
  "private": false,
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "description": "srating.io shared TypeScript types for GUI and API",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",