Options
All
  • Public
  • Public/Protected
  • All
Menu

nomatic-data

Index

Type aliases

ContainerBeforeGetHookFunction

ContainerBeforeGetHookFunction: function

Type declaration

    • (mapper: string, id: string): void | Promise<void>
    • Parameters

      • mapper: string
      • id: string

      Returns void | Promise<void>

ContainerHookFunction

ContainerHookFunction: function

Type declaration

    • (mapper: string, record: Record): void | Promise<void>
    • Parameters

      • mapper: string
      • record: Record

      Returns void | Promise<void>

ContainerValidateHookFunction

ContainerValidateHookFunction: function

Type declaration

MapperBeforeGetHookFunction

MapperBeforeGetHookFunction: function

Type declaration

    • (id: string): void | Promise<void>
    • Parameters

      • id: string

      Returns void | Promise<void>

MapperHookFunction

MapperHookFunction: function

Type declaration

    • (record: Record): void | Promise<void>
    • Parameters

      Returns void | Promise<void>

MapperValidateHookFunction

MapperValidateHookFunction: function

Type declaration

MapperValidateHookOperation

MapperValidateHookOperation: "insert" | "replace" | "update"

RecordOperation

RecordOperation: "add" | "replace" | "remove"

RecordSaveFunction

RecordSaveFunction: function

Type declaration

    • (record: Record): Promise<boolean | RecordData | Record>
    • Parameters

      • record: Record

      Returns Promise<boolean | RecordData | Record>

RecordValidateFunction

RecordValidateFunction: function

Type declaration

    • (data: RecordData): Promise<void | RecordData>
    • Parameters

      • data: RecordData

      Returns Promise<void | RecordData>

RecordVirtualPropertyFunction

RecordVirtualPropertyFunction: function

Type declaration

    • (): any
    • Returns any