tasknotes-spec 0.2.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.
- package/00-overview.md +172 -0
- package/01-terminology.md +156 -0
- package/02-model-and-mapping.md +288 -0
- package/03-temporal-semantics.md +290 -0
- package/04-recurrence.md +398 -0
- package/05-operations.md +968 -0
- package/06-validation.md +267 -0
- package/07-conformance.md +292 -0
- package/08-compatibility-and-migrations.md +188 -0
- package/09-configuration.md +837 -0
- package/10-dependencies-and-reminders.md +266 -0
- package/11-links.md +373 -0
- package/CHANGELOG.md +25 -0
- package/README.md +80 -0
- package/conformance/README.md +31 -0
- package/conformance/adapters/mdbase-tasknotes.adapter.mjs +141 -0
- package/conformance/adapters/tasknotes-core/conformance.ts +2498 -0
- package/conformance/adapters/tasknotes-core/create-compat.ts +1 -0
- package/conformance/adapters/tasknotes-core/date.ts +12 -0
- package/conformance/adapters/tasknotes-core/field-mapping.ts +14 -0
- package/conformance/adapters/tasknotes-core/recurrence.ts +10 -0
- package/conformance/adapters/tasknotes-date-bridge.ts +20 -0
- package/conformance/adapters/tasknotes-runtime-bridge.ts +1107 -0
- package/conformance/adapters/tasknotes-runtime-obsidian-shim.ts +84 -0
- package/conformance/adapters/tasknotes-templating-bridge.ts +13 -0
- package/conformance/adapters/tasknotes.adapter.mjs +485 -0
- package/conformance/docs/ADAPTER_CONTRACT.md +245 -0
- package/conformance/docs/FIXTURE_FORMAT.md +247 -0
- package/conformance/docs/RUNNER_GUIDE.md +393 -0
- package/conformance/fixtures/config-schema.json +634 -0
- package/conformance/fixtures/config.json +18984 -0
- package/conformance/fixtures/conformance.json +444 -0
- package/conformance/fixtures/create-compat.json +18639 -0
- package/conformance/fixtures/date.json +25612 -0
- package/conformance/fixtures/dependencies.json +8647 -0
- package/conformance/fixtures/field-mapping.json +5406 -0
- package/conformance/fixtures/links.json +1127 -0
- package/conformance/fixtures/migrations.json +668 -0
- package/conformance/fixtures/operations.json +2761 -0
- package/conformance/fixtures/recurrence.json +22958 -0
- package/conformance/fixtures/reminders.json +13333 -0
- package/conformance/fixtures/templating.json +497 -0
- package/conformance/fixtures/validation.json +5308 -0
- package/conformance/lib/adapter-loader.mjs +23 -0
- package/conformance/lib/load-fixtures.mjs +43 -0
- package/conformance/lib/matchers.mjs +200 -0
- package/conformance/manifest.json +232 -0
- package/conformance/scripts/generate-fixtures.mjs +5239 -0
- package/conformance/scripts/package-fixtures.mjs +101 -0
- package/conformance/tests/coverage.test.mjs +213 -0
- package/conformance/tests/runner.test.mjs +102 -0
- package/conformance/tests/tasknotes-runtime-routing.test.mjs +64 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createTaskWithCompat } from "../../../../tasknotes/src/core/createCompat.ts";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export {
|
|
2
|
+
formatDateForStorage,
|
|
3
|
+
getCurrentDateString,
|
|
4
|
+
getDatePart,
|
|
5
|
+
hasTimeComponent,
|
|
6
|
+
isBeforeDateSafe,
|
|
7
|
+
isSameDateSafe,
|
|
8
|
+
parseDateToLocal,
|
|
9
|
+
parseDateToUTC,
|
|
10
|
+
resolveOperationTargetDate,
|
|
11
|
+
validateDateString,
|
|
12
|
+
} from "../../../../tasknotes/src/core/date.ts";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export {
|
|
2
|
+
buildFieldMapping,
|
|
3
|
+
defaultFieldMapping,
|
|
4
|
+
denormalizeFrontmatter,
|
|
5
|
+
getDefaultCompletedStatus,
|
|
6
|
+
isCompletedStatus,
|
|
7
|
+
normalizeFrontmatter,
|
|
8
|
+
resolveDisplayTitle,
|
|
9
|
+
resolveField,
|
|
10
|
+
} from "../../../../tasknotes/src/core/specFieldMapping.ts";
|
|
11
|
+
export type {
|
|
12
|
+
FieldRole,
|
|
13
|
+
SpecFieldMapping as FieldMapping,
|
|
14
|
+
} from "../../../../tasknotes/src/core/specFieldMapping.ts";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export {
|
|
2
|
+
completeRecurringTask,
|
|
3
|
+
recalculateRecurringSchedule,
|
|
4
|
+
} from "../../../../tasknotes/src/core/recurrence.ts";
|
|
5
|
+
export type {
|
|
6
|
+
RecurrenceCompletionInput,
|
|
7
|
+
RecurrenceCompletionResult,
|
|
8
|
+
RecurrenceScheduleInput,
|
|
9
|
+
RecurrenceScheduleResult,
|
|
10
|
+
} from "../../../../tasknotes/src/core/recurrence.ts";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseDateToUTC,
|
|
3
|
+
parseDateToLocal,
|
|
4
|
+
hasTimeComponent,
|
|
5
|
+
getDatePart,
|
|
6
|
+
isSameDateSafe,
|
|
7
|
+
isBeforeDateSafe,
|
|
8
|
+
getCurrentDateString,
|
|
9
|
+
} from "../../../tasknotes/src/utils/dateUtils.ts";
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
parseDateToUTC,
|
|
13
|
+
parseDateToLocal,
|
|
14
|
+
hasTimeComponent,
|
|
15
|
+
getDatePart,
|
|
16
|
+
isSameDateSafe,
|
|
17
|
+
isBeforeDateSafe,
|
|
18
|
+
getCurrentDateString,
|
|
19
|
+
};
|
|
20
|
+
|