@arenarium/maps 1.0.176 → 1.0.178
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/api.d.ts +139 -0
- package/dist/index.d.ts +131 -15
- package/dist/index.js +2 -2
- package/dist/main.cjs.js +2 -2
- package/dist/main.d.ts +52 -15
- package/dist/main.es.js +1645 -1620
- package/package.json +6 -6
- package/dist/utils.d.ts +0 -58
- /package/dist/{utils.cjs.js → api.cjs.js} +0 -0
- /package/dist/{utils.es.js → api.es.js} +0 -0
package/dist/main.d.ts
CHANGED
|
@@ -33,15 +33,40 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
33
33
|
limit?: number | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
}>>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
url: z.ZodString;
|
|
39
|
+
key: z.ZodString;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
url: string;
|
|
42
|
+
key: string;
|
|
43
|
+
}, {
|
|
44
|
+
url: string;
|
|
45
|
+
key: string;
|
|
46
|
+
}>>;
|
|
47
|
+
log: z.ZodOptional<z.ZodObject<{
|
|
48
|
+
enabled: z.ZodBoolean;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
enabled: boolean;
|
|
51
|
+
}, {
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
}>>;
|
|
39
54
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
|
|
41
|
-
|
|
55
|
+
states?: {
|
|
56
|
+
url: string;
|
|
57
|
+
key: string;
|
|
58
|
+
} | undefined;
|
|
59
|
+
log?: {
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
} | undefined;
|
|
42
62
|
}, {
|
|
43
|
-
|
|
44
|
-
|
|
63
|
+
states?: {
|
|
64
|
+
url: string;
|
|
65
|
+
key: string;
|
|
66
|
+
} | undefined;
|
|
67
|
+
log?: {
|
|
68
|
+
enabled: boolean;
|
|
69
|
+
} | undefined;
|
|
45
70
|
}>>;
|
|
46
71
|
}, "strip", z.ZodTypeAny, {
|
|
47
72
|
pin?: {
|
|
@@ -54,9 +79,14 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
54
79
|
limit?: number | undefined;
|
|
55
80
|
} | undefined;
|
|
56
81
|
} | undefined;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
82
|
+
api?: {
|
|
83
|
+
states?: {
|
|
84
|
+
url: string;
|
|
85
|
+
key: string;
|
|
86
|
+
} | undefined;
|
|
87
|
+
log?: {
|
|
88
|
+
enabled: boolean;
|
|
89
|
+
} | undefined;
|
|
60
90
|
} | undefined;
|
|
61
91
|
}, {
|
|
62
92
|
pin?: {
|
|
@@ -69,16 +99,22 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
69
99
|
limit?: number | undefined;
|
|
70
100
|
} | undefined;
|
|
71
101
|
} | undefined;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
102
|
+
api?: {
|
|
103
|
+
states?: {
|
|
104
|
+
url: string;
|
|
105
|
+
key: string;
|
|
106
|
+
} | undefined;
|
|
107
|
+
log?: {
|
|
108
|
+
enabled: boolean;
|
|
109
|
+
} | undefined;
|
|
75
110
|
} | undefined;
|
|
76
111
|
}>;
|
|
77
112
|
|
|
78
113
|
export declare class MapManager {
|
|
79
114
|
private provider;
|
|
80
|
-
private
|
|
81
|
-
private
|
|
115
|
+
private apiStatesUrl;
|
|
116
|
+
private apiStatesKey;
|
|
117
|
+
private apiLogEnabled;
|
|
82
118
|
private markerDataArray;
|
|
83
119
|
private markerDataMap;
|
|
84
120
|
private markerDataUpdating;
|
|
@@ -95,6 +131,7 @@ export declare class MapManager {
|
|
|
95
131
|
private removeMarkerData;
|
|
96
132
|
private processMarkerDataCallback;
|
|
97
133
|
private processMarkerData;
|
|
134
|
+
private log;
|
|
98
135
|
}
|
|
99
136
|
|
|
100
137
|
export declare type MapMarker = z.infer<typeof mapMarkerSchema>;
|