@arenarium/maps 1.0.62 → 1.0.64

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,47 @@ 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.ZodObject<{
453
+ content: z.ZodFunction<z.ZodTuple<[
454
+ z.ZodString
455
+ ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
458
+ }, {
459
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
460
+ }>>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ body: {
463
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
464
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
465
+ };
466
+ pin?: {
467
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
468
+ } | undefined;
469
+ }, {
470
+ body: {
471
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
472
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
473
+ };
474
+ pin?: {
475
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
476
+ } | undefined;
477
+ }>;
446
478
  }, "strip", z.ZodTypeAny, {
447
479
  data: {
448
480
  lat: number;
@@ -459,9 +491,15 @@ declare const mapPopupSchema: z.ZodObject<{
459
491
  number
460
492
  ][]
461
493
  ];
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;
494
+ callbacks: {
495
+ body: {
496
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
497
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
498
+ };
499
+ pin?: {
500
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
501
+ } | undefined;
502
+ };
465
503
  }, {
466
504
  data: {
467
505
  lat: number;
@@ -478,9 +516,15 @@ declare const mapPopupSchema: z.ZodObject<{
478
516
  number
479
517
  ][]
480
518
  ];
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;
519
+ callbacks: {
520
+ body: {
521
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
522
+ placeholder?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
523
+ };
524
+ pin?: {
525
+ content: (args_0: string, ...args: unknown[]) => Promise<any>;
526
+ } | undefined;
527
+ };
484
528
  }>;
485
529
  declare const mapPopupStatesRequestSchema: z.ZodObject<{
486
530
  apiKey: z.ZodString;