@workadventure/iframe-api-typings 1.17.6 → 1.18.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/libs/shared-utils/src/Events/ChatEvent.d.ts +165 -0
- package/package.json +1 -1
- package/{front → play/src/front}/Api/Events/GameStateEvent.d.ts +15 -12
- package/{front → play/src/front}/Api/Events/IframeEvent.d.ts +495 -230
- package/play/src/front/Api/Events/ProximityMeeting/PlaySoundInBubbleEvent.d.ts +12 -0
- package/play/src/front/Api/Events/ReceiveEventEvent.d.ts +48 -0
- package/play/src/front/Api/Events/SendEventEvent.d.ts +48 -0
- package/{front → play/src/front}/Api/Events/SetSharedPlayerVariableEvent.d.ts +3 -3
- package/{front → play/src/front}/Api/Events/UserInputChatEvent.d.ts +3 -0
- package/play/src/front/Api/Iframe/AbstractEvent.d.ts +18 -0
- package/{front → play/src/front}/Api/Iframe/Player/ProximityMeeting.d.ts +10 -9
- package/{front → play/src/front}/Api/Iframe/Players/RemotePlayer.d.ts +6 -0
- package/play/src/front/Api/Iframe/chat.d.ts +66 -0
- package/play/src/front/Api/Iframe/event.d.ts +15 -0
- package/{front → play/src/front}/Api/Iframe/player.d.ts +3 -1
- package/{front → play/src/front}/Api/Iframe/room.d.ts +9 -2
- package/{iframe_api.d.ts → play/src/iframe_api.d.ts} +4 -0
- package/front/Api/Events/ChatEvent.d.ts +0 -47
- package/front/Api/Events/XmppSettingsMessageEvent.d.ts +0 -43
- package/front/Api/Iframe/chat.d.ts +0 -36
- package/{front → play/src/front}/Api/Events/ActionsMenuActionClickedEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/AddActionsMenuKeyToRemotePlayerEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/AddPlayerEvent.d.ts +13 -13
- package/{front → play/src/front}/Api/Events/AskPositionEvent.d.ts +2 -2
- package/{front → play/src/front}/Api/Events/ButtonClickedEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/CameraFollowPlayerEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/CameraSetEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ChangeAreaEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ChangeLayerEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ChatVisibilityEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ClosePopupEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ColorEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/CreateDynamicAreaEvent.d.ts +2 -2
- package/{front → play/src/front}/Api/Events/EmbeddedWebsiteEvent.d.ts +2 -2
- package/{front → play/src/front}/Api/Events/EnablePlayersTrackingEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/EnterLeaveEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/GoToPageEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/HasPlayerMovedEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/JoinMucEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/LayerEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/LeaveMucEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/LoadPageEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/LoadSoundEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/LoadTilesetEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/MapDataEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ModalEvent.d.ts +3 -3
- package/{front → play/src/front}/Api/Events/MovePlayerToEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/MovePlayerToEventAnswer.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/NotificationEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/OpenCoWebsiteEvent.d.ts +2 -2
- package/{front → play/src/front}/Api/Events/OpenPopupEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/OpenTabEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/PlaySoundEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/PlayerPosition.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +12 -12
- package/{front → play/src/front}/Api/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +12 -12
- package/{front → play/src/front}/Api/Events/RemoveActionsMenuKeyFromRemotePlayerEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/SetAreaPropertyEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/SetPlayerVariableEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/SetPropertyEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/SetTilesEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/SetVariableEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/SettingsEvent.d.ts +3 -3
- package/{front → play/src/front}/Api/Events/ShowBusinessCardEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/StopSoundEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/TeleportPlayerToEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/Ui/BannerEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/Ui/ButtonActionBarEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/Ui/MenuEvents.d.ts +2 -2
- package/{front → play/src/front}/Api/Events/Ui/MenuItemClickedEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/Ui/TriggerActionMessageEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Events/Ui/UIWebsiteEvent.d.ts +20 -20
- package/{front → play/src/front}/Api/Events/WasCameraUpdatedEvent.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/AbstractState.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Area/Area.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/IframeApiContribution.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Room/EmbeddedWebsite.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Sound/Sound.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/ActionMessage.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/Banner.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/ButtonActionBar.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/ButtonDescriptor.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/Menu.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/Modal.d.ts +2 -2
- package/{front → play/src/front}/Api/Iframe/Ui/Popup.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/Ui/UIWebsite.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/area.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/camera.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/controls.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/nav.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/playerState.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/players.d.ts +6 -6
- package/{front → play/src/front}/Api/Iframe/registeredCallbacks.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/sound.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/state.d.ts +0 -0
- package/{front → play/src/front}/Api/Iframe/ui.d.ts +3 -3
- /package/{front → play/src/front}/Api/Iframe/website.d.ts +0 -0
- /package/{front → play/src/front}/Api/types.d.ts +0 -0
|
@@ -32,9 +32,9 @@ export declare const isEmbeddedWebsiteEvent: z.ZodObject<{
|
|
|
32
32
|
url?: string | undefined;
|
|
33
33
|
height?: number | undefined;
|
|
34
34
|
width?: number | undefined;
|
|
35
|
-
allowApi?: boolean | undefined;
|
|
36
35
|
x?: number | undefined;
|
|
37
36
|
y?: number | undefined;
|
|
37
|
+
allowApi?: boolean | undefined;
|
|
38
38
|
visible?: boolean | undefined;
|
|
39
39
|
allow?: string | undefined;
|
|
40
40
|
origin?: "map" | "player" | undefined;
|
|
@@ -44,9 +44,9 @@ export declare const isEmbeddedWebsiteEvent: z.ZodObject<{
|
|
|
44
44
|
url?: string | undefined;
|
|
45
45
|
height?: number | undefined;
|
|
46
46
|
width?: number | undefined;
|
|
47
|
-
allowApi?: boolean | undefined;
|
|
48
47
|
x?: number | undefined;
|
|
49
48
|
y?: number | undefined;
|
|
49
|
+
allowApi?: boolean | undefined;
|
|
50
50
|
visible?: boolean | undefined;
|
|
51
51
|
allow?: string | undefined;
|
|
52
52
|
origin?: "map" | "player" | undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -7,14 +7,14 @@ export declare const isModalEvent: z.ZodObject<{
|
|
|
7
7
|
allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
title: string;
|
|
10
|
-
allowApi: boolean;
|
|
11
10
|
position: "left" | "right" | "center";
|
|
12
|
-
allow: string | null;
|
|
13
11
|
src: string;
|
|
12
|
+
allowApi: boolean;
|
|
13
|
+
allow: string | null;
|
|
14
14
|
}, {
|
|
15
15
|
title?: string | undefined;
|
|
16
|
-
allowApi?: boolean | undefined;
|
|
17
16
|
position?: "left" | "right" | "center" | undefined;
|
|
17
|
+
allowApi?: boolean | undefined;
|
|
18
18
|
allow?: string | null | undefined;
|
|
19
19
|
src: string;
|
|
20
20
|
}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -8,18 +8,18 @@ export declare const isOpenCoWebsiteEvent: z.ZodObject<{
|
|
|
8
8
|
closable: z.ZodOptional<z.ZodBoolean>;
|
|
9
9
|
lazy: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
position?: number | undefined;
|
|
11
12
|
allowApi?: boolean | undefined;
|
|
12
13
|
allowPolicy?: string | undefined;
|
|
13
14
|
widthPercent?: number | undefined;
|
|
14
|
-
position?: number | undefined;
|
|
15
15
|
closable?: boolean | undefined;
|
|
16
16
|
lazy?: boolean | undefined;
|
|
17
17
|
url: string;
|
|
18
18
|
}, {
|
|
19
|
+
position?: number | undefined;
|
|
19
20
|
allowApi?: boolean | undefined;
|
|
20
21
|
allowPolicy?: string | undefined;
|
|
21
22
|
widthPercent?: number | undefined;
|
|
22
|
-
position?: number | undefined;
|
|
23
23
|
closable?: boolean | undefined;
|
|
24
24
|
lazy?: boolean | undefined;
|
|
25
25
|
url: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -20,51 +20,51 @@ export declare const isJoinProximityMeetingEvent: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
outlineColor?: number | undefined;
|
|
22
22
|
name: string;
|
|
23
|
+
availabilityStatus: string;
|
|
23
24
|
position: {
|
|
24
25
|
x: number;
|
|
25
26
|
y: number;
|
|
26
27
|
};
|
|
27
|
-
playerId: number;
|
|
28
|
-
variables: Map<string, unknown>;
|
|
29
28
|
userUuid: string;
|
|
30
|
-
|
|
29
|
+
variables: Map<string, unknown>;
|
|
30
|
+
playerId: number;
|
|
31
31
|
}, {
|
|
32
32
|
outlineColor?: number | undefined;
|
|
33
33
|
name: string;
|
|
34
|
+
availabilityStatus: string;
|
|
34
35
|
position: {
|
|
35
36
|
x: number;
|
|
36
37
|
y: number;
|
|
37
38
|
};
|
|
38
|
-
playerId: number;
|
|
39
|
-
variables: Map<string, unknown>;
|
|
40
39
|
userUuid: string;
|
|
41
|
-
|
|
40
|
+
variables: Map<string, unknown>;
|
|
41
|
+
playerId: number;
|
|
42
42
|
}>, "many">;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
users: {
|
|
45
45
|
outlineColor?: number | undefined;
|
|
46
46
|
name: string;
|
|
47
|
+
availabilityStatus: string;
|
|
47
48
|
position: {
|
|
48
49
|
x: number;
|
|
49
50
|
y: number;
|
|
50
51
|
};
|
|
51
|
-
playerId: number;
|
|
52
|
-
variables: Map<string, unknown>;
|
|
53
52
|
userUuid: string;
|
|
54
|
-
|
|
53
|
+
variables: Map<string, unknown>;
|
|
54
|
+
playerId: number;
|
|
55
55
|
}[];
|
|
56
56
|
}, {
|
|
57
57
|
users: {
|
|
58
58
|
outlineColor?: number | undefined;
|
|
59
59
|
name: string;
|
|
60
|
+
availabilityStatus: string;
|
|
60
61
|
position: {
|
|
61
62
|
x: number;
|
|
62
63
|
y: number;
|
|
63
64
|
};
|
|
64
|
-
playerId: number;
|
|
65
|
-
variables: Map<string, unknown>;
|
|
66
65
|
userUuid: string;
|
|
67
|
-
|
|
66
|
+
variables: Map<string, unknown>;
|
|
67
|
+
playerId: number;
|
|
68
68
|
}[];
|
|
69
69
|
}>;
|
|
70
70
|
export type JoinProximityMeetingEvent = z.infer<typeof isJoinProximityMeetingEvent>;
|
package/{front → play/src/front}/Api/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts
RENAMED
|
@@ -20,51 +20,51 @@ export declare const isParticipantProximityMeetingEvent: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
outlineColor?: number | undefined;
|
|
22
22
|
name: string;
|
|
23
|
+
availabilityStatus: string;
|
|
23
24
|
position: {
|
|
24
25
|
x: number;
|
|
25
26
|
y: number;
|
|
26
27
|
};
|
|
27
|
-
playerId: number;
|
|
28
|
-
variables: Map<string, unknown>;
|
|
29
28
|
userUuid: string;
|
|
30
|
-
|
|
29
|
+
variables: Map<string, unknown>;
|
|
30
|
+
playerId: number;
|
|
31
31
|
}, {
|
|
32
32
|
outlineColor?: number | undefined;
|
|
33
33
|
name: string;
|
|
34
|
+
availabilityStatus: string;
|
|
34
35
|
position: {
|
|
35
36
|
x: number;
|
|
36
37
|
y: number;
|
|
37
38
|
};
|
|
38
|
-
playerId: number;
|
|
39
|
-
variables: Map<string, unknown>;
|
|
40
39
|
userUuid: string;
|
|
41
|
-
|
|
40
|
+
variables: Map<string, unknown>;
|
|
41
|
+
playerId: number;
|
|
42
42
|
}>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
user: {
|
|
45
45
|
outlineColor?: number | undefined;
|
|
46
46
|
name: string;
|
|
47
|
+
availabilityStatus: string;
|
|
47
48
|
position: {
|
|
48
49
|
x: number;
|
|
49
50
|
y: number;
|
|
50
51
|
};
|
|
51
|
-
playerId: number;
|
|
52
|
-
variables: Map<string, unknown>;
|
|
53
52
|
userUuid: string;
|
|
54
|
-
|
|
53
|
+
variables: Map<string, unknown>;
|
|
54
|
+
playerId: number;
|
|
55
55
|
};
|
|
56
56
|
}, {
|
|
57
57
|
user: {
|
|
58
58
|
outlineColor?: number | undefined;
|
|
59
59
|
name: string;
|
|
60
|
+
availabilityStatus: string;
|
|
60
61
|
position: {
|
|
61
62
|
x: number;
|
|
62
63
|
y: number;
|
|
63
64
|
};
|
|
64
|
-
playerId: number;
|
|
65
|
-
variables: Map<string, unknown>;
|
|
66
65
|
userUuid: string;
|
|
67
|
-
|
|
66
|
+
variables: Map<string, unknown>;
|
|
67
|
+
playerId: number;
|
|
68
68
|
};
|
|
69
69
|
}>;
|
|
70
70
|
export type ParticipantProximityMeetingEvent = z.infer<typeof isParticipantProximityMeetingEvent>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -7,18 +7,18 @@ export declare const isSettingsEvent: z.ZodObject<{
|
|
|
7
7
|
enableChatOnlineList: z.ZodBoolean;
|
|
8
8
|
enableChatDisconnectedList: z.ZodBoolean;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
notification: boolean;
|
|
11
|
-
chatSounds: boolean;
|
|
12
10
|
enableChat: boolean;
|
|
13
11
|
enableChatUpload: boolean;
|
|
14
12
|
enableChatOnlineList: boolean;
|
|
15
13
|
enableChatDisconnectedList: boolean;
|
|
16
|
-
}, {
|
|
17
14
|
notification: boolean;
|
|
18
15
|
chatSounds: boolean;
|
|
16
|
+
}, {
|
|
19
17
|
enableChat: boolean;
|
|
20
18
|
enableChatUpload: boolean;
|
|
21
19
|
enableChatOnlineList: boolean;
|
|
22
20
|
enableChatDisconnectedList: boolean;
|
|
21
|
+
notification: boolean;
|
|
22
|
+
chatSounds: boolean;
|
|
23
23
|
}>;
|
|
24
24
|
export type SettingsEvent = z.infer<typeof isSettingsEvent>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,15 +36,15 @@ export declare const isMenuRegisterEvent: z.ZodObject<{
|
|
|
36
36
|
options: {
|
|
37
37
|
allowApi: boolean;
|
|
38
38
|
};
|
|
39
|
-
name: string;
|
|
40
39
|
key: string;
|
|
40
|
+
name: string;
|
|
41
41
|
}, {
|
|
42
42
|
iframe?: string | undefined;
|
|
43
43
|
options: {
|
|
44
44
|
allowApi: boolean;
|
|
45
45
|
};
|
|
46
|
-
name: string;
|
|
47
46
|
key: string;
|
|
47
|
+
name: string;
|
|
48
48
|
}>;
|
|
49
49
|
export type MenuRegisterEvent = z.infer<typeof isMenuRegisterEvent>;
|
|
50
50
|
/**
|
|
File without changes
|
|
File without changes
|
|
@@ -9,13 +9,13 @@ export declare const isUIWebsiteMargin: z.ZodObject<{
|
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
left?: string | undefined;
|
|
11
11
|
top?: string | undefined;
|
|
12
|
-
bottom?: string | undefined;
|
|
13
12
|
right?: string | undefined;
|
|
13
|
+
bottom?: string | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
left?: string | undefined;
|
|
16
16
|
top?: string | undefined;
|
|
17
|
-
bottom?: string | undefined;
|
|
18
17
|
right?: string | undefined;
|
|
18
|
+
bottom?: string | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
export type UIWebsiteMargin = z.infer<typeof isUIWebsiteMargin>;
|
|
21
21
|
export declare const isViewportPositionVertical: z.ZodEnum<["top", "middle", "bottom"]>;
|
|
@@ -77,13 +77,13 @@ export declare const isCreateUIWebsiteEvent: z.ZodObject<{
|
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
left?: string | undefined;
|
|
79
79
|
top?: string | undefined;
|
|
80
|
-
bottom?: string | undefined;
|
|
81
80
|
right?: string | undefined;
|
|
81
|
+
bottom?: string | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
left?: string | undefined;
|
|
84
84
|
top?: string | undefined;
|
|
85
|
-
bottom?: string | undefined;
|
|
86
85
|
right?: string | undefined;
|
|
86
|
+
bottom?: string | undefined;
|
|
87
87
|
}>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
allowApi?: boolean | undefined;
|
|
@@ -92,8 +92,8 @@ export declare const isCreateUIWebsiteEvent: z.ZodObject<{
|
|
|
92
92
|
margin?: {
|
|
93
93
|
left?: string | undefined;
|
|
94
94
|
top?: string | undefined;
|
|
95
|
-
bottom?: string | undefined;
|
|
96
95
|
right?: string | undefined;
|
|
96
|
+
bottom?: string | undefined;
|
|
97
97
|
} | undefined;
|
|
98
98
|
url: string;
|
|
99
99
|
position: {
|
|
@@ -111,8 +111,8 @@ export declare const isCreateUIWebsiteEvent: z.ZodObject<{
|
|
|
111
111
|
margin?: {
|
|
112
112
|
left?: string | undefined;
|
|
113
113
|
top?: string | undefined;
|
|
114
|
-
bottom?: string | undefined;
|
|
115
114
|
right?: string | undefined;
|
|
115
|
+
bottom?: string | undefined;
|
|
116
116
|
} | undefined;
|
|
117
117
|
url: string;
|
|
118
118
|
position: {
|
|
@@ -157,13 +157,13 @@ export declare const isModifyUIWebsiteEvent: z.ZodObject<{
|
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
left?: string | undefined;
|
|
159
159
|
top?: string | undefined;
|
|
160
|
-
bottom?: string | undefined;
|
|
161
160
|
right?: string | undefined;
|
|
161
|
+
bottom?: string | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
left?: string | undefined;
|
|
164
164
|
top?: string | undefined;
|
|
165
|
-
bottom?: string | undefined;
|
|
166
165
|
right?: string | undefined;
|
|
166
|
+
bottom?: string | undefined;
|
|
167
167
|
}>>;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
169
|
url?: string | undefined;
|
|
@@ -179,8 +179,8 @@ export declare const isModifyUIWebsiteEvent: z.ZodObject<{
|
|
|
179
179
|
margin?: {
|
|
180
180
|
left?: string | undefined;
|
|
181
181
|
top?: string | undefined;
|
|
182
|
-
bottom?: string | undefined;
|
|
183
182
|
right?: string | undefined;
|
|
183
|
+
bottom?: string | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
id: string;
|
|
186
186
|
}, {
|
|
@@ -197,8 +197,8 @@ export declare const isModifyUIWebsiteEvent: z.ZodObject<{
|
|
|
197
197
|
margin?: {
|
|
198
198
|
left?: string | undefined;
|
|
199
199
|
top?: string | undefined;
|
|
200
|
-
bottom?: string | undefined;
|
|
201
200
|
right?: string | undefined;
|
|
201
|
+
bottom?: string | undefined;
|
|
202
202
|
} | undefined;
|
|
203
203
|
id: string;
|
|
204
204
|
}>;
|
|
@@ -237,29 +237,29 @@ export declare const isUIWebsiteEvent: z.ZodObject<{
|
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
left?: string | undefined;
|
|
239
239
|
top?: string | undefined;
|
|
240
|
-
bottom?: string | undefined;
|
|
241
240
|
right?: string | undefined;
|
|
241
|
+
bottom?: string | undefined;
|
|
242
242
|
}, {
|
|
243
243
|
left?: string | undefined;
|
|
244
244
|
top?: string | undefined;
|
|
245
|
-
bottom?: string | undefined;
|
|
246
245
|
right?: string | undefined;
|
|
246
|
+
bottom?: string | undefined;
|
|
247
247
|
}>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
margin?: {
|
|
250
250
|
left?: string | undefined;
|
|
251
251
|
top?: string | undefined;
|
|
252
|
-
bottom?: string | undefined;
|
|
253
252
|
right?: string | undefined;
|
|
253
|
+
bottom?: string | undefined;
|
|
254
254
|
} | undefined;
|
|
255
255
|
url: string;
|
|
256
|
-
|
|
257
|
-
allowPolicy: string;
|
|
256
|
+
id: string;
|
|
258
257
|
position: {
|
|
259
258
|
vertical: "top" | "bottom" | "middle";
|
|
260
259
|
horizontal: "left" | "right" | "middle";
|
|
261
260
|
};
|
|
262
|
-
|
|
261
|
+
allowApi: boolean;
|
|
262
|
+
allowPolicy: string;
|
|
263
263
|
visible: boolean;
|
|
264
264
|
size: {
|
|
265
265
|
height: string;
|
|
@@ -269,17 +269,17 @@ export declare const isUIWebsiteEvent: z.ZodObject<{
|
|
|
269
269
|
margin?: {
|
|
270
270
|
left?: string | undefined;
|
|
271
271
|
top?: string | undefined;
|
|
272
|
-
bottom?: string | undefined;
|
|
273
272
|
right?: string | undefined;
|
|
273
|
+
bottom?: string | undefined;
|
|
274
274
|
} | undefined;
|
|
275
275
|
url: string;
|
|
276
|
-
|
|
277
|
-
allowPolicy: string;
|
|
276
|
+
id: string;
|
|
278
277
|
position: {
|
|
279
278
|
vertical: "top" | "bottom" | "middle";
|
|
280
279
|
horizontal: "left" | "right" | "middle";
|
|
281
280
|
};
|
|
282
|
-
|
|
281
|
+
allowApi: boolean;
|
|
282
|
+
allowPolicy: string;
|
|
283
283
|
visible: boolean;
|
|
284
284
|
size: {
|
|
285
285
|
height: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,10 +6,10 @@ export declare class WorkadventureModalCommands extends IframeApiContribution<Wo
|
|
|
6
6
|
type: "modalCloseTrigger";
|
|
7
7
|
callback: (event: {
|
|
8
8
|
title: string;
|
|
9
|
-
allowApi: boolean;
|
|
10
9
|
position: "left" | "right" | "center";
|
|
11
|
-
allow: string | null;
|
|
12
10
|
src: string;
|
|
11
|
+
allowApi: boolean;
|
|
12
|
+
allow: string | null;
|
|
13
13
|
}) => void;
|
|
14
14
|
}[];
|
|
15
15
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,22 +13,22 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
13
13
|
type: "setSharedPlayerVariable";
|
|
14
14
|
callback: (event: {
|
|
15
15
|
value?: unknown;
|
|
16
|
-
playerId: number;
|
|
17
16
|
key: string;
|
|
17
|
+
playerId: number;
|
|
18
18
|
}) => void;
|
|
19
19
|
} | {
|
|
20
20
|
type: "addRemotePlayer";
|
|
21
21
|
callback: (event: {
|
|
22
22
|
outlineColor?: number | undefined;
|
|
23
23
|
name: string;
|
|
24
|
+
availabilityStatus: string;
|
|
24
25
|
position: {
|
|
25
26
|
x: number;
|
|
26
27
|
y: number;
|
|
27
28
|
};
|
|
28
|
-
playerId: number;
|
|
29
|
-
variables: Map<string, unknown>;
|
|
30
29
|
userUuid: string;
|
|
31
|
-
|
|
30
|
+
variables: Map<string, unknown>;
|
|
31
|
+
playerId: number;
|
|
32
32
|
}) => void;
|
|
33
33
|
} | {
|
|
34
34
|
type: "removeRemotePlayer";
|
|
@@ -37,13 +37,13 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
37
37
|
type: "remotePlayerChanged";
|
|
38
38
|
callback: (event: {
|
|
39
39
|
name?: string | undefined;
|
|
40
|
+
outlineColor?: number | undefined;
|
|
41
|
+
availabilityStatus?: string | undefined;
|
|
40
42
|
position?: {
|
|
41
43
|
x: number;
|
|
42
44
|
y: number;
|
|
43
45
|
} | undefined;
|
|
44
46
|
variables?: Map<string, unknown> | undefined;
|
|
45
|
-
availabilityStatus?: string | undefined;
|
|
46
|
-
outlineColor?: number | undefined;
|
|
47
47
|
playerId: number;
|
|
48
48
|
}) => void;
|
|
49
49
|
})[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -60,14 +60,14 @@ export declare class WorkAdventureUiCommands extends IframeApiContribution<WorkA
|
|
|
60
60
|
callback: (event: {
|
|
61
61
|
outlineColor?: number | undefined;
|
|
62
62
|
name: string;
|
|
63
|
+
availabilityStatus: string;
|
|
63
64
|
position: {
|
|
64
65
|
x: number;
|
|
65
66
|
y: number;
|
|
66
67
|
};
|
|
67
|
-
playerId: number;
|
|
68
|
-
variables: Map<string, unknown>;
|
|
69
68
|
userUuid: string;
|
|
70
|
-
|
|
69
|
+
variables: Map<string, unknown>;
|
|
70
|
+
playerId: number;
|
|
71
71
|
}) => void;
|
|
72
72
|
} | {
|
|
73
73
|
type: "actionsMenuActionClickedEvent";
|
|
File without changes
|
|
File without changes
|