Merge pull request #7111 from rolandzwaga/master

Added IFontoMessageEventData interface
This commit is contained in:
Masahiro Wakame
2015-12-10 23:22:21 +09:00
2 changed files with 16 additions and 0 deletions

View File

@@ -25,4 +25,11 @@ var simpleinit:com.fontoxml.IInvocator = {
documentIds: ["11-22-33","44-55-66"],
cmsBaseUrl: "/test/",
editSessionToken: "aa-bb-cc-dd-ee"
}
var eventData:com.fontoxml.IFontoMessageEventData = {
command: "test-command",
type: "test-type",
scope: init,
metadata: {}
}

View File

@@ -37,4 +37,13 @@ declare module com.fontoxml
roleId:string;
}
//This is describes the object that is assigned to the MessageEvent.data
//property after the FontoXML editor posts a message
export interface IFontoMessageEventData {
command: string;
type: string;
scope: com.fontoxml.IInvocator;
metadata: any;
}
}