influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-apis > File

File interface

Represents a source from a single file

Signature:

interface File 

Properties

Property Modifiers Type Description
body?   Statement[] (Optional) List of Flux statements
imports?   ImportDeclaration[] (Optional) A list of package imports
name?   string (Optional) The name of the file.
package?   PackageClause (Optional)
type?   NodeType (Optional)