diff --git a/docs/assets/search.js b/docs/assets/search.js index 523c752..42306a8 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA72bbW/bSA7Hv4v6VnUzj7bzrttmFzkk2KLJ9XAwgkCxx472ZMkrKdkaQb/7YWTJ4oiUNXaNvkpgDf+kqB8p6uktyLN/iuBy9hb8L04XwaWWYZBGaxNcBvPcRKX5kmfft5+i+bMJwuAlT4LLYPmSzss4S4sP3SWj53KdBGEwT6KiMEVwGQQ/wkaaX0zHTPG9/l2Z5dHK3G83rXS53ZjiA9hyWFHpvdo1EWicliZfRnNTfLj2DJJd8DYDK1NWZr9tPy+LzfXCR/gdYQQ8hcEmyk1adiJuA9BKiXavHh9LmJ5j/I72toPuRyjmnoQUpySEMPolCen6rRPyXnqlBEXdn5I7ky7uM7s6NsVNXJS+4VGGvyo1yHeTHu2bHhx9T4pys85eze95tj4tU4ftf0nCDoTQ5I175e3QvvS3yi/Z9+1nU0ZxUnRaJdhysK8d3HNa6t1AA4FB9Rx5K+/lZLRbOeioaWoHUrXP9e/RvMzybTeA7vafThspOJg8FKbPLn3K0mW86g1gt/mok/BXs4iLAQfkmqO83G7v/k4GvJBrjvJynd6adZZvBxz1LTvK129REc8HHJFrfha3ftEh5OiQeyr3FM+j493jenaiSLLVyuRHx7E3O18kfxVZepstjs8JMPypaLoA3sRPJHT7338WNFdoCK42nP5DeWNeTfd8QHoZgcUD7ohEwYuCGxcgeIrfbRooejlpL4ee44QeeIHSu2ZVzyRQx9OTI5Pn2WCw75pVrYuyWLyPi/dx+mzyuDSLI1z+E+XpoMd60VkcxukyG3RYLzqLw1eTP2UFPeZBn+26s7hdmKeX1aDTZtVZXBZxkmwHXTarzuIyelnE9BAPXTarzuKyzKP58NFsVp3F5cbky0GP9aLzFElxZYv8Ko2eEjPcdNDyMwXxnyhP/WNwV58phOt0mfmH4K4+Uwjfdo3BPwpkcKZAPttm4R9GZ/mZg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g32fftovlKrVUEtcf8sDq4iyA+5pe2Vm7ZfBIG9AD9zO945vZ7qIMxAvyZ39li913gMs/WhUkXZbbZfReYVN84tsqAGb9jUhyY60BF+PWywpQHowOl4bfX9TtKoBcBWER9XaP8jnKx+2i8utx6JLoIUNae0e0Uu9dvEEAvnfqtJFBjgDlRd1zlV64oGJBz7nciAe8DtBB3dRXYy7HfblafcLYK4FTJ/Prt/j09wAPYPSHqTPlV6e5FRyAFTrmivpRWHhl7CINNvDFJnJrgcvbw48f/AUhr8os0QQAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA72bbW+jSBLHvwvzlnHSj9h5NzuTXeWUaEeT3JxOVhQRu52wZ4MXSHasaL77qTGYLqowbceaV05M17+K4ldF8eC3IM/+KYKL6VvwvySdBxdahkEar0xwEcxyE5fma5792HyOZ88mCIOXfBlcBIuXdFYmWVqcdZeMnsvVMgiD2TIuClMEF0HwM2yk+fkkYorv9G/LLI+fzN1m3UqXm7Upzpwt+xWV3qldEYEmaWnyRTwzxdmVZ5DsnLcZeDJlZfbb5suiWF/NfYQ/EEaOpzBYx7lJy07EbQBaKdHu1cND6abnEL+jne2g+xGKuSchxTEJIYx+SUK6fuuEfJReKUFR96fk1qTzu8yuTkxxnRSlb3iU4a9KDfLdpEf7pgdH35Oi3KyyV/N7nq2Oy9R++1+SsD0hNHnjXnnbty/9rfJr9mPzxZRxsiw6rdLZsrev7d1zWurDQANxg+o58lbey8lou3LQUdPU9qRql+vf41mZ5ZtuAN3t704bKTiYPBSmzy59ztJF8tQbwHbzQSfhb2aeFAMOyDUHebnZ3P69HPBCrjnIy1V6Y1ZZvhlw1LfsIF+/xUUyG3BErnkvbv2iQ8jRIfdU7jGeR4e7x/UMolhmT08mPziOndnpIimTlcleysNTsrM7XSx/FVl6k80PPz6O4bui6RbDdfJIFsDu+/dCD4WGQG/D6cfq2rya7rmJ9DJyFg+4IxLlXqBcQ5jdcWO7aaAByXF7afacLOnh21H60KzqmU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3cqNqfIpGe1F/bNBUrLPdP5sf9X9cKKs3cO9dKvKK3Eqnqt26ltB3jul/Fl8oirmTvJ5n6Fs8yeZs0TWWe/HDa1X5pxT2VO5XFvkeX2WbOzUw7bvJ5BtF+9NHLFyr4g5OyeU8bKr4wbqdf6Cbsj5mCk/TBaZk+r6rG1o+KArf3a1FalemTt6DhJ154oNTpwt5wuoP0Kd7Up/l7uPYc5eWd+bWr7foRTtE7FiUlNg98hXGc/NvPmd3mtorOfzO/w7d1Fh1bmV4Kt3KL5EZyj55Q08+Mit78A2xujk0Pmd2i3v4Rc5NmqMOm8zNbbX0Iuq191tsoOfH7dsNgz1zk9yA/kwpR7o3NKzG+v6zehnF7kNGpRX9coT63tz+Sry60Hoos4ytqvNGrF7vWbC6CXzu5XT46GUxTcj7r6DSqnUp1ARN23lR8VaJecI8f9Wr/z7kJbCl1d5RRC5Kmbg5OTc9SY3ylu906hQ5VTNqK+5lZ+yG9fynSknKIR9QW68gjsPgzWydosk9QEF9P7nz//D+4bekNsQgAA"; \ No newline at end of file diff --git a/docs/functions/createProxyCache.html b/docs/functions/createProxyCache.html index 785d3d9..e39bd80 100644 --- a/docs/functions/createProxyCache.html +++ b/docs/functions/createProxyCache.html @@ -1 +1 @@ -createProxyCache | @mojaloop/inter-scheme-proxy-cache-lib
\ No newline at end of file +createProxyCache | @mojaloop/inter-scheme-proxy-cache-lib
\ No newline at end of file diff --git a/docs/interfaces/ILogger.html b/docs/interfaces/ILogger.html index 2b8c147..cca0610 100644 --- a/docs/interfaces/ILogger.html +++ b/docs/interfaces/ILogger.html @@ -1,4 +1,4 @@ -ILogger | @mojaloop/inter-scheme-proxy-cache-lib
interface ILogger {
    audit: LogMethod;
    debug: LogMethod;
    error: LogMethod;
    info: LogMethod;
    isAuditEnabled: boolean;
    isDebugEnabled: boolean;
    isErrorEnabled: boolean;
    isInfoEnabled: boolean;
    isPerfEnabled: boolean;
    isSillyEnabled: boolean;
    isTraceEnabled: boolean;
    isVerboseEnabled: boolean;
    isWarnEnabled: boolean;
    perf: LogMethod;
    silly: LogMethod;
    trace: LogMethod;
    verbose: LogMethod;
    warn: LogMethod;
    child(context?: LogContext): ILogger;
}

