Added IFontoMessageEventData interface (is currently undocumented publicly, so I can't post a link to any documentation)

This commit is contained in:
Roland Zwaga
2015-12-09 11:56:35 +01:00
parent 220716d99a
commit f9944e023e
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;
}
}