mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-06-19 12:50:19 +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
|
||||
import type { SimpleStore } from "octagonal-wheels/databases/SimpleStoreBase";
|
||||
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
|
||||
import type { KeyValueDatabase } from "@lib/interfaces/KeyValueDatabase.ts";
|
||||
export { OpenKeyValueDatabase } from "./KeyValueDBv2.ts";
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { KeyValueDatabase } from "@lib/interfaces/KeyValueDatabase";
|
||||
import { type IDBPDatabase } from "idb";
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { NecessaryServices } from "@lib/interfaces/ServiceModule";
|
||||
type PeriodicProcessorHost = NecessaryServices<"API" | "control", never>;
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { ItemView } from "@/deps.ts";
|
||||
import { type mount } from "svelte";
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { eventHub } from "@lib/hub/hub";
|
||||
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
|
||||
import type { TFile } from "@/deps";
|
||||
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
|
||||
import type { ObsidianLiveSyncSettings } from "@lib/common/models/setting.type";
|
||||
import type { LiveSyncBaseCore } from "@/LiveSyncBaseCore";
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { PersistentMap } from "octagonal-wheels/dataobject/PersistentMap";
|
||||
export declare let sameChangePairs: PersistentMap<number[]>;
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { type PluginManifest, TFile } from "@/deps.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
|
||||
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";
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
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";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { type PluginManifest } from "@/deps.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
|
||||
import { mount } from "svelte";
|
||||
import { App, Modal } from "@/deps.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { App, Modal } from "@/deps.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
|
||||
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";
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// 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 ObsidianLiveSyncPlugin from "@/main.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { type DocumentID, type EntryDoc, type EntryLeaf } from "@lib/common/types";
|
||||
import { LiveSyncCommands } from "@/features/LiveSyncCommands";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { App, Modal } from "@/deps.ts";
|
||||
import { mount } from "svelte";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { App } from "@/deps.ts";
|
||||
import type { LiveSyncTrysteroReplicator } from "@lib/replication/trystero/LiveSyncTrysteroReplicator";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { Menu, WorkspaceLeaf } from "@/deps.ts";
|
||||
import { SvelteItemView } from "@/common/SvelteItemView.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { WorkspaceLeaf } from "@/deps.ts";
|
||||
import { SvelteItemView } from "@/common/SvelteItemView.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export { DirectFileManipulator } 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
|
||||
import { type ObsidianLiveSyncSettings } from "@lib/common/types";
|
||||
/**
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
/**
|
||||
* Content-Splitter for Self-hosted LiveSync.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { type SavingEntry } from "@lib/common/types.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
|
||||
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter.ts";
|
||||
import { ContentSplitterBase } from "./ContentSplitterBase.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter";
|
||||
import { ContentSplitterBase } from "./ContentSplitterBase";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { ContentSplitterOptions, SplitOptions } from "./ContentSplitter.ts";
|
||||
import { ContentSplitterBase } from "./ContentSplitterBase.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { SavingEntry } from "@lib/common/types";
|
||||
import type { ContentSplitterOptions } from "./ContentSplitter";
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// 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 { 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
|
||||
import { type SlipBoard } from "octagonal-wheels/bureau/SlipBoard";
|
||||
declare global {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { CouchDBConnection, BucketSyncSetting, P2PConnectionInfo } from "./models/setting.type";
|
||||
export type RemoteConfigurationResult = {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { Constructor } from "@lib/common/utils.type";
|
||||
interface ErrorWithCause extends Error {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { Confirm } from "@lib/interfaces/Confirm";
|
||||
import { type ObsidianLiveSyncSettings } from "./types";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { getLanguage as ObsidianGetLanguage } from "obsidian";
|
||||
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
|
||||
declare const manifestVersion: string;
|
||||
declare const packageVersion: string;
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { AllMessageKeys, I18N_LANGS } from "./rosetta";
|
||||
import type { TaggedType } from "./types";
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export * 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
|
||||
import { PartialMessages as def } from "./def.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
|
||||
export declare const allMessages: {
|
||||
readonly "(Active)": {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly de: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly def: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly es: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly fr: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly he: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly ja: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly ko: {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly ru: {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly "zh-tw": {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const PartialMessages: {
|
||||
readonly zh: {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export type CouchDBCredentials = BasicCredentials | JWTCredentials;
|
||||
export type JWTAlgorithm = "HS256" | "HS512" | "ES256" | "ES512" | "";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { DocumentID } from "./db.type";
|
||||
export declare const VERSIONING_DOCID: DocumentID;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
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";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { TaggedType } from "octagonal-wheels/common/types";
|
||||
import type { EntryTypes, SYNCINFO_ID } from "./db.const";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { AUTO_MERGED, CANCELLED, MISSING_OR_ERROR, NOT_CONFLICTED } from "./shared.const.symbols";
|
||||
export type diff_result_leaf = {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const CHeader = "h:";
|
||||
export declare const PSCHeader = "ps:";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { FilePath, FilePathWithPrefix } from "./db.type";
|
||||
export type UXStat = {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { FilePath } from "./db.type";
|
||||
export declare const PREFIXMD_LOGFILE = "livesync_log_";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const SETTING_VERSION_INITIAL = 0;
|
||||
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
|
||||
import { type ObsidianLiveSyncSettings, type P2PSyncSetting } from "./setting.type";
|
||||
export declare const P2P_DEFAULT_SETTINGS: P2PSyncSetting;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||
export declare const PREFERRED_BASE: Partial<ObsidianLiveSyncSettings>;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||
export declare const KeyIndexOfSettings: Record<keyof ObsidianLiveSyncSettings, number>;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// 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 { I18N_LANGS } from "@lib/common/rosetta";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const MAX_DOC_SIZE = 1000;
|
||||
export declare const MAX_DOC_SIZE_BIN = 102400;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const SETTING_KEY_P2P_DEVICE_NAME = "p2p_device_name";
|
||||
export declare const configURIBase = "obsidian://setuplivesync?settings=";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const CANCELLED: 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
|
||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||
export declare const LEVEL_ADVANCED = "ADVANCED";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export declare const DatabaseConnectingStatuses: {
|
||||
readonly STARTED: "STARTED";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { TaggedType } from "octagonal-wheels/common/types";
|
||||
export type { TaggedType };
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { EntryTypes } from "./db.const";
|
||||
import type { DatabaseEntry, DocumentID } from "./db.type";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { ObsidianLiveSyncSettings } from "./setting.type";
|
||||
export declare const TweakValuesShouldMatchedTemplate: Partial<ObsidianLiveSyncSettings>;
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
/**
|
||||
# Rosetta stone
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { type ConfigurationItem, type ObsidianLiveSyncSettings } from "./types.ts";
|
||||
type ExtractPropertiesByType<T, U> = {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { DocumentID, FilePath, FilePathWithPrefix } from "./models/db.type";
|
||||
import type { UXFileInfoStub } from "./types";
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
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";
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// 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 { replaceAll, replaceAllPairs } from "octagonal-wheels/string";
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
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
|
||||
export declare function asCopy<T>(obj: T): T;
|
||||
export declare function ensureError(error: unknown): Error;
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// 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 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
|
||||
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
|
||||
import type { SimpleStore } from "octagonal-wheels/databases/SimpleStoreBase";
|
||||
export declare class StoredMapLike<U> {
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
interface InstanceHaveOnBindFunction<T> {
|
||||
onBindFunction: (...params: T[]) => void;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { encryptHKDFWorker, decryptHKDFWorker } from "@lib/worker/bgWorker.ts";
|
||||
export declare const encryptHKDF: typeof encryptHKDFWorker;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
/**
|
||||
* 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
|
||||
import type { FilePathWithPrefix, ObsidianLiveSyncSettings } from "@lib/common/types";
|
||||
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
|
||||
import { EventHub } from "octagonal-wheels/events";
|
||||
declare global {
|
||||
|
||||
Vendored
+1
@@ -1,2 +1,3 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
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
|
||||
export interface Confirm {
|
||||
askYesNo(message: string): Promise<"yes" | "no">;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { FilePathWithPrefix, LoadedEntry, MetaEntry, UXFileInfo, UXFileInfoStub } from "@lib/common/types";
|
||||
export interface DatabaseFileAccess {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
export interface Rebuilder {
|
||||
$performRebuildDB(method: "localOnly" | "remoteOnly" | "rebuildBothByThisDevice" | "localOnlyWithChunks"): Promise<void>;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { FilePath, FilePathWithPrefix, MetaEntry } from "@lib/common/models/db.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
|
||||
export interface KeyValueDatabase {
|
||||
get<T>(key: IDBValidKey): Promise<T>;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { DatabaseFileAccess } from "@lib/interfaces/DatabaseFileAccess";
|
||||
import type { Rebuilder } from "@lib/interfaces/DatabaseRebuilder";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// 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 { CustomRegExp } from "@lib/common/utils";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import type { FileEventType, FilePath, UXFileInfoStub, UXInternalFileInfoStub } from "@lib/common/types";
|
||||
export type FileEvent = {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { FallbackWeakRef } from "octagonal-wheels/common/polyfill";
|
||||
/**
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { type DocumentID } from "@lib/common/types.ts";
|
||||
import { type ChunkManager } from "./ChunkManager.ts";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
import { LayeredChunkManager } from "./LayeredChunkManager";
|
||||
export { LayeredChunkManager as ChunkManager };
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// REPO: https://github.com/vrtmrz/livesync-commonlib Commit hash: 6de1db1
|
||||
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";
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user