@workadventure/iframe-api-typings 1.13.9 → 1.14.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.
@@ -1086,17 +1086,17 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1086
1086
  src: z.ZodString;
1087
1087
  allow: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1088
1088
  tiltle: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1089
- position: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1089
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
1090
1090
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1091
1091
  }, "strip", z.ZodTypeAny, {
1092
1092
  allowApi: boolean;
1093
- position: string;
1093
+ position: "left" | "right" | "center";
1094
1094
  allow: string | null;
1095
1095
  src: string;
1096
1096
  tiltle: string;
1097
1097
  }, {
1098
1098
  allowApi?: boolean | undefined;
1099
- position?: string | undefined;
1099
+ position?: "left" | "right" | "center" | undefined;
1100
1100
  allow?: string | null | undefined;
1101
1101
  tiltle?: string | undefined;
1102
1102
  src: string;
@@ -1105,7 +1105,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1105
1105
  type: "openModal";
1106
1106
  data: {
1107
1107
  allowApi: boolean;
1108
- position: string;
1108
+ position: "left" | "right" | "center";
1109
1109
  allow: string | null;
1110
1110
  src: string;
1111
1111
  tiltle: string;
@@ -1114,7 +1114,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1114
1114
  type: "openModal";
1115
1115
  data: {
1116
1116
  allowApi?: boolean | undefined;
1117
- position?: string | undefined;
1117
+ position?: "left" | "right" | "center" | undefined;
1118
1118
  allow?: string | null | undefined;
1119
1119
  tiltle?: string | undefined;
1120
1120
  src: string;
@@ -2162,6 +2162,80 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2162
2162
  }, {
2163
2163
  type: "availabilityStatus";
2164
2164
  data: number;
2165
+ }>, z.ZodObject<{
2166
+ type: z.ZodLiteral<"xmppSettingsMessage">;
2167
+ data: z.ZodObject<{
2168
+ jid: z.ZodString;
2169
+ conferenceDomain: z.ZodString;
2170
+ rooms: z.ZodArray<z.ZodObject<{
2171
+ name: z.ZodString;
2172
+ url: z.ZodString;
2173
+ type: z.ZodString;
2174
+ subscribe: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2175
+ }, "strip", z.ZodTypeAny, {
2176
+ type: string;
2177
+ url: string;
2178
+ name: string;
2179
+ subscribe: boolean;
2180
+ }, {
2181
+ subscribe?: boolean | undefined;
2182
+ type: string;
2183
+ url: string;
2184
+ name: string;
2185
+ }>, "many">;
2186
+ jabberId: z.ZodString;
2187
+ jabberPassword: z.ZodString;
2188
+ }, "strip", z.ZodTypeAny, {
2189
+ jid: string;
2190
+ conferenceDomain: string;
2191
+ rooms: {
2192
+ type: string;
2193
+ url: string;
2194
+ name: string;
2195
+ subscribe: boolean;
2196
+ }[];
2197
+ jabberId: string;
2198
+ jabberPassword: string;
2199
+ }, {
2200
+ jid: string;
2201
+ conferenceDomain: string;
2202
+ rooms: {
2203
+ subscribe?: boolean | undefined;
2204
+ type: string;
2205
+ url: string;
2206
+ name: string;
2207
+ }[];
2208
+ jabberId: string;
2209
+ jabberPassword: string;
2210
+ }>;
2211
+ }, "strip", z.ZodTypeAny, {
2212
+ type: "xmppSettingsMessage";
2213
+ data: {
2214
+ jid: string;
2215
+ conferenceDomain: string;
2216
+ rooms: {
2217
+ type: string;
2218
+ url: string;
2219
+ name: string;
2220
+ subscribe: boolean;
2221
+ }[];
2222
+ jabberId: string;
2223
+ jabberPassword: string;
2224
+ };
2225
+ }, {
2226
+ type: "xmppSettingsMessage";
2227
+ data: {
2228
+ jid: string;
2229
+ conferenceDomain: string;
2230
+ rooms: {
2231
+ subscribe?: boolean | undefined;
2232
+ type: string;
2233
+ url: string;
2234
+ name: string;
2235
+ }[];
2236
+ jabberId: string;
2237
+ jabberPassword: string;
2238
+ };
2165
2239
  }>, z.ZodObject<{
2166
2240
  type: z.ZodLiteral<"peerConnectionStatus">;
2167
2241
  data: z.ZodBoolean;
@@ -3,17 +3,17 @@ export declare const isModalEvent: z.ZodObject<{
3
3
  src: z.ZodString;
4
4
  allow: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5
5
  tiltle: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6
- position: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
7
7
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  allowApi: boolean;
10
- position: string;
10
+ position: "left" | "right" | "center";
11
11
  allow: string | null;
12
12
  src: string;
13
13
  tiltle: string;
14
14
  }, {
15
15
  allowApi?: boolean | undefined;
16
- position?: string | undefined;
16
+ position?: "left" | "right" | "center" | undefined;
17
17
  allow?: string | null | undefined;
18
18
  tiltle?: string | undefined;
19
19
  src: string;
@@ -0,0 +1,46 @@
1
+ import { z } from "zod";
2
+ export declare const isXmppSettingsMessageEvent: z.ZodObject<{
3
+ jid: z.ZodString;
4
+ conferenceDomain: z.ZodString;
5
+ rooms: z.ZodArray<z.ZodObject<{
6
+ name: z.ZodString;
7
+ url: z.ZodString;
8
+ type: z.ZodString;
9
+ subscribe: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ type: string;
12
+ url: string;
13
+ name: string;
14
+ subscribe: boolean;
15
+ }, {
16
+ subscribe?: boolean | undefined;
17
+ type: string;
18
+ url: string;
19
+ name: string;
20
+ }>, "many">;
21
+ jabberId: z.ZodString;
22
+ jabberPassword: z.ZodString;
23
+ }, "strip", z.ZodTypeAny, {
24
+ jid: string;
25
+ conferenceDomain: string;
26
+ rooms: {
27
+ type: string;
28
+ url: string;
29
+ name: string;
30
+ subscribe: boolean;
31
+ }[];
32
+ jabberId: string;
33
+ jabberPassword: string;
34
+ }, {
35
+ jid: string;
36
+ conferenceDomain: string;
37
+ rooms: {
38
+ subscribe?: boolean | undefined;
39
+ type: string;
40
+ url: string;
41
+ name: string;
42
+ }[];
43
+ jabberId: string;
44
+ jabberPassword: string;
45
+ }>;
46
+ export declare type XmppSettingsMessageEvent = z.infer<typeof isXmppSettingsMessageEvent>;
@@ -5,6 +5,7 @@ export declare class Area implements IArea {
5
5
  private config;
6
6
  readonly name: string;
7
7
  readonly type: string;
8
+ readonly class: string;
8
9
  private _x;
9
10
  private _y;
10
11
  private _width;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workadventure/iframe-api-typings",
3
- "version": "v1.13.9",
3
+ "version": "v1.14.0",
4
4
  "description": "Typescript typings for WorkAdventure iFrame API",
5
5
  "main": "iframe_api.js",
6
6
  "types": "iframe_api.d.ts",