Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Relation

import type { Relation } from "https://googleapis.deno.dev/v1/people:v1.ts";

A person's relation to another person.

interface Relation {
readonly formattedType?: string;
metadata?: FieldMetadata;
person?: string;
type?: string;
}

§Properties

§
readonly formattedType?: string
[src]

Output only. The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.

§

Metadata about the relation.

§
person?: string
[src]

The name of the other person this relation refers to.

§
type?: string
[src]

The person's relation to the other person. The type can be custom or one of these predefined values: * spouse * child * mother * father * parent * brother * sister * friend * relative * domesticPartner

  • manager * assistant * referredBy * partner