Hierarchy (view full)

Properties

audit +ILogger | @mojaloop/inter-scheme-proxy-cache-lib
interface ILogger {
    audit: LogMethod;
    debug: LogMethod;
    error: LogMethod;
    info: LogMethod;
    isAuditEnabled: boolean;
    isDebugEnabled: boolean;
    isErrorEnabled: boolean;
    isInfoEnabled: boolean;
    isPerfEnabled: boolean;
    isSillyEnabled: boolean;
    isTraceEnabled: boolean;
    isVerboseEnabled: boolean;
    isWarnEnabled: boolean;
    perf: LogMethod;
    silly: LogMethod;
    trace: LogMethod;
    verbose: LogMethod;
    warn: LogMethod;
    child(context?: LogContext): ILogger;
}

Hierarchy (view full)

Properties

audit debug error info @@ -17,4 +17,4 @@ verbose warn

Methods

Properties

audit: LogMethod
debug: LogMethod
error: LogMethod
info: LogMethod
isAuditEnabled: boolean
isDebugEnabled: boolean
isErrorEnabled: boolean
isInfoEnabled: boolean
isPerfEnabled: boolean
isSillyEnabled: boolean
isTraceEnabled: boolean
isVerboseEnabled: boolean
isWarnEnabled: boolean
perf: LogMethod
silly: LogMethod
trace: LogMethod
verbose: LogMethod
warn: LogMethod

