@orion-js/mongodb 4.3.1 → 4.5.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/LICENSE +21 -0
- package/dist/connect/connections.d.ts +56 -0
- package/dist/connect/getDBName.d.ts +1 -0
- package/dist/connect/getMongoConnection.d.ts +8 -0
- package/dist/connect/getMongoURLFromEnv.d.ts +2 -0
- package/dist/connect/index.d.ts +4 -0
- package/dist/createCollection/collectionsRegistry.d.ts +58 -0
- package/dist/createCollection/createIndexes.d.ts +12 -0
- package/dist/createCollection/deleteUnusedIndexes.d.ts +45 -0
- package/dist/createCollection/generateId.d.ts +3 -0
- package/dist/createCollection/getIndexOptions.d.ts +30 -0
- package/dist/createCollection/getMethods/cleanModifier.d.ts +5 -0
- package/dist/createCollection/getMethods/countDocuments.d.ts +2 -0
- package/dist/createCollection/getMethods/dataLoader/dataLoad/getDataLoader.d.ts +9 -0
- package/dist/createCollection/getMethods/dataLoader/dataLoad/index.d.ts +9 -0
- package/dist/createCollection/getMethods/dataLoader/index.d.ts +5 -0
- package/dist/createCollection/getMethods/dataLoader/loadById.d.ts +2 -0
- package/dist/createCollection/getMethods/dataLoader/loadData.d.ts +2 -0
- package/dist/createCollection/getMethods/dataLoader/loadMany.d.ts +2 -0
- package/dist/createCollection/getMethods/dataLoader/loadOne.d.ts +2 -0
- package/dist/createCollection/getMethods/deleteMany.d.ts +2 -0
- package/dist/createCollection/getMethods/deleteOne.d.ts +2 -0
- package/dist/createCollection/getMethods/estimatedDocumentCount.d.ts +3 -0
- package/dist/createCollection/getMethods/find.d.ts +2 -0
- package/dist/createCollection/getMethods/findOne.d.ts +2 -0
- package/dist/createCollection/getMethods/findOneAndUpdate.d.ts +3 -0
- package/dist/createCollection/getMethods/getSelector.d.ts +3 -0
- package/dist/createCollection/getMethods/index.d.ts +16 -0
- package/dist/createCollection/getMethods/insertAndFind.d.ts +3 -0
- package/dist/createCollection/getMethods/insertMany.d.ts +3 -0
- package/dist/createCollection/getMethods/insertOne.d.ts +3 -0
- package/dist/createCollection/getMethods/updateAndFind.d.ts +3 -0
- package/dist/createCollection/getMethods/updateItem.d.ts +2 -0
- package/dist/createCollection/getMethods/updateMany.d.ts +3 -0
- package/dist/createCollection/getMethods/updateOne.d.ts +3 -0
- package/dist/createCollection/getMethods/upsert.d.ts +3 -0
- package/dist/createCollection/getMethods/validateModifier/index.d.ts +1 -0
- package/dist/createCollection/getMethods/validateModifier/validateInc.d.ts +7 -0
- package/dist/createCollection/getMethods/validateModifier/validateOperator.d.ts +5 -0
- package/dist/createCollection/getMethods/validateModifier/validatePush.d.ts +8 -0
- package/dist/createCollection/getMethods/validateModifier/validateSet.d.ts +7 -0
- package/dist/createCollection/getMethods/validateModifier/validateUnset.d.ts +7 -0
- package/dist/createCollection/getMethods/validateModifier/validateUpsert.d.ts +1 -0
- package/dist/createCollection/getMethods/wrapErrors.d.ts +1 -0
- package/dist/createCollection/getSchemaAndModel.d.ts +4 -0
- package/dist/createCollection/index.d.ts +10 -0
- package/dist/createCollection/wrapMethods.d.ts +2 -0
- package/dist/encrypted/getOrCreateEncryptionKey.d.ts +17 -0
- package/dist/helpers/fromDot.d.ts +1 -0
- package/dist/helpers/toDot.d.ts +1 -0
- package/dist/index.cjs +102 -95
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -391
- package/dist/index.js +92 -85
- package/dist/index.js.map +1 -1
- package/dist/service/index.d.ts +3 -0
- package/dist/types/index.d.ts +233 -0
- package/package.json +18 -19
- package/dist/index.d.cts +0 -391
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Orionjs Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Db, MongoClient, MongoClientOptions } from 'mongodb';
|
|
2
|
+
export interface OrionMongoClient {
|
|
3
|
+
client: MongoClient;
|
|
4
|
+
db: Db;
|
|
5
|
+
uri: string;
|
|
6
|
+
dbName: string;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use startConnection() instead. This property is not guaranteed to be resolved if the connection is not started.
|
|
9
|
+
* When using async calls startConnection or connectionPromise is no longer needed. Orion will automatically start the connection if it is not already started.
|
|
10
|
+
* Kept for backwards compatibility. startConnection does not re-start the connection if it is already started, so it is safe to use.
|
|
11
|
+
*/
|
|
12
|
+
connectionPromise: Promise<MongoClient>;
|
|
13
|
+
connectionName: string;
|
|
14
|
+
encrypted: {
|
|
15
|
+
client: MongoClient;
|
|
16
|
+
db: Db;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Starts the connection if it is not already started.
|
|
20
|
+
* If the connection is already started, it resolves immediately.
|
|
21
|
+
*/
|
|
22
|
+
startConnection: () => Promise<MongoClient>;
|
|
23
|
+
closeConnection: () => Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
export declare const connectionWrappers: {
|
|
26
|
+
[key: string]: OrionMongoDatabaseWrapper;
|
|
27
|
+
};
|
|
28
|
+
declare class OrionMongoDatabaseWrapper implements OrionMongoClient {
|
|
29
|
+
uri: string;
|
|
30
|
+
dbName: string;
|
|
31
|
+
connectionName: string;
|
|
32
|
+
connectionPromise: Promise<MongoClient>;
|
|
33
|
+
private mongoOptions;
|
|
34
|
+
private connectionEvent;
|
|
35
|
+
private state;
|
|
36
|
+
client: MongoClient;
|
|
37
|
+
db: Db;
|
|
38
|
+
configured: boolean;
|
|
39
|
+
readonly encrypted: {
|
|
40
|
+
client: MongoClient;
|
|
41
|
+
db: Db;
|
|
42
|
+
};
|
|
43
|
+
readonly configTimeout: NodeJS.Timeout;
|
|
44
|
+
constructor(connectionName: string);
|
|
45
|
+
config(mongoURL: string, mongoOptions: MongoClientOptions): void;
|
|
46
|
+
awaitConnection(): Promise<this>;
|
|
47
|
+
connectWithRetry(client: MongoClient): Promise<MongoClient>;
|
|
48
|
+
startConnection(): Promise<MongoClient>;
|
|
49
|
+
closeConnection(): Promise<void>;
|
|
50
|
+
}
|
|
51
|
+
export declare function configureConnection(connectionName: string, mongoOptions: MongoClientOptions): Promise<OrionMongoDatabaseWrapper>;
|
|
52
|
+
export declare function getExistingConnection(connectionName: string): OrionMongoDatabaseWrapper;
|
|
53
|
+
export declare const connections: {
|
|
54
|
+
[key: string]: OrionMongoDatabaseWrapper;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getDBName(url: string): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { OrionMongoClient } from './connections';
|
|
2
|
+
export declare const allConnectionPromises: any[];
|
|
3
|
+
interface MongoConnectOptions {
|
|
4
|
+
name: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getMongoConnection: ({ name, uri }: MongoConnectOptions) => OrionMongoClient;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { connections, configureConnection } from './connections';
|
|
2
|
+
import { allConnectionPromises, getMongoConnection } from './getMongoConnection';
|
|
3
|
+
import getDBName from './getDBName';
|
|
4
|
+
export { getMongoConnection, connections, allConnectionPromises, configureConnection, getDBName };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Collection, CollectionIndex, ModelClassBase } from '../types';
|
|
2
|
+
import { DeleteUnusedIndexesResult } from './deleteUnusedIndexes';
|
|
3
|
+
/**
|
|
4
|
+
* Registry that tracks all collections created via createCollection().
|
|
5
|
+
* Maps connection name to a map of collection name to collection instance.
|
|
6
|
+
* When the same collection is registered multiple times, indexes are merged.
|
|
7
|
+
*/
|
|
8
|
+
export declare const collectionsRegistry: Map<string, Map<string, Collection<ModelClassBase>>>;
|
|
9
|
+
/**
|
|
10
|
+
* Registers a collection in the registry.
|
|
11
|
+
* Called automatically when a collection is created via createCollection().
|
|
12
|
+
* If the same collection name is registered multiple times, indexes are merged
|
|
13
|
+
* to support multiple createCollection() calls for the same collection.
|
|
14
|
+
* @param connectionName - The name of the MongoDB connection
|
|
15
|
+
* @param collection - The collection instance to register
|
|
16
|
+
*/
|
|
17
|
+
export declare function registerCollection(connectionName: string, collection: Collection<ModelClassBase>): void;
|
|
18
|
+
/**
|
|
19
|
+
* Gets all registered collections for a specific connection.
|
|
20
|
+
* @param connectionName - The name of the MongoDB connection (defaults to 'main')
|
|
21
|
+
* @returns Array of registered collections for the connection
|
|
22
|
+
*/
|
|
23
|
+
export declare function getRegisteredCollections(connectionName?: string): Array<Collection<ModelClassBase>>;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the merged indexes for a specific collection from the registry.
|
|
26
|
+
* This includes all indexes from all createCollection() calls for the same collection name.
|
|
27
|
+
* @param connectionName - The name of the MongoDB connection
|
|
28
|
+
* @param collectionName - The name of the collection
|
|
29
|
+
* @returns Array of merged index definitions, or empty array if collection not registered
|
|
30
|
+
*/
|
|
31
|
+
export declare function getMergedIndexes(connectionName: string, collectionName: string): CollectionIndex[];
|
|
32
|
+
/**
|
|
33
|
+
* Deletes unused indexes from all registered collections for a connection.
|
|
34
|
+
* Iterates over all collections registered via createCollection() and
|
|
35
|
+
* removes indexes that exist in MongoDB but are not defined in the collection configuration.
|
|
36
|
+
*
|
|
37
|
+
* **Important**: This function waits for all pending index creation to complete before
|
|
38
|
+
* deleting any indexes, to avoid race conditions where an index being created might
|
|
39
|
+
* be incorrectly identified as unused.
|
|
40
|
+
*
|
|
41
|
+
* @param connectionName - The name of the MongoDB connection (defaults to 'main')
|
|
42
|
+
* @returns Array of results for each collection that had indexes deleted
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* // Delete unused indexes from all collections on the main connection
|
|
47
|
+
* const results = await deleteAllUnusedIndexes()
|
|
48
|
+
*
|
|
49
|
+
* // Delete unused indexes from all collections on a specific connection
|
|
50
|
+
* const results = await deleteAllUnusedIndexes('secondary')
|
|
51
|
+
*
|
|
52
|
+
* // Log results
|
|
53
|
+
* for (const result of results) {
|
|
54
|
+
* console.log(`${result.collectionName}: deleted ${result.deletedIndexes.length} indexes`)
|
|
55
|
+
* }
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare function deleteAllUnusedIndexes(connectionName?: string): Promise<DeleteUnusedIndexesResult[]>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Collection, ModelClassBase } from '..';
|
|
2
|
+
export interface MongoDBIndex {
|
|
3
|
+
key: Record<string, unknown>;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Checks for indexes in the database that are not defined in the collection configuration.
|
|
8
|
+
* Uses merged indexes from all createCollection() calls for the same collection name.
|
|
9
|
+
* Logs a warning if unexpected indexes are found.
|
|
10
|
+
*/
|
|
11
|
+
export declare function checkIndexes<DocumentType extends ModelClassBase>(collection: Partial<Collection<DocumentType>>): Promise<void>;
|
|
12
|
+
export declare function loadIndexes<DocumentType extends ModelClassBase>(collection: Partial<Collection<DocumentType>>): Promise<string[]>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Collection, CollectionIndex, ModelClassBase } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a MongoDB index as returned by the indexes() method
|
|
4
|
+
*/
|
|
5
|
+
interface MongoDBIndex {
|
|
6
|
+
key: Record<string, unknown>;
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Compares two index key specifications for equality.
|
|
11
|
+
* Handles key order and special index types (2dsphere, hashed, etc.)
|
|
12
|
+
* Note: Text indexes are handled separately due to their special structure.
|
|
13
|
+
* @param definitionKeys - The keys from the collection index definition
|
|
14
|
+
* @param currentIndexKey - The keys from the current MongoDB index
|
|
15
|
+
* @returns true if the keys match exactly in order and values
|
|
16
|
+
*/
|
|
17
|
+
export declare function keysMatch(definitionKeys: Record<string, unknown>, currentIndexKey: Record<string, unknown>): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Checks if a current database index matches any of the defined indexes.
|
|
20
|
+
* First checks by custom name if provided (supports both flat and deprecated formats),
|
|
21
|
+
* then by key specification. Handles text indexes specially since MongoDB stores
|
|
22
|
+
* them with different key structure (_fts, _ftsx).
|
|
23
|
+
* @param definedIndexes - Array of index definitions from the collection
|
|
24
|
+
* @param currentIndex - The index from MongoDB to check
|
|
25
|
+
* @returns true if the index is defined in the collection configuration
|
|
26
|
+
*/
|
|
27
|
+
export declare function isIndexDefined(definedIndexes: CollectionIndex[], currentIndex: MongoDBIndex): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Result of the deleteUnusedIndexes operation
|
|
30
|
+
*/
|
|
31
|
+
export interface DeleteUnusedIndexesResult {
|
|
32
|
+
/** Names of the indexes that were deleted */
|
|
33
|
+
deletedIndexes: string[];
|
|
34
|
+
/** Name of the collection that was cleaned */
|
|
35
|
+
collectionName: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Deletes indexes that exist in MongoDB but are not defined in the collection configuration.
|
|
39
|
+
* This helps clean up stale indexes that are no longer needed.
|
|
40
|
+
* Always preserves the _id_ index.
|
|
41
|
+
* @param collection - The collection to clean unused indexes from
|
|
42
|
+
* @returns Information about which indexes were deleted
|
|
43
|
+
*/
|
|
44
|
+
export declare function deleteUnusedIndexes<DocumentType extends ModelClassBase>(collection: Partial<Collection<DocumentType>>): Promise<DeleteUnusedIndexesResult>;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CreateIndexesOptions } from 'mongodb';
|
|
2
|
+
import type { CollectionIndex } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Extracts the index options from a CollectionIndex definition.
|
|
5
|
+
* Handles both the new flat format and the deprecated nested options format.
|
|
6
|
+
*
|
|
7
|
+
* @example New format (recommended):
|
|
8
|
+
* ```ts
|
|
9
|
+
* { keys: { email: 1 }, unique: true, sparse: true }
|
|
10
|
+
* // Returns: { unique: true, sparse: true }
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @example Old format (deprecated):
|
|
14
|
+
* ```ts
|
|
15
|
+
* { keys: { email: 1 }, options: { unique: true } }
|
|
16
|
+
* // Returns: { unique: true }
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @param indexDef - The index definition from the collection configuration
|
|
20
|
+
* @returns The MongoDB CreateIndexesOptions to pass to createIndex()
|
|
21
|
+
*/
|
|
22
|
+
export declare function getIndexOptions(indexDef: CollectionIndex): CreateIndexesOptions | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the custom name from an index definition if one was specified.
|
|
25
|
+
* Handles both flat format and deprecated nested options format.
|
|
26
|
+
*
|
|
27
|
+
* @param indexDef - The index definition from the collection configuration
|
|
28
|
+
* @returns The custom index name if specified, undefined otherwise
|
|
29
|
+
*/
|
|
30
|
+
export declare function getIndexName(indexDef: CollectionIndex): string | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as MongoDB from 'mongodb';
|
|
2
|
+
import { ModelClassBase } from '../../types';
|
|
3
|
+
export default function cleanModifier<ModelClass extends ModelClassBase, TFilter extends MongoDB.UpdateFilter<ModelClass>>(schema: any, modifier: TFilter, { isUpsert }?: {
|
|
4
|
+
isUpsert: boolean;
|
|
5
|
+
}): Promise<TFilter>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import DataLoader from 'dataloader';
|
|
2
|
+
export declare const cache: Map<string, DataLoader<any, any, any>>;
|
|
3
|
+
interface Options {
|
|
4
|
+
key: string;
|
|
5
|
+
func: (ids: Array<string>) => Promise<any>;
|
|
6
|
+
timeout: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const getDataLoader: (params: Options) => DataLoader<any, any>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import find from './find';
|
|
2
|
+
import findOne from './findOne';
|
|
3
|
+
import upsert from './upsert';
|
|
4
|
+
import findOneAndUpdate from './findOneAndUpdate';
|
|
5
|
+
import updateOne from './updateOne';
|
|
6
|
+
import updateMany from './updateMany';
|
|
7
|
+
import updateAndFind from './updateAndFind';
|
|
8
|
+
import deleteOne from './deleteOne';
|
|
9
|
+
import deleteMany from './deleteMany';
|
|
10
|
+
import insertOne from './insertOne';
|
|
11
|
+
import insertMany from './insertMany';
|
|
12
|
+
import updateItem from './updateItem';
|
|
13
|
+
import countDocuments from './countDocuments';
|
|
14
|
+
import estimatedDocumentCount from './estimatedDocumentCount';
|
|
15
|
+
import insertAndFind from './insertAndFind';
|
|
16
|
+
export { findOne, find, findOneAndUpdate, insertOne, insertMany, insertAndFind, updateOne, updateMany, updateAndFind, updateItem, deleteOne, deleteMany, upsert, estimatedDocumentCount, countDocuments, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function validateModifier(schema: any, modifier: any): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (schema: any, selector: any, modifier: any): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const wrapErrors: <TFunc extends () => Promise<any>>(operation: TFunc) => Promise<ReturnType<TFunc>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Collection, CreateCollectionOptions, CreateCollectionOptionsWithSchemaType, CreateCollectionOptionsWithTypedSchema, InferSchemaTypeWithId, ModelClassBase, SchemaWithRequiredId } from '../types';
|
|
2
|
+
import { InferSchemaType, TypedSchemaOnSchema } from '@orion-js/schema';
|
|
3
|
+
export declare const createIndexesPromises: any[];
|
|
4
|
+
export declare function createCollection<T extends SchemaWithRequiredId>(options: CreateCollectionOptionsWithSchemaType<T>): Collection<InferSchemaTypeWithId<T>>;
|
|
5
|
+
export declare function createCollection<T extends TypedSchemaOnSchema & {
|
|
6
|
+
prototype: {
|
|
7
|
+
_id: string;
|
|
8
|
+
};
|
|
9
|
+
}>(options: CreateCollectionOptionsWithTypedSchema<T>): Collection<InferSchemaType<T>>;
|
|
10
|
+
export declare function createCollection<T extends ModelClassBase>(options: CreateCollectionOptions<T>): Collection<T>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AWSEncryptionKeyOptions, KMSProviders, UUID } from 'mongodb';
|
|
2
|
+
export declare function getOrCreateEncryptionKey({ keyAltName, kmsProvider, masterKey, connectionName, keyVaultDatabase, keyVaultCollection, kmsProviders, }: {
|
|
3
|
+
keyAltName: string;
|
|
4
|
+
kmsProvider: keyof KMSProviders;
|
|
5
|
+
masterKey?: AWSEncryptionKeyOptions;
|
|
6
|
+
connectionName?: string;
|
|
7
|
+
keyVaultDatabase?: string;
|
|
8
|
+
keyVaultCollection?: string;
|
|
9
|
+
kmsProviders: KMSProviders;
|
|
10
|
+
}): Promise<{
|
|
11
|
+
key: UUID;
|
|
12
|
+
keyVaultNamespace: string;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const ENCRYPTION_ALGORITHMS: {
|
|
15
|
+
DETERMINISTIC: string;
|
|
16
|
+
RANDOM: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function fromDot(doc: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (doc: any): any;
|