Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
12
libs/src/callable.apis.ts
Normal file
12
libs/src/callable.apis.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { PluginLocal } from './LSPlugin.core'
|
||||
|
||||
/**
|
||||
* These APIs run in the host and are callable by users,
|
||||
* similar to logseq.apis.cljs but for JS/TS.
|
||||
*/
|
||||
|
||||
export function setSDKMetadata(this: PluginLocal, data: any) {
|
||||
if (this?.sdk && data) {
|
||||
this.sdk = Object.assign({}, this.sdk, data)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user