obsidian-dev-utils 16.2.0 → 16.4.0

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.
Files changed (94) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +24 -2
  3. package/dist/bin/cli.cjs +1 -1
  4. package/dist/dprint.json +22 -0
  5. package/dist/lib/@types/debug.d.ts +1 -1
  6. package/dist/lib/Async.cjs +10 -5
  7. package/dist/lib/Debug.cjs +4 -2
  8. package/dist/lib/Library.cjs +1 -1
  9. package/dist/lib/Object.cjs +1 -1
  10. package/dist/lib/Object.d.ts +1 -1
  11. package/dist/lib/Path.cjs +1 -1
  12. package/dist/lib/Path.d.ts +5 -5
  13. package/dist/lib/obsidian/@types/Dataview/api/data-array.d.ts +116 -114
  14. package/dist/lib/obsidian/@types/Dataview/api/extensions.d.ts +8 -8
  15. package/dist/lib/obsidian/@types/Dataview/api/inline-api.d.ts +172 -151
  16. package/dist/lib/obsidian/@types/Dataview/api/plugin-api.d.ts +183 -166
  17. package/dist/lib/obsidian/@types/Dataview/api/result.d.ts +28 -28
  18. package/dist/lib/obsidian/@types/Dataview/data-import/csv.d.ts +1 -1
  19. package/dist/lib/obsidian/@types/Dataview/data-import/inline-field.d.ts +15 -15
  20. package/dist/lib/obsidian/@types/Dataview/data-import/markdown-file.d.ts +23 -7
  21. package/dist/lib/obsidian/@types/Dataview/data-import/persister.d.ts +25 -25
  22. package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.ts +5 -2
  23. package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-manager.d.ts +30 -25
  24. package/dist/lib/obsidian/@types/Dataview/data-index/index.d.ts +156 -149
  25. package/dist/lib/obsidian/@types/Dataview/data-index/resolver.d.ts +9 -6
  26. package/dist/lib/obsidian/@types/Dataview/data-index/source.d.ts +43 -43
  27. package/dist/lib/obsidian/@types/Dataview/data-model/markdown.d.ts +105 -99
  28. package/dist/lib/obsidian/@types/Dataview/data-model/serialized/markdown.d.ts +92 -89
  29. package/dist/lib/obsidian/@types/Dataview/data-model/transferable.d.ts +4 -4
  30. package/dist/lib/obsidian/@types/Dataview/data-model/value.d.ts +139 -112
  31. package/dist/lib/obsidian/@types/Dataview/expression/binaryop.d.ts +31 -17
  32. package/dist/lib/obsidian/@types/Dataview/expression/context.d.ts +39 -33
  33. package/dist/lib/obsidian/@types/Dataview/expression/field.d.ts +46 -46
  34. package/dist/lib/obsidian/@types/Dataview/expression/functions.d.ts +120 -108
  35. package/dist/lib/obsidian/@types/Dataview/expression/parse.d.ts +135 -115
  36. package/dist/lib/obsidian/@types/Dataview/index.d.ts +48 -14
  37. package/dist/lib/obsidian/@types/Dataview/main.d.ts +50 -42
  38. package/dist/lib/obsidian/@types/Dataview/query/engine.d.ts +60 -44
  39. package/dist/lib/obsidian/@types/Dataview/query/parse.d.ts +31 -18
  40. package/dist/lib/obsidian/@types/Dataview/query/query.d.ts +45 -45
  41. package/dist/lib/obsidian/@types/Dataview/settings.d.ts +50 -50
  42. package/dist/lib/obsidian/@types/Dataview/typings/obsidian-ex.d.ts +16 -16
  43. package/dist/lib/obsidian/@types/Dataview/typings/workers.d.ts +3 -3
  44. package/dist/lib/obsidian/@types/Dataview/ui/export/markdown.d.ts +9 -3
  45. package/dist/lib/obsidian/@types/Dataview/ui/lp-render.d.ts +34 -21
  46. package/dist/lib/obsidian/@types/Dataview/ui/markdown.d.ts +49 -36
  47. package/dist/lib/obsidian/@types/Dataview/ui/refreshable-view.d.ts +15 -12
  48. package/dist/lib/obsidian/@types/Dataview/ui/render.d.ts +27 -6
  49. package/dist/lib/obsidian/@types/Dataview/ui/views/calendar-view.d.ts +15 -15
  50. package/dist/lib/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.ts +30 -17
  51. package/dist/lib/obsidian/@types/Dataview/ui/views/inline-view.d.ts +25 -16
  52. package/dist/lib/obsidian/@types/Dataview/ui/views/js-view.d.ts +18 -18
  53. package/dist/lib/obsidian/@types/Dataview/ui/views/list-view.d.ts +14 -14
  54. package/dist/lib/obsidian/@types/Dataview/ui/views/table-view.d.ts +17 -17
  55. package/dist/lib/obsidian/@types/Dataview/ui/views/task-view.d.ts +26 -14
  56. package/dist/lib/obsidian/@types/Dataview/util/media.d.ts +1 -1
  57. package/dist/lib/obsidian/@types/Dataview/util/normalize.d.ts +6 -3
  58. package/dist/lib/obsidian/App.cjs +1 -1
  59. package/dist/lib/obsidian/AttachmentPath.cjs +1 -1
  60. package/dist/lib/obsidian/Dataview.cjs +26 -17
  61. package/dist/lib/obsidian/FileChange.cjs +1 -1
  62. package/dist/lib/obsidian/FileChange.d.ts +4 -4
  63. package/dist/lib/obsidian/FileManager.cjs +2 -2
  64. package/dist/lib/obsidian/Link.cjs +1 -1
  65. package/dist/lib/obsidian/Link.d.ts +4 -4
  66. package/dist/lib/obsidian/Markdown.cjs +17 -1
  67. package/dist/lib/obsidian/Markdown.d.ts +11 -1
  68. package/dist/lib/obsidian/MarkdownCodeBlockProcessor.cjs +1 -1
  69. package/dist/lib/obsidian/MetadataCache.cjs +7 -3
  70. package/dist/lib/obsidian/Plugin/PluginSettingsTabBase.cjs +1 -1
  71. package/dist/lib/obsidian/Reference.cjs +1 -1
  72. package/dist/lib/obsidian/Reference.d.ts +6 -6
  73. package/dist/lib/obsidian/RenameDeleteHandler.cjs +7 -3
  74. package/dist/lib/obsidian/RenameDeleteHandler.d.ts +2 -2
  75. package/dist/lib/obsidian/Vault.cjs +1 -1
  76. package/dist/lib/obsidian/VaultEx.cjs +1 -1
  77. package/dist/lib/scripts/ESLint/ESLint.cjs +4 -2
  78. package/dist/lib/scripts/ESLint/eslint.config.cjs +5 -2
  79. package/dist/lib/scripts/Fs.cjs +1 -1
  80. package/dist/lib/scripts/JSON.cjs +1 -1
  81. package/dist/lib/scripts/Npm.cjs +1 -1
  82. package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.cjs +2 -1
  83. package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.d.ts +2 -0
  84. package/dist/lib/scripts/cli.cjs +23 -18
  85. package/dist/lib/scripts/esbuild/ObsidianPluginBuilder.cjs +5 -3
  86. package/dist/lib/scripts/esbuild/fixSourceMapsPlugin.cjs +1 -1
  87. package/dist/lib/scripts/esbuild/preprocessPlugin.cjs +1 -1
  88. package/dist/lib/scripts/format.cjs +56 -0
  89. package/dist/lib/scripts/format.d.ts +10 -0
  90. package/dist/lib/scripts/index.cjs +4 -1
  91. package/dist/lib/scripts/index.d.ts +1 -0
  92. package/dist/lib/scripts/version.cjs +18 -6
  93. package/package.json +205 -10
  94. package/dist/obsidian-dev-utils-16.2.0.tgz +0 -0
