@infrab4a/connect-nestjs 1.4.0-beta.6 → 1.4.0-beta.7
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.js +0 -2
- package/index.esm.js +0 -2
- package/package.json +2 -2
package/index.cjs.js
CHANGED
|
@@ -292,7 +292,6 @@ class ConnectFirestoreService {
|
|
|
292
292
|
|
|
293
293
|
exports.DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
294
294
|
constructor(configuration) {
|
|
295
|
-
console.log('CONFIG DiscoveryEngineVertexAdapter', configuration);
|
|
296
295
|
this.config = configuration;
|
|
297
296
|
this.parentEngine = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/engines/${this.config.dataStoreId}`;
|
|
298
297
|
this.parentDataStore = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/dataStores/${this.config.dataStoreId}/branches/default_branch/documents`;
|
|
@@ -335,7 +334,6 @@ exports.DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
|
335
334
|
return response;
|
|
336
335
|
}
|
|
337
336
|
async query(term, total, gender) {
|
|
338
|
-
console.log('DiscoveryEngineVertexAdapter Query', term, total, gender);
|
|
339
337
|
const defaultFilter = gender ? `gender: ANY(${gender}, "unisex")` : '';
|
|
340
338
|
const response = (await this.searchClient.search({
|
|
341
339
|
pageSize: total,
|
package/index.esm.js
CHANGED
|
@@ -288,7 +288,6 @@ class ConnectFirestoreService {
|
|
|
288
288
|
|
|
289
289
|
let DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
290
290
|
constructor(configuration) {
|
|
291
|
-
console.log('CONFIG DiscoveryEngineVertexAdapter', configuration);
|
|
292
291
|
this.config = configuration;
|
|
293
292
|
this.parentEngine = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/engines/${this.config.dataStoreId}`;
|
|
294
293
|
this.parentDataStore = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/dataStores/${this.config.dataStoreId}/branches/default_branch/documents`;
|
|
@@ -331,7 +330,6 @@ let DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
|
331
330
|
return response;
|
|
332
331
|
}
|
|
333
332
|
async query(term, total, gender) {
|
|
334
|
-
console.log('DiscoveryEngineVertexAdapter Query', term, total, gender);
|
|
335
333
|
const defaultFilter = gender ? `gender: ANY(${gender}, "unisex")` : '';
|
|
336
334
|
const response = (await this.searchClient.search({
|
|
337
335
|
pageSize: total,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrab4a/connect-nestjs",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.7",
|
|
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.14.0-beta.
|
|
12
|
+
"@infrab4a/connect": "4.14.0-beta.5",
|
|
13
13
|
"@nestjs/common": "^10.3.3",
|
|
14
14
|
"@nestjs/core": "^10.3.3",
|
|
15
15
|
"firebase-admin": "^12.0.0"
|