New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@workadventure/iframe-api-typings

Package Overview
Dependencies
Maintainers
0
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workadventure/iframe-api-typings - npm Package Compare versions

Comparing version

to
1.21.0

play/src/front/Api/Iframe/mapEditor.d.ts

37

libs/shared-utils/src/Events/ChatEvent.d.ts

@@ -6,7 +6,7 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
scope: "local";
author?: string | undefined;
}, {
scope: "local";
}, {
author?: string | undefined;
scope: "local";
}>;

@@ -24,7 +24,7 @@ export declare const isSendBubbleChatMessageOptions: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
scope: "local";
author?: string | undefined;
}, {
scope: "local";
}, {
author?: string | undefined;
scope: "local";
}>, z.ZodObject<{

@@ -43,7 +43,7 @@ scope: z.ZodLiteral<"bubble">;

}, "strip", z.ZodTypeAny, {
scope: "local";
author?: string | undefined;
}, {
scope: "local";
}, {
author?: string | undefined;
scope: "local";
}>, z.ZodObject<{

@@ -59,4 +59,4 @@ scope: z.ZodLiteral<"bubble">;

options: {
scope: "local";
author?: string | undefined;
scope: "local";
} | {

@@ -68,4 +68,4 @@ scope: "bubble";

options: {
scope: "local";
author?: string | undefined;
scope: "local";
} | {

@@ -83,3 +83,2 @@ scope: "bubble";

}, "strip", z.ZodTypeAny, {
color?: string | undefined;
name: string;

@@ -90,4 +89,4 @@ active: boolean;

isMember: boolean;
color?: string | undefined;
}, {
color?: string | undefined;
name: string;

@@ -98,2 +97,3 @@ active: boolean;

isMember: boolean;
color?: string | undefined;
}>;

@@ -110,2 +110,3 @@ export declare enum ChatMessageTypes {

export declare const isChatMessage: z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
type: z.ZodNativeEnum<typeof ChatMessageTypes>;

@@ -121,3 +122,2 @@ date: z.ZodDate;

}, "strip", z.ZodTypeAny, {
color?: string | undefined;
name: string;

@@ -128,4 +128,4 @@ active: boolean;

isMember: boolean;
color?: string | undefined;
}, {
color?: string | undefined;
name: string;

@@ -136,2 +136,3 @@ active: boolean;

isMember: boolean;
color?: string | undefined;
}>>>;

@@ -142,4 +143,5 @@ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;

}, "strip", z.ZodTypeAny, {
type: ChatMessageTypes;
date: Date;
author?: {
color?: string | undefined;
name: string;

@@ -150,11 +152,12 @@ active: boolean;

isMember: boolean;
color?: string | undefined;
} | null | undefined;
text?: string[] | null | undefined;
name?: string | null | undefined;
id?: string | undefined;
targets?: (string | null)[] | null | undefined;
}, {
type: ChatMessageTypes;
date: Date;
}, {
author?: {
color?: string | undefined;
name: string;

@@ -165,8 +168,8 @@ active: boolean;

isMember: boolean;
color?: string | undefined;
} | null | undefined;
text?: string[] | null | undefined;
name?: string | null | undefined;
id?: string | undefined;
targets?: (string | null)[] | null | undefined;
type: ChatMessageTypes;
date: Date;
}>;

@@ -173,0 +176,0 @@ export type ChatMessage = z.infer<typeof isChatMessage>;

{
"name": "@workadventure/iframe-api-typings",
"version": "v1.20.2",
"version": "v1.21.0",
"description": "Typescript typings for WorkAdventure iFrame API",

@@ -15,4 +15,4 @@ "main": "iframe_api.js",

"rxjs": "^6.6.3",
"zod": "^3.14.3"
"zod": "^3.23.8"
}
}

@@ -19,6 +19,5 @@ import { z } from "zod";

variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -28,9 +27,10 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}, {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -40,10 +40,11 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}>;
export declare const isRemotePlayerChangedEvent: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
availabilityStatus: z.ZodOptional<z.ZodString>;
position: z.ZodOptional<z.ZodObject<{

@@ -59,8 +60,10 @@ x: z.ZodNumber;

}>>;
playerId: z.ZodNumber;
variables: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodUnknown>>;
playerId: z.ZodNumber;
availabilityStatus: z.ZodOptional<z.ZodString>;
outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
playerId: number;
name?: string | undefined;
outlineColor?: number | undefined;
availabilityStatus?: string | undefined;
position?: {

@@ -71,7 +74,8 @@ x: number;

variables?: Map<string, unknown> | undefined;
availabilityStatus?: string | undefined;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}, {
playerId: number;
}, {
name?: string | undefined;
outlineColor?: number | undefined;
availabilityStatus?: string | undefined;
position?: {

@@ -82,3 +86,5 @@ x: number;

variables?: Map<string, unknown> | undefined;
playerId: number;
availabilityStatus?: string | undefined;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}>;

@@ -85,0 +91,0 @@ /**

@@ -6,7 +6,7 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
uuid: string;
playUri: string;
}, {
uuid: string;
}, {
playUri: string;
uuid: string;
}>;

@@ -13,0 +13,0 @@ /**

@@ -6,7 +6,7 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
smooth: boolean;
duration?: number | undefined;
}, {
smooth: boolean;
}, {
duration?: number | undefined;
smooth: boolean;
}>;

@@ -13,0 +13,0 @@ /**

@@ -11,5 +11,2 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
height?: number | undefined;
width?: number | undefined;
duration?: number | undefined;
x: number;

@@ -19,6 +16,6 @@ y: number;

smooth: boolean;
}, {
height?: number | undefined;
width?: number | undefined;
duration?: number | undefined;
}, {
x: number;

@@ -28,2 +25,5 @@ y: number;

smooth: boolean;
height?: number | undefined;
width?: number | undefined;
duration?: number | undefined;
}>;

@@ -30,0 +30,0 @@ /**

@@ -9,2 +9,3 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
name: string;
height?: number | undefined;

@@ -14,4 +15,4 @@ width?: number | undefined;

y?: number | undefined;
}, {
name: string;
}, {
height?: number | undefined;

@@ -21,3 +22,2 @@ width?: number | undefined;

y?: number | undefined;
name: string;
}>;

@@ -37,12 +37,12 @@ /**

width: number;
name: string;
x: number;
y: number;
name: string;
}, {
height: number;
width: number;
name: string;
x: number;
y: number;
name: string;
}>;
export type CreateDynamicAreaEvent = z.infer<typeof isCreateDynamicAreaEvent>;

@@ -32,8 +32,9 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
name: string;
url?: string | undefined;
height?: number | undefined;
width?: number | undefined;
allowApi?: boolean | undefined;
x?: number | undefined;
y?: number | undefined;
allowApi?: boolean | undefined;
visible?: boolean | undefined;

@@ -43,10 +44,10 @@ allow?: string | undefined;

scale?: number | undefined;
}, {
name: string;
}, {
url?: string | undefined;
height?: number | undefined;
width?: number | undefined;
allowApi?: boolean | undefined;
x?: number | undefined;
y?: number | undefined;
allowApi?: boolean | undefined;
visible?: boolean | undefined;

@@ -56,3 +57,2 @@ allow?: string | undefined;

scale?: number | undefined;
name: string;
}>;

@@ -88,7 +88,2 @@ /**

}, "strip", z.ZodTypeAny, {
allowApi?: boolean | undefined;
visible?: boolean | undefined;
allow?: string | undefined;
origin?: "map" | "player" | undefined;
scale?: number | undefined;
url: string;

@@ -102,3 +97,2 @@ name: string;

};
}, {
allowApi?: boolean | undefined;

@@ -109,2 +103,3 @@ visible?: boolean | undefined;

scale?: number | undefined;
}, {
url: string;

@@ -118,3 +113,8 @@ name: string;

};
allowApi?: boolean | undefined;
visible?: boolean | undefined;
allow?: string | undefined;
origin?: "map" | "player" | undefined;
scale?: number | undefined;
}>;
export type CreateEmbeddedWebsiteEvent = z.infer<typeof isCreateEmbeddedWebsiteEvent>;

@@ -19,33 +19,33 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
metadata?: unknown;
roomId: string;
hashParameters: Record<string, string>;
mapUrl: string;
nickname: string;
tags: string[];
isLogged: boolean;
uuid?: string | undefined;
variables?: unknown;
userRoomToken?: string | undefined;
language?: string | undefined;
playerId?: number | undefined;
startLayerName?: string | undefined;
variables?: unknown;
playerVariables?: unknown;
userRoomToken?: string | undefined;
metadata?: unknown;
iframeId?: string | undefined;
tags: string[];
}, {
roomId: string;
isLogged: boolean;
hashParameters: Record<string, string>;
mapUrl: string;
hashParameters: Record<string, string>;
nickname: string;
}, {
metadata?: unknown;
tags: string[];
uuid?: string | undefined;
variables?: unknown;
userRoomToken?: string | undefined;
isLogged?: boolean | undefined;
language?: string | undefined;
playerId?: number | undefined;
startLayerName?: string | undefined;
variables?: unknown;
playerVariables?: unknown;
userRoomToken?: string | undefined;
metadata?: unknown;
iframeId?: string | undefined;
tags: string[];
roomId: string;
mapUrl: string;
hashParameters: Record<string, string>;
nickname: string;
isLogged?: boolean | undefined;
}>;

@@ -52,0 +52,0 @@ /**

@@ -10,4 +10,2 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
oldX?: number | undefined;
oldY?: number | undefined;
x: number;

@@ -17,5 +15,5 @@ y: number;

moving: boolean;
}, {
oldX?: number | undefined;
oldY?: number | undefined;
}, {
x: number;

@@ -25,2 +23,4 @@ y: number;

moving: boolean;
oldX?: number | undefined;
oldY?: number | undefined;
}>;

@@ -27,0 +27,0 @@ /**

@@ -10,12 +10,12 @@ import { z } from "zod";

title: string;
allowApi: boolean;
position: "left" | "right" | "center";
allow: string | null;
src: string;
allowApi: boolean;
allow: string | null;
}, {
src: string;
title?: string | undefined;
allowApi?: boolean | undefined;
position?: "left" | "right" | "center" | undefined;
allowApi?: boolean | undefined;
allow?: string | null | undefined;
src: string;
}>;

@@ -22,0 +22,0 @@ /**

@@ -7,10 +7,10 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
speed?: number | undefined;
x: number;
y: number;
speed?: number | undefined;
}, {
speed?: number | undefined;
x: number;
y: number;
speed?: number | undefined;
}>;
export type MovePlayerToEvent = z.infer<typeof isMovePlayerToEventConfig>;

@@ -11,17 +11,17 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
position?: number | undefined;
url: string;
allowApi?: boolean | undefined;
allowPolicy?: string | undefined;
widthPercent?: number | undefined;
position?: number | undefined;
closable?: boolean | undefined;
lazy?: boolean | undefined;
}, {
url: string;
}, {
position?: number | undefined;
allowApi?: boolean | undefined;
allowPolicy?: string | undefined;
widthPercent?: number | undefined;
position?: number | undefined;
closable?: boolean | undefined;
lazy?: boolean | undefined;
url: string;
}>;

@@ -28,0 +28,0 @@ export declare const isCoWebsite: z.ZodObject<{

@@ -6,7 +6,7 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
label: string;
className?: string | undefined;
}, {
label: string;
}, {
className?: string | undefined;
label: string;
}>;

@@ -21,7 +21,7 @@ export declare const isOpenPopupEvent: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
label: string;
className?: string | undefined;
}, {
label: string;
}, {
className?: string | undefined;
label: string;
}>, "many">;

@@ -33,4 +33,4 @@ }, "strip", z.ZodTypeAny, {

buttons: {
label: string;
className?: string | undefined;
label: string;
}[];

@@ -42,4 +42,4 @@ }, {

buttons: {
label: string;
className?: string | undefined;
label: string;
}[];

@@ -46,0 +46,0 @@ }>;

@@ -55,2 +55,3 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
url: string;
config?: {

@@ -65,4 +66,4 @@ volume?: number | undefined;

} | undefined;
}, {
url: string;
}, {
config?: {

@@ -77,3 +78,2 @@ volume?: number | undefined;

} | undefined;
url: string;
}>;

@@ -80,0 +80,0 @@ /**

@@ -20,6 +20,5 @@ import { z } from "zod";

variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -29,9 +28,10 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}, {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -41,11 +41,12 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
users: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -55,11 +56,12 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}[];
}, {
users: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -69,7 +71,10 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}[];
}>;
export type JoinProximityMeetingEvent = z.infer<typeof isJoinProximityMeetingEvent>;

@@ -20,6 +20,5 @@ import { z } from "zod";

variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -29,9 +28,10 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}, {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -41,11 +41,12 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
user: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -55,11 +56,12 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
};
}, {
user: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -69,7 +71,10 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
};
}>;
export type ParticipantProximityMeetingEvent = z.infer<typeof isParticipantProximityMeetingEvent>;

@@ -7,9 +7,9 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
name: string;
data?: unknown;
senderId?: number | undefined;
}, {
name: string;
}, {
data?: unknown;
senderId?: number | undefined;
name: string;
}>;

@@ -23,9 +23,9 @@ export declare const isReceiveEventIframeEvent: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
name: string;
data?: unknown;
senderId?: number | undefined;
}, {
name: string;
}, {
data?: unknown;
senderId?: number | undefined;
name: string;
}>;

@@ -35,5 +35,5 @@ }, "strip", z.ZodTypeAny, {

data: {
name: string;
data?: unknown;
senderId?: number | undefined;
name: string;
};

@@ -43,5 +43,5 @@ }, {

data: {
name: string;
data?: unknown;
senderId?: number | undefined;
name: string;
};

@@ -48,0 +48,0 @@ }>;

@@ -7,9 +7,9 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
name: string;
data?: unknown;
targetUserIds?: number[] | undefined;
}, {
name: string;
}, {
data?: unknown;
targetUserIds?: number[] | undefined;
name: string;
}>;

@@ -23,9 +23,9 @@ export declare const isSendEventIframeEvent: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
name: string;
data?: unknown;
targetUserIds?: number[] | undefined;
}, {
name: string;
}, {
data?: unknown;
targetUserIds?: number[] | undefined;
name: string;
}>;

@@ -35,5 +35,5 @@ }, "strip", z.ZodTypeAny, {

data: {
name: string;
data?: unknown;
targetUserIds?: number[] | undefined;
name: string;
};

@@ -43,5 +43,5 @@ }, {

data: {
name: string;
data?: unknown;
targetUserIds?: number[] | undefined;
name: string;
};

@@ -48,0 +48,0 @@ }>;

@@ -7,9 +7,9 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
propertyValue?: string | number | boolean | undefined;
propertyName: string;
areaName: string;
propertyValue?: string | number | boolean | undefined;
}, {
propertyValue?: string | number | boolean | undefined;
propertyName: string;
areaName: string;
propertyValue?: string | number | boolean | undefined;
}>;

@@ -16,0 +16,0 @@ /**

@@ -10,15 +10,15 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
value?: unknown;
ttl?: number | undefined;
scope: "room" | "world";
key: string;
public: boolean;
persist: boolean;
scope: "room" | "world";
}, {
value?: unknown;
ttl?: number | undefined;
}, {
scope: "room" | "world";
key: string;
public: boolean;
persist: boolean;
scope: "room" | "world";
value?: unknown;
ttl?: number | undefined;
}>;

@@ -25,0 +25,0 @@ /**

@@ -7,9 +7,9 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
propertyValue?: string | number | boolean | undefined;
layerName: string;
propertyName: string;
propertyValue?: string | number | boolean | undefined;
}, {
propertyValue?: string | number | boolean | undefined;
layerName: string;
propertyName: string;
propertyValue?: string | number | boolean | undefined;
}>;

@@ -16,0 +16,0 @@ /**

@@ -7,9 +7,9 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
playerId: number;
key: string;
value?: unknown;
}, {
playerId: number;
key: string;
playerId: number;
}, {
value?: unknown;
key: string;
playerId: number;
}>;

@@ -16,0 +16,0 @@ /**

@@ -10,2 +10,4 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
notification: boolean;
chatSounds: boolean;
enableChat: boolean;

@@ -15,5 +17,5 @@ enableChatUpload: boolean;

enableChatDisconnectedList: boolean;
}, {
notification: boolean;
chatSounds: boolean;
}, {
enableChat: boolean;

@@ -23,5 +25,3 @@ enableChatUpload: boolean;

enableChatDisconnectedList: boolean;
notification: boolean;
chatSounds: boolean;
}>;
export type SettingsEvent = z.infer<typeof isSettingsEvent>;

@@ -6,7 +6,7 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
key: string;
value?: unknown;
}, {
key: string;
}, {
value?: unknown;
key: string;
}>;

@@ -19,7 +19,7 @@ export declare const isSetVariableIframeEvent: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
key: string;
value?: unknown;
}, {
key: string;
}, {
value?: unknown;
key: string;
}>;

@@ -29,4 +29,4 @@ }, "strip", z.ZodTypeAny, {

data: {
key: string;
value?: unknown;
key: string;
};

@@ -36,4 +36,4 @@ }, {

data: {
key: string;
value?: unknown;
key: string;
};

@@ -40,0 +40,0 @@ }>;

@@ -20,2 +20,4 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
text: string;
id: string;
link?: {

@@ -29,5 +31,5 @@ url: string;

timeToClose?: number | undefined;
}, {
text: string;
id: string;
}, {
link?: {

@@ -41,5 +43,3 @@ url: string;

timeToClose?: number | undefined;
text: string;
id: string;
}>;
export type BannerEvent = z.infer<typeof isBannerEvent>;

@@ -11,5 +11,5 @@ import { z } from "zod";

}, {
type?: "button" | undefined;
label: string;
id: string;
type?: "button" | undefined;
}>;

@@ -41,5 +41,5 @@ export declare const isAddActionButtonActionBarEvent: z.ZodObject<{

}, {
type?: "button" | undefined;
label: string;
id: string;
type?: "button" | undefined;
}>, z.ZodObject<{

@@ -46,0 +46,0 @@ id: z.ZodString;

@@ -35,15 +35,15 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
iframe?: string | undefined;
options: {
allowApi: boolean;
};
name: string;
key: string;
name: string;
iframe?: string | undefined;
}, {
iframe?: string | undefined;
options: {
allowApi: boolean;
};
name: string;
key: string;
name: string;
iframe?: string | undefined;
}>;

@@ -50,0 +50,0 @@ export type MenuRegisterEvent = z.infer<typeof isMenuRegisterEvent>;

@@ -12,9 +12,9 @@ import { z } from "zod";

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}, {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}>;

@@ -81,20 +81,11 @@ export type UIWebsiteMargin = z.infer<typeof isUIWebsiteMargin>;

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}, {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
allowApi?: boolean | undefined;
allowPolicy?: string | undefined;
visible?: boolean | undefined;
margin?: {
left?: string | undefined;
top?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
} | undefined;
url: string;

@@ -109,3 +100,2 @@ position: {

};
}, {
allowApi?: boolean | undefined;

@@ -117,5 +107,6 @@ allowPolicy?: string | undefined;

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
} | undefined;
}, {
url: string;

@@ -130,2 +121,11 @@ position: {

};
allowApi?: boolean | undefined;
allowPolicy?: string | undefined;
visible?: boolean | undefined;
margin?: {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
} | undefined;
}>;

@@ -165,11 +165,12 @@ export type CreateUIWebsiteEvent = z.infer<typeof isCreateUIWebsiteEvent>;

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}, {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
id: string;
url?: string | undefined;

@@ -188,7 +189,7 @@ position?: {

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
} | undefined;
}, {
id: string;
}, {
url?: string | undefined;

@@ -207,6 +208,5 @@ position?: {

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
} | undefined;
id: string;
}>;

@@ -248,19 +248,15 @@ export type ModifyUIWebsiteEvent = z.infer<typeof isModifyUIWebsiteEvent>;

top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}, {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
margin?: {
left?: string | undefined;
top?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
} | undefined;
url: string;
id: string;
allowApi: boolean;
allowPolicy: string;
position: {

@@ -270,4 +266,2 @@ vertical: "top" | "bottom" | "middle";

};
allowApi: boolean;
allowPolicy: string;
visible: boolean;

@@ -278,11 +272,13 @@ size: {

};
}, {
margin?: {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
bottom?: string | undefined;
} | undefined;
}, {
url: string;
id: string;
allowApi: boolean;
allowPolicy: string;
position: {

@@ -292,4 +288,2 @@ vertical: "top" | "bottom" | "middle";

};
allowApi: boolean;
allowPolicy: string;
visible: boolean;

@@ -300,3 +294,9 @@ size: {

};
margin?: {
left?: string | undefined;
top?: string | undefined;
bottom?: string | undefined;
right?: string | undefined;
} | undefined;
}>;
export type UIWebsiteEvent = z.infer<typeof isUIWebsiteEvent>;

@@ -6,7 +6,7 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
message: string;
senderId?: number | undefined;
}, {
message: string;
}, {
senderId?: number | undefined;
message: string;
}>;

@@ -13,0 +13,0 @@ /**

@@ -7,10 +7,10 @@ import type { Observable } from "rxjs";

protected receivedEventResolvers: Subject<{
name: string;
data?: unknown;
senderId?: number | undefined;
name: string;
}>;
protected eventSubscribers: Map<string, Subject<{
name: string;
data?: unknown;
senderId?: number | undefined;
name: string;
}>>;

@@ -17,0 +17,0 @@ protected constructor();

@@ -7,4 +7,4 @@ import type { Observable } from "rxjs";

protected setVariableResolvers: Subject<{
key: string;
value?: unknown;
key: string;
}>;

@@ -11,0 +11,0 @@ protected variables: Partial<State>;

@@ -15,4 +15,4 @@ import { Subscription } from "rxjs";

callback: (event: {
message: string;
senderId?: number | undefined;
message: string;
}) => void;

@@ -19,0 +19,0 @@ }[];

@@ -7,5 +7,5 @@ import { AbstractWorkadventureEventCommands } from "./AbstractEvent";

callback: (event: {
name: string;
data?: unknown;
senderId?: number | undefined;
name: string;
}) => void;

@@ -12,0 +12,0 @@ }[];

@@ -18,4 +18,2 @@ import { Subscription } from "rxjs";

callback: (event: {
oldX?: number | undefined;
oldY?: number | undefined;
x: number;

@@ -25,2 +23,4 @@ y: number;

moving: boolean;
oldX?: number | undefined;
oldY?: number | undefined;
}) => void;

@@ -27,0 +27,0 @@ }[];

@@ -15,5 +15,3 @@ import { Subject } from "rxjs";

users: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -23,5 +21,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}[];

@@ -33,5 +34,3 @@ }) => void;

user: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -41,5 +40,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
};

@@ -51,5 +53,3 @@ }) => void;

user: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -59,5 +59,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
};

@@ -72,5 +75,3 @@ }) => void;

user: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -80,5 +81,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
};

@@ -90,5 +94,3 @@ }) => void;

user: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -98,5 +100,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
};

@@ -103,0 +108,0 @@ }) => void;

@@ -24,5 +24,5 @@ import type { Observable } from "rxjs";

callback: (event: {
playerId: number;
key: string;
value?: unknown;
key: string;
playerId: number;
}) => void;

@@ -32,5 +32,3 @@ } | {

callback: (event: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -40,5 +38,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}) => void;

@@ -51,5 +52,4 @@ } | {

callback: (event: {
playerId: number;
name?: string | undefined;
outlineColor?: number | undefined;
availabilityStatus?: string | undefined;
position?: {

@@ -60,3 +60,5 @@ x: number;

variables?: Map<string, unknown> | undefined;
playerId: number;
availabilityStatus?: string | undefined;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}) => void;

@@ -63,0 +65,0 @@ })[];

@@ -10,4 +10,4 @@ import { AbstractWorkadventureStateCommands } from "./AbstractState";

callback: (event: {
key: string;
value?: unknown;
key: string;
}) => void;

@@ -14,0 +14,0 @@ }[];

@@ -8,4 +8,4 @@ import { AbstractWorkadventureStateCommands } from "./AbstractState";

callback: (event: {
key: string;
value?: unknown;
key: string;
}) => void;

@@ -12,0 +12,0 @@ }[];

@@ -67,5 +67,3 @@ import type { Observable } from "rxjs";

callback: (event: {
outlineColor?: number | undefined;
name: string;
availabilityStatus: string;
position: {

@@ -75,5 +73,8 @@ x: number;

};
playerId: number;
variables: Map<string, unknown>;
userUuid: string;
variables: Map<string, unknown>;
playerId: number;
availabilityStatus: string;
outlineColor?: number | undefined;
chatID?: string | null | undefined;
}) => void;

@@ -80,0 +81,0 @@ } | {

@@ -9,6 +9,6 @@ import { IframeApiContribution } from "../IframeApiContribution";

title: string;
allowApi: boolean;
position: "left" | "right" | "center";
allow: string | null;
src: string;
allowApi: boolean;
allow: string | null;
}) => void;

@@ -15,0 +15,0 @@ }[];

@@ -34,2 +34,3 @@ import type { CoWebsite } from "./front/Api/Iframe/nav";

event: import("./front/Api/Iframe/event").WorkadventureEventCommands;
mapEditor: import("./front/Api/Iframe/mapEditor").WorkadventureMapEditorCommands;
/**

@@ -36,0 +37,0 @@ * When your script / iFrame loads WorkAdventure, it takes a few milliseconds for your

Sorry, the diff of this file is too big to display