-
Notifications
You must be signed in to change notification settings - Fork 0
/
typings.d.ts
93 lines (85 loc) · 1.44 KB
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
interface StaticImageData {
src: string
height: number
width: number
placeholder: string
}
declare module '*.svg' {
import React from 'react'
const Component: React.FunctionComponent<React.SVGProps<SVGSVGElement>>
export default Component
}
interface Value {
map: any
item: any
value: string
label: string
group: string
name: string
category: string
}
interface Immobile {
id: number
name: string
description: {
__html: string
html: string
raw: string
text: string
}
category: string
type: string
images: {
map: any
[key: number]: {
id: number
url: string
}
id: number
url: string
}
url: string
location: string
reference_point: string
size_area: any
price: string
bedrooms: number
bathrooms: number
garage: number
parking: number
suits: number
commercial_room: number
value: Value
map: any
tags: string
}
interface Informacoes {
id: number
phone: string
gmail: string
location: string
instagram: string
facebook: string
whatsApp: string
map: any
data: any
}
interface CardProps {
link: string
alt: string
img: string
title: string
area: number
suit: number
bedrooms: number
bathrooms: number
garage: number
commercial: number
description: string
parking: number
}
interface PropertyProps {
title: string
description: string
}
export type { Immobile, Informacoes, CardProps, PropertyProps, Value }