Updated logo API
This commit is contained in:
Vendored
+33
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user