UNPKG

@enre/pop-runtypes

Version:

runtypes for validating data using simple-runtypes

24 lines (23 loc) 929 B
import * as st from "simple-runtypes"; export declare const UpdatePostEditableFieldsTypemap: { postTitle: st.OptionalRuntype<string | null>; requiresPremium: st.OptionalRuntype<boolean | null>; description: st.OptionalRuntype<string | null>; }; export declare const UpdatePostRequestTypemap: { postId: st.Runtype<string>; postTitle: st.OptionalRuntype<string | null>; requiresPremium: st.OptionalRuntype<boolean | null>; description: st.OptionalRuntype<string | null>; }; export declare const UpdatePostEditableFieldsSloppy: st.Runtype<{ description?: string | null | undefined; postTitle?: string | null | undefined; requiresPremium?: boolean | null | undefined; }>; export declare const UpdatePostRequestSloppy: st.Runtype<{ postId: string; description?: string | null | undefined; postTitle?: string | null | undefined; requiresPremium?: boolean | null | undefined; }>;