Type Parameters

  • T

    The type of content the Crud API would be returning.

Hierarchy

  • ICrudAPI

Implemented by

Properties

create?: ((data: any) => Promise<IVeevaResponse>)

Type declaration

delete?: ((id: number) => Promise<IVeevaResponse>)

Type declaration

get?: (() => Promise<T[]>)

Type declaration

    • (): Promise<T[]>
    • Get all contents

      Returns Promise<T[]>

getById?: ((id: number) => Promise<T>)

Type declaration

    • (id: number): Promise<T>
    • Get contents by an ID

      Parameters

      • id: number

      Returns Promise<T>

update?: ((id: number, data: T) => Promise<IVeevaResponse>)

Type declaration

Generated using TypeDoc