@infrab4a/connect-nestjs 2.3.2 → 2.3.4-alpha.0

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 (47) hide show
  1. package/index.cjs.d.ts +1 -1
  2. package/index.cjs.js +1225 -1225
  3. package/index.esm.d.ts +1 -0
  4. package/index.esm.js +1225 -1225
  5. package/package.json +2 -2
  6. package/src/consts/es-config.const.d.ts +1 -1
  7. package/src/consts/hasura-options.const.d.ts +1 -1
  8. package/src/consts/index.d.ts +4 -4
  9. package/src/consts/storage.const.d.ts +1 -1
  10. package/src/consts/vertex-config.const.d.ts +1 -1
  11. package/src/index.d.ts +7 -7
  12. package/src/infra/elasticsearch/adapters/index.d.ts +1 -1
  13. package/src/infra/elasticsearch/adapters/native-elasticsearch-adapter.d.ts +19 -19
  14. package/src/infra/elasticsearch/index.d.ts +1 -1
  15. package/src/infra/firebase/firestore/index.d.ts +2 -2
  16. package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +19 -19
  17. package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
  18. package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +11 -11
  19. package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
  20. package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
  21. package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +8 -8
  22. package/src/infra/firebase/firestore/services/index.d.ts +6 -6
  23. package/src/infra/firebase/firestore/types/connect-query-snapshot.type.d.ts +4 -4
  24. package/src/infra/firebase/firestore/types/index.d.ts +1 -1
  25. package/src/infra/firebase/firestore/vo/connect-base-document-snapshot.vo.d.ts +12 -12
  26. package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
  27. package/src/infra/firebase/index.d.ts +1 -1
  28. package/src/infra/index.d.ts +4 -4
  29. package/src/infra/pagarme/adapters/index.d.ts +3 -3
  30. package/src/infra/pagarme/adapters/pagarme-bank-slip-api.adapter.d.ts +9 -9
  31. package/src/infra/pagarme/adapters/pagarme-card-api.adapter.d.ts +21 -21
  32. package/src/infra/pagarme/adapters/pagarme-pix-api.adapter.d.ts +8 -8
  33. package/src/infra/pagarme/index.d.ts +1 -1
  34. package/src/infra/vertex-ai/adapters/discovery-engine-adapter.d.ts +17 -17
  35. package/src/infra/vertex-ai/adapters/index.d.ts +1 -1
  36. package/src/infra/vertex-ai/helpers/index.d.ts +1 -1
  37. package/src/infra/vertex-ai/helpers/product-vertex-ai.helper.d.ts +7 -7
  38. package/src/infra/vertex-ai/index.d.ts +3 -3
  39. package/src/infra/vertex-ai/types/index.d.ts +2 -2
  40. package/src/infra/vertex-ai/types/vertex-config.d.ts +23 -23
  41. package/src/infra/vertex-ai/types/vertex-search-result.d.ts +18 -18
  42. package/src/nest-connect.module.d.ts +13 -13
  43. package/src/nest-elastic-search.module.d.ts +5 -5
  44. package/src/nest-firestore.module.d.ts +10 -10
  45. package/src/nest-hasura-graphql.module.d.ts +13 -13
  46. package/src/nest-storage.module.d.ts +2 -2
  47. package/src/nest-vertex-ai-search.module.d.ts +5 -5
@@ -1,18 +1,18 @@
1
- import { protos } from '@google-cloud/discoveryengine';
2
- export type VertexSearchResult<T> = [
3
- VertexResult<T>[],
4
- protos.google.cloud.discoveryengine.v1.ISearchRequest | null,
5
- protos.google.cloud.discoveryengine.v1.ISearchResponse
6
- ];
7
- type VertexResult<T> = {
8
- id?: string | null;
9
- document?: {
10
- structData: {
11
- fields: {
12
- [P in keyof T]: any;
13
- };
14
- };
15
- };
16
- chunk?: protos.google.cloud.discoveryengine.v1.IChunk;
17
- };
18
- export {};
1
+ import { protos } from '@google-cloud/discoveryengine';
2
+ export type VertexSearchResult<T> = [
3
+ VertexResult<T>[],
4
+ protos.google.cloud.discoveryengine.v1.ISearchRequest | null,
5
+ protos.google.cloud.discoveryengine.v1.ISearchResponse
6
+ ];
7
+ type VertexResult<T> = {
8
+ id?: string | null;
9
+ document?: {
10
+ structData: {
11
+ fields: {
12
+ [P in keyof T]: any;
13
+ };
14
+ };
15
+ };
16
+ chunk?: protos.google.cloud.discoveryengine.v1.IChunk;
17
+ };
18
+ export {};
@@ -1,13 +1,13 @@
1
- import { DynamicModule } from '@nestjs/common';
2
- import { ESClientOptions, VertexConfig } 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
- vertex?: VertexConfig;
12
- }): DynamicModule;
13
- }
1
+ import { DynamicModule } from '@nestjs/common';
2
+ import { ESClientOptions, VertexConfig } 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
+ vertex?: VertexConfig;
12
+ }): DynamicModule;
13
+ }
@@ -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,13 +1,13 @@
1
- import { CacheConfig, HasuraGraphQLAuthOptions } from '@infrab4a/connect';
2
- import { DynamicModule } from '@nestjs/common';
3
- export type HasuraGraphQLOptions = {
4
- endpoint: string;
5
- credentials: HasuraGraphQLAuthOptions;
6
- cache?: CacheConfig;
7
- };
8
- export declare class NestHasuraGraphQLModule {
9
- static initializeApp(options: {
10
- endpoint: string;
11
- credentials: HasuraGraphQLAuthOptions;
12
- }): DynamicModule;
13
- }
1
+ import { CacheConfig, HasuraGraphQLAuthOptions } from '@infrab4a/connect';
2
+ import { DynamicModule } from '@nestjs/common';
3
+ export type HasuraGraphQLOptions = {
4
+ endpoint: string;
5
+ credentials: HasuraGraphQLAuthOptions;
6
+ cache?: CacheConfig;
7
+ };
8
+ export declare class NestHasuraGraphQLModule {
9
+ static initializeApp(options: {
10
+ endpoint: string;
11
+ credentials: HasuraGraphQLAuthOptions;
12
+ }): DynamicModule;
13
+ }
@@ -1,2 +1,2 @@
1
- export declare class NestStorageModule {
2
- }
1
+ export declare class NestStorageModule {
2
+ }
@@ -1,5 +1,5 @@
1
- import { DynamicModule } from '@nestjs/common';
2
- import { VertexConfig } from './infra';
3
- export declare class NestVertexSeachModule {
4
- static initializeApp(options: VertexConfig): DynamicModule;
5
- }
1
+ import { DynamicModule } from '@nestjs/common';
2
+ import { VertexConfig } from './infra';
3
+ export declare class NestVertexSeachModule {
4
+ static initializeApp(options: VertexConfig): DynamicModule;
5
+ }