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.
Files
outline/app/models/Share.js
Tom Moor 7f9cba9819 feat: Record share link last accessed time (#2047)
* chore: Migrations

* chore: Add recording of share link views

* feat: Add display of share link accessed date in admin

* translations

* test

* translations, admin pagination
2021-04-18 09:38:13 -07:00

19 lines
340 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;
createdBy: User;
createdAt: string;
updatedAt: string;
}
export default Share;