fission-suite/typescript-client

View on GitHub
src/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Value as JSONValue } from 'json-typescript'

export type Content = JSONValue
export type Upload = JSONValue | File
export type CID = string
export type Peer = string
export type ByteLength = number

export type Auth = {
  username: string
  password: string
}

export type Register = {
  username: string
  password: string
  email: string
}