Methods

\ No newline at end of file +

Properties

audit: LogMethod
debug: LogMethod
error: LogMethod
info: LogMethod
isAuditEnabled: boolean
isDebugEnabled: boolean
isErrorEnabled: boolean
isInfoEnabled: boolean
isPerfEnabled: boolean
isSillyEnabled: boolean
isTraceEnabled: boolean
isVerboseEnabled: boolean
isWarnEnabled: boolean
perf: LogMethod
silly: LogMethod
trace: LogMethod
verbose: LogMethod
warn: LogMethod

Methods

\ No newline at end of file diff --git a/docs/interfaces/IProxyCache.html b/docs/interfaces/IProxyCache.html index 6be5dba..0f8e74e 100644 --- a/docs/interfaces/IProxyCache.html +++ b/docs/interfaces/IProxyCache.html @@ -1,5 +1,5 @@ -IProxyCache | @mojaloop/inter-scheme-proxy-cache-lib
interface IProxyCache {
    getProxyByDfspId: ((dfspId: string) => Promise<null | PoxyDetails>);
    removeFromSendToProxiesList: ((partyId: string, proxyId: string) => Promise<null | number>);
    setProxyByDfspId: ((dfspId: string, details: PoxyDetails) => Promise<void>);
    setSendToProxiesList: ((partyId: string, proxyIds: string[]) => Promise<void>);
}

Properties

getProxyByDfspId +IProxyCache | @mojaloop/inter-scheme-proxy-cache-lib
interface IProxyCache {
    getProxyByDfspId: ((dfspId: string) => Promise<null | PoxyDetails>);
    removeFromSendToProxiesList: ((partyId: string, proxyId: string) => Promise<null | number>);
    setProxyByDfspId: ((dfspId: string, details: PoxyDetails) => Promise<void>);
    setSendToProxiesList: ((partyId: string, proxyIds: string[]) => Promise<void>);
}

Properties

getProxyByDfspId: ((dfspId: string) => Promise<null | PoxyDetails>)
removeFromSendToProxiesList: ((partyId: string, proxyId: string) => Promise<null | number>)
setProxyByDfspId: ((dfspId: string, details: PoxyDetails) => Promise<void>)
setSendToProxiesList: ((partyId: string, proxyIds: string[]) => Promise<void>)
\ No newline at end of file +

Properties

