@dicebear/avatars
Version:
An avatar library for designers and developers.
43 lines (42 loc) • 1.13 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 Radius = number;
export declare type Width = number;
export declare type Height = number;
export declare type Margin = number;
export declare type BackgroundColor = string | "transparent";
/**
* @deprecated use backgroundColor instead
*/
export declare type BackgroundColor1 = string | "transparent";
export interface Options {
seed?: Seed;
s?: Seed;
base64?: Base64;
dataUri?: DataURI;
userAgent?: UserAgent;
radius?: Radius;
r?: Radius;
width?: Width;
w?: Width;
height?: Height;
h?: Height;
margin?: Margin;
m?: Margin;
backgroundColor?: BackgroundColor;
background?: BackgroundColor1;
b?: BackgroundColor;
}