Options
All
  • Public
  • Public/Protected
  • All
Menu

@federalies/dynamoco

Index

Type aliases

Dict

Dict<T>: {}

Type parameters

  • T

Type declaration

  • [key: string]: T

DynamoAttrValueType

DynamoBinary

DynamoBinary: { B: Buffer | string | Blob }

Type declaration

  • B: Buffer | string | Blob

DynamoBinarySet

DynamoBinarySet: { BS: (string | Buffer | Blob)[] }

Type declaration

  • BS: (string | Buffer | Blob)[]

DynamoBool

DynamoBool: { BOOL: boolean }

Type declaration

  • BOOL: boolean

DynamoList

DynamoList: { L: DynamoAttrValueType[] }

Type declaration

DynamoMap

DynamoMap: { M: {} }

Type declaration

DynamoNull

DynamoNull: { NULL: boolean }

Type declaration

  • NULL: boolean

DynamoNumber

DynamoNumber: { N: string }

Type declaration

  • N: string

DynamoNumberSet

DynamoNumberSet: { NS: string[] }

Type declaration

  • NS: string[]

DynamoString

DynamoString: { S: string }

Type declaration

  • S: string

DynamoStringSet

DynamoStringSet: { SS: string[] }

Type declaration

  • SS: string[]

IbrotliDecompressSync

IbrotliDecompressSync: (buf: string | ArrayBuffer | Buffer, options?: BrotliOptions) => Buffer

Type declaration

    • (buf: string | ArrayBuffer | Buffer, options?: BrotliOptions): Buffer
    • Parameters

      • buf: string | ArrayBuffer | Buffer
      • Optional options: BrotliOptions

      Returns Buffer

LinkedMocoPredicateClause

LinkedMocoPredicateClause: ["AND" | "OR", MocoPredicateClause]

MocoPredicateClause

MocoPredicateClause: [string, PredicateComparitorOperations, PredicateValues]

PredicateClause

PredicateClauses

PredicateClauses: PredicateClause[]

PredicateComparitorOperations

PredicateComparitorOperations: "=" | "<>" | "<" | ">" | "<=" | ">=" | "BETWEEN" | "begins_with"

PredicateValues

PredicateValues: null | boolean | string | number | Buffer | (string | number | Buffer)[]

QueryMetaStateOpts

QueryMetaStateOpts: Partial<QueryMetaState>

QueryReqStateOpts

QueryReqStateOpts: Partial<QueryReqState>

jsTypesFromDynamo

jsTypesFromDynamo: boolean | null | string | number | Buffer | string[] | number[] | Buffer[] | jsTypesFromDynamo[] | {}

validJs2DynamoDict

validJs2DynamoDict: {}

Type declaration

validJsDynamoTypes

validJsDynamoTypes: validplainJSTypesInDynamo | {}

validplainJSTypesInDynamo

validplainJSTypesInDynamo: boolean | null | string | number | Buffer | string[] | number[] | Buffer[]

Variables

isArray

isArray: isArray

Functions

Const _giveDynamoTypesToValues

Const _inferDynamoValueTypes

Const _inferJsValues

Const _stipDynamoTypingsForValues

  • _stipDynamoTypingsForValues(input?: {}): {}

Const base64toBuff

  • base64toBuff(s: string): Buffer

Const dynamoco

  • dynamoco(db: DynamoDB, defaults?: undefined | {}): IDynaMoco

Const fromDynamo

Const isBinary

  • isBinary(i: Buffer | any): i is Buffer
  • Parameters

    • i: Buffer | any

    Returns i is Buffer

Const isBool

  • isBool(i: boolean | any): i is boolean
  • Parameters

    • i: boolean | any

    Returns i is boolean

Const isError

  • isError(input: any): input is Error

Const isNull

  • isNull(i: null | any): i is null

Const isNumber

  • isNumber(i: number | any): i is number
  • Parameters

    • i: number | any

    Returns i is number

Const isString

  • isString(i: string | any): i is string
  • Parameters

    • i: string | any

    Returns i is string

Const mocoQuery

Const parseNumber

  • parseNumber(input: string): Number | Error
  • Parameters

    • input: string

    Returns Number | Error

Const parseNumberOrThrow

  • parseNumberOrThrow(input: string): number

Const parseTableProps

  • parseTableProps(table: string, tableDef: TableDescription): string
  • Parameters

    • table: string
    • tableDef: TableDescription

    Returns string

Const queryOperators

  • queryOperators(inputOpr: string, logLevel?: number): string
  • Parameters

    • inputOpr: string
    • Default value logLevel: number = 5

    Returns string

Const reservedWords

Generated using TypeDoc