stone-kit 0.0.82 → 0.0.85
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.
|
@@ -123,7 +123,7 @@ interface ILot {
|
|
|
123
123
|
/** Количество комнат */
|
|
124
124
|
roomsCount: number | null;
|
|
125
125
|
/** Количество спален */
|
|
126
|
-
bedroomsCount
|
|
126
|
+
bedroomsCount?: number | null;
|
|
127
127
|
/** Корпус */
|
|
128
128
|
housing: string | null;
|
|
129
129
|
/** Секция */
|
|
@@ -213,15 +213,15 @@ interface ILot {
|
|
|
213
213
|
floorPlanImg: string;
|
|
214
214
|
}[];
|
|
215
215
|
/** Угол азимута */
|
|
216
|
-
azimuthAngle
|
|
216
|
+
azimuthAngle?: number | null;
|
|
217
217
|
/** Тип недвижимости */
|
|
218
|
-
businessType
|
|
218
|
+
businessType?: string | null;
|
|
219
219
|
/** С отделкой или без */
|
|
220
|
-
isDecoration
|
|
220
|
+
isDecoration?: boolean | null;
|
|
221
221
|
/** С мокрой точкой */
|
|
222
|
-
isWaterPipes
|
|
222
|
+
isWaterPipes?: boolean | null;
|
|
223
223
|
/** Данные всего проекта */
|
|
224
|
-
project
|
|
224
|
+
project?: IProject | null;
|
|
225
225
|
/** Забронировано или нет????? */
|
|
226
226
|
reservations?: string[] | null;
|
|
227
227
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const checkBedroomsCount: (
|
|
1
|
+
export declare const checkBedroomsCount: (count?: number | null) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
2
|
-
if (typeof e != "number" || e < 0)
|
|
1
|
+
const t = (e) => {
|
|
2
|
+
if (!e || typeof e != "number" || e < 0)
|
|
3
3
|
return "нет спален";
|
|
4
4
|
const s = e % 10, r = e % 100;
|
|
5
5
|
if (r >= 11 && r <= 19)
|
|
@@ -16,5 +16,5 @@ const c = (e) => {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
t as checkBedroomsCount
|
|
20
20
|
};
|