This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/app/models/Share.js
Tom Moor 44920a25f4
feat: Nested document sharing (#2075)
* 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
2021-05-22 19:34:05 -07:00

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;