Cerbos JavaScript SDK
    Preparing search index...

    Interface ReplaceFilesResponse

    interface ReplaceFilesResponse {
        changed: boolean;
        ignoredFiles: string[];
        newStoreVersion: bigint;
    }
    Index

    Properties

    changed: boolean

    Whether any changes were made to the store contents.

    This can only be false if ReplaceFilesRequest.allowUnchanged was true.

    ignoredFiles: string[]

    Paths of files that were provided in the request but were ignored.

    Files with unexpected paths, for example hidden files, will be ignored.

    newStoreVersion: bigint

    The new version of the store after the files were replaced.

    If ReplaceFilesRequest.allowUnchanged was true, this will be the existing store version if no changes were made.