Added location management from web
This commit is contained in:
@@ -19,15 +19,6 @@ export class ChannelValidation
|
||||
|
||||
@IsEnum(Protobuf.Channel.Channel_Role)
|
||||
role: Protobuf.Channel.Channel_Role;
|
||||
|
||||
@IsBoolean()
|
||||
positionEnabled: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
preciseLocation: boolean;
|
||||
|
||||
@IsInt()
|
||||
positionPrecision: number;
|
||||
}
|
||||
|
||||
export class Channel_SettingsValidation
|
||||
@@ -50,4 +41,13 @@ export class Channel_SettingsValidation
|
||||
|
||||
@IsBoolean()
|
||||
downlinkEnabled: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
positionEnabled: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
preciseLocation: boolean;
|
||||
|
||||
@IsInt()
|
||||
positionPrecision: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user