Cerbos JavaScript SDK
    Preparing search index...

    Interface ExportConstantsBody

    A set of exported constants to be reused in other policies.

    Requires the Cerbos policy decision point server to be at least v0.40.

    interface ExportConstantsBody {
        definitions: Record<string, Value>;
        name: string;
    }
    Index

    Properties

    Properties

    definitions: Record<string, Value>

    Constant values.

    name: string

    The name to use when importing the set of constants.