You've already forked dynamic-badges-action
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
|
|
interface Format {
|
||
|
|
label?: string
|
||
|
|
message: string
|
||
|
|
labelColor?: string
|
||
|
|
color?: string
|
||
|
|
style?: 'plastic' | 'flat' | 'flat-square' | 'for-the-badge' | 'social'
|
||
|
|
}
|
||
|
|
|
||
|
|
export declare class ValidationError extends Error {}
|
||
|
|
|
||
|
|
export declare function makeBadge(format: Format): string
|