@workadventure/iframe-api-typings 1.28.2 → 1.28.4

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.28.2",
3
+ "version": "v1.28.4",
4
4
  "description": "Typescript typings for WorkAdventure iFrame API",
5
5
  "main": "iframe_api.js",
6
6
  "types": "iframe_api.d.ts",
@@ -1086,39 +1086,6 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1086
1086
  x?: number | undefined;
1087
1087
  y?: number | undefined;
1088
1088
  };
1089
- }>, z.ZodObject<{
1090
- type: z.ZodLiteral<"askPosition">;
1091
- data: z.ZodObject<{
1092
- uuid: z.ZodString;
1093
- playUri: z.ZodString;
1094
- }, "strip", z.ZodTypeAny, {
1095
- uuid: string;
1096
- playUri: string;
1097
- }, {
1098
- uuid: string;
1099
- playUri: string;
1100
- }>;
1101
- }, "strip", z.ZodTypeAny, {
1102
- type: "askPosition";
1103
- data: {
1104
- uuid: string;
1105
- playUri: string;
1106
- };
1107
- }, {
1108
- type: "askPosition";
1109
- data: {
1110
- uuid: string;
1111
- playUri: string;
1112
- };
1113
- }>, z.ZodObject<{
1114
- type: z.ZodLiteral<"openInviteMenu">;
1115
- data: z.ZodUndefined;
1116
- }, "strip", z.ZodTypeAny, {
1117
- type: "openInviteMenu";
1118
- data?: undefined;
1119
- }, {
1120
- type: "openInviteMenu";
1121
- data?: undefined;
1122
1089
  }>, z.ZodObject<{
1123
1090
  type: z.ZodLiteral<"login">;
1124
1091
  data: z.ZodUndefined;
@@ -105,9 +105,9 @@ export declare const iframeMessagePortTypeGuards: {
105
105
  uuid: string;
106
106
  tags: string[];
107
107
  isLogged: boolean;
108
- playUri: string;
109
108
  availabilityStatus: number;
110
109
  spaceUserId: string;
110
+ playUri: string;
111
111
  cameraState: boolean;
112
112
  microphoneState: boolean;
113
113
  screenSharingState: boolean;
@@ -119,9 +119,9 @@ export declare const iframeMessagePortTypeGuards: {
119
119
  uuid: string;
120
120
  tags: string[];
121
121
  isLogged: boolean;
122
- playUri: string;
123
122
  availabilityStatus: number;
124
123
  spaceUserId: string;
124
+ playUri: string;
125
125
  cameraState: boolean;
126
126
  microphoneState: boolean;
127
127
  screenSharingState: boolean;
@@ -136,9 +136,9 @@ export declare const iframeMessagePortTypeGuards: {
136
136
  uuid: string;
137
137
  tags: string[];
138
138
  isLogged: boolean;
139
- playUri: string;
140
139
  availabilityStatus: number;
141
140
  spaceUserId: string;
141
+ playUri: string;
142
142
  cameraState: boolean;
143
143
  microphoneState: boolean;
144
144
  screenSharingState: boolean;
@@ -153,9 +153,9 @@ export declare const iframeMessagePortTypeGuards: {
153
153
  uuid: string;
154
154
  tags: string[];
155
155
  isLogged: boolean;
156
- playUri: string;
157
156
  availabilityStatus: number;
158
157
  spaceUserId: string;
158
+ playUri: string;
159
159
  cameraState: boolean;
160
160
  microphoneState: boolean;
161
161
  screenSharingState: boolean;
@@ -205,10 +205,10 @@ export declare const iframeMessagePortTypeGuards: {
205
205
  uuid?: string | undefined;
206
206
  tags?: string[] | undefined;
207
207
  isLogged?: boolean | undefined;
208
- playUri?: string | undefined;
209
208
  availabilityStatus?: number | undefined;
210
209
  chatID?: string | undefined;
211
210
  spaceUserId?: string | undefined;
211
+ playUri?: string | undefined;
212
212
  cameraState?: boolean | undefined;
213
213
  microphoneState?: boolean | undefined;
214
214
  screenSharingState?: boolean | undefined;
@@ -219,10 +219,10 @@ export declare const iframeMessagePortTypeGuards: {
219
219
  uuid?: string | undefined;
220
220
  tags?: string[] | undefined;
221
221
  isLogged?: boolean | undefined;
222
- playUri?: string | undefined;
223
222
  availabilityStatus?: number | undefined;
224
223
  chatID?: string | undefined;
225
224
  spaceUserId?: string | undefined;
225
+ playUri?: string | undefined;
226
226
  cameraState?: boolean | undefined;
227
227
  microphoneState?: boolean | undefined;
228
228
  screenSharingState?: boolean | undefined;
@@ -237,10 +237,10 @@ export declare const iframeMessagePortTypeGuards: {
237
237
  uuid?: string | undefined;
238
238
  tags?: string[] | undefined;
239
239
  isLogged?: boolean | undefined;
240
- playUri?: string | undefined;
241
240
  availabilityStatus?: number | undefined;
242
241
  chatID?: string | undefined;
243
242
  spaceUserId?: string | undefined;
243
+ playUri?: string | undefined;
244
244
  cameraState?: boolean | undefined;
245
245
  microphoneState?: boolean | undefined;
246
246
  screenSharingState?: boolean | undefined;
@@ -255,10 +255,10 @@ export declare const iframeMessagePortTypeGuards: {
255
255
  uuid?: string | undefined;
256
256
  tags?: string[] | undefined;
257
257
  isLogged?: boolean | undefined;
258
- playUri?: string | undefined;
259
258
  availabilityStatus?: number | undefined;
260
259
  chatID?: string | undefined;
261
260
  spaceUserId?: string | undefined;
261
+ playUri?: string | undefined;
262
262
  cameraState?: boolean | undefined;
263
263
  microphoneState?: boolean | undefined;
264
264
  screenSharingState?: boolean | undefined;
@@ -276,10 +276,10 @@ export declare const iframeMessagePortTypeGuards: {
276
276
  uuid?: string | undefined;
277
277
  tags?: string[] | undefined;
278
278
  isLogged?: boolean | undefined;
279
- playUri?: string | undefined;
280
279
  availabilityStatus?: number | undefined;
281
280
  chatID?: string | undefined;
282
281
  spaceUserId?: string | undefined;
282
+ playUri?: string | undefined;
283
283
  cameraState?: boolean | undefined;
284
284
  microphoneState?: boolean | undefined;
285
285
  screenSharingState?: boolean | undefined;
@@ -297,10 +297,10 @@ export declare const iframeMessagePortTypeGuards: {
297
297
  uuid?: string | undefined;
298
298
  tags?: string[] | undefined;
299
299
  isLogged?: boolean | undefined;
300
- playUri?: string | undefined;
301
300
  availabilityStatus?: number | undefined;
302
301
  chatID?: string | undefined;
303
302
  spaceUserId?: string | undefined;
303
+ playUri?: string | undefined;
304
304
  cameraState?: boolean | undefined;
305
305
  microphoneState?: boolean | undefined;
306
306
  screenSharingState?: boolean | undefined;
@@ -18,9 +18,9 @@ export declare const NewSpaceUserEvent: z.ZodObject<{
18
18
  uuid: string;
19
19
  tags: string[];
20
20
  isLogged: boolean;
21
- playUri: string;
22
21
  availabilityStatus: number;
23
22
  spaceUserId: string;
23
+ playUri: string;
24
24
  cameraState: boolean;
25
25
  microphoneState: boolean;
26
26
  screenSharingState: boolean;
@@ -32,9 +32,9 @@ export declare const NewSpaceUserEvent: z.ZodObject<{
32
32
  uuid: string;
33
33
  tags: string[];
34
34
  isLogged: boolean;
35
- playUri: string;
36
35
  availabilityStatus: number;
37
36
  spaceUserId: string;
37
+ playUri: string;
38
38
  cameraState: boolean;
39
39
  microphoneState: boolean;
40
40
  screenSharingState: boolean;
@@ -1,15 +0,0 @@
1
- import { z } from "zod";
2
- export declare const isAskPositionEvent: z.ZodObject<{
3
- uuid: z.ZodString;
4
- playUri: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- uuid: string;
7
- playUri: string;
8
- }, {
9
- uuid: string;
10
- playUri: string;
11
- }>;
12
- /**
13
- * A message sent from the iFrame to the game to ask the position of the user with uuid and walk to him.
14
- */
15
- export type AskPositionEvent = z.infer<typeof isAskPositionEvent>;