@cratis/screenplay-language 4.79.0 → 4.80.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/dist/AnalysisSpecification.d.ts +2 -0
- package/dist/AnalysisSpecification.d.ts.map +1 -1
- package/dist/AuthoredCommandRoute.d.ts +1 -1
- package/dist/AuthoredCommandRoute.d.ts.map +1 -1
- package/dist/AuthoredSpecificationEvent.d.ts +10 -0
- package/dist/AuthoredSpecificationEvent.d.ts.map +1 -0
- package/dist/EventSourceAnalysis.d.ts +3 -0
- package/dist/EventSourceAnalysis.d.ts.map +1 -1
- package/dist/bundles/{chunk-7PEIIGGH.js → chunk-WIBDNFQK.js} +13 -13
- package/dist/bundles/{chunk-7PEIIGGH.js.map → chunk-WIBDNFQK.js.map} +3 -3
- package/dist/bundles/index.js +39 -34
- package/dist/bundles/index.js.map +3 -3
- package/dist/bundles/sub-languages/projection/index.js +1 -1
- package/dist/diagnostic-codes.d.ts +5 -0
- package/dist/diagnostic-codes.d.ts.map +1 -1
- package/dist/event-source-authoring.d.ts +1 -0
- package/dist/event-source-authoring.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/response-analysis.d.ts.map +1 -1
- package/dist/response-tokens.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AnalysisLocation } from './AnalysisLocation';
|
|
2
|
+
import { AuthoredSpecificationEvent } from './AuthoredSpecificationEvent';
|
|
2
3
|
export interface AnalysisSpecification {
|
|
3
4
|
readonly location: AnalysisLocation;
|
|
4
5
|
readonly when: {
|
|
@@ -8,6 +9,7 @@ export interface AnalysisSpecification {
|
|
|
8
9
|
readonly location: AnalysisLocation;
|
|
9
10
|
}[];
|
|
10
11
|
} | null;
|
|
12
|
+
readonly thenEvents?: readonly AuthoredSpecificationEvent[];
|
|
11
13
|
readonly thenReturns?: {
|
|
12
14
|
readonly kind: 'ScalarSpecificationReturnSyntax' | 'RecordSpecificationReturnSyntax';
|
|
13
15
|
readonly location: AnalysisLocation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisSpecification.d.ts","sourceRoot":"","sources":["../AnalysisSpecification.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"AnalysisSpecification.d.ts","sourceRoot":"","sources":["../AnalysisSpecification.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE;QAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS;YAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAA;SAAE,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IACjK,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAC;IAC5D,QAAQ,CAAC,WAAW,CAAC,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,iCAAiC,GAAG,iCAAiC,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAA;KAAE,GAAG,IAAI,CAAC;CAC/J"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthoredCommandRoute.d.ts","sourceRoot":"","sources":["../AuthoredCommandRoute.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,oBAAoB;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;IAC9C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5F,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthoredCommandRoute.d.ts","sourceRoot":"","sources":["../AuthoredCommandRoute.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,oBAAoB;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;IAC9C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5F,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CACxC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AnalysisLocation } from './AnalysisLocation';
|
|
2
|
+
import { AuthoredCommandRoute } from './AuthoredCommandRoute';
|
|
3
|
+
export interface AuthoredSpecificationEvent {
|
|
4
|
+
readonly location: AnalysisLocation;
|
|
5
|
+
readonly stream?: AuthoredCommandRoute | null;
|
|
6
|
+
readonly noStream?: {
|
|
7
|
+
readonly location: AnalysisLocation;
|
|
8
|
+
} | null;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=AuthoredSpecificationEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthoredSpecificationEvent.d.ts","sourceRoot":"","sources":["../AuthoredSpecificationEvent.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,0BAA0B;IACvC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAA;KAAE,GAAG,IAAI,CAAC;CACtE"}
|
|
@@ -2,12 +2,15 @@ import { AnalysisCommand } from './AnalysisCommand';
|
|
|
2
2
|
import { AuthoredCommandRoute } from './AuthoredCommandRoute';
|
|
3
3
|
import { AuthoredEventSource } from './AuthoredEventSource';
|
|
4
4
|
import { AuthoredStream } from './AuthoredStream';
|
|
5
|
+
import { AuthoredSpecificationEvent } from './AuthoredSpecificationEvent';
|
|
5
6
|
export interface EventSourceAnalysis {
|
|
6
7
|
readonly declarations: readonly AuthoredEventSource[];
|
|
7
8
|
readonly routes: readonly AuthoredCommandRoute[];
|
|
8
9
|
readonly ambiguousCandidates: readonly AuthoredCommandRoute[];
|
|
9
10
|
readonly contexts: ReadonlyMap<number, {
|
|
10
11
|
readonly command?: AnalysisCommand;
|
|
12
|
+
readonly event?: AuthoredSpecificationEvent;
|
|
13
|
+
readonly expectation?: boolean;
|
|
11
14
|
readonly route?: AuthoredCommandRoute;
|
|
12
15
|
readonly source?: AuthoredEventSource;
|
|
13
16
|
readonly stream?: AuthoredStream;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventSourceAnalysis.d.ts","sourceRoot":"","sources":["../EventSourceAnalysis.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"EventSourceAnalysis.d.ts","sourceRoot":"","sources":["../EventSourceAnalysis.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,MAAM,WAAW,mBAAmB;IAChC,QAAQ,CAAC,YAAY,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACjD,QAAQ,CAAC,mBAAmB,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC9D,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE;QAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC;QAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,0BAA0B,CAAC;QAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,oBAAoB,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAA;KAAE,CAAC,CAAC;IAC5Q,QAAQ,CAAC,OAAO,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAA;KAAE,EAAE,CAAC;IAC9H,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAA;KAAE,CAAC;CAClS"}
|