DataTypeEntities

Data Type Entities Query

Returns a list of all available entity types that can have custom data types defined for them in the pyck system.

Arguments

This query takes no arguments.

Return Type

[String!] - A non-null array of string values representing entity names.

Usage Example

query {
  dataTypeEntities
}

Response:

{
  "data": {
    "dataTypeEntities": [
      "item",
      "customer", 
      "supplier",
      "picking_order",
      "picking_order_item",
      "inbound",
      "inbound_item",
      "item_movement",
      "repository_movement",
      "file",
      "item_set",
      "repository",
      "collection_movement"
    ]
  }
}

Usage with Data Types

Notes

  • This query returns all entity types that support custom data type definitions

  • Use this to understand which entities can have custom fields and schemas

  • Essential for building dynamic forms and custom field management interfaces

  • The returned strings correspond to entity names used in the entity field of DataType objects

  • These entities represent core business objects in the pyck warehouse management system

Last updated

Was this helpful?