Updated logo API

This commit is contained in:
2026-04-25 22:57:18 +10:00
parent 678096b463
commit de183995b6
26 changed files with 1088 additions and 64 deletions
+33 -1
View File
@@ -8,7 +8,7 @@ declare module '@vue/runtime-core' {
}
}
export type ProfileView = 'map' | 'board' | 'passes';
export type ProfileView = 'map' | 'board' | 'passes' ;
export type ChartType = "line" | "area" | "bar" | "pie" | "donut" | "radialBar" | "scatter" | "bubble" | "heatmap" | "candlestick" | "boxPlot" | "radar" | "polarArea" | "rangeBar" | "rangeArea" | "treemap" | undefined
export type BadgeVariant = 'first' | 'business' | 'premium' | 'economy' | 'private' | 'unspecified' | 'generic' | 'general_aviation' | 'crew'
@@ -19,6 +19,38 @@ export interface User {
email_verified_at: string | null
}
export type UserActionType = "flight_cancelled" | "flight_booked" | "flight_updated" | "flight_logged" | "flight_deleted"
export type UserActionDataKey = "field" | "from" | "to"
export type UserActionFlightBookedData = {
flight: Flight
}
export type UserActionFlightCancelledData = {
flight: Flight
}
export type UserActionFlightUpdatedData = {
changes: UserActionChange[],
original: Flight,
updated: Flight
}
export type UserActionChange = {field: string, from: string, to: string}
export type UserActionData = UserActionFlightBookedData | UserActionFlightCancelledData | UserActionFlightUpdatedData
export interface UserAction {
id: number
user_id: number
type: UserActionType
data: UserActionData
created_at: string
updated_at: string
user: User
display_type: string
user_flight: Flight
}
export type SharedProps = import('@inertiajs/core').PageProps & {
auth: {
user: User | null