@arenarium/maps 1.0.62 → 1.0.63

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 CHANGED
@@ -434,15 +434,37 @@ declare const mapPopupSchema: z.ZodObject<{
434
434
  z.ZodNumber
435
435
  ], null>, "many">
436
436
  ], null>;
437
- bodyContentCallback: z.ZodFunction<z.ZodTuple<[
438
- z.ZodString
439
- ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
440
- bodyPlaceholderCallback: z.ZodOptional<z.ZodFunction<z.ZodTuple<[
441
- z.ZodString
442
- ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>>;
443
- pinContentCallback: z.ZodOptional<z.ZodFunction<z.ZodTuple<[
444
- z.ZodString
445
- ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>>;
437
+ callbacks: z.ZodObject<{
438
+ body: z.ZodObject<{
439
+ content: z.ZodFunction<z.ZodTuple<[
440
+ z.ZodString
441
+ ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
442
+ placeholder: z.ZodOptional<z.ZodFunction<z.ZodTuple<[
443
+ z.ZodString
444
+ ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
447
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
448
+ }, {
449
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
450
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
451
+ }>;
452
+ pin: z.ZodOptional<z.ZodFunction<z.ZodTuple<[
453
+ z.ZodString
454
+ ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>>;
455
+ }, "strip", z.ZodTypeAny, {
456
+ body: {
457
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
458
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
459
+ };
460
+ pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
461
+ }, {
462
+ body: {
463
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
464
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
465
+ };
466
+ pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
467
+ }>;
446
468
  }, "strip", z.ZodTypeAny, {
447
469
  data: {
448
470
  lat: number;
@@ -459,9 +481,13 @@ declare const mapPopupSchema: z.ZodObject<{
459
481
  number
460
482
  ][]
461
483
  ];
462
- bodyContentCallback: (args_0: string, ...args: unknown[]) => Promise<any>;
463
- bodyPlaceholderCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
464
- pinContentCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
484
+ callbacks: {
485
+ body: {
486
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
487
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
488
+ };
489
+ pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
490
+ };
465
491
  }, {
466
492
  data: {
467
493
  lat: number;
@@ -478,9 +504,13 @@ declare const mapPopupSchema: z.ZodObject<{
478
504
  number
479
505
  ][]
480
506
  ];
481
- bodyContentCallback: (args_0: string, ...args: unknown[]) => Promise<any>;
482
- bodyPlaceholderCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
483
- pinContentCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
507
+ callbacks: {
508
+ body: {
509
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
510
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
511
+ };
512
+ pin?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
513
+ };
484
514
  }>;
485
515
  declare const mapPopupStatesRequestSchema: z.ZodObject<{
486
516
  apiKey: z.ZodString;