@wshcmx/types 12.0.0 → 12.1.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/VERSIONING.md +0 -3
- package/lib/object/index.d.ts +7 -1
- package/lib/stream/index.d.ts +2 -0
- package/lib/tools_web/index.d.ts +2 -2
- package/lib/xml/lngs/index.d.ts +3 -0
- package/package.json +7 -8
package/VERSIONING.md
CHANGED
package/lib/object/index.d.ts
CHANGED
|
@@ -29,6 +29,12 @@ interface Object {
|
|
|
29
29
|
*/
|
|
30
30
|
AddProperty(key: string | number, name: unknown): void;
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Удаляет в объект новый атрибут.
|
|
34
|
+
* @param {string} key - Наименование атрибута.
|
|
35
|
+
*/
|
|
36
|
+
DeleteOptProperty(key: string): void;
|
|
37
|
+
|
|
32
38
|
/**
|
|
33
39
|
* Возвращает значение атрибута объекта. Если атрубут отсутствует, выдает undefined.
|
|
34
40
|
* @param {string} key - Наименование атрибута объекта.
|
|
@@ -70,5 +76,5 @@ interface ObjectConstructor {
|
|
|
70
76
|
(): Object;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
|
-
|
|
79
|
+
|
|
74
80
|
declare const Object: ObjectConstructor;
|
package/lib/stream/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ interface Stream {
|
|
|
31
31
|
* @param filePath - Путь к файлу (или url).
|
|
32
32
|
* @returns {FileStream}
|
|
33
33
|
* @example
|
|
34
|
+
* ```
|
|
34
35
|
* fileStream = new FileStream( 'C:\\Temp\\xxx.txt' );
|
|
35
36
|
* while ( true )
|
|
36
37
|
* {
|
|
@@ -38,6 +39,7 @@ interface Stream {
|
|
|
38
39
|
* if ( str == undefined )
|
|
39
40
|
* break;
|
|
40
41
|
* }
|
|
42
|
+
* ```
|
|
41
43
|
*/
|
|
42
44
|
FileStream(filePath: string): FileStream;
|
|
43
45
|
}
|
package/lib/tools_web/index.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ declare namespace tools_web {
|
|
|
165
165
|
view_type: string;
|
|
166
166
|
external_eval: string;
|
|
167
167
|
check_access: boolean;
|
|
168
|
-
open_doc
|
|
168
|
+
open_doc: boolean;
|
|
169
169
|
disp_array: boolean;
|
|
170
170
|
array: string;
|
|
171
171
|
array_selected: string;
|
|
@@ -411,7 +411,7 @@ declare namespace tools_web {
|
|
|
411
411
|
|
|
412
412
|
function get_cur_env_url(env: unknown): unknown;
|
|
413
413
|
|
|
414
|
-
function get_default_lng_web(user:
|
|
414
|
+
function get_default_lng_web(user: CollaboratorDocumentTopElem | number): IUiLng["items"];
|
|
415
415
|
|
|
416
416
|
function get_profiling_statistic_rec_id(): unknown;
|
|
417
417
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wshcmx/types",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"directories": {
|
|
6
6
|
"lib": "lib"
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"lint:lib": "eslint -c ./lib/eslint.config.js lib",
|
|
11
11
|
"lint:tests": "eslint -c ./tests/eslint.config.js tests",
|
|
12
12
|
"tsc:lib": "tsc -p lib/tsconfig.json",
|
|
13
|
-
"tsc:tests": "tsc -p tests/tsconfig.json"
|
|
14
|
-
"prepare": "husky"
|
|
13
|
+
"tsc:tests": "tsc -p tests/tsconfig.json"
|
|
15
14
|
},
|
|
16
15
|
"repository": {
|
|
17
16
|
"type": "git",
|
|
@@ -33,10 +32,10 @@
|
|
|
33
32
|
},
|
|
34
33
|
"homepage": "https://github.com/wshcmx/types#readme",
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"eslint": "^
|
|
37
|
-
"eslint
|
|
38
|
-
"
|
|
39
|
-
"typescript": "^5.
|
|
40
|
-
"typescript-eslint": "^8.
|
|
35
|
+
"@eslint/js": "^10.0.1",
|
|
36
|
+
"eslint": "^10.1.0",
|
|
37
|
+
"eslint-plugin-jsdoc": "^62.8.0",
|
|
38
|
+
"typescript": "^5.9.3",
|
|
39
|
+
"typescript-eslint": "^8.57.1"
|
|
41
40
|
}
|
|
42
41
|
}
|