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.
@@ -1,3 +1,4 @@
1
+ export * from "./all-emoji.js";
1
2
  export * from "./date-time.js";
2
3
  export * from "./environment.js";
3
4
  export * from "./file-gateway.js";
@@ -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
@@ -163,4 +163,3 @@ export function newCard(task: any, _project: any, dontParse: any): {
163
163
  getType(): any;
164
164
  equals(task: any): boolean | undefined;
165
165
  };
166
- export const allEmoji: any;
@@ -1,4 +1,4 @@
1
- export class WorkerProject extends Project {
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';