Skip to content

Commit 0121e62

Browse files
committed
refactor: FileProperty - sizeUnit - types refactor
1 parent 14af816 commit 0121e62

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Common/CIPipeline.Types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,15 @@ export enum RefVariableStageType {
9999
POST_CI = 'POST_CI',
100100
}
101101

102+
export enum FilePropertyTypeSizeUnit {
103+
KB = 'KB',
104+
MB = 'MB',
105+
}
106+
102107
export interface FilePropertyType {
103108
allowedExtensions: string[]
104109
maxUploadSize: number
105-
sizeUnit: 'KB' | 'MB'
110+
sizeUnit: FilePropertyTypeSizeUnit
106111
}
107112

108113
export interface ConstraintType {

0 commit comments

Comments
 (0)