@@ -1,109 +1,115 @@
1
- import type { DateTime } from "luxon";
2
- import type { FullIndex } from "../data-index/index.d.ts";
3
- import type { Literal, Link } from "../data-model/value.d.ts";
4
- import type { DataObject } from "../index.d.ts";
5
- import type { SListItem, SMarkdownPage } from "../data-model/serialized/markdown.d.ts";
6
- import type { Pos } from "obsidian";
1
+ import type { DateTime } from 'luxon';
2
+ import type { Pos } from 'obsidian';
3
+ import type { FullIndex } from '../data-index/index.d.ts';
4
+ import type {
5
+ SListItem,
6
+ SMarkdownPage
7
+ } from '../data-model/serialized/markdown.d.ts';
8
+ import type {
9
+ Link,
10
+ Literal
11
+ } from '../data-model/value.d.ts';
12
+ import type { DataObject } from '../index.d.ts';
7
13
  /** All extracted markdown file metadata obtained from a file. */
8
14
  export declare class PageMetadata {
9
- /** The path this file exists at. */
10
- path: string;
11
- /** Obsidian-provided date this page was created. */
12
- ctime: DateTime;
13
- /** Obsidian-provided date this page was modified. */
14
- mtime: DateTime;
15
- /** Obsidian-provided size of this page in bytes. */
16
- size: number;
17
- /** The day associated with this page, if relevant. */
18
- day?: DateTime;
19
- /** The first H1/H2 header in the file. May not exist. */
20
- title?: string;
21
- /** All of the fields contained in this markdown file - both frontmatter AND in-file links. */
22
- fields: Map<string, Literal>;
23
- /** All of the exact tags (prefixed with '#') in this file overall. */
24
- tags: Set<string>;
25
- /** All of the aliases defined for this file. */
26
- aliases: Set<string>;
27
- /** All OUTGOING links (including embeds, header + block links) in this file. */
28
- links: Link[];
29
- /** All list items contained within this page. Filter for tasks to get just tasks. */
30
- lists: ListItem[];
31
- /** The raw frontmatter for this document. */
32
- frontmatter: Record<string, Literal>;
33
- constructor(path: string, init?: Partial<PageMetadata>);
34
- /** Canonicalize raw links and other data in partial data with normalizers, returning a completed object. */
35
- static canonicalize(data: Partial<PageMetadata>, linkNormalizer: (link: Link) => Link): PageMetadata;
36
- /** The name (based on path) of this file. */
37
- name(): string;
38
- /** The containing folder (based on path) of this file. */
39
- folder(): string;
40
- /** The extension of this file (likely 'md'). */
41
- extension(): string;
42
- /** Return a set of tags AND all of their parent tags (so #hello/yes would become #hello, #hello/yes). */
43
- fullTags(): Set<string>;
44
- /** Convert all links in this file to file links. */
45
- fileLinks(): Link[];
46
- /** Map this metadata to a full object; uses the index for additional data lookups. */
47
- serialize(index: FullIndex, cache?: ListSerializationCache): SMarkdownPage;
15
+ /** The path this file exists at. */
16
+ path: string;
17
+ /** Obsidian-provided date this page was created. */
18
+ ctime: DateTime;
19
+ /** Obsidian-provided date this page was modified. */
20
+ mtime: DateTime;
21
+ /** Obsidian-provided size of this page in bytes. */
22
+ size: number;
23
+ /** The day associated with this page, if relevant. */
24
+ day?: DateTime;
25
+ /** The first H1/H2 header in the file. May not exist. */
26
+ title?: string;
27
+ /** All of the fields contained in this markdown file - both frontmatter AND in-file links. */
28
+ fields: Map<string, Literal>;
29
+ /** All of the exact tags (prefixed with '#') in this file overall. */
30
+ tags: Set<string>;
31
+ /** All of the aliases defined for this file. */
32
+ aliases: Set<string>;
33
+ /** All OUTGOING links (including embeds, header + block links) in this file. */
34
+ links: Link[];
35
+ /** All list items contained within this page. Filter for tasks to get just tasks. */
36
+ lists: ListItem[];
37
+ /** The raw frontmatter for this document. */
38
+ frontmatter: Record<string, Literal>;
39
+ constructor(path: string, init?: Partial<PageMetadata>);
40
+ /** Canonicalize raw links and other data in partial data with normalizers, returning a completed object. */
41
+ static canonicalize(data: Partial<PageMetadata>, linkNormalizer: (link: Link) => Link): PageMetadata;
42
+ /** The name (based on path) of this file. */
43
+ name(): string;
44
+ /** The containing folder (based on path) of this file. */
45
+ folder(): string;
46
+ /** The extension of this file (likely 'md'). */
47
+ extension(): string;
48
+ /** Return a set of tags AND all of their parent tags (so #hello/yes would become #hello, #hello/yes). */
49
+ fullTags(): Set<string>;
50
+ /** Convert all links in this file to file links. */
51
+ fileLinks(): Link[];
52
+ /** Map this metadata to a full object; uses the index for additional data lookups. */
53
+ serialize(index: FullIndex, cache?: ListSerializationCache): SMarkdownPage;
48
54
  }
