Skip to content

Commit

Permalink
chore: updated generated Supabase types
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 1, 2024
1 parent fb2c4f2 commit ffd0cb9
Showing 1 changed file with 0 additions and 340 deletions.
340 changes: 0 additions & 340 deletions src/types/database.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
export type Json = string | number | boolean | null | { [key: string]: Json | undefined } | Json[];

export type Database = {
graphql_public: {
Tables: {
[_ in never]: never;
};
Views: {
[_ in never]: never;
};
Functions: {
graphql: {
Args: {
operationName?: string;
query?: string;
variables?: Json;
extensions?: Json;
};
Returns: Json;
};
};
Enums: {
[_ in never]: never;
};
CompositeTypes: {
[_ in never]: never;
};
};
public: {
Tables: {
issue_comments: {
Expand Down Expand Up @@ -234,321 +209,6 @@ export type Database = {
[_ in never]: never;
};
};
storage: {
Tables: {
buckets: {
Row: {
allowed_mime_types: string[] | null;
avif_autodetection: boolean | null;
created_at: string | null;
file_size_limit: number | null;
id: string;
name: string;
owner: string | null;
owner_id: string | null;
public: boolean | null;
updated_at: string | null;
};
Insert: {
allowed_mime_types?: string[] | null;
avif_autodetection?: boolean | null;
created_at?: string | null;
file_size_limit?: number | null;
id: string;
name: string;
owner?: string | null;
owner_id?: string | null;
public?: boolean | null;
updated_at?: string | null;
};
Update: {
allowed_mime_types?: string[] | null;
avif_autodetection?: boolean | null;
created_at?: string | null;
file_size_limit?: number | null;
id?: string;
name?: string;
owner?: string | null;
owner_id?: string | null;
public?: boolean | null;
updated_at?: string | null;
};
Relationships: [];
};
migrations: {
Row: {
executed_at: string | null;
hash: string;
id: number;
name: string;
};
Insert: {
executed_at?: string | null;
hash: string;
id: number;
name: string;
};
Update: {
executed_at?: string | null;
hash?: string;
id?: number;
name?: string;
};
Relationships: [];
};
objects: {
Row: {
bucket_id: string | null;
created_at: string | null;
id: string;
last_accessed_at: string | null;
metadata: Json | null;
name: string | null;
owner: string | null;
owner_id: string | null;
path_tokens: string[] | null;
updated_at: string | null;
user_metadata: Json | null;
version: string | null;
};
Insert: {
bucket_id?: string | null;
created_at?: string | null;
id?: string;
last_accessed_at?: string | null;
metadata?: Json | null;
name?: string | null;
owner?: string | null;
owner_id?: string | null;
path_tokens?: string[] | null;
updated_at?: string | null;
user_metadata?: Json | null;
version?: string | null;
};
Update: {
bucket_id?: string | null;
created_at?: string | null;
id?: string;
last_accessed_at?: string | null;
metadata?: Json | null;
name?: string | null;
owner?: string | null;
owner_id?: string | null;
path_tokens?: string[] | null;
updated_at?: string | null;
user_metadata?: Json | null;
version?: string | null;
};
Relationships: [
{
foreignKeyName: "objects_bucketId_fkey";
columns: ["bucket_id"];
isOneToOne: false;
referencedRelation: "buckets";
referencedColumns: ["id"];
},
];
};
s3_multipart_uploads: {
Row: {
bucket_id: string;
created_at: string;
id: string;
in_progress_size: number;
key: string;
owner_id: string | null;
upload_signature: string;
user_metadata: Json | null;
version: string;
};
Insert: {
bucket_id: string;
created_at?: string;
id: string;
in_progress_size?: number;
key: string;
owner_id?: string | null;
upload_signature: string;
user_metadata?: Json | null;
version: string;
};
Update: {
bucket_id?: string;
created_at?: string;
id?: string;
in_progress_size?: number;
key?: string;
owner_id?: string | null;
upload_signature?: string;
user_metadata?: Json | null;
version?: string;
};
Relationships: [
{
foreignKeyName: "s3_multipart_uploads_bucket_id_fkey";
columns: ["bucket_id"];
isOneToOne: false;
referencedRelation: "buckets";
referencedColumns: ["id"];
},
];
};
s3_multipart_uploads_parts: {
Row: {
bucket_id: string;
created_at: string;
etag: string;
id: string;
key: string;
owner_id: string | null;
part_number: number;
size: number;
upload_id: string;
version: string;
};
Insert: {
bucket_id: string;
created_at?: string;
etag: string;
id?: string;
key: string;
owner_id?: string | null;
part_number: number;
size?: number;
upload_id: string;
version: string;
};
Update: {
bucket_id?: string;
created_at?: string;
etag?: string;
id?: string;
key?: string;
owner_id?: string | null;
part_number?: number;
size?: number;
upload_id?: string;
version?: string;
};
Relationships: [
{
foreignKeyName: "s3_multipart_uploads_parts_bucket_id_fkey";
columns: ["bucket_id"];
isOneToOne: false;
referencedRelation: "buckets";
referencedColumns: ["id"];
},
{
foreignKeyName: "s3_multipart_uploads_parts_upload_id_fkey";
columns: ["upload_id"];
isOneToOne: false;
referencedRelation: "s3_multipart_uploads";
referencedColumns: ["id"];
},
];
};
};
Views: {
[_ in never]: never;
};
Functions: {
can_insert_object: {
Args: {
bucketid: string;
name: string;
owner: string;
metadata: Json;
};
Returns: undefined;
};
extension: {
Args: {
name: string;
};
Returns: string;
};
filename: {
Args: {
name: string;
};
Returns: string;
};
foldername: {
Args: {
name: string;
};
Returns: string[];
};
get_size_by_bucket: {
Args: Record<PropertyKey, never>;
Returns: {
size: number;
bucket_id: string;
}[];
};
list_multipart_uploads_with_delimiter: {
Args: {
bucket_id: string;
prefix_param: string;
delimiter_param: string;
max_keys?: number;
next_key_token?: string;
next_upload_token?: string;
};
Returns: {
key: string;
id: string;
created_at: string;
}[];
};
list_objects_with_delimiter: {
Args: {
bucket_id: string;
prefix_param: string;
delimiter_param: string;
max_keys?: number;
start_after?: string;
next_token?: string;
};
Returns: {
name: string;
id: string;
metadata: Json;
updated_at: string;
}[];
};
operation: {
Args: Record<PropertyKey, never>;
Returns: string;
};
search: {
Args: {
prefix: string;
bucketname: string;
limits?: number;
levels?: number;
offsets?: number;
search?: string;
sortcolumn?: string;
sortorder?: string;
};
Returns: {
name: string;
id: string;
updated_at: string;
created_at: string;
last_accessed_at: string;
metadata: Json;
}[];
};
};
Enums: {
[_ in never]: never;
};
CompositeTypes: {
[_ in never]: never;
};
};
};

type PublicSchema = Database[Extract<keyof Database, "public">];
Expand Down

0 comments on commit ffd0cb9

Please sign in to comment.