UNPKG

@junobuild/admin

Version:

A library for interfacing with admin features of Juno

21 lines (20 loc) 1.04 kB
import type { SatelliteParameters } from '../types/actor.types'; import type { BuildType } from '../types/build.types'; /** * Retrieves the version of the satellite. * @param {Object} params - The parameters for retrieving the version. * @param {SatelliteParameters} params.satellite - The satellite parameters. * @returns {Promise<string>} A promise that resolves to the version of the satellite. */ export declare const satelliteVersion: ({ satellite: { satelliteId, ...rest } }: { satellite: SatelliteParameters; }) => Promise<string>; /** * Retrieves the build type of the satellite. * @param {Object} params - The parameters for retrieving the build type. * @param {SatelliteParameters} params.satellite - The satellite parameters. * @returns {Promise<BuildType | undefined>} A promise that resolves to the build type of the satellite or undefined if not found. */ export declare const satelliteBuildType: ({ satellite: { satelliteId, ...rest } }: { satellite: SatelliteParameters; }) => Promise<BuildType | undefined>;