@cratis/event-models 0.263.3 → 0.264.1
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/dist/Model/SliceSpecification.d.ts +1 -0
- package/dist/Specifications/OutcomeLines.d.ts +5 -0
- package/dist/Specifications/ThenSection.d.ts +2 -1
- package/dist/Specifications/index.d.ts +1 -0
- package/dist/event-model-document.schema.json +4 -0
- package/dist/index.js +2108 -2070
- package/dist/index.js.map +1 -1
- package/dist/screen-editor/ScreenEditor/DesignMode/keepWatching.d.ts +16 -0
- package/dist/screen-editor/index.js +375 -365
- package/package.json +3 -3
|
@@ -13,5 +13,6 @@ export interface ThenSectionProps {
|
|
|
13
13
|
renamedEventNames?: Readonly<Record<string, string>>;
|
|
14
14
|
extra?: ReactNode;
|
|
15
15
|
extraGroups?: readonly SpecificationAddGroup[];
|
|
16
|
+
onItemsChanged?: (events: number, errors: number) => void;
|
|
16
17
|
}
|
|
17
|
-
export declare const ThenSection: ({ sliceId, sliceType, specification, events, command, readModel, renamedEventNames, extra, extraGroups }: ThenSectionProps) => import("react").JSX.Element;
|
|
18
|
+
export declare const ThenSection: ({ sliceId, sliceType, specification, events, command, readModel, renamedEventNames, extra, extraGroups, onItemsChanged }: ThenSectionProps) => import("react").JSX.Element;
|
|
@@ -5,6 +5,7 @@ export * from './SpecificationCollection';
|
|
|
5
5
|
export * from './specificationCollectionState';
|
|
6
6
|
export * from './SpecificationSection';
|
|
7
7
|
export * from './GivenSection';
|
|
8
|
+
export * from './OutcomeLines';
|
|
8
9
|
export * from './WhenSection';
|
|
9
10
|
export * from './ThenSection';
|
|
10
11
|
export * from './allowedThenKinds';
|
|
@@ -954,6 +954,10 @@
|
|
|
954
954
|
"type": "string",
|
|
955
955
|
"description": "Longer host-supplied text shown with the description on hover or focus. Absent or blank draws nothing."
|
|
956
956
|
},
|
|
957
|
+
"outcomes": {
|
|
958
|
+
"type": "string",
|
|
959
|
+
"description": "Read-only Screenplay text of the operation failures, requested operations, compensations, absent read models and no-result expectations the specification states. Given clauses draw in Given, Then clauses in Then. Absent or blank draws nothing."
|
|
960
|
+
},
|
|
957
961
|
"given": {
|
|
958
962
|
"type": "array",
|
|
959
963
|
"items": {
|