mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +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 { UserItem } from './UserItem'
|
||||||
import type { Point } from 'geojson'
|
import type { Point } from 'geojson'
|
||||||
|
|
||||||
interface Special_Find_Name {
|
type TagIds = { tags_id: string }[]
|
||||||
tags_id: string
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Item {
|
export interface Item {
|
||||||
id: string
|
id: string
|
||||||
@ -31,8 +29,8 @@ export interface Item {
|
|||||||
user_created?: UserItem
|
user_created?: UserItem
|
||||||
image?: string
|
image?: string
|
||||||
group_type?: string
|
group_type?: string
|
||||||
offers?: Special_Find_Name[]
|
offers?: TagIds
|
||||||
needs?: Special_Find_Name[]
|
needs?: TagIds
|
||||||
status?: string
|
status?: string
|
||||||
color?: string
|
color?: string
|
||||||
markerIcon?: string
|
markerIcon?: string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user