feat: Pin to home (#2880)
This commit is contained in:
18
app/models/Pin.ts
Normal file
18
app/models/Pin.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { observable } from "mobx";
|
||||
import BaseModel from "./BaseModel";
|
||||
import Field from "./decorators/Field";
|
||||
|
||||
class Pin extends BaseModel {
|
||||
id: string;
|
||||
collectionId: string;
|
||||
documentId: string;
|
||||
|
||||
@observable
|
||||
@Field
|
||||
index: string;
|
||||
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export default Pin;
|
||||
Reference in New Issue
Block a user