@cratis/screenplay-language 4.61.0 → 4.62.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/AuthoredCommandRoute.d.ts +14 -0
- package/dist/AuthoredCommandRoute.d.ts.map +1 -0
- package/dist/AuthoredEventSource.d.ts +12 -0
- package/dist/AuthoredEventSource.d.ts.map +1 -0
- package/dist/AuthoredStream.d.ts +10 -0
- package/dist/AuthoredStream.d.ts.map +1 -0
- package/dist/AuthoringDocument.d.ts +1 -0
- package/dist/AuthoringDocument.d.ts.map +1 -1
- package/dist/EventSourceAnalysis.d.ts +29 -0
- package/dist/EventSourceAnalysis.d.ts.map +1 -0
- package/dist/bundles/chunk-ZWIZSFH3.js +16 -0
- package/dist/bundles/chunk-ZWIZSFH3.js.map +7 -0
- package/dist/bundles/index.js +47 -36
- package/dist/bundles/index.js.map +4 -4
- package/dist/bundles/sub-languages/projection/index.js +1 -1
- package/dist/bundles/sub-languages/projection/index.js.map +1 -1
- package/dist/completion-items.d.ts.map +1 -1
- package/dist/completions.d.ts +3 -0
- package/dist/completions.d.ts.map +1 -1
- package/dist/diagnostic-codes.d.ts +5 -0
- package/dist/diagnostic-codes.d.ts.map +1 -1
- package/dist/diagnostics.d.ts +3 -2
- package/dist/diagnostics.d.ts.map +1 -1
- package/dist/event-source-authoring.d.ts +39 -0
- package/dist/event-source-authoring.d.ts.map +1 -0
- package/dist/hover-content.d.ts.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/language.d.ts.map +1 -1
- package/dist/response-analysis.d.ts +3 -1
- package/dist/response-analysis.d.ts.map +1 -1
- package/dist/response-tokens.d.ts +2 -1
- package/dist/response-tokens.d.ts.map +1 -1
- package/dist/symbols.d.ts +4 -0
- package/dist/symbols.d.ts.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/bundles/chunk-UNPNNHWD.js +0 -14
- package/dist/bundles/chunk-UNPNNHWD.js.map +0 -7
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AnalysisLocation } from './AnalysisLocation';
|
|
2
|
+
export interface AuthoredCommandRoute {
|
|
3
|
+
readonly eventSource: string;
|
|
4
|
+
readonly stream: string;
|
|
5
|
+
readonly location: AnalysisLocation;
|
|
6
|
+
readonly referenceLocation?: AnalysisLocation;
|
|
7
|
+
readonly referenceLength?: number;
|
|
8
|
+
readonly streamId: {
|
|
9
|
+
readonly location: AnalysisLocation;
|
|
10
|
+
readonly source: unknown;
|
|
11
|
+
} | null;
|
|
12
|
+
readonly propertyCandidate: unknown;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=AuthoredCommandRoute.d.ts.map
|
|
@@ -0,0 +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;CACvC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AnalysisLocation } from './AnalysisLocation';
|
|
2
|
+
import { AnalysisType } from './AnalysisType';
|
|
3
|
+
import { AuthoredStream } from './AuthoredStream';
|
|
4
|
+
export interface AuthoredEventSource {
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly location: AnalysisLocation;
|
|
7
|
+
readonly identifier: AnalysisType | null;
|
|
8
|
+
readonly streams: readonly AuthoredStream[];
|
|
9
|
+
readonly description: string | null;
|
|
10
|
+
readonly id: string | null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AuthoredEventSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthoredEventSource.d.ts","sourceRoot":"","sources":["../AuthoredEventSource.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,YAAY,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AnalysisLocation } from './AnalysisLocation';
|
|
2
|
+
import { AnalysisType } from './AnalysisType';
|
|
3
|
+
export interface AuthoredStream {
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly location: AnalysisLocation;
|
|
6
|
+
readonly streamId: AnalysisType | null;
|
|
7
|
+
readonly description: string | null;
|
|
8
|
+
readonly id: string | null;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=AuthoredStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthoredStream.d.ts","sourceRoot":"","sources":["../AuthoredStream.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,YAAY,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthoringDocument.d.ts","sourceRoot":"","sources":["../AuthoringDocument.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C"}
|
|
1
|
+
{"version":3,"file":"AuthoringDocument.d.ts","sourceRoot":"","sources":["../AuthoringDocument.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC1C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AnalysisCommand } from './AnalysisCommand';
|
|
2
|
+
import { AuthoredCommandRoute } from './AuthoredCommandRoute';
|
|
3
|
+
import { AuthoredEventSource } from './AuthoredEventSource';
|
|
4
|
+
import { AuthoredStream } from './AuthoredStream';
|
|
5
|
+
export interface EventSourceAnalysis {
|
|
6
|
+
readonly declarations: readonly AuthoredEventSource[];
|
|
7
|
+
readonly routes: readonly AuthoredCommandRoute[];
|
|
8
|
+
readonly ambiguousCandidates: readonly AuthoredCommandRoute[];
|
|
9
|
+
readonly contexts: ReadonlyMap<number, {
|
|
10
|
+
readonly command?: AnalysisCommand;
|
|
11
|
+
readonly route?: AuthoredCommandRoute;
|
|
12
|
+
readonly source?: AuthoredEventSource;
|
|
13
|
+
readonly stream?: AuthoredStream;
|
|
14
|
+
}>;
|
|
15
|
+
readonly targets: readonly {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly source: AuthoredEventSource;
|
|
18
|
+
readonly stream: AuthoredStream;
|
|
19
|
+
}[];
|
|
20
|
+
readonly resolve: (source: string, stream?: string) => {
|
|
21
|
+
readonly state: string;
|
|
22
|
+
readonly sources: readonly AuthoredEventSource[];
|
|
23
|
+
readonly streams: readonly AuthoredStream[];
|
|
24
|
+
readonly reasons: readonly string[];
|
|
25
|
+
readonly source?: AuthoredEventSource;
|
|
26
|
+
readonly stream?: AuthoredStream;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=EventSourceAnalysis.d.ts.map
|
|
@@ -0,0 +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;AAElD,MAAM,WAAW,mBAAmB;IAChC,QAAQ,CAAC,YAAY,EAAE,SAAS,mBAAmB,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