Skip to content

Commit c33adc2

Browse files
author
Vitaly Baev
committed
Обновлена сборка и d.ts файл
1 parent d152a00 commit c33adc2

File tree

2 files changed

+73
-2
lines changed

2 files changed

+73
-2
lines changed

dist/index.d.ts

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,80 @@ export declare namespace ReactDadata {
88
data: DadataAddress;
99
};
1010
type DadataAddress = {
11+
area: string;
12+
area_fias_id: string;
13+
area_kladr_id: string;
14+
area_type: string;
15+
area_type_full: string;
16+
area_with_type: string;
17+
beltway_distance: null;
18+
beltway_hit: null;
19+
block: string;
20+
block_type: string;
21+
block_type_full: string;
22+
capital_marker: "0" | "1" | "2" | "3" | "4";
1123
city: string;
1224
city_area: string;
1325
city_district: string;
26+
city_district_fias_id: string;
27+
city_district_kladr_id: string;
28+
city_district_type: string;
29+
city_district_type_full: string;
30+
city_district_with_type: string;
31+
city_fias_id: string;
32+
city_kladr_id: string;
33+
city_type: string;
34+
city_type_full: string;
35+
city_with_type: string;
36+
country: string;
37+
fias_id: string;
38+
fias_level: string;
39+
flat: string;
40+
flat_area: null;
41+
flat_price: null;
42+
flat_type: string;
43+
flat_type_full: string;
44+
geo_lat: string;
45+
geo_lon: string;
46+
history_values: string;
47+
house: string;
48+
house_fias_id: string;
49+
house_kladr_id: string;
50+
house_type: string;
51+
house_type_full: string;
52+
kladr_id: string;
53+
okato: string;
54+
oktmo: string;
55+
postal_box: string;
56+
postal_code: string;
57+
qc: null;
58+
qc_complete: null;
59+
qc_geo: "0" | "1" | "2" | "3" | "4" | "5";
60+
qc_house: null;
61+
region: string;
62+
region_fias_id: string;
63+
region_kladr_id: string;
64+
region_type: string;
65+
region_type_full: string;
66+
region_with_type: string;
67+
settlement: string;
68+
settlement_fias_id: string;
69+
settlement_kladr_id: string;
70+
settlement_type: string;
71+
settlement_type_full: string;
72+
settlement_with_type: string;
73+
source: string;
74+
square_meter_price: null;
75+
street: string;
76+
street_fias_id: string;
77+
street_kladr_id: string;
78+
street_type: string;
79+
street_type_full: string;
80+
street_with_type: string;
81+
tax_office: string;
82+
tax_office_legal: string;
83+
timezone: null;
84+
unparsed_parts: null;
1485
};
1586
interface Props {
1687
token: string;
@@ -28,7 +99,7 @@ export declare namespace ReactDadata {
2899
suggestionsVisible: boolean;
29100
}
30101
}
31-
export declare class ReactDadata extends React.Component<ReactDadata.Props, ReactDadata.State> {
102+
export declare class ReactDadata extends React.PureComponent<ReactDadata.Props, ReactDadata.State> {
32103
/**
33104
* HTML-input
34105
*/

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ var ReactDadata = (function (_super) {
150150
}))));
151151
};
152152
return ReactDadata;
153-
}(React.Component));
153+
}(React.PureComponent));
154154
exports.ReactDadata = ReactDadata;

0 commit comments

Comments
 (0)