@spheron/protocol-sdk
Version:
Spheron Protocol SDK
25 lines • 763 B
TypeScript
import { NetworkType } from '@config/index';
import { ServiceManifest } from './manifest-utils';
import { OrderDetails } from '@modules/order/types';
declare enum Tier {
One = 0,
Two = 1,
Three = 2,
Four = 3,
Five = 4,
Six = 5,
Seven = 6
}
export declare const yamlToOrderDetails: (yamlString: string, networkType: NetworkType) => {
error: boolean;
orderDetails?: OrderDetails;
message?: string;
};
export declare const getKeysByTierValues: (tierValues: Tier[]) => string[];
export declare const getKeysForTiersString: (tiersString: string) => string[];
export declare const getManifestIcl: (yamlInput: string) => {
name: string;
services: ServiceManifest[];
}[];
export {};
//# sourceMappingURL=deployment.d.ts.map