@workadventure/iframe-api-typings 1.15.9 → 1.15.10
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.
|
@@ -203,7 +203,7 @@ export declare const isModifyUIWebsiteEvent: z.ZodObject<{
|
|
|
203
203
|
id: string;
|
|
204
204
|
}>;
|
|
205
205
|
export type ModifyUIWebsiteEvent = z.infer<typeof isModifyUIWebsiteEvent>;
|
|
206
|
-
export declare const
|
|
206
|
+
export declare const isUIWebsiteEvent: z.ZodObject<{
|
|
207
207
|
id: z.ZodString;
|
|
208
208
|
url: z.ZodString;
|
|
209
209
|
visible: z.ZodBoolean;
|
|
@@ -286,4 +286,4 @@ export declare const isUIWebsite: z.ZodObject<{
|
|
|
286
286
|
height: string;
|
|
287
287
|
};
|
|
288
288
|
}>;
|
|
289
|
-
export type
|
|
289
|
+
export type UIWebsiteEvent = z.infer<typeof isUIWebsiteEvent>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateUIWebsiteEvent, UIWebsiteMargin, UIWebsitePosition, UIWebsiteSize,
|
|
1
|
+
import type { CreateUIWebsiteEvent, UIWebsiteMargin, UIWebsitePosition, UIWebsiteSize, UIWebsiteEvent } from "../../Events/Ui/UIWebsiteEvent";
|
|
2
2
|
import { IframeApiContribution } from "../IframeApiContribution";
|
|
3
3
|
export declare class UIWebsite {
|
|
4
4
|
readonly id: string;
|
|
@@ -9,7 +9,7 @@ export declare class UIWebsite {
|
|
|
9
9
|
private _position;
|
|
10
10
|
private _size;
|
|
11
11
|
private _margin;
|
|
12
|
-
constructor(config:
|
|
12
|
+
constructor(config: UIWebsiteEvent);
|
|
13
13
|
get url(): string;
|
|
14
14
|
set url(url: string);
|
|
15
15
|
get visible(): boolean;
|
package/iframe_api.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import type { CoWebsite } from "./front/Api/Iframe/nav";
|
|
|
2
2
|
import type { ButtonDescriptor } from "./front/Api/Iframe/Ui/ButtonDescriptor";
|
|
3
3
|
import type { Popup } from "./front/Api/Iframe/Ui/Popup";
|
|
4
4
|
import type { Sound } from "./front/Api/Iframe/Sound/Sound";
|
|
5
|
+
export type { CreateUIWebsiteEvent, ModifyUIWebsiteEvent, UIWebsiteEvent, UIWebsiteCSSValue, UIWebsiteMargin, UIWebsitePosition, UIWebsiteSize, ViewportPositionHorizontal, ViewportPositionVertical, } from "./front/Api/Events/Ui/UIWebsiteEvent";
|
|
6
|
+
export type { CreateEmbeddedWebsiteEvent, ModifyEmbeddedWebsiteEvent, Rectangle, } from "./front/Api/Events/EmbeddedWebsiteEvent";
|
|
5
7
|
export type { UIWebsite } from "./front/Api/Iframe/Ui/UIWebsite";
|
|
6
8
|
export type { Menu } from "./front/Api/Iframe/Ui/Menu";
|
|
7
9
|
export type { ActionMessage } from "./front/Api/Iframe/Ui/ActionMessage";
|