formatting

This commit is contained in:
Hayden 2023-01-28 11:49:50 -09:00
parent 5c41bb40bc
commit 386185ba15
No known key found for this signature in database
GPG key ID: 17CF79474E257545
2 changed files with 5 additions and 6 deletions

View file

@ -229,7 +229,7 @@ export interface LocationUpdate {
export interface MaintenanceEntry { export interface MaintenanceEntry {
/** @example "0" */ /** @example "0" */
cost: string; cost: string;
date: string; date: Date;
description: string; description: string;
id: string; id: string;
name: string; name: string;
@ -238,7 +238,7 @@ export interface MaintenanceEntry {
export interface MaintenanceEntryCreate { export interface MaintenanceEntryCreate {
/** @example "0" */ /** @example "0" */
cost: string; cost: string;
date: string; date: Date;
description: string; description: string;
name: string; name: string;
} }
@ -246,7 +246,7 @@ export interface MaintenanceEntryCreate {
export interface MaintenanceEntryUpdate { export interface MaintenanceEntryUpdate {
/** @example "0" */ /** @example "0" */
cost: string; cost: string;
date: string; date: Date;
description: string; description: string;
name: string; name: string;
} }
@ -258,7 +258,7 @@ export interface MaintenanceLog {
itemId: string; itemId: string;
} }
export interface PaginationResultItemSummary { export interface PaginationResultRepoItemSummary {
items: ItemSummary[]; items: ItemSummary[];
page: number; page: number;
pageSize: number; pageSize: number;
@ -302,7 +302,7 @@ export interface ValueOverTime {
} }
export interface ValueOverTimeEntry { export interface ValueOverTimeEntry {
date: string; date: Date;
name: string; name: string;
value: number; value: number;
} }

View file

@ -1,6 +1,5 @@
export type Codes = "USD" | "EUR" | "GBP" | "JPY" | "ZAR" | "AUD" | "NOK" | "SEK" | "DKK" | "INR" | "RMB" | "BGN"; export type Codes = "USD" | "EUR" | "GBP" | "JPY" | "ZAR" | "AUD" | "NOK" | "SEK" | "DKK" | "INR" | "RMB" | "BGN";
export type Currency = { export type Currency = {
code: Codes; code: Codes;
local: string; local: string;