@infrab4a/connect-nestjs 2.8.9 → 2.8.10-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.
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +0 -2
- package/index.esm.js +0 -2
- package/package.json +2 -2
- package/src/infra/vertex-ai/types/vertex-config.d.ts +0 -14
package/index.cjs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./src
|
|
1
|
+
export * from "./src/index";
|
package/index.cjs.js
CHANGED
|
@@ -668,11 +668,9 @@ exports.DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
|
668
668
|
`collections/default_collection/dataStores/${this.config.dataStoreId}/branches/default_branch/documents`;
|
|
669
669
|
this.searchClient = new v1beta.SearchServiceClient({
|
|
670
670
|
apiEndpoint: configuration.apiEndpoint,
|
|
671
|
-
credentials: configuration.credentials,
|
|
672
671
|
});
|
|
673
672
|
this.documentClient = new discoveryengine.DocumentServiceClient({
|
|
674
673
|
apiEndpoint: configuration.apiEndpoint,
|
|
675
|
-
credentials: configuration.credentials,
|
|
676
674
|
});
|
|
677
675
|
this.servingConfig = this.searchClient.projectLocationCollectionDataStoreServingConfigPath(configuration.projectId, configuration.location, configuration.collectionId, configuration.dataStoreId, configuration.servingConfigId);
|
|
678
676
|
}
|
package/index.esm.js
CHANGED
|
@@ -660,11 +660,9 @@ let DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
|
660
660
|
`collections/default_collection/dataStores/${this.config.dataStoreId}/branches/default_branch/documents`;
|
|
661
661
|
this.searchClient = new SearchServiceClient({
|
|
662
662
|
apiEndpoint: configuration.apiEndpoint,
|
|
663
|
-
credentials: configuration.credentials,
|
|
664
663
|
});
|
|
665
664
|
this.documentClient = new DocumentServiceClient({
|
|
666
665
|
apiEndpoint: configuration.apiEndpoint,
|
|
667
|
-
credentials: configuration.credentials,
|
|
668
666
|
});
|
|
669
667
|
this.servingConfig = this.searchClient.projectLocationCollectionDataStoreServingConfigPath(configuration.projectId, configuration.location, configuration.collectionId, configuration.dataStoreId, configuration.servingConfigId);
|
|
670
668
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrab4a/connect-nestjs",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.10-alpha.0",
|
|
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": "5.7.
|
|
12
|
+
"@infrab4a/connect": "5.7.10-alpha.0",
|
|
13
13
|
"@nestjs/common": "^10.3.3",
|
|
14
14
|
"@nestjs/core": "^10.3.3",
|
|
15
15
|
"firebase-admin": "^12.0.0"
|
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
export type VertexConfig = {
|
|
2
|
-
credentials: {
|
|
3
|
-
type: string;
|
|
4
|
-
project_id: string;
|
|
5
|
-
private_key_id: string;
|
|
6
|
-
private_key: string;
|
|
7
|
-
client_email: string;
|
|
8
|
-
client_id: string;
|
|
9
|
-
auth_uri?: string;
|
|
10
|
-
token_uri?: string;
|
|
11
|
-
auth_provider_x509_cert_url?: string;
|
|
12
|
-
client_x509_cert_url?: string;
|
|
13
|
-
apiKey?: string;
|
|
14
|
-
authDomain?: string;
|
|
15
|
-
};
|
|
16
2
|
apiEndpoint: string;
|
|
17
3
|
projectId: string;
|
|
18
4
|
location: string;
|