You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Fixed types
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import BaseModel from '../BaseModel';
|
||||
import { SqlQuery } from '../database';
|
||||
import { SqlQuery } from '../services/database/types';
|
||||
import BaseItem from './BaseItem';
|
||||
|
||||
// - If is_associated = 1, note_resources indicates which note_id is currently associated with the given resource_id
|
||||
|
||||
@@ -442,4 +442,10 @@ export default class Resource extends BaseItem {
|
||||
}, { changeSource: ItemChange.SOURCE_SYNC });
|
||||
}
|
||||
|
||||
// public static async save(o: ResourceEntity, options: SaveOptions = null): Promise<ResourceEntity> {
|
||||
// const resource:ResourceEntity = await super.save(o, options);
|
||||
// if (resource.updated_time) resource.bl
|
||||
// return resource;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SqlQuery } from '../../database';
|
||||
import { SqlQuery } from '../../services/database/types';
|
||||
|
||||
export enum PaginationOrderDir {
|
||||
ASC = 'ASC',
|
||||
|
||||
Reference in New Issue
Block a user