@linode/validation
Version:
Yup validation schemas for use with the Linode APIv4
31 lines • 935 B
TypeScript
export declare const stackScriptSchema: import("yup").ObjectSchema<{
script: string;
label: string;
images: string[];
description: string | undefined;
is_public: boolean | undefined;
rev_note: string | undefined;
}, import("yup").AnyObject, {
script: undefined;
label: undefined;
images: undefined;
description: undefined;
is_public: undefined;
rev_note: undefined;
}, "">;
export declare const updateStackScriptSchema: import("yup").ObjectSchema<{
script: string | undefined;
label: string | undefined;
images: string[] | undefined;
description: string | undefined;
is_public: boolean | undefined;
rev_note: string | undefined;
}, import("yup").AnyObject, {
script: undefined;
label: undefined;
images: undefined;
description: undefined;
is_public: undefined;
rev_note: undefined;
}, "">;
//# sourceMappingURL=stackscripts.schema.d.ts.map