@workadventure/iframe-api-typings 1.27.12 → 1.28.0

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.27.12",
3
+ "version": "v1.28.0",
4
4
  "description": "Typescript typings for WorkAdventure iFrame API",
5
5
  "main": "iframe_api.js",
6
6
  "types": "iframe_api.d.ts",
@@ -1165,10 +1165,12 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1165
1165
  position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
1166
1166
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1167
1167
  allowFullScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1168
+ closable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1168
1169
  }, "strip", z.ZodTypeAny, {
1169
1170
  title: string;
1170
1171
  allowApi: boolean;
1171
1172
  position: "left" | "right" | "center";
1173
+ closable: boolean;
1172
1174
  allow: string | null;
1173
1175
  src: string;
1174
1176
  allowFullScreen: boolean;
@@ -1177,6 +1179,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1177
1179
  title?: string | undefined;
1178
1180
  allowApi?: boolean | undefined;
1179
1181
  position?: "left" | "right" | "center" | undefined;
1182
+ closable?: boolean | undefined;
1180
1183
  allow?: string | null | undefined;
1181
1184
  allowFullScreen?: boolean | undefined;
1182
1185
  }>;
@@ -1186,6 +1189,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1186
1189
  title: string;
1187
1190
  allowApi: boolean;
1188
1191
  position: "left" | "right" | "center";
1192
+ closable: boolean;
1189
1193
  allow: string | null;
1190
1194
  src: string;
1191
1195
  allowFullScreen: boolean;
@@ -1197,6 +1201,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1197
1201
  title?: string | undefined;
1198
1202
  allowApi?: boolean | undefined;
1199
1203
  position?: "left" | "right" | "center" | undefined;
1204
+ closable?: boolean | undefined;
1200
1205
  allow?: string | null | undefined;
1201
1206
  allowFullScreen?: boolean | undefined;
1202
1207
  };
@@ -3224,10 +3229,12 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
3224
3229
  position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
3225
3230
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3226
3231
  allowFullScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3232
+ closable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3227
3233
  }, "strip", z.ZodTypeAny, {
3228
3234
  title: string;
3229
3235
  allowApi: boolean;
3230
3236
  position: "left" | "right" | "center";
3237
+ closable: boolean;
3231
3238
  allow: string | null;
3232
3239
  src: string;
3233
3240
  allowFullScreen: boolean;
@@ -3236,6 +3243,7 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
3236
3243
  title?: string | undefined;
3237
3244
  allowApi?: boolean | undefined;
3238
3245
  position?: "left" | "right" | "center" | undefined;
3246
+ closable?: boolean | undefined;
3239
3247
  allow?: string | null | undefined;
3240
3248
  allowFullScreen?: boolean | undefined;
3241
3249
  }>;
@@ -3245,6 +3253,7 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
3245
3253
  title: string;
3246
3254
  allowApi: boolean;
3247
3255
  position: "left" | "right" | "center";
3256
+ closable: boolean;
3248
3257
  allow: string | null;
3249
3258
  src: string;
3250
3259
  allowFullScreen: boolean;
@@ -3256,6 +3265,7 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
3256
3265
  title?: string | undefined;
3257
3266
  allowApi?: boolean | undefined;
3258
3267
  position?: "left" | "right" | "center" | undefined;
3268
+ closable?: boolean | undefined;
3259
3269
  allow?: string | null | undefined;
3260
3270
  allowFullScreen?: boolean | undefined;
3261
3271
  };
@@ -6,10 +6,12 @@ export declare const isModalEvent: z.ZodObject<{
6
6
  position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
7
7
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
8
  allowFullScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9
+ closable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9
10
  }, "strip", z.ZodTypeAny, {
10
11
  title: string;
11
12
  allowApi: boolean;
12
13
  position: "left" | "right" | "center";
14
+ closable: boolean;
13
15
  allow: string | null;
14
16
  src: string;
15
17
  allowFullScreen: boolean;
@@ -18,6 +20,7 @@ export declare const isModalEvent: z.ZodObject<{
18
20
  title?: string | undefined;
19
21
  allowApi?: boolean | undefined;
20
22
  position?: "left" | "right" | "center" | undefined;
23
+ closable?: boolean | undefined;
21
24
  allow?: string | null | undefined;
22
25
  allowFullScreen?: boolean | undefined;
23
26
  }>;
@@ -8,6 +8,7 @@ export declare class WorkadventureModalCommands extends IframeApiContribution<Wo
8
8
  title: string;
9
9
  allowApi: boolean;
10
10
  position: "left" | "right" | "center";
11
+ closable: boolean;
11
12
  allow: string | null;
12
13
  src: string;
13
14
  allowFullScreen: boolean;