Skip to content

Commit

Permalink
fix import/export needed deps
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Sep 25, 2024
1 parent ebb4bc5 commit 344def6
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 9 deletions.
1 change: 1 addition & 0 deletions firebase_functions/lib/firebase_functions.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export 'package:tekartik_firebase/firebase.dart';
export 'package:tekartik_firebase_firestore/firestore.dart'
show DocumentSnapshot;
export 'package:tekartik_firebase_functions/src/express_http_request.dart'
Expand Down
2 changes: 2 additions & 0 deletions firebase_functions/lib/firebase_functions_firestore.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ export 'package:tekartik_firebase_functions/src/firebase_functions_firestore.dar
DocumentBuilder,
DocumentBuilderDefaultMixin,
FirestoreFunctionsDefaultMixin;

export 'firebase_functions.dart';
2 changes: 2 additions & 0 deletions firebase_functions/lib/firebase_functions_scheduler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export 'package:tekartik_firebase_functions/src/firebase_functions_scheduler.dar
SchedulerFunctionsDefaultMixin,
ScheduleFunction,
SchedulerEventDefaultMixin;

export 'firebase_functions.dart';
1 change: 0 additions & 1 deletion firebase_functions/lib/src/firebase_functions.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// import 'package:tekartik_http/http_server.dart';
import 'dart:async';

import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase/firebase_mixin.dart';
import 'package:tekartik_firebase_auth/auth.dart';
import 'package:tekartik_firebase_functions/ff_server.dart';
Expand Down
1 change: 1 addition & 0 deletions firebase_functions/lib/utils.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export 'firebase_functions.dart';
export 'src/utils.dart'
show
CallRequestFromExpress,
Expand Down
1 change: 1 addition & 0 deletions firebase_functions_http/lib/firebase_functions_http.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export 'package:tekartik_firebase_functions/firebase_functions.dart';
export 'package:tekartik_firebase_functions_http/src/firebase_functions_http.dart'
show
FirebaseFunctionsHttp,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export 'firebase_functions_http.dart';
export 'src/mixin.dart' show firebaseFunctionsHttpHeaderUid;
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:path/path.dart';
import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase/firebase_mixin.dart';
import 'package:tekartik_firebase_firestore/firestore.dart';
import 'package:tekartik_firebase_functions/ff_server.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase_local/firebase_local.dart';

import 'firebase_functions_http.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
library;

import 'package:path/path.dart' as p;
import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase_functions/ff_server.dart';
import 'package:tekartik_firebase_functions_call_http/functions_call_memory.dart';
import 'package:tekartik_firebase_functions_http/firebase_functions_memory.dart';
Expand Down
1 change: 1 addition & 0 deletions firebase_functions_io/lib/firebase_functions_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:tekartik_firebase_functions_http/firebase_functions_http.dart';
import 'package:tekartik_firebase_functions_io/src/firebase_functions_io.dart'
as io;

export 'package:tekartik_firebase_functions/firebase_functions.dart';
export 'package:tekartik_firebase_functions_http/firebase_functions_http.dart';
export 'package:tekartik_firebase_functions_io/src/firebase_functions_io.dart'
show serve;
Expand Down
1 change: 0 additions & 1 deletion firebase_functions_io/lib/src/firebase_functions_io.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'dart:io' as io;

import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase_functions_http/src/firebase_functions_http.dart'; // ignore: implementation_imports
import 'package:tekartik_firebase_functions_io/src/express_http_request_io.dart';
import 'package:tekartik_firebase_local/firebase_local.dart';
Expand Down
5 changes: 5 additions & 0 deletions firebase_functions_io/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ dependencies:
url: https://github.com/tekartik/firebase.dart
path: firebase_local
ref: dart3a
tekartik_firebase_functions:
git:
url: https://github.com/tekartik/firebase_functions.dart
ref: dart3a
path: firebase_functions
dev_dependencies:
test: ">=1.2.0"
build_runner: ">=0.8.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ library;

import 'dart:async';

import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase_functions_http/test/firebase_functions_test_context_http.dart';
import 'package:tekartik_firebase_functions_io/firebase_functions_io.dart';
import 'package:tekartik_firebase_functions_test/firebase_functions_setup.dart';
Expand Down
1 change: 1 addition & 0 deletions firebase_functions_test/lib/firebase_functions_setup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:tekartik_firebase_functions_test/src/import.dart';

import 'constants.dart';
import 'firebase_functions_test.dart';
export 'package:tekartik_firebase_functions/firebase_functions.dart';

void echoBytesHandler(ExpressHttpRequest request) {
var body = request.body;
Expand Down
3 changes: 3 additions & 0 deletions firebase_functions_test/lib/firebase_functions_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import 'package:test/test.dart';
import 'constants.dart';
import 'src/import.dart';

export 'package:tekartik_firebase_functions/firebase_functions.dart';
export 'package:tekartik_http/http_utils.dart';

export 'src/firebase_functions_test_context.dart';
Expand All @@ -31,6 +32,7 @@ class FunctionTestOutputData {
data: map['data'],
);
}

@override
String toString() => toMap().toString();
}
Expand Down Expand Up @@ -360,6 +362,7 @@ class HttpFunctionTestClient extends FunctionTestClient {

abstract class FunctionTestClient {
Future<FunctionTestOutputData> send(FunctionTestInputData data);

Future<Object?> rawSend(FunctionTestInputData data);

Future<Object?> sendRaw(Object? raw) async {
Expand Down
1 change: 1 addition & 0 deletions functions_call/lib/functions_call.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
library;

export 'package:tekartik_firebase/firebase.dart';
export 'package:tekartik_firebase_functions/firebase_functions.dart'
show regionBelgium, regionUsCentral1, regionFrankfurt;

Expand Down
1 change: 0 additions & 1 deletion functions_call/lib/src/functions_call.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase/firebase_mixin.dart';
import 'package:tekartik_firebase_functions/firebase_functions.dart';

Expand Down
1 change: 1 addition & 0 deletions functions_call_http/lib/functions_call_memory.dart
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export 'functions_call_http.dart';
export 'src/functions_call_memory.dart' show firebaseFunctionsCallServiceMemory;
1 change: 0 additions & 1 deletion functions_call_http/lib/src/functions_call_http.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:path/path.dart' as p;
// ignore: depend_on_referenced_packages
import 'package:tekartik_common_utils/common_utils_import.dart';
import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase/firebase_mixin.dart';
import 'package:tekartik_firebase_auth/auth.dart';
import 'package:tekartik_firebase_functions/utils.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
library;

import 'package:sembast/sembast_memory.dart';
import 'package:tekartik_firebase/firebase.dart';
import 'package:tekartik_firebase_auth/auth.dart';
import 'package:tekartik_firebase_auth_sembast/auth_sembast.dart';
import 'package:tekartik_firebase_functions_call_http/functions_call_http.dart';
Expand Down

0 comments on commit 344def6

Please sign in to comment.