mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
* started * removed replaced itemType on all the places where it was used to identyfi the user profile layer * removed unused property from NavBar * removed unused property from AppShell * removed userType from app state * 3.0.60 * set version to 3.0.64 to publish package to include it in utopia-map --------- Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
35 lines
976 B
TypeScript
35 lines
976 B
TypeScript
import type { Item } from './Item'
|
|
import type { ItemFormPopupProps } from './ItemFormPopupProps'
|
|
import type { ItemsApi } from './ItemsApi'
|
|
import type { ItemType } from './ItemType'
|
|
|
|
/**
|
|
* @category Types
|
|
*/
|
|
export interface LayerProps {
|
|
id?: string
|
|
data?: Item[]
|
|
children?: React.ReactNode
|
|
name: string
|
|
menuIcon: string
|
|
menuColor: string
|
|
menuText: string
|
|
markerIcon: string
|
|
markerShape: string
|
|
markerDefaultColor: string
|
|
markerDefaultColor2?: string
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
api?: ItemsApi<any>
|
|
itemType: ItemType
|
|
userProfileLayer?: boolean
|
|
customEditLink?: string
|
|
customEditParameter?: string
|
|
public_edit_items?: boolean
|
|
listed?: boolean
|
|
item_presets?: Record<string, unknown>
|
|
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>
|
|
itemFormPopup?: ItemFormPopupProps | null
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
clusterRef?: any
|
|
}
|