1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-12-24 13:14:26 +00:00
action-ansible-playbook/node_modules/@actions/core/lib/utils.d.ts

15 lines
641 B
TypeScript
Raw Normal View History

2022-10-21 14:44:44 +00:00
import { AnnotationProperties } from './core';
import { CommandProperties } from './command';
2020-11-12 15:41:30 +00:00
/**
* 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;
2022-10-21 14:44:44 +00:00
/**
*
* @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;