code quality improvements and improved file error handling
This commit is contained in:
@@ -61,14 +61,14 @@ export type InitialValuesForm = {
|
||||
|
||||
export type NPEDFieldType = {
|
||||
frontId: string;
|
||||
username: string;
|
||||
password: string;
|
||||
clientId: string;
|
||||
username: string | undefined;
|
||||
password: string | undefined;
|
||||
clientId: string | undefined;
|
||||
rearId: string;
|
||||
};
|
||||
|
||||
export type HotlistUploadType = {
|
||||
file: string | null;
|
||||
file: File | null;
|
||||
};
|
||||
|
||||
export type VersionFieldType = {
|
||||
@@ -99,9 +99,9 @@ export type NpedJSON = {
|
||||
};
|
||||
|
||||
export type NPEDUser = {
|
||||
username: string;
|
||||
clientId: string;
|
||||
password?: string;
|
||||
propUsername?: Prop;
|
||||
propClientID?: Prop;
|
||||
propPassword?: Prop;
|
||||
};
|
||||
|
||||
export type NPEDErrorValues = {
|
||||
|
||||
Reference in New Issue
Block a user