* migration * frontend routing, api permissioning * feat: apiVersion=2 * feat: re-writing document links to point to share * poc nested documents on share links * fix: nested shareId permissions * ui and language tweaks, comments * breadcrumbs * Add icons to reference list items * refactor: Breadcrumb component * tweaks * Add shared parent note
20 lines
374 B
JavaScript
20 lines
374 B
JavaScript
// @flow
|
|
import BaseModel from "./BaseModel";
|
|
import User from "./User";
|
|
|
|
class Share extends BaseModel {
|
|
id: string;
|
|
url: string;
|
|
published: boolean;
|
|
documentId: string;
|
|
documentTitle: string;
|
|
documentUrl: string;
|
|
lastAccessedAt: ?string;
|
|
includeChildDocuments: boolean;
|
|
createdBy: User;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
|
|
export default Share;
|