@uxf/smart-address 1.0.0-beta.131 → 1.0.0-beta.133

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/smart-address",
3
- "version": "1.0.0-beta.131",
3
+ "version": "1.0.0-beta.133",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,5 +1,5 @@
1
1
  import { Location, Option } from "./types";
2
- declare type Params = {
2
+ type Params = {
3
3
  level: number;
4
4
  limit?: number;
5
5
  zip?: number;
@@ -1,5 +1,5 @@
1
1
  import { Location, Option } from "./types";
2
- declare type Params = {
2
+ type Params = {
3
3
  getLabel?: (address: Location) => string;
4
4
  };
5
5
  export declare const createZipLoader: (params: Params) => (term: string) => Promise<Option[]>;
@@ -1,5 +1,5 @@
1
1
  import { Location, Option } from "./types";
2
- declare type Params = {
2
+ type Params = {
3
3
  term: string;
4
4
  level: number;
5
5
  limit?: number;
@@ -1,5 +1,5 @@
1
1
  import { Location, Option } from "./types";
2
- declare type Params = {
2
+ type Params = {
3
3
  term: string;
4
4
  getLabel?: (address: Location) => string;
5
5
  };
package/v1/search.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Location } from "./types";
2
- declare type Props = {
2
+ type Props = {
3
3
  term: string;
4
4
  level: number;
5
5
  limit?: number;
package/v1/types.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export declare type Option = {
1
+ export type Option = {
2
2
  id: number;
3
3
  label: string;
4
4
  };
5
- export declare type Point = {
5
+ export type Point = {
6
6
  latitude: string;
7
7
  longitude: string;
8
8
  };
9
- export declare type Location = {
9
+ export type Location = {
10
10
  id: number;
11
11
  obecKod: number;
12
12
  obecNazev: string | null;
@@ -35,7 +35,7 @@ export declare type Location = {
35
35
  krajKod: number | null;
36
36
  krajNazev: string | null;
37
37
  };
38
- export declare type LocationExtended = {
38
+ export type LocationExtended = {
39
39
  id: number;
40
40
  distributorElektrinyKod: string | null;
41
41
  distributorElektrinyId: number | null;
@@ -64,11 +64,11 @@ export declare type LocationExtended = {
64
64
  objectSize: string | null;
65
65
  objectSizeSquare: number | null;
66
66
  };
67
- declare type BasicType = {
67
+ type BasicType = {
68
68
  id: number;
69
69
  nazev: string | null;
70
70
  };
71
- declare type Type = {
71
+ type Type = {
72
72
  id: number;
73
73
  nazev: string | null;
74
74
  popis: string | null;
@@ -76,14 +76,14 @@ declare type Type = {
76
76
  zacatekPlatnosti: string | null;
77
77
  konecPlatnosti: string | null;
78
78
  };
79
- export declare type ObjectType = BasicType;
80
- export declare type ObjectTypeBasic = BasicType;
81
- export declare type BuildingType = Type;
82
- export declare type ConstructionType = Type;
83
- export declare type SewerConnectionType = Type;
84
- export declare type GasConnectionType = Type;
85
- export declare type WaterConnectionType = Type;
86
- export declare type ElevatorType = Type;
87
- export declare type HeatingType = Type;
88
- export declare type BuildingUsageType = Type;
79
+ export type ObjectType = BasicType;
80
+ export type ObjectTypeBasic = BasicType;
81
+ export type BuildingType = Type;
82
+ export type ConstructionType = Type;
83
+ export type SewerConnectionType = Type;
84
+ export type GasConnectionType = Type;
85
+ export type WaterConnectionType = Type;
86
+ export type ElevatorType = Type;
87
+ export type HeatingType = Type;
88
+ export type BuildingUsageType = Type;
89
89
  export {};