Skip to content

Commit

Permalink
chore: gen types
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Struck committed Dec 9, 2023
1 parent f274237 commit f07ab2b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions native/db/types/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,16 @@ export interface Database {
};
Returns: string;
};
delete_barcode: {
Args: {
product_id: number;
barcode_to_delete: string;
};
Returns: {
updated_product_id: number;
updated_barcodes: string[];
}[];
};
get_previous_inventory: {
Args: {
inventory_id: number;
Expand Down Expand Up @@ -331,6 +341,17 @@ export interface Database {
updated_barcodes: string[];
}[];
};
update_barcode: {
Args: {
product_id: number;
old_barcode: string;
new_barcode: string;
};
Returns: {
updated_product_id: number;
updated_barcodes: string[];
}[];
};
};
Enums: {
[_ in never]: never;
Expand Down

0 comments on commit f07ab2b

Please sign in to comment.