UNPKG

apibuilder-js

Version:

A reference implementation of API Builder for JavaScript

22 lines (20 loc) 402 B
export const Regex = { ARRAYOF: /^\[(.+)\]$/, OBJECTOF: /^map\[(.+)\]$/, }; export const Kind = { ARRAY: 'array', BOOLEAN: 'boolean', DATE_ISO8601: 'date-iso8601', DATE_TIME_ISO8601: 'date-time-iso8601', DECIMAL: 'decimal', DOUBLE: 'double', INTEGER: 'integer', JSON: 'json', LONG: 'long', MAP: 'map', OBJECT: 'object', STRING: 'string', UNIT: 'unit', UUID: 'uuid', };