@vectorstores/azure 0.1.2 → 0.1.4
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/dist/index.cjs +58 -11
- package/dist/index.d.cts +11 -7
- package/dist/index.d.ts +11 -7
- package/dist/index.edge-light.d.ts +11 -7
- package/dist/index.edge-light.js +58 -11
- package/dist/index.js +58 -11
- package/dist/storage.cjs +1 -214
- package/dist/storage.d.cts +3 -121
- package/dist/storage.d.ts +3 -121
- package/dist/storage.edge-light.d.ts +3 -121
- package/dist/storage.edge-light.js +3 -212
- package/dist/storage.js +3 -212
- package/package.json +3 -3
package/dist/storage.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
3
|
var core = require('@vectorstores/core');
|
|
4
|
-
var mongodb = require('mongodb');
|
|
5
4
|
var cosmos = require('@azure/cosmos');
|
|
6
5
|
var identity = require('@azure/identity');
|
|
7
6
|
var env = require('@vectorstores/env');
|
|
8
7
|
|
|
9
|
-
var version = "0.1.
|
|
8
|
+
var version = "0.1.4";
|
|
10
9
|
var pkg = {
|
|
11
10
|
version: version};
|
|
12
11
|
|
|
@@ -69,60 +68,6 @@ class AzureCosmosVCoreKVStore extends core.BaseKVStore {
|
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
|
|
72
|
-
const DEFAULT_DATABASE$3 = "DocumentStoreDB";
|
|
73
|
-
const DEFAULT_COLLECTION$1 = "DocumentStoreCollection";
|
|
74
|
-
class AzureCosmosVCoreDocumentStore extends core.KVDocumentStore {
|
|
75
|
-
constructor({ azureCosmosVCoreKVStore, namespace }){
|
|
76
|
-
super(azureCosmosVCoreKVStore, namespace);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Static method for creating an instance using a MongoClient.
|
|
80
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
81
|
-
* @param mongoClient - MongoClient instance
|
|
82
|
-
* @param dbName - Database name
|
|
83
|
-
* @param collectionName - Collection name
|
|
84
|
-
* @example
|
|
85
|
-
* ```ts
|
|
86
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
87
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
88
|
-
* ```
|
|
89
|
-
*/ static fromMongoClient(mongoClient, dbName = DEFAULT_DATABASE$3, collectionName = DEFAULT_COLLECTION$1) {
|
|
90
|
-
const azureCosmosVCoreKVStore = new AzureCosmosVCoreKVStore({
|
|
91
|
-
mongoClient,
|
|
92
|
-
dbName,
|
|
93
|
-
collectionName
|
|
94
|
-
});
|
|
95
|
-
const namespace = `${dbName}.${collectionName}`;
|
|
96
|
-
return new AzureCosmosVCoreDocumentStore({
|
|
97
|
-
azureCosmosVCoreKVStore,
|
|
98
|
-
namespace
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Static method for creating an instance using a connection string.
|
|
103
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
104
|
-
* @param connectionString - MongoDB connection string
|
|
105
|
-
* @param dbName - Database name
|
|
106
|
-
* @param collectionName - Collection name
|
|
107
|
-
* @example
|
|
108
|
-
* ```ts
|
|
109
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
110
|
-
* ```
|
|
111
|
-
*/ static fromConnectionString(connectionString, dbName = DEFAULT_DATABASE$3, collectionName = DEFAULT_COLLECTION$1) {
|
|
112
|
-
const mongoClient = new mongodb.MongoClient(connectionString, {
|
|
113
|
-
appName: "VECTORSTORES_JS"
|
|
114
|
-
});
|
|
115
|
-
return new AzureCosmosVCoreDocumentStore({
|
|
116
|
-
azureCosmosVCoreKVStore: new AzureCosmosVCoreKVStore({
|
|
117
|
-
mongoClient,
|
|
118
|
-
dbName,
|
|
119
|
-
collectionName
|
|
120
|
-
}),
|
|
121
|
-
namespace: `${dbName}.${collectionName}`
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
71
|
const USER_AGENT_SUFFIX = "vectorstores-cdbnosql-kvstore-javascript";
|
|
127
72
|
const DEFAULT_CHAT_DATABASE = "KVStoreDB";
|
|
128
73
|
const DEFAULT_CHAT_CONTAINER = "KVStoreContainer";
|
|
@@ -296,163 +241,5 @@ class AzureCosmosNoSqlKVStore extends core.BaseKVStore {
|
|
|
296
241
|
}
|
|
297
242
|
}
|
|
298
243
|
|
|
299
|
-
const DEFAULT_DATABASE$2 = "DocumentStoreDB";
|
|
300
|
-
const DEFAULT_CONTAINER$1 = "DocumentStoreContainer";
|
|
301
|
-
class AzureCosmosNoSqlDocumentStore extends core.KVDocumentStore {
|
|
302
|
-
constructor({ azureCosmosNoSqlKVStore, namespace }){
|
|
303
|
-
super(azureCosmosNoSqlKVStore, namespace);
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* Static method for creating an instance using a connection string.
|
|
307
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
308
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
309
|
-
*/ static fromConnectionString(options = {}) {
|
|
310
|
-
options.dbName = options.dbName || DEFAULT_DATABASE$2;
|
|
311
|
-
options.containerName = options.containerName || DEFAULT_CONTAINER$1;
|
|
312
|
-
const azureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore.fromConnectionString(options);
|
|
313
|
-
const namespace = `${options.dbName}.${options.containerName}`;
|
|
314
|
-
return new AzureCosmosNoSqlDocumentStore({
|
|
315
|
-
azureCosmosNoSqlKVStore,
|
|
316
|
-
namespace
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
321
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
322
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
323
|
-
*/ static fromAccountAndKey(options = {}) {
|
|
324
|
-
options.dbName = options.dbName || DEFAULT_DATABASE$2;
|
|
325
|
-
options.containerName = options.containerName || DEFAULT_CONTAINER$1;
|
|
326
|
-
const azureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore.fromAccountAndKey(options);
|
|
327
|
-
const namespace = `${options.dbName}.${options.containerName}`;
|
|
328
|
-
return new AzureCosmosNoSqlDocumentStore({
|
|
329
|
-
azureCosmosNoSqlKVStore,
|
|
330
|
-
namespace
|
|
331
|
-
});
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Static method for creating an instance using AAD token.
|
|
335
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
336
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
337
|
-
*/ static fromAadToken(options = {}) {
|
|
338
|
-
options.dbName = options.dbName || DEFAULT_DATABASE$2;
|
|
339
|
-
options.containerName = options.containerName || DEFAULT_CONTAINER$1;
|
|
340
|
-
const azureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore.fromAadToken(options);
|
|
341
|
-
const namespace = `${options.dbName}.${options.containerName}`;
|
|
342
|
-
return new AzureCosmosNoSqlDocumentStore({
|
|
343
|
-
azureCosmosNoSqlKVStore,
|
|
344
|
-
namespace
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
const DEFAULT_DATABASE$1 = "IndexStoreDB";
|
|
350
|
-
const DEFAULT_COLLECTION = "IndexStoreCollection";
|
|
351
|
-
class AzureCosmosVCoreIndexStore extends core.KVIndexStore {
|
|
352
|
-
constructor({ azureCosmosVCoreKVStore, namespace }){
|
|
353
|
-
super(azureCosmosVCoreKVStore, namespace);
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Static method for creating an instance using a MongoClient.
|
|
357
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
358
|
-
* @param mongoClient - MongoClient instance
|
|
359
|
-
* @param dbName - Database name
|
|
360
|
-
* @param collectionName - Collection name
|
|
361
|
-
* @example
|
|
362
|
-
* ```ts
|
|
363
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
364
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
365
|
-
* ```
|
|
366
|
-
*/ static fromMongoClient(mongoClient, dbName = DEFAULT_DATABASE$1, collectionName = DEFAULT_COLLECTION) {
|
|
367
|
-
const azureCosmosVCoreKVStore = new AzureCosmosVCoreKVStore({
|
|
368
|
-
mongoClient,
|
|
369
|
-
dbName,
|
|
370
|
-
collectionName
|
|
371
|
-
});
|
|
372
|
-
const namespace = `${dbName}.${collectionName}`;
|
|
373
|
-
return new AzureCosmosVCoreIndexStore({
|
|
374
|
-
azureCosmosVCoreKVStore,
|
|
375
|
-
namespace
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* Static method for creating an instance using a connection string.
|
|
380
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
381
|
-
* @param connectionString - MongoDB connection string
|
|
382
|
-
* @param dbName - Database name
|
|
383
|
-
* @param collectionName - Collection name
|
|
384
|
-
* @example
|
|
385
|
-
* ```ts
|
|
386
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
387
|
-
* ```
|
|
388
|
-
*/ static fromConnectionString(connectionString, dbName = DEFAULT_DATABASE$1, collectionName = DEFAULT_COLLECTION) {
|
|
389
|
-
const mongoClient = new mongodb.MongoClient(connectionString, {
|
|
390
|
-
appName: "VECTORSTORES_JS"
|
|
391
|
-
});
|
|
392
|
-
return new AzureCosmosVCoreIndexStore({
|
|
393
|
-
azureCosmosVCoreKVStore: new AzureCosmosVCoreKVStore({
|
|
394
|
-
mongoClient,
|
|
395
|
-
dbName,
|
|
396
|
-
collectionName
|
|
397
|
-
}),
|
|
398
|
-
namespace: `${dbName}.${collectionName}`
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
const DEFAULT_DATABASE = "IndexStoreDB";
|
|
404
|
-
const DEFAULT_CONTAINER = "IndexStoreContainer";
|
|
405
|
-
class AzureCosmosNoSqlIndexStore extends core.KVIndexStore {
|
|
406
|
-
constructor({ azureCosmosNoSqlKVStore, namespace }){
|
|
407
|
-
super(azureCosmosNoSqlKVStore, namespace);
|
|
408
|
-
}
|
|
409
|
-
/**
|
|
410
|
-
* Static method for creating an instance using a connection string.
|
|
411
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
412
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
413
|
-
*/ static fromConnectionString(options = {}) {
|
|
414
|
-
options.dbName = options.dbName || DEFAULT_DATABASE;
|
|
415
|
-
options.containerName = options.containerName || DEFAULT_CONTAINER;
|
|
416
|
-
const azureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore.fromConnectionString(options);
|
|
417
|
-
const namespace = `${options.dbName}.${options.containerName}`;
|
|
418
|
-
return new AzureCosmosNoSqlIndexStore({
|
|
419
|
-
azureCosmosNoSqlKVStore,
|
|
420
|
-
namespace
|
|
421
|
-
});
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
425
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
426
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
427
|
-
*/ static fromAccountAndKey(options = {}) {
|
|
428
|
-
options.dbName = options.dbName || DEFAULT_DATABASE;
|
|
429
|
-
options.containerName = options.containerName || DEFAULT_CONTAINER;
|
|
430
|
-
const azureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore.fromAccountAndKey(options);
|
|
431
|
-
const namespace = `${options.dbName}.${options.containerName}`;
|
|
432
|
-
return new AzureCosmosNoSqlIndexStore({
|
|
433
|
-
azureCosmosNoSqlKVStore,
|
|
434
|
-
namespace
|
|
435
|
-
});
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* Static method for creating an instance using AAD token.
|
|
439
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
440
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
441
|
-
*/ static fromAadToken(options = {}) {
|
|
442
|
-
options.dbName = options.dbName || DEFAULT_DATABASE;
|
|
443
|
-
options.containerName = options.containerName || DEFAULT_CONTAINER;
|
|
444
|
-
const azureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore.fromAadToken(options);
|
|
445
|
-
const namespace = `${options.dbName}.${options.containerName}`;
|
|
446
|
-
return new AzureCosmosNoSqlIndexStore({
|
|
447
|
-
azureCosmosNoSqlKVStore,
|
|
448
|
-
namespace
|
|
449
|
-
});
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
exports.AzureCosmosNoSqlDocumentStore = AzureCosmosNoSqlDocumentStore;
|
|
454
|
-
exports.AzureCosmosNoSqlIndexStore = AzureCosmosNoSqlIndexStore;
|
|
455
244
|
exports.AzureCosmosNoSqlKVStore = AzureCosmosNoSqlKVStore;
|
|
456
|
-
exports.AzureCosmosVCoreDocumentStore = AzureCosmosVCoreDocumentStore;
|
|
457
|
-
exports.AzureCosmosVCoreIndexStore = AzureCosmosVCoreIndexStore;
|
|
458
245
|
exports.AzureCosmosVCoreKVStore = AzureCosmosVCoreKVStore;
|
package/dist/storage.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseKVStore
|
|
1
|
+
import { BaseKVStore } from '@vectorstores/core';
|
|
2
2
|
import { MongoClient } from 'mongodb';
|
|
3
3
|
import { CosmosClient } from '@azure/cosmos';
|
|
4
4
|
import { TokenCredential } from '@azure/identity';
|
|
@@ -28,39 +28,6 @@ declare class AzureCosmosVCoreKVStore extends BaseKVStore {
|
|
|
28
28
|
delete(key: string): Promise<boolean>;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
interface AzureCosmosVCoreDocumentStoreArgs {
|
|
32
|
-
azureCosmosVCoreKVStore: AzureCosmosVCoreKVStore;
|
|
33
|
-
namespace?: string;
|
|
34
|
-
}
|
|
35
|
-
declare class AzureCosmosVCoreDocumentStore extends KVDocumentStore {
|
|
36
|
-
constructor({ azureCosmosVCoreKVStore, namespace, }: AzureCosmosVCoreDocumentStoreArgs);
|
|
37
|
-
/**
|
|
38
|
-
* Static method for creating an instance using a MongoClient.
|
|
39
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
40
|
-
* @param mongoClient - MongoClient instance
|
|
41
|
-
* @param dbName - Database name
|
|
42
|
-
* @param collectionName - Collection name
|
|
43
|
-
* @example
|
|
44
|
-
* ```ts
|
|
45
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
46
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
static fromMongoClient(mongoClient: MongoClient, dbName?: string, collectionName?: string): AzureCosmosVCoreDocumentStore;
|
|
50
|
-
/**
|
|
51
|
-
* Static method for creating an instance using a connection string.
|
|
52
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
53
|
-
* @param connectionString - MongoDB connection string
|
|
54
|
-
* @param dbName - Database name
|
|
55
|
-
* @param collectionName - Collection name
|
|
56
|
-
* @example
|
|
57
|
-
* ```ts
|
|
58
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
|
-
static fromConnectionString(connectionString: string, dbName?: string, collectionName?: string): AzureCosmosVCoreDocumentStore;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
31
|
interface CosmosDatabaseProperties {
|
|
65
32
|
throughput?: number;
|
|
66
33
|
}
|
|
@@ -131,90 +98,5 @@ declare class AzureCosmosNoSqlKVStore extends BaseKVStore {
|
|
|
131
98
|
delete(key: string): Promise<boolean>;
|
|
132
99
|
}
|
|
133
100
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
namespace?: string;
|
|
137
|
-
}
|
|
138
|
-
declare class AzureCosmosNoSqlDocumentStore extends KVDocumentStore {
|
|
139
|
-
constructor({ azureCosmosNoSqlKVStore, namespace, }: AzureCosmosNoSqlDocumentStoreArgs);
|
|
140
|
-
/**
|
|
141
|
-
* Static method for creating an instance using a connection string.
|
|
142
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
143
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
144
|
-
*/
|
|
145
|
-
static fromConnectionString(options?: ConnectionStringOptions): AzureCosmosNoSqlDocumentStore;
|
|
146
|
-
/**
|
|
147
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
148
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
149
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
150
|
-
*/
|
|
151
|
-
static fromAccountAndKey(options?: AccountAndKeyOptions): AzureCosmosNoSqlDocumentStore;
|
|
152
|
-
/**
|
|
153
|
-
* Static method for creating an instance using AAD token.
|
|
154
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
155
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
156
|
-
*/
|
|
157
|
-
static fromAadToken(options?: AadTokenOptions): AzureCosmosNoSqlDocumentStore;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
interface AzureCosmosVCoreIndexStoreArgs {
|
|
161
|
-
azureCosmosVCoreKVStore: AzureCosmosVCoreKVStore;
|
|
162
|
-
namespace?: string;
|
|
163
|
-
}
|
|
164
|
-
declare class AzureCosmosVCoreIndexStore extends KVIndexStore {
|
|
165
|
-
constructor({ azureCosmosVCoreKVStore, namespace, }: AzureCosmosVCoreIndexStoreArgs);
|
|
166
|
-
/**
|
|
167
|
-
* Static method for creating an instance using a MongoClient.
|
|
168
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
169
|
-
* @param mongoClient - MongoClient instance
|
|
170
|
-
* @param dbName - Database name
|
|
171
|
-
* @param collectionName - Collection name
|
|
172
|
-
* @example
|
|
173
|
-
* ```ts
|
|
174
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
175
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
176
|
-
* ```
|
|
177
|
-
*/
|
|
178
|
-
static fromMongoClient(mongoClient: MongoClient, dbName?: string, collectionName?: string): AzureCosmosVCoreIndexStore;
|
|
179
|
-
/**
|
|
180
|
-
* Static method for creating an instance using a connection string.
|
|
181
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
182
|
-
* @param connectionString - MongoDB connection string
|
|
183
|
-
* @param dbName - Database name
|
|
184
|
-
* @param collectionName - Collection name
|
|
185
|
-
* @example
|
|
186
|
-
* ```ts
|
|
187
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
188
|
-
* ```
|
|
189
|
-
*/
|
|
190
|
-
static fromConnectionString(connectionString: string, dbName?: string, collectionName?: string): AzureCosmosVCoreIndexStore;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
interface AzureCosmosNoSqlIndexStoreArgs {
|
|
194
|
-
azureCosmosNoSqlKVStore: AzureCosmosNoSqlKVStore;
|
|
195
|
-
namespace?: string;
|
|
196
|
-
}
|
|
197
|
-
declare class AzureCosmosNoSqlIndexStore extends KVIndexStore {
|
|
198
|
-
constructor({ azureCosmosNoSqlKVStore, namespace, }: AzureCosmosNoSqlIndexStoreArgs);
|
|
199
|
-
/**
|
|
200
|
-
* Static method for creating an instance using a connection string.
|
|
201
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
202
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
203
|
-
*/
|
|
204
|
-
static fromConnectionString(options?: ConnectionStringOptions): AzureCosmosNoSqlIndexStore;
|
|
205
|
-
/**
|
|
206
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
207
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
208
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
209
|
-
*/
|
|
210
|
-
static fromAccountAndKey(options?: AccountAndKeyOptions): AzureCosmosNoSqlIndexStore;
|
|
211
|
-
/**
|
|
212
|
-
* Static method for creating an instance using AAD token.
|
|
213
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
214
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
215
|
-
*/
|
|
216
|
-
static fromAadToken(options?: AadTokenOptions): AzureCosmosNoSqlIndexStore;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export { AzureCosmosNoSqlDocumentStore, AzureCosmosNoSqlIndexStore, AzureCosmosNoSqlKVStore, AzureCosmosVCoreDocumentStore, AzureCosmosVCoreIndexStore, AzureCosmosVCoreKVStore };
|
|
220
|
-
export type { AadTokenOptions, AccountAndKeyOptions, AzureCosmosNoSqlDocumentStoreArgs, AzureCosmosNoSqlIndexStoreArgs, AzureCosmosNoSqlKVStoreConfig, AzureCosmosVCoreDocumentStoreArgs, AzureCosmosVCoreIndexStoreArgs, AzureCosmosVCoreKVStoreConfig, ConnectionStringOptions, CosmosContainerProperties, CosmosDatabaseProperties, VcoreConnectionStringOptions };
|
|
101
|
+
export { AzureCosmosNoSqlKVStore, AzureCosmosVCoreKVStore };
|
|
102
|
+
export type { AadTokenOptions, AccountAndKeyOptions, AzureCosmosNoSqlKVStoreConfig, AzureCosmosVCoreKVStoreConfig, ConnectionStringOptions, CosmosContainerProperties, CosmosDatabaseProperties, VcoreConnectionStringOptions };
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseKVStore
|
|
1
|
+
import { BaseKVStore } from '@vectorstores/core';
|
|
2
2
|
import { MongoClient } from 'mongodb';
|
|
3
3
|
import { CosmosClient } from '@azure/cosmos';
|
|
4
4
|
import { TokenCredential } from '@azure/identity';
|
|
@@ -28,39 +28,6 @@ declare class AzureCosmosVCoreKVStore extends BaseKVStore {
|
|
|
28
28
|
delete(key: string): Promise<boolean>;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
interface AzureCosmosVCoreDocumentStoreArgs {
|
|
32
|
-
azureCosmosVCoreKVStore: AzureCosmosVCoreKVStore;
|
|
33
|
-
namespace?: string;
|
|
34
|
-
}
|
|
35
|
-
declare class AzureCosmosVCoreDocumentStore extends KVDocumentStore {
|
|
36
|
-
constructor({ azureCosmosVCoreKVStore, namespace, }: AzureCosmosVCoreDocumentStoreArgs);
|
|
37
|
-
/**
|
|
38
|
-
* Static method for creating an instance using a MongoClient.
|
|
39
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
40
|
-
* @param mongoClient - MongoClient instance
|
|
41
|
-
* @param dbName - Database name
|
|
42
|
-
* @param collectionName - Collection name
|
|
43
|
-
* @example
|
|
44
|
-
* ```ts
|
|
45
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
46
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
static fromMongoClient(mongoClient: MongoClient, dbName?: string, collectionName?: string): AzureCosmosVCoreDocumentStore;
|
|
50
|
-
/**
|
|
51
|
-
* Static method for creating an instance using a connection string.
|
|
52
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
53
|
-
* @param connectionString - MongoDB connection string
|
|
54
|
-
* @param dbName - Database name
|
|
55
|
-
* @param collectionName - Collection name
|
|
56
|
-
* @example
|
|
57
|
-
* ```ts
|
|
58
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
|
-
static fromConnectionString(connectionString: string, dbName?: string, collectionName?: string): AzureCosmosVCoreDocumentStore;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
31
|
interface CosmosDatabaseProperties {
|
|
65
32
|
throughput?: number;
|
|
66
33
|
}
|
|
@@ -131,90 +98,5 @@ declare class AzureCosmosNoSqlKVStore extends BaseKVStore {
|
|
|
131
98
|
delete(key: string): Promise<boolean>;
|
|
132
99
|
}
|
|
133
100
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
namespace?: string;
|
|
137
|
-
}
|
|
138
|
-
declare class AzureCosmosNoSqlDocumentStore extends KVDocumentStore {
|
|
139
|
-
constructor({ azureCosmosNoSqlKVStore, namespace, }: AzureCosmosNoSqlDocumentStoreArgs);
|
|
140
|
-
/**
|
|
141
|
-
* Static method for creating an instance using a connection string.
|
|
142
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
143
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
144
|
-
*/
|
|
145
|
-
static fromConnectionString(options?: ConnectionStringOptions): AzureCosmosNoSqlDocumentStore;
|
|
146
|
-
/**
|
|
147
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
148
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
149
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
150
|
-
*/
|
|
151
|
-
static fromAccountAndKey(options?: AccountAndKeyOptions): AzureCosmosNoSqlDocumentStore;
|
|
152
|
-
/**
|
|
153
|
-
* Static method for creating an instance using AAD token.
|
|
154
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
155
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
156
|
-
*/
|
|
157
|
-
static fromAadToken(options?: AadTokenOptions): AzureCosmosNoSqlDocumentStore;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
interface AzureCosmosVCoreIndexStoreArgs {
|
|
161
|
-
azureCosmosVCoreKVStore: AzureCosmosVCoreKVStore;
|
|
162
|
-
namespace?: string;
|
|
163
|
-
}
|
|
164
|
-
declare class AzureCosmosVCoreIndexStore extends KVIndexStore {
|
|
165
|
-
constructor({ azureCosmosVCoreKVStore, namespace, }: AzureCosmosVCoreIndexStoreArgs);
|
|
166
|
-
/**
|
|
167
|
-
* Static method for creating an instance using a MongoClient.
|
|
168
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
169
|
-
* @param mongoClient - MongoClient instance
|
|
170
|
-
* @param dbName - Database name
|
|
171
|
-
* @param collectionName - Collection name
|
|
172
|
-
* @example
|
|
173
|
-
* ```ts
|
|
174
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
175
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
176
|
-
* ```
|
|
177
|
-
*/
|
|
178
|
-
static fromMongoClient(mongoClient: MongoClient, dbName?: string, collectionName?: string): AzureCosmosVCoreIndexStore;
|
|
179
|
-
/**
|
|
180
|
-
* Static method for creating an instance using a connection string.
|
|
181
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
182
|
-
* @param connectionString - MongoDB connection string
|
|
183
|
-
* @param dbName - Database name
|
|
184
|
-
* @param collectionName - Collection name
|
|
185
|
-
* @example
|
|
186
|
-
* ```ts
|
|
187
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
188
|
-
* ```
|
|
189
|
-
*/
|
|
190
|
-
static fromConnectionString(connectionString: string, dbName?: string, collectionName?: string): AzureCosmosVCoreIndexStore;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
interface AzureCosmosNoSqlIndexStoreArgs {
|
|
194
|
-
azureCosmosNoSqlKVStore: AzureCosmosNoSqlKVStore;
|
|
195
|
-
namespace?: string;
|
|
196
|
-
}
|
|
197
|
-
declare class AzureCosmosNoSqlIndexStore extends KVIndexStore {
|
|
198
|
-
constructor({ azureCosmosNoSqlKVStore, namespace, }: AzureCosmosNoSqlIndexStoreArgs);
|
|
199
|
-
/**
|
|
200
|
-
* Static method for creating an instance using a connection string.
|
|
201
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
202
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
203
|
-
*/
|
|
204
|
-
static fromConnectionString(options?: ConnectionStringOptions): AzureCosmosNoSqlIndexStore;
|
|
205
|
-
/**
|
|
206
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
207
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
208
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
209
|
-
*/
|
|
210
|
-
static fromAccountAndKey(options?: AccountAndKeyOptions): AzureCosmosNoSqlIndexStore;
|
|
211
|
-
/**
|
|
212
|
-
* Static method for creating an instance using AAD token.
|
|
213
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
214
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
215
|
-
*/
|
|
216
|
-
static fromAadToken(options?: AadTokenOptions): AzureCosmosNoSqlIndexStore;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export { AzureCosmosNoSqlDocumentStore, AzureCosmosNoSqlIndexStore, AzureCosmosNoSqlKVStore, AzureCosmosVCoreDocumentStore, AzureCosmosVCoreIndexStore, AzureCosmosVCoreKVStore };
|
|
220
|
-
export type { AadTokenOptions, AccountAndKeyOptions, AzureCosmosNoSqlDocumentStoreArgs, AzureCosmosNoSqlIndexStoreArgs, AzureCosmosNoSqlKVStoreConfig, AzureCosmosVCoreDocumentStoreArgs, AzureCosmosVCoreIndexStoreArgs, AzureCosmosVCoreKVStoreConfig, ConnectionStringOptions, CosmosContainerProperties, CosmosDatabaseProperties, VcoreConnectionStringOptions };
|
|
101
|
+
export { AzureCosmosNoSqlKVStore, AzureCosmosVCoreKVStore };
|
|
102
|
+
export type { AadTokenOptions, AccountAndKeyOptions, AzureCosmosNoSqlKVStoreConfig, AzureCosmosVCoreKVStoreConfig, ConnectionStringOptions, CosmosContainerProperties, CosmosDatabaseProperties, VcoreConnectionStringOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseKVStore
|
|
1
|
+
import { BaseKVStore } from '@vectorstores/core';
|
|
2
2
|
import { MongoClient } from 'mongodb';
|
|
3
3
|
import { CosmosClient } from '@azure/cosmos';
|
|
4
4
|
import { TokenCredential } from '@azure/identity';
|
|
@@ -28,39 +28,6 @@ declare class AzureCosmosVCoreKVStore extends BaseKVStore {
|
|
|
28
28
|
delete(key: string): Promise<boolean>;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
interface AzureCosmosVCoreDocumentStoreArgs {
|
|
32
|
-
azureCosmosVCoreKVStore: AzureCosmosVCoreKVStore;
|
|
33
|
-
namespace?: string;
|
|
34
|
-
}
|
|
35
|
-
declare class AzureCosmosVCoreDocumentStore extends KVDocumentStore {
|
|
36
|
-
constructor({ azureCosmosVCoreKVStore, namespace, }: AzureCosmosVCoreDocumentStoreArgs);
|
|
37
|
-
/**
|
|
38
|
-
* Static method for creating an instance using a MongoClient.
|
|
39
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
40
|
-
* @param mongoClient - MongoClient instance
|
|
41
|
-
* @param dbName - Database name
|
|
42
|
-
* @param collectionName - Collection name
|
|
43
|
-
* @example
|
|
44
|
-
* ```ts
|
|
45
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
46
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
static fromMongoClient(mongoClient: MongoClient, dbName?: string, collectionName?: string): AzureCosmosVCoreDocumentStore;
|
|
50
|
-
/**
|
|
51
|
-
* Static method for creating an instance using a connection string.
|
|
52
|
-
* @returns Instance of AzureCosmosVCoreDocumentStore
|
|
53
|
-
* @param connectionString - MongoDB connection string
|
|
54
|
-
* @param dbName - Database name
|
|
55
|
-
* @param collectionName - Collection name
|
|
56
|
-
* @example
|
|
57
|
-
* ```ts
|
|
58
|
-
* const indexStore = AzureCosmosVCoreDocumentStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
|
-
static fromConnectionString(connectionString: string, dbName?: string, collectionName?: string): AzureCosmosVCoreDocumentStore;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
31
|
interface CosmosDatabaseProperties {
|
|
65
32
|
throughput?: number;
|
|
66
33
|
}
|
|
@@ -131,90 +98,5 @@ declare class AzureCosmosNoSqlKVStore extends BaseKVStore {
|
|
|
131
98
|
delete(key: string): Promise<boolean>;
|
|
132
99
|
}
|
|
133
100
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
namespace?: string;
|
|
137
|
-
}
|
|
138
|
-
declare class AzureCosmosNoSqlDocumentStore extends KVDocumentStore {
|
|
139
|
-
constructor({ azureCosmosNoSqlKVStore, namespace, }: AzureCosmosNoSqlDocumentStoreArgs);
|
|
140
|
-
/**
|
|
141
|
-
* Static method for creating an instance using a connection string.
|
|
142
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
143
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
144
|
-
*/
|
|
145
|
-
static fromConnectionString(options?: ConnectionStringOptions): AzureCosmosNoSqlDocumentStore;
|
|
146
|
-
/**
|
|
147
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
148
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
149
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
150
|
-
*/
|
|
151
|
-
static fromAccountAndKey(options?: AccountAndKeyOptions): AzureCosmosNoSqlDocumentStore;
|
|
152
|
-
/**
|
|
153
|
-
* Static method for creating an instance using AAD token.
|
|
154
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
155
|
-
* @returns Instance of AzureCosmosNoSqlDocumentStore
|
|
156
|
-
*/
|
|
157
|
-
static fromAadToken(options?: AadTokenOptions): AzureCosmosNoSqlDocumentStore;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
interface AzureCosmosVCoreIndexStoreArgs {
|
|
161
|
-
azureCosmosVCoreKVStore: AzureCosmosVCoreKVStore;
|
|
162
|
-
namespace?: string;
|
|
163
|
-
}
|
|
164
|
-
declare class AzureCosmosVCoreIndexStore extends KVIndexStore {
|
|
165
|
-
constructor({ azureCosmosVCoreKVStore, namespace, }: AzureCosmosVCoreIndexStoreArgs);
|
|
166
|
-
/**
|
|
167
|
-
* Static method for creating an instance using a MongoClient.
|
|
168
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
169
|
-
* @param mongoClient - MongoClient instance
|
|
170
|
-
* @param dbName - Database name
|
|
171
|
-
* @param collectionName - Collection name
|
|
172
|
-
* @example
|
|
173
|
-
* ```ts
|
|
174
|
-
* const mongoClient = new MongoClient("mongodb://localhost:27017");
|
|
175
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromMongoClient(mongoClient, "my_db", "my_collection");
|
|
176
|
-
* ```
|
|
177
|
-
*/
|
|
178
|
-
static fromMongoClient(mongoClient: MongoClient, dbName?: string, collectionName?: string): AzureCosmosVCoreIndexStore;
|
|
179
|
-
/**
|
|
180
|
-
* Static method for creating an instance using a connection string.
|
|
181
|
-
* @returns Instance of AzureCosmosVCoreIndexStore
|
|
182
|
-
* @param connectionString - MongoDB connection string
|
|
183
|
-
* @param dbName - Database name
|
|
184
|
-
* @param collectionName - Collection name
|
|
185
|
-
* @example
|
|
186
|
-
* ```ts
|
|
187
|
-
* const indexStore = AzureCosmosVCoreIndexStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");
|
|
188
|
-
* ```
|
|
189
|
-
*/
|
|
190
|
-
static fromConnectionString(connectionString: string, dbName?: string, collectionName?: string): AzureCosmosVCoreIndexStore;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
interface AzureCosmosNoSqlIndexStoreArgs {
|
|
194
|
-
azureCosmosNoSqlKVStore: AzureCosmosNoSqlKVStore;
|
|
195
|
-
namespace?: string;
|
|
196
|
-
}
|
|
197
|
-
declare class AzureCosmosNoSqlIndexStore extends KVIndexStore {
|
|
198
|
-
constructor({ azureCosmosNoSqlKVStore, namespace, }: AzureCosmosNoSqlIndexStoreArgs);
|
|
199
|
-
/**
|
|
200
|
-
* Static method for creating an instance using a connection string.
|
|
201
|
-
* If no connection string is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_CONNECTION_STRING` as connection string.
|
|
202
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
203
|
-
*/
|
|
204
|
-
static fromConnectionString(options?: ConnectionStringOptions): AzureCosmosNoSqlIndexStore;
|
|
205
|
-
/**
|
|
206
|
-
* Static method for creating an instance using a account endpoint and key.
|
|
207
|
-
* If no endpoint and key is provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as enpoint and `AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY` as key.
|
|
208
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
209
|
-
*/
|
|
210
|
-
static fromAccountAndKey(options?: AccountAndKeyOptions): AzureCosmosNoSqlIndexStore;
|
|
211
|
-
/**
|
|
212
|
-
* Static method for creating an instance using AAD token.
|
|
213
|
-
* If no endpoint and credentials are provided, it will attempt to use the env variable `AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT` as endpoint and use DefaultAzureCredential() as credentials.
|
|
214
|
-
* @returns Instance of AzureCosmosNoSqlIndexStore
|
|
215
|
-
*/
|
|
216
|
-
static fromAadToken(options?: AadTokenOptions): AzureCosmosNoSqlIndexStore;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export { AzureCosmosNoSqlDocumentStore, AzureCosmosNoSqlIndexStore, AzureCosmosNoSqlKVStore, AzureCosmosVCoreDocumentStore, AzureCosmosVCoreIndexStore, AzureCosmosVCoreKVStore };
|
|
220
|
-
export type { AadTokenOptions, AccountAndKeyOptions, AzureCosmosNoSqlDocumentStoreArgs, AzureCosmosNoSqlIndexStoreArgs, AzureCosmosNoSqlKVStoreConfig, AzureCosmosVCoreDocumentStoreArgs, AzureCosmosVCoreIndexStoreArgs, AzureCosmosVCoreKVStoreConfig, ConnectionStringOptions, CosmosContainerProperties, CosmosDatabaseProperties, VcoreConnectionStringOptions };
|
|
101
|
+
export { AzureCosmosNoSqlKVStore, AzureCosmosVCoreKVStore };
|
|
102
|
+
export type { AadTokenOptions, AccountAndKeyOptions, AzureCosmosNoSqlKVStoreConfig, AzureCosmosVCoreKVStoreConfig, ConnectionStringOptions, CosmosContainerProperties, CosmosDatabaseProperties, VcoreConnectionStringOptions };
|