@infrab4a/connect-nestjs 1.1.1 → 1.1.2

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.
Files changed (30) hide show
  1. package/index.cjs.js +686 -686
  2. package/index.esm.js +686 -686
  3. package/package.json +2 -2
  4. package/src/consts/es-config.const.d.ts +1 -1
  5. package/src/consts/hasura-options.const.d.ts +1 -1
  6. package/src/consts/index.d.ts +3 -3
  7. package/src/consts/storage.const.d.ts +1 -1
  8. package/src/index.d.ts +7 -7
  9. package/src/infra/elasticsearch/adapters/index.d.ts +1 -1
  10. package/src/infra/elasticsearch/adapters/native-elasticsearch-adapter.d.ts +19 -19
  11. package/src/infra/elasticsearch/index.d.ts +1 -1
  12. package/src/infra/firebase/firestore/index.d.ts +2 -2
  13. package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +19 -19
  14. package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
  15. package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +11 -11
  16. package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
  17. package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
  18. package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +11 -11
  19. package/src/infra/firebase/firestore/services/index.d.ts +6 -6
  20. package/src/infra/firebase/firestore/types/connect-query-snapshot.type.d.ts +4 -4
  21. package/src/infra/firebase/firestore/types/index.d.ts +1 -1
  22. package/src/infra/firebase/firestore/vo/connect-base-document-snapshot.vo.d.ts +12 -12
  23. package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
  24. package/src/infra/firebase/index.d.ts +1 -1
  25. package/src/infra/index.d.ts +2 -2
  26. package/src/nest-connect.module.d.ts +12 -12
  27. package/src/nest-elastic-search.module.d.ts +5 -5
  28. package/src/nest-firestore.module.d.ts +10 -10
  29. package/src/nest-hasura-graphql.module.d.ts +12 -12
  30. package/src/nest-storage.module.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect-nestjs",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/B4AGroup/b4a-firebase-libs"
10
10
  },
