@dicebear/avatars
Version:
An avatar library for designers and developers.
64 lines (63 loc) • 1.62 kB
TypeScript
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export declare type Seed = string;
/**
* @deprecated use dataUri instead
*/
export declare type Base64 = boolean;
export declare type DataURI = boolean;
/**
* @deprecated
*/
export declare type UserAgent = string;
export declare type Flip = boolean;
export declare type Rotate = number;
export declare type Scale = number;
export declare type Radius = number;
/**
* @deprecated use size instead
*/
export declare type Width = number;
/**
* @deprecated use size instead
*/
export declare type Height = number;
export declare type Size = number;
/**
* @deprecated use scale instead
*/
export declare type Margin = number;
export declare type BackgroundColor = string | (string | string)[];
/**
* @deprecated use backgroundColor instead
*/
export declare type BackgroundColor1 = string | (string | string)[];
export declare type TranslateX = number;
export declare type TranslateY = number;
export interface Options {
seed?: Seed;
s?: Seed;
base64?: Base64;
dataUri?: DataURI;
userAgent?: UserAgent;
flip?: Flip;
rotate?: Rotate;
scale?: Scale;
radius?: Radius;
r?: Radius;
width?: Width;
w?: Width;
height?: Height;
h?: Height;
size?: Size;
margin?: Margin;
m?: Margin;
backgroundColor?: BackgroundColor;
background?: BackgroundColor1;
b?: BackgroundColor;
translateX?: TranslateX;
translateY?: TranslateY;
}