@serenity-js/core 3.25.0 → 3.25.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/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/lib/Serenity.d.ts +22 -22
- package/lib/Serenity.js +22 -22
- package/lib/adapter/OutputStream.d.ts +5 -4
- package/lib/adapter/OutputStream.d.ts.map +1 -1
- package/lib/adapter/TestRunnerAdapter.d.ts +2 -2
- package/lib/config/ClassDescription.d.ts +1 -1
- package/lib/config/SerenityConfig.d.ts +22 -20
- package/lib/config/SerenityConfig.d.ts.map +1 -1
- package/lib/config/SerenityConfig.js +22 -20
- package/lib/config/SerenityConfig.js.map +1 -1
- package/lib/errors/ErrorFactory.d.ts +2 -1
- package/lib/errors/ErrorFactory.d.ts.map +1 -1
- package/lib/errors/ErrorFactory.js +2 -1
- package/lib/errors/ErrorFactory.js.map +1 -1
- package/lib/errors/RaiseErrors.d.ts +9 -9
- package/lib/errors/RaiseErrors.js +9 -9
- package/lib/errors/diff/AnsiDiffFormatter.d.ts +1 -1
- package/lib/errors/diff/AnsiDiffFormatter.js +1 -1
- package/lib/errors/diff/DiffFormatter.d.ts +1 -1
- package/lib/errors/diff/NoOpDiffFormatter.d.ts +1 -1
- package/lib/errors/diff/NoOpDiffFormatter.js +1 -1
- package/lib/errors/model/AssertionError.d.ts +1 -1
- package/lib/errors/model/AssertionError.js +1 -1
- package/lib/errors/model/ConfigurationError.d.ts +1 -1
- package/lib/errors/model/ConfigurationError.js +1 -1
- package/lib/errors/model/ImplementationPendingError.d.ts +3 -3
- package/lib/errors/model/ImplementationPendingError.js +3 -3
- package/lib/errors/model/ListItemNotFoundError.d.ts +2 -2
- package/lib/errors/model/ListItemNotFoundError.js +2 -2
- package/lib/errors/model/LogicError.d.ts +2 -2
- package/lib/errors/model/LogicError.js +2 -2
- package/lib/errors/model/OperationInterruptedError.d.ts +2 -2
- package/lib/errors/model/OperationInterruptedError.js +2 -2
- package/lib/errors/model/RuntimeError.d.ts +2 -2
- package/lib/errors/model/RuntimeError.js +2 -2
- package/lib/errors/model/TestCompromisedError.d.ts +1 -1
- package/lib/errors/model/TestCompromisedError.js +1 -1
- package/lib/errors/model/TimeoutExpiredError.d.ts +2 -2
- package/lib/errors/model/TimeoutExpiredError.js +2 -2
- package/lib/errors/model/UnknownError.d.ts +1 -1
- package/lib/errors/model/UnknownError.js +1 -1
- package/lib/events/ActivityFinished.d.ts +1 -1
- package/lib/events/ActivityFinished.js +1 -1
- package/lib/events/ActivityStarts.d.ts +1 -1
- package/lib/events/ActivityStarts.js +1 -1
- package/lib/events/BusinessRuleDetected.d.ts +1 -1
- package/lib/events/BusinessRuleDetected.js +1 -1
- package/lib/events/SceneFinishes.d.ts +2 -1
- package/lib/events/SceneFinishes.d.ts.map +1 -1
- package/lib/events/SceneFinishes.js +2 -1
- package/lib/events/SceneFinishes.js.map +1 -1
- package/lib/instance.d.ts +30 -30
- package/lib/instance.js +30 -30
- package/lib/io/format.d.ts +15 -6
- package/lib/io/format.d.ts.map +1 -1
- package/lib/io/format.js +15 -6
- package/lib/io/format.js.map +1 -1
- package/lib/io/loader/ModuleLoader.d.ts +1 -1
- package/lib/io/loader/ModuleLoader.js +1 -1
- package/lib/io/reflection/ValueInspector.d.ts +1 -1
- package/lib/io/reflection/ValueInspector.js +2 -2
- package/lib/io/reflection/ValueInspector.js.map +1 -1
- package/lib/io/stringified.d.ts +1 -1
- package/lib/io/stringified.js +1 -1
- package/lib/io/trimmed.d.ts +1 -1
- package/lib/io/trimmed.js +1 -1
- package/lib/model/artifacts/HTTPRequestResponse.d.ts +2 -2
- package/lib/model/artifacts/HTTPRequestResponse.js +1 -1
- package/lib/screenplay/Activity.d.ts +10 -10
- package/lib/screenplay/Activity.js +5 -5
- package/lib/screenplay/Actor.d.ts +28 -28
- package/lib/screenplay/Actor.js +28 -28
- package/lib/screenplay/Answerable.d.ts +1 -1
- package/lib/screenplay/Answered.d.ts +2 -2
- package/lib/screenplay/Interaction.d.ts +17 -17
- package/lib/screenplay/Interaction.js +12 -12
- package/lib/screenplay/Optional.d.ts +1 -1
- package/lib/screenplay/Question.d.ts +48 -45
- package/lib/screenplay/Question.d.ts.map +1 -1
- package/lib/screenplay/Question.js +39 -36
- package/lib/screenplay/Question.js.map +1 -1
- package/lib/screenplay/RecursivelyAnswered.d.ts +2 -2
- package/lib/screenplay/Task.d.ts +19 -19
- package/lib/screenplay/Task.js +15 -15
- package/lib/screenplay/WithAnswerableProperties.d.ts +2 -2
- package/lib/screenplay/abilities/Ability.d.ts +48 -46
- package/lib/screenplay/abilities/Ability.d.ts.map +1 -1
- package/lib/screenplay/abilities/Ability.js +48 -46
- package/lib/screenplay/abilities/Ability.js.map +1 -1
- package/lib/screenplay/abilities/AbilityType.d.ts +5 -5
- package/lib/screenplay/abilities/AnswerQuestions.d.ts +3 -3
- package/lib/screenplay/abilities/AnswerQuestions.js +3 -3
- package/lib/screenplay/abilities/CanHaveAbilities.d.ts +4 -4
- package/lib/screenplay/abilities/Discardable.d.ts +8 -8
- package/lib/screenplay/abilities/Initialisable.d.ts +11 -11
- package/lib/screenplay/abilities/PerformActivities.d.ts +3 -3
- package/lib/screenplay/abilities/PerformActivities.js +3 -3
- package/lib/screenplay/abilities/UsesAbilities.d.ts +6 -6
- package/lib/screenplay/activities/PerformsActivities.d.ts +7 -7
- package/lib/screenplay/artifacts/CollectsArtifacts.d.ts +4 -5
- package/lib/screenplay/artifacts/CollectsArtifacts.d.ts.map +1 -1
- package/lib/screenplay/debugging/Debug.d.ts +7 -6
- package/lib/screenplay/debugging/Debug.d.ts.map +1 -1
- package/lib/screenplay/debugging/Debug.js +7 -6
- package/lib/screenplay/debugging/Debug.js.map +1 -1
- package/lib/screenplay/debugging/DebuggingResult.d.ts +1 -1
- package/lib/screenplay/debugging/Log.d.ts +7 -5
- package/lib/screenplay/debugging/Log.d.ts.map +1 -1
- package/lib/screenplay/debugging/Log.js +7 -5
- package/lib/screenplay/debugging/Log.js.map +1 -1
- package/lib/screenplay/notes/Notepad.d.ts +13 -13
- package/lib/screenplay/notes/Notepad.js +13 -13
- package/lib/screenplay/notes/NotepadAdapter.d.ts +16 -16
- package/lib/screenplay/notes/NotepadAdapter.js +16 -16
- package/lib/screenplay/notes/TakeNotes.d.ts +9 -9
- package/lib/screenplay/notes/TakeNotes.js +9 -9
- package/lib/screenplay/notes/notes.d.ts +6 -6
- package/lib/screenplay/notes/notes.js +6 -6
- package/lib/screenplay/questions/AnswersQuestions.d.ts +4 -4
- package/lib/screenplay/questions/ChainableMetaQuestion.d.ts +6 -6
- package/lib/screenplay/questions/Check.d.ts +2 -2
- package/lib/screenplay/questions/Check.js +2 -2
- package/lib/screenplay/questions/DescriptionFormattingOptions.d.ts +2 -2
- package/lib/screenplay/questions/Expectation.d.ts +17 -14
- package/lib/screenplay/questions/Expectation.d.ts.map +1 -1
- package/lib/screenplay/questions/Expectation.js +17 -14
- package/lib/screenplay/questions/Expectation.js.map +1 -1
- package/lib/screenplay/questions/List.d.ts +5 -5
- package/lib/screenplay/questions/List.js +5 -5
- package/lib/screenplay/questions/Masked.d.ts +4 -2
- package/lib/screenplay/questions/Masked.d.ts.map +1 -1
- package/lib/screenplay/questions/Masked.js +4 -2
- package/lib/screenplay/questions/Masked.js.map +1 -1
- package/lib/screenplay/questions/MetaQuestion.d.ts +9 -9
- package/lib/screenplay/questions/Unanswered.d.ts +2 -2
- package/lib/screenplay/questions/Unanswered.js +2 -2
- package/lib/screenplay/questions/expectations/ExpectationDetails.d.ts +1 -1
- package/lib/screenplay/questions/expectations/ExpectationDetails.js +1 -1
- package/lib/screenplay/questions/expectations/ExpectationMet.d.ts +1 -1
- package/lib/screenplay/questions/expectations/ExpectationMet.js +1 -1
- package/lib/screenplay/questions/expectations/ExpectationNotMet.d.ts +1 -1
- package/lib/screenplay/questions/expectations/ExpectationNotMet.js +1 -1
- package/lib/screenplay/questions/expectations/ExpectationOutcome.d.ts +2 -2
- package/lib/screenplay/questions/expectations/ExpectationOutcome.js +2 -2
- package/lib/screenplay/questions/tag-functions.d.ts +23 -21
- package/lib/screenplay/questions/tag-functions.d.ts.map +1 -1
- package/lib/screenplay/questions/tag-functions.js +5 -5
- package/lib/screenplay/questions/tag-functions.js.map +1 -1
- package/lib/screenplay/time/TellsTime.d.ts +4 -4
- package/lib/screenplay/time/abilities/ScheduleWork.d.ts +2 -2
- package/lib/screenplay/time/abilities/ScheduleWork.js +2 -2
- package/lib/screenplay/time/activities/Wait.d.ts +29 -27
- package/lib/screenplay/time/activities/Wait.d.ts.map +1 -1
- package/lib/screenplay/time/activities/Wait.js +29 -27
- package/lib/screenplay/time/activities/Wait.js.map +1 -1
- package/lib/screenplay/time/models/Clock.d.ts +4 -4
- package/lib/screenplay/time/models/Clock.js +4 -4
- package/lib/screenplay/time/models/Duration.d.ts +1 -1
- package/lib/screenplay/time/models/Duration.js +1 -1
- package/lib/screenplay/time/models/Timestamp.d.ts +2 -2
- package/lib/screenplay/time/models/Timestamp.js +2 -2
- package/lib/stage/Cast.d.ts +21 -21
- package/lib/stage/Cast.js +19 -19
- package/lib/stage/Extras.d.ts +1 -1
- package/lib/stage/Extras.js +1 -1
- package/lib/stage/ListensToDomainEvents.d.ts +7 -7
- package/lib/stage/Stage.d.ts +30 -30
- package/lib/stage/Stage.d.ts.map +1 -1
- package/lib/stage/Stage.js +30 -30
- package/lib/stage/Stage.js.map +1 -1
- package/lib/stage/StageCrewMember.d.ts +11 -11
- package/lib/stage/StageCrewMemberBuilder.d.ts +7 -7
- package/lib/stage/StageCrewMemberBuilderDependencies.d.ts +2 -2
- package/lib/stage/crew/artifact-archiver/ArtifactArchiver.d.ts +4 -4
- package/lib/stage/crew/artifact-archiver/ArtifactArchiver.js +4 -4
- package/lib/stage/crew/stream-reporter/StreamReporter.d.ts +7 -7
- package/lib/stage/crew/stream-reporter/StreamReporter.js +7 -7
- package/package.json +4 -4
- package/src/Serenity.ts +22 -22
- package/src/adapter/OutputStream.ts +5 -4
- package/src/adapter/TestRunnerAdapter.ts +2 -2
- package/src/config/ClassDescription.ts +1 -1
- package/src/config/SerenityConfig.ts +22 -20
- package/src/errors/ErrorFactory.ts +2 -1
- package/src/errors/ErrorSerialiser.ts +3 -3
- package/src/errors/RaiseErrors.ts +9 -9
- package/src/errors/diff/AnsiDiffFormatter.ts +1 -1
- package/src/errors/diff/DiffFormatter.ts +1 -1
- package/src/errors/diff/NoOpDiffFormatter.ts +1 -1
- package/src/errors/model/AssertionError.ts +1 -1
- package/src/errors/model/ConfigurationError.ts +1 -1
- package/src/errors/model/ImplementationPendingError.ts +3 -3
- package/src/errors/model/ListItemNotFoundError.ts +2 -2
- package/src/errors/model/LogicError.ts +2 -2
- package/src/errors/model/OperationInterruptedError.ts +2 -2
- package/src/errors/model/RuntimeError.ts +2 -2
- package/src/errors/model/TestCompromisedError.ts +1 -1
- package/src/errors/model/TimeoutExpiredError.ts +2 -2
- package/src/errors/model/UnknownError.ts +1 -1
- package/src/events/ActivityFinished.ts +1 -1
- package/src/events/ActivityStarts.ts +1 -1
- package/src/events/BusinessRuleDetected.ts +1 -1
- package/src/events/SceneFinishes.ts +2 -1
- package/src/instance.ts +30 -30
- package/src/io/format.ts +15 -6
- package/src/io/loader/ModuleLoader.ts +1 -1
- package/src/io/reflection/ValueInspector.ts +3 -3
- package/src/io/stringified.ts +1 -1
- package/src/io/trimmed.ts +1 -1
- package/src/model/artifacts/HTTPRequestResponse.ts +2 -2
- package/src/screenplay/Activity.ts +10 -10
- package/src/screenplay/Actor.ts +28 -28
- package/src/screenplay/Answerable.ts +1 -1
- package/src/screenplay/Answered.ts +2 -2
- package/src/screenplay/Interaction.ts +17 -17
- package/src/screenplay/Optional.ts +1 -1
- package/src/screenplay/Question.ts +48 -45
- package/src/screenplay/RecursivelyAnswered.ts +2 -2
- package/src/screenplay/Task.ts +19 -19
- package/src/screenplay/WithAnswerableProperties.ts +2 -2
- package/src/screenplay/abilities/Ability.ts +48 -46
- package/src/screenplay/abilities/AbilityType.ts +5 -5
- package/src/screenplay/abilities/AnswerQuestions.ts +3 -3
- package/src/screenplay/abilities/CanHaveAbilities.ts +4 -4
- package/src/screenplay/abilities/Discardable.ts +8 -8
- package/src/screenplay/abilities/Initialisable.ts +11 -11
- package/src/screenplay/abilities/PerformActivities.ts +3 -3
- package/src/screenplay/abilities/UsesAbilities.ts +6 -6
- package/src/screenplay/activities/PerformsActivities.ts +7 -7
- package/src/screenplay/artifacts/CollectsArtifacts.ts +4 -5
- package/src/screenplay/debugging/Debug.ts +7 -6
- package/src/screenplay/debugging/DebuggingResult.ts +1 -1
- package/src/screenplay/debugging/Log.ts +7 -5
- package/src/screenplay/notes/Notepad.ts +13 -13
- package/src/screenplay/notes/NotepadAdapter.ts +16 -16
- package/src/screenplay/notes/TakeNotes.ts +9 -9
- package/src/screenplay/notes/notes.ts +6 -6
- package/src/screenplay/questions/AnswersQuestions.ts +4 -4
- package/src/screenplay/questions/ChainableMetaQuestion.ts +6 -6
- package/src/screenplay/questions/Check.ts +2 -2
- package/src/screenplay/questions/DescriptionFormattingOptions.ts +2 -2
- package/src/screenplay/questions/Expectation.ts +17 -14
- package/src/screenplay/questions/List.ts +5 -5
- package/src/screenplay/questions/Masked.ts +4 -2
- package/src/screenplay/questions/MetaQuestion.ts +9 -9
- package/src/screenplay/questions/Unanswered.ts +2 -2
- package/src/screenplay/questions/expectations/ExpectationDetails.ts +1 -1
- package/src/screenplay/questions/expectations/ExpectationMet.ts +1 -1
- package/src/screenplay/questions/expectations/ExpectationNotMet.ts +1 -1
- package/src/screenplay/questions/expectations/ExpectationOutcome.ts +2 -2
- package/src/screenplay/questions/tag-functions.ts +23 -21
- package/src/screenplay/time/TellsTime.ts +4 -4
- package/src/screenplay/time/abilities/ScheduleWork.ts +2 -2
- package/src/screenplay/time/activities/Wait.ts +29 -27
- package/src/screenplay/time/models/Clock.ts +4 -4
- package/src/screenplay/time/models/Duration.ts +1 -1
- package/src/screenplay/time/models/Timestamp.ts +2 -2
- package/src/stage/Cast.ts +21 -21
- package/src/stage/Extras.ts +1 -1
- package/src/stage/ListensToDomainEvents.ts +7 -7
- package/src/stage/Stage.ts +30 -30
- package/src/stage/StageCrewMember.ts +11 -11
- package/src/stage/StageCrewMemberBuilder.ts +7 -7
- package/src/stage/StageCrewMemberBuilderDependencies.ts +2 -2
- package/src/stage/crew/artifact-archiver/ArtifactArchiver.ts +4 -4
- package/src/stage/crew/stream-reporter/StreamReporter.ts +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Duration } from './Duration';
|
|
2
2
|
import { Timestamp } from './Timestamp';
|
|
3
3
|
/**
|
|
4
|
-
* A
|
|
4
|
+
* A [`Clock`](https://serenity-js.org/api/core/class/Clock/) tells the time. This abstraction allows Serenity/JS to have a single place
|
|
5
5
|
* in the framework responsible for telling the time, and one that can be easily mocked for internal testing.
|
|
6
6
|
*
|
|
7
7
|
* ```ts
|
|
@@ -9,8 +9,8 @@ import { Timestamp } from './Timestamp';
|
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
11
|
* ## Learn more
|
|
12
|
-
* -
|
|
13
|
-
* -
|
|
12
|
+
* - [`Timestamp`](https://serenity-js.org/api/core/class/Timestamp/)
|
|
13
|
+
* - [`Duration`](https://serenity-js.org/api/core/class/Duration/)
|
|
14
14
|
*
|
|
15
15
|
* @group Time
|
|
16
16
|
*/
|
|
@@ -21,7 +21,7 @@ export declare class Clock {
|
|
|
21
21
|
constructor(checkTime?: () => Date);
|
|
22
22
|
/**
|
|
23
23
|
* Sets the clock ahead to force early resolution of promises
|
|
24
|
-
* returned by
|
|
24
|
+
* returned by [`Clock.waitFor`](https://serenity-js.org/api/core/class/Clock/#waitFor).
|
|
25
25
|
*
|
|
26
26
|
* Useful for test purposes to avoid unnecessary delays.
|
|
27
27
|
*
|
|
@@ -5,7 +5,7 @@ const tiny_types_1 = require("tiny-types");
|
|
|
5
5
|
const Duration_1 = require("./Duration");
|
|
6
6
|
const Timestamp_1 = require("./Timestamp");
|
|
7
7
|
/**
|
|
8
|
-
* A
|
|
8
|
+
* A [`Clock`](https://serenity-js.org/api/core/class/Clock/) tells the time. This abstraction allows Serenity/JS to have a single place
|
|
9
9
|
* in the framework responsible for telling the time, and one that can be easily mocked for internal testing.
|
|
10
10
|
*
|
|
11
11
|
* ```ts
|
|
@@ -13,8 +13,8 @@ const Timestamp_1 = require("./Timestamp");
|
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
15
15
|
* ## Learn more
|
|
16
|
-
* -
|
|
17
|
-
* -
|
|
16
|
+
* - [`Timestamp`](https://serenity-js.org/api/core/class/Timestamp/)
|
|
17
|
+
* - [`Duration`](https://serenity-js.org/api/core/class/Duration/)
|
|
18
18
|
*
|
|
19
19
|
* @group Time
|
|
20
20
|
*/
|
|
@@ -27,7 +27,7 @@ class Clock {
|
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Sets the clock ahead to force early resolution of promises
|
|
30
|
-
* returned by
|
|
30
|
+
* returned by [`Clock.waitFor`](https://serenity-js.org/api/core/class/Clock/#waitFor).
|
|
31
31
|
*
|
|
32
32
|
* Useful for test purposes to avoid unnecessary delays.
|
|
33
33
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { JSONObject } from 'tiny-types';
|
|
2
2
|
import { TinyType } from 'tiny-types';
|
|
3
3
|
/**
|
|
4
|
-
* Represents a duration in milliseconds between two
|
|
4
|
+
* Represents a duration in milliseconds between two [timestamps](https://serenity-js.org/api/core/class/Timestamp/).
|
|
5
5
|
*
|
|
6
6
|
* @group Time
|
|
7
7
|
*/
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Duration = void 0;
|
|
4
4
|
const tiny_types_1 = require("tiny-types");
|
|
5
5
|
/**
|
|
6
|
-
* Represents a duration in milliseconds between two
|
|
6
|
+
* Represents a duration in milliseconds between two [timestamps](https://serenity-js.org/api/core/class/Timestamp/).
|
|
7
7
|
*
|
|
8
8
|
* @group Time
|
|
9
9
|
*/
|
|
@@ -5,10 +5,10 @@ import { Duration } from './Duration';
|
|
|
5
5
|
/**
|
|
6
6
|
* Represents a point in time.
|
|
7
7
|
*
|
|
8
|
-
* `Timestamp` makes it easier for you to work with information related to time, like
|
|
8
|
+
* `Timestamp` makes it easier for you to work with information related to time, like [Serenity/JS domain events](https://serenity-js.org/api/core-events/class/DomainEvent/).
|
|
9
9
|
*
|
|
10
10
|
* ## Learn more
|
|
11
|
-
* -
|
|
11
|
+
* - [`Duration`](https://serenity-js.org/api/core/class/Duration/)
|
|
12
12
|
* - [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)
|
|
13
13
|
*
|
|
14
14
|
* @group Time
|
|
@@ -7,10 +7,10 @@ const Duration_1 = require("./Duration");
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents a point in time.
|
|
9
9
|
*
|
|
10
|
-
* `Timestamp` makes it easier for you to work with information related to time, like
|
|
10
|
+
* `Timestamp` makes it easier for you to work with information related to time, like [Serenity/JS domain events](https://serenity-js.org/api/core-events/class/DomainEvent/).
|
|
11
11
|
*
|
|
12
12
|
* ## Learn more
|
|
13
|
-
* -
|
|
13
|
+
* - [`Duration`](https://serenity-js.org/api/core/class/Duration/)
|
|
14
14
|
* - [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)
|
|
15
15
|
*
|
|
16
16
|
* @group Time
|
package/lib/stage/Cast.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Actor } from '../screenplay';
|
|
2
2
|
/**
|
|
3
|
-
* Serenity/JS uses the concept of a _**cast of actors**_ to centralise the process of configuring the
|
|
3
|
+
* Serenity/JS uses the concept of a _**cast of actors**_ to centralise the process of configuring the [actors](https://serenity-js.org/api/core/class/Actor/) and assigning their [abilities](https://serenity-js.org/api/core/class/Ability/).
|
|
4
4
|
*
|
|
5
|
-
* When you invoke
|
|
6
|
-
* Serenity/JS
|
|
7
|
-
* and passes it through the
|
|
5
|
+
* When you invoke [`actorCalled`](https://serenity-js.org/api/core/function/actorCalled/) for the first time in a test scenario,
|
|
6
|
+
* Serenity/JS [instantiates a new actor](https://serenity-js.org/api/core/class/Actor/)
|
|
7
|
+
* and passes it through the [`Cast.prepare`](https://serenity-js.org/api/core/class/Cast/#prepare) method.
|
|
8
8
|
* Specifying a **custom cast** gives you an opportunity to configure the actor with the abilities
|
|
9
9
|
* they need before it's returned to the caller,
|
|
10
10
|
* or configure the actors differently **depending on their name**.
|
|
@@ -17,7 +17,7 @@ import type { Actor } from '../screenplay';
|
|
|
17
17
|
* ## Configuring a cast of actors for the entire test suite
|
|
18
18
|
*
|
|
19
19
|
* When working with relatively **simple scenarios** where all the actors should always receive the same set of abilities,
|
|
20
|
-
* you can
|
|
20
|
+
* you can [`engage`](https://serenity-js.org/api/core/function/engage/) Serenity/JS to use a generic [`Cast.where`](https://serenity-js.org/api/core/class/Cast/#where):
|
|
21
21
|
*
|
|
22
22
|
* ```typescript
|
|
23
23
|
* import { Cast, configure } from '@serenity-js/core'
|
|
@@ -31,28 +31,28 @@ import type { Actor } from '../screenplay';
|
|
|
31
31
|
* })
|
|
32
32
|
* ```
|
|
33
33
|
*
|
|
34
|
-
* If you're using Serenity/JS with one of the [supported test runners](/handbook/test-runners/),
|
|
34
|
+
* If you're using Serenity/JS with one of the [supported test runners](https://serenity-js.org/handbook/test-runners/),
|
|
35
35
|
* you might prefer to use your test runner's native configuration mechanism
|
|
36
|
-
* instead of invoking
|
|
36
|
+
* instead of invoking [`engage`](https://serenity-js.org/api/core/function/engage/) explicitly.
|
|
37
37
|
*
|
|
38
38
|
* :::tip configure vs engage
|
|
39
|
-
* Calling
|
|
39
|
+
* Calling [`configure`](https://serenity-js.org/api/core/function/configure/) resets the entire Serenity/JS configuration
|
|
40
40
|
* and should be done exactly once in your entire test suite.
|
|
41
|
-
* If you want to retain the configuration but reset the cast, use
|
|
41
|
+
* If you want to retain the configuration but reset the cast, use [`engage`](https://serenity-js.org/api/core/function/engage/) instead.
|
|
42
42
|
* :::
|
|
43
43
|
*
|
|
44
44
|
* Learn more about configuring Serenity/JS with:
|
|
45
|
-
* - [Cucumber.js](/handbook/test-runners/cucumber)
|
|
46
|
-
* - [Jasmine](/handbook/test-runners/jasmine)
|
|
47
|
-
* - [Mocha](/handbook/test-runners/mocha)
|
|
48
|
-
* - [Playwright Test](/handbook/test-runners/playwright-test)
|
|
49
|
-
* - [Protractor](/handbook/test-runners/protractor)
|
|
50
|
-
* - [WebdriverIO](/handbook/test-runners/webdriverio)
|
|
45
|
+
* - [Cucumber.js](https://serenity-js.org/handbook/test-runners/cucumber)
|
|
46
|
+
* - [Jasmine](https://serenity-js.org/handbook/test-runners/jasmine)
|
|
47
|
+
* - [Mocha](https://serenity-js.org/handbook/test-runners/mocha)
|
|
48
|
+
* - [Playwright Test](https://serenity-js.org/handbook/test-runners/playwright-test)
|
|
49
|
+
* - [Protractor](https://serenity-js.org/handbook/test-runners/protractor)
|
|
50
|
+
* - [WebdriverIO](https://serenity-js.org/handbook/test-runners/webdriverio)
|
|
51
51
|
*
|
|
52
52
|
* ## Engaging a cast of actors for the specific scenario
|
|
53
53
|
*
|
|
54
|
-
* If you want to retain Serenity/JS configuration, but set a different
|
|
55
|
-
* for the given test scenario you should use
|
|
54
|
+
* If you want to retain Serenity/JS configuration, but set a different [cast](https://serenity-js.org/api/core/class/Cast/)
|
|
55
|
+
* for the given test scenario you should use [`engage`](https://serenity-js.org/api/core/function/engage/) instead of [`configure`](https://serenity-js.org/api/core/function/configure/).
|
|
56
56
|
*
|
|
57
57
|
* This approach is useful for example when your entire test suite is dedicated to interacting with the system
|
|
58
58
|
* under test via its REST APIs, and you have a handful of scenarios that need a web browser.
|
|
@@ -76,10 +76,10 @@ import type { Actor } from '../screenplay';
|
|
|
76
76
|
* ## Writing custom casts for complex scenarios
|
|
77
77
|
*
|
|
78
78
|
* In **complex scenarios** that involve multiple **actors with different abilities**,
|
|
79
|
-
* you should create a custom implementation of the
|
|
79
|
+
* you should create a custom implementation of the [cast](https://serenity-js.org/api/core/class/Cast/).
|
|
80
80
|
*
|
|
81
81
|
* Examples of such scenarios include those where actors use separate browser instances, interact with different REST APIs,
|
|
82
|
-
* or start with different data in their
|
|
82
|
+
* or start with different data in their [notepads](https://serenity-js.org/api/core/class/Notepad/).
|
|
83
83
|
*
|
|
84
84
|
* ### Defining a custom cast of actors interacting with a Web UI
|
|
85
85
|
*
|
|
@@ -155,12 +155,12 @@ export declare abstract class Cast {
|
|
|
155
155
|
*/
|
|
156
156
|
static where(prepareFunction: (actor: Actor) => Actor): Cast;
|
|
157
157
|
/**
|
|
158
|
-
* Configures an
|
|
158
|
+
* Configures an [`Actor`](https://serenity-js.org/api/core/class/Actor/) instantiated when [`Stage.actor`](https://serenity-js.org/api/core/class/Stage/#actor) is invoked.
|
|
159
159
|
*
|
|
160
160
|
* @param actor
|
|
161
161
|
*
|
|
162
162
|
* #### Learn more
|
|
163
|
-
* -
|
|
163
|
+
* - [`engage`](https://serenity-js.org/api/core/function/engage/)
|
|
164
164
|
*/
|
|
165
165
|
abstract prepare(actor: Actor): Actor;
|
|
166
166
|
}
|
package/lib/stage/Cast.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Cast = void 0;
|
|
4
4
|
/**
|
|
5
|
-
* Serenity/JS uses the concept of a _**cast of actors**_ to centralise the process of configuring the
|
|
5
|
+
* Serenity/JS uses the concept of a _**cast of actors**_ to centralise the process of configuring the [actors](https://serenity-js.org/api/core/class/Actor/) and assigning their [abilities](https://serenity-js.org/api/core/class/Ability/).
|
|
6
6
|
*
|
|
7
|
-
* When you invoke
|
|
8
|
-
* Serenity/JS
|
|
9
|
-
* and passes it through the
|
|
7
|
+
* When you invoke [`actorCalled`](https://serenity-js.org/api/core/function/actorCalled/) for the first time in a test scenario,
|
|
8
|
+
* Serenity/JS [instantiates a new actor](https://serenity-js.org/api/core/class/Actor/)
|
|
9
|
+
* and passes it through the [`Cast.prepare`](https://serenity-js.org/api/core/class/Cast/#prepare) method.
|
|
10
10
|
* Specifying a **custom cast** gives you an opportunity to configure the actor with the abilities
|
|
11
11
|
* they need before it's returned to the caller,
|
|
12
12
|
* or configure the actors differently **depending on their name**.
|
|
@@ -19,7 +19,7 @@ exports.Cast = void 0;
|
|
|
19
19
|
* ## Configuring a cast of actors for the entire test suite
|
|
20
20
|
*
|
|
21
21
|
* When working with relatively **simple scenarios** where all the actors should always receive the same set of abilities,
|
|
22
|
-
* you can
|
|
22
|
+
* you can [`engage`](https://serenity-js.org/api/core/function/engage/) Serenity/JS to use a generic [`Cast.where`](https://serenity-js.org/api/core/class/Cast/#where):
|
|
23
23
|
*
|
|
24
24
|
* ```typescript
|
|
25
25
|
* import { Cast, configure } from '@serenity-js/core'
|
|
@@ -33,28 +33,28 @@ exports.Cast = void 0;
|
|
|
33
33
|
* })
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
|
-
* If you're using Serenity/JS with one of the [supported test runners](/handbook/test-runners/),
|
|
36
|
+
* If you're using Serenity/JS with one of the [supported test runners](https://serenity-js.org/handbook/test-runners/),
|
|
37
37
|
* you might prefer to use your test runner's native configuration mechanism
|
|
38
|
-
* instead of invoking
|
|
38
|
+
* instead of invoking [`engage`](https://serenity-js.org/api/core/function/engage/) explicitly.
|
|
39
39
|
*
|
|
40
40
|
* :::tip configure vs engage
|
|
41
|
-
* Calling
|
|
41
|
+
* Calling [`configure`](https://serenity-js.org/api/core/function/configure/) resets the entire Serenity/JS configuration
|
|
42
42
|
* and should be done exactly once in your entire test suite.
|
|
43
|
-
* If you want to retain the configuration but reset the cast, use
|
|
43
|
+
* If you want to retain the configuration but reset the cast, use [`engage`](https://serenity-js.org/api/core/function/engage/) instead.
|
|
44
44
|
* :::
|
|
45
45
|
*
|
|
46
46
|
* Learn more about configuring Serenity/JS with:
|
|
47
|
-
* - [Cucumber.js](/handbook/test-runners/cucumber)
|
|
48
|
-
* - [Jasmine](/handbook/test-runners/jasmine)
|
|
49
|
-
* - [Mocha](/handbook/test-runners/mocha)
|
|
50
|
-
* - [Playwright Test](/handbook/test-runners/playwright-test)
|
|
51
|
-
* - [Protractor](/handbook/test-runners/protractor)
|
|
52
|
-
* - [WebdriverIO](/handbook/test-runners/webdriverio)
|
|
47
|
+
* - [Cucumber.js](https://serenity-js.org/handbook/test-runners/cucumber)
|
|
48
|
+
* - [Jasmine](https://serenity-js.org/handbook/test-runners/jasmine)
|
|
49
|
+
* - [Mocha](https://serenity-js.org/handbook/test-runners/mocha)
|
|
50
|
+
* - [Playwright Test](https://serenity-js.org/handbook/test-runners/playwright-test)
|
|
51
|
+
* - [Protractor](https://serenity-js.org/handbook/test-runners/protractor)
|
|
52
|
+
* - [WebdriverIO](https://serenity-js.org/handbook/test-runners/webdriverio)
|
|
53
53
|
*
|
|
54
54
|
* ## Engaging a cast of actors for the specific scenario
|
|
55
55
|
*
|
|
56
|
-
* If you want to retain Serenity/JS configuration, but set a different
|
|
57
|
-
* for the given test scenario you should use
|
|
56
|
+
* If you want to retain Serenity/JS configuration, but set a different [cast](https://serenity-js.org/api/core/class/Cast/)
|
|
57
|
+
* for the given test scenario you should use [`engage`](https://serenity-js.org/api/core/function/engage/) instead of [`configure`](https://serenity-js.org/api/core/function/configure/).
|
|
58
58
|
*
|
|
59
59
|
* This approach is useful for example when your entire test suite is dedicated to interacting with the system
|
|
60
60
|
* under test via its REST APIs, and you have a handful of scenarios that need a web browser.
|
|
@@ -78,10 +78,10 @@ exports.Cast = void 0;
|
|
|
78
78
|
* ## Writing custom casts for complex scenarios
|
|
79
79
|
*
|
|
80
80
|
* In **complex scenarios** that involve multiple **actors with different abilities**,
|
|
81
|
-
* you should create a custom implementation of the
|
|
81
|
+
* you should create a custom implementation of the [cast](https://serenity-js.org/api/core/class/Cast/).
|
|
82
82
|
*
|
|
83
83
|
* Examples of such scenarios include those where actors use separate browser instances, interact with different REST APIs,
|
|
84
|
-
* or start with different data in their
|
|
84
|
+
* or start with different data in their [notepads](https://serenity-js.org/api/core/class/Notepad/).
|
|
85
85
|
*
|
|
86
86
|
* ### Defining a custom cast of actors interacting with a Web UI
|
|
87
87
|
*
|
package/lib/stage/Extras.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Actor } from '../screenplay';
|
|
2
2
|
import type { Cast } from './Cast';
|
|
3
3
|
/**
|
|
4
|
-
* Produces no-op actors with no special
|
|
4
|
+
* Produces no-op actors with no special [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
5
5
|
*/
|
|
6
6
|
export declare class Extras implements Cast {
|
|
7
7
|
prepare(actor: Actor): Actor;
|
package/lib/stage/Extras.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Extras = void 0;
|
|
4
4
|
/**
|
|
5
|
-
* Produces no-op actors with no special
|
|
5
|
+
* Produces no-op actors with no special [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
6
6
|
*/
|
|
7
7
|
class Extras {
|
|
8
8
|
prepare(actor) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { DomainEvent } from '../events';
|
|
2
2
|
/**
|
|
3
|
-
* A
|
|
3
|
+
* A [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/) that can listen and react to [Serenity/JS domain events](https://serenity-js.org/api/core-events/class/DomainEvent/)
|
|
4
4
|
*
|
|
5
5
|
* ## Learn more
|
|
6
6
|
*
|
|
7
|
-
* -
|
|
8
|
-
* -
|
|
9
|
-
* -
|
|
10
|
-
* -
|
|
7
|
+
* - [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/)
|
|
8
|
+
* - [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMemberBuilder/)
|
|
9
|
+
* - [`engage`](https://serenity-js.org/api/core/function/engage/)
|
|
10
|
+
* - [`SerenityConfig.crew`](https://serenity-js.org/api/core/class/SerenityConfig/#crew)
|
|
11
11
|
*
|
|
12
12
|
* @group Stage
|
|
13
13
|
*/
|
|
14
14
|
export interface ListensToDomainEvents {
|
|
15
15
|
/**
|
|
16
|
-
* Handles
|
|
17
|
-
* that this
|
|
16
|
+
* Handles [`DomainEvent`](https://serenity-js.org/api/core-events/class/DomainEvent/) objects emitted by the [`Stage`](https://serenity-js.org/api/core/class/Stage/)
|
|
17
|
+
* that this [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/) is assigned to.
|
|
18
18
|
*
|
|
19
19
|
* @param event
|
|
20
20
|
*/
|
package/lib/stage/Stage.d.ts
CHANGED
|
@@ -8,17 +8,18 @@ import type { ListensToDomainEvents } from '../stage';
|
|
|
8
8
|
import type { Cast } from './Cast';
|
|
9
9
|
import type { StageManager } from './StageManager';
|
|
10
10
|
/**
|
|
11
|
-
* Stage is the place where
|
|
11
|
+
* Stage is the place where [actors](https://serenity-js.org/api/core/class/Actor/) perform.
|
|
12
12
|
*
|
|
13
|
-
* In more technical terms, the Stage is the main event bus propagating
|
|
14
|
-
* to
|
|
13
|
+
* In more technical terms, the Stage is the main event bus propagating [Serenity/JS domain events](https://serenity-js.org/api/core-events/class/DomainEvent/)
|
|
14
|
+
* to [actors](https://serenity-js.org/api/core/class/Actor/) it instantiates and [stage crew members](https://serenity-js.org/api/core/interface/StageCrewMember/) that have been registered with it.
|
|
15
15
|
*
|
|
16
16
|
* It is unlikely that you'll ever need to interact with the `Stage` directly in your tests. Instead, you'll use functions like
|
|
17
|
-
*
|
|
17
|
+
* [`actorCalled`](https://serenity-js.org/api/core/function/actorCalled/) and [`actorInTheSpotlight`](https://serenity-js.org/api/core/function/actorInTheSpotlight/).
|
|
18
18
|
*
|
|
19
19
|
* ## Learn more
|
|
20
|
-
* -
|
|
21
|
-
* -
|
|
20
|
+
* - [`configure`](https://serenity-js.org/api/core/function/configure/)
|
|
21
|
+
* - [`engage`](https://serenity-js.org/api/core/function/engage/)
|
|
22
|
+
* - [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/)
|
|
22
23
|
*
|
|
23
24
|
* @group Stage
|
|
24
25
|
*/
|
|
@@ -41,7 +42,7 @@ export declare class Stage implements EmitsDomainEvents {
|
|
|
41
42
|
private actorsOnBackstage;
|
|
42
43
|
private actorsOnStage;
|
|
43
44
|
/**
|
|
44
|
-
* The most recent actor referenced via the
|
|
45
|
+
* The most recent actor referenced via the [`Actor`](https://serenity-js.org/api/core/class/Actor/) method
|
|
45
46
|
*/
|
|
46
47
|
private actorInTheSpotlight;
|
|
47
48
|
private currentActivity;
|
|
@@ -55,13 +56,13 @@ export declare class Stage implements EmitsDomainEvents {
|
|
|
55
56
|
*/
|
|
56
57
|
constructor(cast: Cast, manager: StageManager, errors: ErrorFactory, clock: Clock, interactionTimeout: Duration);
|
|
57
58
|
/**
|
|
58
|
-
* An alias for
|
|
59
|
+
* An alias for [`Stage.actor`](https://serenity-js.org/api/core/class/Stage/#actor)
|
|
59
60
|
*
|
|
60
61
|
* @param name
|
|
61
62
|
*/
|
|
62
63
|
theActorCalled(name: string): Actor;
|
|
63
64
|
/**
|
|
64
|
-
* Instantiates a new
|
|
65
|
+
* Instantiates a new [`Actor`](https://serenity-js.org/api/core/class/Actor/) or fetches an existing one
|
|
65
66
|
* identified by their name if they've already been instantiated.
|
|
66
67
|
*
|
|
67
68
|
* @param name
|
|
@@ -69,27 +70,27 @@ export declare class Stage implements EmitsDomainEvents {
|
|
|
69
70
|
*/
|
|
70
71
|
actor(name: string): Actor;
|
|
71
72
|
/**
|
|
72
|
-
* Returns the last
|
|
73
|
+
* Returns the last [`Actor`](https://serenity-js.org/api/core/class/Actor/) instantiated via [`Stage.actor`](https://serenity-js.org/api/core/class/Stage/#actor).
|
|
73
74
|
* Useful when you don't can't or choose not to reference the actor by their name.
|
|
74
75
|
*
|
|
75
|
-
* @throws
|
|
76
|
-
* If no
|
|
76
|
+
* @throws [`LogicError`](https://serenity-js.org/api/core/class/LogicError/)
|
|
77
|
+
* If no [`Actor`](https://serenity-js.org/api/core/class/Actor/) has been activated yet
|
|
77
78
|
*/
|
|
78
79
|
theActorInTheSpotlight(): Actor;
|
|
79
80
|
/**
|
|
80
|
-
* Returns `true` if there is an
|
|
81
|
+
* Returns `true` if there is an [`Actor`](https://serenity-js.org/api/core/class/Actor/) in the spotlight, `false` otherwise.
|
|
81
82
|
*/
|
|
82
83
|
theShowHasStarted(): boolean;
|
|
83
84
|
/**
|
|
84
|
-
* Configures the Stage to prepare
|
|
85
|
-
* instantiated via
|
|
85
|
+
* Configures the Stage to prepare [actors](https://serenity-js.org/api/core/class/Actor/)
|
|
86
|
+
* instantiated via [`Stage.actor`](https://serenity-js.org/api/core/class/Stage/#actor) using the provided [cast](https://serenity-js.org/api/core/class/Cast/).
|
|
86
87
|
*
|
|
87
88
|
* @param actors
|
|
88
89
|
*/
|
|
89
90
|
engage(actors: Cast): void;
|
|
90
91
|
/**
|
|
91
|
-
* Assigns listeners to be notified of
|
|
92
|
-
* emitted via
|
|
92
|
+
* Assigns listeners to be notified of [Serenity/JS domain events](https://serenity-js.org/api/core-events/class/DomainEvent/)
|
|
93
|
+
* emitted via [`Stage.announce`](https://serenity-js.org/api/core/class/Stage/#announce).s
|
|
93
94
|
*
|
|
94
95
|
* @param listeners
|
|
95
96
|
*/
|
|
@@ -104,44 +105,43 @@ export declare class Stage implements EmitsDomainEvents {
|
|
|
104
105
|
private announceSingle;
|
|
105
106
|
/**
|
|
106
107
|
* Returns current time. This method should be used whenever
|
|
107
|
-
*
|
|
108
|
+
* [`DomainEvent`](https://serenity-js.org/api/core-events/class/DomainEvent/) objects are instantiated by you programmatically.
|
|
108
109
|
*/
|
|
109
110
|
currentTime(): Timestamp;
|
|
110
111
|
/**
|
|
111
|
-
* Generates and remembers a
|
|
112
|
+
* Generates and remembers a `CorrelationId`
|
|
112
113
|
* for the current scene.
|
|
113
114
|
*
|
|
114
115
|
* This method should be used in custom test runner adapters
|
|
115
|
-
* when instantiating a
|
|
116
|
+
* when instantiating a [SceneStarts](https://serenity-js.org/api/core-events/class/SceneStarts/) event.
|
|
116
117
|
*
|
|
117
118
|
* #### Learn more
|
|
118
|
-
* -
|
|
119
|
-
* - {@apilink CorrelationId}
|
|
119
|
+
* - [`Stage.currentSceneId`](https://serenity-js.org/api/core/class/Stage/#currentSceneId)
|
|
120
120
|
*/
|
|
121
121
|
assignNewSceneId(): CorrelationId;
|
|
122
122
|
/**
|
|
123
|
-
* Returns the
|
|
123
|
+
* Returns the `CorrelationId` for the current scene.
|
|
124
124
|
*
|
|
125
125
|
* #### Learn more
|
|
126
|
-
* -
|
|
126
|
+
* - [`Stage.assignNewSceneId`](https://serenity-js.org/api/core/class/Stage/#assignNewSceneId)
|
|
127
127
|
*/
|
|
128
128
|
currentSceneId(): CorrelationId;
|
|
129
129
|
/**
|
|
130
|
-
* Generates and remembers a
|
|
131
|
-
* for the current
|
|
130
|
+
* Generates and remembers a `CorrelationId`
|
|
131
|
+
* for the current [`Activity`](https://serenity-js.org/api/core/class/Activity/).
|
|
132
132
|
*
|
|
133
133
|
* This method should be used in custom test runner adapters
|
|
134
|
-
* when instantiating the
|
|
134
|
+
* when instantiating the [ActivityStarts](https://serenity-js.org/api/core-events/class/ActivityStarts/) event.
|
|
135
135
|
*
|
|
136
136
|
* #### Learn more
|
|
137
|
-
* -
|
|
137
|
+
* - [`Stage.currentActivityId`](https://serenity-js.org/api/core/class/Stage/#currentActivityId)
|
|
138
138
|
*/
|
|
139
139
|
assignNewActivityId(activityDetails: ActivityDetails): CorrelationId;
|
|
140
140
|
/**
|
|
141
|
-
* Returns the
|
|
141
|
+
* Returns the `CorrelationId` for the current [`Activity`](https://serenity-js.org/api/core/class/Activity/).
|
|
142
142
|
*
|
|
143
143
|
* #### Learn more
|
|
144
|
-
* -
|
|
144
|
+
* - [`Stage.assignNewSceneId`](https://serenity-js.org/api/core/class/Stage/#assignNewSceneId)
|
|
145
145
|
*/
|
|
146
146
|
currentActivityId(): CorrelationId;
|
|
147
147
|
/**
|
package/lib/stage/Stage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/stage/Stage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE1E,OAAO,KAAK,EACR,WAAW,EACX,iBAAiB,EAAC,MAAM,WAAW,CAAC;AASxC,OAAO,KAAK,EAAE,eAAe,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAqB,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/stage/Stage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE1E,OAAO,KAAK,EACR,WAAW,EACX,iBAAiB,EAAC,MAAM,WAAW,CAAC;AASxC,OAAO,KAAK,EAAE,eAAe,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAqB,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,KAAM,YAAW,iBAAiB;IAmCvC,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IArCvC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAA+B;IAErE;;;OAGG;IACH,OAAO,CAAC,kBAAkB,CAAgD;IAE1E;;;OAGG;IACH,OAAO,CAAC,iBAAiB,CAAgD;IAEzE,OAAO,CAAC,aAAa,CAA8C;IAEnE;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAoB;IAE/C,OAAO,CAAC,eAAe,CAA8D;IAErF,OAAO,CAAC,YAAY,CAAuC;IAE3D;;;;;;OAMG;gBAES,IAAI,EAAE,IAAI,EACD,OAAO,EAAE,YAAY,EAC9B,MAAM,EAAE,YAAY,EACX,KAAK,EAAE,KAAK,EACZ,kBAAkB,EAAE,QAAQ;IASjD;;;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK;IAInC;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK;IA8B1B;;;;;;OAMG;IACH,sBAAsB,IAAI,KAAK;IAQ/B;;OAEG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,IAAI,GAAG,IAAI;IAM1B;;;;;OAKG;IACH,MAAM,CAAC,GAAG,SAAS,EAAE,qBAAqB,EAAE,GAAG,IAAI;IAInD;;;;;OAKG;IACH,QAAQ,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,IAAI;IAM7C,OAAO,CAAC,cAAc;IAkBtB;;;OAGG;IACH,WAAW,IAAI,SAAS;IAIxB;;;;;;;;;OASG;IACH,gBAAgB,IAAI,aAAa;IAOjC;;;;;OAKG;IACH,cAAc,IAAI,aAAa;IAI/B;;;;;;;;;OASG;IACH,mBAAmB,CAAC,eAAe,EAAE,eAAe,GAAG,aAAa;IASpE;;;;;OAKG;IACH,iBAAiB,IAAI,aAAa;IAQlC;;;;;;;OAOG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B,WAAW,CAAC,EAAE,SAAS,YAAY,EAAE,SAAS,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,YAAY,GAAG,EAAE;IAOtG,OAAO,CAAC,uBAAuB;YAMjB,OAAO;IAuCrB,OAAO,CAAC,MAAM;CAKjB"}
|