@workadventure/iframe-api-typings 1.14.3 → 1.14.7
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/front/Api/Events/AddPlayerEvent.d.ts +5 -5
- package/front/Api/Events/ChatEvent.d.ts +6 -3
- package/front/Api/Events/EmbeddedWebsiteEvent.d.ts +2 -2
- package/front/Api/Events/IframeEvent.d.ts +188 -62
- package/front/Api/Events/JoinMucEvent.d.ts +2 -2
- package/front/Api/Events/ModalEvent.d.ts +3 -3
- package/front/Api/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +4 -4
- package/front/Api/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +4 -4
- package/front/Api/Events/SettingsEvent.d.ts +6 -0
- package/front/Api/Events/Ui/ButtonActionBarEvent.d.ts +21 -0
- package/front/Api/Events/XmppSettingsMessageEvent.d.ts +4 -4
- package/front/Api/Iframe/Player/ProximityMeeting.d.ts +3 -3
- package/front/Api/Iframe/Ui/ButtonActionBar.d.ts +31 -0
- package/front/Api/Iframe/Ui/Modal.d.ts +16 -6
- package/front/Api/Iframe/players.d.ts +2 -2
- package/front/Api/Iframe/ui.d.ts +3 -1
- package/package.json +1 -1
|
@@ -18,28 +18,29 @@ export declare const isAddPlayerEvent: z.ZodObject<{
|
|
|
18
18
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
outlineColor?: number | undefined;
|
|
21
|
+
name: string;
|
|
21
22
|
position: {
|
|
22
23
|
x: number;
|
|
23
24
|
y: number;
|
|
24
25
|
};
|
|
25
|
-
name: string;
|
|
26
26
|
playerId: number;
|
|
27
27
|
variables: Map<string, unknown>;
|
|
28
28
|
userUuid: string;
|
|
29
29
|
availabilityStatus: string;
|
|
30
30
|
}, {
|
|
31
31
|
outlineColor?: number | undefined;
|
|
32
|
+
name: string;
|
|
32
33
|
position: {
|
|
33
34
|
x: number;
|
|
34
35
|
y: number;
|
|
35
36
|
};
|
|
36
|
-
name: string;
|
|
37
37
|
playerId: number;
|
|
38
38
|
variables: Map<string, unknown>;
|
|
39
39
|
userUuid: string;
|
|
40
40
|
availabilityStatus: string;
|
|
41
41
|
}>;
|
|
42
42
|
export declare const isRemotePlayerChangedEvent: z.ZodObject<{
|
|
43
|
+
name: z.ZodOptional<z.ZodString>;
|
|
43
44
|
position: z.ZodOptional<z.ZodObject<{
|
|
44
45
|
x: z.ZodNumber;
|
|
45
46
|
y: z.ZodNumber;
|
|
@@ -50,27 +51,26 @@ export declare const isRemotePlayerChangedEvent: z.ZodObject<{
|
|
|
50
51
|
x: number;
|
|
51
52
|
y: number;
|
|
52
53
|
}>>;
|
|
53
|
-
name: z.ZodOptional<z.ZodString>;
|
|
54
54
|
playerId: z.ZodNumber;
|
|
55
55
|
variables: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodUnknown>>;
|
|
56
56
|
availabilityStatus: z.ZodOptional<z.ZodString>;
|
|
57
57
|
outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
name?: string | undefined;
|
|
59
60
|
position?: {
|
|
60
61
|
x: number;
|
|
61
62
|
y: number;
|
|
62
63
|
} | undefined;
|
|
63
|
-
name?: string | undefined;
|
|
64
64
|
variables?: Map<string, unknown> | undefined;
|
|
65
65
|
availabilityStatus?: string | undefined;
|
|
66
66
|
outlineColor?: number | undefined;
|
|
67
67
|
playerId: number;
|
|
68
68
|
}, {
|
|
69
|
+
name?: string | undefined;
|
|
69
70
|
position?: {
|
|
70
71
|
x: number;
|
|
71
72
|
y: number;
|
|
72
73
|
} | undefined;
|
|
73
|
-
name?: string | undefined;
|
|
74
74
|
variables?: Map<string, unknown> | undefined;
|
|
75
75
|
availabilityStatus?: string | undefined;
|
|
76
76
|
outlineColor?: number | undefined;
|
|
@@ -21,18 +21,21 @@ export declare const isChatMessageTypes: z.ZodNativeEnum<typeof ChatMessageTypes
|
|
|
21
21
|
export declare const isChatMessage: z.ZodObject<{
|
|
22
22
|
type: z.ZodNativeEnum<typeof ChatMessageTypes>;
|
|
23
23
|
date: z.ZodDate;
|
|
24
|
-
author: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
25
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
26
|
targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
26
27
|
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
27
28
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
author?:
|
|
29
|
+
author?: any;
|
|
29
30
|
text?: (string | null)[] | null | undefined;
|
|
31
|
+
name?: string | null | undefined;
|
|
30
32
|
targets?: (string | null)[] | null | undefined;
|
|
31
33
|
type: ChatMessageTypes;
|
|
32
34
|
date: Date;
|
|
33
35
|
}, {
|
|
34
|
-
author?:
|
|
36
|
+
author?: any;
|
|
35
37
|
text?: (string | null)[] | null | undefined;
|
|
38
|
+
name?: string | null | undefined;
|
|
36
39
|
targets?: (string | null)[] | null | undefined;
|
|
37
40
|
type: ChatMessageTypes;
|
|
38
41
|
date: Date;
|
|
@@ -87,6 +87,7 @@ export declare const isCreateEmbeddedWebsiteEvent: z.ZodObject<{
|
|
|
87
87
|
allow?: string | undefined;
|
|
88
88
|
origin?: "player" | "map" | undefined;
|
|
89
89
|
scale?: number | undefined;
|
|
90
|
+
name: string;
|
|
90
91
|
url: string;
|
|
91
92
|
position: {
|
|
92
93
|
x: number;
|
|
@@ -94,13 +95,13 @@ export declare const isCreateEmbeddedWebsiteEvent: z.ZodObject<{
|
|
|
94
95
|
width: number;
|
|
95
96
|
height: number;
|
|
96
97
|
};
|
|
97
|
-
name: string;
|
|
98
98
|
}, {
|
|
99
99
|
allowApi?: boolean | undefined;
|
|
100
100
|
visible?: boolean | undefined;
|
|
101
101
|
allow?: string | undefined;
|
|
102
102
|
origin?: "player" | "map" | undefined;
|
|
103
103
|
scale?: number | undefined;
|
|
104
|
+
name: string;
|
|
104
105
|
url: string;
|
|
105
106
|
position: {
|
|
106
107
|
x: number;
|
|
@@ -108,6 +109,5 @@ export declare const isCreateEmbeddedWebsiteEvent: z.ZodObject<{
|
|
|
108
109
|
width: number;
|
|
109
110
|
height: number;
|
|
110
111
|
};
|
|
111
|
-
name: string;
|
|
112
112
|
}>;
|
|
113
113
|
export declare type CreateEmbeddedWebsiteEvent = z.infer<typeof isCreateEmbeddedWebsiteEvent>;
|