@junobuild/cli-tools
Version:
A collection of tools for Juno CLIs and Plugins.
12 lines (11 loc) • 773 B
TypeScript
import type { COLLECTION_CDN_RELEASES, COLLECTION_DAPP } from '../constants/deploy.constants';
import type { DeployParams, DeployResultWithProposal, FileAndPaths, UploadFileWithProposal } from '../types/deploy';
import type { ProposeChangesParams } from '../types/proposal';
export declare const deployAndProposeChanges: ({ deploy: { uploadFile, files, sourceAbsolutePath, collection }, proposal: { proposalType, autoCommit, ...proposalRest } }: {
deploy: Pick<DeployParams<UploadFileWithProposal>, "uploadFile"> & {
files: FileAndPaths[];
sourceAbsolutePath: string;
collection: typeof COLLECTION_DAPP | typeof COLLECTION_CDN_RELEASES;
};
proposal: Omit<ProposeChangesParams, "executeChanges">;
}) => Promise<DeployResultWithProposal>;