Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataResource

Data Resource

Structured data for use with analysis. The data is split into two resource paths. This is because the primary data body can be large. When loading a list of items, all we need is the item data for use to view, filter etc. When wanting to view, use data in analysis, we request the body.

This extended resource is composed of the following paths

  • data/item
    • primary AoItem
    • contains meta data that relates to how to read the data/body
  • data/body
    • data, potentially large, any structure
    • currently only support firebase backend, eventually extend to S3 backend
    • due to this, max size of data is 10MB Firebase Limits

Hierarchy

Index

Constructors

constructor

Properties

bodyKey

bodyKey: string

bodyPath

bodyPath: string = "data/body"

companyService

companyService: CompanyService

dbService

dbService: FirebaseService

Optional defaultTags

defaultTags: string[]

defaultType

defaultType: string

isCompanyResource

isCompanyResource: boolean = false

isExtendedResource

isExtendedResource: boolean = true

isSimpleResource

isSimpleResource: boolean = false

isTeamResource

isTeamResource: boolean = true

isUserResource

isUserResource: boolean = false

paramService

paramService: ParamService

resourceKey

resourceKey: string

resourcePath

resourcePath: string = "data/item"

teamService

teamService: TeamService

userService

userService: UserService

Methods

create

delete

get

  • Parameters

    Returns any

getBody

getResourceObj

list

ref

setBody

update

Generated using TypeDoc