mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
* fix typeexport via rollup plugin by using the correct input The rollup plugin dts requires a d.ts tree as input not the txs sources. This change points the plugin into the right direction and removes the type export hacks. * corrected types path apparently this was not properly adjusted accross the board when moving the folder * fix rollup config properly export types * use export * where needed Since we now export types alongside with defintions we use the `export * from` syntax to simplify things * export types alongside with interfaces export types so we can properly use them in external projects alongside the exported function/module/... * fix type-problems uncovered by utopia-map When including types properly in the utopia-map several missing typings showed up. * fix typing fix an inhereted type * dummy restructure code to properly be able to compile things we are not allowed to have unsed parameters/props * assigne types to category types
20 lines
536 B
TypeScript
20 lines
536 B
TypeScript
import type { Key } from 'react'
|
|
|
|
export interface ItemType {
|
|
name: string
|
|
show_name_input: boolean
|
|
show_profile_button: boolean
|
|
show_start_end: boolean
|
|
show_start_end_input: boolean
|
|
show_text: boolean
|
|
show_text_input: boolean
|
|
custom_text: string
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
profileTemplate: { collection: string | number; id: Key | null | undefined; item: any }[]
|
|
offers_and_needs: boolean
|
|
icon_as_labels: unknown
|
|
relations: boolean
|
|
template: string
|
|
questlog: boolean
|
|
}
|