Doing stuff
This commit is contained in:
@ -1,59 +1,59 @@
|
||||
// types/commissions.ts
|
||||
// // types/commissions.ts
|
||||
|
||||
export interface CommissionType {
|
||||
name: string
|
||||
description: string
|
||||
}
|
||||
// export interface CommissionType {
|
||||
// name: string
|
||||
// description: string
|
||||
// }
|
||||
|
||||
export interface CommissionOptionType {
|
||||
name: string
|
||||
basePrice: number
|
||||
}
|
||||
// export interface CommissionOptionType {
|
||||
// name: string
|
||||
// basePrice: number
|
||||
// }
|
||||
|
||||
export interface CommissionOption {
|
||||
type: CommissionOptionType
|
||||
price: number
|
||||
}
|
||||
// export interface CommissionOption {
|
||||
// type: CommissionOptionType
|
||||
// price: number
|
||||
// }
|
||||
|
||||
export interface CommissionExtraType {
|
||||
name: string
|
||||
description: string
|
||||
pricePercent?: number
|
||||
price?: number
|
||||
priceRange?: string
|
||||
}
|
||||
// export interface CommissionExtraType {
|
||||
// name: string
|
||||
// description: string
|
||||
// pricePercent?: number
|
||||
// price?: number
|
||||
// priceRange?: string
|
||||
// }
|
||||
|
||||
export interface CommissionExtra {
|
||||
type: CommissionExtraType
|
||||
price?: number
|
||||
pricePercent?: number
|
||||
priceRange?: string
|
||||
}
|
||||
// export interface CommissionExtra {
|
||||
// type: CommissionExtraType
|
||||
// price?: number
|
||||
// pricePercent?: number
|
||||
// priceRange?: string
|
||||
// }
|
||||
|
||||
export interface Commission {
|
||||
type: CommissionType
|
||||
options: CommissionOption[]
|
||||
extras: CommissionExtra[]
|
||||
}
|
||||
// export interface Commission {
|
||||
// type: CommissionType
|
||||
// options: CommissionOption[]
|
||||
// extras: CommissionExtra[]
|
||||
// }
|
||||
|
||||
export interface CommissionCardProps {
|
||||
type: {
|
||||
key: string
|
||||
name: string
|
||||
description: string
|
||||
}
|
||||
options: {
|
||||
key: string
|
||||
name: string
|
||||
price: number
|
||||
}[]
|
||||
extras: {
|
||||
key: string
|
||||
name: string
|
||||
description: string
|
||||
price?: number
|
||||
pricePercent?: number
|
||||
priceRange?: string
|
||||
}[],
|
||||
examples?: string[]
|
||||
}
|
||||
// export interface CommissionCardProps {
|
||||
// type: {
|
||||
// key: string
|
||||
// name: string
|
||||
// description: string
|
||||
// }
|
||||
// options: {
|
||||
// key: string
|
||||
// name: string
|
||||
// price: number
|
||||
// }[]
|
||||
// extras: {
|
||||
// key: string
|
||||
// name: string
|
||||
// description: string
|
||||
// price?: number
|
||||
// pricePercent?: number
|
||||
// priceRange?: string
|
||||
// }[],
|
||||
// examples?: string[]
|
||||
// }
|
Reference in New Issue
Block a user