Member Junction
    Preparing search index...

    State management for artifacts and the artifact panel Handles artifact CRUD operations and caching with permission enforcement

    Index

    Constructors

    Properties

    activeArtifact$: Observable<MJArtifactEntity | null> = ...
    activeArtifactId$: Observable<string | null> = ...
    activeVersionNumber$: Observable<number | null> = ...
    isPanelOpen$: Observable<boolean> = ...
    panelMode$: Observable<"view" | "edit"> = ...

    Accessors

    Methods

    • Adds an artifact version to a collection

      Parameters

      • artifactId: string

        The artifact ID (for permission checking)

      • collectionId: string

        The collection ID

      • currentUser: UserInfo

        The current user context

      • OptionalversionId: string

        Optional specific version ID. If not provided, uses latest version

      Returns Promise<void>