49
55
  /** A list item inside of a list. */
50
56
  export declare class ListItem {
51
- /** The symbol ('*', '-', '1.') used to define this list item. */
52
- symbol: string;
53
- /** A link which points to this task, or to the closest block that this task is contained in. */
54
- link: Link;
55
- /** A link to the section that contains this list element; could be a file if this is not in a section. */
56
- section: Link;
57
- /** The text of this list item. This may be multiple lines of markdown. */
58
- text: string;
59
- /** The line that this list item starts on in the file. */
60
- line: number;
61
- /** The number of lines that define this list item. */
62
- lineCount: number;
63
- /** The line number for the first list item in the list this item belongs to. */
64
- list: number;
65
- /** Any links contained within this list item. */
66
- links: Link[];
67
- /** The tags contained within this list item. */
68
- tags: Set<string>;
69
- /** The raw Obsidian-provided position for where this task is. */
70
- position: Pos;
71
- /** The line number of the parent list item, if present; if this is undefined, this is a root item. */
72
- parent?: number;
73
- /** The line numbers of children of this list item. */
74
- children: number[];
75
- /** The block ID for this item, if one is present. */
76
- blockId?: string;
77
- /** Any fields defined in this list item. For tasks, this includes fields underneath the task. */
78
- fields: Map<string, Literal[]>;
79
- task?: {
80
- /** The text in between the brackets of the '[ ]' task indicator ('[X]' would yield 'X', for example.) */
81
- status: string;
82
- /** Whether or not this task has been checked in any way (it's status is not empty/space). */
83
- checked: boolean;
84
- /** Whether or not this task was completed; derived from 'status' by checking if the field 'X' or 'x'. */
85
- completed: boolean;
86
- /** Whether or not this task and all of it's subtasks are completed. */
87
- fullyCompleted: boolean;
88
- };
89
- constructor(init?: Partial<ListItem>);
90
- id(): string;
91
- file(): Link;
92
- markdown(): string;
93
- created(): Literal | undefined;
94
- due(): Literal | undefined;
95
- completed(): Literal | undefined;
96
- start(): Literal | undefined;
97
- scheduled(): Literal | undefined;
98
- /** Create an API-friendly copy of this list item. De-duplication is done via the provided cache. */
99
- serialize(cache: ListSerializationCache): SListItem;
57
+ /** The symbol ('*', '-', '1.') used to define this list item. */
58
+ symbol: string;
59
+ /** A link which points to this task, or to the closest block that this task is contained in. */
60
+ link: Link;
61
+ /** A link to the section that contains this list element; could be a file if this is not in a section. */
62
+ section: Link;
63
+ /** The text of this list item. This may be multiple lines of markdown. */
64
+ text: string;
65
+ /** The line that this list item starts on in the file. */
66
+ line: number;
67
+ /** The number of lines that define this list item. */
68
+ lineCount: number;
69
+ /** The line number for the first list item in the list this item belongs to. */
70
+ list: number;
71
+ /** Any links contained within this list item. */
72
+ links: Link[];
73
+ /** The tags contained within this list item. */
74
+ tags: Set<string>;
75
+ /** The raw Obsidian-provided position for where this task is. */
76
+ position: Pos;
77
+ /** The line number of the parent list item, if present; if this is undefined, this is a root item. */
78
+ parent?: number;
79
+ /** The line numbers of children of this list item. */
80
+ children: number[];
81
+ /** The block ID for this item, if one is present. */
82
+ blockId?: string;
83
+ /** Any fields defined in this list item. For tasks, this includes fields underneath the task. */
84
+ fields: Map<string, Literal[]>;
85
+ task?: {
86
+ /** The text in between the brackets of the '[ ]' task indicator ('[X]' would yield 'X', for example.) */
87
+ status: string;
88
+ /** Whether or not this task has been checked in any way (it's status is not empty/space). */
89
+ checked: boolean;
90
+ /** Whether or not this task was completed; derived from 'status' by checking if the field 'X' or 'x'. */
91
+ completed: boolean;
92
+ /** Whether or not this task and all of it's subtasks are completed. */
93
+ fullyCompleted: boolean;
94
+ };
95
+ constructor(init?: Partial<ListItem>);
96
+ id(): string;
97
+ file(): Link;
98
+ markdown(): string;
99
+ created(): Literal | undefined;
100
+ due(): Literal | undefined;
101
+ completed(): Literal | undefined;
102
+ start(): Literal | undefined;
103
+ scheduled(): Literal | undefined;
104
+ /** Create an API-friendly copy of this list item. De-duplication is done via the provided cache. */
105
+ serialize(cache: ListSerializationCache): SListItem;
100
106
  }
