@junobuild/admin
Version:
A library for interfacing with admin features of Juno
15 lines (14 loc) • 644 B
TypeScript
/**
* Checks if the selected version can be upgraded from the current version.
* @param {Object} params - The parameters for the version check.
* @param {string} params.currentVersion - The current version.
* @param {string} params.selectedVersion - The selected version.
* @returns {Object} An object indicating whether the upgrade can proceed.
* @returns {boolean} returns.canUpgrade - Whether the selected version can be upgraded from the current version.
*/
export declare const checkUpgradeVersion: ({ currentVersion, selectedVersion }: {
currentVersion: string;
selectedVersion: string;
}) => {
canUpgrade: boolean;
};