imdone-core 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/adapters/all-emoji.js +1840 -0
- package/lib/adapters/index.js +1 -0
- package/lib/adapters/markdown.js +1 -2
- package/lib/card.js +1 -3
- package/lib/plugins/extension-plugin.js +2 -2
- package/lib/plugins/plugin-manager.js +2 -3
- package/package.json +1 -1
- package/types/adapters/all-emoji.d.ts +1840 -0
- package/types/adapters/index.d.ts +1 -0
- package/types/adapters/markdown.d.ts +1 -1
- package/types/card.d.ts +0 -1
- package/types/project.d.ts +3 -2
|
@@ -2,7 +2,6 @@ export function extractWikilinkTopics(markdown: any): string[];
|
|
|
2
2
|
export function _setPlatform(platform: any): void;
|
|
3
3
|
export function renderMarkdown(markdown: any, filePath: any): any;
|
|
4
4
|
export function removeMD(...args: any[]): any;
|
|
5
|
-
export const allEmoji: any;
|
|
6
5
|
declare namespace _default {
|
|
7
6
|
export { extractWikilinkTopics };
|
|
8
7
|
export { renderMarkdown };
|
|
@@ -11,3 +10,4 @@ declare namespace _default {
|
|
|
11
10
|
export { allEmoji };
|
|
12
11
|
}
|
|
13
12
|
export default _default;
|
|
13
|
+
import { allEmoji } from './all-emoji.js';
|
package/types/card.d.ts
CHANGED
package/types/project.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class WorkerProject
|
|
1
|
+
export class WorkerProject {
|
|
2
2
|
constructor(repo: any);
|
|
3
3
|
repo: any;
|
|
4
4
|
innerFilter: string;
|
|
@@ -96,6 +96,7 @@ export class WorkerProject extends Project {
|
|
|
96
96
|
copyToClipboard(text: any, message: any): Promise<void>;
|
|
97
97
|
openUrl(url: any): Promise<void>;
|
|
98
98
|
openPath(path: any): Promise<void>;
|
|
99
|
+
saveFile(content: any, file: any): void;
|
|
99
100
|
newCard({ list, path, template, title, comments, emit }: {
|
|
100
101
|
list: any;
|
|
101
102
|
path: any;
|
|
@@ -125,6 +126,7 @@ export class WorkerProject extends Project {
|
|
|
125
126
|
addTagsToContent(tags: any, content: any): any;
|
|
126
127
|
deleteTask(task: any): Promise<void>;
|
|
127
128
|
deleteTasks(tasks: any): Promise<void>;
|
|
129
|
+
setFilter(filter: any): void;
|
|
128
130
|
getNewCardTemplate(file: any, isFile: any): any;
|
|
129
131
|
getNewCardFileFrontMatter(file: any, isFile: any): {
|
|
130
132
|
props: any;
|
|
@@ -153,6 +155,5 @@ export class WorkerProject extends Project {
|
|
|
153
155
|
renderMarkdown(content: any, filePath: any): any;
|
|
154
156
|
extractWikilinkTopics(markdown: any): string[];
|
|
155
157
|
}
|
|
156
|
-
import { Project } from 'imdone-api/lib/project.js';
|
|
157
158
|
import * as fileGateway from './adapters/file-gateway.js';
|
|
158
159
|
import { PluginManager } from './plugins/plugin-manager.js';
|