Files
outline/app/models/Share.ts
Tom Moor b7a6a34565 fix: Flash of empty state on paginated lists (#3351)
* fix: Flash of empty state on paginated lists
fix: Typing of PaginatedList to generic

* test

* test
2022-04-09 20:31:51 -07:00

35 lines
516 B
TypeScript

import { observable } from "mobx";
import BaseModel from "./BaseModel";
import User from "./User";
import Field from "./decorators/Field";
class Share extends BaseModel {
@Field
@observable
id: string;
@Field
@observable
published: boolean;
@Field
@observable
includeChildDocuments: boolean;
@Field
@observable
documentId: string;
documentTitle: string;
documentUrl: string;
lastAccessedAt: string | null | undefined;
url: string;
createdBy: User;
}
export default Share;