Skip to content

Commit

Permalink
[standalone][chore] remove supabase altogether (#82)
Browse files Browse the repository at this point in the history
Follow up to #81 to remove
supabase altogether to avoid confusion and conflicts.
  • Loading branch information
akshaynarisetti committed Apr 28, 2024
2 parents c56d46b + c34794b commit 64985bc
Show file tree
Hide file tree
Showing 20 changed files with 72 additions and 347 deletions.
Expand Up @@ -3,7 +3,6 @@ import 'dart:convert';
import 'package:flutter/material.dart';

import '/backend/backend.dart';
import '/backend/supabase/supabase.dart';

import '../../flutter_flow/place.dart';
import '../../flutter_flow/uploaded_file.dart';
Expand Down Expand Up @@ -44,8 +43,6 @@ dynamic serializeParameter(dynamic value) {
return placeToString(value as FFPlace);
case FFUploadedFile:
return uploadedFileToString(value as FFUploadedFile);
case SupabaseDataRow:
return json.encode((value as SupabaseDataRow).data);
}

if (value is DocumentReference) {
Expand Down Expand Up @@ -144,13 +141,6 @@ T? getParameter<T>(Map<String, dynamic> data, String paramName) {
return placeFromString(param) as T;
case FFUploadedFile:
return uploadedFileFromString(param) as T;
case RecordsRow:
return RecordsRow(json.decode(param) as Map<String, dynamic>) as T;
case ConversationsRow:
return ConversationsRow(json.decode(param) as Map<String, dynamic>)
as T;
case UsersRow:
return UsersRow(json.decode(param) as Map<String, dynamic>) as T;
}
if (param is String) {
return FirebaseFirestore.instance.doc(param) as T;
Expand Down
10 changes: 0 additions & 10 deletions apps/AppStandalone/lib/backend/supabase/database/database.dart

This file was deleted.

94 changes: 0 additions & 94 deletions apps/AppStandalone/lib/backend/supabase/database/row.dart

This file was deleted.

89 changes: 0 additions & 89 deletions apps/AppStandalone/lib/backend/supabase/database/table.dart

This file was deleted.

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions apps/AppStandalone/lib/backend/supabase/database/tables/users.dart

This file was deleted.

23 changes: 0 additions & 23 deletions apps/AppStandalone/lib/backend/supabase/supabase.dart

This file was deleted.

1 change: 0 additions & 1 deletion apps/AppStandalone/lib/custom_code/actions/debug_log.dart
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down
Expand Up @@ -2,7 +2,6 @@
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/backend/supabase/supabase.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
Expand Down

0 comments on commit 64985bc

Please sign in to comment.