@apillon/sdk
Version:
▶◀ Apillon SDK for NodeJS ▶◀
41 lines • 1.23 kB
TypeScript
import { ApillonModel } from '../../lib/apillon';
import { DeployToEnvironment, DeploymentStatus } from '../../types/hosting';
export declare class Deployment extends ApillonModel {
/**
* Unique identifier of the website.
*/
websiteUuid: string;
/**
* IPFS CID for the deployment.
*/
cid: string;
/**
* IPFS V1 CID for the deployment.
*/
cidv1: string;
/**
* Environment of the deployment
*/
environment: DeployToEnvironment;
/**
* Status of the deployment
*/
deploymentStatus: DeploymentStatus;
/**
* Size of the website in bytes
*/
size: number;
/**
* Serial number of the deployment for this environment
*/
number: number;
/**
* Constructor which should only be called via HostingWebsite class.
* @param websiteUuid Unique identifier of the deployment's website.
* @param deploymentUuid Unique identifier of the deployment.
* @param data Data to populate the deployment with.
*/
constructor(websiteUuid: string, deploymentUuid: string, data?: Partial<Deployment>);
protected serializeFilter(key: string, value: any): any;
}
//# sourceMappingURL=deployment.d.ts.map