knowmax-quest-types
Version:
Contains type definitions for communicating with Knowmax Quest.
20 lines • 815 B
TypeScript
export interface IDocument {
/** Internal identification. */
id: number;
/** Public Quest identification. */
questId: string;
/** Document title. */
title: string;
/** Explicit marking of document and all it's versions as archive. Not set in case Quest should infer this value. */
archive?: boolean;
/** Internal identification of optional document group to which this document belongs. */
documentGroupId?: number;
/** Quest identification of optional document group to which this document belongs. */
documentGroupQuestId?: string;
modified: string;
modifiedBy: string;
created: string;
createdBy: string;
}
export type IDocumentEditable = Pick<IDocument, 'questId' | 'title' | 'archive' | 'documentGroupId'>;
//# sourceMappingURL=IDocument.d.ts.map