fragment BasicWorkerFields on Worker {
  id
  workerId
  metadata
  isActive
  type
}

query GetWorker($where: WorkerWhereUniqueInput!) {
  workerByUniqueInput(where: $where) {
    ...BasicWorkerFields
  }
}

query GetWorkers($limit: Int, $offset: Int, $where: WorkerWhereInput) {
  workers(limit: $limit, offset: $offset, where: $where) {
    ...BasicWorkerFields
  }
}
