MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / next

Function next

packages/core/fumadb/src/migration-engine/create.ts:190–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 10

start.tsFile · 0.50
ssr-gate.tsFile · 0.50
sentry-tunnel.tsFile · 0.50
docs.tsFile · 0.50
marketing.tsFile · 0.50
posthog.tsFile · 0.50
onRequestFunction · 0.50
configureServerFunction · 0.50
configureServerFunction · 0.50

Calls 1

getSchemasOfVariantFunction · 0.85

Tested by

no test coverage detected