open-index/open-npm huggingface dataset:
npm package: @shepherdorg/shepherd-ui-api
Description: This project contains the migrations for the database and the graphql schema and its types
Latest version: 4.0.0

# Shepherd UI Hasura

This project contains the migrations for the database and the graphql schema and its types

# Creating migrations

To create migrations through the hasura console, it must be started using the command

```
hasura console
```
Note: Postgres and Hasura must be started first using docker-compose


# Updating schema/types

```sh
yarn gen-types
```
npm package: @shepherdorg/ts-exec
Description: Promise based command execution. With buffer control, fairly good tests and a test double.
Author: Guðlaugur S. Egilsson
Latest version: 5.2.0

# TS Exec

Promise based convenience wrapper around child_process.ExecFile. Emphasis on testability, so it comes with a convenient
test double, enabling you to unit test your CLI controlling programs.

Optional collection of stdout/stderr process outputs to be returned with the promise result.

Option to provide string to be written to stdin of the child process.

See the [specs](./src/exec.spec.ts) for example usage.
npm package: @shepherdorg/ui-graphql-client
Description: Shepherd Graphql Client Library
Latest version: 3.3.1

# Shepherd UI API

This project hosts a utility for interacting with the shepherd-ui API

# Example Usage

```js
const client = createClient('http://localhost:8080/graphql')

client.upsertDeployment([
  {
    id: 'dev-images-fluentd2',
    display_name: 'Fluentd aws appender 2',
    last_deployment_timestamp: '2019-10-17T16:02:20.500Z',
    last_deployment_version: '1.0.1',
    herd_key: 'images-fluentd2',
    env: 'dev',
    description: '',
    deployer_role: 'Install',
    deployment_type: 'Kubernetes',
    hyperlinks: [
      {
        url: 'http://jenkins.org.is:8082/job/dockerimages/',
        title: 'Builds',
      },
      {
        url: 'https://gitlab.org.is/tmdev/dockerimages',
        title: 'Git source',
      },
    ],
  },
])
```