Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the inherent sloth data for each entity It is available via this

api

private

Type parameters

  • S

    the document schema

Hierarchy

  • SlothData

Index

Properties

defaultProps

defaultProps: Partial<S>

Optional docId

docId: undefined | string

Original document _id, only populated if passed in constructor

factory

factory: PouchFactory<S>

name

name: string

Database name, described by SlothEntity

see

SlothEntity

Optional props

props: Partial<S>

Loaded properties from database or constructor

slug

slug: function

A slug function that slugifies a string, should move this

Type declaration

    • (str: string): string
    • Parameters

      • str: string

      Returns string

updatedProps

updatedProps: Partial<S>

Properties updated at runtime

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc