fix(schema): map new duration types to dashboard's type name

This commit is contained in:
Zaiming (Stone) Shi 2023-06-09 09:14:55 +02:00
parent af5c6720de
commit 38e767b808
1 changed files with 6 additions and 0 deletions

View File

@ -320,10 +320,16 @@ typename_to_spec("atom()", _Mod) ->
#{type => string};
typename_to_spec("duration()", _Mod) ->
#{type => duration};
typename_to_spec("timeout_duration()", _Mod) ->
#{type => duration};
typename_to_spec("duration_s()", _Mod) ->
#{type => duration};
typename_to_spec("timeout_duration_s()", _Mod) ->
#{type => duration};
typename_to_spec("duration_ms()", _Mod) ->
#{type => duration};
typename_to_spec("timeout_duration_ms()", _Mod) ->
#{type => duration};
typename_to_spec("percent()", _Mod) ->
#{type => percent};
typename_to_spec("file()", _Mod) ->