@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 CHANGED
@@ -7,6 +7,3 @@
7
7
 
8
8
  ## Минорная версия
9
9
  Является обычным регулярным релизом, содержащим набор изменений, которые были накоплены с предыдущего релиза.
10
-
11
- ## Патч версия
12
- Версионирование в рамках PR
@@ -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;
@@ -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
  }
@@ -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 : boolean;
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: Object): unknown;
414
+ function get_default_lng_web(user: CollaboratorDocumentTopElem | number): IUiLng["items"];
415
415
 
416
416
  function get_profiling_statistic_rec_id(): unknown;
417
417
 
@@ -0,0 +1,3 @@
1
+ declare const lngs: XmlElem<{
2
+ lng: XmlMultiElem<IUiLng>;
3
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wshcmx/types",
3
- "version": "12.0.0",
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": "^9.22.0",
37
- "eslint-plugin-jsdoc": "^50.6.6",
38
- "husky": "^9.1.7",
39
- "typescript": "^5.8.2",
40
- "typescript-eslint": "^8.26.1"
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
  }