@resistdesign/voltra
    Preparing search index...

    Type Alias TypeInfoORMDACConfig

    The configuration for the TypeInfoORMService DAC features.

    type TypeInfoORMDACConfig = {
        getDACRoleById: (id: string) => Promise<DACRole>;
        getOwnerPrefix?: (
            typeName: string,
            primaryFieldValue: LiteralValue,
        ) => Promise<LiteralValue[] | undefined>;
        itemResourcePathPrefix: LiteralValue[];
        relationshipResourcePathPrefix: LiteralValue[];
    }
    Index

    Properties

    getDACRoleById: (id: string) => Promise<DACRole>

    Lookup helper used to resolve roles by id.

    getOwnerPrefix?: (
        typeName: string,
        primaryFieldValue: LiteralValue,
    ) => Promise<LiteralValue[] | undefined>

    Optional resolver for owner/tenant prefix applied to item resource paths.

    When present, the returned prefix is inserted after itemResourcePathPrefix and before the canonical item path segments.

    Relationship create/delete operations also use this prefix to validate endpoint ownership for both the from and to items.

    itemResourcePathPrefix: LiteralValue[]

    DAC path prefix for item resources.

    This prefix is prepended to canonical item paths before evaluating DAC constraints.

    relationshipResourcePathPrefix: LiteralValue[]

    DAC path prefix for relationship resources.

    This prefix is prepended to canonical relationship paths before evaluating DAC constraints.