dolphindb 3.0.101 → 3.0.103
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/browser.d.ts +1 -1
- package/docs.d.ts +13 -13
- package/docs.en.json +7576 -7086
- package/docs.js +65 -44
- package/docs.js.map +1 -1
- package/docs.zh.json +5519 -4382
- package/index.d.ts +1 -1
- package/language.d.ts +1 -1
- package/language.js +14 -0
- package/language.js.map +1 -1
- package/package.json +4 -4
package/browser.d.ts
CHANGED
|
@@ -411,7 +411,7 @@ export interface ConvertOptions {
|
|
|
411
411
|
/** timestamp 类型转换为字符串表示时显示到秒还是毫秒 */
|
|
412
412
|
timestamp?: 's' | 'ms';
|
|
413
413
|
}
|
|
414
|
-
export declare function convert(type: DdbType, value: DdbValue, le: boolean, { blob, timestamp }?: ConvertOptions): string | number | bigint | boolean | Uint8Array |
|
|
414
|
+
export declare function convert(type: DdbType, value: DdbValue, le: boolean, { blob, timestamp }?: ConvertOptions): string | number | bigint | boolean | Uint8Array | DdbFunctionDefValue | DdbDurationValue | DdbDecimal32Value | DdbDecimal64Value | DdbDecimal32VectorValue | Int32Array | DdbDecimal64VectorValue | BigInt64Array | DdbDecimal128VectorValue | BigInt128Array | DdbSymbolExtendedValue | string[] | Int8Array | Int16Array | Float32Array | Float64Array | DdbArrayVectorValue | DdbMatrixValue | Uint8Array[] | DdbObj<DdbValue>[] | DdbDurationVectorValue | number[] | DdbTensorValue | DdbChartValue;
|
|
415
415
|
/** 转换一个向量到 js 原生数组 */
|
|
416
416
|
export declare function converts(type: DdbType, value: DdbVectorValue, rows: number, le: boolean, options?: ConvertOptions): any[];
|
|
417
417
|
export declare class DdbVoid extends DdbObj<undefined> {
|
package/docs.d.ts
CHANGED
|
@@ -17,27 +17,27 @@ export interface Doc {
|
|
|
17
17
|
markdown: string;
|
|
18
18
|
}
|
|
19
19
|
export type Docs = Record<string, Doc>;
|
|
20
|
-
export declare class
|
|
20
|
+
export declare class DocsProvider {
|
|
21
21
|
/** 文档原始信息 */
|
|
22
22
|
docs?: Docs;
|
|
23
23
|
/** 函数名列表 */
|
|
24
|
-
|
|
24
|
+
functions: string[];
|
|
25
25
|
/** 转化成小写字母的函数名列表 */
|
|
26
|
-
|
|
26
|
+
functions_lower: string[];
|
|
27
|
+
constants_lower: string[];
|
|
28
|
+
/** - docs: docs.zh.json 等文件对应的文档对象 */
|
|
27
29
|
constructor(docs: Docs);
|
|
28
30
|
get_function_markdown(name: string): string;
|
|
29
31
|
get_signatures(name: string): FunctionSignature[];
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
@returns */
|
|
33
|
-
search_completion_items(query: string): {
|
|
32
|
+
/** 根据用户输入提供补全列表,返回匹配的关键字、常量和函数 */
|
|
33
|
+
complete(query: string): {
|
|
34
34
|
keywords: string[];
|
|
35
|
-
constants:
|
|
35
|
+
constants: string[];
|
|
36
36
|
functions: string[];
|
|
37
37
|
};
|
|
38
|
+
get_signature_help(text: string): {
|
|
39
|
+
signature: FunctionSignature;
|
|
40
|
+
active_parameter: number;
|
|
41
|
+
documentation_md: string;
|
|
42
|
+
};
|
|
38
43
|
}
|
|
39
|
-
export declare function parse_signature_help_from_text(text: string, docsAnalyser: DocsAnalyser): {
|
|
40
|
-
signature: FunctionSignature;
|
|
41
|
-
active_parameter: number;
|
|
42
|
-
documentation_md: string;
|
|
43
|
-
};
|