()
| 188 | return settings.getNameVariants(); |
| 189 | }, |
| 190 | async next() { |
| 191 | const version = (await settings.getVersion()) ?? initialVersion; |
| 192 | const list = getSchemasOfVariant(parse(version)!.prerelease); |
| 193 | const index = list.findIndex((schema) => schema.version === version); |
| 194 | |
| 195 | return list[index + 1]; |
| 196 | }, |
| 197 | async previous() { |
| 198 | const version = await settings.getVersion(); |
| 199 | if (!version) return; |
no test coverage detected