@la-main-verte/shared-types 1.0.48 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/package.json +16 -16
- package/src/alert.d.ts +25 -25
- package/src/apiError.d.ts +28 -28
- package/src/calendarView.d.ts +9 -7
- package/src/device.d.ts +41 -41
- package/src/gardenMap.d.ts +71 -69
- package/src/image.d.ts +10 -10
- package/src/index.ts +21 -18
- package/src/member.d.ts +61 -58
- package/src/note.d.ts +28 -0
- package/src/plant.d.ts +90 -83
- package/src/plantSelection.d.ts +8 -8
- package/src/plants.api.d.ts +61 -61
- package/src/selection.d.ts +54 -52
- package/src/tag.d.ts +9 -0
- package/src/taggedItem.d.ts +12 -0
- package/src/task.d.ts +40 -40
- package/src/users.api.d.ts +38 -38
- package/tsconfig.json +110 -110
package/src/plant.d.ts
CHANGED
|
@@ -1,83 +1,90 @@
|
|
|
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
|
-
|
|
1
|
+
import { ImageI } from './image.d.ts'
|
|
2
|
+
import { SelectionI } from './selection.d.ts'
|
|
3
|
+
import { TaskI } from './task.d.ts'
|
|
4
|
+
import { TaggedItemI } from './taggedItem.d.ts'
|
|
5
|
+
import { NoteI } from './note.js'
|
|
6
|
+
|
|
7
|
+
export interface PlantI {
|
|
8
|
+
id: number
|
|
9
|
+
name: string
|
|
10
|
+
slug: string
|
|
11
|
+
description: string
|
|
12
|
+
descriptionSource?: string
|
|
13
|
+
female: boolean
|
|
14
|
+
family?: string | null
|
|
15
|
+
spaceBetweenSeedMin: number
|
|
16
|
+
spaceBetweenSeedMax: number
|
|
17
|
+
spaceBetweenAlleyMin: number
|
|
18
|
+
spaceBetweenAlleyMax: number
|
|
19
|
+
weeksInTransplant: number
|
|
20
|
+
weeksDuringWhichYouCanSeedOutdoor: number
|
|
21
|
+
weeksToMaturity: number
|
|
22
|
+
weeksToWaitAfterFreezingDate: number
|
|
23
|
+
weeksToHarvest: number
|
|
24
|
+
indoorSeeding: boolean
|
|
25
|
+
outdoorSeeding: boolean
|
|
26
|
+
azoteNeedsKgPerHa: number
|
|
27
|
+
hibernate: boolean
|
|
28
|
+
germinationTemperature: number | null
|
|
29
|
+
minGerminationTemperature: number | null
|
|
30
|
+
germinationNumberOfDays: string | null
|
|
31
|
+
germinationSeedDepth: string | null
|
|
32
|
+
cultivationInfo: string | null
|
|
33
|
+
parentId: number | null
|
|
34
|
+
memberId?: number
|
|
35
|
+
shared: boolean
|
|
36
|
+
hexColor: string | null
|
|
37
|
+
sunRequirements: 'partialShade' | 'fullSun' | 'fullShade' | null
|
|
38
|
+
isHardy: boolean | null
|
|
39
|
+
imageURL: string
|
|
40
|
+
totalWeeksToMaturity: number
|
|
41
|
+
hasNoInformation: boolean
|
|
42
|
+
createdAt: Date
|
|
43
|
+
updatedAt: Date
|
|
44
|
+
translatedSunRequirements: string
|
|
45
|
+
parent?: PlantI
|
|
46
|
+
children?: PlantI[]
|
|
47
|
+
PlantInventories?: PlantInventoryI[]
|
|
48
|
+
taggedItems?: TaggedItemI[]
|
|
49
|
+
/**
|
|
50
|
+
* List of selections that the plant is in.
|
|
51
|
+
* --------------------------------------
|
|
52
|
+
* Tends to be used for featured selections
|
|
53
|
+
*/
|
|
54
|
+
Selections?: SelectionI[]
|
|
55
|
+
tasks?: TaskI[]
|
|
56
|
+
Images?: ImageI[]
|
|
57
|
+
notes?: NoteI[]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface PlantTagI {
|
|
61
|
+
name: string
|
|
62
|
+
/**
|
|
63
|
+
* Font color of the tag
|
|
64
|
+
* Ex: #ffffff
|
|
65
|
+
*/
|
|
66
|
+
fontColor: string
|
|
67
|
+
/**
|
|
68
|
+
* Background color of the tag
|
|
69
|
+
* Ex: #1B76E6
|
|
70
|
+
*/
|
|
71
|
+
backgroundColor: string
|
|
72
|
+
/**
|
|
73
|
+
* Font awesome Icon name
|
|
74
|
+
* Ex: 'tomato'
|
|
75
|
+
*/
|
|
76
|
+
iconName: string
|
|
77
|
+
/** Selection slug related to the tag */
|
|
78
|
+
slug: string
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface PlantInventoryI {
|
|
82
|
+
id: number
|
|
83
|
+
plantId: number
|
|
84
|
+
supplierName: string
|
|
85
|
+
plantName: string
|
|
86
|
+
supplierURL: string
|
|
87
|
+
imageLocation: string
|
|
88
|
+
description: string
|
|
89
|
+
inStock: boolean
|
|
90
|
+
}
|
package/src/plantSelection.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface PlantSelectionI {
|
|
2
|
-
id: number
|
|
3
|
-
plantId: number
|
|
4
|
-
selectionId: number
|
|
5
|
-
seedQuantity: number
|
|
6
|
-
createdAt: Date
|
|
7
|
-
updatedAt: Date
|
|
8
|
-
}
|
|
1
|
+
export interface PlantSelectionI {
|
|
2
|
+
id: number
|
|
3
|
+
plantId: number
|
|
4
|
+
selectionId: number
|
|
5
|
+
seedQuantity: number
|
|
6
|
+
createdAt: Date
|
|
7
|
+
updatedAt: Date
|
|
8
|
+
}
|
package/src/plants.api.d.ts
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { PlantI, PlantTagI } from './plant.d'
|
|
2
|
-
import { SelectionI } from './selection.d'
|
|
3
|
-
import { ImageDataI } from './image.d'
|
|
4
|
-
interface PlantExtendedDataI extends PlantI {
|
|
5
|
-
/**
|
|
6
|
-
* Future plant images gallery for now using notes as a proxy
|
|
7
|
-
*/
|
|
8
|
-
Images: ImageDataI[]
|
|
9
|
-
/**
|
|
10
|
-
* Selections of the plant
|
|
11
|
-
*/
|
|
12
|
-
Selections: SelectionI[]
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export namespace PLANTS {
|
|
16
|
-
export namespace RECOMMENDATIONS {
|
|
17
|
-
/**
|
|
18
|
-
* Request parameters for plant recommendations
|
|
19
|
-
* @remarks identification by session token is optional
|
|
20
|
-
*/
|
|
21
|
-
export interface Request {
|
|
22
|
-
headers?: {
|
|
23
|
-
'x-session-token'?: string
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Response containing recommended plants with their tags
|
|
28
|
-
*/
|
|
29
|
-
export type Response = PlantExtendedDataI[]
|
|
30
|
-
}
|
|
31
|
-
export namespace SEARCH {
|
|
32
|
-
/**
|
|
33
|
-
* Request parameters for plant recommendations
|
|
34
|
-
* @remarks identification by session token is optional
|
|
35
|
-
*/
|
|
36
|
-
export interface Request {
|
|
37
|
-
headers?: {
|
|
38
|
-
'x-session-token'?: string
|
|
39
|
-
}
|
|
40
|
-
query?: {
|
|
41
|
-
withAzoteNeedsKgPerHa?: boolean
|
|
42
|
-
withSpacing?: boolean
|
|
43
|
-
parentsOnly?: boolean
|
|
44
|
-
search?: string
|
|
45
|
-
family?: string
|
|
46
|
-
limit?: number
|
|
47
|
-
/**
|
|
48
|
-
* If submitted, it means we are searching for plants that can be planted in the given garden zone.
|
|
49
|
-
* It almost means:
|
|
50
|
-
* - withSpacing will be set to true automatically.
|
|
51
|
-
* - Plant.contextualSearchText may be added to the results to provided additional contextual information to the search results (and therefore the member)
|
|
52
|
-
*/
|
|
53
|
-
gardenZoneId?: string | number
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Response containing search plants with their tags
|
|
58
|
-
*/
|
|
59
|
-
export type Response = PlantExtendedDataI[]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
import { PlantI, PlantTagI } from './plant.d'
|
|
2
|
+
import { SelectionI } from './selection.d'
|
|
3
|
+
import { ImageDataI } from './image.d'
|
|
4
|
+
interface PlantExtendedDataI extends PlantI {
|
|
5
|
+
/**
|
|
6
|
+
* Future plant images gallery for now using notes as a proxy
|
|
7
|
+
*/
|
|
8
|
+
Images: ImageDataI[]
|
|
9
|
+
/**
|
|
10
|
+
* Selections of the plant
|
|
11
|
+
*/
|
|
12
|
+
Selections: SelectionI[]
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export namespace PLANTS {
|
|
16
|
+
export namespace RECOMMENDATIONS {
|
|
17
|
+
/**
|
|
18
|
+
* Request parameters for plant recommendations
|
|
19
|
+
* @remarks identification by session token is optional
|
|
20
|
+
*/
|
|
21
|
+
export interface Request {
|
|
22
|
+
headers?: {
|
|
23
|
+
'x-session-token'?: string
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Response containing recommended plants with their tags
|
|
28
|
+
*/
|
|
29
|
+
export type Response = PlantExtendedDataI[]
|
|
30
|
+
}
|
|
31
|
+
export namespace SEARCH {
|
|
32
|
+
/**
|
|
33
|
+
* Request parameters for plant recommendations
|
|
34
|
+
* @remarks identification by session token is optional
|
|
35
|
+
*/
|
|
36
|
+
export interface Request {
|
|
37
|
+
headers?: {
|
|
38
|
+
'x-session-token'?: string
|
|
39
|
+
}
|
|
40
|
+
query?: {
|
|
41
|
+
withAzoteNeedsKgPerHa?: boolean
|
|
42
|
+
withSpacing?: boolean
|
|
43
|
+
parentsOnly?: boolean
|
|
44
|
+
search?: string
|
|
45
|
+
family?: string
|
|
46
|
+
limit?: number
|
|
47
|
+
/**
|
|
48
|
+
* If submitted, it means we are searching for plants that can be planted in the given garden zone.
|
|
49
|
+
* It almost means:
|
|
50
|
+
* - withSpacing will be set to true automatically.
|
|
51
|
+
* - Plant.contextualSearchText may be added to the results to provided additional contextual information to the search results (and therefore the member)
|
|
52
|
+
*/
|
|
53
|
+
gardenZoneId?: string | number
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Response containing search plants with their tags
|
|
58
|
+
*/
|
|
59
|
+
export type Response = PlantExtendedDataI[]
|
|
60
|
+
}
|
|
61
|
+
}
|
package/src/selection.d.ts
CHANGED
|
@@ -1,52 +1,54 @@
|
|
|
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
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
1
|
+
import { PlantI } from './plant'
|
|
2
|
+
|
|
3
|
+
export interface SelectionI {
|
|
4
|
+
id: number
|
|
5
|
+
memberId: number
|
|
6
|
+
title: string
|
|
7
|
+
slug: string
|
|
8
|
+
description?: string
|
|
9
|
+
orderBy?: 'startDate' | 'name'
|
|
10
|
+
default?: boolean
|
|
11
|
+
viewsCount?: number
|
|
12
|
+
imageLocation?: string
|
|
13
|
+
imageURL?: string
|
|
14
|
+
/**
|
|
15
|
+
* Indicates if the selection is featured on the app (search, explore, etc).
|
|
16
|
+
**/
|
|
17
|
+
featured: boolean
|
|
18
|
+
/**
|
|
19
|
+
* Indicates if the selection is dynamically generated on the fly by the API.
|
|
20
|
+
* Ex: "What you can seed in March"
|
|
21
|
+
* INTERNAL USE ONLY
|
|
22
|
+
*/
|
|
23
|
+
isDynamic: boolean
|
|
24
|
+
/**
|
|
25
|
+
* Background color of the selection, for UI purposes.
|
|
26
|
+
*/
|
|
27
|
+
backgroundColor: string | null
|
|
28
|
+
/**
|
|
29
|
+
* Font color of the selection, for UI purposes.
|
|
30
|
+
*/
|
|
31
|
+
fontColor: string | null
|
|
32
|
+
/**
|
|
33
|
+
* Font awesome icon name of the selection, for UI purposes.
|
|
34
|
+
* -----------------------------------------
|
|
35
|
+
* Not all icons are available in the react-native-app. Must be explicitly declared first.
|
|
36
|
+
* Ex: 'fa-bag-seedling', 'fa-bug', etc.
|
|
37
|
+
*/
|
|
38
|
+
iconName: string | null
|
|
39
|
+
link?: string
|
|
40
|
+
sharingURL?: string
|
|
41
|
+
createdAt: Date
|
|
42
|
+
updatedAt: Date
|
|
43
|
+
Plants?: PlantI[]
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Those are the different possible types for a selection.
|
|
48
|
+
*/
|
|
49
|
+
export type SelectionType = 'Serre' | 'Potager' | 'Recette' | 'Coup de coeur' | "Jardin d'intérieur" | 'Autres'
|
|
50
|
+
|
|
51
|
+
export interface SelectionTypeI {
|
|
52
|
+
name: SelectionType
|
|
53
|
+
iconName?: IconName
|
|
54
|
+
}
|
package/src/tag.d.ts
ADDED
package/src/task.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export interface TaskI {
|
|
2
|
-
id: number
|
|
3
|
-
name: string
|
|
4
|
-
startDate: Date
|
|
5
|
-
endDate?: Date
|
|
6
|
-
/**
|
|
7
|
-
* ColourCode of the task
|
|
8
|
-
* Ex: #ffffff
|
|
9
|
-
*/
|
|
10
|
-
colourCode: string
|
|
11
|
-
iconName?: string
|
|
12
|
-
private: boolean
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Represents predefined task tags used in the task creation/modification form.
|
|
17
|
-
* There are just a few Tasks that have their own tags
|
|
18
|
-
* and they just have a name a colourCode and an optional iconName similar to the Task they represent
|
|
19
|
-
*/
|
|
20
|
-
export interface TaskTagI {
|
|
21
|
-
name: string
|
|
22
|
-
/**
|
|
23
|
-
* ColourCode of the task
|
|
24
|
-
* Ex: #ffffff
|
|
25
|
-
*/
|
|
26
|
-
colourCode: string
|
|
27
|
-
iconName?: string
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Data used to create or edit a task
|
|
32
|
-
*/
|
|
33
|
-
export interface TaskFormDataI {
|
|
34
|
-
name: string
|
|
35
|
-
startDate: Date
|
|
36
|
-
endDate?: Date
|
|
37
|
-
colourCode: string
|
|
38
|
-
iconName?: string
|
|
39
|
-
private: boolean
|
|
40
|
-
}
|
|
1
|
+
export interface TaskI {
|
|
2
|
+
id: number
|
|
3
|
+
name: string
|
|
4
|
+
startDate: Date
|
|
5
|
+
endDate?: Date
|
|
6
|
+
/**
|
|
7
|
+
* ColourCode of the task
|
|
8
|
+
* Ex: #ffffff
|
|
9
|
+
*/
|
|
10
|
+
colourCode: string
|
|
11
|
+
iconName?: string
|
|
12
|
+
private: boolean
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents predefined task tags used in the task creation/modification form.
|
|
17
|
+
* There are just a few Tasks that have their own tags
|
|
18
|
+
* and they just have a name a colourCode and an optional iconName similar to the Task they represent
|
|
19
|
+
*/
|
|
20
|
+
export interface TaskTagI {
|
|
21
|
+
name: string
|
|
22
|
+
/**
|
|
23
|
+
* ColourCode of the task
|
|
24
|
+
* Ex: #ffffff
|
|
25
|
+
*/
|
|
26
|
+
colourCode: string
|
|
27
|
+
iconName?: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Data used to create or edit a task
|
|
32
|
+
*/
|
|
33
|
+
export interface TaskFormDataI {
|
|
34
|
+
name: string
|
|
35
|
+
startDate: Date
|
|
36
|
+
endDate?: Date
|
|
37
|
+
colourCode: string
|
|
38
|
+
iconName?: string
|
|
39
|
+
private: boolean
|
|
40
|
+
}
|
package/src/users.api.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import type { DeviceDataI } from './device.d'
|
|
2
|
-
import type { MemberI as MemberDataI } from './member.d'
|
|
3
|
-
|
|
4
|
-
interface RequestHeaders {
|
|
5
|
-
'x-session-token': string
|
|
6
|
-
'x-native-app-version'?: string
|
|
7
|
-
'x-application-type'?: 'react-native' | 'web'
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export namespace USERS {
|
|
11
|
-
export namespace GET {
|
|
12
|
-
export interface Request {
|
|
13
|
-
headers: RequestHeaders
|
|
14
|
-
params: {
|
|
15
|
-
scopes: ('unreadNotificationsCount' | 'coordinates')[]
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export type Response = MemberDataI & {
|
|
19
|
-
unreadAlertsCount?: number
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export namespace DEVICES {
|
|
23
|
-
export interface Request {
|
|
24
|
-
headers: RequestHeaders
|
|
25
|
-
body: {
|
|
26
|
-
/** @see DeviceDataI */
|
|
27
|
-
userAgent?: DeviceDataI['userAgent']
|
|
28
|
-
platform?: DeviceDataI['platform']
|
|
29
|
-
version?: DeviceDataI['version']
|
|
30
|
-
model?: DeviceDataI['model']
|
|
31
|
-
name?: DeviceDataI['name']
|
|
32
|
-
appVersion?: DeviceDataI['appVersion']
|
|
33
|
-
pushKey?: DeviceDataI['pushKey']
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
export type Response = DeviceDataI
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
import type { DeviceDataI } from './device.d'
|
|
2
|
+
import type { MemberI as MemberDataI } from './member.d'
|
|
3
|
+
|
|
4
|
+
interface RequestHeaders {
|
|
5
|
+
'x-session-token': string
|
|
6
|
+
'x-native-app-version'?: string
|
|
7
|
+
'x-application-type'?: 'react-native' | 'web'
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace USERS {
|
|
11
|
+
export namespace GET {
|
|
12
|
+
export interface Request {
|
|
13
|
+
headers: RequestHeaders
|
|
14
|
+
params: {
|
|
15
|
+
scopes: ('unreadNotificationsCount' | 'coordinates')[]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export type Response = MemberDataI & {
|
|
19
|
+
unreadAlertsCount?: number
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export namespace DEVICES {
|
|
23
|
+
export interface Request {
|
|
24
|
+
headers: RequestHeaders
|
|
25
|
+
body: {
|
|
26
|
+
/** @see DeviceDataI */
|
|
27
|
+
userAgent?: DeviceDataI['userAgent']
|
|
28
|
+
platform?: DeviceDataI['platform']
|
|
29
|
+
version?: DeviceDataI['version']
|
|
30
|
+
model?: DeviceDataI['model']
|
|
31
|
+
name?: DeviceDataI['name']
|
|
32
|
+
appVersion?: DeviceDataI['appVersion']
|
|
33
|
+
pushKey?: DeviceDataI['pushKey']
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export type Response = DeviceDataI
|
|
37
|
+
}
|
|
38
|
+
}
|