Skip to main content

TypeScript SDK Reference

api/client.gen.ModuleSourceView

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

Hierarchy

  • BaseClient

    ModuleSourceView

Constructors

constructor

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

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

Parameters

NameType
parent?Object
parent.ctxContext
parent.queryTree?QueryTree[]
_id?ModuleSourceViewID
_name?string

Returns

ModuleSourceView

Overrides

BaseClient.constructor

Properties

_id

Private Optional Readonly _id: ModuleSourceViewID = undefined


_name

Private Optional Readonly _name: string = undefined

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