dolphindb 3.0.34 → 3.0.36
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/docs.d.ts +4 -6
- package/docs.en.json +8980 -8990
- package/docs.js +1 -12
- package/docs.js.map +1 -1
- package/docs.zh.json +6416 -6458
- package/package.json +3 -3
package/docs.d.ts
CHANGED
|
@@ -8,15 +8,15 @@ export interface FunctionSignature {
|
|
|
8
8
|
default?: string;
|
|
9
9
|
}[];
|
|
10
10
|
}
|
|
11
|
-
export interface
|
|
11
|
+
export interface Doc {
|
|
12
12
|
/** 文档的公网链接 */
|
|
13
|
-
|
|
13
|
+
url: string;
|
|
14
14
|
/** 部分函数存在多个签名,例如 append! 和 x.append!, eachPre 和 func:P 这两组,最好在分析阶段就处理好 */
|
|
15
15
|
signatures: FunctionSignature[] | null;
|
|
16
16
|
/** 文档内容 */
|
|
17
17
|
markdown: string;
|
|
18
18
|
}
|
|
19
|
-
type Docs = Record<string,
|
|
19
|
+
export type Docs = Record<string, Doc>;
|
|
20
20
|
export declare class DocsAnalyser {
|
|
21
21
|
/** 文档原始信息 */
|
|
22
22
|
docs?: Docs;
|
|
@@ -24,8 +24,7 @@ export declare class DocsAnalyser {
|
|
|
24
24
|
funcs: string[];
|
|
25
25
|
/** 转化成小写字母的函数名列表 */
|
|
26
26
|
lower_funcs: string[];
|
|
27
|
-
|
|
28
|
-
load_docs_async(provider: string | (() => Promise<Docs>)): Promise<void>;
|
|
27
|
+
constructor(docs: Docs);
|
|
29
28
|
get_function_markdown(name: string): string;
|
|
30
29
|
get_signatures(name: string): FunctionSignature[];
|
|
31
30
|
/** 查询补全项(包括关键字、常量和函数)
|
|
@@ -42,4 +41,3 @@ export declare function parse_signature_help_from_text(text: string, docsAnalyse
|
|
|
42
41
|
active_parameter: number;
|
|
43
42
|
documentation_md: string;
|
|
44
43
|
};
|
|
45
|
-
export {};
|