penguins-eggs
Version:
A remaster system tool, compatible with Arch, Debian, Devuan, Ubuntu and others
41 lines (40 loc) • 1.15 kB
TypeScript
/**
* ./src/interfaces/i-calamares-partition.ts
* penguins-eggs v.10.0.0 / ecmascript 2020
* author: Piero Proietti
* email: piero.proietti@gmail.com
* license: MIT
*/
export interface ICalamaresPartition {
efiSystemPartition: string;
efiSystemPartitionSize?: string;
userSwapChoices: string[];
swapPartitionName?: string;
drawNestedPartitions: boolean;
alwaysShowPartitionLabels: boolean;
initialPartitioningChoice: string;
initialSwapChoice: string;
defaultFileSystemType: string;
availableFileSystemTypes: string[];
requiredStorage: number;
ensureSuspendToDisk?: boolean;
neverCreateSwap?: boolean;
defaultPartitionTableType?: string;
requiredPartitionTableType?: string | string[];
enableLuksAutomatedPartitioning?: boolean;
partitionLayout?: PartitionLayout[];
}
export interface PartitionLayout {
name: string;
type?: string;
uuid?: string;
attributes?: string;
filesystem?: string;
mountPoint?: string;
size: string;
minSize?: string;
maxSize?: string;
features?: {
[key: string]: boolean | number | string;
};
}