UNPKG

@flxbl-io/sfp

Version:

sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model

64 lines (63 loc) 1.45 kB
import { Changelog, Commit } from '../../core/changelog/interfaces/GenericChangelogInterfaces'; export declare class ReleaseChangelog { releases: Release[]; orgs?: org[]; } export declare class org { /** * Name of the org */ name: string; /** * History of releases to the org */ releases: ReleaseId[]; /** * Latest release deployed to org */ latestRelease: ReleaseId; /** * Number of consecutive deployments of the latest release to the org */ retryCount: number; } export declare class ReleaseId { names: string[]; buildNumber: number; hashId: string; date?: string; } export interface Release extends ReleaseId { workItems: any; artifacts: Artifact[]; } export interface Artifact extends Changelog { /** * Name of the artifact */ name: string; /** * Commit Id from which previous artifact was created */ from: string; /** * Commit Id from which current artifact was created */ to: string; /** * Package version number */ version: string; /** * Latest commit Id in the package changelog */ latestCommitId: string; /** * Repository URL where the artifact was generated */ repoUrl?: string; /** * Commits between previous artifact's package changelog and current artifact's package changelog */ commits: Commit[]; }