@wshcmx/types 12.1.0 → 13.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/lib/Lock/index.d.ts
CHANGED
|
@@ -9,14 +9,12 @@
|
|
|
9
9
|
* * {@link CallObjectMethodWithLock}()
|
|
10
10
|
*/
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
12
|
-
interface Lock {
|
|
13
|
-
|
|
14
|
-
}
|
|
12
|
+
interface Lock { }
|
|
15
13
|
|
|
16
14
|
interface LockConstructor {
|
|
17
15
|
new(): unknown;
|
|
18
16
|
(): unknown;
|
|
19
17
|
}
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
|
|
22
20
|
declare const Lock: LockConstructor;
|
package/lib/bufstream/index.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
2
|
-
|
|
3
|
-
|
|
4
1
|
/**
|
|
5
2
|
* Конструктор объекта BufStream, позволяющего записывать данные в буфер в памяти как в поток.
|
|
6
3
|
*/
|
|
7
|
-
|
|
4
|
+
type BufStream = Omit<Stream, "ReadLine" | "WriteBinary" | "WriteStr">;
|
|
8
5
|
|
|
9
6
|
interface BufStreamConstructor {
|
|
10
7
|
new(): BufStream;
|
|
11
8
|
}
|
|
12
9
|
|
|
13
|
-
|
|
10
|
+
|
|
14
11
|
declare let BufStream: BufStreamConstructor;
|
package/lib/date/index.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
interface Date {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
new(value?: unknown): Date;
|
|
6
|
-
(value?: unknown): Date;
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-misused-new */
|
|
2
|
+
interface Date {
|
|
3
|
+
new(value?: string): Date;
|
|
4
|
+
new(year: number, month: number, date: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;
|
|
7
5
|
(): Date;
|
|
8
6
|
}
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
declare let Date: DateConstructor;
|
|
8
|
+
declare let Date: Date;
|
|
12
9
|
/** Текущая дата системы время системы. */
|
|
13
10
|
declare let CurDate: Date;
|
package/lib/eslint.config.js
CHANGED
package/lib/function/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
2
|
-
|
|
3
2
|
interface Function { }
|
|
4
3
|
interface FunctionConstructor { }
|
|
5
4
|
|
|
6
5
|
declare interface CallableFunction extends Function { }
|
|
7
6
|
declare interface NewableFunction extends Function { }
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
|
|
10
9
|
declare let Function: FunctionConstructor;
|
package/lib/tsconfig.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "ES5",
|
|
4
3
|
"module": "Preserve",
|
|
5
4
|
"noImplicitAny": true,
|
|
6
5
|
"noImplicitThis": true,
|
|
@@ -10,7 +9,6 @@
|
|
|
10
9
|
"strict": true,
|
|
11
10
|
"noLib": true,
|
|
12
11
|
"noEmit": true,
|
|
13
|
-
"baseUrl": "lib",
|
|
14
12
|
"outDir": "../build"
|
|
15
13
|
},
|
|
16
14
|
"include": [
|
|
@@ -22,7 +22,7 @@ interface MsPersonSdInnerBase {
|
|
|
22
22
|
|
|
23
23
|
interface MsPersonSdBase {
|
|
24
24
|
/** Сотрудник */
|
|
25
|
-
person_id: XmlElem<
|
|
25
|
+
person_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem> & MsPersonSdInnerBase;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
interface MsEventSdInnerBaseSd {
|
|
@@ -37,7 +37,7 @@ interface MsEventSdInnerBase {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
interface MsEventSdBase {
|
|
40
|
-
event_id: XmlElem<
|
|
40
|
+
event_id: XmlElem<number | null, EventCatalogDocumentTopElem> & MsEventSdInnerBase;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
interface MsViewCatalogBase extends ViewConditionsBase {
|
|
@@ -128,7 +128,7 @@ interface WorkflowElemOperationBase {
|
|
|
128
128
|
eval_str: XmlElem<string | null>;
|
|
129
129
|
notification_id: XmlElem<number | null, NotificationCatalogDocumentTopElem>;
|
|
130
130
|
print_form_id: XmlElem<number | null, PrintFormCatalogDocumentTopElem>;
|
|
131
|
-
operation_id: XmlElem<
|
|
131
|
+
operation_id: XmlElem<number | null, OperationCatalogDocumentTopElem> & MsParametersBase;
|
|
132
132
|
remote_action_block: XmlElem<WorkflowElemOperationBaseRemoteActionBlock | null>;
|
|
133
133
|
}
|
|
134
134
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wshcmx/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"directories": {
|
|
6
6
|
"lib": "lib"
|
|
@@ -10,7 +10,8 @@
|
|
|
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"
|
|
13
|
+
"tsc:tests": "tsc -p tests/tsconfig.json",
|
|
14
|
+
"generate:dotnet": "node dotnet/Wshcmx.Types/scripts/index.ts"
|
|
14
15
|
},
|
|
15
16
|
"repository": {
|
|
16
17
|
"type": "git",
|
|
@@ -33,9 +34,9 @@
|
|
|
33
34
|
"homepage": "https://github.com/wshcmx/types#readme",
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@eslint/js": "^10.0.1",
|
|
36
|
-
"eslint": "^10.
|
|
37
|
-
"eslint-plugin-jsdoc": "^
|
|
38
|
-
"typescript": "^
|
|
39
|
-
"typescript-eslint": "^8.
|
|
37
|
+
"eslint": "^10.10.0",
|
|
38
|
+
"eslint-plugin-jsdoc": "^64.4.0",
|
|
39
|
+
"typescript": "^6.0.3",
|
|
40
|
+
"typescript-eslint": "^8.70.0"
|
|
40
41
|
}
|
|
41
42
|
}
|