forked from agama-project/agama
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
30af376
commit 079e768
Showing
10 changed files
with
144 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* eslint-disable */ | ||
/** | ||
* This file was automatically generated by json-schema-to-typescript. | ||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, | ||
* and run json-schema-to-typescript to regenerate this file. | ||
*/ | ||
|
||
export type FilesystemType = | ||
| "bcachefs" | ||
| "btrfs" | ||
| "exfat" | ||
| "ext2" | ||
| "ext3" | ||
| "ext4" | ||
| "f2fs" | ||
| "jfs" | ||
| "nfs" | ||
| "nilfs2" | ||
| "ntfs" | ||
| "reiserfs" | ||
| "swap" | ||
| "tmpfs" | ||
| "vfat" | ||
| "xfs"; | ||
export type SpacePolicy = "delete" | "resize" | "keep" | "custom"; | ||
export type PtableType = "gpt" | "msdos" | "dasd"; | ||
export type PartitionId = "linux" | "swap" | "lvm" | "raid" | "esp" | "prep" | "bios_boot"; | ||
|
||
/** | ||
* Config model | ||
*/ | ||
export interface Config { | ||
drives?: Drive[]; | ||
} | ||
export interface Drive { | ||
name: string; | ||
alias?: string; | ||
mountPath?: string; | ||
filesystem?: Filesystem; | ||
spacePolicy?: SpacePolicy; | ||
ptableType?: PtableType; | ||
partitions?: Partition[]; | ||
} | ||
export interface Filesystem { | ||
default: boolean; | ||
type?: FilesystemType; | ||
snapshots?: boolean; | ||
} | ||
export interface Partition { | ||
name?: string; | ||
alias?: string; | ||
id?: PartitionId; | ||
mountPath?: string; | ||
filesystem?: Filesystem; | ||
size?: Size; | ||
delete?: boolean; | ||
deleteIfNeeded?: boolean; | ||
resize?: boolean; | ||
resizeIfNeeded?: boolean; | ||
} | ||
export interface Size { | ||
default: boolean; | ||
min: number; | ||
max?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters