mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
40 lines
779 B
TypeScript
40 lines
779 B
TypeScript
import type { Key } from 'react'
|
|
|
|
interface TextParameters {
|
|
dataField: string
|
|
heading: string
|
|
hideWhenEmpty: boolean
|
|
}
|
|
|
|
interface GroupSubHeaderParameters {
|
|
shareBaseUrl: string
|
|
platforms: string[]
|
|
}
|
|
|
|
interface ContactInfoParameters {
|
|
heading: string
|
|
}
|
|
|
|
interface StartEndParemeters {
|
|
heading: string
|
|
}
|
|
|
|
export type Parameters =
|
|
| TextParameters
|
|
| GroupSubHeaderParameters
|
|
| ContactInfoParameters
|
|
| StartEndParemeters
|
|
|
|
export interface ItemType {
|
|
name: string
|
|
show_start_end: boolean
|
|
show_text: boolean
|
|
profileTemplate: { collection: string | number; id: Key | null | undefined; item: Parameters }[]
|
|
offers_and_needs: boolean
|
|
icon_as_labels: unknown
|
|
relations: boolean
|
|
template: string
|
|
show_start_end_input: boolean
|
|
questlog: boolean
|
|
}
|