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(ctx?, _id?, _name?): ModuleSourceView

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

Parameters

ctx?

Context

_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[]>