getProxyByDfspId: ((dfspId: string) => Promise<null | PoxyDetails>)
removeFromSendToProxiesList: ((partyId: string, proxyId: string) => Promise<null | number>)
setProxyByDfspId: ((dfspId: string, details: PoxyDetails) => Promise<void>)
setSendToProxiesList: ((partyId: string, proxyIds: string[]) => Promise<void>)
\ No newline at end of file diff --git a/docs/types/BasicProxyCacheConfig.html b/docs/types/BasicProxyCacheConfig.html index 4458db8..6c50cee 100644 --- a/docs/types/BasicProxyCacheConfig.html +++ b/docs/types/BasicProxyCacheConfig.html @@ -1 +1 @@ -BasicProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
BasicProxyCacheConfig: {
    jsonMode?: boolean;
    logger?: ILogger;
    type: StorageType;
}
\ No newline at end of file +BasicProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
BasicProxyCacheConfig: {
    jsonMode?: boolean;
    logger?: ILogger;
    timeout?: number;
    type: StorageType;
}
\ No newline at end of file diff --git a/docs/types/InMemoryProxyCacheConfig.html b/docs/types/InMemoryProxyCacheConfig.html index 7c02368..e6e5254 100644 --- a/docs/types/InMemoryProxyCacheConfig.html +++ b/docs/types/InMemoryProxyCacheConfig.html @@ -1 +1 @@ -InMemoryProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
InMemoryProxyCacheConfig: BasicProxyCacheConfig
\ No newline at end of file +InMemoryProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
InMemoryProxyCacheConfig: BasicProxyCacheConfig
\ No newline at end of file diff --git a/docs/types/Json.html b/docs/types/Json.html index 4dd3dad..9c3becb 100644 --- a/docs/types/Json.html +++ b/docs/types/Json.html @@ -1 +1 @@ -Json | @mojaloop/inter-scheme-proxy-cache-lib
Json:
    | string
    | number
    | boolean
    | {
        [x: string]: Json;
    }
    | Json[]
\ No newline at end of file +Json | @mojaloop/inter-scheme-proxy-cache-lib
Json:
    | string
    | number
    | boolean
    | {
        [x: string]: Json;
    }
    | Json[]
