mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-14 21:32:31 +00:00
Update type fallback and tools.
This commit is contained in:
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { SimpleStore } from "octagonal-wheels/databases/SimpleStoreBase";
|
import type { SimpleStore } from "octagonal-wheels/databases/SimpleStoreBase";
|
||||||
import type { HasSettings, ObsidianLiveSyncSettings, EntryDoc } from "@lib/common/types";
|
import type { HasSettings, ObsidianLiveSyncSettings, EntryDoc } from "@lib/common/types";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { KeyValueDatabase } from "@lib/interfaces/KeyValueDatabase.ts";
|
import type { KeyValueDatabase } from "@lib/interfaces/KeyValueDatabase.ts";
|
||||||
export { OpenKeyValueDatabase } from "./KeyValueDBv2.ts";
|
export { OpenKeyValueDatabase } from "./KeyValueDBv2.ts";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { KeyValueDatabase } from "@lib/interfaces/KeyValueDatabase";
|
import type { KeyValueDatabase } from "@lib/interfaces/KeyValueDatabase";
|
||||||
import { type IDBPDatabase } from "idb";
|
import { type IDBPDatabase } from "idb";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { NecessaryServices } from "@lib/interfaces/ServiceModule";
|
import type { NecessaryServices } from "@lib/interfaces/ServiceModule";
|
||||||
type PeriodicProcessorHost = NecessaryServices<"API" | "control", never>;
|
type PeriodicProcessorHost = NecessaryServices<"API" | "control", never>;
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { ItemView } from "@/deps.ts";
|
import { ItemView } from "@/deps.ts";
|
||||||
import { type mount } from "svelte";
|
import { type mount } from "svelte";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { eventHub } from "@lib/hub/hub";
|
import { eventHub } from "@lib/hub/hub";
|
||||||
export declare const EVENT_PLUGIN_LOADED = "plugin-loaded";
|
export declare const EVENT_PLUGIN_LOADED = "plugin-loaded";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { TFile } from "@/deps";
|
import type { TFile } from "@/deps";
|
||||||
import type { FilePathWithPrefix, LoadedEntry } from "@lib/common/types";
|
import type { FilePathWithPrefix, LoadedEntry } from "@lib/common/types";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ObsidianLiveSyncSettings } from "@lib/common/models/setting.type";
|
import type { ObsidianLiveSyncSettings } from "@lib/common/models/setting.type";
|
||||||
import type { LiveSyncBaseCore } from "@/LiveSyncBaseCore";
|
import type { LiveSyncBaseCore } from "@/LiveSyncBaseCore";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { PersistentMap } from "octagonal-wheels/dataobject/PersistentMap";
|
import { PersistentMap } from "octagonal-wheels/dataobject/PersistentMap";
|
||||||
export declare let sameChangePairs: PersistentMap<number[]>;
|
export declare let sameChangePairs: PersistentMap<number[]>;
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type PluginManifest, TFile } from "@/deps.ts";
|
import { type PluginManifest, TFile } from "@/deps.ts";
|
||||||
import { type DatabaseEntry, type EntryBody, type FilePath } from "@lib/common/types.ts";
|
import { type DatabaseEntry, type EntryBody, type FilePath } from "@lib/common/types.ts";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { TAbstractFile } from "@/deps.ts";
|
import { TAbstractFile } from "@/deps.ts";
|
||||||
import { type AnyEntry, type CouchDBCredentials, type DocumentID, type EntryHasPath, type FilePath, type FilePathWithPrefix, type UXFileInfo, type UXFileInfoStub } from "@lib/common/types.ts";
|
import { type AnyEntry, type CouchDBCredentials, type DocumentID, type EntryHasPath, type FilePath, type FilePathWithPrefix, type UXFileInfo, type UXFileInfoStub } from "@lib/common/types.ts";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type FilePath } from "@lib/common/types.ts";
|
import { type FilePath } from "@lib/common/types.ts";
|
||||||
export { addIcon, App, debounce, Editor, FuzzySuggestModal, MarkdownRenderer, MarkdownView, Modal, Notice, Platform, Plugin, PluginSettingTab, requestUrl, sanitizeHTMLToDom, Setting, stringifyYaml, TAbstractFile, TextAreaComponent, TFile, TFolder, parseYaml, ItemView, WorkspaceLeaf, Menu, request, getLanguage, ButtonComponent, TextComponent, ToggleComponent, DropdownComponent, Component, } from "obsidian";
|
export { addIcon, App, debounce, Editor, FuzzySuggestModal, MarkdownRenderer, MarkdownView, Modal, Notice, Platform, Plugin, PluginSettingTab, requestUrl, sanitizeHTMLToDom, Setting, stringifyYaml, TAbstractFile, TextAreaComponent, TFile, TFolder, parseYaml, ItemView, WorkspaceLeaf, Menu, request, getLanguage, ButtonComponent, TextComponent, ToggleComponent, DropdownComponent, Component, } from "obsidian";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type PluginManifest } from "@/deps.ts";
|
import { type PluginManifest } from "@/deps.ts";
|
||||||
import type { EntryDoc, LoadedEntry, FilePathWithPrefix, FilePath, AnyEntry } from "@lib/common/types.ts";
|
import type { EntryDoc, LoadedEntry, FilePathWithPrefix, FilePath, AnyEntry } from "@lib/common/types.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { mount } from "svelte";
|
import { mount } from "svelte";
|
||||||
import { App, Modal } from "@/deps.ts";
|
import { App, Modal } from "@/deps.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { App, Modal } from "@/deps.ts";
|
import { App, Modal } from "@/deps.ts";
|
||||||
import { type FilePath, type LoadedEntry } from "@lib/common/types.ts";
|
import { type FilePath, type LoadedEntry } from "@lib/common/types.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type LoadedEntry, type FilePathWithPrefix, type FilePath, type DocumentID, type UXFileInfo, type UXStat, type MetaEntry, type UXDataWriteOptions } from "@lib/common/types.ts";
|
import { type LoadedEntry, type FilePathWithPrefix, type FilePath, type DocumentID, type UXFileInfo, type UXStat, type MetaEntry, type UXDataWriteOptions } from "@lib/common/types.ts";
|
||||||
import { type InternalFileInfo } from "@/common/types.ts";
|
import { type InternalFileInfo } from "@/common/types.ts";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type AnyEntry, type DocumentID, type FilePath, type FilePathWithPrefix, type LOG_LEVEL } from "@lib/common/types.ts";
|
import { type AnyEntry, type DocumentID, type FilePath, type FilePathWithPrefix, type LOG_LEVEL } from "@lib/common/types.ts";
|
||||||
import type ObsidianLiveSyncPlugin from "@/main.ts";
|
import type ObsidianLiveSyncPlugin from "@/main.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type DocumentID, type EntryDoc, type EntryLeaf } from "@lib/common/types";
|
import { type DocumentID, type EntryDoc, type EntryLeaf } from "@lib/common/types";
|
||||||
import { LiveSyncCommands } from "@/features/LiveSyncCommands";
|
import { LiveSyncCommands } from "@/features/LiveSyncCommands";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { App, Modal } from "@/deps.ts";
|
import { App, Modal } from "@/deps.ts";
|
||||||
import { mount } from "svelte";
|
import { mount } from "svelte";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { App } from "@/deps.ts";
|
import { App } from "@/deps.ts";
|
||||||
import type { LiveSyncTrysteroReplicator } from "@lib/replication/trystero/LiveSyncTrysteroReplicator";
|
import type { LiveSyncTrysteroReplicator } from "@lib/replication/trystero/LiveSyncTrysteroReplicator";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { Menu, WorkspaceLeaf } from "@/deps.ts";
|
import { Menu, WorkspaceLeaf } from "@/deps.ts";
|
||||||
import { SvelteItemView } from "@/common/SvelteItemView.ts";
|
import { SvelteItemView } from "@/common/SvelteItemView.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { WorkspaceLeaf } from "@/deps.ts";
|
import { WorkspaceLeaf } from "@/deps.ts";
|
||||||
import { SvelteItemView } from "@/common/SvelteItemView.ts";
|
import { SvelteItemView } from "@/common/SvelteItemView.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export { DirectFileManipulator } from "./DirectFileManipulatorV2.ts";
|
export { DirectFileManipulator } from "./DirectFileManipulatorV2.ts";
|
||||||
export type { DirectFileManipulatorOptions } from "./DirectFileManipulatorV2.ts";
|
export type { DirectFileManipulatorOptions } from "./DirectFileManipulatorV2.ts";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type ObsidianLiveSyncSettings } from "@lib/common/types";
|
import { type ObsidianLiveSyncSettings } from "@lib/common/types";
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
/**
|
/**
|
||||||
* Content-Splitter for Self-hosted LiveSync.
|
* Content-Splitter for Self-hosted LiveSync.
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type SavingEntry } from "@lib/common/types.ts";
|
import { type SavingEntry } from "@lib/common/types.ts";
|
||||||
import { type ContentSplitterOptions, type SplitOptions } from "./ContentSplitter.ts";
|
import { type ContentSplitterOptions, type SplitOptions } from "./ContentSplitter.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter.ts";
|
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter.ts";
|
||||||
import { ContentSplitterBase } from "./ContentSplitterBase.ts";
|
import { ContentSplitterBase } from "./ContentSplitterBase.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter";
|
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter";
|
||||||
import { ContentSplitterBase } from "./ContentSplitterBase";
|
import { ContentSplitterBase } from "./ContentSplitterBase";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter.ts";
|
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter.ts";
|
||||||
import { ContentSplitterBase } from "./ContentSplitterBase.ts";
|
import { ContentSplitterBase } from "./ContentSplitterBase.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { SavingEntry } from "@lib/common/types";
|
import type { SavingEntry } from "@lib/common/types";
|
||||||
import type { ContentSplitterOptions } from "./ContentSplitter";
|
import type { ContentSplitterOptions } from "./ContentSplitter";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export type { HasSetResult, HasGetInitialData, ComponentHasResult, GuestDialogProps, DialogSvelteComponentBaseProps, DialogControlBase, } from "@lib/services/implements/base/SvelteDialog.ts";
|
export type { HasSetResult, HasGetInitialData, ComponentHasResult, GuestDialogProps, DialogSvelteComponentBaseProps, DialogControlBase, } from "@lib/services/implements/base/SvelteDialog.ts";
|
||||||
export { CONTEXT_DIALOG_CONTROLS, setupDialogContext, getDialogContext, SvelteDialogManagerBase, } from "@lib/services/implements/base/SvelteDialog.ts";
|
export { CONTEXT_DIALOG_CONTROLS, setupDialogContext, getDialogContext, SvelteDialogManagerBase, } from "@lib/services/implements/base/SvelteDialog.ts";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type SlipBoard } from "octagonal-wheels/bureau/SlipBoard";
|
import { type SlipBoard } from "octagonal-wheels/bureau/SlipBoard";
|
||||||
declare global {
|
declare global {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { CouchDBConnection, BucketSyncSetting, P2PConnectionInfo } from "./models/setting.type";
|
import type { CouchDBConnection, BucketSyncSetting, P2PConnectionInfo } from "./models/setting.type";
|
||||||
export type RemoteConfigurationResult = {
|
export type RemoteConfigurationResult = {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { Constructor } from "@lib/common/utils.type";
|
import type { Constructor } from "@lib/common/utils.type";
|
||||||
interface ErrorWithCause extends Error {
|
interface ErrorWithCause extends Error {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { Confirm } from "@lib/interfaces/Confirm";
|
import type { Confirm } from "@lib/interfaces/Confirm";
|
||||||
import { type ObsidianLiveSyncSettings } from "./types";
|
import { type ObsidianLiveSyncSettings } from "./types";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { getLanguage as ObsidianGetLanguage } from "obsidian";
|
import type { getLanguage as ObsidianGetLanguage } from "obsidian";
|
||||||
export declare function setGetLanguage(func: typeof ObsidianGetLanguage): void;
|
export declare function setGetLanguage(func: typeof ObsidianGetLanguage): void;
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
declare const manifestVersion: string;
|
declare const manifestVersion: string;
|
||||||
declare const packageVersion: string;
|
declare const packageVersion: string;
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { AllMessageKeys, I18N_LANGS } from "./rosetta";
|
import type { AllMessageKeys, I18N_LANGS } from "./rosetta";
|
||||||
import type { TaggedType } from "./types";
|
import type { TaggedType } from "./types";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export * from "octagonal-wheels/common/logger";
|
export * from "octagonal-wheels/common/logger";
|
||||||
export type * from "octagonal-wheels/common/logger";
|
export type * from "octagonal-wheels/common/logger";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { PartialMessages as def } from "./def.ts";
|
import { PartialMessages as def } from "./def.ts";
|
||||||
import { type MESSAGE } from "@lib/common/rosetta.ts";
|
import { type MESSAGE } from "@lib/common/rosetta.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const allMessages: {
|
export declare const allMessages: {
|
||||||
readonly "(Active)": {
|
readonly "(Active)": {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly de: {
|
readonly de: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly def: {
|
readonly def: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly es: {
|
readonly es: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly fr: {
|
readonly fr: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly he: {
|
readonly he: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly ja: {
|
readonly ja: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly ko: {
|
readonly ko: {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly ru: {
|
readonly ru: {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly "zh-tw": {
|
readonly "zh-tw": {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const PartialMessages: {
|
export declare const PartialMessages: {
|
||||||
readonly zh: {
|
readonly zh: {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export type CouchDBCredentials = BasicCredentials | JWTCredentials;
|
export type CouchDBCredentials = BasicCredentials | JWTCredentials;
|
||||||
export type JWTAlgorithm = "HS256" | "HS512" | "ES256" | "ES512" | "";
|
export type JWTAlgorithm = "HS256" | "HS512" | "ES256" | "ES512" | "";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { DocumentID } from "./db.type";
|
import type { DocumentID } from "./db.type";
|
||||||
export declare const VERSIONING_DOCID: DocumentID;
|
export declare const VERSIONING_DOCID: DocumentID;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { MILESTONE_DOCID, NODEINFO_DOCID } from "./db.const";
|
import type { MILESTONE_DOCID, NODEINFO_DOCID } from "./db.const";
|
||||||
import type { AnyEntry, ChunkVersionRange, DatabaseEntry, EntryChunkPack, EntryLeaf, EntryTypes, EntryVersionInfo, InternalFileEntry, LoadedEntry, MetaEntry, NewEntry, NoteEntry, PlainEntry } from "./db.type";
|
import type { AnyEntry, ChunkVersionRange, DatabaseEntry, EntryChunkPack, EntryLeaf, EntryTypes, EntryVersionInfo, InternalFileEntry, LoadedEntry, MetaEntry, NewEntry, NoteEntry, PlainEntry } from "./db.type";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { TaggedType } from "octagonal-wheels/common/types";
|
import type { TaggedType } from "octagonal-wheels/common/types";
|
||||||
import type { EntryTypes, SYNCINFO_ID } from "./db.const";
|
import type { EntryTypes, SYNCINFO_ID } from "./db.const";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { AUTO_MERGED, CANCELLED, MISSING_OR_ERROR, NOT_CONFLICTED } from "./shared.const.symbols";
|
import type { AUTO_MERGED, CANCELLED, MISSING_OR_ERROR, NOT_CONFLICTED } from "./shared.const.symbols";
|
||||||
export type diff_result_leaf = {
|
export type diff_result_leaf = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const CHeader = "h:";
|
export declare const CHeader = "h:";
|
||||||
export declare const PSCHeader = "ps:";
|
export declare const PSCHeader = "ps:";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FilePath, FilePathWithPrefix } from "./db.type";
|
import type { FilePath, FilePathWithPrefix } from "./db.type";
|
||||||
export type UXStat = {
|
export type UXStat = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FilePath } from "./db.type";
|
import type { FilePath } from "./db.type";
|
||||||
export declare const PREFIXMD_LOGFILE = "livesync_log_";
|
export declare const PREFIXMD_LOGFILE = "livesync_log_";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const SETTING_VERSION_INITIAL = 0;
|
export declare const SETTING_VERSION_INITIAL = 0;
|
||||||
export declare const SETTING_VERSION_SUPPORT_CASE_INSENSITIVE = 10;
|
export declare const SETTING_VERSION_SUPPORT_CASE_INSENSITIVE = 10;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type ObsidianLiveSyncSettings, type P2PSyncSetting } from "./setting.type";
|
import { type ObsidianLiveSyncSettings, type P2PSyncSetting } from "./setting.type";
|
||||||
export declare const P2P_DEFAULT_SETTINGS: P2PSyncSetting;
|
export declare const P2P_DEFAULT_SETTINGS: P2PSyncSetting;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||||
export declare const PREFERRED_BASE: Partial<ObsidianLiveSyncSettings>;
|
export declare const PREFERRED_BASE: Partial<ObsidianLiveSyncSettings>;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||||
export declare const KeyIndexOfSettings: Record<keyof ObsidianLiveSyncSettings, number>;
|
export declare const KeyIndexOfSettings: Record<keyof ObsidianLiveSyncSettings, number>;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ChunkAlgorithms, E2EEAlgorithms, HashAlgorithms, MODE_AUTOMATIC, MODE_PAUSED, MODE_SELECTIVE, MODE_SHINY, RemoteTypes } from "./setting.const";
|
import type { ChunkAlgorithms, E2EEAlgorithms, HashAlgorithms, MODE_AUTOMATIC, MODE_PAUSED, MODE_SELECTIVE, MODE_SHINY, RemoteTypes } from "./setting.const";
|
||||||
import type { I18N_LANGS } from "@lib/common/rosetta";
|
import type { I18N_LANGS } from "@lib/common/rosetta";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const MAX_DOC_SIZE = 1000;
|
export declare const MAX_DOC_SIZE = 1000;
|
||||||
export declare const MAX_DOC_SIZE_BIN = 102400;
|
export declare const MAX_DOC_SIZE_BIN = 102400;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const SETTING_KEY_P2P_DEVICE_NAME = "p2p_device_name";
|
export declare const SETTING_KEY_P2P_DEVICE_NAME = "p2p_device_name";
|
||||||
export declare const configURIBase = "obsidian://setuplivesync?settings=";
|
export declare const configURIBase = "obsidian://setuplivesync?settings=";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const CANCELLED: unique symbol;
|
export declare const CANCELLED: unique symbol;
|
||||||
export declare const AUTO_MERGED: unique symbol;
|
export declare const AUTO_MERGED: unique symbol;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||||
export declare const LEVEL_ADVANCED = "ADVANCED";
|
export declare const LEVEL_ADVANCED = "ADVANCED";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare const DatabaseConnectingStatuses: {
|
export declare const DatabaseConnectingStatuses: {
|
||||||
readonly STARTED: "STARTED";
|
readonly STARTED: "STARTED";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { TaggedType } from "octagonal-wheels/common/types";
|
import type { TaggedType } from "octagonal-wheels/common/types";
|
||||||
export type { TaggedType };
|
export type { TaggedType };
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { EntryTypes } from "./db.const";
|
import { EntryTypes } from "./db.const";
|
||||||
import type { DatabaseEntry, DocumentID } from "./db.type";
|
import type { DatabaseEntry, DocumentID } from "./db.type";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||||
export declare const TweakValuesShouldMatchedTemplate: Partial<ObsidianLiveSyncSettings>;
|
export declare const TweakValuesShouldMatchedTemplate: Partial<ObsidianLiveSyncSettings>;
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
/**
|
/**
|
||||||
# Rosetta stone
|
# Rosetta stone
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type ConfigurationItem, type ObsidianLiveSyncSettings } from "./types.ts";
|
import { type ConfigurationItem, type ObsidianLiveSyncSettings } from "./types.ts";
|
||||||
type ExtractPropertiesByType<T, U> = {
|
type ExtractPropertiesByType<T, U> = {
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { DocumentID, FilePath, FilePathWithPrefix } from "./models/db.type";
|
import type { DocumentID, FilePath, FilePathWithPrefix } from "./models/db.type";
|
||||||
import type { UXFileInfoStub } from "./types";
|
import type { UXFileInfoStub } from "./types";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export type { TaggedType } from "./models/shared.type.util.ts";
|
export type { TaggedType } from "./models/shared.type.util.ts";
|
||||||
export { LOG_LEVEL_DEBUG, LOG_LEVEL_INFO, LOG_LEVEL_NOTICE, LOG_LEVEL_URGENT, LOG_LEVEL_VERBOSE, } from "octagonal-wheels/common/logger";
|
export { LOG_LEVEL_DEBUG, LOG_LEVEL_INFO, LOG_LEVEL_NOTICE, LOG_LEVEL_URGENT, LOG_LEVEL_VERBOSE, } from "octagonal-wheels/common/logger";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type AnyEntry, type DatabaseEntry, type EntryLeaf, type SyncInfo, type LoadedEntry, type SavingEntry, type NewEntry, type PlainEntry, type CustomRegExpSource, type ParsedCustomRegExp, type CustomRegExpSourceList, type ObsidianLiveSyncSettings, type RemoteDBSettings, type P2PConnectionInfo, type BucketSyncSetting, type CouchDBConnection, type EncryptionSettings } from "./types.ts";
|
import { type AnyEntry, type DatabaseEntry, type EntryLeaf, type SyncInfo, type LoadedEntry, type SavingEntry, type NewEntry, type PlainEntry, type CustomRegExpSource, type ParsedCustomRegExp, type CustomRegExpSourceList, type ObsidianLiveSyncSettings, type RemoteDBSettings, type P2PConnectionInfo, type BucketSyncSetting, type CouchDBConnection, type EncryptionSettings } from "./types.ts";
|
||||||
import { replaceAll, replaceAllPairs } from "octagonal-wheels/string";
|
import { replaceAll, replaceAllPairs } from "octagonal-wheels/string";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare function isErrorOf(ex: unknown, statusCode: number): boolean;
|
export declare function isErrorOf(ex: unknown, statusCode: number): boolean;
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare function asCopy<T>(obj: T): T;
|
export declare function asCopy<T>(obj: T): T;
|
||||||
export declare function ensureError(error: unknown): Error;
|
export declare function ensureError(error: unknown): Error;
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export declare function generatePatchObj(from: Record<string | number | symbol, unknown>, to: Record<string | number | symbol, unknown>): Record<string | number | symbol, unknown>;
|
export declare function generatePatchObj(from: Record<string | number | symbol, unknown>, to: Record<string | number | symbol, unknown>): Record<string | number | symbol, unknown>;
|
||||||
export declare function applyPatch(from: Record<string | number | symbol, unknown>, patch: Record<string | number | symbol, unknown>): Record<string | number | symbol, unknown>;
|
export declare function applyPatch(from: Record<string | number | symbol, unknown>, patch: Record<string | number | symbol, unknown>): Record<string | number | symbol, unknown>;
|
||||||
|
|||||||
+1
@@ -1,2 +1,3 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export type Constructor<T> = new (...args: any[]) => T; // eslint-disable-line @typescript-eslint/no-explicit-any -- Only type declaration
|
export type Constructor<T> = new (...args: any[]) => T; // eslint-disable-line @typescript-eslint/no-explicit-any -- Only type declaration
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { SimpleStore } from "octagonal-wheels/databases/SimpleStoreBase";
|
import type { SimpleStore } from "octagonal-wheels/databases/SimpleStoreBase";
|
||||||
export declare class StoredMapLike<U> {
|
export declare class StoredMapLike<U> {
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
interface InstanceHaveOnBindFunction<T> {
|
interface InstanceHaveOnBindFunction<T> {
|
||||||
onBindFunction: (...params: T[]) => void;
|
onBindFunction: (...params: T[]) => void;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { encryptHKDFWorker, decryptHKDFWorker } from "@lib/worker/bgWorker.ts";
|
import { encryptHKDFWorker, decryptHKDFWorker } from "@lib/worker/bgWorker.ts";
|
||||||
export declare const encryptHKDF: typeof encryptHKDFWorker;
|
export declare const encryptHKDF: typeof encryptHKDFWorker;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
/**
|
/**
|
||||||
* Encrypts a string using a passphrase, unless the string is already encrypted.
|
* Encrypts a string using a passphrase, unless the string is already encrypted.
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FilePathWithPrefix, ObsidianLiveSyncSettings } from "@lib/common/types";
|
import type { FilePathWithPrefix, ObsidianLiveSyncSettings } from "@lib/common/types";
|
||||||
export declare const EVENT_LAYOUT_READY = "layout-ready";
|
export declare const EVENT_LAYOUT_READY = "layout-ready";
|
||||||
|
|||||||
Vendored
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { EventHub } from "octagonal-wheels/events";
|
import { EventHub } from "octagonal-wheels/events";
|
||||||
declare global {
|
declare global {
|
||||||
|
|||||||
Vendored
+1
@@ -1,2 +1,3 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export { DirectFileManipulator, type DirectFileManipulatorOptions } from "./API/DirectFileManipulator.ts";
|
export { DirectFileManipulator, type DirectFileManipulatorOptions } from "./API/DirectFileManipulator.ts";
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export interface Confirm {
|
export interface Confirm {
|
||||||
askYesNo(message: string): Promise<"yes" | "no">;
|
askYesNo(message: string): Promise<"yes" | "no">;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FilePathWithPrefix, LoadedEntry, MetaEntry, UXFileInfo, UXFileInfoStub } from "@lib/common/types";
|
import type { FilePathWithPrefix, LoadedEntry, MetaEntry, UXFileInfo, UXFileInfoStub } from "@lib/common/types";
|
||||||
export interface DatabaseFileAccess {
|
export interface DatabaseFileAccess {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export interface Rebuilder {
|
export interface Rebuilder {
|
||||||
$performRebuildDB(method: "localOnly" | "remoteOnly" | "rebuildBothByThisDevice" | "localOnlyWithChunks"): Promise<void>;
|
$performRebuildDB(method: "localOnly" | "remoteOnly" | "rebuildBothByThisDevice" | "localOnlyWithChunks"): Promise<void>;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FilePath, FilePathWithPrefix, MetaEntry } from "@lib/common/models/db.type";
|
import type { FilePath, FilePathWithPrefix, MetaEntry } from "@lib/common/models/db.type";
|
||||||
import type { UXFileInfo, UXFileInfoStub, UXInternalFileInfoStub } from "@lib/common/models/fileaccess.type";
|
import type { UXFileInfo, UXFileInfoStub, UXInternalFileInfoStub } from "@lib/common/models/fileaccess.type";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
export interface KeyValueDatabase {
|
export interface KeyValueDatabase {
|
||||||
get<T>(key: IDBValidKey): Promise<T>;
|
get<T>(key: IDBValidKey): Promise<T>;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { DatabaseFileAccess } from "@lib/interfaces/DatabaseFileAccess";
|
import type { DatabaseFileAccess } from "@lib/interfaces/DatabaseFileAccess";
|
||||||
import type { Rebuilder } from "@lib/interfaces/DatabaseRebuilder";
|
import type { Rebuilder } from "@lib/interfaces/DatabaseRebuilder";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FilePath, FilePathWithPrefix, UXDataWriteOptions, UXFileInfo, UXFileInfoStub, UXFolderInfo, UXStat } from "@lib/common/types";
|
import type { FilePath, FilePathWithPrefix, UXDataWriteOptions, UXFileInfo, UXFileInfoStub, UXFolderInfo, UXStat } from "@lib/common/types";
|
||||||
import type { CustomRegExp } from "@lib/common/utils";
|
import type { CustomRegExp } from "@lib/common/utils";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import type { FileEventType, FilePath, UXFileInfoStub, UXInternalFileInfoStub } from "@lib/common/types";
|
import type { FileEventType, FilePath, UXFileInfoStub, UXInternalFileInfoStub } from "@lib/common/types";
|
||||||
export type FileEvent = {
|
export type FileEvent = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { FallbackWeakRef } from "octagonal-wheels/common/polyfill";
|
import { FallbackWeakRef } from "octagonal-wheels/common/polyfill";
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type DocumentID } from "@lib/common/types.ts";
|
import { type DocumentID } from "@lib/common/types.ts";
|
||||||
import { type ChunkManager } from "./ChunkManager.ts";
|
import { type ChunkManager } from "./ChunkManager.ts";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { LayeredChunkManager } from "./LayeredChunkManager";
|
import { LayeredChunkManager } from "./LayeredChunkManager";
|
||||||
export { LayeredChunkManager as ChunkManager };
|
export { LayeredChunkManager as ChunkManager };
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||||
import { type Diff } from "diff-match-patch";
|
import { type Diff } from "diff-match-patch";
|
||||||
import { type EntryDoc, type FilePathWithPrefix, type diff_result_leaf, type LoadedEntry, type DIFF_CHECK_RESULT_AUTO } from "@lib/common/types.ts";
|
import { type EntryDoc, type FilePathWithPrefix, type diff_result_leaf, type LoadedEntry, type DIFF_CHECK_RESULT_AUTO } from "@lib/common/types.ts";
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user