dhaga.docs
API referenceFunctions

emptyContactProfile()

function emptyContactProfile(): object;

Defined in: schemas/contact.ts:69

An empty full profile — the seed for the manual add form.

Returns

object

name

name: string;

nickname

nickname: string | null;

positions

positions: object[];

emails

emails: object[];

phones

phones: object[];
links: object[];

addresses

addresses: object[];

importantDates

importantDates: object[];

customFields

customFields: object[];

location

location: string | null;

On this page