@isdk/ai-tool 0.0.5 → 0.0.7
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/chunk-PYM7DCYB.mjs +1 -0
- package/dist/chunk-U5DDQYSF.mjs +1 -22
- package/dist/funcs.d.mts +2 -2
- package/dist/funcs.d.ts +2 -2
- package/dist/funcs.js +1 -5009
- package/dist/funcs.mjs +1 -37
- package/dist/{index-D4KjfAKl.d.mts → index-japi6bEq.d.mts} +2 -13
- package/dist/{index-D4KjfAKl.d.ts → index-japi6bEq.d.ts} +2 -13
- package/dist/index.d.mts +20 -8
- package/dist/index.d.ts +20 -8
- package/dist/index.js +1 -5234
- package/dist/index.mjs +1 -402
- package/dist/test/util.js +1 -97
- package/dist/test/util.mjs +1 -60
- package/docs/classes/AbortError.md +8 -8
- package/docs/classes/AlreadyExistsError.md +8 -8
- package/docs/classes/BaseError.md +8 -8
- package/docs/classes/ClientTools.md +51 -51
- package/docs/classes/CommonError.md +8 -8
- package/docs/classes/EventClient.md +73 -73
- package/docs/classes/EventServer.md +71 -71
- package/docs/classes/EventToolFunc.md +41 -41
- package/docs/classes/FStringPromptTemplate.md +18 -18
- package/docs/classes/FewShotPromptTemplate.md +22 -22
- package/docs/classes/GolangPromptTemplate.md +18 -18
- package/docs/classes/HFEnvironment.md +9 -9
- package/docs/classes/HFInterpreter.md +17 -17
- package/docs/classes/HFTemplate.md +4 -4
- package/docs/classes/HfPromptTemplate.md +18 -18
- package/docs/classes/NotFoundError.md +8 -8
- package/docs/classes/NotImplementationError.md +8 -8
- package/docs/classes/PromptExampleSelector.md +8 -8
- package/docs/classes/PromptTemplate.md +17 -17
- package/docs/classes/ReadableStreamError.md +8 -8
- package/docs/classes/ResClientTools.md +57 -57
- package/docs/classes/ResServerTools.md +55 -55
- package/docs/classes/SSEChannel.md +15 -15
- package/docs/classes/ServerTools.md +48 -48
- package/docs/classes/ToolFunc.md +38 -38
- package/docs/enums/ErrorCode.md +19 -19
- package/docs/enums/XXHashAlgorithm.md +2 -2
- package/docs/interfaces/AIChatAssistantMessageParam.md +6 -6
- package/docs/interfaces/AIChatContentPartImage.md +2 -2
- package/docs/interfaces/AIChatContentPartText.md +2 -2
- package/docs/interfaces/AIChatMessageParamBase.md +1 -1
- package/docs/interfaces/AIChatMessageToolCall.md +3 -3
- package/docs/interfaces/AIChatSystemMessageParam.md +3 -3
- package/docs/interfaces/AIChatToolMessageParam.md +4 -4
- package/docs/interfaces/AIChatUserMessageParam.md +7 -7
- package/docs/interfaces/AIResult.md +4 -4
- package/docs/interfaces/AIStreamCallbacksAndOptions.md +6 -6
- package/docs/interfaces/AIStreamParser.md +1 -1
- package/docs/interfaces/AIStreamParserOptions.md +1 -1
- package/docs/interfaces/BaseFunc.md +7 -7
- package/docs/interfaces/BaseFuncItem.md +6 -6
- package/docs/interfaces/ClientFuncItem.md +10 -10
- package/docs/interfaces/DotenvExpandOptions.md +3 -3
- package/docs/interfaces/DotenvExpandOutput.md +2 -2
- package/docs/interfaces/EventClientFuncParams.md +4 -4
- package/docs/interfaces/EventServerFuncParams.md +5 -5
- package/docs/interfaces/FewShotPromptTemplateOptions.md +11 -11
- package/docs/interfaces/FuncItem.md +7 -7
- package/docs/interfaces/FuncParam.md +5 -5
- package/docs/interfaces/PromptExampleSelectorOptions.md +2 -2
- package/docs/interfaces/PromptTemplateOptions.md +6 -6
- package/docs/interfaces/RemoteFuncItem.md +10 -10
- package/docs/interfaces/ResClientFuncParams.md +2 -2
- package/docs/interfaces/ResServerFuncParams.md +5 -5
- package/docs/interfaces/SanitizeFilenameOptions.md +2 -2
- package/docs/interfaces/ServerFuncItem.md +11 -11
- package/docs/interfaces/ServerFuncParams.md +2 -2
- package/docs/modules.md +119 -190
- package/package.json +3 -5
- package/dist/chunk-6JC4ABGE.mjs +0 -5079
package/dist/funcs.mjs
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EventClient,
|
|
3
|
-
EventServer,
|
|
4
|
-
EventToolFunc,
|
|
5
|
-
_lrucache,
|
|
6
|
-
createLRUCache,
|
|
7
|
-
event,
|
|
8
|
-
eventClient,
|
|
9
|
-
eventServer,
|
|
10
|
-
getDefaultSimilarPassingScore,
|
|
11
|
-
isSimilar,
|
|
12
|
-
lrucache,
|
|
13
|
-
mergeSegments,
|
|
14
|
-
registerCoreTools,
|
|
15
|
-
segments,
|
|
16
|
-
similarity,
|
|
17
|
-
splitSegments
|
|
18
|
-
} from "./chunk-6JC4ABGE.mjs";
|
|
19
|
-
import "./chunk-U5DDQYSF.mjs";
|
|
20
|
-
export {
|
|
21
|
-
EventClient,
|
|
22
|
-
EventServer,
|
|
23
|
-
EventToolFunc,
|
|
24
|
-
_lrucache,
|
|
25
|
-
createLRUCache,
|
|
26
|
-
event,
|
|
27
|
-
eventClient,
|
|
28
|
-
eventServer,
|
|
29
|
-
getDefaultSimilarPassingScore,
|
|
30
|
-
isSimilar,
|
|
31
|
-
lrucache,
|
|
32
|
-
mergeSegments,
|
|
33
|
-
registerCoreTools,
|
|
34
|
-
segments,
|
|
35
|
-
similarity,
|
|
36
|
-
splitSegments
|
|
37
|
-
};
|
|
1
|
+
import{EventClient as m,EventServer as o,EventToolFunc as r,_lrucache as p,createLRUCache as t,event as D,eventClient as Y,eventServer as c,lrucache as h,registerCoreTools as i}from"./chunk-PYM7DCYB.mjs";import"./chunk-U5DDQYSF.mjs";export{m as EventClient,o as EventServer,r as EventToolFunc,p as _lrucache,t as createLRUCache,D as event,Y as eventClient,c as eventServer,h as lrucache,i as registerCoreTools};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, Event } from 'events-ex';
|
|
2
2
|
import { AdvancePropertyManager } from 'property-manager';
|
|
3
3
|
import { ICacheOptions, Cache } from 'secondary-cache';
|
|
4
|
-
import { IncomingMessage, ServerResponse } from 'http';
|
|
5
4
|
import { AbstractError } from 'abstract-error';
|
|
5
|
+
import { IncomingMessage, ServerResponse } from 'http';
|
|
6
6
|
|
|
7
7
|
type FuncParamType = string;
|
|
8
8
|
interface FuncParam {
|
|
@@ -446,17 +446,6 @@ declare function _lrucache(this: ToolFunc, { key, value, options }?: {
|
|
|
446
446
|
declare function createLRUCache(name: string, options?: ICacheOptions | number): ToolFunc;
|
|
447
447
|
declare const lrucache: ToolFunc;
|
|
448
448
|
|
|
449
|
-
declare const similarity: ServerTools;
|
|
450
|
-
|
|
451
|
-
declare function getDefaultSimilarPassingScore(modelId: string): number;
|
|
452
|
-
declare const isSimilar: ServerTools;
|
|
453
|
-
|
|
454
|
-
declare const splitSegments: ServerTools;
|
|
455
|
-
|
|
456
|
-
declare const mergeSegments: ServerTools;
|
|
457
|
-
|
|
458
|
-
declare const segments: ServerTools;
|
|
459
|
-
|
|
460
449
|
interface ResClientFuncParams {
|
|
461
450
|
id?: string | number;
|
|
462
451
|
act?: string;
|
|
@@ -603,4 +592,4 @@ declare const eventServer: EventServer;
|
|
|
603
592
|
|
|
604
593
|
declare function registerCoreTools(): void;
|
|
605
594
|
|
|
606
|
-
export {
|
|
595
|
+
export { eventServer as $, type AIModelNameRules as A, BaseError as B, CommonError as C, ClientToolFuncSchema as D, type ErrorCodeType as E, type FuncParamType as F, type ServerFuncParams as G, type ServerFuncItem as H, InternalErrorCode as I, ServerTools as J, ServerToolFuncSchema as K, registerCoreTools as L, EventToolFunc as M, NotImplementedErrorCode as N, event as O, PASSING_SCORE as P, createLRUCache as Q, RemoteToolFuncSchema as R, SSEChannelAlreadyClosedErrCode as S, type TFunc as T, lrucache as U, type EventClientFuncParams as V, EventClient as W, eventClient as X, type EventServerFuncParams as Y, EventServer as Z, _lrucache as _, ActionNames as a, type ResClientFuncParams as a0, ResClientTools as a1, ResClientToolsSchema as a2, type ResServerFuncParams as a3, ResServerTools as a4, ResServerToolsSchema as a5, type ActionName as b, type AIModelNameRuleFn as c, type AIModelNameRule as d, type RemoteFuncItem as e, ErrorCode as f, NotFoundErrorCode as g, AlreadyExistsErrorCode as h, AbortErrorCode as i, NotImplementationError as j, NotFoundError as k, AlreadyExistsError as l, AbortError as m, createError as n, SSEChannel as o, type FuncParam as p, type FuncParams as q, type BaseFuncItem as r, type FuncItem as s, throwError as t, type BaseFunc as u, type Funcs as v, ToolFunc as w, ToolFuncSchema as x, type ClientFuncItem as y, ClientTools as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, Event } from 'events-ex';
|
|
2
2
|
import { AdvancePropertyManager } from 'property-manager';
|
|
3
3
|
import { ICacheOptions, Cache } from 'secondary-cache';
|
|
4
|
-
import { IncomingMessage, ServerResponse } from 'http';
|
|
5
4
|
import { AbstractError } from 'abstract-error';
|
|
5
|
+
import { IncomingMessage, ServerResponse } from 'http';
|
|
6
6
|
|
|
7
7
|
type FuncParamType = string;
|
|
8
8
|
interface FuncParam {
|
|
@@ -446,17 +446,6 @@ declare function _lrucache(this: ToolFunc, { key, value, options }?: {
|
|
|
446
446
|
declare function createLRUCache(name: string, options?: ICacheOptions | number): ToolFunc;
|
|
447
447
|
declare const lrucache: ToolFunc;
|
|
448
448
|
|
|
449
|
-
declare const similarity: ServerTools;
|
|
450
|
-
|
|
451
|
-
declare function getDefaultSimilarPassingScore(modelId: string): number;
|
|
452
|
-
declare const isSimilar: ServerTools;
|
|
453
|
-
|
|
454
|
-
declare const splitSegments: ServerTools;
|
|
455
|
-
|
|
456
|
-
declare const mergeSegments: ServerTools;
|
|
457
|
-
|
|
458
|
-
declare const segments: ServerTools;
|
|
459
|
-
|
|
460
449
|
interface ResClientFuncParams {
|
|
461
450
|
id?: string | number;
|
|
462
451
|
act?: string;
|
|
@@ -603,4 +592,4 @@ declare const eventServer: EventServer;
|
|
|
603
592
|
|
|
604
593
|
declare function registerCoreTools(): void;
|
|
605
594
|
|
|
606
|
-
export {
|
|
595
|
+
export { eventServer as $, type AIModelNameRules as A, BaseError as B, CommonError as C, ClientToolFuncSchema as D, type ErrorCodeType as E, type FuncParamType as F, type ServerFuncParams as G, type ServerFuncItem as H, InternalErrorCode as I, ServerTools as J, ServerToolFuncSchema as K, registerCoreTools as L, EventToolFunc as M, NotImplementedErrorCode as N, event as O, PASSING_SCORE as P, createLRUCache as Q, RemoteToolFuncSchema as R, SSEChannelAlreadyClosedErrCode as S, type TFunc as T, lrucache as U, type EventClientFuncParams as V, EventClient as W, eventClient as X, type EventServerFuncParams as Y, EventServer as Z, _lrucache as _, ActionNames as a, type ResClientFuncParams as a0, ResClientTools as a1, ResClientToolsSchema as a2, type ResServerFuncParams as a3, ResServerTools as a4, ResServerToolsSchema as a5, type ActionName as b, type AIModelNameRuleFn as c, type AIModelNameRule as d, type RemoteFuncItem as e, ErrorCode as f, NotFoundErrorCode as g, AlreadyExistsErrorCode as h, AbortErrorCode as i, NotImplementationError as j, NotFoundError as k, AlreadyExistsError as l, AbortError as m, createError as n, SSEChannel as o, type FuncParam as p, type FuncParams as q, type BaseFuncItem as r, type FuncItem as s, throwError as t, type BaseFunc as u, type Funcs as v, ToolFunc as w, ToolFuncSchema as x, type ClientFuncItem as y, ClientTools as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseError, A as AIModelNameRules } from './index-
|
|
2
|
-
export { d as AIModelNameRule, c as AIModelNameRuleFn, m as AbortError, i as AbortErrorCode, b as ActionName, a as ActionNames, l as AlreadyExistsError, h as AlreadyExistsErrorCode, u as BaseFunc, r as BaseFuncItem, y as ClientFuncItem, D as ClientToolFuncSchema, z as ClientTools, C as CommonError, f as ErrorCode, E as ErrorCodeType,
|
|
1
|
+
import { B as BaseError, A as AIModelNameRules } from './index-japi6bEq.mjs';
|
|
2
|
+
export { d as AIModelNameRule, c as AIModelNameRuleFn, m as AbortError, i as AbortErrorCode, b as ActionName, a as ActionNames, l as AlreadyExistsError, h as AlreadyExistsErrorCode, u as BaseFunc, r as BaseFuncItem, y as ClientFuncItem, D as ClientToolFuncSchema, z as ClientTools, C as CommonError, f as ErrorCode, E as ErrorCodeType, W as EventClient, V as EventClientFuncParams, Z as EventServer, Y as EventServerFuncParams, M as EventToolFunc, s as FuncItem, p as FuncParam, F as FuncParamType, q as FuncParams, v as Funcs, I as InternalErrorCode, k as NotFoundError, g as NotFoundErrorCode, j as NotImplementationError, N as NotImplementedErrorCode, P as PASSING_SCORE, e as RemoteFuncItem, R as RemoteToolFuncSchema, a0 as ResClientFuncParams, a1 as ResClientTools, a2 as ResClientToolsSchema, a3 as ResServerFuncParams, a4 as ResServerTools, a5 as ResServerToolsSchema, o as SSEChannel, S as SSEChannelAlreadyClosedErrCode, H as ServerFuncItem, G as ServerFuncParams, K as ServerToolFuncSchema, J as ServerTools, T as TFunc, w as ToolFunc, x as ToolFuncSchema, _ as _lrucache, n as createError, Q as createLRUCache, O as event, X as eventClient, $ as eventServer, U as lrucache, L as registerCoreTools, t as throwError } from './index-japi6bEq.mjs';
|
|
3
3
|
import { BaseFactory } from 'custom-factory';
|
|
4
4
|
import * as custom_ability from 'custom-ability';
|
|
5
5
|
import { Event } from 'events-ex';
|
|
@@ -11,8 +11,8 @@ export { mimeType } from 'mime-type/with-db';
|
|
|
11
11
|
export { Config as ConfigFile } from 'load-config-file';
|
|
12
12
|
import 'property-manager';
|
|
13
13
|
import 'secondary-cache';
|
|
14
|
-
import 'http';
|
|
15
14
|
import 'abstract-error';
|
|
15
|
+
import 'http';
|
|
16
16
|
|
|
17
17
|
declare const AITextGenerationFinishReasons: readonly ["stop", "length", "content-filter", "tool-calls", "abort", "error", "other", null];
|
|
18
18
|
type AITextGenerationFinishReason = typeof AITextGenerationFinishReasons[number];
|
|
@@ -1029,7 +1029,7 @@ declare function getAllEnumKeys<T extends object>(enumType: T): Array<keyof type
|
|
|
1029
1029
|
* const json = parseJsJson(jsonString);
|
|
1030
1030
|
* console.log(json); // { name: 'John' }
|
|
1031
1031
|
*/
|
|
1032
|
-
declare function parseJsJson(input: string): any;
|
|
1032
|
+
declare function parseJsJson(input: string, scope?: Record<string, any>): any;
|
|
1033
1033
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* Retrieves an array of all key paths as strings for a nested object or array.
|
|
@@ -1062,14 +1062,26 @@ declare function createEndWithRepetitionDetector(repetitionThreshold: number): (
|
|
|
1062
1062
|
* const content = loadFileFromPaths('config', ['/etc', '/usr/local/etc'], ['.json', '.yaml']);
|
|
1063
1063
|
* ```
|
|
1064
1064
|
*/
|
|
1065
|
-
declare function loadFileFromPaths(filename: string, searchPaths?: string[], extNames?: string[]
|
|
1066
|
-
|
|
1065
|
+
declare function loadFileFromPaths(filename: string, searchPaths?: string[], extNames?: string[], options?: {
|
|
1066
|
+
filepath?: string;
|
|
1067
|
+
}): Buffer;
|
|
1068
|
+
declare function loadTextFromPaths(filename: string, searchPaths?: string[], extNames?: string[], options?: {
|
|
1069
|
+
encoding?: BufferEncoding;
|
|
1070
|
+
filepath?: string;
|
|
1071
|
+
} | BufferEncoding): string;
|
|
1067
1072
|
|
|
1068
1073
|
declare function registerYamlTag(tags: any): void;
|
|
1069
1074
|
declare function parseYaml(content: string): any;
|
|
1070
1075
|
|
|
1071
|
-
|
|
1072
|
-
|
|
1076
|
+
interface ConfigFilesFilter {
|
|
1077
|
+
after?: {
|
|
1078
|
+
[filepath: string]: number;
|
|
1079
|
+
};
|
|
1080
|
+
extensions?: string[] | string;
|
|
1081
|
+
exclude?: string[] | string;
|
|
1082
|
+
}
|
|
1083
|
+
declare function getConfigFileNames(directoryPath: string, filter?: ConfigFilesFilter): string[];
|
|
1084
|
+
declare function getConfigs(directoryPath: string, filter?: ConfigFilesFilter): any[];
|
|
1073
1085
|
declare function saveConfigFile(filename: string, config: any, extLevel?: number): void;
|
|
1074
1086
|
|
|
1075
1087
|
interface JsonFilter {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseError, A as AIModelNameRules } from './index-
|
|
2
|
-
export { d as AIModelNameRule, c as AIModelNameRuleFn, m as AbortError, i as AbortErrorCode, b as ActionName, a as ActionNames, l as AlreadyExistsError, h as AlreadyExistsErrorCode, u as BaseFunc, r as BaseFuncItem, y as ClientFuncItem, D as ClientToolFuncSchema, z as ClientTools, C as CommonError, f as ErrorCode, E as ErrorCodeType,
|
|
1
|
+
import { B as BaseError, A as AIModelNameRules } from './index-japi6bEq.js';
|
|
2
|
+
export { d as AIModelNameRule, c as AIModelNameRuleFn, m as AbortError, i as AbortErrorCode, b as ActionName, a as ActionNames, l as AlreadyExistsError, h as AlreadyExistsErrorCode, u as BaseFunc, r as BaseFuncItem, y as ClientFuncItem, D as ClientToolFuncSchema, z as ClientTools, C as CommonError, f as ErrorCode, E as ErrorCodeType, W as EventClient, V as EventClientFuncParams, Z as EventServer, Y as EventServerFuncParams, M as EventToolFunc, s as FuncItem, p as FuncParam, F as FuncParamType, q as FuncParams, v as Funcs, I as InternalErrorCode, k as NotFoundError, g as NotFoundErrorCode, j as NotImplementationError, N as NotImplementedErrorCode, P as PASSING_SCORE, e as RemoteFuncItem, R as RemoteToolFuncSchema, a0 as ResClientFuncParams, a1 as ResClientTools, a2 as ResClientToolsSchema, a3 as ResServerFuncParams, a4 as ResServerTools, a5 as ResServerToolsSchema, o as SSEChannel, S as SSEChannelAlreadyClosedErrCode, H as ServerFuncItem, G as ServerFuncParams, K as ServerToolFuncSchema, J as ServerTools, T as TFunc, w as ToolFunc, x as ToolFuncSchema, _ as _lrucache, n as createError, Q as createLRUCache, O as event, X as eventClient, $ as eventServer, U as lrucache, L as registerCoreTools, t as throwError } from './index-japi6bEq.js';
|
|
3
3
|
import { BaseFactory } from 'custom-factory';
|
|
4
4
|
import * as custom_ability from 'custom-ability';
|
|
5
5
|
import { Event } from 'events-ex';
|
|
@@ -11,8 +11,8 @@ export { mimeType } from 'mime-type/with-db';
|
|
|
11
11
|
export { Config as ConfigFile } from 'load-config-file';
|
|
12
12
|
import 'property-manager';
|
|
13
13
|
import 'secondary-cache';
|
|
14
|
-
import 'http';
|
|
15
14
|
import 'abstract-error';
|
|
15
|
+
import 'http';
|
|
16
16
|
|
|
17
17
|
declare const AITextGenerationFinishReasons: readonly ["stop", "length", "content-filter", "tool-calls", "abort", "error", "other", null];
|
|
18
18
|
type AITextGenerationFinishReason = typeof AITextGenerationFinishReasons[number];
|
|
@@ -1029,7 +1029,7 @@ declare function getAllEnumKeys<T extends object>(enumType: T): Array<keyof type
|
|
|
1029
1029
|
* const json = parseJsJson(jsonString);
|
|
1030
1030
|
* console.log(json); // { name: 'John' }
|
|
1031
1031
|
*/
|
|
1032
|
-
declare function parseJsJson(input: string): any;
|
|
1032
|
+
declare function parseJsJson(input: string, scope?: Record<string, any>): any;
|
|
1033
1033
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* Retrieves an array of all key paths as strings for a nested object or array.
|
|
@@ -1062,14 +1062,26 @@ declare function createEndWithRepetitionDetector(repetitionThreshold: number): (
|
|
|
1062
1062
|
* const content = loadFileFromPaths('config', ['/etc', '/usr/local/etc'], ['.json', '.yaml']);
|
|
1063
1063
|
* ```
|
|
1064
1064
|
*/
|
|
1065
|
-
declare function loadFileFromPaths(filename: string, searchPaths?: string[], extNames?: string[]
|
|
1066
|
-
|
|
1065
|
+
declare function loadFileFromPaths(filename: string, searchPaths?: string[], extNames?: string[], options?: {
|
|
1066
|
+
filepath?: string;
|
|
1067
|
+
}): Buffer;
|
|
1068
|
+
declare function loadTextFromPaths(filename: string, searchPaths?: string[], extNames?: string[], options?: {
|
|
1069
|
+
encoding?: BufferEncoding;
|
|
1070
|
+
filepath?: string;
|
|
1071
|
+
} | BufferEncoding): string;
|
|
1067
1072
|
|
|
1068
1073
|
declare function registerYamlTag(tags: any): void;
|
|
1069
1074
|
declare function parseYaml(content: string): any;
|
|
1070
1075
|
|
|
1071
|
-
|
|
1072
|
-
|
|
1076
|
+
interface ConfigFilesFilter {
|
|
1077
|
+
after?: {
|
|
1078
|
+
[filepath: string]: number;
|
|
1079
|
+
};
|
|
1080
|
+
extensions?: string[] | string;
|
|
1081
|
+
exclude?: string[] | string;
|
|
1082
|
+
}
|
|
1083
|
+
declare function getConfigFileNames(directoryPath: string, filter?: ConfigFilesFilter): string[];
|
|
1084
|
+
declare function getConfigs(directoryPath: string, filter?: ConfigFilesFilter): any[];
|
|
1073
1085
|
declare function saveConfigFile(filename: string, config: any, extLevel?: number): void;
|
|
1074
1086
|
|
|
1075
1087
|
interface JsonFilter {
|