aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/@actions/core/lib/utils.d.ts
blob: 3b9e28d5f206c2a16dcb54c3442042737d330b0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { AnnotationProperties } from './core';
import { CommandProperties } from './command';
/**
 * Sanitizes an input into a string so it can be passed into issueCommand safely
 * @param input input to sanitize into a string
 */
export declare function toCommandValue(input: any): string;
/**
 *
 * @param annotationProperties
 * @returns The command properties to send with the actual annotation command
 * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
 */
export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties;