@agroyaar/sdk 1.1.3-0 → 1.1.3-2
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/dist/index.cjs +3 -8
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +3 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -94,14 +94,9 @@ var mappers = {
|
|
94
94
|
avatarURL: response.avatarURL,
|
95
95
|
manufactureYear: response.manufactureYear,
|
96
96
|
code: response.code,
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
iconURL: "response.variety.iconURL",
|
101
|
-
kind: response.variety.kind,
|
102
|
-
seasonProcessIds: [],
|
103
|
-
machineUsageIds: []
|
104
|
-
}
|
97
|
+
kind: response.kind,
|
98
|
+
kindName: response.kindName,
|
99
|
+
variety: mappers.getMechanizationVariety(response.variety)
|
105
100
|
}),
|
106
101
|
getMechanizationsList: (response) => response.map(mappers.getMechanization)
|
107
102
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
@@ -58,14 +58,9 @@ var mappers = {
|
|
58
58
|
avatarURL: response.avatarURL,
|
59
59
|
manufactureYear: response.manufactureYear,
|
60
60
|
code: response.code,
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
iconURL: "response.variety.iconURL",
|
65
|
-
kind: response.variety.kind,
|
66
|
-
seasonProcessIds: [],
|
67
|
-
machineUsageIds: []
|
68
|
-
}
|
61
|
+
kind: response.kind,
|
62
|
+
kindName: response.kindName,
|
63
|
+
variety: mappers.getMechanizationVariety(response.variety)
|
69
64
|
}),
|
70
65
|
getMechanizationsList: (response) => response.map(mappers.getMechanization)
|
71
66
|
};
|