@linode/validation
Version:
Yup validation schemas for use with the Linode APIv4
29 lines • 901 B
TypeScript
export declare const updateIPSchema: import("yup").ObjectSchema<{
rdns: import("yup").Maybe<string | undefined>;
}, import("yup").AnyObject, {
rdns: undefined;
}, "">;
export declare const allocateIPSchema: import("yup").ObjectSchema<{
type: string;
public: NonNullable<boolean | undefined>;
linode_id: number;
}, import("yup").AnyObject, {
type: undefined;
public: undefined;
linode_id: undefined;
}, "">;
export declare const assignAddressesSchema: import("yup").ObjectSchema<{
region: string;
assignments: {}[];
}, import("yup").AnyObject, {
region: undefined;
assignments: "";
}, "">;
export declare const shareAddressesSchema: import("yup").ObjectSchema<{
linode_id: number;
ips: (string | undefined)[] | undefined;
}, import("yup").AnyObject, {
linode_id: undefined;
ips: "";
}, "">;
//# sourceMappingURL=networking.schema.d.ts.map