Skip to content

Utility Types

'feathers-utils' provides a set of utility types that can be used to enhance the type safety and developer experience when working with Feathers services. These types help in defining the structure of data, service methods, and more.

  • GetService<App, Path>: A utility type to get the service type from an application and a service path.

Service Methods

get

  • InferGetResult

find

  • InferFindResult
  • InferFindParams

create

  • InferCreateData
  • InferCreateResult

update

  • InferUpdateData
  • InferUpdateResult

patch

  • InferPatchData
  • InferPatchResult

remove

  • InferRemoveResult

Released under the MIT License.