Formats: Add raw format to formatRegistry (#26743)

This commit is contained in:
Simon Podlipsky
2020-07-31 15:15:52 -07:00
committed by GitHub
parent a0c1e53fd0
commit 094254c0c6
@@ -28,6 +28,12 @@ export const formatRegistry = new Registry<FormatRegistryItem>(() => {
return '(' + quotedValues.join(' OR ') + ')';
},
},
{
id: 'raw',
name: 'raw',
description: 'Keep value as is',
formatter: value => value,
},
{
id: 'regex',
name: 'Regex',