jsegd-fluig-types 1.0.17 → 1.0.19
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/README.md +1 -1
- package/fluig.dataset.d.ts +4 -9
- package/package.json +51 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# jsegd-fluig-types
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|

|
|
5
5
|
|
|
6
6
|
Pacote de tipos TypeScript para desenvolvimento com a plataforma Fluig. Este pacote fornece tipagens completas para APIs do Fluig, facilitando o desenvolvimento tanto no frontend quanto no backend, incluindo suporte para webservices e implementações duais de DatasetFactory.
|
package/fluig.dataset.d.ts
CHANGED
|
@@ -6,12 +6,6 @@ declare enum DatasetFieldType {
|
|
|
6
6
|
TEXT = "TEXT",
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
declare enum Status {
|
|
10
|
-
SUCCESS = "SUCCESS",
|
|
11
|
-
ERROR = "ERROR",
|
|
12
|
-
WARNING = "WARNING",
|
|
13
|
-
FAIL = "FAIL",
|
|
14
|
-
}
|
|
15
9
|
declare global {
|
|
16
10
|
enum ConstraintType {
|
|
17
11
|
MUST = 1,
|
|
@@ -38,14 +32,15 @@ declare global {
|
|
|
38
32
|
interface ErrorDetail {
|
|
39
33
|
code: string;
|
|
40
34
|
message: string;
|
|
41
|
-
|
|
35
|
+
type?: "validation" | "business" | "system" | "network" | "auth";
|
|
36
|
+
details?: string;
|
|
42
37
|
}
|
|
43
38
|
interface DatasetResponse {
|
|
44
|
-
status:
|
|
45
|
-
code: number;
|
|
39
|
+
status: number;
|
|
46
40
|
message: string;
|
|
47
41
|
data?: unknown;
|
|
48
42
|
errors?: ErrorDetail[];
|
|
43
|
+
timestamp?: string;
|
|
49
44
|
}
|
|
50
45
|
|
|
51
46
|
interface DatasetWcmResult<T = unknown> {
|
package/package.json
CHANGED
|
@@ -1,11 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsegd-fluig-types",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.19",
|
|
4
|
+
"description": "Definições de tipos TypeScript para desenvolvimento na plataforma Fluig - Inclui APIs, SDK, datasets, workflows e webservices",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"fluig",
|
|
7
|
+
"typescript",
|
|
8
|
+
"types",
|
|
9
|
+
"definitions",
|
|
10
|
+
"totvs",
|
|
11
|
+
"workflow",
|
|
12
|
+
"dataset",
|
|
13
|
+
"sdk",
|
|
14
|
+
"api"
|
|
15
|
+
],
|
|
5
16
|
"license": "CC-BY-NC-ND-4.0",
|
|
6
|
-
"author":
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "Elemar Deckmann",
|
|
19
|
+
"url": "https://www.egd.tec.br/"
|
|
20
|
+
},
|
|
7
21
|
"homepage": "https://www.egd.tec.br/",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/egd-tecnologia/jsegd-fluig-types.git"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/egd-tecnologia/jsegd-fluig-types/issues"
|
|
28
|
+
},
|
|
29
|
+
"main": "index.d.ts",
|
|
8
30
|
"types": "index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": "./index.d.ts",
|
|
33
|
+
"./backend": "./fluig.backend.d.ts",
|
|
34
|
+
"./frontend": "./fluig.frontend.d.ts",
|
|
35
|
+
"./sdk": "./fluig.sdk.d.ts",
|
|
36
|
+
"./webservice": "./fluig.webservice.d.ts",
|
|
37
|
+
"./dataset": "./fluig.dataset.d.ts",
|
|
38
|
+
"./java": "./java.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"typesVersions": {
|
|
41
|
+
">=3.0": {
|
|
42
|
+
"*": [
|
|
43
|
+
"*"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=12.0.0"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"test": "echo \"No tests needed for type definitions\" && exit 0",
|
|
52
|
+
"prepublishOnly": "echo \"Publishing jsegd-fluig-types v$npm_package_version\""
|
|
53
|
+
},
|
|
9
54
|
"files": [
|
|
10
55
|
"index.d.ts",
|
|
11
56
|
"fluig.sdk.d.ts",
|
|
@@ -13,6 +58,7 @@
|
|
|
13
58
|
"fluig.backend.d.ts",
|
|
14
59
|
"fluig.webservice.d.ts",
|
|
15
60
|
"fluig.dataset.d.ts",
|
|
16
|
-
"java.d.ts"
|
|
61
|
+
"java.d.ts",
|
|
62
|
+
"README.md"
|
|
17
63
|
]
|
|
18
|
-
}
|
|
64
|
+
}
|