Skip to content

Type Alias: ConfigSource ​

ts
type ConfigSource = 
  | Datastore
  | {
  url: string;
}
  | {
  config: Child | YangJsonObject;
};

Defined in: netconf/src/operations/base.ts:46

Where configuration comes from: a datastore, a URL (:url), or inline content (XML, or an RFC 7951 JSON object a client converts).

Union Members ​

Datastore


Type Literal ​

ts
{
  url: string;
}

url ​

ts
readonly url: string;

A URL to load the configuration from (:url).


Type Literal ​

ts
{
  config: Child | YangJsonObject;
}

config ​

ts
readonly config: Child | YangJsonObject;

Inline configuration: XML, or an RFC 7951 JSON object.

Released under the MIT Licence.