Adjust ExtraMetadata type
This commit is contained in:
15
src/demo/app/metamodel.d.ts
vendored
15
src/demo/app/metamodel.d.ts
vendored
@@ -1,15 +0,0 @@
|
||||
import { Flo } from 'spring-flo';
|
||||
export interface RawMetadata {
|
||||
name: string;
|
||||
group: string;
|
||||
description: string;
|
||||
properties: Array<Flo.PropertyMetadata>;
|
||||
}
|
||||
export declare class Metamodel implements Flo.Metamodel {
|
||||
private rawData;
|
||||
constructor();
|
||||
textToGraph(flo: Flo.EditorContext, dsl: string): void;
|
||||
graphToText(flo: Flo.EditorContext): Promise<{}>;
|
||||
load(): Promise<Map<string, Map<string, Flo.ElementMetadata>>>;
|
||||
groups(): Array<string>;
|
||||
}
|
||||
5
src/lib/src/editor/editor.utils.d.ts
vendored
5
src/lib/src/editor/editor.utils.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { dia } from 'jointjs';
|
||||
export declare class Utils {
|
||||
static fanRoute(graph: dia.Graph, cell: dia.Cell): void;
|
||||
static isCustomPaperEvent(args: any): boolean;
|
||||
}
|
||||
@@ -22,9 +22,9 @@ export namespace Flo {
|
||||
}
|
||||
|
||||
export interface ExtraMetadata {
|
||||
readonly titleProperty : string;
|
||||
readonly noEditableProps : boolean;
|
||||
readonly noPaletteEntry : boolean;
|
||||
readonly titleProperty? : string;
|
||||
readonly noEditableProps? : boolean;
|
||||
readonly noPaletteEntry? : boolean;
|
||||
readonly [propName : string] : any;
|
||||
|
||||
readonly allowAdditionalProperties : boolean; //TODO: Verify it is still needed
|
||||
|
||||
Reference in New Issue
Block a user