@forge/react
11.17.0-experimental-04cc2b911.18.0-next.0
out/types/effect.d.ts~
out/types/effect.d.tsModified+6−6
Index: package/out/types/effect.d.ts
===================================================================
--- package/out/types/effect.d.ts
+++ package/out/types/effect.d.ts
@@ -2,20 +2,20 @@
import { type RenderState, type Handler, type ForgeDoc } from './forge';
export interface BackendRuntimePayload {
effects: BackendEffect[];
}
-export type ExtensionData = {
+export declare type ExtensionData = {
[k: string]: any;
macro?: {
layout?: 'bodied';
isConfiguring?: boolean;
isInserting?: boolean;
};
};
-export type ExtensionPayload = {
+export declare type ExtensionPayload = {
[k: string]: any;
};
-export type ExtensionViewData = {
+export declare type ExtensionViewData = {
[k: string]: any;
macro?: {
body?: DocNode;
};
@@ -61,11 +61,11 @@
type: 'result';
forgeDoc: ForgeDoc;
state: RenderState;
}
-export type BackendEffect = RenderEffect | ActionEffect | EventEffect;
-export type ClientEffect = ResultEffect;
-export type Effect = BackendEffect | ClientEffect;
+export declare type BackendEffect = RenderEffect | ActionEffect | EventEffect;
+export declare type ClientEffect = ResultEffect;
+export declare type Effect = BackendEffect | ClientEffect;
export declare const isEventEffect: (effect: Effect) => effect is EventEffect;
export declare const isActionEffect: (effect: Effect) => effect is ActionEffect;
export declare const isRenderEffect: (effect: Effect) => effect is RenderEffect;
export declare const isResultEffect: (effect: Effect) => effect is ResultEffect;