mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-12-04 21:24:29 +01:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
12 lines
353 B
Text
12 lines
353 B
Text
{{# def.definitions }}
|
|
{{# def.errors }}
|
|
{{# def.setupKeyword }}
|
|
{{# def.$data }}
|
|
|
|
{{# def.numberKeyword }}
|
|
|
|
{{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
|
|
if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
|
|
{{ var $errorKeyword = $keyword; }}
|
|
{{# def.error:'_limitItems' }}
|
|
} {{? $breakOnError }} else { {{?}}
|