Skip to content

Commit

Permalink
feat(dao): implement photo upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Feb 19, 2019
1 parent 17c27ec commit f2a341e
Show file tree
Hide file tree
Showing 18 changed files with 368 additions and 58 deletions.
85 changes: 55 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@
"dependencies": {
"@babel/runtime": "^7.3.1",
"axios": "^0.18.0",
"buffer": "^5.2.1",
"cli-table2": "^0.2.0",
"form-data": "^2.3.3",
"lodash.clonedeep": "^4.5.0",
"lodash.startcase": "^4.4.0",
"moment": "^2.24.0",
"node-fetch": "^2.3.0",
"qs": "^6.6.0",
"word-wrap": "^1.2.3",
"xmldom": "^0.1.27"
Expand Down
8 changes: 6 additions & 2 deletions src/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { TwitarrHTTPOptions } from './api/TwitarrHTTPOptions';
import { TwitarrResult } from './api/TwitarrResult';
import { TwitarrServer } from './api/TwitarrServer';

import { PhotoDAO } from './dao/PhotoDAO';
import { SeamailDAO } from './dao/SeamailDAO';
import { StreamDAO } from './dao/StreamDAO';
import { UserDAO } from './dao/UserDAO';
Expand All @@ -19,7 +20,8 @@ import { StreamPost } from './model/StreamPost';
import { StreamResponse } from './model/StreamResponse';
import { User } from './model/User';

import { AxiosHTTP } from './rest/AxiosHTTP';
import { BrowserHTTP } from './rest/BrowserHTTP';
import { NodeHTTP } from './rest/NodeHTTP';

import { Client } from './Client';

Expand All @@ -38,6 +40,7 @@ const API = Object.freeze({

/** @hidden */
const DAO = Object.freeze({
PhotoDAO,
SeamailDAO,
StreamDAO,
UserDAO,
Expand All @@ -58,7 +61,8 @@ const Model = Object.freeze({

/** @hidden */
const Rest = Object.freeze({
AxiosHTTP,
BrowserHTTP,
NodeHTTP,
});

/* tslint:enable:object-literal-sort-keys */
Expand Down
Loading

0 comments on commit f2a341e

Please sign in to comment.