Skip to content

ConfigProviderPathPatch

11 exports Added in v2.0.0 Source

Constructors

andThen

Added in v2.0.0 Source

Signature

declare const andThen: {
  (that: PathPatch): (self: PathPatch) => PathPatch;
  (self: PathPatch, that: PathPatch): PathPatch;
};

empty

Added in v2.0.0 Source

Signature

declare const empty: PathPatch;

mapName

Added in v2.0.0 Source

Signature

declare const mapName: {
  (f: (string: string) => string): (self: PathPatch) => PathPatch;
  (self: PathPatch, f: (string: string) => string): PathPatch;
};

nested

Added in v2.0.0 Source

Signature

declare const nested: {
  (name: string): (self: PathPatch) => PathPatch;
  (self: PathPatch, name: string): PathPatch;
};

unnested

Added in v2.0.0 Source

Signature

declare const unnested: {
  (name: string): (self: PathPatch) => PathPatch;
  (self: PathPatch, name: string): PathPatch;
};

Models

AndThen interface

Added in v2.0.0 Source

Signature

interface AndThen {
  readonly _tag: "AndThen";
  readonly first: PathPatch;
  readonly second: PathPatch;
}

Empty interface

Added in v2.0.0 Source

Signature

interface Empty {
  readonly _tag: "Empty";
}

MapName interface

Added in v2.0.0 Source

Signature

interface MapName {
  readonly _tag: "MapName";
  f(string: string): string;
}

Nested interface

Added in v2.0.0 Source

Signature

interface Nested {
  readonly _tag: "Nested";
  readonly name: string;
}

PathPatch type

Added in v2.0.0 Source

Represents a description of how to modify the path to a configuration value.

Signature

type PathPatch = Empty | AndThen | MapName | Nested | Unnested;

Unnested interface

Added in v2.0.0 Source

Signature

interface Unnested {
  readonly _tag: "Unnested";
  readonly name: string;
}