101
107
  /** De-duplicates list items across section metadata and page metadata. */
102
108
  export declare class ListSerializationCache {
103
- listItems: Record<number, ListItem>;
104
- cache: Record<number, SListItem>;
105
- seen: Set<number>;
106
- constructor(listItems: ListItem[]);
107
- get(lineno: number): SListItem | undefined;
109
+ listItems: Record<number, ListItem>;
110
+ cache: Record<number, SListItem>;
111
+ seen: Set<number>;
112
+ constructor(listItems: ListItem[]);
113
+ get(lineno: number): SListItem | undefined;
108
114
  }
109
115
  export declare function addFields(fields: Map<string, Literal[]>, target: DataObject): DataObject;
@@ -1,103 +1,106 @@
1
1
  /** Serialized / API facing data types for Dataview objects. */
2
- import type { Link, Literal } from "../../data-model/value.d.ts";
3
- import type { DateTime } from "luxon";
4
- import type { Pos } from "obsidian";
2
+ import type { DateTime } from 'luxon';
3
+ import type { Pos } from 'obsidian';
4
+ import type {
5
+ Link,
6
+ Literal
7
+ } from '../../data-model/value.d.ts';
5
8
  export interface SMarkdownPage {
6
- file: {
7
- path: string;
8
- folder: string;
9
- name: string;
10
- link: Link;
11
- outlinks: Link[];
12
- inlinks: Link[];
13
- etags: string[];
14
- tags: string[];
15
- aliases: string[];
16
- lists: SListItem[];
17
- tasks: STask[];
18
- ctime: DateTime;
19
- cday: DateTime;
20
- mtime: DateTime;
21
- mday: DateTime;
22
- size: number;
23
- ext: string;
24
- starred: boolean;
25
- day?: DateTime;
26
- };
27
- /** Additional fields added by field data. */
28
- [key: string]: any;
9
+ file: {
10
+ path: string;
11
+ folder: string;
12
+ name: string;
13
+ link: Link;
14
+ outlinks: Link[];
15
+ inlinks: Link[];
16
+ etags: string[];
17
+ tags: string[];
18
+ aliases: string[];
19
+ lists: SListItem[];
20
+ tasks: STask[];
21
+ ctime: DateTime;
22
+ cday: DateTime;
23
+ mtime: DateTime;
24
+ mday: DateTime;
25
+ size: number;
26
+ ext: string;
27
+ starred: boolean;
28
+ day?: DateTime;
29
+ };
30
+ /** Additional fields added by field data. */
31
+ [key: string]: any;
29
32
  }
