Skip to content

Commit

Permalink
chore: release obsidian plugin v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenlx committed Oct 6, 2023
1 parent a1ca924 commit 0cf2a54
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/obsidian/manifest-beta.json
@@ -1,7 +1,7 @@
{
"id": "zotlit",
"name": "ZotLit",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "1.4.4",
"versions": {
"better-sqlite3": "8.0.1-mod.1"
Expand Down
2 changes: 1 addition & 1 deletion app/obsidian/manifest.json
@@ -1,7 +1,7 @@
{
"id": "zotlit",
"name": "ZotLit",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "1.4.4",
"versions": {
"better-sqlite3": "8.0.1-mod.1"
Expand Down
2 changes: 1 addition & 1 deletion app/obsidian/package.json
@@ -1,6 +1,6 @@
{
"name": "zotlit",
"version": "1.1.0",
"version": "1.1.1",
"description": "Obsidian.md plugin to integrate with Zotero, create literature notes and insert citations from a Zotero library.",
"scripts": {
"dev": "cross-env BUILD=development node esbuild.config.mjs",
Expand Down
33 changes: 33 additions & 0 deletions app/obsidian/src/services/zotero-db/connector/service2.ts
@@ -0,0 +1,33 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { Server } from "http";
import { Service, calc } from "@ophidian/core";
import { App } from "obsidian";
import { SettingsService } from "@/settings/base";
import ZoteroPlugin from "@/zt-main";
import { DatabaseWorkerPool } from "./worker";

export const enum DatabaseStatus {
NotInitialized,
Pending,
Ready,
}

export default class Database extends Service {
settings = this.use(SettingsService);
app = this.use(App);
plugin = this.use(ZoteroPlugin);
server = this.use(Server);
#instance = new DatabaseWorkerPool({
minWorkers: 1,
maxWorkers: 1,
});
get api() {
return this.#instance.proxy;
}

@calc get zoteroDataDir(): string {
return this.settings.current?.zoteroDataDir;
}

#status = DatabaseStatus.NotInitialized;
}
3 changes: 2 additions & 1 deletion app/obsidian/versions.json
Expand Up @@ -29,5 +29,6 @@
"1.1.0-beta.13": "1.4.4",
"1.1.0-beta.14": "1.4.4",
"1.1.0-beta.15": "1.4.4",
"1.1.0": "1.4.4"
"1.1.0": "1.4.4",
"1.1.1": "1.4.4"
}
2 changes: 1 addition & 1 deletion manifest-beta.json
@@ -1,7 +1,7 @@
{
"id": "zotlit",
"name": "ZotLit",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "1.4.4",
"versions": {
"better-sqlite3": "8.0.1-mod.1"
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,7 +1,7 @@
{
"id": "zotlit",
"name": "ZotLit",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "1.4.4",
"versions": {
"better-sqlite3": "8.0.1-mod.1"
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Expand Up @@ -29,5 +29,6 @@
"1.1.0-beta.13": "1.4.4",
"1.1.0-beta.14": "1.4.4",
"1.1.0-beta.15": "1.4.4",
"1.1.0": "1.4.4"
"1.1.0": "1.4.4",
"1.1.1": "1.4.4"
}

0 comments on commit 0cf2a54

Please sign in to comment.