Returns the content(s) of all files matching the given pattern.

interface FilesQuery {
    matchesPathRegex?: string;
    roles?: FileRole[];
    type: "files";
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of FilesQuery

Properties

matchesPathRegex?: string
roles?: FileRole[]

If you provide roles, only files with all the given roles are returned. Supply multiple queries if you want a union!

type: "files"

used to select the query type :)