Skip to main content Link Search Menu Expand Document (external link)

ConfigProviderPathPatch overview

Added in v2.0.0


Table of contents


constructors

andThen

Signature

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

Added in v2.0.0

empty

Signature

export declare const empty: PathPatch

Added in v2.0.0

mapName

Signature

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

Added in v2.0.0

nested

Signature

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

Added in v2.0.0

unnested

Signature

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

Added in v2.0.0

models

AndThen (interface)

Signature

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

Added in v2.0.0

Empty (interface)

Signature

export interface Empty {
  readonly _tag: "Empty"
}

Added in v2.0.0

MapName (interface)

Signature

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

Added in v2.0.0

Nested (interface)

Signature

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

Added in v2.0.0

PathPatch (type alias)

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

Signature

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

Added in v2.0.0

Unnested (interface)

Signature

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

Added in v2.0.0