@enre/pop-runtypes
Version:
runtypes for validating data using simple-runtypes
34 lines (33 loc) • 872 B
TypeScript
import * as st from "simple-runtypes";
export declare const ImageKitFileInfoRuntype: {
type: st.Runtype<string>;
name: st.Runtype<string>;
createdAt: st.Runtype<Date>;
updatedAt: st.Runtype<Date>;
fileId: st.Runtype<string>;
isPrivateFile: st.Runtype<boolean>;
fileType: st.Runtype<string>;
filePath: st.Runtype<string>;
embeddedMetadata: st.Runtype<{
ImageHeight: number;
ImageWidth: number;
}>;
size: st.Runtype<number>;
mime: st.Runtype<string>;
};
export declare const ImageKitFileInfoSloppy: st.Runtype<{
type: string;
name: string;
size: number;
createdAt: Date;
updatedAt: Date;
fileId: string;
isPrivateFile: boolean;
fileType: string;
filePath: string;
embeddedMetadata: {
ImageHeight: number;
ImageWidth: number;
};
mime: string;
}>;