elseware-nodejs 1.11.8 → 1.12.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/dist/index.cjs +69 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -4
- package/dist/index.d.ts +21 -4
- package/dist/index.js +67 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZodTypeAny, z, ZodSchema } from 'zod';
|
|
2
|
-
import { CorsOptions } from 'cors';
|
|
3
2
|
import * as express from 'express';
|
|
4
3
|
import { Request, Response, NextFunction, RequestHandler } from 'express';
|
|
4
|
+
import { CorsOptions } from 'cors';
|
|
5
5
|
import * as qs from 'qs';
|
|
6
6
|
import * as express_serve_static_core from 'express-serve-static-core';
|
|
7
7
|
import { Schema } from 'joi';
|
|
@@ -1936,8 +1936,6 @@ interface ApiFeaturesConfig {
|
|
|
1936
1936
|
declare const DefaultApiFeaturesConfig: ApiFeaturesConfig;
|
|
1937
1937
|
|
|
1938
1938
|
declare class ApiFeatures {
|
|
1939
|
-
private static config;
|
|
1940
|
-
static configure(config: Partial<ApiFeaturesConfig>): void;
|
|
1941
1939
|
static getConfig(): ApiFeaturesConfig;
|
|
1942
1940
|
static parse(query: Record<string, unknown>): ParsedQuery;
|
|
1943
1941
|
private static parseFilters;
|
|
@@ -2164,6 +2162,25 @@ interface ServiceResponse<T> {
|
|
|
2164
2162
|
data: T;
|
|
2165
2163
|
}
|
|
2166
2164
|
|
|
2165
|
+
interface EJSConfig {
|
|
2166
|
+
apiFeatures?: Partial<ApiFeaturesConfig>;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
declare class EJS {
|
|
2170
|
+
static configure(config: Partial<EJSConfig>): void;
|
|
2171
|
+
static getConfig(): Readonly<EJSConfig>;
|
|
2172
|
+
static reset(): void;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
declare class EJSContext {
|
|
2176
|
+
private static config;
|
|
2177
|
+
static configure(config: Partial<EJSConfig>): void;
|
|
2178
|
+
static get(): Readonly<EJSConfig>;
|
|
2179
|
+
static reset(): void;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
declare const DefaultEJSConfig: EJSConfig;
|
|
2183
|
+
|
|
2167
2184
|
declare class MongoRepository<T> implements Repository<T> {
|
|
2168
2185
|
protected model: Model<T>;
|
|
2169
2186
|
constructor(model: Model<T>);
|
|
@@ -2346,4 +2363,4 @@ declare function toMinutes(ms: number): number;
|
|
|
2346
2363
|
declare function toHours(ms: number): number;
|
|
2347
2364
|
declare function sleep(ms: number): Promise<void>;
|
|
2348
2365
|
|
|
2349
|
-
export { AVLTree, AdjacencyList, AdjacencyMatrix, type AdjacentEdge, ApiFeatures, type ApiFeaturesConfig, type ApiMeta, ApiResponse, type ApiResponseOptions, AppError, type AppErrorOptions, AsyncHandler, type AsyncRequestHandler, type AuthStrategy, type AuthenticatedUser, type AzureBlobStorageConfig, AzureBlobStorageService, BPlusTree, BTree, BearerTokenStrategy, BinaryHeap, BinarySearchTree, BinaryTree, BloomFilter, CircularArray, CircularLinkedList, CircularQueue, type CloudinaryConfig, CloudinaryService, ConsistentHash, CorrelationId, type CorsOptionsConfig, CountMinSketch, CrudControllerFactory, type CrudControllerOptions, type DatabaseConnectionOptions, DatabaseManager, type DatabaseProvider, DefaultApiFeaturesConfig, Deque, type DirectedEdge, DirectedGraph, DisjointSetUnion, DoublyLinkedList, DynamicArray, type Edge, type EmailProvider, EmailService, type ErrorMeta, ErrorMiddleware, type ExponentialBackoffOptions, ExponentialBackoffRetryPolicy, FenwickTree, FibNode, FibonacciHeap, type Filter, FixedRetryPolicy, type FixedRetryPolicyOptions, Graph, HashMap, HashSet, HttpClient, type HttpClientOptions, HyperLogLog, type IValidator, type InferSchema, InternalServiceClient, type Interval, IntervalTree, JWTService, type JWTServiceOptions, JoiValidator, KDTree, LFUCache, LRUCache, type LoadEnvOptions, Logger, type LoggerOptions, MaxHeap, MaxStack, MinHeap, MinStack, type MongoDatabaseConfig, MongoDatabaseProvider, MongoRepository, MulterFileHandlerService, MultiSet, Node, OrderedSet, type PaginationMeta, type PaginationQuery, PairingHeap, PairingNode, type ParsedQuery, type PickOptions, type Point, type Point2D, PriorityQueue, type ProgressCallback, QuadTree, type QueryFilter, type QueryOperator, type QueryOptions, type QuerySort, Queue, RadixTree, type Rect, RedBlackTree, type Repository, RequestContext, type RequestContextData, type RequestContextOptions, type RetryPolicy, SMTPProvider, SegmentTree, type Select, type SendEmailOptions, ServiceClient, type ServiceResponse, Set, SinglyLinkedList, type Sort, SparseTable, SplayTree, Stack, type StandardApiResponse, StaticArray, StaticTokenProvider, SuffixArray, SuffixTree, TemplateEngine, TernarySearchTree, type TokenProvider, TracingHeaders, TreeNode, Trie, type UpdateQueryOptions, type UploadOptions, type ValidationResult, type ValidationSchema, ZodValidator, authMiddleware, createCorsOptions, createRequestContextMiddleware, days, errorToString, hours, isAllowedOrigin, isJoiSchema, isZodSchema, loadEnv, logger, milliseconds, minutes, pickFields, seconds, sleep, toHours, toMinutes, toSeconds, validate };
|
|
2366
|
+
export { AVLTree, AdjacencyList, AdjacencyMatrix, type AdjacentEdge, ApiFeatures, type ApiFeaturesConfig, type ApiMeta, ApiResponse, type ApiResponseOptions, AppError, type AppErrorOptions, AsyncHandler, type AsyncRequestHandler, type AuthStrategy, type AuthenticatedUser, type AzureBlobStorageConfig, AzureBlobStorageService, BPlusTree, BTree, BearerTokenStrategy, BinaryHeap, BinarySearchTree, BinaryTree, BloomFilter, CircularArray, CircularLinkedList, CircularQueue, type CloudinaryConfig, CloudinaryService, ConsistentHash, CorrelationId, type CorsOptionsConfig, CountMinSketch, CrudControllerFactory, type CrudControllerOptions, type DatabaseConnectionOptions, DatabaseManager, type DatabaseProvider, DefaultApiFeaturesConfig, DefaultEJSConfig, Deque, type DirectedEdge, DirectedGraph, DisjointSetUnion, DoublyLinkedList, DynamicArray, EJS, type EJSConfig, EJSContext, type Edge, type EmailProvider, EmailService, type ErrorMeta, ErrorMiddleware, type ExponentialBackoffOptions, ExponentialBackoffRetryPolicy, FenwickTree, FibNode, FibonacciHeap, type Filter, FixedRetryPolicy, type FixedRetryPolicyOptions, Graph, HashMap, HashSet, HttpClient, type HttpClientOptions, HyperLogLog, type IValidator, type InferSchema, InternalServiceClient, type Interval, IntervalTree, JWTService, type JWTServiceOptions, JoiValidator, KDTree, LFUCache, LRUCache, type LoadEnvOptions, Logger, type LoggerOptions, MaxHeap, MaxStack, MinHeap, MinStack, type MongoDatabaseConfig, MongoDatabaseProvider, MongoRepository, MulterFileHandlerService, MultiSet, Node, OrderedSet, type PaginationMeta, type PaginationQuery, PairingHeap, PairingNode, type ParsedQuery, type PickOptions, type Point, type Point2D, PriorityQueue, type ProgressCallback, QuadTree, type QueryFilter, type QueryOperator, type QueryOptions, type QuerySort, Queue, RadixTree, type Rect, RedBlackTree, type Repository, RequestContext, type RequestContextData, type RequestContextOptions, type RetryPolicy, SMTPProvider, SegmentTree, type Select, type SendEmailOptions, ServiceClient, type ServiceResponse, Set, SinglyLinkedList, type Sort, SparseTable, SplayTree, Stack, type StandardApiResponse, StaticArray, StaticTokenProvider, SuffixArray, SuffixTree, TemplateEngine, TernarySearchTree, type TokenProvider, TracingHeaders, TreeNode, Trie, type UpdateQueryOptions, type UploadOptions, type ValidationResult, type ValidationSchema, ZodValidator, authMiddleware, createCorsOptions, createRequestContextMiddleware, days, errorToString, hours, isAllowedOrigin, isJoiSchema, isZodSchema, loadEnv, logger, milliseconds, minutes, pickFields, seconds, sleep, toHours, toMinutes, toSeconds, validate };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZodTypeAny, z, ZodSchema } from 'zod';
|
|
2
|
-
import { CorsOptions } from 'cors';
|
|
3
2
|
import * as express from 'express';
|
|
4
3
|
import { Request, Response, NextFunction, RequestHandler } from 'express';
|
|
4
|
+
import { CorsOptions } from 'cors';
|
|
5
5
|
import * as qs from 'qs';
|
|
6
6
|
import * as express_serve_static_core from 'express-serve-static-core';
|
|
7
7
|
import { Schema } from 'joi';
|
|
@@ -1936,8 +1936,6 @@ interface ApiFeaturesConfig {
|
|
|
1936
1936
|
declare const DefaultApiFeaturesConfig: ApiFeaturesConfig;
|
|
1937
1937
|
|
|
1938
1938
|
declare class ApiFeatures {
|
|
1939
|
-
private static config;
|
|
1940
|
-
static configure(config: Partial<ApiFeaturesConfig>): void;
|
|
1941
1939
|
static getConfig(): ApiFeaturesConfig;
|
|
1942
1940
|
static parse(query: Record<string, unknown>): ParsedQuery;
|
|
1943
1941
|
private static parseFilters;
|
|
@@ -2164,6 +2162,25 @@ interface ServiceResponse<T> {
|
|
|
2164
2162
|
data: T;
|
|
2165
2163
|
}
|
|
2166
2164
|
|
|
2165
|
+
interface EJSConfig {
|
|
2166
|
+
apiFeatures?: Partial<ApiFeaturesConfig>;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
declare class EJS {
|
|
2170
|
+
static configure(config: Partial<EJSConfig>): void;
|
|
2171
|
+
static getConfig(): Readonly<EJSConfig>;
|
|
2172
|
+
static reset(): void;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
declare class EJSContext {
|
|
2176
|
+
private static config;
|
|
2177
|
+
static configure(config: Partial<EJSConfig>): void;
|
|
2178
|
+
static get(): Readonly<EJSConfig>;
|
|
2179
|
+
static reset(): void;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
declare const DefaultEJSConfig: EJSConfig;
|
|
2183
|
+
|
|
2167
2184
|
declare class MongoRepository<T> implements Repository<T> {
|
|
2168
2185
|
protected model: Model<T>;
|
|
2169
2186
|
constructor(model: Model<T>);
|
|
@@ -2346,4 +2363,4 @@ declare function toMinutes(ms: number): number;
|
|
|
2346
2363
|
declare function toHours(ms: number): number;
|
|
2347
2364
|
declare function sleep(ms: number): Promise<void>;
|
|
2348
2365
|
|
|
2349
|
-
export { AVLTree, AdjacencyList, AdjacencyMatrix, type AdjacentEdge, ApiFeatures, type ApiFeaturesConfig, type ApiMeta, ApiResponse, type ApiResponseOptions, AppError, type AppErrorOptions, AsyncHandler, type AsyncRequestHandler, type AuthStrategy, type AuthenticatedUser, type AzureBlobStorageConfig, AzureBlobStorageService, BPlusTree, BTree, BearerTokenStrategy, BinaryHeap, BinarySearchTree, BinaryTree, BloomFilter, CircularArray, CircularLinkedList, CircularQueue, type CloudinaryConfig, CloudinaryService, ConsistentHash, CorrelationId, type CorsOptionsConfig, CountMinSketch, CrudControllerFactory, type CrudControllerOptions, type DatabaseConnectionOptions, DatabaseManager, type DatabaseProvider, DefaultApiFeaturesConfig, Deque, type DirectedEdge, DirectedGraph, DisjointSetUnion, DoublyLinkedList, DynamicArray, type Edge, type EmailProvider, EmailService, type ErrorMeta, ErrorMiddleware, type ExponentialBackoffOptions, ExponentialBackoffRetryPolicy, FenwickTree, FibNode, FibonacciHeap, type Filter, FixedRetryPolicy, type FixedRetryPolicyOptions, Graph, HashMap, HashSet, HttpClient, type HttpClientOptions, HyperLogLog, type IValidator, type InferSchema, InternalServiceClient, type Interval, IntervalTree, JWTService, type JWTServiceOptions, JoiValidator, KDTree, LFUCache, LRUCache, type LoadEnvOptions, Logger, type LoggerOptions, MaxHeap, MaxStack, MinHeap, MinStack, type MongoDatabaseConfig, MongoDatabaseProvider, MongoRepository, MulterFileHandlerService, MultiSet, Node, OrderedSet, type PaginationMeta, type PaginationQuery, PairingHeap, PairingNode, type ParsedQuery, type PickOptions, type Point, type Point2D, PriorityQueue, type ProgressCallback, QuadTree, type QueryFilter, type QueryOperator, type QueryOptions, type QuerySort, Queue, RadixTree, type Rect, RedBlackTree, type Repository, RequestContext, type RequestContextData, type RequestContextOptions, type RetryPolicy, SMTPProvider, SegmentTree, type Select, type SendEmailOptions, ServiceClient, type ServiceResponse, Set, SinglyLinkedList, type Sort, SparseTable, SplayTree, Stack, type StandardApiResponse, StaticArray, StaticTokenProvider, SuffixArray, SuffixTree, TemplateEngine, TernarySearchTree, type TokenProvider, TracingHeaders, TreeNode, Trie, type UpdateQueryOptions, type UploadOptions, type ValidationResult, type ValidationSchema, ZodValidator, authMiddleware, createCorsOptions, createRequestContextMiddleware, days, errorToString, hours, isAllowedOrigin, isJoiSchema, isZodSchema, loadEnv, logger, milliseconds, minutes, pickFields, seconds, sleep, toHours, toMinutes, toSeconds, validate };
|
|
2366
|
+
export { AVLTree, AdjacencyList, AdjacencyMatrix, type AdjacentEdge, ApiFeatures, type ApiFeaturesConfig, type ApiMeta, ApiResponse, type ApiResponseOptions, AppError, type AppErrorOptions, AsyncHandler, type AsyncRequestHandler, type AuthStrategy, type AuthenticatedUser, type AzureBlobStorageConfig, AzureBlobStorageService, BPlusTree, BTree, BearerTokenStrategy, BinaryHeap, BinarySearchTree, BinaryTree, BloomFilter, CircularArray, CircularLinkedList, CircularQueue, type CloudinaryConfig, CloudinaryService, ConsistentHash, CorrelationId, type CorsOptionsConfig, CountMinSketch, CrudControllerFactory, type CrudControllerOptions, type DatabaseConnectionOptions, DatabaseManager, type DatabaseProvider, DefaultApiFeaturesConfig, DefaultEJSConfig, Deque, type DirectedEdge, DirectedGraph, DisjointSetUnion, DoublyLinkedList, DynamicArray, EJS, type EJSConfig, EJSContext, type Edge, type EmailProvider, EmailService, type ErrorMeta, ErrorMiddleware, type ExponentialBackoffOptions, ExponentialBackoffRetryPolicy, FenwickTree, FibNode, FibonacciHeap, type Filter, FixedRetryPolicy, type FixedRetryPolicyOptions, Graph, HashMap, HashSet, HttpClient, type HttpClientOptions, HyperLogLog, type IValidator, type InferSchema, InternalServiceClient, type Interval, IntervalTree, JWTService, type JWTServiceOptions, JoiValidator, KDTree, LFUCache, LRUCache, type LoadEnvOptions, Logger, type LoggerOptions, MaxHeap, MaxStack, MinHeap, MinStack, type MongoDatabaseConfig, MongoDatabaseProvider, MongoRepository, MulterFileHandlerService, MultiSet, Node, OrderedSet, type PaginationMeta, type PaginationQuery, PairingHeap, PairingNode, type ParsedQuery, type PickOptions, type Point, type Point2D, PriorityQueue, type ProgressCallback, QuadTree, type QueryFilter, type QueryOperator, type QueryOptions, type QuerySort, Queue, RadixTree, type Rect, RedBlackTree, type Repository, RequestContext, type RequestContextData, type RequestContextOptions, type RetryPolicy, SMTPProvider, SegmentTree, type Select, type SendEmailOptions, ServiceClient, type ServiceResponse, Set, SinglyLinkedList, type Sort, SparseTable, SplayTree, Stack, type StandardApiResponse, StaticArray, StaticTokenProvider, SuffixArray, SuffixTree, TemplateEngine, TernarySearchTree, type TokenProvider, TracingHeaders, TreeNode, Trie, type UpdateQueryOptions, type UploadOptions, type ValidationResult, type ValidationSchema, ZodValidator, authMiddleware, createCorsOptions, createRequestContextMiddleware, days, errorToString, hours, isAllowedOrigin, isJoiSchema, isZodSchema, loadEnv, logger, milliseconds, minutes, pickFields, seconds, sleep, toHours, toMinutes, toSeconds, validate };
|
package/dist/index.js
CHANGED
|
@@ -5012,17 +5012,11 @@ var DefaultApiFeaturesConfig = {
|
|
|
5012
5012
|
|
|
5013
5013
|
// src/infrastructure/http/query/ApiFeatures.ts
|
|
5014
5014
|
var ApiFeatures = class {
|
|
5015
|
-
static config = {
|
|
5016
|
-
...DefaultApiFeaturesConfig
|
|
5017
|
-
};
|
|
5018
|
-
static configure(config) {
|
|
5019
|
-
this.config = {
|
|
5020
|
-
...this.config,
|
|
5021
|
-
...config
|
|
5022
|
-
};
|
|
5023
|
-
}
|
|
5024
5015
|
static getConfig() {
|
|
5025
|
-
return
|
|
5016
|
+
return {
|
|
5017
|
+
...DefaultApiFeaturesConfig,
|
|
5018
|
+
...EJSContext.get().apiFeatures ?? {}
|
|
5019
|
+
};
|
|
5026
5020
|
}
|
|
5027
5021
|
static parse(query) {
|
|
5028
5022
|
return {
|
|
@@ -5034,12 +5028,13 @@ var ApiFeatures = class {
|
|
|
5034
5028
|
};
|
|
5035
5029
|
}
|
|
5036
5030
|
static parseFilters(query) {
|
|
5031
|
+
const config = this.getConfig();
|
|
5037
5032
|
const filters = [];
|
|
5038
5033
|
Object.entries(query).forEach(([key, value]) => {
|
|
5039
|
-
if (
|
|
5034
|
+
if (config.reservedFields.includes(key)) {
|
|
5040
5035
|
return;
|
|
5041
5036
|
}
|
|
5042
|
-
const operatorsPattern =
|
|
5037
|
+
const operatorsPattern = config.supportedOperators.join("|");
|
|
5043
5038
|
const match = key.match(new RegExp(`^(.+)\\[(${operatorsPattern})\\]$`));
|
|
5044
5039
|
if (match) {
|
|
5045
5040
|
filters.push({
|
|
@@ -5090,9 +5085,10 @@ var ApiFeatures = class {
|
|
|
5090
5085
|
return populate.split(",").map((field) => field.trim()).filter(Boolean);
|
|
5091
5086
|
}
|
|
5092
5087
|
static parsePagination(query) {
|
|
5093
|
-
const
|
|
5094
|
-
const
|
|
5095
|
-
const
|
|
5088
|
+
const config = this.getConfig();
|
|
5089
|
+
const page = Math.max(1, Number(query.page) || config.defaultPage);
|
|
5090
|
+
const requestedLimit = Number(query.limit) || config.defaultLimit;
|
|
5091
|
+
const limit = Math.min(Math.max(1, requestedLimit), config.maxLimit);
|
|
5096
5092
|
return {
|
|
5097
5093
|
page,
|
|
5098
5094
|
limit
|
|
@@ -5787,6 +5783,61 @@ var InternalServiceClient = class extends ServiceClient {
|
|
|
5787
5783
|
}
|
|
5788
5784
|
};
|
|
5789
5785
|
|
|
5786
|
+
// src/ejs/context/EJSConfig.ts
|
|
5787
|
+
var DefaultEJSConfig = {
|
|
5788
|
+
apiFeatures: DefaultApiFeaturesConfig
|
|
5789
|
+
};
|
|
5790
|
+
|
|
5791
|
+
// src/ejs/context/EJSContext.ts
|
|
5792
|
+
function deepMerge(target, source) {
|
|
5793
|
+
const result = {
|
|
5794
|
+
...target
|
|
5795
|
+
};
|
|
5796
|
+
Object.entries(source).forEach(([key, value]) => {
|
|
5797
|
+
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
5798
|
+
result[key] = deepMerge(
|
|
5799
|
+
result[key] ?? {},
|
|
5800
|
+
value
|
|
5801
|
+
);
|
|
5802
|
+
return;
|
|
5803
|
+
}
|
|
5804
|
+
result[key] = value;
|
|
5805
|
+
});
|
|
5806
|
+
return result;
|
|
5807
|
+
}
|
|
5808
|
+
var EJSContext = class {
|
|
5809
|
+
static config = {
|
|
5810
|
+
...DefaultEJSConfig
|
|
5811
|
+
};
|
|
5812
|
+
static configure(config) {
|
|
5813
|
+
this.config = deepMerge(
|
|
5814
|
+
this.config,
|
|
5815
|
+
config
|
|
5816
|
+
);
|
|
5817
|
+
}
|
|
5818
|
+
static get() {
|
|
5819
|
+
return this.config;
|
|
5820
|
+
}
|
|
5821
|
+
static reset() {
|
|
5822
|
+
this.config = {
|
|
5823
|
+
...DefaultEJSConfig
|
|
5824
|
+
};
|
|
5825
|
+
}
|
|
5826
|
+
};
|
|
5827
|
+
|
|
5828
|
+
// src/ejs/EJS.ts
|
|
5829
|
+
var EJS = class {
|
|
5830
|
+
static configure(config) {
|
|
5831
|
+
EJSContext.configure(config);
|
|
5832
|
+
}
|
|
5833
|
+
static getConfig() {
|
|
5834
|
+
return EJSContext.get();
|
|
5835
|
+
}
|
|
5836
|
+
static reset() {
|
|
5837
|
+
EJSContext.reset();
|
|
5838
|
+
}
|
|
5839
|
+
};
|
|
5840
|
+
|
|
5790
5841
|
// src/repositories/providers/MongoRepository.ts
|
|
5791
5842
|
var MongoRepository = class {
|
|
5792
5843
|
model;
|
|
@@ -6374,6 +6425,6 @@ function sleep(ms) {
|
|
|
6374
6425
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
6375
6426
|
}
|
|
6376
6427
|
|
|
6377
|
-
export { AVLTree, AdjacencyList, AdjacencyMatrix, ApiFeatures, ApiResponse, AppError, AsyncHandler, AzureBlobStorageService, BPlusTree, BTree, BearerTokenStrategy, BinaryHeap, BinarySearchTree, BinaryTree, BloomFilter, CircularArray, CircularLinkedList, CircularQueue, CloudinaryService, ConsistentHash, CorrelationId, CountMinSketch, CrudControllerFactory, DatabaseManager, DefaultApiFeaturesConfig, Deque, DirectedGraph, DisjointSetUnion, DoublyLinkedList, DynamicArray, EmailService, ErrorMiddleware, ExponentialBackoffRetryPolicy, FenwickTree, FibNode, FibonacciHeap, FixedRetryPolicy, Graph, HashMap, HashSet, HttpClient, HyperLogLog, InternalServiceClient, IntervalTree, JWTService, JoiValidator, KDTree, LFUCache, LRUCache, Logger, MaxHeap, MaxStack, MinHeap, MinStack, MongoDatabaseProvider, MongoRepository, MulterFileHandlerService, MultiSet, Node, OrderedSet, PairingHeap, PairingNode, PriorityQueue, QuadTree, Queue, RadixTree, RedBlackTree, RequestContext, SMTPProvider, SegmentTree, ServiceClient, Set2 as Set, SinglyLinkedList, SparseTable, SplayTree, Stack, StaticArray, StaticTokenProvider, SuffixArray, SuffixTree, TemplateEngine, TernarySearchTree, TracingHeaders, TreeNode, Trie, ZodValidator, authMiddleware, createCorsOptions, createRequestContextMiddleware, days, errorToString, hours, isAllowedOrigin, isJoiSchema, isZodSchema, loadEnv, logger, milliseconds, minutes, pickFields, seconds, sleep, toHours, toMinutes, toSeconds, validate };
|
|
6428
|
+
export { AVLTree, AdjacencyList, AdjacencyMatrix, ApiFeatures, ApiResponse, AppError, AsyncHandler, AzureBlobStorageService, BPlusTree, BTree, BearerTokenStrategy, BinaryHeap, BinarySearchTree, BinaryTree, BloomFilter, CircularArray, CircularLinkedList, CircularQueue, CloudinaryService, ConsistentHash, CorrelationId, CountMinSketch, CrudControllerFactory, DatabaseManager, DefaultApiFeaturesConfig, DefaultEJSConfig, Deque, DirectedGraph, DisjointSetUnion, DoublyLinkedList, DynamicArray, EJS, EJSContext, EmailService, ErrorMiddleware, ExponentialBackoffRetryPolicy, FenwickTree, FibNode, FibonacciHeap, FixedRetryPolicy, Graph, HashMap, HashSet, HttpClient, HyperLogLog, InternalServiceClient, IntervalTree, JWTService, JoiValidator, KDTree, LFUCache, LRUCache, Logger, MaxHeap, MaxStack, MinHeap, MinStack, MongoDatabaseProvider, MongoRepository, MulterFileHandlerService, MultiSet, Node, OrderedSet, PairingHeap, PairingNode, PriorityQueue, QuadTree, Queue, RadixTree, RedBlackTree, RequestContext, SMTPProvider, SegmentTree, ServiceClient, Set2 as Set, SinglyLinkedList, SparseTable, SplayTree, Stack, StaticArray, StaticTokenProvider, SuffixArray, SuffixTree, TemplateEngine, TernarySearchTree, TracingHeaders, TreeNode, Trie, ZodValidator, authMiddleware, createCorsOptions, createRequestContextMiddleware, days, errorToString, hours, isAllowedOrigin, isJoiSchema, isZodSchema, loadEnv, logger, milliseconds, minutes, pickFields, seconds, sleep, toHours, toMinutes, toSeconds, validate };
|
|
6378
6429
|
//# sourceMappingURL=index.js.map
|
|
6379
6430
|
//# sourceMappingURL=index.js.map
|