sim 2.3.0-preview.324.1 → 2.3.0-preview.326.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/README.md +3 -2
- package/dist/commands/protocol/deployed-urls.d.ts +25 -0
- package/dist/commands/protocol/run-source-location.d.ts +7 -0
- package/dist/commands/protocol/source-check.d.ts +2 -0
- package/dist/commands/protocol/source-dir/command-lock.d.ts +1 -1
- package/dist/commands/protocol/source-loop-help.d.ts +4 -0
- package/dist/commands/protocol/source-primer.d.ts +5 -2
- package/dist/commands/protocol/source-ui.d.ts +6 -2
- package/dist/contract/types.d.ts +2 -0
- package/dist/exit-codes.d.ts +8 -0
- package/dist/generated/v2-api.d.ts +42 -42
- package/dist/http/client.d.ts +2 -0
- package/dist/index.js +13680 -13234
- package/dist/output/github-actions.d.ts +23 -0
- package/dist/runtime.js +13680 -13234
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Where an annotation points: a file relative to the repository, and a line and column in it. */
|
|
2
|
+
export interface AnnotationSite {
|
|
3
|
+
file?: string;
|
|
4
|
+
line?: number;
|
|
5
|
+
column?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
}
|
|
8
|
+
/** One `::error`/`::warning`/`::notice` workflow command line. */
|
|
9
|
+
export declare function annotationLine(level: 'error' | 'warning' | 'notice', message: string, site?: AnnotationSite): string;
|
|
10
|
+
/**
|
|
11
|
+
* `file` (relative to the source directory `dir`) as the runner resolves an annotation's path:
|
|
12
|
+
* relative to the repository root (`GITHUB_WORKSPACE`), whatever the step's working directory. A
|
|
13
|
+
* file outside the repository is given by its absolute path.
|
|
14
|
+
*/
|
|
15
|
+
export declare function annotationPath(dir: string, file: string, env?: NodeJS.ProcessEnv): string;
|
|
16
|
+
/** Prints `lines` as workflow commands, when this is a GitHub Actions step. */
|
|
17
|
+
export declare function printAnnotations(lines: readonly string[]): void;
|
|
18
|
+
/**
|
|
19
|
+
* Appends `markdown()` (built only then) to the job's step summary, when this is a GitHub Actions
|
|
20
|
+
* step that has one. A summary that cannot be written is reported and skipped: the command's own
|
|
21
|
+
* result stands.
|
|
22
|
+
*/
|
|
23
|
+
export declare function appendStepSummary(markdown: () => string, env?: NodeJS.ProcessEnv): void;
|