mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 20:37:14 +08:00
Merge pull request #7111 from rolandzwaga/master
Added IFontoMessageEventData interface
This commit is contained in:
@@ -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: {}
|
||||
}
|
||||
9
fontoxml/fontoxml.d.ts
vendored
9
fontoxml/fontoxml.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user