mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
enhances(apis): add apis for retrieving tags by name
This commit is contained in:
@@ -771,6 +771,7 @@ export interface IEditorProxy extends Record<string, any> {
|
||||
getTagObjects: (nameOrIdent: string) => Promise<BlockEntity[] | null>
|
||||
createTag: (tagName: string, opts?: Partial<{ uuid: string }>) => Promise<PageEntity | null>
|
||||
getTag: (nameOrIdent: string | EntityID) => Promise<PageEntity | null>
|
||||
getTagsByName: (tagName: string) => Promise<Array<PageEntity> | null>
|
||||
addTagProperty: (tagId: BlockIdentity, propertyIdOrName: BlockIdentity) => Promise<void>
|
||||
removeTagProperty: (tagId: BlockIdentity, propertyIdOrName: BlockIdentity) => Promise<void>
|
||||
addTagExtends: (tagId: BlockIdentity, parentTagIdOrName: BlockIdentity) => Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user