Skip to main content

Class: ModuleSourceView

A named set of path filters that can be applied to directory arguments provided to functions.

Extends

  • BaseClient

Constructors

new ModuleSourceView()

new ModuleSourceView(parent?, _id?, _name?): ModuleSourceView

Constructor is used for internal usage only, do not create object from it.

Parameters

parent?

parent.ctx?: Context

parent.queryTree?: QueryTree[]

_id?: ModuleSourceViewID

_name?: string

Returns

ModuleSourceView

Overrides

BaseClient.constructor

Methods

id()

id(): Promise<ModuleSourceViewID>

A unique identifier for this ModuleSourceView.

Returns

Promise<ModuleSourceViewID>


name()

name(): Promise<string>

The name of the view

Returns

Promise<string>


patterns()

patterns(): Promise<string[]>

The patterns of the view used to filter paths

Returns

Promise<string[]>