@contractspec/example.kb-update-pipeline 1.45.0 → 1.45.2
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/.turbo/turbo-build$colon$bundle.log +1 -1
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/entities/models.d.ts +18 -18
- package/dist/events.d.ts +20 -20
- package/package.json +5 -8
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -52,4 +52,4 @@ $ tsdown
|
|
|
52
52
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
53
53
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/kb-update-pipeline.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
54
54
|
[34mℹ[39m 45 files, total: 77.69 kB
|
|
55
|
-
[32m✔[39m Build complete in [
|
|
55
|
+
[32m✔[39m Build complete in [32m23686ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -53,4 +53,4 @@ $ tsdown
|
|
|
53
53
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
54
54
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/kb-update-pipeline.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
55
55
|
[34mℹ[39m 45 files, total: 77.69 kB
|
|
56
|
-
[32m✔[39m Build complete in [
|
|
56
|
+
[32m✔[39m Build complete in [32m22577ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @contractspec/example.kb-update-pipeline
|
|
2
2
|
|
|
3
|
+
## 1.45.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 39ca241: code cleaning
|
|
8
|
+
- Updated dependencies [39ca241]
|
|
9
|
+
- @contractspec/lib.contracts@1.45.2
|
|
10
|
+
- @contractspec/lib.schema@1.45.2
|
|
11
|
+
|
|
12
|
+
## 1.45.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- feat: improve app config and examples contracts
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @contractspec/module.notifications@1.45.1
|
|
19
|
+
- @contractspec/lib.identity-rbac@1.45.1
|
|
20
|
+
- @contractspec/lib.contracts@1.45.1
|
|
21
|
+
- @contractspec/lib.schema@1.45.1
|
|
22
|
+
|
|
3
23
|
## 1.45.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema55 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/models.d.ts
|
|
4
|
-
declare const ChangeRiskLevelEnum:
|
|
5
|
-
declare const ReviewAssignedRoleEnum:
|
|
6
|
-
declare const ReviewDecisionEnum:
|
|
7
|
-
declare const ChangeCandidateModel:
|
|
4
|
+
declare const ChangeRiskLevelEnum: _contractspec_lib_schema55.EnumType<[string, string, string]>;
|
|
5
|
+
declare const ReviewAssignedRoleEnum: _contractspec_lib_schema55.EnumType<[string, string]>;
|
|
6
|
+
declare const ReviewDecisionEnum: _contractspec_lib_schema55.EnumType<[string, string]>;
|
|
7
|
+
declare const ChangeCandidateModel: _contractspec_lib_schema55.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
sourceDocumentId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
detectedAt: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema55.FieldType<Date, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
diffSummary: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
riskLevel: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema55.EnumType<[string, string, string]>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
|
-
declare const ReviewTaskModel:
|
|
29
|
+
declare const ReviewTaskModel: _contractspec_lib_schema55.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
changeCandidateId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
status: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
assignedRole: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema55.EnumType<[string, string]>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
decision: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema55.EnumType<[string, string]>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
decidedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema55.FieldType<Date, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
decidedBy: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema55.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
}>;
|
package/dist/events.d.ts
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_schema36 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const KbChangeDetectedEvent: _contractspec_lib_contracts3.EventSpec<
|
|
5
|
+
declare const KbChangeDetectedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema36.SchemaModel<{
|
|
6
6
|
changeCandidateId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
sourceDocumentId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
riskLevel: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
}>>;
|
|
19
|
-
declare const KbChangeSummarizedEvent: _contractspec_lib_contracts3.EventSpec<
|
|
19
|
+
declare const KbChangeSummarizedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema36.SchemaModel<{
|
|
20
20
|
changeCandidateId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
summary: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
riskLevel: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>>;
|
|
33
|
-
declare const KbPatchProposedEvent: _contractspec_lib_contracts3.EventSpec<
|
|
33
|
+
declare const KbPatchProposedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema36.SchemaModel<{
|
|
34
34
|
changeCandidateId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
proposedRuleVersionIds: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
40
40
|
isArray: true;
|
|
41
41
|
isOptional: false;
|
|
42
42
|
};
|
|
43
43
|
}>>;
|
|
44
|
-
declare const KbReviewRequestedEvent: _contractspec_lib_contracts3.EventSpec<
|
|
44
|
+
declare const KbReviewRequestedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema36.SchemaModel<{
|
|
45
45
|
reviewTaskId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
changeCandidateId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
assignedRole: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
}>>;
|
|
58
|
-
declare const KbReviewDecidedEvent: _contractspec_lib_contracts3.EventSpec<
|
|
58
|
+
declare const KbReviewDecidedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema36.SchemaModel<{
|
|
59
59
|
reviewTaskId: {
|
|
60
|
-
type:
|
|
60
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
decision: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
decidedBy: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema36.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.kb-update-pipeline",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.2",
|
|
4
4
|
"description": "Example: KB update automation pipeline with HITL review and auditability.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,15 +37,12 @@
|
|
|
37
37
|
"test": "bun test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@contractspec/lib.contracts": "1.45.
|
|
41
|
-
"@contractspec/lib.
|
|
42
|
-
"@contractspec/lib.schema": "1.45.0",
|
|
43
|
-
"@contractspec/module.notifications": "1.45.0",
|
|
44
|
-
"zod": "^4.1.13"
|
|
40
|
+
"@contractspec/lib.contracts": "1.45.2",
|
|
41
|
+
"@contractspec/lib.schema": "1.45.2"
|
|
45
42
|
},
|
|
46
43
|
"devDependencies": {
|
|
47
|
-
"@contractspec/tool.tsdown": "1.45.
|
|
48
|
-
"@contractspec/tool.typescript": "1.45.
|
|
44
|
+
"@contractspec/tool.tsdown": "1.45.2",
|
|
45
|
+
"@contractspec/tool.typescript": "1.45.2",
|
|
49
46
|
"tsdown": "^0.18.3",
|
|
50
47
|
"typescript": "^5.9.3"
|
|
51
48
|
},
|