Skip to content

Get list of all tags that compatible with selected entity #22

@minzdrav

Description

@minzdrav

Hello haystack-core team
Thank you for the amazing library!

I'm just learning haystack 4 and their defs. So, my question can be stupid. Sorry if this is the case.

I'm working on web ui for haystack. Let's imagine that the user wants to add tags to the point (or any other entity).
As I understand, I can get tags that are specific for point like this:

const tags = defs.tags("point")

result:

["cur","dis","enum","equipRef","his","id","kind","maxVal","minVal","pointFunction","pointQuantity","pointSubject","siteRef","spaceRef","systemRef","tz","unit","vfd","writable"]

But I can't understand how to get a list of other compatible tags.
Is it possible? If not, maybe you can give me some hints on how I can implement it myself with your library as base.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions