@workadventure/iframe-api-typings 1.11.4 → 1.12.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/Api/Events/AddPlayerEvent.d.ts +86 -0
- package/Api/Events/AskPositionEvent.d.ts +15 -0
- package/Api/Events/ChatEvent.d.ts +29 -0
- package/Api/Events/ChatVisibilityEvent.d.ts +9 -0
- package/Api/Events/EnablePlayersTrackingEvent.d.ts +15 -0
- package/Api/Events/GameStateEvent.d.ts +6 -0
- package/Api/Events/IframeEvent.d.ts +1120 -93
- package/Api/Events/JoinMucEvent.d.ts +21 -0
- package/Api/Events/LeaveMucEvent.d.ts +12 -0
- package/Api/Events/NotificationEvent.d.ts +18 -0
- package/Api/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +70 -0
- package/Api/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +70 -0
- package/Api/Events/SetPlayerVariableEvent.d.ts +27 -0
- package/Api/Events/SetSharedPlayerVariableEvent.d.ts +18 -0
- package/Api/Events/SetVariableEvent.d.ts +1 -9
- package/Api/Events/SettingsEvent.d.ts +12 -0
- package/Api/Events/ShowBusinessCardEvent.d.ts +12 -0
- package/Api/Events/{ui → Ui}/MenuItemClickedEvent.d.ts +0 -0
- package/Api/Events/{ui → Ui}/MenuRegisterEvent.d.ts +0 -0
- package/Api/Events/{ui → Ui}/TriggerActionMessageEvent.d.ts +0 -0
- package/Api/Events/{ui → Ui}/UIWebsite.d.ts +0 -0
- package/Api/Iframe/AbstractState.d.ts +14 -0
- package/Api/{iframe → Iframe}/Area/Area.d.ts +1 -1
- package/Api/{iframe → Iframe}/IframeApiContribution.d.ts +0 -0
- package/Api/Iframe/Player/ProximityMeeting.d.ts +85 -0
- package/Api/Iframe/Players/RemotePlayer.d.ts +81 -0
- package/Api/{iframe → Iframe}/Room/EmbeddedWebsite.d.ts +0 -0
- package/Api/Iframe/Sound/Sound.d.ts +43 -0
- package/Api/{iframe → Iframe}/Ui/ActionMessage.d.ts +0 -0
- package/Api/{iframe → Iframe}/Ui/ButtonDescriptor.d.ts +0 -0
- package/Api/{iframe → Iframe}/Ui/Menu.d.ts +0 -0
- package/Api/{iframe → Iframe}/Ui/Popup.d.ts +0 -0
- package/Api/{iframe → Iframe}/Ui/UIWebsite.d.ts +14 -1
- package/Api/Iframe/area.d.ts +59 -0
- package/Api/Iframe/camera.d.ts +46 -0
- package/Api/Iframe/chat.d.ts +36 -0
- package/Api/Iframe/controls.d.ts +56 -0
- package/Api/Iframe/nav.d.ts +58 -0
- package/Api/Iframe/player.d.ts +141 -0
- package/Api/Iframe/playerState.d.ts +20 -0
- package/Api/Iframe/players.d.ts +135 -0
- package/Api/{iframe → Iframe}/registeredCallbacks.d.ts +2 -2
- package/Api/Iframe/room.d.ts +128 -0
- package/Api/Iframe/sound.d.ts +21 -0
- package/Api/Iframe/state.d.ts +15 -0
- package/Api/{iframe → Iframe}/ui.d.ts +44 -15
- package/Api/Iframe/website.d.ts +32 -0
- package/iframe_api.d.ts +38 -19
- package/package.json +3 -2
- package/Api/Events/RemotePlayerClickedEvent.d.ts +0 -19
- package/Api/iframe/Sound/Sound.d.ts +0 -8
- package/Api/iframe/area.d.ts +0 -25
- package/Api/iframe/camera.d.ts +0 -20
- package/Api/iframe/chat.d.ts +0 -16
- package/Api/iframe/controls.d.ts +0 -10
- package/Api/iframe/nav.d.ts +0 -20
- package/Api/iframe/player.d.ts +0 -43
- package/Api/iframe/room.d.ts +0 -58
- package/Api/iframe/sound.d.ts +0 -8
- package/Api/iframe/state.d.ts +0 -25
- package/Api/iframe/website.d.ts +0 -11
- package/Phaser/Map/ITiledMap.d.ts +0 -170
|
@@ -96,6 +96,42 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
96
96
|
message: string;
|
|
97
97
|
author: string;
|
|
98
98
|
};
|
|
99
|
+
}>, z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"openChat">;
|
|
101
|
+
data: z.ZodUndefined;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
data?: undefined;
|
|
104
|
+
type: "openChat";
|
|
105
|
+
}, {
|
|
106
|
+
data?: undefined;
|
|
107
|
+
type: "openChat";
|
|
108
|
+
}>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"closeChat">;
|
|
110
|
+
data: z.ZodUndefined;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
data?: undefined;
|
|
113
|
+
type: "closeChat";
|
|
114
|
+
}, {
|
|
115
|
+
data?: undefined;
|
|
116
|
+
type: "closeChat";
|
|
117
|
+
}>, z.ZodObject<{
|
|
118
|
+
type: z.ZodLiteral<"addPersonnalMessage">;
|
|
119
|
+
data: z.ZodString;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
type: "addPersonnalMessage";
|
|
122
|
+
data: string;
|
|
123
|
+
}, {
|
|
124
|
+
type: "addPersonnalMessage";
|
|
125
|
+
data: string;
|
|
126
|
+
}>, z.ZodObject<{
|
|
127
|
+
type: z.ZodLiteral<"newChatMessageWritingStatus">;
|
|
128
|
+
data: z.ZodNumber;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
type: "newChatMessageWritingStatus";
|
|
131
|
+
data: number;
|
|
132
|
+
}, {
|
|
133
|
+
type: "newChatMessageWritingStatus";
|
|
134
|
+
data: number;
|
|
99
135
|
}>, z.ZodObject<{
|
|
100
136
|
type: z.ZodLiteral<"cameraFollowPlayer">;
|
|
101
137
|
data: z.ZodObject<{
|
|
@@ -271,6 +307,60 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
271
307
|
data: {
|
|
272
308
|
url: string;
|
|
273
309
|
};
|
|
310
|
+
}>, z.ZodObject<{
|
|
311
|
+
type: z.ZodLiteral<"turnOffMicrophone">;
|
|
312
|
+
data: z.ZodUndefined;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
data?: undefined;
|
|
315
|
+
type: "turnOffMicrophone";
|
|
316
|
+
}, {
|
|
317
|
+
data?: undefined;
|
|
318
|
+
type: "turnOffMicrophone";
|
|
319
|
+
}>, z.ZodObject<{
|
|
320
|
+
type: z.ZodLiteral<"turnOffWebcam">;
|
|
321
|
+
data: z.ZodUndefined;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
data?: undefined;
|
|
324
|
+
type: "turnOffWebcam";
|
|
325
|
+
}, {
|
|
326
|
+
data?: undefined;
|
|
327
|
+
type: "turnOffWebcam";
|
|
328
|
+
}>, z.ZodObject<{
|
|
329
|
+
type: z.ZodLiteral<"disableMicrophone">;
|
|
330
|
+
data: z.ZodUndefined;
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
|
+
data?: undefined;
|
|
333
|
+
type: "disableMicrophone";
|
|
334
|
+
}, {
|
|
335
|
+
data?: undefined;
|
|
336
|
+
type: "disableMicrophone";
|
|
337
|
+
}>, z.ZodObject<{
|
|
338
|
+
type: z.ZodLiteral<"restoreMicrophone">;
|
|
339
|
+
data: z.ZodUndefined;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
data?: undefined;
|
|
342
|
+
type: "restoreMicrophone";
|
|
343
|
+
}, {
|
|
344
|
+
data?: undefined;
|
|
345
|
+
type: "restoreMicrophone";
|
|
346
|
+
}>, z.ZodObject<{
|
|
347
|
+
type: z.ZodLiteral<"disableWebcam">;
|
|
348
|
+
data: z.ZodUndefined;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
data?: undefined;
|
|
351
|
+
type: "disableWebcam";
|
|
352
|
+
}, {
|
|
353
|
+
data?: undefined;
|
|
354
|
+
type: "disableWebcam";
|
|
355
|
+
}>, z.ZodObject<{
|
|
356
|
+
type: z.ZodLiteral<"restoreWebcam">;
|
|
357
|
+
data: z.ZodUndefined;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
data?: undefined;
|
|
360
|
+
type: "restoreWebcam";
|
|
361
|
+
}, {
|
|
362
|
+
data?: undefined;
|
|
363
|
+
type: "restoreWebcam";
|
|
274
364
|
}>, z.ZodObject<{
|
|
275
365
|
type: z.ZodLiteral<"disablePlayerControls">;
|
|
276
366
|
data: z.ZodUndefined;
|
|
@@ -882,146 +972,569 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
882
972
|
height?: number | undefined;
|
|
883
973
|
name: string;
|
|
884
974
|
};
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
888
|
-
type: z.ZodLiteral<"userInputChat">;
|
|
975
|
+
}>, z.ZodObject<{
|
|
976
|
+
type: z.ZodLiteral<"askPosition">;
|
|
889
977
|
data: z.ZodObject<{
|
|
890
|
-
|
|
978
|
+
uuid: z.ZodString;
|
|
979
|
+
playUri: z.ZodString;
|
|
891
980
|
}, "strip", z.ZodTypeAny, {
|
|
892
|
-
|
|
981
|
+
uuid: string;
|
|
982
|
+
playUri: string;
|
|
893
983
|
}, {
|
|
894
|
-
|
|
984
|
+
uuid: string;
|
|
985
|
+
playUri: string;
|
|
895
986
|
}>;
|
|
896
987
|
}, "strip", z.ZodTypeAny, {
|
|
897
|
-
type: "
|
|
988
|
+
type: "askPosition";
|
|
898
989
|
data: {
|
|
899
|
-
|
|
990
|
+
uuid: string;
|
|
991
|
+
playUri: string;
|
|
900
992
|
};
|
|
901
993
|
}, {
|
|
902
|
-
type: "
|
|
994
|
+
type: "askPosition";
|
|
903
995
|
data: {
|
|
904
|
-
|
|
996
|
+
uuid: string;
|
|
997
|
+
playUri: string;
|
|
905
998
|
};
|
|
906
999
|
}>, z.ZodObject<{
|
|
907
|
-
type: z.ZodLiteral<"
|
|
908
|
-
data: z.
|
|
909
|
-
name: z.ZodString;
|
|
910
|
-
}, "strip", z.ZodTypeAny, {
|
|
911
|
-
name: string;
|
|
912
|
-
}, {
|
|
913
|
-
name: string;
|
|
914
|
-
}>;
|
|
1000
|
+
type: z.ZodLiteral<"openInviteMenu">;
|
|
1001
|
+
data: z.ZodUndefined;
|
|
915
1002
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
name: string;
|
|
919
|
-
};
|
|
1003
|
+
data?: undefined;
|
|
1004
|
+
type: "openInviteMenu";
|
|
920
1005
|
}, {
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
name: string;
|
|
924
|
-
};
|
|
1006
|
+
data?: undefined;
|
|
1007
|
+
type: "openInviteMenu";
|
|
925
1008
|
}>, z.ZodObject<{
|
|
926
|
-
type: z.ZodLiteral<"
|
|
1009
|
+
type: z.ZodLiteral<"chatTotalMessagesToSee">;
|
|
1010
|
+
data: z.ZodNumber;
|
|
1011
|
+
}, "strip", z.ZodTypeAny, {
|
|
1012
|
+
type: "chatTotalMessagesToSee";
|
|
1013
|
+
data: number;
|
|
1014
|
+
}, {
|
|
1015
|
+
type: "chatTotalMessagesToSee";
|
|
1016
|
+
data: number;
|
|
1017
|
+
}>, z.ZodObject<{
|
|
1018
|
+
type: z.ZodLiteral<"notification">;
|
|
927
1019
|
data: z.ZodObject<{
|
|
928
|
-
|
|
1020
|
+
userName: z.ZodString;
|
|
1021
|
+
notificationType: z.ZodNumber;
|
|
1022
|
+
forum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
929
1023
|
}, "strip", z.ZodTypeAny, {
|
|
930
|
-
|
|
1024
|
+
forum?: string | null | undefined;
|
|
1025
|
+
userName: string;
|
|
1026
|
+
notificationType: number;
|
|
931
1027
|
}, {
|
|
932
|
-
|
|
1028
|
+
forum?: string | null | undefined;
|
|
1029
|
+
userName: string;
|
|
1030
|
+
notificationType: number;
|
|
933
1031
|
}>;
|
|
934
1032
|
}, "strip", z.ZodTypeAny, {
|
|
935
|
-
type: "
|
|
1033
|
+
type: "notification";
|
|
936
1034
|
data: {
|
|
937
|
-
|
|
1035
|
+
forum?: string | null | undefined;
|
|
1036
|
+
userName: string;
|
|
1037
|
+
notificationType: number;
|
|
938
1038
|
};
|
|
939
1039
|
}, {
|
|
940
|
-
type: "
|
|
1040
|
+
type: "notification";
|
|
941
1041
|
data: {
|
|
942
|
-
|
|
1042
|
+
forum?: string | null | undefined;
|
|
1043
|
+
userName: string;
|
|
1044
|
+
notificationType: number;
|
|
943
1045
|
};
|
|
944
1046
|
}>, z.ZodObject<{
|
|
945
|
-
type: z.ZodLiteral<"
|
|
1047
|
+
type: z.ZodLiteral<"login">;
|
|
1048
|
+
data: z.ZodUndefined;
|
|
1049
|
+
}, "strip", z.ZodTypeAny, {
|
|
1050
|
+
data?: undefined;
|
|
1051
|
+
type: "login";
|
|
1052
|
+
}, {
|
|
1053
|
+
data?: undefined;
|
|
1054
|
+
type: "login";
|
|
1055
|
+
}>, z.ZodObject<{
|
|
1056
|
+
type: z.ZodLiteral<"refresh">;
|
|
1057
|
+
data: z.ZodUndefined;
|
|
1058
|
+
}, "strip", z.ZodTypeAny, {
|
|
1059
|
+
data?: undefined;
|
|
1060
|
+
type: "refresh";
|
|
1061
|
+
}, {
|
|
1062
|
+
data?: undefined;
|
|
1063
|
+
type: "refresh";
|
|
1064
|
+
}>, z.ZodObject<{
|
|
1065
|
+
type: z.ZodLiteral<"showBusinessCard">;
|
|
946
1066
|
data: z.ZodObject<{
|
|
947
|
-
|
|
1067
|
+
visitCardUrl: z.ZodString;
|
|
948
1068
|
}, "strip", z.ZodTypeAny, {
|
|
949
|
-
|
|
1069
|
+
visitCardUrl: string;
|
|
950
1070
|
}, {
|
|
951
|
-
|
|
1071
|
+
visitCardUrl: string;
|
|
952
1072
|
}>;
|
|
953
1073
|
}, "strip", z.ZodTypeAny, {
|
|
954
|
-
type: "
|
|
1074
|
+
type: "showBusinessCard";
|
|
955
1075
|
data: {
|
|
956
|
-
|
|
1076
|
+
visitCardUrl: string;
|
|
957
1077
|
};
|
|
958
1078
|
}, {
|
|
959
|
-
type: "
|
|
1079
|
+
type: "showBusinessCard";
|
|
960
1080
|
data: {
|
|
961
|
-
|
|
1081
|
+
visitCardUrl: string;
|
|
962
1082
|
};
|
|
963
|
-
}
|
|
964
|
-
|
|
1083
|
+
}>]>;
|
|
1084
|
+
export declare type IframeEvent = z.infer<typeof isIframeEventWrapper>;
|
|
1085
|
+
export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
1086
|
+
type: z.ZodLiteral<"userInputChat">;
|
|
965
1087
|
data: z.ZodObject<{
|
|
966
|
-
|
|
1088
|
+
message: z.ZodString;
|
|
967
1089
|
}, "strip", z.ZodTypeAny, {
|
|
968
|
-
|
|
1090
|
+
message: string;
|
|
969
1091
|
}, {
|
|
970
|
-
|
|
1092
|
+
message: string;
|
|
971
1093
|
}>;
|
|
972
1094
|
}, "strip", z.ZodTypeAny, {
|
|
973
|
-
type: "
|
|
1095
|
+
type: "userInputChat";
|
|
974
1096
|
data: {
|
|
975
|
-
|
|
1097
|
+
message: string;
|
|
976
1098
|
};
|
|
977
1099
|
}, {
|
|
978
|
-
type: "
|
|
1100
|
+
type: "userInputChat";
|
|
979
1101
|
data: {
|
|
980
|
-
|
|
1102
|
+
message: string;
|
|
981
1103
|
};
|
|
982
1104
|
}>, z.ZodObject<{
|
|
983
|
-
type: z.ZodLiteral<"
|
|
1105
|
+
type: z.ZodLiteral<"joinProximityMeetingEvent">;
|
|
984
1106
|
data: z.ZodObject<{
|
|
985
|
-
|
|
1107
|
+
users: z.ZodArray<z.ZodObject<{
|
|
1108
|
+
playerId: z.ZodNumber;
|
|
1109
|
+
name: z.ZodString;
|
|
1110
|
+
userUuid: z.ZodString;
|
|
1111
|
+
availabilityStatus: z.ZodString;
|
|
1112
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
+
position: z.ZodObject<{
|
|
1114
|
+
x: z.ZodNumber;
|
|
1115
|
+
y: z.ZodNumber;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
x: number;
|
|
1118
|
+
y: number;
|
|
1119
|
+
}, {
|
|
1120
|
+
x: number;
|
|
1121
|
+
y: number;
|
|
1122
|
+
}>;
|
|
1123
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1124
|
+
}, "strip", z.ZodTypeAny, {
|
|
1125
|
+
outlineColor?: number | undefined;
|
|
1126
|
+
position: {
|
|
1127
|
+
x: number;
|
|
1128
|
+
y: number;
|
|
1129
|
+
};
|
|
1130
|
+
name: string;
|
|
1131
|
+
playerId: number;
|
|
1132
|
+
variables: Map<string, unknown>;
|
|
1133
|
+
userUuid: string;
|
|
1134
|
+
availabilityStatus: string;
|
|
1135
|
+
}, {
|
|
1136
|
+
outlineColor?: number | undefined;
|
|
1137
|
+
position: {
|
|
1138
|
+
x: number;
|
|
1139
|
+
y: number;
|
|
1140
|
+
};
|
|
1141
|
+
name: string;
|
|
1142
|
+
playerId: number;
|
|
1143
|
+
variables: Map<string, unknown>;
|
|
1144
|
+
userUuid: string;
|
|
1145
|
+
availabilityStatus: string;
|
|
1146
|
+
}>, "many">;
|
|
986
1147
|
}, "strip", z.ZodTypeAny, {
|
|
987
|
-
|
|
1148
|
+
users: {
|
|
1149
|
+
outlineColor?: number | undefined;
|
|
1150
|
+
position: {
|
|
1151
|
+
x: number;
|
|
1152
|
+
y: number;
|
|
1153
|
+
};
|
|
1154
|
+
name: string;
|
|
1155
|
+
playerId: number;
|
|
1156
|
+
variables: Map<string, unknown>;
|
|
1157
|
+
userUuid: string;
|
|
1158
|
+
availabilityStatus: string;
|
|
1159
|
+
}[];
|
|
988
1160
|
}, {
|
|
989
|
-
|
|
1161
|
+
users: {
|
|
1162
|
+
outlineColor?: number | undefined;
|
|
1163
|
+
position: {
|
|
1164
|
+
x: number;
|
|
1165
|
+
y: number;
|
|
1166
|
+
};
|
|
1167
|
+
name: string;
|
|
1168
|
+
playerId: number;
|
|
1169
|
+
variables: Map<string, unknown>;
|
|
1170
|
+
userUuid: string;
|
|
1171
|
+
availabilityStatus: string;
|
|
1172
|
+
}[];
|
|
990
1173
|
}>;
|
|
991
1174
|
}, "strip", z.ZodTypeAny, {
|
|
992
|
-
type: "
|
|
1175
|
+
type: "joinProximityMeetingEvent";
|
|
993
1176
|
data: {
|
|
994
|
-
|
|
1177
|
+
users: {
|
|
1178
|
+
outlineColor?: number | undefined;
|
|
1179
|
+
position: {
|
|
1180
|
+
x: number;
|
|
1181
|
+
y: number;
|
|
1182
|
+
};
|
|
1183
|
+
name: string;
|
|
1184
|
+
playerId: number;
|
|
1185
|
+
variables: Map<string, unknown>;
|
|
1186
|
+
userUuid: string;
|
|
1187
|
+
availabilityStatus: string;
|
|
1188
|
+
}[];
|
|
995
1189
|
};
|
|
996
1190
|
}, {
|
|
997
|
-
type: "
|
|
1191
|
+
type: "joinProximityMeetingEvent";
|
|
998
1192
|
data: {
|
|
999
|
-
|
|
1193
|
+
users: {
|
|
1194
|
+
outlineColor?: number | undefined;
|
|
1195
|
+
position: {
|
|
1196
|
+
x: number;
|
|
1197
|
+
y: number;
|
|
1198
|
+
};
|
|
1199
|
+
name: string;
|
|
1200
|
+
playerId: number;
|
|
1201
|
+
variables: Map<string, unknown>;
|
|
1202
|
+
userUuid: string;
|
|
1203
|
+
availabilityStatus: string;
|
|
1204
|
+
}[];
|
|
1000
1205
|
};
|
|
1001
1206
|
}>, z.ZodObject<{
|
|
1002
|
-
type: z.ZodLiteral<"
|
|
1207
|
+
type: z.ZodLiteral<"participantJoinProximityMeetingEvent">;
|
|
1003
1208
|
data: z.ZodObject<{
|
|
1004
|
-
|
|
1209
|
+
user: z.ZodObject<{
|
|
1210
|
+
playerId: z.ZodNumber;
|
|
1211
|
+
name: z.ZodString;
|
|
1212
|
+
userUuid: z.ZodString;
|
|
1213
|
+
availabilityStatus: z.ZodString;
|
|
1214
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1215
|
+
position: z.ZodObject<{
|
|
1216
|
+
x: z.ZodNumber;
|
|
1217
|
+
y: z.ZodNumber;
|
|
1218
|
+
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
x: number;
|
|
1220
|
+
y: number;
|
|
1221
|
+
}, {
|
|
1222
|
+
x: number;
|
|
1223
|
+
y: number;
|
|
1224
|
+
}>;
|
|
1225
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1226
|
+
}, "strip", z.ZodTypeAny, {
|
|
1227
|
+
outlineColor?: number | undefined;
|
|
1228
|
+
position: {
|
|
1229
|
+
x: number;
|
|
1230
|
+
y: number;
|
|
1231
|
+
};
|
|
1232
|
+
name: string;
|
|
1233
|
+
playerId: number;
|
|
1234
|
+
variables: Map<string, unknown>;
|
|
1235
|
+
userUuid: string;
|
|
1236
|
+
availabilityStatus: string;
|
|
1237
|
+
}, {
|
|
1238
|
+
outlineColor?: number | undefined;
|
|
1239
|
+
position: {
|
|
1240
|
+
x: number;
|
|
1241
|
+
y: number;
|
|
1242
|
+
};
|
|
1243
|
+
name: string;
|
|
1244
|
+
playerId: number;
|
|
1245
|
+
variables: Map<string, unknown>;
|
|
1246
|
+
userUuid: string;
|
|
1247
|
+
availabilityStatus: string;
|
|
1248
|
+
}>;
|
|
1005
1249
|
}, "strip", z.ZodTypeAny, {
|
|
1006
|
-
|
|
1250
|
+
user: {
|
|
1251
|
+
outlineColor?: number | undefined;
|
|
1252
|
+
position: {
|
|
1253
|
+
x: number;
|
|
1254
|
+
y: number;
|
|
1255
|
+
};
|
|
1256
|
+
name: string;
|
|
1257
|
+
playerId: number;
|
|
1258
|
+
variables: Map<string, unknown>;
|
|
1259
|
+
userUuid: string;
|
|
1260
|
+
availabilityStatus: string;
|
|
1261
|
+
};
|
|
1007
1262
|
}, {
|
|
1008
|
-
|
|
1263
|
+
user: {
|
|
1264
|
+
outlineColor?: number | undefined;
|
|
1265
|
+
position: {
|
|
1266
|
+
x: number;
|
|
1267
|
+
y: number;
|
|
1268
|
+
};
|
|
1269
|
+
name: string;
|
|
1270
|
+
playerId: number;
|
|
1271
|
+
variables: Map<string, unknown>;
|
|
1272
|
+
userUuid: string;
|
|
1273
|
+
availabilityStatus: string;
|
|
1274
|
+
};
|
|
1009
1275
|
}>;
|
|
1010
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1011
|
-
type: "
|
|
1277
|
+
type: "participantJoinProximityMeetingEvent";
|
|
1012
1278
|
data: {
|
|
1013
|
-
|
|
1279
|
+
user: {
|
|
1280
|
+
outlineColor?: number | undefined;
|
|
1281
|
+
position: {
|
|
1282
|
+
x: number;
|
|
1283
|
+
y: number;
|
|
1284
|
+
};
|
|
1285
|
+
name: string;
|
|
1286
|
+
playerId: number;
|
|
1287
|
+
variables: Map<string, unknown>;
|
|
1288
|
+
userUuid: string;
|
|
1289
|
+
availabilityStatus: string;
|
|
1290
|
+
};
|
|
1014
1291
|
};
|
|
1015
1292
|
}, {
|
|
1016
|
-
type: "
|
|
1293
|
+
type: "participantJoinProximityMeetingEvent";
|
|
1017
1294
|
data: {
|
|
1018
|
-
|
|
1295
|
+
user: {
|
|
1296
|
+
outlineColor?: number | undefined;
|
|
1297
|
+
position: {
|
|
1298
|
+
x: number;
|
|
1299
|
+
y: number;
|
|
1300
|
+
};
|
|
1301
|
+
name: string;
|
|
1302
|
+
playerId: number;
|
|
1303
|
+
variables: Map<string, unknown>;
|
|
1304
|
+
userUuid: string;
|
|
1305
|
+
availabilityStatus: string;
|
|
1306
|
+
};
|
|
1019
1307
|
};
|
|
1020
1308
|
}>, z.ZodObject<{
|
|
1021
|
-
type: z.ZodLiteral<"
|
|
1309
|
+
type: z.ZodLiteral<"participantLeaveProximityMeetingEvent">;
|
|
1022
1310
|
data: z.ZodObject<{
|
|
1023
|
-
|
|
1024
|
-
|
|
1311
|
+
user: z.ZodObject<{
|
|
1312
|
+
playerId: z.ZodNumber;
|
|
1313
|
+
name: z.ZodString;
|
|
1314
|
+
userUuid: z.ZodString;
|
|
1315
|
+
availabilityStatus: z.ZodString;
|
|
1316
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1317
|
+
position: z.ZodObject<{
|
|
1318
|
+
x: z.ZodNumber;
|
|
1319
|
+
y: z.ZodNumber;
|
|
1320
|
+
}, "strip", z.ZodTypeAny, {
|
|
1321
|
+
x: number;
|
|
1322
|
+
y: number;
|
|
1323
|
+
}, {
|
|
1324
|
+
x: number;
|
|
1325
|
+
y: number;
|
|
1326
|
+
}>;
|
|
1327
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1328
|
+
}, "strip", z.ZodTypeAny, {
|
|
1329
|
+
outlineColor?: number | undefined;
|
|
1330
|
+
position: {
|
|
1331
|
+
x: number;
|
|
1332
|
+
y: number;
|
|
1333
|
+
};
|
|
1334
|
+
name: string;
|
|
1335
|
+
playerId: number;
|
|
1336
|
+
variables: Map<string, unknown>;
|
|
1337
|
+
userUuid: string;
|
|
1338
|
+
availabilityStatus: string;
|
|
1339
|
+
}, {
|
|
1340
|
+
outlineColor?: number | undefined;
|
|
1341
|
+
position: {
|
|
1342
|
+
x: number;
|
|
1343
|
+
y: number;
|
|
1344
|
+
};
|
|
1345
|
+
name: string;
|
|
1346
|
+
playerId: number;
|
|
1347
|
+
variables: Map<string, unknown>;
|
|
1348
|
+
userUuid: string;
|
|
1349
|
+
availabilityStatus: string;
|
|
1350
|
+
}>;
|
|
1351
|
+
}, "strip", z.ZodTypeAny, {
|
|
1352
|
+
user: {
|
|
1353
|
+
outlineColor?: number | undefined;
|
|
1354
|
+
position: {
|
|
1355
|
+
x: number;
|
|
1356
|
+
y: number;
|
|
1357
|
+
};
|
|
1358
|
+
name: string;
|
|
1359
|
+
playerId: number;
|
|
1360
|
+
variables: Map<string, unknown>;
|
|
1361
|
+
userUuid: string;
|
|
1362
|
+
availabilityStatus: string;
|
|
1363
|
+
};
|
|
1364
|
+
}, {
|
|
1365
|
+
user: {
|
|
1366
|
+
outlineColor?: number | undefined;
|
|
1367
|
+
position: {
|
|
1368
|
+
x: number;
|
|
1369
|
+
y: number;
|
|
1370
|
+
};
|
|
1371
|
+
name: string;
|
|
1372
|
+
playerId: number;
|
|
1373
|
+
variables: Map<string, unknown>;
|
|
1374
|
+
userUuid: string;
|
|
1375
|
+
availabilityStatus: string;
|
|
1376
|
+
};
|
|
1377
|
+
}>;
|
|
1378
|
+
}, "strip", z.ZodTypeAny, {
|
|
1379
|
+
type: "participantLeaveProximityMeetingEvent";
|
|
1380
|
+
data: {
|
|
1381
|
+
user: {
|
|
1382
|
+
outlineColor?: number | undefined;
|
|
1383
|
+
position: {
|
|
1384
|
+
x: number;
|
|
1385
|
+
y: number;
|
|
1386
|
+
};
|
|
1387
|
+
name: string;
|
|
1388
|
+
playerId: number;
|
|
1389
|
+
variables: Map<string, unknown>;
|
|
1390
|
+
userUuid: string;
|
|
1391
|
+
availabilityStatus: string;
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
}, {
|
|
1395
|
+
type: "participantLeaveProximityMeetingEvent";
|
|
1396
|
+
data: {
|
|
1397
|
+
user: {
|
|
1398
|
+
outlineColor?: number | undefined;
|
|
1399
|
+
position: {
|
|
1400
|
+
x: number;
|
|
1401
|
+
y: number;
|
|
1402
|
+
};
|
|
1403
|
+
name: string;
|
|
1404
|
+
playerId: number;
|
|
1405
|
+
variables: Map<string, unknown>;
|
|
1406
|
+
userUuid: string;
|
|
1407
|
+
availabilityStatus: string;
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
}>, z.ZodObject<{
|
|
1411
|
+
type: z.ZodLiteral<"leaveProximityMeetingEvent">;
|
|
1412
|
+
data: z.ZodUndefined;
|
|
1413
|
+
}, "strip", z.ZodTypeAny, {
|
|
1414
|
+
data?: undefined;
|
|
1415
|
+
type: "leaveProximityMeetingEvent";
|
|
1416
|
+
}, {
|
|
1417
|
+
data?: undefined;
|
|
1418
|
+
type: "leaveProximityMeetingEvent";
|
|
1419
|
+
}>, z.ZodObject<{
|
|
1420
|
+
type: z.ZodLiteral<"enterEvent">;
|
|
1421
|
+
data: z.ZodObject<{
|
|
1422
|
+
name: z.ZodString;
|
|
1423
|
+
}, "strip", z.ZodTypeAny, {
|
|
1424
|
+
name: string;
|
|
1425
|
+
}, {
|
|
1426
|
+
name: string;
|
|
1427
|
+
}>;
|
|
1428
|
+
}, "strip", z.ZodTypeAny, {
|
|
1429
|
+
type: "enterEvent";
|
|
1430
|
+
data: {
|
|
1431
|
+
name: string;
|
|
1432
|
+
};
|
|
1433
|
+
}, {
|
|
1434
|
+
type: "enterEvent";
|
|
1435
|
+
data: {
|
|
1436
|
+
name: string;
|
|
1437
|
+
};
|
|
1438
|
+
}>, z.ZodObject<{
|
|
1439
|
+
type: z.ZodLiteral<"leaveEvent">;
|
|
1440
|
+
data: z.ZodObject<{
|
|
1441
|
+
name: z.ZodString;
|
|
1442
|
+
}, "strip", z.ZodTypeAny, {
|
|
1443
|
+
name: string;
|
|
1444
|
+
}, {
|
|
1445
|
+
name: string;
|
|
1446
|
+
}>;
|
|
1447
|
+
}, "strip", z.ZodTypeAny, {
|
|
1448
|
+
type: "leaveEvent";
|
|
1449
|
+
data: {
|
|
1450
|
+
name: string;
|
|
1451
|
+
};
|
|
1452
|
+
}, {
|
|
1453
|
+
type: "leaveEvent";
|
|
1454
|
+
data: {
|
|
1455
|
+
name: string;
|
|
1456
|
+
};
|
|
1457
|
+
}>, z.ZodObject<{
|
|
1458
|
+
type: z.ZodLiteral<"enterLayerEvent">;
|
|
1459
|
+
data: z.ZodObject<{
|
|
1460
|
+
name: z.ZodString;
|
|
1461
|
+
}, "strip", z.ZodTypeAny, {
|
|
1462
|
+
name: string;
|
|
1463
|
+
}, {
|
|
1464
|
+
name: string;
|
|
1465
|
+
}>;
|
|
1466
|
+
}, "strip", z.ZodTypeAny, {
|
|
1467
|
+
type: "enterLayerEvent";
|
|
1468
|
+
data: {
|
|
1469
|
+
name: string;
|
|
1470
|
+
};
|
|
1471
|
+
}, {
|
|
1472
|
+
type: "enterLayerEvent";
|
|
1473
|
+
data: {
|
|
1474
|
+
name: string;
|
|
1475
|
+
};
|
|
1476
|
+
}>, z.ZodObject<{
|
|
1477
|
+
type: z.ZodLiteral<"leaveLayerEvent">;
|
|
1478
|
+
data: z.ZodObject<{
|
|
1479
|
+
name: z.ZodString;
|
|
1480
|
+
}, "strip", z.ZodTypeAny, {
|
|
1481
|
+
name: string;
|
|
1482
|
+
}, {
|
|
1483
|
+
name: string;
|
|
1484
|
+
}>;
|
|
1485
|
+
}, "strip", z.ZodTypeAny, {
|
|
1486
|
+
type: "leaveLayerEvent";
|
|
1487
|
+
data: {
|
|
1488
|
+
name: string;
|
|
1489
|
+
};
|
|
1490
|
+
}, {
|
|
1491
|
+
type: "leaveLayerEvent";
|
|
1492
|
+
data: {
|
|
1493
|
+
name: string;
|
|
1494
|
+
};
|
|
1495
|
+
}>, z.ZodObject<{
|
|
1496
|
+
type: z.ZodLiteral<"enterAreaEvent">;
|
|
1497
|
+
data: z.ZodObject<{
|
|
1498
|
+
name: z.ZodString;
|
|
1499
|
+
}, "strip", z.ZodTypeAny, {
|
|
1500
|
+
name: string;
|
|
1501
|
+
}, {
|
|
1502
|
+
name: string;
|
|
1503
|
+
}>;
|
|
1504
|
+
}, "strip", z.ZodTypeAny, {
|
|
1505
|
+
type: "enterAreaEvent";
|
|
1506
|
+
data: {
|
|
1507
|
+
name: string;
|
|
1508
|
+
};
|
|
1509
|
+
}, {
|
|
1510
|
+
type: "enterAreaEvent";
|
|
1511
|
+
data: {
|
|
1512
|
+
name: string;
|
|
1513
|
+
};
|
|
1514
|
+
}>, z.ZodObject<{
|
|
1515
|
+
type: z.ZodLiteral<"leaveAreaEvent">;
|
|
1516
|
+
data: z.ZodObject<{
|
|
1517
|
+
name: z.ZodString;
|
|
1518
|
+
}, "strip", z.ZodTypeAny, {
|
|
1519
|
+
name: string;
|
|
1520
|
+
}, {
|
|
1521
|
+
name: string;
|
|
1522
|
+
}>;
|
|
1523
|
+
}, "strip", z.ZodTypeAny, {
|
|
1524
|
+
type: "leaveAreaEvent";
|
|
1525
|
+
data: {
|
|
1526
|
+
name: string;
|
|
1527
|
+
};
|
|
1528
|
+
}, {
|
|
1529
|
+
type: "leaveAreaEvent";
|
|
1530
|
+
data: {
|
|
1531
|
+
name: string;
|
|
1532
|
+
};
|
|
1533
|
+
}>, z.ZodObject<{
|
|
1534
|
+
type: z.ZodLiteral<"buttonClickedEvent">;
|
|
1535
|
+
data: z.ZodObject<{
|
|
1536
|
+
popupId: z.ZodNumber;
|
|
1537
|
+
buttonId: z.ZodNumber;
|
|
1025
1538
|
}, "strip", z.ZodTypeAny, {
|
|
1026
1539
|
popupId: number;
|
|
1027
1540
|
buttonId: number;
|
|
@@ -1044,31 +1557,72 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1044
1557
|
}>, z.ZodObject<{
|
|
1045
1558
|
type: z.ZodLiteral<"remotePlayerClickedEvent">;
|
|
1046
1559
|
data: z.ZodObject<{
|
|
1047
|
-
|
|
1048
|
-
uuid: z.ZodString;
|
|
1560
|
+
playerId: z.ZodNumber;
|
|
1049
1561
|
name: z.ZodString;
|
|
1562
|
+
userUuid: z.ZodString;
|
|
1563
|
+
availabilityStatus: z.ZodString;
|
|
1564
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1565
|
+
position: z.ZodObject<{
|
|
1566
|
+
x: z.ZodNumber;
|
|
1567
|
+
y: z.ZodNumber;
|
|
1568
|
+
}, "strip", z.ZodTypeAny, {
|
|
1569
|
+
x: number;
|
|
1570
|
+
y: number;
|
|
1571
|
+
}, {
|
|
1572
|
+
x: number;
|
|
1573
|
+
y: number;
|
|
1574
|
+
}>;
|
|
1575
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1050
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1051
|
-
|
|
1577
|
+
outlineColor?: number | undefined;
|
|
1578
|
+
position: {
|
|
1579
|
+
x: number;
|
|
1580
|
+
y: number;
|
|
1581
|
+
};
|
|
1052
1582
|
name: string;
|
|
1053
|
-
|
|
1583
|
+
playerId: number;
|
|
1584
|
+
variables: Map<string, unknown>;
|
|
1585
|
+
userUuid: string;
|
|
1586
|
+
availabilityStatus: string;
|
|
1054
1587
|
}, {
|
|
1055
|
-
|
|
1588
|
+
outlineColor?: number | undefined;
|
|
1589
|
+
position: {
|
|
1590
|
+
x: number;
|
|
1591
|
+
y: number;
|
|
1592
|
+
};
|
|
1056
1593
|
name: string;
|
|
1057
|
-
|
|
1594
|
+
playerId: number;
|
|
1595
|
+
variables: Map<string, unknown>;
|
|
1596
|
+
userUuid: string;
|
|
1597
|
+
availabilityStatus: string;
|
|
1058
1598
|
}>;
|
|
1059
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1060
1600
|
type: "remotePlayerClickedEvent";
|
|
1061
1601
|
data: {
|
|
1062
|
-
|
|
1602
|
+
outlineColor?: number | undefined;
|
|
1603
|
+
position: {
|
|
1604
|
+
x: number;
|
|
1605
|
+
y: number;
|
|
1606
|
+
};
|
|
1063
1607
|
name: string;
|
|
1064
|
-
|
|
1608
|
+
playerId: number;
|
|
1609
|
+
variables: Map<string, unknown>;
|
|
1610
|
+
userUuid: string;
|
|
1611
|
+
availabilityStatus: string;
|
|
1065
1612
|
};
|
|
1066
1613
|
}, {
|
|
1067
1614
|
type: "remotePlayerClickedEvent";
|
|
1068
1615
|
data: {
|
|
1069
|
-
|
|
1616
|
+
outlineColor?: number | undefined;
|
|
1617
|
+
position: {
|
|
1618
|
+
x: number;
|
|
1619
|
+
y: number;
|
|
1620
|
+
};
|
|
1070
1621
|
name: string;
|
|
1071
|
-
|
|
1622
|
+
playerId: number;
|
|
1623
|
+
variables: Map<string, unknown>;
|
|
1624
|
+
userUuid: string;
|
|
1625
|
+
availabilityStatus: string;
|
|
1072
1626
|
};
|
|
1073
1627
|
}>, z.ZodObject<{
|
|
1074
1628
|
type: z.ZodLiteral<"actionsMenuActionClickedEvent">;
|
|
@@ -1201,29 +1755,77 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1201
1755
|
data: z.ZodObject<{
|
|
1202
1756
|
key: z.ZodString;
|
|
1203
1757
|
value: z.ZodUnknown;
|
|
1204
|
-
target: z.ZodEnum<["global", "player"]>;
|
|
1205
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1759
|
value?: unknown;
|
|
1207
1760
|
key: string;
|
|
1208
|
-
target: "global" | "player";
|
|
1209
1761
|
}, {
|
|
1210
1762
|
value?: unknown;
|
|
1211
1763
|
key: string;
|
|
1212
|
-
target: "global" | "player";
|
|
1213
1764
|
}>;
|
|
1214
1765
|
}, "strip", z.ZodTypeAny, {
|
|
1215
1766
|
type: "setVariable";
|
|
1216
1767
|
data: {
|
|
1217
1768
|
value?: unknown;
|
|
1218
1769
|
key: string;
|
|
1219
|
-
target: "global" | "player";
|
|
1220
1770
|
};
|
|
1221
1771
|
}, {
|
|
1222
1772
|
type: "setVariable";
|
|
1223
1773
|
data: {
|
|
1224
1774
|
value?: unknown;
|
|
1225
1775
|
key: string;
|
|
1226
|
-
|
|
1776
|
+
};
|
|
1777
|
+
}>, z.ZodObject<{
|
|
1778
|
+
type: z.ZodLiteral<"setPlayerVariable">;
|
|
1779
|
+
data: z.ZodObject<{
|
|
1780
|
+
key: z.ZodString;
|
|
1781
|
+
value: z.ZodUnknown;
|
|
1782
|
+
}, "strip", z.ZodTypeAny, {
|
|
1783
|
+
value?: unknown;
|
|
1784
|
+
key: string;
|
|
1785
|
+
}, {
|
|
1786
|
+
value?: unknown;
|
|
1787
|
+
key: string;
|
|
1788
|
+
}>;
|
|
1789
|
+
}, "strip", z.ZodTypeAny, {
|
|
1790
|
+
type: "setPlayerVariable";
|
|
1791
|
+
data: {
|
|
1792
|
+
value?: unknown;
|
|
1793
|
+
key: string;
|
|
1794
|
+
};
|
|
1795
|
+
}, {
|
|
1796
|
+
type: "setPlayerVariable";
|
|
1797
|
+
data: {
|
|
1798
|
+
value?: unknown;
|
|
1799
|
+
key: string;
|
|
1800
|
+
};
|
|
1801
|
+
}>, z.ZodObject<{
|
|
1802
|
+
type: z.ZodLiteral<"setSharedPlayerVariable">;
|
|
1803
|
+
data: z.ZodObject<{
|
|
1804
|
+
key: z.ZodString;
|
|
1805
|
+
value: z.ZodUnknown;
|
|
1806
|
+
playerId: z.ZodNumber;
|
|
1807
|
+
}, "strip", z.ZodTypeAny, {
|
|
1808
|
+
value?: unknown;
|
|
1809
|
+
playerId: number;
|
|
1810
|
+
key: string;
|
|
1811
|
+
}, {
|
|
1812
|
+
value?: unknown;
|
|
1813
|
+
playerId: number;
|
|
1814
|
+
key: string;
|
|
1815
|
+
}>;
|
|
1816
|
+
}, "strip", z.ZodTypeAny, {
|
|
1817
|
+
type: "setSharedPlayerVariable";
|
|
1818
|
+
data: {
|
|
1819
|
+
value?: unknown;
|
|
1820
|
+
playerId: number;
|
|
1821
|
+
key: string;
|
|
1822
|
+
};
|
|
1823
|
+
}, {
|
|
1824
|
+
type: "setSharedPlayerVariable";
|
|
1825
|
+
data: {
|
|
1826
|
+
value?: unknown;
|
|
1827
|
+
playerId: number;
|
|
1828
|
+
key: string;
|
|
1227
1829
|
};
|
|
1228
1830
|
}>, z.ZodObject<{
|
|
1229
1831
|
type: z.ZodLiteral<"messageTriggered">;
|
|
@@ -1244,6 +1846,351 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1244
1846
|
data: {
|
|
1245
1847
|
uuid: string;
|
|
1246
1848
|
};
|
|
1849
|
+
}>, z.ZodObject<{
|
|
1850
|
+
type: z.ZodLiteral<"leaveMuc">;
|
|
1851
|
+
data: z.ZodObject<{
|
|
1852
|
+
url: z.ZodString;
|
|
1853
|
+
}, "strip", z.ZodTypeAny, {
|
|
1854
|
+
url: string;
|
|
1855
|
+
}, {
|
|
1856
|
+
url: string;
|
|
1857
|
+
}>;
|
|
1858
|
+
}, "strip", z.ZodTypeAny, {
|
|
1859
|
+
type: "leaveMuc";
|
|
1860
|
+
data: {
|
|
1861
|
+
url: string;
|
|
1862
|
+
};
|
|
1863
|
+
}, {
|
|
1864
|
+
type: "leaveMuc";
|
|
1865
|
+
data: {
|
|
1866
|
+
url: string;
|
|
1867
|
+
};
|
|
1868
|
+
}>, z.ZodObject<{
|
|
1869
|
+
type: z.ZodLiteral<"joinMuc">;
|
|
1870
|
+
data: z.ZodObject<{
|
|
1871
|
+
url: z.ZodString;
|
|
1872
|
+
name: z.ZodString;
|
|
1873
|
+
type: z.ZodString;
|
|
1874
|
+
subscribe: z.ZodBoolean;
|
|
1875
|
+
}, "strip", z.ZodTypeAny, {
|
|
1876
|
+
type: string;
|
|
1877
|
+
url: string;
|
|
1878
|
+
name: string;
|
|
1879
|
+
subscribe: boolean;
|
|
1880
|
+
}, {
|
|
1881
|
+
type: string;
|
|
1882
|
+
url: string;
|
|
1883
|
+
name: string;
|
|
1884
|
+
subscribe: boolean;
|
|
1885
|
+
}>;
|
|
1886
|
+
}, "strip", z.ZodTypeAny, {
|
|
1887
|
+
type: "joinMuc";
|
|
1888
|
+
data: {
|
|
1889
|
+
type: string;
|
|
1890
|
+
url: string;
|
|
1891
|
+
name: string;
|
|
1892
|
+
subscribe: boolean;
|
|
1893
|
+
};
|
|
1894
|
+
}, {
|
|
1895
|
+
type: "joinMuc";
|
|
1896
|
+
data: {
|
|
1897
|
+
type: string;
|
|
1898
|
+
url: string;
|
|
1899
|
+
name: string;
|
|
1900
|
+
subscribe: boolean;
|
|
1901
|
+
};
|
|
1902
|
+
}>, z.ZodObject<{
|
|
1903
|
+
type: z.ZodLiteral<"addRemotePlayer">;
|
|
1904
|
+
data: z.ZodObject<{
|
|
1905
|
+
playerId: z.ZodNumber;
|
|
1906
|
+
name: z.ZodString;
|
|
1907
|
+
userUuid: z.ZodString;
|
|
1908
|
+
availabilityStatus: z.ZodString;
|
|
1909
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1910
|
+
position: z.ZodObject<{
|
|
1911
|
+
x: z.ZodNumber;
|
|
1912
|
+
y: z.ZodNumber;
|
|
1913
|
+
}, "strip", z.ZodTypeAny, {
|
|
1914
|
+
x: number;
|
|
1915
|
+
y: number;
|
|
1916
|
+
}, {
|
|
1917
|
+
x: number;
|
|
1918
|
+
y: number;
|
|
1919
|
+
}>;
|
|
1920
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1921
|
+
}, "strip", z.ZodTypeAny, {
|
|
1922
|
+
outlineColor?: number | undefined;
|
|
1923
|
+
position: {
|
|
1924
|
+
x: number;
|
|
1925
|
+
y: number;
|
|
1926
|
+
};
|
|
1927
|
+
name: string;
|
|
1928
|
+
playerId: number;
|
|
1929
|
+
variables: Map<string, unknown>;
|
|
1930
|
+
userUuid: string;
|
|
1931
|
+
availabilityStatus: string;
|
|
1932
|
+
}, {
|
|
1933
|
+
outlineColor?: number | undefined;
|
|
1934
|
+
position: {
|
|
1935
|
+
x: number;
|
|
1936
|
+
y: number;
|
|
1937
|
+
};
|
|
1938
|
+
name: string;
|
|
1939
|
+
playerId: number;
|
|
1940
|
+
variables: Map<string, unknown>;
|
|
1941
|
+
userUuid: string;
|
|
1942
|
+
availabilityStatus: string;
|
|
1943
|
+
}>;
|
|
1944
|
+
}, "strip", z.ZodTypeAny, {
|
|
1945
|
+
type: "addRemotePlayer";
|
|
1946
|
+
data: {
|
|
1947
|
+
outlineColor?: number | undefined;
|
|
1948
|
+
position: {
|
|
1949
|
+
x: number;
|
|
1950
|
+
y: number;
|
|
1951
|
+
};
|
|
1952
|
+
name: string;
|
|
1953
|
+
playerId: number;
|
|
1954
|
+
variables: Map<string, unknown>;
|
|
1955
|
+
userUuid: string;
|
|
1956
|
+
availabilityStatus: string;
|
|
1957
|
+
};
|
|
1958
|
+
}, {
|
|
1959
|
+
type: "addRemotePlayer";
|
|
1960
|
+
data: {
|
|
1961
|
+
outlineColor?: number | undefined;
|
|
1962
|
+
position: {
|
|
1963
|
+
x: number;
|
|
1964
|
+
y: number;
|
|
1965
|
+
};
|
|
1966
|
+
name: string;
|
|
1967
|
+
playerId: number;
|
|
1968
|
+
variables: Map<string, unknown>;
|
|
1969
|
+
userUuid: string;
|
|
1970
|
+
availabilityStatus: string;
|
|
1971
|
+
};
|
|
1972
|
+
}>, z.ZodObject<{
|
|
1973
|
+
type: z.ZodLiteral<"removeRemotePlayer">;
|
|
1974
|
+
data: z.ZodNumber;
|
|
1975
|
+
}, "strip", z.ZodTypeAny, {
|
|
1976
|
+
type: "removeRemotePlayer";
|
|
1977
|
+
data: number;
|
|
1978
|
+
}, {
|
|
1979
|
+
type: "removeRemotePlayer";
|
|
1980
|
+
data: number;
|
|
1981
|
+
}>, z.ZodObject<{
|
|
1982
|
+
type: z.ZodLiteral<"remotePlayerChanged">;
|
|
1983
|
+
data: z.ZodObject<{
|
|
1984
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
1985
|
+
x: z.ZodNumber;
|
|
1986
|
+
y: z.ZodNumber;
|
|
1987
|
+
}, "strip", z.ZodTypeAny, {
|
|
1988
|
+
x: number;
|
|
1989
|
+
y: number;
|
|
1990
|
+
}, {
|
|
1991
|
+
x: number;
|
|
1992
|
+
y: number;
|
|
1993
|
+
}>>;
|
|
1994
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
playerId: z.ZodNumber;
|
|
1996
|
+
variables: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodUnknown>>;
|
|
1997
|
+
availabilityStatus: z.ZodOptional<z.ZodString>;
|
|
1998
|
+
outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1999
|
+
}, "strip", z.ZodTypeAny, {
|
|
2000
|
+
position?: {
|
|
2001
|
+
x: number;
|
|
2002
|
+
y: number;
|
|
2003
|
+
} | undefined;
|
|
2004
|
+
name?: string | undefined;
|
|
2005
|
+
variables?: Map<string, unknown> | undefined;
|
|
2006
|
+
availabilityStatus?: string | undefined;
|
|
2007
|
+
outlineColor?: number | undefined;
|
|
2008
|
+
playerId: number;
|
|
2009
|
+
}, {
|
|
2010
|
+
position?: {
|
|
2011
|
+
x: number;
|
|
2012
|
+
y: number;
|
|
2013
|
+
} | undefined;
|
|
2014
|
+
name?: string | undefined;
|
|
2015
|
+
variables?: Map<string, unknown> | undefined;
|
|
2016
|
+
availabilityStatus?: string | undefined;
|
|
2017
|
+
outlineColor?: number | undefined;
|
|
2018
|
+
playerId: number;
|
|
2019
|
+
}>;
|
|
2020
|
+
}, "strip", z.ZodTypeAny, {
|
|
2021
|
+
type: "remotePlayerChanged";
|
|
2022
|
+
data: {
|
|
2023
|
+
position?: {
|
|
2024
|
+
x: number;
|
|
2025
|
+
y: number;
|
|
2026
|
+
} | undefined;
|
|
2027
|
+
name?: string | undefined;
|
|
2028
|
+
variables?: Map<string, unknown> | undefined;
|
|
2029
|
+
availabilityStatus?: string | undefined;
|
|
2030
|
+
outlineColor?: number | undefined;
|
|
2031
|
+
playerId: number;
|
|
2032
|
+
};
|
|
2033
|
+
}, {
|
|
2034
|
+
type: "remotePlayerChanged";
|
|
2035
|
+
data: {
|
|
2036
|
+
position?: {
|
|
2037
|
+
x: number;
|
|
2038
|
+
y: number;
|
|
2039
|
+
} | undefined;
|
|
2040
|
+
name?: string | undefined;
|
|
2041
|
+
variables?: Map<string, unknown> | undefined;
|
|
2042
|
+
availabilityStatus?: string | undefined;
|
|
2043
|
+
outlineColor?: number | undefined;
|
|
2044
|
+
playerId: number;
|
|
2045
|
+
};
|
|
2046
|
+
}>, z.ZodObject<{
|
|
2047
|
+
type: z.ZodLiteral<"settings">;
|
|
2048
|
+
data: z.ZodObject<{
|
|
2049
|
+
notification: z.ZodBoolean;
|
|
2050
|
+
chatSounds: z.ZodBoolean;
|
|
2051
|
+
}, "strip", z.ZodTypeAny, {
|
|
2052
|
+
notification: boolean;
|
|
2053
|
+
chatSounds: boolean;
|
|
2054
|
+
}, {
|
|
2055
|
+
notification: boolean;
|
|
2056
|
+
chatSounds: boolean;
|
|
2057
|
+
}>;
|
|
2058
|
+
}, "strip", z.ZodTypeAny, {
|
|
2059
|
+
type: "settings";
|
|
2060
|
+
data: {
|
|
2061
|
+
notification: boolean;
|
|
2062
|
+
chatSounds: boolean;
|
|
2063
|
+
};
|
|
2064
|
+
}, {
|
|
2065
|
+
type: "settings";
|
|
2066
|
+
data: {
|
|
2067
|
+
notification: boolean;
|
|
2068
|
+
chatSounds: boolean;
|
|
2069
|
+
};
|
|
2070
|
+
}>, z.ZodObject<{
|
|
2071
|
+
type: z.ZodLiteral<"chatVisibility">;
|
|
2072
|
+
data: z.ZodObject<{
|
|
2073
|
+
visibility: z.ZodBoolean;
|
|
2074
|
+
}, "strip", z.ZodTypeAny, {
|
|
2075
|
+
visibility: boolean;
|
|
2076
|
+
}, {
|
|
2077
|
+
visibility: boolean;
|
|
2078
|
+
}>;
|
|
2079
|
+
}, "strip", z.ZodTypeAny, {
|
|
2080
|
+
type: "chatVisibility";
|
|
2081
|
+
data: {
|
|
2082
|
+
visibility: boolean;
|
|
2083
|
+
};
|
|
2084
|
+
}, {
|
|
2085
|
+
type: "chatVisibility";
|
|
2086
|
+
data: {
|
|
2087
|
+
visibility: boolean;
|
|
2088
|
+
};
|
|
2089
|
+
}>, z.ZodObject<{
|
|
2090
|
+
type: z.ZodLiteral<"availabilityStatus">;
|
|
2091
|
+
data: z.ZodNumber;
|
|
2092
|
+
}, "strip", z.ZodTypeAny, {
|
|
2093
|
+
type: "availabilityStatus";
|
|
2094
|
+
data: number;
|
|
2095
|
+
}, {
|
|
2096
|
+
type: "availabilityStatus";
|
|
2097
|
+
data: number;
|
|
2098
|
+
}>, z.ZodObject<{
|
|
2099
|
+
type: z.ZodLiteral<"peerConnectionStatus">;
|
|
2100
|
+
data: z.ZodBoolean;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
type: "peerConnectionStatus";
|
|
2103
|
+
data: boolean;
|
|
2104
|
+
}, {
|
|
2105
|
+
type: "peerConnectionStatus";
|
|
2106
|
+
data: boolean;
|
|
2107
|
+
}>, z.ZodObject<{
|
|
2108
|
+
type: z.ZodLiteral<"comingUser">;
|
|
2109
|
+
data: z.ZodObject<{
|
|
2110
|
+
type: z.ZodNativeEnum<typeof import("./ChatEvent").ChatMessageTypes>;
|
|
2111
|
+
date: z.ZodDate;
|
|
2112
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2113
|
+
targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
2114
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
2115
|
+
}, "strip", z.ZodTypeAny, {
|
|
2116
|
+
author?: string | null | undefined;
|
|
2117
|
+
text?: (string | null)[] | null | undefined;
|
|
2118
|
+
targets?: (string | null)[] | null | undefined;
|
|
2119
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2120
|
+
date: Date;
|
|
2121
|
+
}, {
|
|
2122
|
+
author?: string | null | undefined;
|
|
2123
|
+
text?: (string | null)[] | null | undefined;
|
|
2124
|
+
targets?: (string | null)[] | null | undefined;
|
|
2125
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2126
|
+
date: Date;
|
|
2127
|
+
}>;
|
|
2128
|
+
}, "strip", z.ZodTypeAny, {
|
|
2129
|
+
type: "comingUser";
|
|
2130
|
+
data: {
|
|
2131
|
+
author?: string | null | undefined;
|
|
2132
|
+
text?: (string | null)[] | null | undefined;
|
|
2133
|
+
targets?: (string | null)[] | null | undefined;
|
|
2134
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2135
|
+
date: Date;
|
|
2136
|
+
};
|
|
2137
|
+
}, {
|
|
2138
|
+
type: "comingUser";
|
|
2139
|
+
data: {
|
|
2140
|
+
author?: string | null | undefined;
|
|
2141
|
+
text?: (string | null)[] | null | undefined;
|
|
2142
|
+
targets?: (string | null)[] | null | undefined;
|
|
2143
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2144
|
+
date: Date;
|
|
2145
|
+
};
|
|
2146
|
+
}>, z.ZodObject<{
|
|
2147
|
+
type: z.ZodLiteral<"addChatMessage">;
|
|
2148
|
+
data: z.ZodObject<{
|
|
2149
|
+
type: z.ZodNativeEnum<typeof import("./ChatEvent").ChatMessageTypes>;
|
|
2150
|
+
date: z.ZodDate;
|
|
2151
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2152
|
+
targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
2153
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
2154
|
+
}, "strip", z.ZodTypeAny, {
|
|
2155
|
+
author?: string | null | undefined;
|
|
2156
|
+
text?: (string | null)[] | null | undefined;
|
|
2157
|
+
targets?: (string | null)[] | null | undefined;
|
|
2158
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2159
|
+
date: Date;
|
|
2160
|
+
}, {
|
|
2161
|
+
author?: string | null | undefined;
|
|
2162
|
+
text?: (string | null)[] | null | undefined;
|
|
2163
|
+
targets?: (string | null)[] | null | undefined;
|
|
2164
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2165
|
+
date: Date;
|
|
2166
|
+
}>;
|
|
2167
|
+
}, "strip", z.ZodTypeAny, {
|
|
2168
|
+
type: "addChatMessage";
|
|
2169
|
+
data: {
|
|
2170
|
+
author?: string | null | undefined;
|
|
2171
|
+
text?: (string | null)[] | null | undefined;
|
|
2172
|
+
targets?: (string | null)[] | null | undefined;
|
|
2173
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2174
|
+
date: Date;
|
|
2175
|
+
};
|
|
2176
|
+
}, {
|
|
2177
|
+
type: "addChatMessage";
|
|
2178
|
+
data: {
|
|
2179
|
+
author?: string | null | undefined;
|
|
2180
|
+
text?: (string | null)[] | null | undefined;
|
|
2181
|
+
targets?: (string | null)[] | null | undefined;
|
|
2182
|
+
type: import("./ChatEvent").ChatMessageTypes;
|
|
2183
|
+
date: Date;
|
|
2184
|
+
};
|
|
2185
|
+
}>, z.ZodObject<{
|
|
2186
|
+
type: z.ZodLiteral<"updateWritingStatusChatList">;
|
|
2187
|
+
data: z.ZodArray<z.ZodNullable<z.ZodString>, "many">;
|
|
2188
|
+
}, "strip", z.ZodTypeAny, {
|
|
2189
|
+
type: "updateWritingStatusChatList";
|
|
2190
|
+
data: (string | null)[];
|
|
2191
|
+
}, {
|
|
2192
|
+
type: "updateWritingStatusChatList";
|
|
2193
|
+
data: (string | null)[];
|
|
1247
2194
|
}>]>;
|
|
1248
2195
|
export declare type IframeResponseEvent = z.infer<typeof isIframeResponseEvent>;
|
|
1249
2196
|
export declare const isLookingLikeIframeEventWrapper: z.ZodObject<{
|
|
@@ -1268,30 +2215,36 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
1268
2215
|
mapUrl: z.ZodString;
|
|
1269
2216
|
nickname: z.ZodString;
|
|
1270
2217
|
language: z.ZodOptional<z.ZodString>;
|
|
2218
|
+
playerId: z.ZodOptional<z.ZodNumber>;
|
|
1271
2219
|
uuid: z.ZodOptional<z.ZodString>;
|
|
1272
2220
|
startLayerName: z.ZodOptional<z.ZodString>;
|
|
1273
2221
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
1274
2222
|
variables: z.ZodUnknown;
|
|
1275
2223
|
playerVariables: z.ZodUnknown;
|
|
1276
2224
|
userRoomToken: z.ZodOptional<z.ZodString>;
|
|
2225
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
1277
2226
|
}, "strip", z.ZodTypeAny, {
|
|
1278
2227
|
language?: string | undefined;
|
|
2228
|
+
playerId?: number | undefined;
|
|
1279
2229
|
uuid?: string | undefined;
|
|
1280
2230
|
startLayerName?: string | undefined;
|
|
1281
2231
|
variables?: unknown;
|
|
1282
2232
|
playerVariables?: unknown;
|
|
1283
2233
|
userRoomToken?: string | undefined;
|
|
2234
|
+
metadata?: unknown;
|
|
1284
2235
|
roomId: string;
|
|
1285
2236
|
mapUrl: string;
|
|
1286
2237
|
nickname: string;
|
|
1287
2238
|
tags: string[];
|
|
1288
2239
|
}, {
|
|
1289
2240
|
language?: string | undefined;
|
|
2241
|
+
playerId?: number | undefined;
|
|
1290
2242
|
uuid?: string | undefined;
|
|
1291
2243
|
startLayerName?: string | undefined;
|
|
1292
2244
|
variables?: unknown;
|
|
1293
2245
|
playerVariables?: unknown;
|
|
1294
2246
|
userRoomToken?: string | undefined;
|
|
2247
|
+
metadata?: unknown;
|
|
1295
2248
|
roomId: string;
|
|
1296
2249
|
mapUrl: string;
|
|
1297
2250
|
nickname: string;
|
|
@@ -1312,15 +2265,37 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
1312
2265
|
query: z.ZodObject<{
|
|
1313
2266
|
key: z.ZodString;
|
|
1314
2267
|
value: z.ZodUnknown;
|
|
1315
|
-
target: z.ZodEnum<["global", "player"]>;
|
|
1316
2268
|
}, "strip", z.ZodTypeAny, {
|
|
1317
2269
|
value?: unknown;
|
|
1318
2270
|
key: string;
|
|
1319
|
-
target: "global" | "player";
|
|
1320
2271
|
}, {
|
|
1321
2272
|
value?: unknown;
|
|
1322
2273
|
key: string;
|
|
1323
|
-
|
|
2274
|
+
}>;
|
|
2275
|
+
answer: z.ZodUndefined;
|
|
2276
|
+
};
|
|
2277
|
+
setPlayerVariable: {
|
|
2278
|
+
query: z.ZodObject<{
|
|
2279
|
+
key: z.ZodString;
|
|
2280
|
+
value: z.ZodUnknown;
|
|
2281
|
+
public: z.ZodBoolean;
|
|
2282
|
+
persist: z.ZodBoolean;
|
|
2283
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2284
|
+
scope: z.ZodUnion<[z.ZodLiteral<"room">, z.ZodLiteral<"world">]>;
|
|
2285
|
+
}, "strip", z.ZodTypeAny, {
|
|
2286
|
+
value?: unknown;
|
|
2287
|
+
ttl?: number | undefined;
|
|
2288
|
+
key: string;
|
|
2289
|
+
public: boolean;
|
|
2290
|
+
persist: boolean;
|
|
2291
|
+
scope: "room" | "world";
|
|
2292
|
+
}, {
|
|
2293
|
+
value?: unknown;
|
|
2294
|
+
ttl?: number | undefined;
|
|
2295
|
+
key: string;
|
|
2296
|
+
public: boolean;
|
|
2297
|
+
persist: boolean;
|
|
2298
|
+
scope: "room" | "world";
|
|
1324
2299
|
}>;
|
|
1325
2300
|
answer: z.ZodUndefined;
|
|
1326
2301
|
};
|
|
@@ -1914,6 +2889,58 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
1914
2889
|
};
|
|
1915
2890
|
}>, "many">;
|
|
1916
2891
|
};
|
|
2892
|
+
enablePlayersTracking: {
|
|
2893
|
+
query: z.ZodObject<{
|
|
2894
|
+
players: z.ZodBoolean;
|
|
2895
|
+
movement: z.ZodBoolean;
|
|
2896
|
+
}, "strip", z.ZodTypeAny, {
|
|
2897
|
+
players: boolean;
|
|
2898
|
+
movement: boolean;
|
|
2899
|
+
}, {
|
|
2900
|
+
players: boolean;
|
|
2901
|
+
movement: boolean;
|
|
2902
|
+
}>;
|
|
2903
|
+
answer: z.ZodArray<z.ZodObject<{
|
|
2904
|
+
playerId: z.ZodNumber;
|
|
2905
|
+
name: z.ZodString;
|
|
2906
|
+
userUuid: z.ZodString;
|
|
2907
|
+
availabilityStatus: z.ZodString;
|
|
2908
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
2909
|
+
position: z.ZodObject<{
|
|
2910
|
+
x: z.ZodNumber;
|
|
2911
|
+
y: z.ZodNumber;
|
|
2912
|
+
}, "strip", z.ZodTypeAny, {
|
|
2913
|
+
x: number;
|
|
2914
|
+
y: number;
|
|
2915
|
+
}, {
|
|
2916
|
+
x: number;
|
|
2917
|
+
y: number;
|
|
2918
|
+
}>;
|
|
2919
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
2920
|
+
}, "strip", z.ZodTypeAny, {
|
|
2921
|
+
outlineColor?: number | undefined;
|
|
2922
|
+
position: {
|
|
2923
|
+
x: number;
|
|
2924
|
+
y: number;
|
|
2925
|
+
};
|
|
2926
|
+
name: string;
|
|
2927
|
+
playerId: number;
|
|
2928
|
+
variables: Map<string, unknown>;
|
|
2929
|
+
userUuid: string;
|
|
2930
|
+
availabilityStatus: string;
|
|
2931
|
+
}, {
|
|
2932
|
+
outlineColor?: number | undefined;
|
|
2933
|
+
position: {
|
|
2934
|
+
x: number;
|
|
2935
|
+
y: number;
|
|
2936
|
+
};
|
|
2937
|
+
name: string;
|
|
2938
|
+
playerId: number;
|
|
2939
|
+
variables: Map<string, unknown>;
|
|
2940
|
+
userUuid: string;
|
|
2941
|
+
availabilityStatus: string;
|
|
2942
|
+
}>, "many">;
|
|
2943
|
+
};
|
|
1917
2944
|
};
|
|
1918
2945
|
declare type IframeQueryMapTypeGuardsType = typeof iframeQueryMapTypeGuards;
|
|
1919
2946
|
declare type UnknownToVoid<T> = undefined extends T ? void : T;
|
|
@@ -1931,15 +2958,15 @@ export interface IframeQueryWrapper<T extends keyof IframeQueryMap> {
|
|
|
1931
2958
|
id: number;
|
|
1932
2959
|
query: IframeQuery<T>;
|
|
1933
2960
|
}
|
|
1934
|
-
export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites";
|
|
1935
|
-
export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites">;
|
|
1936
|
-
export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites">;
|
|
2961
|
+
export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking";
|
|
2962
|
+
export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking">;
|
|
2963
|
+
export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking">;
|
|
1937
2964
|
export interface IframeAnswerEvent<T extends keyof IframeQueryMap> {
|
|
1938
2965
|
id: number;
|
|
1939
2966
|
type: T;
|
|
1940
2967
|
data: IframeQueryMap[T]["answer"];
|
|
1941
2968
|
}
|
|
1942
|
-
export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites">;
|
|
2969
|
+
export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking">;
|
|
1943
2970
|
export declare const isIframeErrorAnswerEvent: z.ZodObject<{
|
|
1944
2971
|
id: z.ZodNumber;
|
|
1945
2972
|
type: z.ZodString;
|