\ No newline at end of file diff --git a/docs/types/LibConfig.html b/docs/types/LibConfig.html index d8f950d..be21400 100644 --- a/docs/types/LibConfig.html +++ b/docs/types/LibConfig.html @@ -1 +1 @@ -LibConfig | @mojaloop/inter-scheme-proxy-cache-lib
LibConfig: {
    logLevel: LogLevel;
}
\ No newline at end of file +LibConfig | @mojaloop/inter-scheme-proxy-cache-lib
LibConfig: {
    logLevel: LogLevel;
}
\ No newline at end of file diff --git a/docs/types/LogContext.html b/docs/types/LogContext.html index b02b5dc..3b4748d 100644 --- a/docs/types/LogContext.html +++ b/docs/types/LogContext.html @@ -1 +1 @@ -LogContext | @mojaloop/inter-scheme-proxy-cache-lib
LogContext: Json | string | null
\ No newline at end of file +LogContext | @mojaloop/inter-scheme-proxy-cache-lib
LogContext: Json | string | null
\ No newline at end of file diff --git a/docs/types/LogLevel.html b/docs/types/LogLevel.html index 147205b..2d8d3d8 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | @mojaloop/inter-scheme-proxy-cache-lib
LogLevel: typeof logLevelValues[number]
\ No newline at end of file +LogLevel | @mojaloop/inter-scheme-proxy-cache-lib
LogLevel: typeof logLevelValues[number]
\ No newline at end of file diff --git a/docs/types/LogMeta.html b/docs/types/LogMeta.html index c5e0e15..32e33af 100644 --- a/docs/types/LogMeta.html +++ b/docs/types/LogMeta.html @@ -1 +1 @@ -LogMeta | @mojaloop/inter-scheme-proxy-cache-lib
LogMeta: unknown
\ No newline at end of file +LogMeta | @mojaloop/inter-scheme-proxy-cache-lib
LogMeta: unknown
\ No newline at end of file diff --git a/docs/types/LogMethod.html b/docs/types/LogMethod.html index 811d768..fb07073 100644 --- a/docs/types/LogMethod.html +++ b/docs/types/LogMethod.html @@ -1 +1 @@ -LogMethod | @mojaloop/inter-scheme-proxy-cache-lib
LogMethod: ((message: string, meta?: LogMeta) => void)
\ No newline at end of file +LogMethod | @mojaloop/inter-scheme-proxy-cache-lib
LogMethod: ((message: string, meta?: LogMeta) => void)
\ No newline at end of file diff --git a/docs/types/LogMethods.html b/docs/types/LogMethods.html index 54398b8..562dd7d 100644 --- a/docs/types/LogMethods.html +++ b/docs/types/LogMethods.html @@ -1 +1 @@ -LogMethods | @mojaloop/inter-scheme-proxy-cache-lib
LogMethods: {
    [key in LogLevel]: LogMethod
} & {
    [isKey in `is${Capitalize<LogLevel>}Enabled`]: boolean
}
\ No newline at end of file +LogMethods | @mojaloop/inter-scheme-proxy-cache-lib
LogMethods: {
    [key in LogLevel]: LogMethod
} & {
    [isKey in `is${Capitalize<LogLevel>}Enabled`]: boolean
}
\ No newline at end of file diff --git a/docs/types/MySqlProxyCacheConfig.html b/docs/types/MySqlProxyCacheConfig.html index 8ad0226..d36bf7d 100644 --- a/docs/types/MySqlProxyCacheConfig.html +++ b/docs/types/MySqlProxyCacheConfig.html @@ -1 +1 @@ -MySqlProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
MySqlProxyCacheConfig: BasicProxyCacheConfig & {
    connection: string;
}
\ No newline at end of file +MySqlProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
MySqlProxyCacheConfig: BasicProxyCacheConfig & {
    connection: string;
}
\ No newline at end of file diff --git a/docs/types/PoxyDetails.html b/docs/types/PoxyDetails.html index 4d6edd0..5cb91ad 100644 --- a/docs/types/PoxyDetails.html +++ b/docs/types/PoxyDetails.html @@ -1 +1 @@ -PoxyDetails | @mojaloop/inter-scheme-proxy-cache-lib
PoxyDetails: {
    url: string;
}
\ No newline at end of file +PoxyDetails | @mojaloop/inter-scheme-proxy-cache-lib
PoxyDetails: {
    url: string;
}
\ No newline at end of file diff --git a/docs/types/ProxyCacheConfig.html b/docs/types/ProxyCacheConfig.html index 26fcd63..9e6b31d 100644 --- a/docs/types/ProxyCacheConfig.html +++ b/docs/types/ProxyCacheConfig.html @@ -1 +1 @@ -ProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
\ No newline at end of file +ProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
\ No newline at end of file diff --git a/docs/types/ProxyCacheFactory.html b/docs/types/ProxyCacheFactory.html index cd8c6bb..5eef7c1 100644 --- a/docs/types/ProxyCacheFactory.html +++ b/docs/types/ProxyCacheFactory.html @@ -1 +1 @@ -ProxyCacheFactory | @mojaloop/inter-scheme-proxy-cache-lib
ProxyCacheFactory: ((cacheConfig: ProxyCacheConfig) => IProxyCache)
\ No newline at end of file +ProxyCacheFactory | @mojaloop/inter-scheme-proxy-cache-lib
ProxyCacheFactory: ((cacheConfig: ProxyCacheConfig) => IProxyCache)
\ No newline at end of file diff --git a/docs/types/RedisProxyCacheConfig.html b/docs/types/RedisProxyCacheConfig.html index d876703..510a3a5 100644 --- a/docs/types/RedisProxyCacheConfig.html +++ b/docs/types/RedisProxyCacheConfig.html @@ -1 +1 @@ -RedisProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
RedisProxyCacheConfig: BasicProxyCacheConfig & {
    connection: string;
}
\ No newline at end of file +RedisProxyCacheConfig | @mojaloop/inter-scheme-proxy-cache-lib
RedisProxyCacheConfig: BasicProxyCacheConfig & {
    connection: string;
}
\ No newline at end of file diff --git a/docs/types/StorageType.html b/docs/types/StorageType.html index f35768f..983d598 100644 --- a/docs/types/StorageType.html +++ b/docs/types/StorageType.html @@ -1 +1 @@ -StorageType | @mojaloop/inter-scheme-proxy-cache-lib
StorageType: typeof STORAGE_TYPE_VALUES[number]
\ No newline at end of file +StorageType | @mojaloop/inter-scheme-proxy-cache-lib
StorageType: typeof STORAGE_TYPE_VALUES[number]
\ No newline at end of file diff --git a/docs/variables/ERROR_MESSAGES.html b/docs/variables/ERROR_MESSAGES.html index 77c39dd..5b5945b 100644 --- a/docs/variables/ERROR_MESSAGES.html +++ b/docs/variables/ERROR_MESSAGES.html @@ -1 +1 @@ -ERROR_MESSAGES | @mojaloop/inter-scheme-proxy-cache-lib
ERROR_MESSAGES: {
    invalidProxyCacheConfig: string;
    unsupportedProxyCacheType: string;
} = ...
\ No newline at end of file +ERROR_MESSAGES | @mojaloop/inter-scheme-proxy-cache-lib
ERROR_MESSAGES: {
    invalidProxyCacheConfig: string;
    unsupportedProxyCacheType: string;
} = ...
\ No newline at end of file diff --git a/docs/variables/STORAGE_TYPE_VALUES.html b/docs/variables/STORAGE_TYPE_VALUES.html index 89ae95c..5af7bc2 100644 --- a/docs/variables/STORAGE_TYPE_VALUES.html +++ b/docs/variables/STORAGE_TYPE_VALUES.html @@ -1 +1 @@ -STORAGE_TYPE_VALUES | @mojaloop/inter-scheme-proxy-cache-lib
STORAGE_TYPE_VALUES: readonly ["redis", "mysql", "in-memory"] = ...
\ No newline at end of file +STORAGE_TYPE_VALUES | @mojaloop/inter-scheme-proxy-cache-lib
STORAGE_TYPE_VALUES: readonly ["redis", "mysql", "in-memory"] = ...
\ No newline at end of file diff --git a/docs/variables/logLevelValues.html b/docs/variables/logLevelValues.html index 77d3fb1..83d1928 100644 --- a/docs/variables/logLevelValues.html +++ b/docs/variables/logLevelValues.html @@ -1 +1 @@ -logLevelValues | @mojaloop/inter-scheme-proxy-cache-lib
logLevelValues: (
    | "error"
    | "warn"
    | "info"
    | "verbose"
    | "debug"
    | "silly"
    | "audit"
    | "trace"
    | "perf")[] = ...
