Skip to content

Commit ec6759f

Browse files
author
Dale Herring
committed
DEV-86 - translate coffeescript to typescript
1 parent f48e450 commit ec6759f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+11262
-1801
lines changed

.gitignore

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
1-
tmp/
2-
3-
# Logs
4-
logs
5-
*.log
6-
7-
# Runtime data
8-
pids
9-
*.pid
10-
*.seed
11-
12-
# Directory for instrumented libs generated by jscoverage/JSCover
13-
lib-cov
14-
15-
# Coverage directory used by tools like istanbul
16-
coverage
17-
18-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
19-
.grunt
20-
21-
# Compiled binary addons (http://nodejs.org/api/addons.html)
22-
build/Release
23-
24-
# Dependency directory
25-
# Commenting this out is preferred by some people, see
26-
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
27-
node_modules
28-
29-
# Users Environment Variables
30-
.lock-wscript
1+
node_modules/

.npmignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 248 deletions
This file was deleted.

babel.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// babel.config.js
2+
module.exports = {
3+
presets: [
4+
['@babel/preset-env', {targets: {node: 'current'}}],
5+
'@babel/preset-typescript'
6+
],
7+
};

build/src/AlgorithmExecutable.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { HttpClient } from './HttpClient';
2+
declare class AlgorithmExecutable {
3+
private client;
4+
private path;
5+
constructor(client: HttpClient, path: string);
6+
pipe(input: Object): Promise<string>;
7+
}
8+
export { AlgorithmExecutable };

build/src/AlgorithmExecutable.js

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/src/AlgorithmExecutable.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/src/Algorithmia.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { AlgorithmiaClient } from './AlgorithmiaClient';
2+
declare class Algorithmia {
3+
private static defaultClient;
4+
private constructor();
5+
static clientKeyAddress(key: string, apiAddress: string): AlgorithmiaClient;
6+
static clientKey(key: string): AlgorithmiaClient;
7+
static client(): AlgorithmiaClient;
8+
static getDefaultClient(): AlgorithmiaClient;
9+
}
10+
export { Algorithmia };

build/src/Algorithmia.js

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)