@contractspec/example.kb-update-pipeline 1.62.0 → 2.0.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/.turbo/turbo-build.log +26 -26
- package/CHANGELOG.md +59 -45
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/docs/kb-update-pipeline.docblock.js +1 -1
- package/dist/browser/events.js +2 -6
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +10 -11
- package/dist/browser/kb-update-pipeline.feature.js +1 -1
- package/dist/browser/operations/index.js +1 -1
- package/dist/browser/operations/pipeline.js +1 -1
- package/dist/browser/presentations.js +4 -1
- package/dist/browser/tests/operations.test-spec.js +1 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/kb-update-pipeline.docblock.d.ts +0 -1
- package/dist/docs/kb-update-pipeline.docblock.js +1 -1
- package/dist/entities/index.d.ts +0 -1
- package/dist/entities/models.d.ts +0 -1
- package/dist/events.d.ts +5 -6
- package/dist/events.js +2 -6
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/handlers/index.d.ts +0 -1
- package/dist/handlers/memory.handlers.d.ts +0 -1
- package/dist/handlers/memory.handlers.test.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10 -11
- package/dist/kb-update-pipeline.feature.d.ts +1 -2
- package/dist/kb-update-pipeline.feature.js +1 -1
- package/dist/node/docs/index.js +1 -1
- package/dist/node/docs/kb-update-pipeline.docblock.js +1 -1
- package/dist/node/events.js +2 -6
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +10 -11
- package/dist/node/kb-update-pipeline.feature.js +1 -1
- package/dist/node/operations/index.js +1 -1
- package/dist/node/operations/pipeline.js +1 -1
- package/dist/node/presentations.js +4 -1
- package/dist/node/tests/operations.test-spec.js +1 -1
- package/dist/operations/index.d.ts +0 -1
- package/dist/operations/index.js +1 -1
- package/dist/operations/pipeline.d.ts +4 -5
- package/dist/operations/pipeline.js +1 -1
- package/dist/presentations.d.ts +3 -4
- package/dist/presentations.js +4 -1
- package/dist/tests/operations.test-spec.d.ts +3 -4
- package/dist/tests/operations.test-spec.js +1 -1
- package/package.json +5 -5
- package/src/docs/kb-update-pipeline.docblock.ts +2 -2
- package/src/events.ts +2 -6
- package/src/example.ts +1 -1
- package/src/kb-update-pipeline.feature.ts +1 -1
- package/src/operations/pipeline.ts +1 -1
- package/src/presentations.ts +4 -1
- package/src/tests/operations.test-spec.ts +1 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/kb-update-pipeline.docblock.d.ts.map +0 -1
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/models.d.ts.map +0 -1
- package/dist/events.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/handlers/index.d.ts.map +0 -1
- package/dist/handlers/memory.handlers.d.ts.map +0 -1
- package/dist/handlers/memory.handlers.test.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/kb-update-pipeline.feature.d.ts.map +0 -1
- package/dist/operations/index.d.ts.map +0 -1
- package/dist/operations/pipeline.d.ts.map +0 -1
- package/dist/presentations.d.ts.map +0 -1
- package/dist/tests/operations.test-spec.d.ts.map +0 -1
package/dist/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const KbChangeDetectedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
1
|
+
export declare const KbChangeDetectedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
2
2
|
changeCandidateId: {
|
|
3
3
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
4
4
|
isOptional: false;
|
|
@@ -12,7 +12,7 @@ export declare const KbChangeDetectedEvent: import("@contractspec/lib.contracts"
|
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
}>>;
|
|
15
|
-
export declare const KbChangeSummarizedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
15
|
+
export declare const KbChangeSummarizedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
16
16
|
changeCandidateId: {
|
|
17
17
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
@@ -26,7 +26,7 @@ export declare const KbChangeSummarizedEvent: import("@contractspec/lib.contract
|
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
}>>;
|
|
29
|
-
export declare const KbPatchProposedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
29
|
+
export declare const KbPatchProposedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
30
30
|
changeCandidateId: {
|
|
31
31
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
@@ -37,7 +37,7 @@ export declare const KbPatchProposedEvent: import("@contractspec/lib.contracts")
|
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
}>>;
|
|
40
|
-
export declare const KbReviewRequestedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
40
|
+
export declare const KbReviewRequestedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
41
41
|
reviewTaskId: {
|
|
42
42
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
@@ -51,7 +51,7 @@ export declare const KbReviewRequestedEvent: import("@contractspec/lib.contracts
|
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
}>>;
|
|
54
|
-
export declare const KbReviewDecidedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
54
|
+
export declare const KbReviewDecidedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
55
55
|
reviewTaskId: {
|
|
56
56
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
57
57
|
isOptional: false;
|
|
@@ -65,4 +65,3 @@ export declare const KbReviewDecidedEvent: import("@contractspec/lib.contracts")
|
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
}>>;
|
|
68
|
-
//# sourceMappingURL=events.d.ts.map
|
package/dist/events.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/events.ts
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
defineSchemaModel,
|
|
6
|
-
StabilityEnum
|
|
7
|
-
} from "@contractspec/lib.contracts";
|
|
8
|
-
import { ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
+
import { defineEvent, StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
9
5
|
var KbChangeDetectedPayload = defineSchemaModel({
|
|
10
6
|
name: "KbChangeDetectedPayload",
|
|
11
7
|
description: "Emitted when a source change is detected.",
|
package/dist/example.d.ts
CHANGED
package/dist/example.js
CHANGED
package/dist/handlers/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/docs/kb-update-pipeline.docblock.ts
|
|
3
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
3
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
4
4
|
var docBlocks = [
|
|
5
5
|
{
|
|
6
6
|
id: "docs.examples.kb-update-pipeline.goal",
|
|
@@ -92,12 +92,8 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
// src/events.ts
|
|
95
|
-
import {
|
|
96
|
-
|
|
97
|
-
defineSchemaModel as defineSchemaModel2,
|
|
98
|
-
StabilityEnum
|
|
99
|
-
} from "@contractspec/lib.contracts";
|
|
100
|
-
import { ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
95
|
+
import { defineEvent, StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
96
|
+
import { ScalarTypeEnum as ScalarTypeEnum2, defineSchemaModel as defineSchemaModel2 } from "@contractspec/lib.schema";
|
|
101
97
|
var KbChangeDetectedPayload = defineSchemaModel2({
|
|
102
98
|
name: "KbChangeDetectedPayload",
|
|
103
99
|
description: "Emitted when a source change is detected.",
|
|
@@ -218,7 +214,7 @@ var KbReviewDecidedEvent = defineEvent({
|
|
|
218
214
|
});
|
|
219
215
|
|
|
220
216
|
// src/example.ts
|
|
221
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
217
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
222
218
|
var example = defineExample({
|
|
223
219
|
meta: {
|
|
224
220
|
key: "kb-update-pipeline",
|
|
@@ -356,7 +352,7 @@ function createPipelineMemoryHandlers(store) {
|
|
|
356
352
|
};
|
|
357
353
|
}
|
|
358
354
|
// src/operations/pipeline.ts
|
|
359
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
355
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
360
356
|
import { ScalarTypeEnum as ScalarTypeEnum3, defineSchemaModel as defineSchemaModel3 } from "@contractspec/lib.schema";
|
|
361
357
|
var RunWatchInput = defineSchemaModel3({
|
|
362
358
|
name: "KbPipelineRunWatchInput",
|
|
@@ -499,7 +495,7 @@ var KbPipelinePublishIfReadyContract = defineCommand({
|
|
|
499
495
|
policy: { auth: "user" }
|
|
500
496
|
});
|
|
501
497
|
// src/kb-update-pipeline.feature.ts
|
|
502
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
498
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
503
499
|
var KbUpdatePipelineFeature = defineFeature({
|
|
504
500
|
meta: {
|
|
505
501
|
key: "kb-update-pipeline",
|
|
@@ -558,7 +554,10 @@ var KbUpdatePipelineFeature = defineFeature({
|
|
|
558
554
|
});
|
|
559
555
|
|
|
560
556
|
// src/presentations.ts
|
|
561
|
-
import {
|
|
557
|
+
import {
|
|
558
|
+
definePresentation,
|
|
559
|
+
StabilityEnum as StabilityEnum2
|
|
560
|
+
} from "@contractspec/lib.contracts-spec";
|
|
562
561
|
var KbDashboardPresentation = definePresentation({
|
|
563
562
|
meta: {
|
|
564
563
|
key: "kb.dashboard",
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const KbUpdatePipelineFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
2
|
-
//# sourceMappingURL=kb-update-pipeline.feature.d.ts.map
|
|
1
|
+
export declare const KbUpdatePipelineFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
package/dist/node/docs/index.js
CHANGED
package/dist/node/events.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
defineSchemaModel,
|
|
5
|
-
StabilityEnum
|
|
6
|
-
} from "@contractspec/lib.contracts";
|
|
7
|
-
import { ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
2
|
+
import { defineEvent, StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
8
4
|
var KbChangeDetectedPayload = defineSchemaModel({
|
|
9
5
|
name: "KbChangeDetectedPayload",
|
|
10
6
|
description: "Emitted when a source change is detected.",
|
package/dist/node/example.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/docs/kb-update-pipeline.docblock.ts
|
|
2
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
2
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
3
|
var docBlocks = [
|
|
4
4
|
{
|
|
5
5
|
id: "docs.examples.kb-update-pipeline.goal",
|
|
@@ -91,12 +91,8 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
// src/events.ts
|
|
94
|
-
import {
|
|
95
|
-
|
|
96
|
-
defineSchemaModel as defineSchemaModel2,
|
|
97
|
-
StabilityEnum
|
|
98
|
-
} from "@contractspec/lib.contracts";
|
|
99
|
-
import { ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
94
|
+
import { defineEvent, StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
95
|
+
import { ScalarTypeEnum as ScalarTypeEnum2, defineSchemaModel as defineSchemaModel2 } from "@contractspec/lib.schema";
|
|
100
96
|
var KbChangeDetectedPayload = defineSchemaModel2({
|
|
101
97
|
name: "KbChangeDetectedPayload",
|
|
102
98
|
description: "Emitted when a source change is detected.",
|
|
@@ -217,7 +213,7 @@ var KbReviewDecidedEvent = defineEvent({
|
|
|
217
213
|
});
|
|
218
214
|
|
|
219
215
|
// src/example.ts
|
|
220
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
216
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
221
217
|
var example = defineExample({
|
|
222
218
|
meta: {
|
|
223
219
|
key: "kb-update-pipeline",
|
|
@@ -355,7 +351,7 @@ function createPipelineMemoryHandlers(store) {
|
|
|
355
351
|
};
|
|
356
352
|
}
|
|
357
353
|
// src/operations/pipeline.ts
|
|
358
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
354
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
359
355
|
import { ScalarTypeEnum as ScalarTypeEnum3, defineSchemaModel as defineSchemaModel3 } from "@contractspec/lib.schema";
|
|
360
356
|
var RunWatchInput = defineSchemaModel3({
|
|
361
357
|
name: "KbPipelineRunWatchInput",
|
|
@@ -498,7 +494,7 @@ var KbPipelinePublishIfReadyContract = defineCommand({
|
|
|
498
494
|
policy: { auth: "user" }
|
|
499
495
|
});
|
|
500
496
|
// src/kb-update-pipeline.feature.ts
|
|
501
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
497
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
502
498
|
var KbUpdatePipelineFeature = defineFeature({
|
|
503
499
|
meta: {
|
|
504
500
|
key: "kb-update-pipeline",
|
|
@@ -557,7 +553,10 @@ var KbUpdatePipelineFeature = defineFeature({
|
|
|
557
553
|
});
|
|
558
554
|
|
|
559
555
|
// src/presentations.ts
|
|
560
|
-
import {
|
|
556
|
+
import {
|
|
557
|
+
definePresentation,
|
|
558
|
+
StabilityEnum as StabilityEnum2
|
|
559
|
+
} from "@contractspec/lib.contracts-spec";
|
|
561
560
|
var KbDashboardPresentation = definePresentation({
|
|
562
561
|
meta: {
|
|
563
562
|
key: "kb.dashboard",
|
|
@@ -49,7 +49,7 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
// src/operations/pipeline.ts
|
|
52
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
52
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
53
53
|
import { ScalarTypeEnum as ScalarTypeEnum2, defineSchemaModel as defineSchemaModel2 } from "@contractspec/lib.schema";
|
|
54
54
|
var RunWatchInput = defineSchemaModel2({
|
|
55
55
|
name: "KbPipelineRunWatchInput",
|
|
@@ -49,7 +49,7 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
// src/operations/pipeline.ts
|
|
52
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
52
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
53
53
|
import { ScalarTypeEnum as ScalarTypeEnum2, defineSchemaModel as defineSchemaModel2 } from "@contractspec/lib.schema";
|
|
54
54
|
var RunWatchInput = defineSchemaModel2({
|
|
55
55
|
name: "KbPipelineRunWatchInput",
|
|
@@ -49,7 +49,10 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
// src/presentations.ts
|
|
52
|
-
import {
|
|
52
|
+
import {
|
|
53
|
+
definePresentation,
|
|
54
|
+
StabilityEnum
|
|
55
|
+
} from "@contractspec/lib.contracts-spec";
|
|
53
56
|
var KbDashboardPresentation = definePresentation({
|
|
54
57
|
meta: {
|
|
55
58
|
key: "kb.dashboard",
|
package/dist/operations/index.js
CHANGED
|
@@ -50,7 +50,7 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
// src/operations/pipeline.ts
|
|
53
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
53
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
54
54
|
import { ScalarTypeEnum as ScalarTypeEnum2, defineSchemaModel as defineSchemaModel2 } from "@contractspec/lib.schema";
|
|
55
55
|
var RunWatchInput = defineSchemaModel2({
|
|
56
56
|
name: "KbPipelineRunWatchInput",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const KbPipelineRunWatchContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
1
|
+
export declare const KbPipelineRunWatchContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
2
2
|
jurisdiction: {
|
|
3
3
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
4
4
|
isOptional: false;
|
|
@@ -31,7 +31,7 @@ export declare const KbPipelineRunWatchContract: import("@contractspec/lib.contr
|
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
}>, undefined>;
|
|
34
|
-
export declare const KbPipelineCreateReviewTaskContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
34
|
+
export declare const KbPipelineCreateReviewTaskContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
35
35
|
changeCandidateId: {
|
|
36
36
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
@@ -66,7 +66,7 @@ export declare const KbPipelineCreateReviewTaskContract: import("@contractspec/l
|
|
|
66
66
|
isOptional: true;
|
|
67
67
|
};
|
|
68
68
|
}>, undefined>;
|
|
69
|
-
export declare const KbPipelineSubmitDecisionContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
69
|
+
export declare const KbPipelineSubmitDecisionContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
70
70
|
reviewTaskId: {
|
|
71
71
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
@@ -113,7 +113,7 @@ export declare const KbPipelineSubmitDecisionContract: import("@contractspec/lib
|
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
}>, undefined>;
|
|
116
|
-
export declare const KbPipelinePublishIfReadyContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
116
|
+
export declare const KbPipelinePublishIfReadyContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
117
117
|
jurisdiction: {
|
|
118
118
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
@@ -128,4 +128,3 @@ export declare const KbPipelinePublishIfReadyContract: import("@contractspec/lib
|
|
|
128
128
|
isOptional: true;
|
|
129
129
|
};
|
|
130
130
|
}>, undefined>;
|
|
131
|
-
//# sourceMappingURL=pipeline.d.ts.map
|
|
@@ -50,7 +50,7 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
// src/operations/pipeline.ts
|
|
53
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
53
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
54
54
|
import { ScalarTypeEnum as ScalarTypeEnum2, defineSchemaModel as defineSchemaModel2 } from "@contractspec/lib.schema";
|
|
55
55
|
var RunWatchInput = defineSchemaModel2({
|
|
56
56
|
name: "KbPipelineRunWatchInput",
|
package/dist/presentations.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const KbDashboardPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
2
|
-
export declare const KbReviewListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
3
|
-
export declare const KbReviewFormPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
4
|
-
//# sourceMappingURL=presentations.d.ts.map
|
|
1
|
+
export declare const KbDashboardPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
2
|
+
export declare const KbReviewListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
3
|
+
export declare const KbReviewFormPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
package/dist/presentations.js
CHANGED
|
@@ -50,7 +50,10 @@ var ReviewTaskModel = defineSchemaModel({
|
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
// src/presentations.ts
|
|
53
|
-
import {
|
|
53
|
+
import {
|
|
54
|
+
definePresentation,
|
|
55
|
+
StabilityEnum
|
|
56
|
+
} from "@contractspec/lib.contracts-spec";
|
|
54
57
|
var KbDashboardPresentation = definePresentation({
|
|
55
58
|
meta: {
|
|
56
59
|
key: "kb.dashboard",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const RunWatchTest: import("@contractspec/lib.contracts").TestSpec;
|
|
2
|
-
export declare const CreateReviewTaskTest: import("@contractspec/lib.contracts").TestSpec;
|
|
3
|
-
export declare const SubmitDecisionTest: import("@contractspec/lib.contracts").TestSpec;
|
|
4
|
-
//# sourceMappingURL=operations.test-spec.d.ts.map
|
|
1
|
+
export declare const RunWatchTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|
|
2
|
+
export declare const CreateReviewTaskTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|
|
3
|
+
export declare const SubmitDecisionTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/tests/operations.test-spec.ts
|
|
3
|
-
import { defineTestSpec } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineTestSpec } from "@contractspec/lib.contracts-spec/tests";
|
|
4
4
|
var RunWatchTest = defineTestSpec({
|
|
5
5
|
meta: {
|
|
6
6
|
key: "kbPipeline.runWatch.test",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.kb-update-pipeline",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Example: KB update automation pipeline with HITL review and auditability.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -148,13 +148,13 @@
|
|
|
148
148
|
"typecheck": "tsc --noEmit"
|
|
149
149
|
},
|
|
150
150
|
"dependencies": {
|
|
151
|
-
"@contractspec/lib.contracts": "
|
|
152
|
-
"@contractspec/lib.schema": "
|
|
151
|
+
"@contractspec/lib.contracts-spec": "2.0.0",
|
|
152
|
+
"@contractspec/lib.schema": "2.0.0"
|
|
153
153
|
},
|
|
154
154
|
"devDependencies": {
|
|
155
|
-
"@contractspec/tool.typescript": "
|
|
155
|
+
"@contractspec/tool.typescript": "2.0.0",
|
|
156
156
|
"typescript": "^5.9.3",
|
|
157
|
-
"@contractspec/tool.bun": "
|
|
157
|
+
"@contractspec/tool.bun": "2.0.0"
|
|
158
158
|
},
|
|
159
159
|
"publishConfig": {
|
|
160
160
|
"access": "public",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DocBlock } from '@contractspec/lib.contracts/docs';
|
|
2
|
-
import { registerDocBlocks } from '@contractspec/lib.contracts/docs';
|
|
1
|
+
import type { DocBlock } from '@contractspec/lib.contracts-spec/docs';
|
|
2
|
+
import { registerDocBlocks } from '@contractspec/lib.contracts-spec/docs';
|
|
3
3
|
|
|
4
4
|
const docBlocks: DocBlock[] = [
|
|
5
5
|
{
|
package/src/events.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
defineSchemaModel,
|
|
4
|
-
StabilityEnum,
|
|
5
|
-
} from '@contractspec/lib.contracts';
|
|
6
|
-
import { ScalarTypeEnum } from '@contractspec/lib.schema';
|
|
1
|
+
import { defineEvent, StabilityEnum } from '@contractspec/lib.contracts-spec';
|
|
2
|
+
import { ScalarTypeEnum, defineSchemaModel } from '@contractspec/lib.schema';
|
|
7
3
|
|
|
8
4
|
const KbChangeDetectedPayload = defineSchemaModel({
|
|
9
5
|
name: 'KbChangeDetectedPayload',
|
package/src/example.ts
CHANGED
package/src/presentations.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
definePresentation,
|
|
3
|
+
StabilityEnum,
|
|
4
|
+
} from '@contractspec/lib.contracts-spec';
|
|
2
5
|
import { ChangeCandidateModel, ReviewTaskModel } from './entities/models';
|
|
3
6
|
|
|
4
7
|
export const KbDashboardPresentation = definePresentation({
|
package/dist/docs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kb-update-pipeline.docblock.d.ts","sourceRoot":"","sources":["../../src/docs/kb-update-pipeline.docblock.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/entities/models.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB,uEAI9B,CAAC;AAEH,eAAO,MAAM,sBAAsB,+DAGjC,CAAC;AAEH,eAAO,MAAM,kBAAkB,+DAG7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;EAa/B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe1B,CAAC"}
|
package/dist/events.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;GAUhC,CAAC;AAeH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;GAUlC,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;GAU/B,CAAC;AAeH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;GAUjC,CAAC;AAYH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;GAU/B,CAAC"}
|
package/dist/example.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO,mDA6BX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory.handlers.d.ts","sourceRoot":"","sources":["../../src/handlers/memory.handlers.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,IAAI,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CACtC;AAED,UAAU,UAAU;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,YAAY,EAAE,SAAS,GAAG,QAAQ,CAAC;IACnC,QAAQ,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACzC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACrC,iCAAiC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACzD,sBAAsB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpC,aAAa,EAAE;QACb,IAAI,EAAE,qBAAqB,CAAC;QAC5B,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,YAAY,EAAE,SAAS,GAAG,QAAQ,CAAC;QACnC,SAAS,EAAE,IAAI,CAAC;KACjB,EAAE,CAAC;CACL;AAED,wBAAgB,yBAAyB,IAAI,mBAAmB,CAQ/D;AAMD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,EAAE;QACd,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,eAAe,EAAE,CAAA;KAAE,CAAC,CAAC;IAC/C,gBAAgB,CAAC,KAAK,EAAE;QAAE,iBAAiB,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC5E,gBAAgB,CAAC,KAAK,EAAE;QACtB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,sBAAsB,EAAE,MAAM,EAAE,CAAC;KAClC,GAAG,OAAO,CAAC;QAAE,sBAAsB,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IAClD,uBAAuB,CAAC,KAAK,EAAE;QAC7B,aAAa,EAAE,MAAM,CAAC;KACvB,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvC,cAAc,CAAC,KAAK,EAAE;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,SAAS,GAAG,QAAQ,CAAC;QAC/B,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,SAAS,GAAG,QAAQ,CAAC;KACrC,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACxB,cAAc,CAAC,KAAK,EAAE;QACpB,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACtD;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,mBAAmB,GACzB,sBAAsB,CAkHxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory.handlers.test.d.ts","sourceRoot":"","sources":["../../src/handlers/memory.handlers.test.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAE/C,cAAc,iBAAiB,CAAC;AAEhC,OAAO,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kb-update-pipeline.feature.d.ts","sourceRoot":"","sources":["../src/kb-update-pipeline.feature.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,yDAwDlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/operations/pipeline.ts"],"names":[],"mappings":"AAwEA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAarC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa7C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B3C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;cAwB3C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"presentations.d.ts","sourceRoot":"","sources":["../src/presentations.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,wDAoBlC,CAAC;AAEH,eAAO,MAAM,wBAAwB,wDAoBnC,CAAC;AAEH,eAAO,MAAM,wBAAwB,wDAoBnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.test-spec.d.ts","sourceRoot":"","sources":["../../src/tests/operations.test-spec.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,gDAyBvB,CAAC;AAEH,eAAO,MAAM,oBAAoB,gDAyB/B,CAAC;AAEH,eAAO,MAAM,kBAAkB,gDAyB7B,CAAC"}
|