@hesprs/sync-engine-sdk 3.0.0 → 3.0.1
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/README.md +7 -0
- package/dist/{debug-wrapper.d.ts → debug-wrapper.spec.d.ts} +2 -2
- package/dist/dev.spec.d.ts +5 -0
- package/dist/{index.d.ts → index.spec.d.ts} +30 -30
- package/dist/packages/plugin/src/components/{FilterEditorModal.d.ts → FilterEditorModal.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/components/{HeadersEditorModal.d.ts → HeadersEditorModal.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/components/{MigrationModal.d.ts → MigrationModal.spec.d.ts} +7 -7
- package/dist/packages/plugin/src/components/{ModuleEditorModal.d.ts → ModuleEditorModal.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/components/{SourceEditorModal.d.ts → SourceEditorModal.spec.d.ts} +1 -1
- package/dist/packages/plugin/src/components/{UnknownModuleModal.d.ts → UnknownModuleModal.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/components/file-tree/{index.d.ts → index.spec.d.ts} +1 -1
- package/dist/packages/plugin/src/components/module-management/{index.d.ts → index.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/fs/hierarchical-optimizer.spec.d.ts +1 -0
- package/dist/packages/plugin/src/fs/index.spec.d.ts +13 -0
- package/dist/packages/plugin/src/fs/{interface.d.ts → interface.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/fs/middlewares/custom-headers.spec.d.ts +1 -0
- package/dist/packages/plugin/src/fs/middlewares/rate-limiter.spec.d.ts +1 -0
- package/dist/packages/plugin/src/fs/middlewares/retry.spec.d.ts +1 -0
- package/dist/packages/plugin/src/fs/vault/index.spec.d.ts +3 -0
- package/dist/packages/plugin/src/fs/vault/{request.d.ts → request.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/fs/wrappers/asymmetric-storage.spec.d.ts +2 -0
- package/dist/packages/plugin/src/fs/wrappers/cancellation.spec.d.ts +2 -0
- package/dist/packages/plugin/src/fs/wrappers/context.spec.d.ts +2 -0
- package/dist/packages/plugin/src/fs/wrappers/memory-control.spec.d.ts +1 -0
- package/dist/packages/plugin/src/fs/wrappers/optimization.spec.d.ts +1 -0
- package/dist/packages/plugin/src/{index.d.ts → index.spec.d.ts} +12 -12
- package/dist/packages/plugin/src/modules/{Bootstrap.d.ts → Bootstrap.spec.d.ts} +18 -18
- package/dist/packages/plugin/src/modules/{EventBus.d.ts → EventBus.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/modules/{Extensibility.d.ts → Extensibility.spec.d.ts} +8 -8
- package/dist/packages/plugin/src/modules/{I18n.d.ts → I18n.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/modules/{ModulesModal.d.ts → ModulesModal.spec.d.ts} +4 -4
- package/dist/packages/plugin/src/modules/{Observability.d.ts → Observability.spec.d.ts} +6 -6
- package/dist/packages/plugin/src/modules/{ProgressModal.d.ts → ProgressModal.spec.d.ts} +10 -10
- package/dist/packages/plugin/src/modules/{Registrar.d.ts → Registrar.spec.d.ts} +12 -12
- package/dist/packages/plugin/src/modules/{Scheduler.d.ts → Scheduler.spec.d.ts} +4 -4
- package/dist/packages/plugin/src/modules/{Storage.d.ts → Storage.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/modules/{Sync.d.ts → Sync.spec.d.ts} +10 -10
- package/dist/packages/plugin/src/settings/{controls.d.ts → controls.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/settings/{development.d.ts → development.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/settings/{features.d.ts → features.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/settings/{filter.d.ts → filter.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/settings/{head.d.ts → head.spec.d.ts} +4 -4
- package/dist/packages/plugin/src/settings/{miscellaneous.d.ts → miscellaneous.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/conflict-resolve/keep-local.spec.d.ts +1 -0
- package/dist/packages/plugin/src/sync/conflict-resolve/keep-remote.spec.d.ts +1 -0
- package/dist/packages/plugin/src/sync/conflict-resolve/latest-survive.spec.d.ts +1 -0
- package/dist/packages/plugin/src/sync/conflict-resolve/rename-and-keep-both.spec.d.ts +1 -0
- package/dist/packages/plugin/src/sync/decision/bidirectional.spec.d.ts +2 -0
- package/dist/packages/plugin/src/sync/decision/{interface.d.ts → interface.spec.d.ts} +13 -13
- package/dist/packages/plugin/src/sync/index.spec.d.ts +21 -0
- package/dist/packages/plugin/src/sync/tasks/AddRecord.spec.d.ts +8 -0
- package/dist/packages/plugin/src/sync/tasks/{CreateLocalDir.d.ts → CreateLocalDir.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/tasks/{CreateRemoteDir.d.ts → CreateRemoteDir.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/tasks/{Download.d.ts → Download.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/tasks/{MoveLocal.d.ts → MoveLocal.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/tasks/{MoveRemote.d.ts → MoveRemote.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/tasks/RemoveLocal.spec.d.ts +8 -0
- package/dist/packages/plugin/src/sync/tasks/{RemoveRecord.d.ts → RemoveRecord.spec.d.ts} +1 -1
- package/dist/packages/plugin/src/sync/tasks/RemoveRemote.spec.d.ts +8 -0
- package/dist/packages/plugin/src/sync/tasks/{ResolveConflict.d.ts → ResolveConflict.spec.d.ts} +3 -3
- package/dist/packages/plugin/src/sync/tasks/{Upload.d.ts → Upload.spec.d.ts} +2 -2
- package/dist/packages/plugin/src/sync/tasks/{interface.d.ts → interface.spec.d.ts} +5 -5
- package/dist/packages/plugin/src/sync/utils/detect-moves.spec.d.ts +2 -0
- package/dist/packages/plugin/src/sync/utils/post-traversal.spec.d.ts +1 -0
- package/dist/packages/plugin/src/{types.d.ts → types.spec.d.ts} +1 -1
- package/dist/packages/plugin/src/utils/{glob-match.d.ts → glob-match.spec.d.ts} +1 -1
- package/dist/packages/plugin/src/utils/{pipe.d.ts → pipe.spec.d.ts} +3 -3
- package/dist/packages/plugin/test/{test-kit.d.ts → test-kit.spec.d.ts} +4 -4
- package/dist/{prefix.d.ts → prefix.spec.d.ts} +2 -2
- package/package.json +10 -8
- package/dist/dev.d.ts +0 -5
- package/dist/obsidian-bridge.d.ts +0 -15
- package/dist/obsidian-bridge.js +0 -1
- package/dist/packages/plugin/src/fs/hierarchical-optimizer.d.ts +0 -1
- package/dist/packages/plugin/src/fs/index.d.ts +0 -13
- package/dist/packages/plugin/src/fs/middlewares/custom-headers.d.ts +0 -1
- package/dist/packages/plugin/src/fs/middlewares/rate-limiter.d.ts +0 -1
- package/dist/packages/plugin/src/fs/middlewares/retry.d.ts +0 -1
- package/dist/packages/plugin/src/fs/vault/index.d.ts +0 -3
- package/dist/packages/plugin/src/fs/wrappers/asymmetric-storage.d.ts +0 -2
- package/dist/packages/plugin/src/fs/wrappers/cancellation.d.ts +0 -2
- package/dist/packages/plugin/src/fs/wrappers/context.d.ts +0 -2
- package/dist/packages/plugin/src/fs/wrappers/memory-control.d.ts +0 -1
- package/dist/packages/plugin/src/fs/wrappers/optimization.d.ts +0 -1
- package/dist/packages/plugin/src/sync/conflict-resolve/keep-local.d.ts +0 -1
- package/dist/packages/plugin/src/sync/conflict-resolve/keep-remote.d.ts +0 -1
- package/dist/packages/plugin/src/sync/conflict-resolve/latest-survive.d.ts +0 -1
- package/dist/packages/plugin/src/sync/conflict-resolve/rename-and-keep-both.d.ts +0 -1
- package/dist/packages/plugin/src/sync/decision/bidirectional.d.ts +0 -2
- package/dist/packages/plugin/src/sync/index.d.ts +0 -21
- package/dist/packages/plugin/src/sync/tasks/AddRecord.d.ts +0 -8
- package/dist/packages/plugin/src/sync/tasks/RemoveLocal.d.ts +0 -8
- package/dist/packages/plugin/src/sync/tasks/RemoveRemote.d.ts +0 -8
- package/dist/packages/plugin/src/sync/utils/detect-moves.d.ts +0 -2
- package/dist/packages/plugin/src/sync/utils/post-traversal.d.ts +0 -1
- /package/dist/node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/{context.d.ts → context.spec.d.ts} +0 -0
- /package/dist/node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/{reactive.d.ts → reactive.spec.d.ts} +0 -0
- /package/dist/node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/{interface.d.ts → interface.spec.d.ts} +0 -0
- /package/dist/packages/plugin/src/utils/{sha-256.d.ts → sha-256.spec.d.ts} +0 -0
- /package/dist/packages/plugin/test/{e2e-utils.d.ts → e2e-utils.spec.d.ts} +0 -0
- /package/dist/{transform.d.ts → transform.spec.d.ts} +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
## Sync Engine Core & SDK
|
|
2
|
+
|
|
3
|
+
This package is the core of Sync Engine, it contains all the source code of the Sync Engine plugin published on Obsidian plugin directory, as well as the `@hesprs/sync-engine-sdk` package published on npm.
|
|
4
|
+
|
|
5
|
+
The version of the SDK matches the last Sync Engine version that had API changes. If you see the SDK version lags behind the plugin, it means the API is stable in recent period.
|
|
6
|
+
|
|
7
|
+
For more about Sync Engine and how to develop a module for it. Refer to [the official website](https://sync.consensia.cc). Or go to [source code repo](https://github.com/hesprs/sync-engine) for deep dive.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fs, WrappedFs } from "./packages/plugin/src/fs/interface.js";
|
|
2
|
-
import "./packages/plugin/src/fs/index.js";
|
|
1
|
+
import { Fs, WrappedFs } from "./packages/plugin/src/fs/interface.spec.js";
|
|
2
|
+
import "./packages/plugin/src/fs/index.spec.js";
|
|
3
3
|
//#region src/sdk/debug-wrapper.d.ts
|
|
4
4
|
declare function debugWrapper(original: Fs, log: (content: string) => void): WrappedFs;
|
|
5
5
|
//#endregion
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import debugWrapper from "./debug-wrapper.spec.js";
|
|
2
|
+
import testKit from "./packages/plugin/test/test-kit.spec.js";
|
|
3
|
+
import sha256 from "./packages/plugin/src/utils/sha-256.spec.js";
|
|
4
|
+
import syncEngineTransform from "./transform.spec.js";
|
|
5
|
+
export { debugWrapper, sha256, syncEngineTransform, testKit };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Binary, FileStat, FolderStat, MaybePromise, Progress, RecordStat, RecordStatsMap, Stat, StatsMap } from "./packages/plugin/src/types.js";
|
|
2
|
-
import { BatchOptimizer, CustomAtom, DeleteAtom, Fs, InputAtom, ListReporter, MkdirAtom, MoveAtom, OptimizerInput, OptimizerOutput, OutputAtom, RootFs, WrappedFs, WriteAtom } from "./packages/plugin/src/fs/interface.js";
|
|
3
|
-
import { DatabaseAsync, DatabaseSync, StoreAsync, StoreOperations, StoreSync } from "./node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.js";
|
|
4
|
-
import { Dispatch, On } from "./packages/plugin/src/modules/EventBus.js";
|
|
5
|
-
import { Fragment, ObsidianLanguageCode, Translate, TranslationResource } from "./packages/plugin/src/modules/I18n.js";
|
|
6
|
-
import { RecordStore } from "./packages/plugin/src/modules/Storage.js";
|
|
7
|
-
import { BaseTask, ConflictResolver, ConflictResolverPayload, TaskNames } from "./packages/plugin/src/sync/tasks/interface.js";
|
|
8
|
-
import AddRecord from "./packages/plugin/src/sync/tasks/AddRecord.js";
|
|
9
|
-
import CreateRemoteDir from "./packages/plugin/src/sync/tasks/CreateRemoteDir.js";
|
|
10
|
-
import Download from "./packages/plugin/src/sync/tasks/Download.js";
|
|
11
|
-
import MoveLocal from "./packages/plugin/src/sync/tasks/MoveLocal.js";
|
|
12
|
-
import MoveRemote from "./packages/plugin/src/sync/tasks/MoveRemote.js";
|
|
13
|
-
import RemoveLocal from "./packages/plugin/src/sync/tasks/RemoveLocal.js";
|
|
14
|
-
import RemoveRecord from "./packages/plugin/src/sync/tasks/RemoveRecord.js";
|
|
15
|
-
import RemoveRemote from "./packages/plugin/src/sync/tasks/RemoveRemote.js";
|
|
16
|
-
import ResolveConflict from "./packages/plugin/src/sync/tasks/ResolveConflict.js";
|
|
17
|
-
import Upload from "./packages/plugin/src/sync/tasks/Upload.js";
|
|
18
|
-
import { Decider, DeciderInput, TaskFactory } from "./packages/plugin/src/sync/decision/interface.js";
|
|
19
|
-
import CreateLocalDir from "./packages/plugin/src/sync/tasks/CreateLocalDir.js";
|
|
20
|
-
import "./packages/plugin/src/sync/index.js";
|
|
21
|
-
import { SyncTerminateReason } from "./packages/plugin/src/modules/Sync.js";
|
|
22
|
-
import setNeedMigration from "./packages/plugin/src/components/MigrationModal.js";
|
|
23
|
-
import prefixWrapper from "./prefix.js";
|
|
24
|
-
import { pipe, readWithSize, writeWithValue } from "./packages/plugin/src/utils/pipe.js";
|
|
25
|
-
import { AugmentedModuleMeta, ModuleMeta } from "./packages/plugin/src/modules/Extensibility.js";
|
|
26
|
-
import { ExistingMemoryDB } from "./packages/plugin/src/modules/Bootstrap.js";
|
|
27
|
-
import { Context, Events, Settings, Translations } from "./packages/plugin/src/index.js";
|
|
28
|
-
import { CheckConnectionResult, ConflictResolverEntry, DeciderEntry, FsWrapperEntry, LocalRequestMiddlewareEntry, OptimizerEntry, RemoteFsEntry, RemoteLister, RemoteListerEntry, RemoteRequestMiddlewareEntry, Request, RequestParam, RequestResponse, SettingEntry } from "./packages/plugin/src/modules/Registrar.js";
|
|
29
|
-
import { VaultRequest } from "./packages/plugin/src/fs/vault/request.js";
|
|
30
|
-
import "./packages/plugin/src/fs/index.js";
|
|
1
|
+
import { Binary, FileStat, FolderStat, MaybePromise, Progress, RecordStat, RecordStatsMap, Stat, StatsMap } from "./packages/plugin/src/types.spec.js";
|
|
2
|
+
import { BatchOptimizer, CustomAtom, DeleteAtom, Fs, InputAtom, ListReporter, MkdirAtom, MoveAtom, OptimizerInput, OptimizerOutput, OutputAtom, RootFs, WrappedFs, WriteAtom } from "./packages/plugin/src/fs/interface.spec.js";
|
|
3
|
+
import { DatabaseAsync, DatabaseSync, StoreAsync, StoreOperations, StoreSync } from "./node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.spec.js";
|
|
4
|
+
import { Dispatch, On } from "./packages/plugin/src/modules/EventBus.spec.js";
|
|
5
|
+
import { Fragment, ObsidianLanguageCode, Translate, TranslationResource } from "./packages/plugin/src/modules/I18n.spec.js";
|
|
6
|
+
import { RecordStore } from "./packages/plugin/src/modules/Storage.spec.js";
|
|
7
|
+
import { BaseTask, ConflictResolver, ConflictResolverPayload, TaskNames } from "./packages/plugin/src/sync/tasks/interface.spec.js";
|
|
8
|
+
import AddRecord from "./packages/plugin/src/sync/tasks/AddRecord.spec.js";
|
|
9
|
+
import CreateRemoteDir from "./packages/plugin/src/sync/tasks/CreateRemoteDir.spec.js";
|
|
10
|
+
import Download from "./packages/plugin/src/sync/tasks/Download.spec.js";
|
|
11
|
+
import MoveLocal from "./packages/plugin/src/sync/tasks/MoveLocal.spec.js";
|
|
12
|
+
import MoveRemote from "./packages/plugin/src/sync/tasks/MoveRemote.spec.js";
|
|
13
|
+
import RemoveLocal from "./packages/plugin/src/sync/tasks/RemoveLocal.spec.js";
|
|
14
|
+
import RemoveRecord from "./packages/plugin/src/sync/tasks/RemoveRecord.spec.js";
|
|
15
|
+
import RemoveRemote from "./packages/plugin/src/sync/tasks/RemoveRemote.spec.js";
|
|
16
|
+
import ResolveConflict from "./packages/plugin/src/sync/tasks/ResolveConflict.spec.js";
|
|
17
|
+
import Upload from "./packages/plugin/src/sync/tasks/Upload.spec.js";
|
|
18
|
+
import { Decider, DeciderInput, TaskFactory } from "./packages/plugin/src/sync/decision/interface.spec.js";
|
|
19
|
+
import CreateLocalDir from "./packages/plugin/src/sync/tasks/CreateLocalDir.spec.js";
|
|
20
|
+
import "./packages/plugin/src/sync/index.spec.js";
|
|
21
|
+
import { SyncTerminateReason } from "./packages/plugin/src/modules/Sync.spec.js";
|
|
22
|
+
import setNeedMigration from "./packages/plugin/src/components/MigrationModal.spec.js";
|
|
23
|
+
import prefixWrapper from "./prefix.spec.js";
|
|
24
|
+
import { pipe, readWithSize, writeWithValue } from "./packages/plugin/src/utils/pipe.spec.js";
|
|
25
|
+
import { AugmentedModuleMeta, ModuleMeta } from "./packages/plugin/src/modules/Extensibility.spec.js";
|
|
26
|
+
import { ExistingMemoryDB } from "./packages/plugin/src/modules/Bootstrap.spec.js";
|
|
27
|
+
import { Context, Events, Settings, Translations } from "./packages/plugin/src/index.spec.js";
|
|
28
|
+
import { CheckConnectionResult, ConflictResolverEntry, DeciderEntry, FsWrapperEntry, LocalRequestMiddlewareEntry, OptimizerEntry, RemoteFsEntry, RemoteLister, RemoteListerEntry, RemoteRequestMiddlewareEntry, Request, RequestParam, RequestResponse, SettingEntry } from "./packages/plugin/src/modules/Registrar.spec.js";
|
|
29
|
+
import { VaultRequest } from "./packages/plugin/src/fs/vault/request.spec.js";
|
|
30
|
+
import "./packages/plugin/src/fs/index.spec.js";
|
|
31
31
|
//#region src/sdk/index.d.ts
|
|
32
32
|
declare function digOriginal(wrapped: Fs): RootFs;
|
|
33
33
|
type SelectFromContext<O extends object> = Context extends O ? O : never;
|
package/dist/packages/plugin/src/components/{HeadersEditorModal.d.ts → HeadersEditorModal.spec.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../modules/I18n.js";
|
|
2
|
-
import "../modules/Bootstrap.js";
|
|
1
|
+
import "../modules/I18n.spec.js";
|
|
2
|
+
import "../modules/Bootstrap.spec.js";
|
|
3
3
|
import { App, Modal } from "obsidian";
|
|
4
4
|
//#region src/components/HeadersEditorModal.d.ts
|
|
5
5
|
type HeadersEditorTranslations = {
|
package/dist/packages/plugin/src/components/{MigrationModal.d.ts → MigrationModal.spec.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MaybePromise, Progress } from "../types.js";
|
|
2
|
-
import { Dispatch, On } from "../modules/EventBus.js";
|
|
3
|
-
import { Translate } from "../modules/I18n.js";
|
|
4
|
-
import { SyncTerminateReason } from "../modules/Sync.js";
|
|
5
|
-
import { ExistingMemoryDB } from "../modules/Bootstrap.js";
|
|
6
|
-
import { Events } from "../index.js";
|
|
7
|
-
import { Infras } from "../modules/Registrar.js";
|
|
1
|
+
import { MaybePromise, Progress } from "../types.spec.js";
|
|
2
|
+
import { Dispatch, On } from "../modules/EventBus.spec.js";
|
|
3
|
+
import { Translate } from "../modules/I18n.spec.js";
|
|
4
|
+
import { SyncTerminateReason } from "../modules/Sync.spec.js";
|
|
5
|
+
import { ExistingMemoryDB } from "../modules/Bootstrap.spec.js";
|
|
6
|
+
import { Events } from "../index.spec.js";
|
|
7
|
+
import { Infras } from "../modules/Registrar.spec.js";
|
|
8
8
|
import { App, ToggleComponent } from "obsidian";
|
|
9
9
|
//#region src/components/MigrationModal.d.ts
|
|
10
10
|
type MigrationModalTranslations = {
|
package/dist/packages/plugin/src/components/{ModuleEditorModal.d.ts → ModuleEditorModal.spec.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../types.js";
|
|
2
|
-
import { Fragment } from "../modules/I18n.js";
|
|
3
|
-
import "../modules/Extensibility.js";
|
|
1
|
+
import "../types.spec.js";
|
|
2
|
+
import { Fragment } from "../modules/I18n.spec.js";
|
|
3
|
+
import "../modules/Extensibility.spec.js";
|
|
4
4
|
import { App, Modal } from "obsidian";
|
|
5
5
|
//#region src/components/ModuleEditorModal.d.ts
|
|
6
6
|
type ModuleEditorTranslations = {
|
package/dist/packages/plugin/src/components/{UnknownModuleModal.d.ts → UnknownModuleModal.spec.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment } from "../modules/I18n.js";
|
|
2
|
-
import "../../../../index.js";
|
|
1
|
+
import { Fragment } from "../modules/I18n.spec.js";
|
|
2
|
+
import "../../../../index.spec.js";
|
|
3
3
|
import { App, Modal } from "obsidian";
|
|
4
4
|
//#region src/components/UnknownModuleModal.d.ts
|
|
5
5
|
type FileInfo = {
|
package/dist/packages/plugin/src/components/module-management/{index.d.ts → index.spec.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../modules/I18n.js";
|
|
2
|
-
import "../../modules/Extensibility.js";
|
|
1
|
+
import "../../modules/I18n.spec.js";
|
|
2
|
+
import "../../modules/Extensibility.spec.js";
|
|
3
3
|
import { App } from "obsidian";
|
|
4
4
|
//#region src/components/module-management/index.d.ts
|
|
5
5
|
type ModuleManagementTranslations = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./interface.spec.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BatchOptimizer, CustomAtom, DeleteAtom, Fs, InputAtom, ListReporter, MkdirAtom, MoveAtom, OptimizerInput, OptimizerOutput, OutputAtom, RootFs, WrappedFs, WriteAtom } from "./interface.spec.js";
|
|
2
|
+
import "./wrappers/optimization.spec.js";
|
|
3
|
+
import "./wrappers/asymmetric-storage.spec.js";
|
|
4
|
+
import "./wrappers/context.spec.js";
|
|
5
|
+
import "./wrappers/cancellation.spec.js";
|
|
6
|
+
import "./wrappers/memory-control.spec.js";
|
|
7
|
+
import "./middlewares/rate-limiter.spec.js";
|
|
8
|
+
import "./middlewares/retry.spec.js";
|
|
9
|
+
import "./middlewares/custom-headers.spec.js";
|
|
10
|
+
import { VaultRequest } from "./vault/request.spec.js";
|
|
11
|
+
import "./vault/index.spec.js";
|
|
12
|
+
import "./hierarchical-optimizer.spec.js";
|
|
13
|
+
export type { BatchOptimizer, CustomAtom, DeleteAtom, Fs, InputAtom, ListReporter, MkdirAtom, MoveAtom, OptimizerInput, OptimizerOutput, OutputAtom, RootFs, VaultRequest, WrappedFs, WriteAtom };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Binary, FileStat, MaybePromise, Progress, Stat } from "../types.js";
|
|
2
|
-
import { GlobMatchResult } from "../utils/glob-match.js";
|
|
1
|
+
import { Binary, FileStat, MaybePromise, Progress, Stat } from "../types.spec.js";
|
|
2
|
+
import { GlobMatchResult } from "../utils/glob-match.spec.js";
|
|
3
3
|
//#region src/fs/interface.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* All keys use unified format:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../modules/Registrar.spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../types.spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../modules/Registrar.spec.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Binary } from "../../types.js";
|
|
1
|
+
import { Binary } from "../../types.spec.js";
|
|
2
2
|
import { App, ListedFiles, Stat } from "obsidian";
|
|
3
3
|
//#region src/fs/vault/request.d.ts
|
|
4
4
|
type VaultRequestParam = {
|
|
@@ -8,7 +8,7 @@ type VaultRequestParam = {
|
|
|
8
8
|
method: 'GET_STREAM';
|
|
9
9
|
key: string;
|
|
10
10
|
} | {
|
|
11
|
-
method: '
|
|
11
|
+
method: 'PUT';
|
|
12
12
|
key: string;
|
|
13
13
|
value: Binary;
|
|
14
14
|
headers?: {
|
|
@@ -57,7 +57,7 @@ type VaultRequestParam = {
|
|
|
57
57
|
type VaultRequestResponseMap = {
|
|
58
58
|
GET: Binary;
|
|
59
59
|
GET_STREAM: ReadableStream<Binary>;
|
|
60
|
-
|
|
60
|
+
PUT: void;
|
|
61
61
|
APPEND: void;
|
|
62
62
|
DELETE: void;
|
|
63
63
|
MOVE: void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../interface.spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../interface.spec.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Context as Context$1, MergeSingleKey } from "../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/context.js";
|
|
2
|
-
import EventBus from "./modules/EventBus.js";
|
|
3
|
-
import I18n from "./modules/I18n.js";
|
|
4
|
-
import Storage from "./modules/Storage.js";
|
|
5
|
-
import Sync from "./modules/Sync.js";
|
|
6
|
-
import Observability, { AddRibbonIcon } from "./modules/Observability.js";
|
|
7
|
-
import Extensibility from "./modules/Extensibility.js";
|
|
8
|
-
import Bootstrap from "./modules/Bootstrap.js";
|
|
9
|
-
import ModulesModal from "./modules/ModulesModal.js";
|
|
10
|
-
import ProgressModal from "./modules/ProgressModal.js";
|
|
11
|
-
import Scheduler from "./modules/Scheduler.js";
|
|
12
|
-
import Registrar from "./modules/Registrar.js";
|
|
1
|
+
import { Context as Context$1, MergeSingleKey } from "../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/context.spec.js";
|
|
2
|
+
import EventBus from "./modules/EventBus.spec.js";
|
|
3
|
+
import I18n from "./modules/I18n.spec.js";
|
|
4
|
+
import Storage from "./modules/Storage.spec.js";
|
|
5
|
+
import Sync from "./modules/Sync.spec.js";
|
|
6
|
+
import Observability, { AddRibbonIcon } from "./modules/Observability.spec.js";
|
|
7
|
+
import Extensibility from "./modules/Extensibility.spec.js";
|
|
8
|
+
import Bootstrap from "./modules/Bootstrap.spec.js";
|
|
9
|
+
import ModulesModal from "./modules/ModulesModal.spec.js";
|
|
10
|
+
import ProgressModal from "./modules/ProgressModal.spec.js";
|
|
11
|
+
import Scheduler from "./modules/Scheduler.spec.js";
|
|
12
|
+
import Registrar from "./modules/Registrar.spec.js";
|
|
13
13
|
import { App, Command, EventRef, Plugin } from "obsidian";
|
|
14
14
|
//#region src/index.d.ts
|
|
15
15
|
declare const internalModules: readonly [typeof EventBus, typeof I18n, typeof Storage, typeof Extensibility, typeof Registrar, typeof Sync, typeof Observability, typeof Scheduler, typeof ProgressModal, typeof ModulesModal, typeof Bootstrap];
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Stat as Stat$1, TogglableValue } from "../types.js";
|
|
2
|
-
import { BatchOptimizer } from "../fs/interface.js";
|
|
3
|
-
import { DatabaseSync } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.js";
|
|
4
|
-
import { Dispatch, On } from "./EventBus.js";
|
|
5
|
-
import { ObsidianLanguageCode, Translate, TranslationResource } from "./I18n.js";
|
|
6
|
-
import { FileTreeTranslations } from "../components/file-tree/index.js";
|
|
7
|
-
import { HeadersEditorTranslations } from "../components/HeadersEditorModal.js";
|
|
8
|
-
import { ModuleEditorTranslations } from "../components/ModuleEditorModal.js";
|
|
9
|
-
import { UnknownModuleTranslations } from "../components/UnknownModuleModal.js";
|
|
10
|
-
import { ControlsSettingTranslations } from "../settings/controls.js";
|
|
11
|
-
import { DevelopmentSettingTranslations } from "../settings/development.js";
|
|
12
|
-
import { FeaturesSettingTranslations } from "../settings/features.js";
|
|
13
|
-
import { FilterSettingTranslations } from "../settings/filter.js";
|
|
14
|
-
import { HeadSettingTranslations } from "../settings/head.js";
|
|
15
|
-
import { MiscellaneousSettingTranslations } from "../settings/miscellaneous.js";
|
|
16
|
-
import { Events, Translations } from "../index.js";
|
|
17
|
-
import { ConflictResolverEntry, DeciderEntry, FsWrapperEntry, LocalRequestMiddlewareEntry, OptimizerEntry, RemoteFsEntry, RemoteListerEntry, RemoteRequestMiddlewareEntry, SettingEntry } from "./Registrar.js";
|
|
18
|
-
import "../fs/index.js";
|
|
1
|
+
import { Stat as Stat$1, TogglableValue } from "../types.spec.js";
|
|
2
|
+
import { BatchOptimizer } from "../fs/interface.spec.js";
|
|
3
|
+
import { DatabaseSync } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.spec.js";
|
|
4
|
+
import { Dispatch, On } from "./EventBus.spec.js";
|
|
5
|
+
import { ObsidianLanguageCode, Translate, TranslationResource } from "./I18n.spec.js";
|
|
6
|
+
import { FileTreeTranslations } from "../components/file-tree/index.spec.js";
|
|
7
|
+
import { HeadersEditorTranslations } from "../components/HeadersEditorModal.spec.js";
|
|
8
|
+
import { ModuleEditorTranslations } from "../components/ModuleEditorModal.spec.js";
|
|
9
|
+
import { UnknownModuleTranslations } from "../components/UnknownModuleModal.spec.js";
|
|
10
|
+
import { ControlsSettingTranslations } from "../settings/controls.spec.js";
|
|
11
|
+
import { DevelopmentSettingTranslations } from "../settings/development.spec.js";
|
|
12
|
+
import { FeaturesSettingTranslations } from "../settings/features.spec.js";
|
|
13
|
+
import { FilterSettingTranslations } from "../settings/filter.spec.js";
|
|
14
|
+
import { HeadSettingTranslations } from "../settings/head.spec.js";
|
|
15
|
+
import { MiscellaneousSettingTranslations } from "../settings/miscellaneous.spec.js";
|
|
16
|
+
import { Events, Translations } from "../index.spec.js";
|
|
17
|
+
import { ConflictResolverEntry, DeciderEntry, FsWrapperEntry, LocalRequestMiddlewareEntry, OptimizerEntry, RemoteFsEntry, RemoteListerEntry, RemoteRequestMiddlewareEntry, SettingEntry } from "./Registrar.spec.js";
|
|
18
|
+
import "../fs/index.spec.js";
|
|
19
19
|
import { App } from "obsidian";
|
|
20
20
|
//#region src/modules/Bootstrap.d.ts
|
|
21
21
|
type CustomHeaders = Array<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { General } from "../../test/e2e-utils.js";
|
|
2
|
-
import "../types.js";
|
|
3
|
-
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.js";
|
|
1
|
+
import { General } from "../../test/e2e-utils.spec.js";
|
|
2
|
+
import "../types.spec.js";
|
|
3
|
+
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.spec.js";
|
|
4
4
|
//#region src/modules/EventBus.d.ts
|
|
5
5
|
type Dispatch<O extends object> = <K extends keyof O>(...[key, payload]: undefined extends O[K] ? [K] : [K, O[K]]) => void;
|
|
6
6
|
type On<O extends object> = <K extends keyof O>(key: K, callback: (payload: O[K]) => void) => () => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { General } from "../../test/e2e-utils.js";
|
|
2
|
-
import "../types.js";
|
|
3
|
-
import { DatabaseAsync } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.js";
|
|
4
|
-
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.js";
|
|
5
|
-
import { Dispatch } from "./EventBus.js";
|
|
6
|
-
import { Translate } from "./I18n.js";
|
|
7
|
-
import "../../../../index.js";
|
|
8
|
-
import { Context, Events, Translations } from "../index.js";
|
|
1
|
+
import { General } from "../../test/e2e-utils.spec.js";
|
|
2
|
+
import "../types.spec.js";
|
|
3
|
+
import { DatabaseAsync } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.spec.js";
|
|
4
|
+
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.spec.js";
|
|
5
|
+
import { Dispatch } from "./EventBus.spec.js";
|
|
6
|
+
import { Translate } from "./I18n.spec.js";
|
|
7
|
+
import "../../../../index.spec.js";
|
|
8
|
+
import { Context, Events, Translations } from "../index.spec.js";
|
|
9
9
|
import { App } from "obsidian";
|
|
10
10
|
//#region src/modules/Extensibility.d.ts
|
|
11
11
|
type ModuleInstance = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { General } from "../../test/e2e-utils.js";
|
|
2
|
-
import "../types.js";
|
|
1
|
+
import { General } from "../../test/e2e-utils.spec.js";
|
|
2
|
+
import "../types.spec.js";
|
|
3
3
|
//#region src/modules/I18n.d.ts
|
|
4
4
|
type ObsidianLanguageCode = 'en' | 'af' | 'am' | 'ar' | 'az' | 'be' | 'bg' | 'bn' | 'ca' | 'cs' | 'da' | 'de' | 'dv' | 'el' | 'en-GB' | 'eo' | 'es' | 'eu' | 'fa' | 'fi' | 'fr' | 'ga' | 'gl' | 'he' | 'hi' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ka' | 'kh' | 'kn' | 'ko' | 'ky' | 'la' | 'lt' | 'lv' | 'ml' | 'ms' | 'nan-TW' | 'ne' | 'nl' | 'nn' | 'no' | 'oc' | 'or' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sa' | 'si' | 'sk' | 'sl' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tl' | 'tr' | 'tt' | 'uk' | 'ur' | 'uz' | 'vi' | 'zh' | 'zh-TW';
|
|
5
5
|
type Primitive = string | number | boolean | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Translate } from "./I18n.js";
|
|
2
|
-
import { AugmentedModuleMeta } from "./Extensibility.js";
|
|
3
|
-
import { ModuleManagementTranslations } from "../components/module-management/index.js";
|
|
4
|
-
import { SourceEditorTranslations } from "../components/SourceEditorModal.js";
|
|
1
|
+
import { Translate } from "./I18n.spec.js";
|
|
2
|
+
import { AugmentedModuleMeta } from "./Extensibility.spec.js";
|
|
3
|
+
import { ModuleManagementTranslations } from "../components/module-management/index.spec.js";
|
|
4
|
+
import { SourceEditorTranslations } from "../components/SourceEditorModal.spec.js";
|
|
5
5
|
import { App, Modal } from "obsidian";
|
|
6
6
|
//#region src/modules/ModulesModal.d.ts
|
|
7
7
|
type ModulesModalTranslations = ModuleManagementTranslations & SourceEditorTranslations & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Progress } from "../types.js";
|
|
2
|
-
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.js";
|
|
3
|
-
import { Dispatch, On } from "./EventBus.js";
|
|
4
|
-
import { Translate } from "./I18n.js";
|
|
5
|
-
import { SyncTerminateReason, TaskInfo } from "./Sync.js";
|
|
6
|
-
import { Events, Translations } from "../index.js";
|
|
1
|
+
import { Progress } from "../types.spec.js";
|
|
2
|
+
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.spec.js";
|
|
3
|
+
import { Dispatch, On } from "./EventBus.spec.js";
|
|
4
|
+
import { Translate } from "./I18n.spec.js";
|
|
5
|
+
import { SyncTerminateReason, TaskInfo } from "./Sync.spec.js";
|
|
6
|
+
import { Events, Translations } from "../index.spec.js";
|
|
7
7
|
import { App, Command, IconName } from "obsidian";
|
|
8
8
|
//#region src/modules/Observability.d.ts
|
|
9
9
|
type SyncStage = 'none' | 'walkingRemote' | 'awaitingConfirmation' | 'executing' | 'completed' | 'completedNoop' | 'cancelled' | 'failed';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Progress } from "../types.js";
|
|
2
|
-
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.js";
|
|
3
|
-
import { Dispatch, On } from "./EventBus.js";
|
|
4
|
-
import { Translate } from "./I18n.js";
|
|
5
|
-
import { BaseTask, TaskNames } from "../sync/tasks/interface.js";
|
|
6
|
-
import RemoveLocal from "../sync/tasks/RemoveLocal.js";
|
|
7
|
-
import "../sync/index.js";
|
|
8
|
-
import { TaskInfo } from "./Sync.js";
|
|
9
|
-
import { SyncStage } from "./Observability.js";
|
|
10
|
-
import { Events, Translations } from "../index.js";
|
|
1
|
+
import { Progress } from "../types.spec.js";
|
|
2
|
+
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.spec.js";
|
|
3
|
+
import { Dispatch, On } from "./EventBus.spec.js";
|
|
4
|
+
import { Translate } from "./I18n.spec.js";
|
|
5
|
+
import { BaseTask, TaskNames } from "../sync/tasks/interface.spec.js";
|
|
6
|
+
import RemoveLocal from "../sync/tasks/RemoveLocal.spec.js";
|
|
7
|
+
import "../sync/index.spec.js";
|
|
8
|
+
import { TaskInfo } from "./Sync.spec.js";
|
|
9
|
+
import { SyncStage } from "./Observability.spec.js";
|
|
10
|
+
import { Events, Translations } from "../index.spec.js";
|
|
11
11
|
import { App, Modal } from "obsidian";
|
|
12
12
|
//#region src/modules/ProgressModal.d.ts
|
|
13
13
|
type DeleteConfirmReturn = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { General } from "../../test/e2e-utils.js";
|
|
2
|
-
import { Binary, MaybePromise, RecordStat, Stat as Stat$1 } from "../types.js";
|
|
3
|
-
import { BatchOptimizer, Fs, ListReporter, RootFs } from "../fs/interface.js";
|
|
4
|
-
import { StoreAsync } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.js";
|
|
5
|
-
import { On } from "./EventBus.js";
|
|
6
|
-
import { RecordStore } from "./Storage.js";
|
|
7
|
-
import { ConflictResolver } from "../sync/tasks/interface.js";
|
|
8
|
-
import { Decider } from "../sync/decision/interface.js";
|
|
9
|
-
import "../sync/index.js";
|
|
10
|
-
import { Events } from "../index.js";
|
|
11
|
-
import { VaultRequest } from "../fs/vault/request.js";
|
|
12
|
-
import "../fs/index.js";
|
|
1
|
+
import { General } from "../../test/e2e-utils.spec.js";
|
|
2
|
+
import { Binary, MaybePromise, RecordStat, Stat as Stat$1 } from "../types.spec.js";
|
|
3
|
+
import { BatchOptimizer, Fs, ListReporter, RootFs } from "../fs/interface.spec.js";
|
|
4
|
+
import { StoreAsync } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.spec.js";
|
|
5
|
+
import { On } from "./EventBus.spec.js";
|
|
6
|
+
import { RecordStore } from "./Storage.spec.js";
|
|
7
|
+
import { ConflictResolver } from "../sync/tasks/interface.spec.js";
|
|
8
|
+
import { Decider } from "../sync/decision/interface.spec.js";
|
|
9
|
+
import "../sync/index.spec.js";
|
|
10
|
+
import { Events } from "../index.spec.js";
|
|
11
|
+
import { VaultRequest } from "../fs/vault/request.spec.js";
|
|
12
|
+
import "../fs/index.spec.js";
|
|
13
13
|
import { App, Plugin, RequestUrlParam } from "obsidian";
|
|
14
14
|
//#region src/modules/Registrar.d.ts
|
|
15
15
|
type RejectableWrapper<T> = (value: T) => T | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GlobMatchRule, TogglableValue } from "../types.js";
|
|
2
|
-
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.js";
|
|
3
|
-
import { SyncTerminateReason } from "./Sync.js";
|
|
4
|
-
import { SyncStage } from "./Observability.js";
|
|
1
|
+
import { GlobMatchRule, TogglableValue } from "../types.spec.js";
|
|
2
|
+
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.spec.js";
|
|
3
|
+
import { SyncTerminateReason } from "./Sync.spec.js";
|
|
4
|
+
import { SyncStage } from "./Observability.spec.js";
|
|
5
5
|
import { App, EventRef } from "obsidian";
|
|
6
6
|
//#region src/modules/Scheduler.d.ts
|
|
7
7
|
declare class Scheduler {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { General } from "../../test/e2e-utils.js";
|
|
2
|
-
import { RecordStat } from "../types.js";
|
|
3
|
-
import { DatabaseAsync, GetResult, StoreAsync, StoreOperations } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.js";
|
|
1
|
+
import { General } from "../../test/e2e-utils.spec.js";
|
|
2
|
+
import { RecordStat } from "../types.spec.js";
|
|
3
|
+
import { DatabaseAsync, GetResult, StoreAsync, StoreOperations } from "../../../../node_modules/.bun/uni-kv@.._.._uni-kv.tgz/node_modules/uni-kv/dist/interface.spec.js";
|
|
4
4
|
//#region src/modules/Storage.d.ts
|
|
5
5
|
type RecordStore = StoreAsync<RecordStat>;
|
|
6
6
|
declare class Storage {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { GlobMatchRule, Progress, TogglableValue } from "../types.js";
|
|
2
|
-
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.js";
|
|
3
|
-
import { Dispatch, On } from "./EventBus.js";
|
|
4
|
-
import { Translate } from "./I18n.js";
|
|
5
|
-
import { BaseTask, ConflictResolver, TaskNames } from "../sync/tasks/interface.js";
|
|
6
|
-
import RemoveLocal from "../sync/tasks/RemoveLocal.js";
|
|
7
|
-
import { Decider } from "../sync/decision/interface.js";
|
|
8
|
-
import "../sync/index.js";
|
|
9
|
-
import { Events, Translations } from "../index.js";
|
|
10
|
-
import { Infras, RemoteLister } from "./Registrar.js";
|
|
1
|
+
import { GlobMatchRule, Progress, TogglableValue } from "../types.spec.js";
|
|
2
|
+
import { Ref } from "../../../../node_modules/.bun/synthkernel@._synthkernel.tgz/node_modules/synthkernel/dist/reactive.spec.js";
|
|
3
|
+
import { Dispatch, On } from "./EventBus.spec.js";
|
|
4
|
+
import { Translate } from "./I18n.spec.js";
|
|
5
|
+
import { BaseTask, ConflictResolver, TaskNames } from "../sync/tasks/interface.spec.js";
|
|
6
|
+
import RemoveLocal from "../sync/tasks/RemoveLocal.spec.js";
|
|
7
|
+
import { Decider } from "../sync/decision/interface.spec.js";
|
|
8
|
+
import "../sync/index.spec.js";
|
|
9
|
+
import { Events, Translations } from "../index.spec.js";
|
|
10
|
+
import { Infras, RemoteLister } from "./Registrar.spec.js";
|
|
11
11
|
//#region src/modules/Sync.d.ts
|
|
12
12
|
type SyncTerminateReason = {
|
|
13
13
|
result: 'cancelled';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Fragment } from "../modules/I18n.js";
|
|
2
|
-
import { MigrationModalTranslations } from "../components/MigrationModal.js";
|
|
3
|
-
import "../index.js";
|
|
1
|
+
import { Fragment } from "../modules/I18n.spec.js";
|
|
2
|
+
import { MigrationModalTranslations } from "../components/MigrationModal.spec.js";
|
|
3
|
+
import "../index.spec.js";
|
|
4
4
|
//#region src/settings/features.d.ts
|
|
5
5
|
type FeaturesSettingTranslations = {
|
|
6
6
|
features: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../modules/I18n.js";
|
|
2
|
-
import { FilterEditorTranslations } from "../components/FilterEditorModal.js";
|
|
3
|
-
import "../index.js";
|
|
1
|
+
import "../modules/I18n.spec.js";
|
|
2
|
+
import { FilterEditorTranslations } from "../components/FilterEditorModal.spec.js";
|
|
3
|
+
import "../index.spec.js";
|
|
4
4
|
import { App } from "obsidian";
|
|
5
5
|
//#region src/settings/filter.d.ts
|
|
6
6
|
type FilterSettingTranslations = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../types.js";
|
|
2
|
-
import "../modules/I18n.js";
|
|
3
|
-
import "../index.js";
|
|
4
|
-
import "../modules/Registrar.js";
|
|
1
|
+
import "../types.spec.js";
|
|
2
|
+
import "../modules/I18n.spec.js";
|
|
3
|
+
import "../index.spec.js";
|
|
4
|
+
import "../modules/Registrar.spec.js";
|
|
5
5
|
//#region src/settings/head.d.ts
|
|
6
6
|
type HeadSettingTranslations = {
|
|
7
7
|
moduleAutoUpdate: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../tasks/interface.spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../tasks/interface.spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../tasks/interface.spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../tasks/interface.spec.js";
|