11
11
  "peerDependencies": {
12
- "@infrab4a/connect": "4.9.3",
12
+ "@infrab4a/connect": "4.9.4",
13
13
  "@nestjs/common": "^10.3.3",
14
14
  "@nestjs/core": "^10.3.3",
15
15
  "firebase-admin": "^12.0.0"
@@ -1 +1 @@
1
- export declare const ES_CONFIG = "ES_CONFIG";
1
+ export declare const ES_CONFIG = "ES_CONFIG";
@@ -1 +1 @@
1
- export declare const HASURA_OPTIONS = "HASURA_OPTIONS";
1
+ export declare const HASURA_OPTIONS = "HASURA_OPTIONS";
@@ -1,3 +1,3 @@
1
- export * from './es-config.const';
2
- export * from './hasura-options.const';
3
- export * from './storage.const';
1
+ export * from './es-config.const';
2
+ export * from './hasura-options.const';
3
+ export * from './storage.const';
@@ -1 +1 @@
1
- export declare const FIREBASE_STORAGE = "FIREBASE_STORAGE";
1
+ export declare const FIREBASE_STORAGE = "FIREBASE_STORAGE";
package/src/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export * from './consts';
2
- export * from './infra';
3
- export * from './nest-connect.module';
4
- export * from './nest-elastic-search.module';
5
- export * from './nest-firestore.module';
6
- export * from './nest-hasura-graphql.module';
7
- export * from './nest-storage.module';
1
+ export * from './consts';
2
+ export * from './infra';
3
+ export * from './nest-connect.module';
4
+ export * from './nest-elastic-search.module';
5
+ export * from './nest-firestore.module';
6
+ export * from './nest-hasura-graphql.module';
7
+ export * from './nest-storage.module';
@@ -1 +1 @@
1
- export * from './native-elasticsearch-adapter';
1
+ export * from './native-elasticsearch-adapter';
@@ -1,19 +1,19 @@
1
- import { BaseModel, ElasticSearchAdapter, ElasticSearchResult } from '@infrab4a/connect';
2
- export interface ESClientOptions {
3
- cloud: {
4
- id: string;
5
- };
6
- auth: {
7
- apiKey: string;
8
- };
9
- }
10
- export declare class NativeElasticSearchAdapter<T extends BaseModel<T> = any> implements ElasticSearchAdapter<T> {
11
- private client;
12
- private logger;
13
- constructor(config: ESClientOptions);
14
- get(index: string, id: string): Promise<T>;
15
- query(index: string, query: any): Promise<ElasticSearchResult<T>>;
16
- save(index: string, data: T): Promise<void>;
17
- update(index: string, id: string, data: Partial<T>): Promise<void>;
18
- delete(index: string, id: string): Promise<void>;
19
- }
1
+ import { BaseModel, ElasticSearchAdapter, ElasticSearchResult } from '@infrab4a/connect';
2
+ export interface ESClientOptions {
3
+ cloud: {
4
+ id: string;
5
+ };
6
+ auth: {
7
+ apiKey: string;
8
+ };
9
+ }
10
+ export declare class NativeElasticSearchAdapter<T extends BaseModel<T> = any> implements ElasticSearchAdapter<T> {
11
+ private client;
12
+ private logger;
13
+ constructor(config: ESClientOptions);
14
+ get(index: string, id: string): Promise<T>;
15
+ query(index: string, query: any): Promise<ElasticSearchResult<T>>;
16
+ save(index: string, data: T): Promise<void>;
17
+ update(index: string, id: string, data: Partial<T>): Promise<void>;
18
+ delete(index: string, id: string): Promise<void>;
19
+ }
@@ -1 +1 @@
1
- export * from './adapters';
1
+ export * from './adapters';
@@ -1,2 +1,2 @@
1
- export * from './services';
2
- export * from './types';
1
+ export * from './services';
2
+ export * from './types';
@@ -1,19 +1,19 @@
1
- import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectQuerySnapshot, ConnectSnapshotOptions, ConnectWhereOption } from '@infrab4a/connect';
2
- import { ConnectDocumentReference } from './connect-document-reference';
3
- export interface ConnectCollectionReference<T extends ConnectDocumentData> {
4
- add(data: Partial<T>, id?: string): Promise<ConnectDocumentReference<T>>;
5
- where(attribute: string, operator: ConnectWhereOption, value: any): ConnectCollectionReference<T>;
6
- order(attribute: string, order: 'asc' | 'desc'): ConnectCollectionReference<T>;
7
- limit(quantity: number): ConnectCollectionReference<T>;
8
- offset(offset: number): ConnectCollectionReference<T>;
9
- fromStartAt(startAt: number): ConnectCollectionReference<T>;
10
- fromStartAt(startAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
11
- fromStartAfter(startAt: number): ConnectCollectionReference<T>;
12
- fromStartAfter(startAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
13
- withConverter(converter: {
14
- toFirestore: (data: T) => ConnectDocumentData<T>;
15
- fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
16
- }): ConnectCollectionReference<T>;
17
- getDoc(id?: string): ConnectDocumentReference<T>;
18
- getDocs(): Promise<ConnectQuerySnapshot<T>>;
19
- }
1
+ import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectQuerySnapshot, ConnectSnapshotOptions, ConnectWhereOption } from '@infrab4a/connect';
2
+ import { ConnectDocumentReference } from './connect-document-reference';
3
+ export interface ConnectCollectionReference<T extends ConnectDocumentData> {
4
+ add(data: Partial<T>, id?: string): Promise<ConnectDocumentReference<T>>;
5
+ where(attribute: string, operator: ConnectWhereOption, value: any): ConnectCollectionReference<T>;
6
+ order(attribute: string, order: 'asc' | 'desc'): ConnectCollectionReference<T>;
7
+ limit(quantity: number): ConnectCollectionReference<T>;
8
+ offset(offset: number): ConnectCollectionReference<T>;
9
+ fromStartAt(startAt: number): ConnectCollectionReference<T>;
10
+ fromStartAt(startAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
11
+ fromStartAfter(startAt: number): ConnectCollectionReference<T>;
12
+ fromStartAfter(startAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
13
+ withConverter(converter: {
14
+ toFirestore: (data: T) => ConnectDocumentData<T>;
15
+ fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
16
+ }): ConnectCollectionReference<T>;
17
+ getDoc(id?: string): ConnectDocumentReference<T>;
18
+ getDocs(): Promise<ConnectQuerySnapshot<T>>;
19
+ }
@@ -1,32 +1,32 @@
1
- import { Firestore } from 'firebase-admin/firestore';
2
- import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectQuerySnapshot, ConnectSnapshotOptions, ConnectWhereOption } from '@infrab4a/connect';
3
- import { ConnectCollectionReference } from './connect-collection-reference';
4
- import { ConnectDocumentReference } from './connect-document-reference';
5
- export declare class ConnectCollectionService<T extends ConnectDocumentData> implements ConnectCollectionReference<T> {
6
- private readonly firestore;
7
- private reference;
8
- private query;
9
- private orderBy;
10
- private limitBy;
11
- private offsetBy;
12
- private statingAt;
13
- private startingAfter;
14
- private converter;
15
- constructor(path: string, firestore: Firestore);
16
- add(data: T, id?: string): Promise<ConnectDocumentReference<T>>;
17
- getDocs(): Promise<ConnectQuerySnapshot<T>>;
18
- getDoc(id?: string): ConnectDocumentReference<T>;
19
- where(fieldPath: string, opStr: ConnectWhereOption, value: any): ConnectCollectionReference<T>;
20
- order(attribute: string, order: 'asc' | 'desc'): ConnectCollectionReference<T>;
21
- limit(quantity: number): ConnectCollectionReference<T>;
22
- offset(offsetBy: number): ConnectCollectionReference<T>;
23
- fromStartAt(startingAt: number): ConnectCollectionReference<T>;
24
- fromStartAt(startingAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
25
- fromStartAfter(startingAt: number): ConnectCollectionReference<T>;
26
- fromStartAfter(startingAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
27
- withConverter(params: {
28
- toFirestore: (data: T) => ConnectDocumentData<T>;
29
- fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
30
- }): ConnectCollectionReference<T>;
31
- private save;
32
- }
1
+ import { Firestore } from 'firebase-admin/firestore';
2
+ import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectQuerySnapshot, ConnectSnapshotOptions, ConnectWhereOption } from '@infrab4a/connect';
3
+ import { ConnectCollectionReference } from './connect-collection-reference';
4
+ import { ConnectDocumentReference } from './connect-document-reference';
5
+ export declare class ConnectCollectionService<T extends ConnectDocumentData> implements ConnectCollectionReference<T> {
6
+ private readonly firestore;
7
+ private reference;
8
+ private query;
9
+ private orderBy;
10
+ private limitBy;
11
+ private offsetBy;
12
+ private statingAt;
13
+ private startingAfter;
14
+ private converter;
15
+ constructor(path: string, firestore: Firestore);
16
+ add(data: T, id?: string): Promise<ConnectDocumentReference<T>>;
17
+ getDocs(): Promise<ConnectQuerySnapshot<T>>;
18
+ getDoc(id?: string): ConnectDocumentReference<T>;
19
+ where(fieldPath: string, opStr: ConnectWhereOption, value: any): ConnectCollectionReference<T>;
20
+ order(attribute: string, order: 'asc' | 'desc'): ConnectCollectionReference<T>;
21
+ limit(quantity: number): ConnectCollectionReference<T>;
22
+ offset(offsetBy: number): ConnectCollectionReference<T>;
23
+ fromStartAt(startingAt: number): ConnectCollectionReference<T>;
24
+ fromStartAt(startingAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
25
+ fromStartAfter(startingAt: number): ConnectCollectionReference<T>;
26
+ fromStartAfter(startingAt: ConnectDocumentReference<T>): ConnectCollectionReference<T>;
27
+ withConverter(params: {
28
+ toFirestore: (data: T) => ConnectDocumentData<T>;
29
+ fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
30
+ }): ConnectCollectionReference<T>;
31
+ private save;
32
+ }
@@ -1,11 +1,11 @@
1
- import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectSnapshotOptions } from '@infrab4a/connect';
2
- export interface ConnectDocumentReference<T extends ConnectDocumentData> {
3
- get(): Promise<ConnectDocumentSnapshot<T>>;
4
- getId(): string;
5
- save(data: T): Promise<ConnectDocumentReference<T>>;
6
- delete(): Promise<void>;
7
- withConverter(converter: {
8
- toFirestore: (data: T) => ConnectDocumentData<T>;
9
- fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
10
- }): ConnectDocumentReference<T>;
11
- }
1
+ import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectSnapshotOptions } from '@infrab4a/connect';
2
+ export interface ConnectDocumentReference<T extends ConnectDocumentData> {
3
+ get(): Promise<ConnectDocumentSnapshot<T>>;
4
+ getId(): string;
5
+ save(data: T): Promise<ConnectDocumentReference<T>>;
6
+ delete(): Promise<void>;
7
+ withConverter(converter: {
8
+ toFirestore: (data: T) => ConnectDocumentData<T>;
9
+ fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
10
+ }): ConnectDocumentReference<T>;
11
+ }
@@ -1,17 +1,17 @@
1
- import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectSnapshotOptions } from '@infrab4a/connect';
2
- import { Firestore } from 'firebase-admin/firestore';
3
- import { ConnectDocumentReference } from './connect-document-reference';
4
- export declare class ConnectDocumentService<T extends ConnectDocumentData> implements ConnectDocumentReference<T> {
5
- private path;
6
- private firestore;
7
- private reference;
8
- constructor(path: string, firestore: Firestore);
9
- get(): Promise<ConnectDocumentSnapshot<T>>;
10
- getId(): string;
11
- save(data: T): Promise<ConnectDocumentReference<T>>;
12
- delete(): Promise<void>;
13
- withConverter(params: {
14
- toFirestore: (data: T) => ConnectDocumentData<T>;
15
- fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
16
- }): ConnectDocumentReference<T>;
17
- }
1
+ import { ConnectDocumentData, ConnectDocumentSnapshot, ConnectSnapshotOptions } from '@infrab4a/connect';
2
+ import { Firestore } from 'firebase-admin/firestore';
3
+ import { ConnectDocumentReference } from './connect-document-reference';
4
+ export declare class ConnectDocumentService<T extends ConnectDocumentData> implements ConnectDocumentReference<T> {
5
+ private path;
6
+ private firestore;
7
+ private reference;
8
+ constructor(path: string, firestore: Firestore);
9
+ get(): Promise<ConnectDocumentSnapshot<T>>;
10
+ getId(): string;
11
+ save(data: T): Promise<ConnectDocumentReference<T>>;
12
+ delete(): Promise<void>;
13
+ withConverter(params: {
14
+ toFirestore: (data: T) => ConnectDocumentData<T>;
15
+ fromFirestore: (snapshot: ConnectDocumentSnapshot<T>, options?: ConnectSnapshotOptions) => T;
16
+ }): ConnectDocumentReference<T>;
17
+ }
@@ -1,7 +1,7 @@
1
- import { ConnectDocumentData } from '@infrab4a/connect';
2
- import { ConnectCollectionReference } from './connect-collection-reference';
3
- import { ConnectDocumentReference } from './connect-document-reference';
4
- export interface ConnectFirestore {
5
- getCollection<T extends ConnectDocumentData>(path: string): ConnectCollectionReference<T>;
6
- getDocument<T extends ConnectDocumentData>(path: string): ConnectDocumentReference<T>;
7
- }
1
+ import { ConnectDocumentData } from '@infrab4a/connect';
2
+ import { ConnectCollectionReference } from './connect-collection-reference';
3
+ import { ConnectDocumentReference } from './connect-document-reference';
4
+ export interface ConnectFirestore {
5
+ getCollection<T extends ConnectDocumentData>(path: string): ConnectCollectionReference<T>;
6
+ getDocument<T extends ConnectDocumentData>(path: string): ConnectDocumentReference<T>;
7
+ }
@@ -1,11 +1,11 @@
1
- import { Firestore } from 'firebase-admin/firestore';
2
- import { ConnectDocumentData } from '@infrab4a/connect';
3
- import { ConnectCollectionReference } from './connect-collection-reference';
4
- import { ConnectDocumentReference } from './connect-document-reference';
5
- import { ConnectFirestore } from './connect-firestore';
6
- export declare class ConnectFirestoreService implements ConnectFirestore {
7
- private firestore;
8
- constructor(firestore: Firestore);
9
- getCollection<T extends ConnectDocumentData>(path: string): ConnectCollectionReference<T>;
10
- getDocument<T extends ConnectDocumentData>(path: string): ConnectDocumentReference<T>;
11
- }
1
+ import { Firestore } from 'firebase-admin/firestore';
2
+ import { ConnectDocumentData } from '@infrab4a/connect';
3
+ import { ConnectCollectionReference } from './connect-collection-reference';
4
+ import { ConnectDocumentReference } from './connect-document-reference';
5
+ import { ConnectFirestore } from './connect-firestore';
6
+ export declare class ConnectFirestoreService implements ConnectFirestore {
7
+ private firestore;
8
+ constructor(firestore: Firestore);
9
+ getCollection<T extends ConnectDocumentData>(path: string): ConnectCollectionReference<T>;
10
+ getDocument<T extends ConnectDocumentData>(path: string): ConnectDocumentReference<T>;
11
+ }
@@ -1,6 +1,6 @@
1
- export * from './connect-collection-reference';
2
- export * from './connect-collection.service';
3
- export * from './connect-document-reference';
4
- export * from './connect-document.service';
5
- export * from './connect-firestore';
6
- export * from './connect-firestore.service';
1
+ export * from './connect-collection-reference';
2
+ export * from './connect-collection.service';
3
+ export * from './connect-document-reference';
4
+ export * from './connect-document.service';
5
+ export * from './connect-firestore';
6
+ export * from './connect-firestore.service';
@@ -1,4 +1,4 @@
1
- import { ConnectDocumentData, ConnectDocumentSnapshot as ConnectDocumentSnapshotBase } from '@infrab4a/connect';
2
- export type ConnectDocumentSnapshot<T extends ConnectDocumentData = ConnectDocumentData> = ConnectDocumentSnapshotBase<T> & {
3
- exists: boolean;
4
- };
1
+ import { ConnectDocumentData, ConnectDocumentSnapshot as ConnectDocumentSnapshotBase } from '@infrab4a/connect';
2
+ export type ConnectDocumentSnapshot<T extends ConnectDocumentData = ConnectDocumentData> = ConnectDocumentSnapshotBase<T> & {
3
+ exists: boolean;
4
+ };
@@ -1 +1 @@
1
- export * from './connect-query-snapshot.type';
1
+ export * from './connect-query-snapshot.type';
@@ -1,12 +1,12 @@
1
- import { ConnectDocumentData, ConnectSnapshotOptions } from '@infrab4a/connect';
2
- import { DocumentSnapshot } from 'firebase-admin/firestore';
3
- import { ConnectDocumentSnapshot } from '../types';
4
- export declare class ConnectBaseDocumentSnapshot<T extends ConnectDocumentData = ConnectDocumentData> implements ConnectDocumentSnapshot<T> {
5
- private readonly connectDocumentSnapshot;
6
- id: string;
7
- exists: boolean;
8
- constructor(connectDocumentSnapshot: DocumentSnapshot<T>);
9
- isNotEmpty(): boolean;
10
- data(options?: ConnectSnapshotOptions): T;
11
- get(fieldPath: string): any;
12
- }
1
+ import { ConnectDocumentData, ConnectSnapshotOptions } from '@infrab4a/connect';
2
+ import { DocumentSnapshot } from 'firebase-admin/firestore';
3
+ import { ConnectDocumentSnapshot } from '../types';
4
+ export declare class ConnectBaseDocumentSnapshot<T extends ConnectDocumentData = ConnectDocumentData> implements ConnectDocumentSnapshot<T> {
5
+ private readonly connectDocumentSnapshot;
6
+ id: string;
7
+ exists: boolean;
8
+ constructor(connectDocumentSnapshot: DocumentSnapshot<T>);
9
+ isNotEmpty(): boolean;
10
+ data(options?: ConnectSnapshotOptions): T;
11
+ get(fieldPath: string): any;
12
+ }
@@ -1 +1 @@
1
- export * from './connect-base-document-snapshot.vo';
1
+ export * from './connect-base-document-snapshot.vo';
@@ -1 +1 @@
1
- export * from './firestore';
1
+ export * from './firestore';
@@ -1,2 +1,2 @@
1
- export * from './elasticsearch';
2
- export * from './firebase';
1
+ export * from './elasticsearch';
2
+ export * from './firebase';
@@ -1,12 +1,12 @@
1
- import { DynamicModule } from '@nestjs/common';
2
- import { ESClientOptions } from './infra';
3
- import { HasuraGraphQLOptions } from './nest-hasura-graphql.module';
4
- export declare class NestConnectModule {
5
- static initializeApp(options: {
6
- firebase?: {
7
- googleApplicationCredential: string;
8
- };
9
- elasticSearch?: ESClientOptions;
10
- hasura: HasuraGraphQLOptions;
11
- }): DynamicModule;
12
- }
1
+ import { DynamicModule } from '@nestjs/common';
2
+ import { ESClientOptions } from './infra';
3
+ import { HasuraGraphQLOptions } from './nest-hasura-graphql.module';
4
+ export declare class NestConnectModule {
5
+ static initializeApp(options: {
6
+ firebase?: {
7
+ googleApplicationCredential: string;
8
+ };
9
+ elasticSearch?: ESClientOptions;
10
+ hasura: HasuraGraphQLOptions;
11
+ }): DynamicModule;
12
+ }
@@ -1,5 +1,5 @@
1
- import { DynamicModule } from '@nestjs/common';
2
- import { ESClientOptions } from './infra';
3
- export declare class NestElasticSeachModule {
4
- static initializeApp(options: ESClientOptions): DynamicModule;
5
- }
1
+ import { DynamicModule } from '@nestjs/common';
2
+ import { ESClientOptions } from './infra';
3
+ export declare class NestElasticSeachModule {
4
+ static initializeApp(options: ESClientOptions): DynamicModule;
5
+ }
@@ -1,10 +1,10 @@
1
- import { FirestoreConstructorParams } from '@infrab4a/connect';
2
- import { DynamicModule } from '@nestjs/common';
3
- export type FirestoreOptions = Pick<FirestoreConstructorParams<any>, 'firestore' | 'interceptors'>;
4
- export declare class NestFirestoreModule {
5
- static initializeApp(options: {
6
- firebase: {
7
- googleApplicationCredential: string;
8
- };
9
- }): DynamicModule;
10
- }
1
+ import { FirestoreConstructorParams } from '@infrab4a/connect';
2
+ import { DynamicModule } from '@nestjs/common';
3
+ export type FirestoreOptions = Pick<FirestoreConstructorParams<any>, 'firestore' | 'interceptors'>;
4
+ export declare class NestFirestoreModule {
5
+ static initializeApp(options: {
6
+ firebase: {
7
+ googleApplicationCredential: string;
8
+ };
9
+ }): DynamicModule;
10
+ }
@@ -1,12 +1,12 @@
1
- import { HasuraGraphQLAuthOptions } from '@infrab4a/connect';
2
- import { DynamicModule } from '@nestjs/common';
3
- export type HasuraGraphQLOptions = {
4
- endpoint: string;
5
- credentials: HasuraGraphQLAuthOptions;
6
- };
7
- export declare class NestHasuraGraphQLModule {
8
- static initializeApp(options: {
9
- endpoint: string;
10
- credentials: HasuraGraphQLAuthOptions;
11
- }): DynamicModule;
12
- }
1
+ import { HasuraGraphQLAuthOptions } from '@infrab4a/connect';
2
+ import { DynamicModule } from '@nestjs/common';
3
+ export type HasuraGraphQLOptions = {
4
+ endpoint: string;
5
+ credentials: HasuraGraphQLAuthOptions;
6
+ };
7
+ export declare class NestHasuraGraphQLModule {
8
+ static initializeApp(options: {
9
+ endpoint: string;
10
+ credentials: HasuraGraphQLAuthOptions;
11
+ }): DynamicModule;
12
+ }
@@ -1,2 +1,2 @@
1
- export declare class NestStorageModule {
2
- }
1
+ export declare class NestStorageModule {
2
+ }