textileio / go-textile

[DEPRECATED] Textile is a set of tools and infrastructure for building composable apps and services on the IPFS network
https://textile.io
MIT License
357 stars 43 forks source link

Add a "developer" index #802

Closed sanderpick closed 5 years ago

sanderpick commented 5 years ago

Set used a model like this:

import * as Stripe from "stripe"
import ICustomer = Stripe.customers.ICustomer

export default interface Developer {
  account: string
  created?: number
  id: string
  name: string
  password: string
  phone?: string
  salt?: string
  verified?: boolean
  customer_id?: string
  role: string
  use_case: string,
  customer?: ICustomer,
  admin?: boolean
}

Other related models are here: https://gitlab.com/textileio/mill/tree/master/src/models

No need to worry about the stripe (billing) stuff right now.

Some questions: