| 166 | declare namespace Property { |
| 167 | // could we use .type to strongly type the enum, minimum and maximum? |
| 168 | interface PropertyMetadata { |
| 169 | type?: PrimitiveJsonType; |
| 170 | '@type'?: string; |
| 171 | unit?: string; |
| 172 | title?: string; |
| 173 | description?: string; |
| 174 | links?: Link[]; |
| 175 | enum?: any[]; |
| 176 | readOnly?: boolean; |
| 177 | minimum?: number; |
| 178 | maximum?: number; |
| 179 | multipleOf?: number; |
| 180 | } |
| 181 | |
| 182 | interface PropertyDescription extends PropertyMetadata { |
| 183 | links: Link[]; |
nothing calls this directly
no outgoing calls
no test coverage detected