18 lines
365 B
TypeScript
18 lines
365 B
TypeScript
|
|
import type { MODULE_TYPE } from "@appsmith/constants/ModuleConstants";
|
||
|
|
|
||
|
|
export type ModuleId = string;
|
||
|
|
export type ModuleInstanceId = string;
|
||
|
|
|
||
|
|
export enum ModuleInstanceCreatorType {
|
||
|
|
MODULE = "MODULE",
|
||
|
|
PAGE = "PAGE",
|
||
|
|
}
|
||
|
|
export interface ModuleInstance {
|
||
|
|
id: ModuleInstanceId;
|
||
|
|
type: MODULE_TYPE;
|
||
|
|
name: string;
|
||
|
|
inputs: {
|
||
|
|
[key: string]: string;
|
||
|
|
};
|
||
|
|
}
|