Update supabase.d.ts
This commit is contained in:
parent
ed33f1886c
commit
5c176ebbcf
96
types/supabase.d.ts
vendored
96
types/supabase.d.ts
vendored
@ -105,6 +105,38 @@ export type Database = {
|
|||||||
};
|
};
|
||||||
Relationships: [];
|
Relationships: [];
|
||||||
};
|
};
|
||||||
|
lineups: {
|
||||||
|
Row: {
|
||||||
|
batting_order: number | null;
|
||||||
|
created_at: string;
|
||||||
|
id: number;
|
||||||
|
position: string;
|
||||||
|
rostered_player_id: number;
|
||||||
|
};
|
||||||
|
Insert: {
|
||||||
|
batting_order?: number | null;
|
||||||
|
created_at?: string;
|
||||||
|
id?: number;
|
||||||
|
position: string;
|
||||||
|
rostered_player_id: number;
|
||||||
|
};
|
||||||
|
Update: {
|
||||||
|
batting_order?: number | null;
|
||||||
|
created_at?: string;
|
||||||
|
id?: number;
|
||||||
|
position?: string;
|
||||||
|
rostered_player_id?: number;
|
||||||
|
};
|
||||||
|
Relationships: [
|
||||||
|
{
|
||||||
|
foreignKeyName: "lineups_rostered_player_id_fkey";
|
||||||
|
columns: ["rostered_player_id"];
|
||||||
|
isOneToOne: false;
|
||||||
|
referencedRelation: "rostered_players";
|
||||||
|
referencedColumns: ["id"];
|
||||||
|
},
|
||||||
|
];
|
||||||
|
};
|
||||||
mlb_player: {
|
mlb_player: {
|
||||||
Row: {
|
Row: {
|
||||||
first_name: string | null;
|
first_name: string | null;
|
||||||
@ -369,6 +401,42 @@ export type Database = {
|
|||||||
};
|
};
|
||||||
Relationships: [];
|
Relationships: [];
|
||||||
};
|
};
|
||||||
|
rostered_players: {
|
||||||
|
Row: {
|
||||||
|
card_id: number;
|
||||||
|
created_at: string;
|
||||||
|
id: number;
|
||||||
|
roster_id: number;
|
||||||
|
};
|
||||||
|
Insert: {
|
||||||
|
card_id: number;
|
||||||
|
created_at?: string;
|
||||||
|
id?: number;
|
||||||
|
roster_id: number;
|
||||||
|
};
|
||||||
|
Update: {
|
||||||
|
card_id?: number;
|
||||||
|
created_at?: string;
|
||||||
|
id?: number;
|
||||||
|
roster_id?: number;
|
||||||
|
};
|
||||||
|
Relationships: [
|
||||||
|
{
|
||||||
|
foreignKeyName: "rostered_players_card_id_fkey";
|
||||||
|
columns: ["card_id"];
|
||||||
|
isOneToOne: false;
|
||||||
|
referencedRelation: "cards";
|
||||||
|
referencedColumns: ["id"];
|
||||||
|
},
|
||||||
|
{
|
||||||
|
foreignKeyName: "rostered_players_roster_id_fkey";
|
||||||
|
columns: ["roster_id"];
|
||||||
|
isOneToOne: false;
|
||||||
|
referencedRelation: "rosters";
|
||||||
|
referencedColumns: ["id"];
|
||||||
|
},
|
||||||
|
];
|
||||||
|
};
|
||||||
rosters: {
|
rosters: {
|
||||||
Row: {
|
Row: {
|
||||||
created_at: string;
|
created_at: string;
|
||||||
@ -484,7 +552,10 @@ export type Database = {
|
|||||||
Row: {
|
Row: {
|
||||||
cardset_name: string | null;
|
cardset_name: string | null;
|
||||||
franchise_name: Database["public"]["Enums"]["franchise"] | null;
|
franchise_name: Database["public"]["Enums"]["franchise"] | null;
|
||||||
|
player_card_image: string | null;
|
||||||
|
player_card_image2: string | null;
|
||||||
player_cost: number | null;
|
player_cost: number | null;
|
||||||
|
player_headshot: string | null;
|
||||||
player_id: number | null;
|
player_id: number | null;
|
||||||
player_name: string | null;
|
player_name: string | null;
|
||||||
player_positions: string[] | null;
|
player_positions: string[] | null;
|
||||||
@ -628,6 +699,18 @@ export type Database = {
|
|||||||
| "Mario Super Sluggers"
|
| "Mario Super Sluggers"
|
||||||
| "Montreal Expos"
|
| "Montreal Expos"
|
||||||
| "Tampa Bay Devil Rays";
|
| "Tampa Bay Devil Rays";
|
||||||
|
position:
|
||||||
|
| "Pitcher"
|
||||||
|
| "Catcher"
|
||||||
|
| "First Base"
|
||||||
|
| "Second Base"
|
||||||
|
| "Third Base"
|
||||||
|
| "Shorstop"
|
||||||
|
| "Left Field"
|
||||||
|
| "Center Field"
|
||||||
|
| "Right Field"
|
||||||
|
| "Pinch Hitter"
|
||||||
|
| "Pinch Runner";
|
||||||
};
|
};
|
||||||
CompositeTypes: {
|
CompositeTypes: {
|
||||||
[_ in never]: never;
|
[_ in never]: never;
|
||||||
@ -783,6 +866,19 @@ export const Constants = {
|
|||||||
"Montreal Expos",
|
"Montreal Expos",
|
||||||
"Tampa Bay Devil Rays",
|
"Tampa Bay Devil Rays",
|
||||||
],
|
],
|
||||||
|
position: [
|
||||||
|
"Pitcher",
|
||||||
|
"Catcher",
|
||||||
|
"First Base",
|
||||||
|
"Second Base",
|
||||||
|
"Third Base",
|
||||||
|
"Shorstop",
|
||||||
|
"Left Field",
|
||||||
|
"Center Field",
|
||||||
|
"Right Field",
|
||||||
|
"Pinch Hitter",
|
||||||
|
"Pinch Runner",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user