30
33
  /** A serialized list item. */
31
34
  export type SListItem = SListEntry | STask;
32
35
  /** Shared data between list items. */
33
36
  export interface SListItemBase {
34
- /** The symbol used to start this list item, like '1.' or '1)' or '*'. */
35
- symbol: string;
36
- /** A link to the closest thing to this list item (a block, a section, or a file). */
37
- link: Link;
38
- /** The section that contains this list item. */
39
- section: Link;
40
- /** The path of the file that contains this item. */
41
- path: string;
42
- /** The line this item starts on. */
43
- line: number;
44
- /** The number of lines this item spans. */
45
- lineCount: number;
46
- /** The internal Obsidian tracker of the exact position of this line. */
47
- position: Pos;
48
- /** The line number of the list that this item is part of. */
49
- list: number;
50
- /** If present, the block ID for this item. */
51
- blockId?: string;
52
- /** The line number of the parent item to this list, if relevant. */
53
- parent?: number;
54
- /** The children elements of this list item. */
55
- children: SListItem[];
56
- /** Links contained inside this list item. */
57
- outlinks: Link[];
58
- /** The raw text of this item. */
59
- text: string;
60
- /**
61
- * If present, overrides 'text' when rendered in task views. You should not mutate 'text' since it is used to
62
- * validate a list item when editing it.
63
- */
64
- visual?: string;
65
- /** Whether this item has any metadata annotations on it. */
66
- annotated?: boolean;
67
- /** Any tags present in this task. */
68
- tags: string[];
69
- /** @deprecated use 'children' instead. */
70
- subtasks: SListItem[];
71
- /** @deprecated use 'task' instead. */
72
- real: boolean;
73
- /** @deprecated use 'section' instead. */
74
- header: Link;
75
- /** Additional fields added by annotations. */
76
- [key: string]: any;
37
+ /** The symbol used to start this list item, like '1.' or '1)' or '*'. */
38
+ symbol: string;
39
+ /** A link to the closest thing to this list item (a block, a section, or a file). */
40
+ link: Link;
41
+ /** The section that contains this list item. */
42
+ section: Link;
43
+ /** The path of the file that contains this item. */
44
+ path: string;
45
+ /** The line this item starts on. */
46
+ line: number;
47
+ /** The number of lines this item spans. */
48
+ lineCount: number;
49
+ /** The internal Obsidian tracker of the exact position of this line. */
50
+ position: Pos;
51
+ /** The line number of the list that this item is part of. */
52
+ list: number;
53
+ /** If present, the block ID for this item. */
54
+ blockId?: string;
55
+ /** The line number of the parent item to this list, if relevant. */
56
+ parent?: number;
57
+ /** The children elements of this list item. */
58
+ children: SListItem[];
59
+ /** Links contained inside this list item. */
60
+ outlinks: Link[];
61
+ /** The raw text of this item. */
62
+ text: string;
63
+ /**
64
+ * If present, overrides 'text' when rendered in task views. You should not mutate 'text' since it is used to
65
+ * validate a list item when editing it.
66
+ */
67
+ visual?: string;
68
+ /** Whether this item has any metadata annotations on it. */
69
+ annotated?: boolean;
70
+ /** Any tags present in this task. */
71
+ tags: string[];
72
+ /** @deprecated use 'children' instead. */
73
+ subtasks: SListItem[];
74
+ /** @deprecated use 'task' instead. */
75
+ real: boolean;
76
+ /** @deprecated use 'section' instead. */
77
+ header: Link;
78
+ /** Additional fields added by annotations. */
79
+ [key: string]: any;
77
80
  }
