mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
Use better type name for tag ids
This commit is contained in:
parent
7f4594ad53
commit
ea80e6e94c
8
src/types/Item.d.ts
vendored
8
src/types/Item.d.ts
vendored
@ -5,9 +5,7 @@ import type { Relation } from './Relation'
|
||||
import type { UserItem } from './UserItem'
|
||||
import type { Point } from 'geojson'
|
||||
|
||||
interface Special_Find_Name {
|
||||
tags_id: string
|
||||
}
|
||||
type TagIds = { tags_id: string }[]
|
||||
|
||||
export interface Item {
|
||||
id: string
|
||||
@ -31,8 +29,8 @@ export interface Item {
|
||||
user_created?: UserItem
|
||||
image?: string
|
||||
group_type?: string
|
||||
offers?: Special_Find_Name[]
|
||||
needs?: Special_Find_Name[]
|
||||
offers?: TagIds
|
||||
needs?: TagIds
|
||||
status?: string
|
||||
color?: string
|
||||
markerIcon?: string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user