16 lines
419 B
TypeScript
16 lines
419 B
TypeScript
export default class WorkActions {
|
|
// static async getWork() {
|
|
// const { data, error } = await this.api.from("work").select("*");
|
|
|
|
// if (error) throw error;
|
|
// return data;
|
|
// }
|
|
|
|
// static async getWorkById(id: string) {
|
|
// const { data, error } = await this.api.from("work").select("*").eq("id", id);
|
|
|
|
// if (error) throw error;
|
|
// return data;
|
|
// }
|
|
}
|