(field: IBaseFieldMeta)
| 21 | } |
| 22 | |
| 23 | formatSelectField(field: IBaseFieldMeta) { |
| 24 | const property = field.property as any; |
| 25 | if (!property || !property?.options) { |
| 26 | { |
| 27 | return ''; |
| 28 | } |
| 29 | } |
| 30 | const options = property.options as any; |
| 31 | if (!options) { |
| 32 | return ''; |
| 33 | } |
| 34 | const optionsStr = options.map((o: any) => `"${ o.name }"`).join(' | '); |
| 35 | return `${ field.name }: ${ optionsStr };`; |
| 36 | } |
| 37 | |
| 38 | formatMultiSelectField(field: IBaseFieldMeta) { |
| 39 | const property = field.property as any; |
no outgoing calls
no test coverage detected