@isdk/ai-tool 0.2.2 → 0.3.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/chunk-JHHFTTVE.mjs +1 -0
- package/dist/funcs.d.mts +1 -1
- package/dist/funcs.d.ts +1 -1
- package/dist/funcs.js +1 -1
- package/dist/funcs.mjs +1 -1
- package/dist/{index-DUEs7T8M.d.mts → index-BC3GQn6-.d.mts} +7 -0
- package/dist/{index-DUEs7T8M.d.ts → index-BC3GQn6-.d.ts} +7 -0
- package/dist/index.d.mts +443 -11
- package/dist/index.d.ts +443 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/test/util.mjs +1 -1
- package/docs/classes/AbortError.md +45 -15
- package/docs/classes/AlreadyExistsError.md +45 -15
- package/docs/classes/BaseError.md +42 -16
- package/docs/classes/CancelableAbility.md +20 -20
- package/docs/classes/ClientTools.md +93 -93
- package/docs/classes/CommonError.md +45 -15
- package/docs/classes/EventClient.md +115 -115
- package/docs/classes/EventServer.md +117 -117
- package/docs/classes/EventToolFunc.md +85 -85
- 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 +4 -4
- package/docs/classes/HFTemplate.md +4 -4
- package/docs/classes/HfPromptTemplate.md +18 -18
- package/docs/classes/IntSet.md +11 -11
- package/docs/classes/NotFoundError.md +45 -15
- package/docs/classes/NotImplementationError.md +45 -15
- package/docs/classes/PromptExampleSelector.md +8 -8
- package/docs/classes/PromptTemplate.md +17 -17
- package/docs/classes/ReadableStreamError.md +45 -15
- package/docs/classes/ResClientTools.md +100 -100
- package/docs/classes/ResServerTools.md +101 -101
- package/docs/classes/SSEChannel.md +14 -14
- package/docs/classes/Semaphore.md +8 -8
- package/docs/classes/ServerTools.md +89 -89
- package/docs/classes/TaskAbortController.md +8 -8
- package/docs/classes/ToolFunc.md +82 -82
- package/docs/classes/YamlTypeBaseObject.md +29 -0
- package/docs/enumerations/AsyncFeatureBits.md +3 -3
- package/docs/enumerations/AsyncFeatures.md +3 -3
- package/docs/enumerations/ErrorCode.md +21 -21
- package/docs/enumerations/HashAlgorithm.md +117 -0
- package/docs/functions/AIArgProcessor.md +1 -1
- package/docs/functions/AIStream.md +1 -1
- package/docs/functions/ChoiceArgProcessor.md +1 -1
- package/docs/functions/RateLimit.md +1 -1
- package/docs/functions/TemplateArgProcessor.md +1 -1
- package/docs/functions/backendEventable.md +1 -1
- package/docs/functions/completeSentences.md +23 -0
- package/docs/functions/concatText.md +23 -0
- package/docs/functions/countLLMTokens.md +23 -0
- package/docs/functions/countRegexMatches.md +1 -1
- package/docs/functions/createCallbacksTransformer.md +1 -1
- package/docs/functions/createEmptyReadableStream.md +1 -1
- package/docs/functions/createEndWithRepetitionDetector.md +1 -1
- package/docs/functions/createError.md +1 -1
- package/docs/functions/createEventStreamTransformer.md +1 -1
- package/docs/functions/createHfValueFunc.md +1 -1
- package/docs/functions/createLRUCache.md +1 -1
- package/docs/functions/createYamlObjectTag.md +23 -0
- package/docs/functions/dateToText.md +1 -1
- package/docs/functions/decodeCharset.md +23 -0
- package/docs/functions/detectCharset.md +23 -0
- package/docs/functions/encodeLLMTokens.md +23 -0
- package/docs/functions/expandEnv.md +1 -1
- package/docs/functions/expandObjEnv.md +1 -1
- package/docs/functions/extNameLevel.md +1 -1
- package/docs/functions/fileIsExists.md +1 -1
- package/docs/functions/filenameReservedRegex.md +1 -1
- package/docs/functions/filterValidFnScope.md +1 -1
- package/docs/functions/findIndexNonEmptyFrom.md +23 -0
- package/docs/functions/findPort.md +1 -1
- package/docs/functions/formatTextWithSpace.md +59 -0
- package/docs/functions/getAllEnumKeys.md +1 -1
- package/docs/functions/getConfigFileNames.md +1 -1
- package/docs/functions/getConfigs.md +1 -1
- package/docs/functions/getFileMetaInfo.md +21 -0
- package/docs/functions/getHashAlgoBySize.md +21 -0
- package/docs/functions/getKeysPath.md +1 -1
- package/docs/functions/getLLMTokenizer.md +21 -0
- package/docs/functions/getMultiLevelExtname.md +1 -1
- package/docs/functions/getPackageDir.md +1 -1
- package/docs/functions/getRealFilepath.md +1 -1
- package/docs/functions/getResponseErrorReadableStream.md +1 -1
- package/docs/functions/hasDirectoryIn.md +38 -0
- package/docs/functions/hashFile.md +23 -0
- package/docs/functions/hashStream.md +23 -0
- package/docs/functions/hfParse.md +1 -1
- package/docs/functions/hfTokenize.md +1 -1
- package/docs/functions/interpolateEnv.md +1 -1
- package/docs/functions/interpolateFString.md +1 -1
- package/docs/functions/interpolateGolangTemplate.md +1 -1
- package/docs/functions/isLangUsingSpaces.md +21 -0
- package/docs/functions/isListItemString.md +21 -0
- package/docs/functions/isModelNameMatched.md +1 -1
- package/docs/functions/isPunctuationChar.md +36 -0
- package/docs/functions/isRegExp.md +21 -0
- package/docs/functions/isSectionString.md +23 -0
- package/docs/functions/isSentenceEnding.md +21 -0
- package/docs/functions/isSepLineString.md +21 -0
- package/docs/functions/isSubdirectory.md +39 -0
- package/docs/functions/isTitleString.md +23 -0
- package/docs/functions/isValidFilename.md +1 -1
- package/docs/functions/isValidFilepath.md +1 -1
- package/docs/functions/isWebStream.md +1 -1
- package/docs/functions/jsonFilterToWhere.md +1 -1
- package/docs/functions/jsonToMarkdownStr.md +1 -1
- package/docs/functions/loadFileFromPaths.md +1 -1
- package/docs/functions/loadTextFromPaths.md +1 -1
- package/docs/functions/lrucache.md +1 -1
- package/docs/functions/makeToolFuncCancelable.md +1 -1
- package/docs/functions/matchUrlProtocol.md +1 -1
- package/docs/functions/memoize.md +1 -1
- package/docs/functions/messagesToText.md +1 -1
- package/docs/functions/paramsSizeToScaleStr.md +1 -1
- package/docs/functions/parseCommand.md +1 -1
- package/docs/functions/parseFString.md +1 -1
- package/docs/functions/parseJsJson.md +3 -3
- package/docs/functions/parseJsJsonSimpleSync.md +23 -0
- package/docs/functions/parseObjectArgInfo.md +1 -1
- package/docs/functions/parseObjectArgumentInfos.md +1 -1
- package/docs/functions/parseObjectArguments.md +1 -1
- package/docs/functions/parseObjectArgumentsAsArgInfos.md +1 -1
- package/docs/functions/parseYaml.md +1 -1
- package/docs/functions/quoteStr.md +1 -1
- package/docs/functions/reControlCharsRegex.md +1 -1
- package/docs/functions/readFilenamesRecursiveSync.md +1 -1
- package/docs/functions/readTextFileChunks.md +51 -0
- package/docs/functions/readTextFileChunksEx.md +23 -0
- package/docs/functions/readableFromAsyncIterable.md +1 -1
- package/docs/functions/registerCoreTools.md +1 -1
- package/docs/functions/registerYamlTag.md +1 -1
- package/docs/functions/removeMarkdownBold.md +23 -0
- package/docs/functions/removeMarkdownBoldAndItalic.md +23 -0
- package/docs/functions/removeMarkdownItalic.md +23 -0
- package/docs/functions/replaceWithPlaceholder.md +41 -0
- package/docs/functions/restoreFromPlacehoders.md +45 -0
- package/docs/functions/sanitizeFilename.md +1 -1
- package/docs/functions/sanitizeFilepath.md +1 -1
- package/docs/functions/saveConfigFile.md +1 -1
- package/docs/functions/scaleStrToParamsSize.md +1 -1
- package/docs/functions/simplifyObjectArguments.md +1 -1
- package/docs/functions/sortedValues.md +1 -1
- package/docs/functions/splitChunks.md +23 -0
- package/docs/functions/splitParagraph.md +32 -0
- package/docs/functions/splitSentence.md +2 -2
- package/docs/functions/stringifyYaml.md +6 -34
- package/docs/functions/stripConsoleColor.md +21 -0
- package/docs/functions/textToDate.md +1 -1
- package/docs/functions/throwError.md +1 -1
- package/docs/functions/toDateTime.md +1 -1
- package/docs/functions/toRegExp.md +34 -0
- package/docs/functions/trimStartOfStreamHelper.md +1 -1
- package/docs/functions/truncTo.md +1 -1
- package/docs/functions/truncateByToken.md +23 -0
- package/docs/functions/truncateToTokenLimit.md +44 -0
- package/docs/functions/truncateToTokenLimitEx.md +23 -0
- package/docs/functions/uuid.md +1 -1
- package/docs/functions/wait.md +1 -1
- package/docs/functions/xxhash.md +2 -2
- package/docs/functions/xxhash32.md +1 -1
- package/docs/functions/xxhash64.md +1 -1
- package/docs/functions/xxhashAsStr.md +2 -2
- package/docs/globals.md +50 -1
- package/docs/interfaces/AIChatAssistantMessageParam.md +48 -6
- package/docs/interfaces/AIChatContentPartImage.md +2 -2
- package/docs/interfaces/AIChatContentPartText.md +2 -2
- package/docs/interfaces/AIChatMessageParamBase.md +31 -1
- package/docs/interfaces/AIChatMessageToolCall.md +3 -3
- package/docs/interfaces/AIChatSystemMessageParam.md +45 -3
- package/docs/interfaces/AIChatToolMessageParam.md +46 -4
- package/docs/interfaces/AIChatUserMessageParam.md +49 -7
- package/docs/interfaces/AIChoiceConfig.md +7 -7
- package/docs/interfaces/AIResult.md +5 -5
- package/docs/interfaces/AIStreamParser.md +1 -1
- package/docs/interfaces/AIStreamParserOptions.md +1 -1
- package/docs/interfaces/BaseFunc.md +9 -9
- package/docs/interfaces/BaseFuncItem.md +8 -8
- package/docs/interfaces/CancelableAbilityOptions.md +2 -2
- package/docs/interfaces/ClientFuncItem.md +11 -11
- 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 +9 -9
- package/docs/interfaces/FuncParam.md +6 -6
- package/docs/interfaces/HashAlgoParams.md +37 -0
- package/docs/interfaces/IFileMetaInfo.md +77 -0
- package/docs/interfaces/IReadTextFileChunksOptions.md +157 -0
- package/docs/interfaces/ITruncateToTokenLimitOptions.md +111 -0
- package/docs/interfaces/ParseObjectArgumentOptions.md +45 -5
- package/docs/interfaces/PromptExampleSelectorOptions.md +2 -2
- package/docs/interfaces/PromptTemplateOptions.md +6 -6
- package/docs/interfaces/RemoteFuncItem.md +11 -11
- package/docs/interfaces/ReplacePlacehoderOptions.md +47 -0
- package/docs/interfaces/ResClientFuncParams.md +2 -2
- package/docs/interfaces/ResServerFuncParams.md +5 -5
- package/docs/interfaces/SanitizeFilenameOptions.md +2 -2
- package/docs/interfaces/SectionStringOptions.md +27 -0
- package/docs/interfaces/ServerFuncItem.md +12 -12
- package/docs/interfaces/ServerFuncParams.md +2 -2
- package/docs/interfaces/SplitSentenceOptions.md +47 -0
- package/docs/interfaces/StreamCallbacksAndOptions.md +4 -4
- package/docs/interfaces/TaskPromise.md +5 -5
- package/docs/interfaces/ToolFuncPackage.md +3 -3
- package/docs/type-aliases/AIChatContentPart.md +1 -1
- package/docs/type-aliases/AIChatMessageParam.md +1 -1
- package/docs/type-aliases/AIChatRole.md +1 -1
- package/docs/type-aliases/AIMessageType.md +1 -1
- package/docs/type-aliases/AIModelNameRule.md +1 -1
- package/docs/type-aliases/AIModelNameRuleFn.md +1 -1
- package/docs/type-aliases/AIModelNameRules.md +1 -1
- package/docs/type-aliases/AITextGenerationFinishReason.md +1 -1
- package/docs/type-aliases/ActionName.md +1 -1
- package/docs/type-aliases/AsyncTaskId.md +1 -1
- package/docs/type-aliases/EventErrorListenerFn.md +1 -1
- package/docs/type-aliases/EventListenerFn.md +1 -1
- package/docs/type-aliases/FStringPromptTemplateNode.md +1 -1
- package/docs/type-aliases/FuncParamType.md +1 -1
- package/docs/type-aliases/PromptExamples.md +1 -1
- package/docs/type-aliases/PromptTemplateType.md +1 -1
- package/docs/type-aliases/PromptType.md +1 -1
- package/docs/type-aliases/TFunc.md +1 -1
- package/docs/variables/AIChatRoles.md +1 -1
- package/docs/variables/AIMessageTypes.md +1 -1
- package/docs/variables/AITextGenerationFinishReasons.md +1 -1
- package/docs/variables/AbortErrorCode.md +1 -1
- package/docs/variables/ActionNames.md +1 -1
- package/docs/variables/AlreadyExistsErrorCode.md +1 -1
- package/docs/variables/ClientToolFuncSchema.md +1 -1
- package/docs/variables/DefaultAsyncSemaphoreCapacity.md +1 -1
- package/docs/variables/EventBusName.md +1 -1
- package/docs/variables/EventName.md +1 -1
- package/docs/variables/FilenameReservedRegex.md +1 -1
- package/docs/variables/HFBuiltins.md +1 -1
- package/docs/variables/InternalErrorCode.md +1 -1
- package/docs/variables/LLM_TOKENIZER_NAMES.md +83 -0
- package/docs/variables/LLM_TOKENIZER_NAMES_MAP.md +13 -0
- package/docs/variables/NotFoundErrorCode.md +1 -1
- package/docs/variables/NotImplementedErrorCode.md +1 -1
- package/docs/variables/PASSING_SCORE.md +1 -1
- package/docs/variables/PromptTemplateTypes.md +1 -1
- package/docs/variables/PromptTypes.md +1 -1
- package/docs/variables/RStreamErrCode.md +1 -1
- package/docs/variables/RemoteToolFuncSchema.md +1 -1
- package/docs/variables/ResponseRStreamErrCode.md +1 -1
- package/docs/variables/SSEChannelAlreadyClosedErrCode.md +1 -1
- package/docs/variables/ServerToolFuncSchema.md +1 -1
- package/docs/variables/ToolAsyncCancelableBit.md +1 -1
- package/docs/variables/ToolAsyncMultiTaskBit.md +1 -1
- package/docs/variables/ToolAsyncPriorityBit.md +1 -1
- package/docs/variables/ToolFuncSchema.md +1 -1
- package/docs/variables/WindowsReservedNameRegex.md +1 -1
- package/docs/variables/base32768.md +1 -1
- package/docs/variables/defaultTemplateFormat.md +1 -1
- package/docs/variables/event.md +1 -1
- package/docs/variables/eventClient.md +1 -1
- package/docs/variables/eventServer.md +1 -1
- package/docs/variables/lrucache.md +1 -1
- package/package.json +7 -3
- package/dist/chunk-PY6NRGZE.mjs +0 -1
- package/docs/enumerations/XXHashAlgorithm.md +0 -27
- /package/dist/{chunk-PXQPLL62.mjs → chunk-VIG2GB47.mjs} +0 -0
|
@@ -26,7 +26,7 @@ The template string
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:45](https://github.com/isdk/ai-tool.js/blob/
|
|
29
|
+
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:45](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/template/jinja/src/index.ts#L45)
|
|
30
30
|
|
|
31
31
|
## Properties
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The template string
|
|
|
36
36
|
|
|
37
37
|
#### Defined in
|
|
38
38
|
|
|
39
|
-
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:38](https://github.com/isdk/ai-tool.js/blob/
|
|
39
|
+
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:38](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/template/jinja/src/index.ts#L38)
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ The template string
|
|
|
46
46
|
|
|
47
47
|
#### Defined in
|
|
48
48
|
|
|
49
|
-
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:40](https://github.com/isdk/ai-tool.js/blob/
|
|
49
|
+
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:40](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/template/jinja/src/index.ts#L40)
|
|
50
50
|
|
|
51
51
|
## Methods
|
|
52
52
|
|
|
@@ -64,4 +64,4 @@ The template string
|
|
|
64
64
|
|
|
65
65
|
#### Defined in
|
|
66
66
|
|
|
67
|
-
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:55](https://github.com/isdk/ai-tool.js/blob/
|
|
67
|
+
[packages/ai-tool/src/utils/prompt/template/jinja/src/index.ts:55](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/template/jinja/src/index.ts#L55)
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:69](https://github.com/isdk/ai-tool.js/blob/
|
|
35
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:69](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L69)
|
|
36
36
|
|
|
37
37
|
## Properties
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
#### Defined in
|
|
48
48
|
|
|
49
|
-
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:89](https://github.com/isdk/ai-tool.js/blob/
|
|
49
|
+
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:89](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/hf-prompt-template.ts#L89)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
#### Defined in
|
|
62
62
|
|
|
63
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:24](https://github.com/isdk/ai-tool.js/blob/
|
|
63
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:24](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L24)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:25](https://github.com/isdk/ai-tool.js/blob/
|
|
77
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:25](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L25)
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
#### Defined in
|
|
90
90
|
|
|
91
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:22](https://github.com/isdk/ai-tool.js/blob/
|
|
91
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:22](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L22)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
|
|
103
103
|
#### Defined in
|
|
104
104
|
|
|
105
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:23](https://github.com/isdk/ai-tool.js/blob/
|
|
105
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:23](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L23)
|
|
106
106
|
|
|
107
107
|
***
|
|
108
108
|
|
|
@@ -280,7 +280,7 @@ node\_modules/.pnpm/custom-factory@2.3.0/node\_modules/custom-factory/lib/base-f
|
|
|
280
280
|
|
|
281
281
|
#### Defined in
|
|
282
282
|
|
|
283
|
-
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:130](https://github.com/isdk/ai-tool.js/blob/
|
|
283
|
+
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:130](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/hf-prompt-template.ts#L130)
|
|
284
284
|
|
|
285
285
|
***
|
|
286
286
|
|
|
@@ -302,7 +302,7 @@ node\_modules/.pnpm/custom-factory@2.3.0/node\_modules/custom-factory/lib/base-f
|
|
|
302
302
|
|
|
303
303
|
#### Defined in
|
|
304
304
|
|
|
305
|
-
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:121](https://github.com/isdk/ai-tool.js/blob/
|
|
305
|
+
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:121](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/hf-prompt-template.ts#L121)
|
|
306
306
|
|
|
307
307
|
***
|
|
308
308
|
|
|
@@ -326,7 +326,7 @@ Validate/filter the data in inputVariables
|
|
|
326
326
|
|
|
327
327
|
#### Defined in
|
|
328
328
|
|
|
329
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:62](https://github.com/isdk/ai-tool.js/blob/
|
|
329
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:62](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L62)
|
|
330
330
|
|
|
331
331
|
***
|
|
332
332
|
|
|
@@ -348,7 +348,7 @@ Validate/filter the data in inputVariables
|
|
|
348
348
|
|
|
349
349
|
#### Defined in
|
|
350
350
|
|
|
351
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:109](https://github.com/isdk/ai-tool.js/blob/
|
|
351
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:109](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L109)
|
|
352
352
|
|
|
353
353
|
***
|
|
354
354
|
|
|
@@ -366,7 +366,7 @@ Validate/filter the data in inputVariables
|
|
|
366
366
|
|
|
367
367
|
#### Defined in
|
|
368
368
|
|
|
369
|
-
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:114](https://github.com/isdk/ai-tool.js/blob/
|
|
369
|
+
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:114](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/hf-prompt-template.ts#L114)
|
|
370
370
|
|
|
371
371
|
***
|
|
372
372
|
|
|
@@ -392,7 +392,7 @@ initialize instance method
|
|
|
392
392
|
|
|
393
393
|
#### Defined in
|
|
394
394
|
|
|
395
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:96](https://github.com/isdk/ai-tool.js/blob/
|
|
395
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:96](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L96)
|
|
396
396
|
|
|
397
397
|
***
|
|
398
398
|
|
|
@@ -420,7 +420,7 @@ the new partial PromptTemplate instance
|
|
|
420
420
|
|
|
421
421
|
#### Defined in
|
|
422
422
|
|
|
423
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:139](https://github.com/isdk/ai-tool.js/blob/
|
|
423
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:139](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L139)
|
|
424
424
|
|
|
425
425
|
***
|
|
426
426
|
|
|
@@ -442,7 +442,7 @@ the new partial PromptTemplate instance
|
|
|
442
442
|
|
|
443
443
|
#### Defined in
|
|
444
444
|
|
|
445
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:147](https://github.com/isdk/ai-tool.js/blob/
|
|
445
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:147](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L147)
|
|
446
446
|
|
|
447
447
|
***
|
|
448
448
|
|
|
@@ -653,7 +653,7 @@ node\_modules/.pnpm/custom-factory@2.3.0/node\_modules/custom-factory/lib/base-f
|
|
|
653
653
|
|
|
654
654
|
#### Defined in
|
|
655
655
|
|
|
656
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:31](https://github.com/isdk/ai-tool.js/blob/
|
|
656
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:31](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L31)
|
|
657
657
|
|
|
658
658
|
***
|
|
659
659
|
|
|
@@ -681,7 +681,7 @@ A Promise that resolves to the formatted result if options is a template; otherw
|
|
|
681
681
|
|
|
682
682
|
#### Defined in
|
|
683
683
|
|
|
684
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:41](https://github.com/isdk/ai-tool.js/blob/
|
|
684
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:41](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L41)
|
|
685
685
|
|
|
686
686
|
***
|
|
687
687
|
|
|
@@ -763,7 +763,7 @@ node\_modules/.pnpm/custom-factory@2.3.0/node\_modules/custom-factory/lib/base-f
|
|
|
763
763
|
|
|
764
764
|
#### Defined in
|
|
765
765
|
|
|
766
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:27](https://github.com/isdk/ai-tool.js/blob/
|
|
766
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:27](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/prompt-template.ts#L27)
|
|
767
767
|
|
|
768
768
|
***
|
|
769
769
|
|
|
@@ -941,7 +941,7 @@ node\_modules/.pnpm/custom-factory@2.3.0/node\_modules/custom-factory/lib/base-f
|
|
|
941
941
|
|
|
942
942
|
#### Defined in
|
|
943
943
|
|
|
944
|
-
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:91](https://github.com/isdk/ai-tool.js/blob/
|
|
944
|
+
[packages/ai-tool/src/utils/prompt/hf-prompt-template.ts:91](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/prompt/hf-prompt-template.ts#L91)
|
|
945
945
|
|
|
946
946
|
***
|
|
947
947
|
|
package/docs/classes/IntSet.md
CHANGED
|
@@ -26,7 +26,7 @@ where the flag value 0 represents the 0th bit, 1 represents the 1st bit, and so
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[packages/ai-tool/src/utils/intset.ts:21](https://github.com/isdk/ai-tool.js/blob/
|
|
29
|
+
[packages/ai-tool/src/utils/intset.ts:21](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L21)
|
|
30
30
|
|
|
31
31
|
## Methods
|
|
32
32
|
|
|
@@ -49,7 +49,7 @@ The flag value representing the bit position to set.
|
|
|
49
49
|
|
|
50
50
|
#### Defined in
|
|
51
51
|
|
|
52
|
-
[packages/ai-tool/src/utils/intset.ts:29](https://github.com/isdk/ai-tool.js/blob/
|
|
52
|
+
[packages/ai-tool/src/utils/intset.ts:29](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L29)
|
|
53
53
|
|
|
54
54
|
***
|
|
55
55
|
|
|
@@ -65,7 +65,7 @@ Clears all elements from the set.
|
|
|
65
65
|
|
|
66
66
|
#### Defined in
|
|
67
67
|
|
|
68
|
-
[packages/ai-tool/src/utils/intset.ts:57](https://github.com/isdk/ai-tool.js/blob/
|
|
68
|
+
[packages/ai-tool/src/utils/intset.ts:57](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L57)
|
|
69
69
|
|
|
70
70
|
***
|
|
71
71
|
|
|
@@ -87,7 +87,7 @@ The flag value representing the bit position to set. 0 represents the 0th bit
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
[packages/ai-tool/src/utils/intset.ts:39](https://github.com/isdk/ai-tool.js/blob/
|
|
90
|
+
[packages/ai-tool/src/utils/intset.ts:39](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L39)
|
|
91
91
|
|
|
92
92
|
***
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ true if the element is in the set; otherwise, false.
|
|
|
111
111
|
|
|
112
112
|
#### Defined in
|
|
113
113
|
|
|
114
|
-
[packages/ai-tool/src/utils/intset.ts:50](https://github.com/isdk/ai-tool.js/blob/
|
|
114
|
+
[packages/ai-tool/src/utils/intset.ts:50](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L50)
|
|
115
115
|
|
|
116
116
|
***
|
|
117
117
|
|
|
@@ -125,7 +125,7 @@ true if the element is in the set; otherwise, false.
|
|
|
125
125
|
|
|
126
126
|
#### Defined in
|
|
127
127
|
|
|
128
|
-
[packages/ai-tool/src/utils/intset.ts:70](https://github.com/isdk/ai-tool.js/blob/
|
|
128
|
+
[packages/ai-tool/src/utils/intset.ts:70](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L70)
|
|
129
129
|
|
|
130
130
|
***
|
|
131
131
|
|
|
@@ -139,7 +139,7 @@ true if the element is in the set; otherwise, false.
|
|
|
139
139
|
|
|
140
140
|
#### Defined in
|
|
141
141
|
|
|
142
|
-
[packages/ai-tool/src/utils/intset.ts:66](https://github.com/isdk/ai-tool.js/blob/
|
|
142
|
+
[packages/ai-tool/src/utils/intset.ts:66](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L66)
|
|
143
143
|
|
|
144
144
|
***
|
|
145
145
|
|
|
@@ -153,7 +153,7 @@ true if the element is in the set; otherwise, false.
|
|
|
153
153
|
|
|
154
154
|
#### Defined in
|
|
155
155
|
|
|
156
|
-
[packages/ai-tool/src/utils/intset.ts:62](https://github.com/isdk/ai-tool.js/blob/
|
|
156
|
+
[packages/ai-tool/src/utils/intset.ts:62](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L62)
|
|
157
157
|
|
|
158
158
|
***
|
|
159
159
|
|
|
@@ -173,7 +173,7 @@ true if the element is in the set; otherwise, false.
|
|
|
173
173
|
|
|
174
174
|
#### Defined in
|
|
175
175
|
|
|
176
|
-
[packages/ai-tool/src/utils/intset.ts:12](https://github.com/isdk/ai-tool.js/blob/
|
|
176
|
+
[packages/ai-tool/src/utils/intset.ts:12](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L12)
|
|
177
177
|
|
|
178
178
|
***
|
|
179
179
|
|
|
@@ -193,7 +193,7 @@ true if the element is in the set; otherwise, false.
|
|
|
193
193
|
|
|
194
194
|
#### Defined in
|
|
195
195
|
|
|
196
|
-
[packages/ai-tool/src/utils/intset.ts:16](https://github.com/isdk/ai-tool.js/blob/
|
|
196
|
+
[packages/ai-tool/src/utils/intset.ts:16](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L16)
|
|
197
197
|
|
|
198
198
|
***
|
|
199
199
|
|
|
@@ -213,4 +213,4 @@ true if the element is in the set; otherwise, false.
|
|
|
213
213
|
|
|
214
214
|
#### Defined in
|
|
215
215
|
|
|
216
|
-
[packages/ai-tool/src/utils/intset.ts:8](https://github.com/isdk/ai-tool.js/blob/
|
|
216
|
+
[packages/ai-tool/src/utils/intset.ts:8](https://github.com/isdk/ai-tool.js/blob/e324043799402aa2caa41711a9168487ab85c166/src/utils/intset.ts#L8)
|
|
@@ -41,7 +41,7 @@ throw new NotFoundError('user', { id: 123 })
|
|
|
41
41
|
|
|
42
42
|
#### Defined in
|
|
43
43
|
|
|
44
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
44
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:127
|
|
45
45
|
|
|
46
46
|
## Properties
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@ The name of the function that threw the error.
|
|
|
57
57
|
|
|
58
58
|
#### Defined in
|
|
59
59
|
|
|
60
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
60
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:63
|
|
61
61
|
|
|
62
62
|
***
|
|
63
63
|
|
|
@@ -71,7 +71,7 @@ node\_modules/.pnpm/@isdk+common-error@0.1.1/node\_modules/@isdk/common-error/di
|
|
|
71
71
|
|
|
72
72
|
#### Defined in
|
|
73
73
|
|
|
74
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
74
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
75
75
|
|
|
76
76
|
***
|
|
77
77
|
|
|
@@ -87,7 +87,7 @@ the error code
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
90
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:64
|
|
91
91
|
|
|
92
92
|
***
|
|
93
93
|
|
|
@@ -103,7 +103,7 @@ Additional data associated with the error.
|
|
|
103
103
|
|
|
104
104
|
#### Defined in
|
|
105
105
|
|
|
106
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
106
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:65
|
|
107
107
|
|
|
108
108
|
***
|
|
109
109
|
|
|
@@ -117,7 +117,7 @@ node\_modules/.pnpm/@isdk+common-error@0.1.1/node\_modules/@isdk/common-error/di
|
|
|
117
117
|
|
|
118
118
|
#### Defined in
|
|
119
119
|
|
|
120
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
120
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1077
|
|
121
121
|
|
|
122
122
|
***
|
|
123
123
|
|
|
@@ -131,7 +131,7 @@ node\_modules/.pnpm/typescript@5.6.2/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
131
131
|
|
|
132
132
|
#### Defined in
|
|
133
133
|
|
|
134
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
134
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1076
|
|
135
135
|
|
|
136
136
|
***
|
|
137
137
|
|
|
@@ -145,7 +145,7 @@ node\_modules/.pnpm/typescript@5.6.2/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
145
145
|
|
|
146
146
|
#### Defined in
|
|
147
147
|
|
|
148
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
148
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1078
|
|
149
149
|
|
|
150
150
|
***
|
|
151
151
|
|
|
@@ -161,7 +161,7 @@ The error code associated with the error.
|
|
|
161
161
|
|
|
162
162
|
#### Defined in
|
|
163
163
|
|
|
164
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
164
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:126
|
|
165
165
|
|
|
166
166
|
***
|
|
167
167
|
|
|
@@ -191,7 +191,7 @@ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
|
191
191
|
|
|
192
192
|
#### Defined in
|
|
193
193
|
|
|
194
|
-
node\_modules/.pnpm/@types+node@22.
|
|
194
|
+
node\_modules/.pnpm/@types+node@22.7.6/node\_modules/@types/node/globals.d.ts:143
|
|
195
195
|
|
|
196
196
|
***
|
|
197
197
|
|
|
@@ -205,7 +205,7 @@ node\_modules/.pnpm/@types+node@22.5.5/node\_modules/@types/node/globals.d.ts:14
|
|
|
205
205
|
|
|
206
206
|
#### Defined in
|
|
207
207
|
|
|
208
|
-
node\_modules/.pnpm/@types+node@22.
|
|
208
|
+
node\_modules/.pnpm/@types+node@22.7.6/node\_modules/@types/node/globals.d.ts:145
|
|
209
209
|
|
|
210
210
|
## Methods
|
|
211
211
|
|
|
@@ -233,7 +233,7 @@ A new BaseError instance.
|
|
|
233
233
|
|
|
234
234
|
#### Defined in
|
|
235
235
|
|
|
236
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
236
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:93
|
|
237
237
|
|
|
238
238
|
***
|
|
239
239
|
|
|
@@ -255,7 +255,7 @@ A JSON representation of the error.
|
|
|
255
255
|
|
|
256
256
|
#### Defined in
|
|
257
257
|
|
|
258
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
258
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:86
|
|
259
259
|
|
|
260
260
|
***
|
|
261
261
|
|
|
@@ -281,7 +281,37 @@ Create .stack property on a target object
|
|
|
281
281
|
|
|
282
282
|
#### Defined in
|
|
283
283
|
|
|
284
|
-
node\_modules/.pnpm/@types+node@22.
|
|
284
|
+
node\_modules/.pnpm/@types+node@22.7.6/node\_modules/@types/node/globals.d.ts:136
|
|
285
|
+
|
|
286
|
+
***
|
|
287
|
+
|
|
288
|
+
### create()
|
|
289
|
+
|
|
290
|
+
> `static` **create**(`__namedParameters`): [`CommonError`](CommonError.md)
|
|
291
|
+
|
|
292
|
+
#### Parameters
|
|
293
|
+
|
|
294
|
+
• **\_\_namedParameters**
|
|
295
|
+
|
|
296
|
+
• **\_\_namedParameters.code?**: `string` \| `number`
|
|
297
|
+
|
|
298
|
+
• **\_\_namedParameters.data?**: `any`
|
|
299
|
+
|
|
300
|
+
• **\_\_namedParameters.error**: `string`
|
|
301
|
+
|
|
302
|
+
• **\_\_namedParameters.name?**: `string`
|
|
303
|
+
|
|
304
|
+
#### Returns
|
|
305
|
+
|
|
306
|
+
[`CommonError`](CommonError.md)
|
|
307
|
+
|
|
308
|
+
#### Inherited from
|
|
309
|
+
|
|
310
|
+
[`CommonError`](CommonError.md).[`create`](CommonError.md#create)
|
|
311
|
+
|
|
312
|
+
#### Defined in
|
|
313
|
+
|
|
314
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:96
|
|
285
315
|
|
|
286
316
|
***
|
|
287
317
|
|
|
@@ -315,4 +345,4 @@ the new Error Class
|
|
|
315
345
|
|
|
316
346
|
#### Defined in
|
|
317
347
|
|
|
318
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
348
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:66
|
|
@@ -41,7 +41,7 @@ throw new NotImplementationError()
|
|
|
41
41
|
|
|
42
42
|
#### Defined in
|
|
43
43
|
|
|
44
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
44
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:114
|
|
45
45
|
|
|
46
46
|
## Properties
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@ The name of the function that threw the error.
|
|
|
57
57
|
|
|
58
58
|
#### Defined in
|
|
59
59
|
|
|
60
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
60
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:63
|
|
61
61
|
|
|
62
62
|
***
|
|
63
63
|
|
|
@@ -71,7 +71,7 @@ node\_modules/.pnpm/@isdk+common-error@0.1.1/node\_modules/@isdk/common-error/di
|
|
|
71
71
|
|
|
72
72
|
#### Defined in
|
|
73
73
|
|
|
74
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
74
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
75
75
|
|
|
76
76
|
***
|
|
77
77
|
|
|
@@ -87,7 +87,7 @@ the error code
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
90
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:64
|
|
91
91
|
|
|
92
92
|
***
|
|
93
93
|
|
|
@@ -103,7 +103,7 @@ Additional data associated with the error.
|
|
|
103
103
|
|
|
104
104
|
#### Defined in
|
|
105
105
|
|
|
106
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
106
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:65
|
|
107
107
|
|
|
108
108
|
***
|
|
109
109
|
|
|
@@ -117,7 +117,7 @@ node\_modules/.pnpm/@isdk+common-error@0.1.1/node\_modules/@isdk/common-error/di
|
|
|
117
117
|
|
|
118
118
|
#### Defined in
|
|
119
119
|
|
|
120
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
120
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1077
|
|
121
121
|
|
|
122
122
|
***
|
|
123
123
|
|
|
@@ -131,7 +131,7 @@ node\_modules/.pnpm/typescript@5.6.2/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
131
131
|
|
|
132
132
|
#### Defined in
|
|
133
133
|
|
|
134
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
134
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1076
|
|
135
135
|
|
|
136
136
|
***
|
|
137
137
|
|
|
@@ -145,7 +145,7 @@ node\_modules/.pnpm/typescript@5.6.2/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
145
145
|
|
|
146
146
|
#### Defined in
|
|
147
147
|
|
|
148
|
-
node\_modules/.pnpm/typescript@5.6.
|
|
148
|
+
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1078
|
|
149
149
|
|
|
150
150
|
***
|
|
151
151
|
|
|
@@ -161,7 +161,7 @@ The error code associated with the error.
|
|
|
161
161
|
|
|
162
162
|
#### Defined in
|
|
163
163
|
|
|
164
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
164
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:62
|
|
165
165
|
|
|
166
166
|
***
|
|
167
167
|
|
|
@@ -191,7 +191,7 @@ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
|
191
191
|
|
|
192
192
|
#### Defined in
|
|
193
193
|
|
|
194
|
-
node\_modules/.pnpm/@types+node@22.
|
|
194
|
+
node\_modules/.pnpm/@types+node@22.7.6/node\_modules/@types/node/globals.d.ts:143
|
|
195
195
|
|
|
196
196
|
***
|
|
197
197
|
|
|
@@ -205,7 +205,7 @@ node\_modules/.pnpm/@types+node@22.5.5/node\_modules/@types/node/globals.d.ts:14
|
|
|
205
205
|
|
|
206
206
|
#### Defined in
|
|
207
207
|
|
|
208
|
-
node\_modules/.pnpm/@types+node@22.
|
|
208
|
+
node\_modules/.pnpm/@types+node@22.7.6/node\_modules/@types/node/globals.d.ts:145
|
|
209
209
|
|
|
210
210
|
## Methods
|
|
211
211
|
|
|
@@ -233,7 +233,7 @@ A new BaseError instance.
|
|
|
233
233
|
|
|
234
234
|
#### Defined in
|
|
235
235
|
|
|
236
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
236
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:93
|
|
237
237
|
|
|
238
238
|
***
|
|
239
239
|
|
|
@@ -255,7 +255,7 @@ A JSON representation of the error.
|
|
|
255
255
|
|
|
256
256
|
#### Defined in
|
|
257
257
|
|
|
258
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
258
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:86
|
|
259
259
|
|
|
260
260
|
***
|
|
261
261
|
|
|
@@ -281,7 +281,37 @@ Create .stack property on a target object
|
|
|
281
281
|
|
|
282
282
|
#### Defined in
|
|
283
283
|
|
|
284
|
-
node\_modules/.pnpm/@types+node@22.
|
|
284
|
+
node\_modules/.pnpm/@types+node@22.7.6/node\_modules/@types/node/globals.d.ts:136
|
|
285
|
+
|
|
286
|
+
***
|
|
287
|
+
|
|
288
|
+
### create()
|
|
289
|
+
|
|
290
|
+
> `static` **create**(`__namedParameters`): [`CommonError`](CommonError.md)
|
|
291
|
+
|
|
292
|
+
#### Parameters
|
|
293
|
+
|
|
294
|
+
• **\_\_namedParameters**
|
|
295
|
+
|
|
296
|
+
• **\_\_namedParameters.code?**: `string` \| `number`
|
|
297
|
+
|
|
298
|
+
• **\_\_namedParameters.data?**: `any`
|
|
299
|
+
|
|
300
|
+
• **\_\_namedParameters.error**: `string`
|
|
301
|
+
|
|
302
|
+
• **\_\_namedParameters.name?**: `string`
|
|
303
|
+
|
|
304
|
+
#### Returns
|
|
305
|
+
|
|
306
|
+
[`CommonError`](CommonError.md)
|
|
307
|
+
|
|
308
|
+
#### Inherited from
|
|
309
|
+
|
|
310
|
+
[`CommonError`](CommonError.md).[`create`](CommonError.md#create)
|
|
311
|
+
|
|
312
|
+
#### Defined in
|
|
313
|
+
|
|
314
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:96
|
|
285
315
|
|
|
286
316
|
***
|
|
287
317
|
|
|
@@ -315,4 +345,4 @@ the new Error Class
|
|
|
315
345
|
|
|
316
346
|
#### Defined in
|
|
317
347
|
|
|
318
|
-
node\_modules/.pnpm/@isdk+common-error@0.1.
|
|
348
|
+
node\_modules/.pnpm/@isdk+common-error@0.1.3/node\_modules/@isdk/common-error/dist/index.d.ts:66
|