@arenarium/maps 1.0.63 → 1.0.65

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,36 +434,19 @@ declare const mapPopupSchema: z.ZodObject<{
434
434
  z.ZodNumber
435
435
  ], null>, "many">
436
436
  ], null>;
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<[
437
+ content: z.ZodObject<{
438
+ bodyCallback: z.ZodFunction<z.ZodTuple<[
439
+ z.ZodString
440
+ ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
441
+ pinCallback: z.ZodOptional<z.ZodFunction<z.ZodTuple<[
453
442
  z.ZodString
454
443
  ], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>>;
455
444
  }, "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;
445
+ bodyCallback: (args_0: string, ...args: unknown[]) => Promise<any>;
446
+ pinCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
461
447
  }, {
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;
448
+ bodyCallback: (args_0: string, ...args: unknown[]) => Promise<any>;
449
+ pinCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
467
450
  }>;
468
451
  }, "strip", z.ZodTypeAny, {
469
452
  data: {
@@ -481,12 +464,9 @@ declare const mapPopupSchema: z.ZodObject<{
481
464
  number
482
465
  ][]
483
466
  ];
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;
467
+ content: {
468
+ bodyCallback: (args_0: string, ...args: unknown[]) => Promise<any>;
469
+ pinCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
490
470
  };
491
471
  }, {
492
472
  data: {
@@ -504,12 +484,9 @@ declare const mapPopupSchema: z.ZodObject<{
504
484
  number
505
485
  ][]
506
486
  ];
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;
487
+ content: {
488
+ bodyCallback: (args_0: string, ...args: unknown[]) => Promise<any>;
489
+ pinCallback?: ((args_0: string, ...args: unknown[]) => Promise<any>) | undefined;
513
490
  };
514
491
  }>;
515
492
  declare const mapPopupStatesRequestSchema: z.ZodObject<{