ApiSchemasVariables
Variable: moneyGroups
const moneyGroups: object;Defined in: packages/core/src/schemas/library/money.ts:196
This file's part of standardGroups
Type Declaration
Money and trade
"Money and trade": (
| object & Typed<{
amount: {
amount: string;
currency: string;
};
date?: string;
note?: string;
owedBy?: readonly string[];
paidBy: string;
split?: readonly object[];
title: string;
}>
| object & Typed<{
amount: {
amount: string;
currency: string;
};
date?: string;
from: string;
note?: string;
to: string;
}>
| object & Typed<{
currency: string;
kind?: string;
name: string;
}>
| object & Typed<{
amount: {
amount: string;
currency: string;
};
category?: string;
cleared?: boolean;
date: string;
note?: string;
payee?: string;
}>
| object & Typed<{
category?: string;
condition?: "new" | "like-new" | "good" | "fair" | "for-parts";
description?: string;
images?: readonly object[];
place?: {
address?: {
country?: ... | ...;
locality?: ... | ...;
postcode?: ... | ...;
region?: ... | ...;
street?: ... | ...;
};
cells?: readonly string[];
lat?: number;
lon?: number;
name?: string;
};
price?: {
amount: string;
currency: string;
};
status?: "available" | "reserved" | "sold";
title: string;
}>
| object & Typed<{
items: readonly object[];
note?: string;
respondingTo?: string;
total?: {
amount: string;
currency: string;
};
}>
| object & Typed<{
note?: string;
respondingTo?: string;
status: "cancelled" | "accepted" | "paid" | "shipped" | "delivered" | "refunded";
}>)[];