@evoke-platform/ui-components 1.11.1-dev.0 → 1.11.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,7 +52,7 @@ export declare function normalizeDateTime(dateTime: LocalDateTime): string;
|
|
|
52
52
|
export declare function normalizeDates(instances: ObjectInstance[], object?: Obj): void;
|
|
53
53
|
export declare function retrieveCustomErrorMessage(error: AxiosError<any>): string | undefined;
|
|
54
54
|
type CorruptedFile = {
|
|
55
|
-
handle
|
|
55
|
+
handle?: Record<string, never>;
|
|
56
56
|
path: string;
|
|
57
57
|
relativePath: string;
|
|
58
58
|
};
|
|
@@ -1451,5 +1451,5 @@ function convertVisibilityToConditional(visibility) {
|
|
|
1451
1451
|
return value.some((item) => isCorruptedFile(item));
|
|
1452
1452
|
}
|
|
1453
1453
|
export function isCorruptedFile(file) {
|
|
1454
|
-
return '
|
|
1454
|
+
return 'path' in file && 'relativePath' in file && !(file instanceof File);
|
|
1455
1455
|
}
|