@infrab4a/connect-nestjs 1.4.0-beta.5 → 1.4.0-beta.6

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