Skip to content

Commit

Permalink
docs: updated the README for the new input format
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerntannern committed Jun 3, 2019
1 parent 8b95bbd commit e95a5fe
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,16 @@ import {makeAdapter} from 'adapter';

type Resolve = AxiosResponse;
type Input = {
'text': { key: 'access-token' | 'repo-name', message: string, return: string },
'yes-no': { key: 'private' | 'retry', message: string, return: boolean }
types: { 'text': string, 'yes-no': boolean },
options: {
[type: string]: { message: string }
},
keys: {
'access-token': 'text',
'repo-name': 'text',
'private': 'yes-no',
'retry': 'yes-no',
}
};
type Output = string;

Expand Down

0 comments on commit e95a5fe

Please sign in to comment.