Namespace: helpers

CTS.repository. helpers

Methods

<static> Text(object) → {CTS.repository.Prototypes.Work}

Create a Text object given a Text structure (Like angular-local-storage cached data, without functions)
Parameters:
Name Type Description
object Object.<string, Any> An object with data
Returns:
Type
CTS.repository.Prototypes.Work

<static> TextGroup(object) → {CTS.repository.TextInventory}

Create a TextGroup object given a TextGroup structure (Like angular-local-storage cached data, without functions)
Parameters:
Name Type Description
object Object.<string, Any> An object with data
Returns:
Type
CTS.repository.TextInventory

<static> TextInventory(object) → {CTS.repository.TextInventory}

Create a TextInventory object given a TextInventory structure (Like angular-local-storage cached data, without functions)
Parameters:
Name Type Description
object Object.<string, Any> An object with data
Returns:
Type
CTS.repository.TextInventory

<static> Work(object) → {CTS.repository.Prototypes.Work}

Create a Work object given a Work structure (Like angular-local-storage cached data, without functions)
Parameters:
Name Type Description
object Object.<string, Any> An object with data
Returns:
Type
CTS.repository.Prototypes.Work