Merge pull request #10990 from zmstone/0609-fix-schema-for-dashboard-use

0609 fix schema for dashboard use
This commit is contained in:
Zaiming (Stone) Shi 2023-06-09 15:07:51 +02:00 committed by GitHub
commit 643da0564b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

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