@arenarium/maps 1.0.71 → 1.0.73
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.d.ts +16 -22
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -434,19 +434,19 @@ declare const mapPopupSchema: z.ZodObject<{
|
|
|
434
434
|
z.ZodNumber
|
|
435
435
|
], null>, "many">
|
|
436
436
|
], null>;
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
callbacks: z.ZodObject<{
|
|
438
|
+
body: z.ZodFunction<z.ZodTuple<[
|
|
439
439
|
z.ZodString
|
|
440
440
|
], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
|
|
441
|
-
|
|
441
|
+
pin: z.ZodOptional<z.ZodFunction<z.ZodTuple<[
|
|
442
442
|
z.ZodString
|
|
443
443
|
], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>>;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
body: (args_0: string, ...args: unknown[]) => Promise<any>;
|
|
446
|
+
pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
|
|
447
447
|
}, {
|
|
448
|
-
|
|
449
|
-
|
|
448
|
+
body: (args_0: string, ...args: unknown[]) => Promise<any>;
|
|
449
|
+
pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
|
|
450
450
|
}>;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
452
|
data: {
|
|
@@ -464,9 +464,9 @@ declare const mapPopupSchema: z.ZodObject<{
|
|
|
464
464
|
number
|
|
465
465
|
][]
|
|
466
466
|
];
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
467
|
+
callbacks: {
|
|
468
|
+
body: (args_0: string, ...args: unknown[]) => Promise<any>;
|
|
469
|
+
pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
|
|
470
470
|
};
|
|
471
471
|
}, {
|
|
472
472
|
data: {
|
|
@@ -484,13 +484,13 @@ declare const mapPopupSchema: z.ZodObject<{
|
|
|
484
484
|
number
|
|
485
485
|
][]
|
|
486
486
|
];
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
487
|
+
callbacks: {
|
|
488
|
+
body: (args_0: string, ...args: unknown[]) => Promise<any>;
|
|
489
|
+
pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
|
|
490
490
|
};
|
|
491
491
|
}>;
|
|
492
492
|
declare const mapPopupStatesRequestSchema: z.ZodObject<{
|
|
493
|
-
|
|
493
|
+
key: z.ZodString;
|
|
494
494
|
data: z.ZodArray<z.ZodObject<{
|
|
495
495
|
id: z.ZodString;
|
|
496
496
|
rank: z.ZodNumber;
|
|
@@ -513,8 +513,6 @@ declare const mapPopupStatesRequestSchema: z.ZodObject<{
|
|
|
513
513
|
width: number;
|
|
514
514
|
height: number;
|
|
515
515
|
}>, "many">;
|
|
516
|
-
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
517
|
-
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
518
516
|
}, "strip", z.ZodTypeAny, {
|
|
519
517
|
data: {
|
|
520
518
|
lat: number;
|
|
@@ -524,9 +522,7 @@ declare const mapPopupStatesRequestSchema: z.ZodObject<{
|
|
|
524
522
|
width: number;
|
|
525
523
|
height: number;
|
|
526
524
|
}[];
|
|
527
|
-
|
|
528
|
-
minZoom?: number | undefined;
|
|
529
|
-
maxZoom?: number | undefined;
|
|
525
|
+
key: string;
|
|
530
526
|
}, {
|
|
531
527
|
data: {
|
|
532
528
|
lat: number;
|
|
@@ -536,9 +532,7 @@ declare const mapPopupStatesRequestSchema: z.ZodObject<{
|
|
|
536
532
|
width: number;
|
|
537
533
|
height: number;
|
|
538
534
|
}[];
|
|
539
|
-
|
|
540
|
-
minZoom?: number | undefined;
|
|
541
|
-
maxZoom?: number | undefined;
|
|
535
|
+
key: string;
|
|
542
536
|
}>;
|
|
543
537
|
export type MapPopupData = z.infer<typeof mapPopupDataSchema>;
|
|
544
538
|
export type MapPopupState = z.infer<typeof mapPopupStateSchema>;
|