@infrab4a/connect-angular 4.0.0-beta.15 → 4.0.0-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/angular-firestore.module.mjs +3 -2
- package/esm2020/angular-hasura-graphql.module.mjs +15 -15
- package/fesm2015/infrab4a-connect-angular.mjs +19 -18
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +19 -18
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -14,6 +14,7 @@ import * as i1$2 from '@angular/common/http';
|
|
|
14
14
|
import * as i1$3 from '@angular/fire/app';
|
|
15
15
|
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
|
|
16
16
|
import { isPlatformBrowser } from '@angular/common';
|
|
17
|
+
import { initializeApp as initializeApp$1 } from 'firebase/app';
|
|
17
18
|
import { getFirestore } from 'firebase/firestore';
|
|
18
19
|
|
|
19
20
|
class AuthService {
|
|
@@ -1207,8 +1208,8 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
1207
1208
|
provideFirebaseApp((injector) => {
|
|
1208
1209
|
const appName = injector.get(FIREBASE_APP_NAME);
|
|
1209
1210
|
return appName
|
|
1210
|
-
? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
|
|
1211
|
-
: initializeApp(injector.get(FIREBASE_OPTIONS));
|
|
1211
|
+
? initializeApp$1(injector.get(FIREBASE_OPTIONS), appName)
|
|
1212
|
+
: initializeApp$1(injector.get(FIREBASE_OPTIONS));
|
|
1212
1213
|
}),
|
|
1213
1214
|
provideFirestore(() => getFirestore())] });
|
|
1214
1215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, decorators: [{
|
|
@@ -1219,8 +1220,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1219
1220
|
provideFirebaseApp((injector) => {
|
|
1220
1221
|
const appName = injector.get(FIREBASE_APP_NAME);
|
|
1221
1222
|
return appName
|
|
1222
|
-
? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
|
|
1223
|
-
: initializeApp(injector.get(FIREBASE_OPTIONS));
|
|
1223
|
+
? initializeApp$1(injector.get(FIREBASE_OPTIONS), appName)
|
|
1224
|
+
: initializeApp$1(injector.get(FIREBASE_OPTIONS));
|
|
1224
1225
|
}),
|
|
1225
1226
|
provideFirestore(() => getFirestore()),
|
|
1226
1227
|
],
|
|
@@ -1469,7 +1470,7 @@ AngularHasuraGraphQLModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
1469
1470
|
useFactory: (options, productRepository, categoryFilterRepository) => {
|
|
1470
1471
|
return new CategoryHasuraGraphQLRepository(options, productRepository, categoryFilterRepository);
|
|
1471
1472
|
},
|
|
1472
|
-
deps: [
|
|
1473
|
+
deps: ['HasuraConfig', ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
|
|
1473
1474
|
},
|
|
1474
1475
|
{
|
|
1475
1476
|
provide: 'ProductRepository',
|
|
@@ -1500,9 +1501,9 @@ AngularHasuraGraphQLModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
1500
1501
|
{
|
|
1501
1502
|
provide: CategoryFilterHasuraGraphQLRepository,
|
|
1502
1503
|
useFactory: (options) => {
|
|
1503
|
-
return new CategoryFilterHasuraGraphQLRepository(options
|
|
1504
|
+
return new CategoryFilterHasuraGraphQLRepository(options);
|
|
1504
1505
|
},
|
|
1505
|
-
deps: [
|
|
1506
|
+
deps: ['HasuraConfig'],
|
|
1506
1507
|
},
|
|
1507
1508
|
{
|
|
1508
1509
|
provide: 'FilterOptionRepository',
|
|
@@ -1511,9 +1512,9 @@ AngularHasuraGraphQLModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
1511
1512
|
{
|
|
1512
1513
|
provide: FilterOptionHasuraGraphQLRepository,
|
|
1513
1514
|
useFactory: (options) => {
|
|
1514
|
-
return new FilterOptionHasuraGraphQLRepository(options
|
|
1515
|
+
return new FilterOptionHasuraGraphQLRepository(options);
|
|
1515
1516
|
},
|
|
1516
|
-
deps: [
|
|
1517
|
+
deps: ['HasuraConfig'],
|
|
1517
1518
|
},
|
|
1518
1519
|
{
|
|
1519
1520
|
provide: 'FilterRepository',
|
|
@@ -1522,9 +1523,9 @@ AngularHasuraGraphQLModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
1522
1523
|
{
|
|
1523
1524
|
provide: FilterHasuraGraphQLRepository,
|
|
1524
1525
|
useFactory: (options, filterOptionRepository, categoryFilterRepository) => {
|
|
1525
|
-
return new FilterHasuraGraphQLRepository(options
|
|
1526
|
+
return new FilterHasuraGraphQLRepository(options, filterOptionRepository, categoryFilterRepository);
|
|
1526
1527
|
},
|
|
1527
|
-
deps: [
|
|
1528
|
+
deps: ['HasuraConfig', FilterOptionHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
|
|
1528
1529
|
},
|
|
1529
1530
|
] });
|
|
1530
1531
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
|
|
@@ -1563,7 +1564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1563
1564
|
useFactory: (options, productRepository, categoryFilterRepository) => {
|
|
1564
1565
|
return new CategoryHasuraGraphQLRepository(options, productRepository, categoryFilterRepository);
|
|
1565
1566
|
},
|
|
1566
|
-
deps: [
|
|
1567
|
+
deps: ['HasuraConfig', ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
|
|
1567
1568
|
},
|
|
1568
1569
|
{
|
|
1569
1570
|
provide: 'ProductRepository',
|
|
@@ -1594,9 +1595,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1594
1595
|
{
|
|
1595
1596
|
provide: CategoryFilterHasuraGraphQLRepository,
|
|
1596
1597
|
useFactory: (options) => {
|
|
1597
|
-
return new CategoryFilterHasuraGraphQLRepository(options
|
|
1598
|
+
return new CategoryFilterHasuraGraphQLRepository(options);
|
|
1598
1599
|
},
|
|
1599
|
-
deps: [
|
|
1600
|
+
deps: ['HasuraConfig'],
|
|
1600
1601
|
},
|
|
1601
1602
|
{
|
|
1602
1603
|
provide: 'FilterOptionRepository',
|
|
@@ -1605,9 +1606,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1605
1606
|
{
|
|
1606
1607
|
provide: FilterOptionHasuraGraphQLRepository,
|
|
1607
1608
|
useFactory: (options) => {
|
|
1608
|
-
return new FilterOptionHasuraGraphQLRepository(options
|
|
1609
|
+
return new FilterOptionHasuraGraphQLRepository(options);
|
|
1609
1610
|
},
|
|
1610
|
-
deps: [
|
|
1611
|
+
deps: ['HasuraConfig'],
|
|
1611
1612
|
},
|
|
1612
1613
|
{
|
|
1613
1614
|
provide: 'FilterRepository',
|
|
@@ -1616,9 +1617,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1616
1617
|
{
|
|
1617
1618
|
provide: FilterHasuraGraphQLRepository,
|
|
1618
1619
|
useFactory: (options, filterOptionRepository, categoryFilterRepository) => {
|
|
1619
|
-
return new FilterHasuraGraphQLRepository(options
|
|
1620
|
+
return new FilterHasuraGraphQLRepository(options, filterOptionRepository, categoryFilterRepository);
|
|
1620
1621
|
},
|
|
1621
|
-
deps: [
|
|
1622
|
+
deps: ['HasuraConfig', FilterOptionHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
|
|
1622
1623
|
},
|
|
1623
1624
|
],
|
|
1624
1625
|
}]
|