\ No newline at end of file +logLevelValues | @mojaloop/inter-scheme-proxy-cache-lib
logLevelValues: (
    | "error"
    | "warn"
    | "info"
    | "verbose"
    | "debug"
    | "silly"
    | "audit"
    | "trace"
    | "perf")[] = ...
\ No newline at end of file diff --git a/docs/variables/logLevelsMap.html b/docs/variables/logLevelsMap.html index a286fc6..4172f42 100644 --- a/docs/variables/logLevelsMap.html +++ b/docs/variables/logLevelsMap.html @@ -1 +1 @@ -logLevelsMap | @mojaloop/inter-scheme-proxy-cache-lib
logLevelsMap: {
    audit: "audit";
    debug: "debug";
    error: "error";
    info: "info";
    perf: "perf";
    silly: "silly";
    trace: "trace";
    verbose: "verbose";
    warn: "warn";
} = ...
\ No newline at end of file +logLevelsMap | @mojaloop/inter-scheme-proxy-cache-lib
logLevelsMap: {
    audit: "audit";
    debug: "debug";
    error: "error";
    info: "info";
    perf: "perf";
    silly: "silly";
    trace: "trace";
    verbose: "verbose";
    warn: "warn";
} = ...
\ No newline at end of file diff --git a/src/lib/index.ts b/src/lib/index.ts index 653f6fe..dc545f6 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1,3 +1,3 @@ export * from './createProxyCache'; +export * from './storages'; // todo: think, if we need to export all storage classes export * from './errors'; -// todo: think, if we need to export all storage classes diff --git a/src/types/lib.ts b/src/types/lib.ts index 5935d05..603af65 100644 --- a/src/types/lib.ts +++ b/src/types/lib.ts @@ -35,6 +35,7 @@ export type InMemoryProxyCacheConfig = BasicProxyCacheConfig; export type BasicProxyCacheConfig = { type: StorageType; logger?: ILogger; + timeout?: number; jsonMode?: boolean; };