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: [];
|
||||
};
|
||||
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: {
|
||||
Row: {
|
||||
first_name: string | null;
|
||||
@ -369,6 +401,42 @@ export type Database = {
|
||||
};
|
||||
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: {
|
||||
Row: {
|
||||
created_at: string;
|
||||
@ -484,7 +552,10 @@ export type Database = {
|
||||
Row: {
|
||||
cardset_name: string | null;
|
||||
franchise_name: Database["public"]["Enums"]["franchise"] | null;
|
||||
player_card_image: string | null;
|
||||
player_card_image2: string | null;
|
||||
player_cost: number | null;
|
||||
player_headshot: string | null;
|
||||
player_id: number | null;
|
||||
player_name: string | null;
|
||||
player_positions: string[] | null;
|
||||
@ -628,6 +699,18 @@ export type Database = {
|
||||
| "Mario Super Sluggers"
|
||||
| "Montreal Expos"
|
||||
| "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: {
|
||||
[_ in never]: never;
|
||||
@ -783,6 +866,19 @@ export const Constants = {
|
||||
"Montreal Expos",
|
||||
"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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user