78
81
  /** A serialized list item as seen by users; this is not a task. */
79
82
  export interface SListEntry extends SListItemBase {
80
- task: false;
83
+ task: false;
81
84
  }
82
85
  /** A serialized task. */
83
86
  export interface STask extends SListItemBase {
84
- task: true;
85
- /** The status of this task, the text between the brackets ('[ ]'). Will be a space if the task is currently unchecked. */
86
- status: string;
87
- /** Indicates whether the task has any value other than empty space. */
88
- checked: boolean;
89
- /** Indicates whether the task explicitly has been marked "completed" ('x' or 'X'). */
90
- completed: boolean;
91
- /** Indicates whether the task and ALL subtasks have been completed. */
92
- fullyCompleted: boolean;
93
- /** If present, then the time that this task was created. */
94
- created?: Literal;
95
- /** If present, then the time that this task was due. */
96
- due?: Literal;
97
- /** If present, then the time that this task was completed. */
98
- completion?: Literal;
99
- /** If present, then the day that this task can be started. */
100
- start?: Literal;
101
- /** If present, then the day that work on this task is scheduled. */
102
- scheduled?: Literal;
87
+ task: true;
88
+ /** The status of this task, the text between the brackets ('[ ]'). Will be a space if the task is currently unchecked. */
89
+ status: string;
90
+ /** Indicates whether the task has any value other than empty space. */
91
+ checked: boolean;
92
+ /** Indicates whether the task explicitly has been marked "completed" ('x' or 'X'). */
93
+ completed: boolean;
94
+ /** Indicates whether the task and ALL subtasks have been completed. */
95
+ fullyCompleted: boolean;
96
+ /** If present, then the time that this task was created. */
97
+ created?: Literal;
98
+ /** If present, then the time that this task was due. */
99
+ due?: Literal;
100
+ /** If present, then the time that this task was completed. */
101
+ completion?: Literal;
102
+ /** If present, then the day that this task can be started. */
103
+ start?: Literal;
104
+ /** If present, then the day that work on this task is scheduled. */
105
+ scheduled?: Literal;
103
106
  }
@@ -1,7 +1,7 @@
1
1
  /** Simplifies passing dataview values across the JS web worker barrier. */
2
2
  export declare namespace Transferable {
3
- /** Convert a literal value to a serializer-friendly transferable value. */
4
- function transferable(value: any): any;
5
- /** Convert a transferable value back to a literal value we can work with. */
6
- function value(transferable: any): any;
3
+ /** Convert a literal value to a serializer-friendly transferable value. */
4
+ function transferable(value: any): any;
5
+ /** Convert a transferable value back to a literal value we can work with. */
6
+ function value(transferable: any): any;
7
7
  }