ApiSchemasVariables
Variable: lifeGroups
const lifeGroups: object;Defined in: packages/core/src/schemas/library/life.ts:240
This file's part of standardGroups
Type Declaration
Home and life
"Home and life": (
| object & Typed<{
cookMinutes?: number;
description?: string;
image?: {
alt?: string;
blob: {
hash: string;
key?: string;
mime: string;
name?: string;
salt?: string;
size: number;
};
};
ingredients?: readonly object[];
prepMinutes?: number;
servings?: number;
source?: string;
steps?: readonly string[];
title: string;
}>
| object & Typed<{
date: string;
meal: "breakfast" | "lunch" | "dinner" | "snack";
note?: string;
}>
| object & Typed<{
content?: string;
date: string;
mood?: string;
}>
| object & Typed<{
at: string;
kind: string;
note?: string;
unit: string;
value: number;
}>
| object & Typed<{
distance?: number;
duration?: number;
note?: string;
route?: {
hash: string;
key?: string;
mime: string;
name?: string;
salt?: string;
size: number;
};
start: string;
type: string;
}>
| object & Typed<{
cover?: {
hash: string;
key?: string;
mime: string;
name?: string;
salt?: string;
size: number;
};
creators?: readonly string[];
ids?: {
imdb?: string;
isbn?: string;
mbid?: string;
wikidata?: string;
};
kind: "other" | "album" | "book" | "film" | "show" | "game" | "podcast";
title: string;
year?: number;
}>
| object & Typed<{
finishedAt?: string;
note?: string;
percent?: number;
status: "doing" | "done" | "want" | "dropped";
}>)[];Places and travel
"Places and travel": (
| object & Typed<{
address?: {
country?: string;
locality?: string;
postcode?: string;
region?: string;
street?: string;
};
category?: string;
cells?: readonly string[];
lat?: number;
lon?: number;
name: string;
url?: string;
}>
| object & Typed<{
at: string;
note?: string;
}>
| object & Typed<{
end?: string;
note?: string;
start?: string;
title: string;
}>
| object & Typed<{
accuracy?: number;
at: string;
lat: number;
lon: number;
}>)[];