Skip to content

Commit

Permalink
Merge branch 'kevin_cai/Add_schema_to_supabase' of github.com:calblue…
Browse files Browse the repository at this point in the history
…print/shanti-project into kevin_cai/Add_schema_to_supabase
  • Loading branch information
kevinjcai committed Oct 15, 2023
2 parents ab9c9f5 + 99eacc0 commit 163de22
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 517 deletions.
34 changes: 1 addition & 33 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,39 +1,7 @@
import Link from 'next/link';
import {
testFetchUserData,
testFetchUserByUUID,
testAddUserAddress,
} from '../supabase/tests/user_test';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import {
testFetchOrderByUUID,
testFetchOrders,
testGetOrderById,
testToggleOrderProgress,
testUpdateAllOrdersProgressToTrue,
} from '../supabase/tests/order_test';
import {
testFetchProducts,
testFetchProductByName,
} from '../supabase/tests/product_test';
import {
testFetchPickupData,
testFetchPickupTimesByUUID,
} from '../supabase/tests/pickup_test';

export default function Checkout() {
testFetchUserData();
testFetchUserByUUID();
testAddUserAddress();
testFetchOrderByUUID();
testFetchOrders();
testGetOrderById();
testToggleOrderProgress();
testFetchProducts();
testFetchProductByName();
testFetchPickupData();
testFetchPickupTimesByUUID();
// testUpdateAllOrdersProgressToTrue();


return (
<main>
Expand Down
38 changes: 0 additions & 38 deletions src/schema/schema.ts

This file was deleted.

163 changes: 0 additions & 163 deletions src/supabase/order_queries.ts

This file was deleted.

59 changes: 0 additions & 59 deletions src/supabase/pickup_queries.ts

This file was deleted.

58 changes: 0 additions & 58 deletions src/supabase/product_queries.ts

This file was deleted.

Loading

0 comments on commit 163de22

Please sign in to comment.