(s, o)
| 26272 | ) |
| 26273 | } |
| 26274 | convertKeyToRefract(s, o) { |
| 26275 | return this.shouldRefract(o) |
| 26276 | ? this.serialise(o) |
| 26277 | : 'enum' === o.element |
| 26278 | ? this.serialiseEnum(o) |
| 26279 | : 'array' === o.element |
| 26280 | ? o.map((o) => |
| 26281 | this.shouldRefract(o) || 'default' === s |
| 26282 | ? this.serialise(o) |
| 26283 | : 'array' === o.element || 'object' === o.element || 'enum' === o.element |
| 26284 | ? o.children.map((s) => this.serialise(s)) |
| 26285 | : o.toValue() |
| 26286 | ) |
| 26287 | : 'object' === o.element |
| 26288 | ? (o.content || []).map(this.serialise, this) |
| 26289 | : o.toValue() |
| 26290 | } |
| 26291 | serialiseEnum(s) { |
| 26292 | return s.children.map((s) => this.serialise(s)) |
| 26293 | } |
no test coverage detected