@infrab4a/connect-nestjs 1.5.1-beta.3 → 1.5.1
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/index.cjs.d.ts +1 -1
- package/index.cjs.js +2 -15
- package/index.esm.js +2 -15
- package/package.json +1 -1
package/index.cjs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./src
|
|
1
|
+
export * from "./src/index";
|
package/index.cjs.js
CHANGED
|
@@ -884,23 +884,10 @@ NestVertexSeachModule = NestVertexSeachModule_1 = __decorate([
|
|
|
884
884
|
common.Module({
|
|
885
885
|
providers: [
|
|
886
886
|
exports.DiscoveryEngineVertexAdapter,
|
|
887
|
-
{
|
|
888
|
-
provide: 'DiscoveryEngineVertexAdapter',
|
|
889
|
-
useFactory: (config) => {
|
|
890
|
-
if (!config.credentials.private_key)
|
|
891
|
-
return null;
|
|
892
|
-
return new exports.DiscoveryEngineVertexAdapter(config);
|
|
893
|
-
},
|
|
894
|
-
inject: [VERTEX_CONFIG],
|
|
895
|
-
},
|
|
896
887
|
{
|
|
897
888
|
provide: connect.ProductsVertexSearch,
|
|
898
|
-
useFactory: (adapter) =>
|
|
899
|
-
|
|
900
|
-
return null;
|
|
901
|
-
return new connect.ProductsVertexSearch(adapter);
|
|
902
|
-
},
|
|
903
|
-
inject: ['DiscoveryEngineVertexAdapter'],
|
|
889
|
+
useFactory: (adapter) => new connect.ProductsVertexSearch(adapter),
|
|
890
|
+
inject: [exports.DiscoveryEngineVertexAdapter],
|
|
904
891
|
},
|
|
905
892
|
],
|
|
906
893
|
exports: [connect.ProductsVertexSearch],
|
package/index.esm.js
CHANGED
|
@@ -880,23 +880,10 @@ NestVertexSeachModule = NestVertexSeachModule_1 = __decorate([
|
|
|
880
880
|
Module({
|
|
881
881
|
providers: [
|
|
882
882
|
DiscoveryEngineVertexAdapter,
|
|
883
|
-
{
|
|
884
|
-
provide: 'DiscoveryEngineVertexAdapter',
|
|
885
|
-
useFactory: (config) => {
|
|
886
|
-
if (!config.credentials.private_key)
|
|
887
|
-
return null;
|
|
888
|
-
return new DiscoveryEngineVertexAdapter(config);
|
|
889
|
-
},
|
|
890
|
-
inject: [VERTEX_CONFIG],
|
|
891
|
-
},
|
|
892
883
|
{
|
|
893
884
|
provide: ProductsVertexSearch,
|
|
894
|
-
useFactory: (adapter) =>
|
|
895
|
-
|
|
896
|
-
return null;
|
|
897
|
-
return new ProductsVertexSearch(adapter);
|
|
898
|
-
},
|
|
899
|
-
inject: ['DiscoveryEngineVertexAdapter'],
|
|
885
|
+
useFactory: (adapter) => new ProductsVertexSearch(adapter),
|
|
886
|
+
inject: [DiscoveryEngineVertexAdapter],
|
|
900
887
|
},
|
|
901
888
|
],
|
|
902
889
|
exports: [ProductsVertexSearch],
|