@workadventure/iframe-api-typings 1.18.3 → 1.18.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workadventure/iframe-api-typings",
3
- "version": "v1.18.3",
3
+ "version": "v1.18.5",
4
4
  "description": "Typescript typings for WorkAdventure iFrame API",
5
5
  "main": "iframe_api.js",
6
6
  "types": "iframe_api.d.ts",
@@ -1465,6 +1465,30 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1465
1465
  title?: string | null | undefined;
1466
1466
  url: string;
1467
1467
  };
1468
+ }>, z.ZodObject<{
1469
+ type: z.ZodLiteral<"banUser">;
1470
+ data: z.ZodObject<{
1471
+ uuid: z.ZodString;
1472
+ name: z.ZodString;
1473
+ }, "strip", z.ZodTypeAny, {
1474
+ name: string;
1475
+ uuid: string;
1476
+ }, {
1477
+ name: string;
1478
+ uuid: string;
1479
+ }>;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ type: "banUser";
1482
+ data: {
1483
+ name: string;
1484
+ uuid: string;
1485
+ };
1486
+ }, {
1487
+ type: "banUser";
1488
+ data: {
1489
+ name: string;
1490
+ uuid: string;
1491
+ };
1468
1492
  }>]>;
1469
1493
  export type IframeEvent = z.infer<typeof isIframeEventWrapper>;
1470
1494
  export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
@@ -2931,6 +2955,30 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2931
2955
  allow?: string | null | undefined;
2932
2956
  src: string;
2933
2957
  };
2958
+ }>, z.ZodObject<{
2959
+ type: z.ZodLiteral<"banUser">;
2960
+ data: z.ZodObject<{
2961
+ uuid: z.ZodString;
2962
+ name: z.ZodString;
2963
+ }, "strip", z.ZodTypeAny, {
2964
+ name: string;
2965
+ uuid: string;
2966
+ }, {
2967
+ name: string;
2968
+ uuid: string;
2969
+ }>;
2970
+ }, "strip", z.ZodTypeAny, {
2971
+ type: "banUser";
2972
+ data: {
2973
+ name: string;
2974
+ uuid: string;
2975
+ };
2976
+ }, {
2977
+ type: "banUser";
2978
+ data: {
2979
+ name: string;
2980
+ uuid: string;
2981
+ };
2934
2982
  }>]>;
2935
2983
  export type IframeResponseEvent = z.infer<typeof isIframeResponseEvent>;
2936
2984
  export declare const isLookingLikeIframeEventWrapper: z.ZodObject<{