[]
type SaveDocumentInfo = object;
optional id: string;
If an existing document is to be overwritten on saving, the correct id should be specified explicitly
isFirstSave: boolean;
Indicates that a new document is being saved for the first time
name: string;
The correct name must be specified explicitly
optional success: boolean;
undefined in onBefore**** handlers. Should be defined in onAfter****
type: SupportedDocumentType;
Type of the document