Skip to content

Commit

Permalink
Merge branch 'master' of github.com:doapp-ryanp/dynamodb-local
Browse files Browse the repository at this point in the history
  • Loading branch information
doapp-ryanp committed Jan 31, 2018
2 parents cb06568 + ba9856c commit 9b18cd5
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
import { ChildProcess } from 'child_process';

declare module 'dynamodb-local' {
type argValues = '-cors' | '-dbPath' | '-delayTransientStatuses' | '-help' | '-inMemory' | '-optimizeDbBeforeStartup' | '-port' | '-sharedDb';
type argValues = '-cors' | '-dbPath' | '-delayTransientStatuses' | '-help' | '-inMemory' | '-optimizeDbBeforeStartup' | '-port' | '-sharedDb';

export interface InstallerConfig {
installPath: string;
downloadUrl: string;
}

namespace DynamoDbLocal {}

export class DynamoDbLocal {
static configureInstaller(config: InstallerConfig): void;
static launch(portNumber: number, dbPath: string | null, args: argValues[], verbose?: boolean): Promise<ChildProcess>;
static stop(portNumber: number): void;
}

export = DynamoDbLocal;
export interface InstallerConfig {
installPath: string;
downloadUrl: string;
}

export function configureInstaller(config: InstallerConfig): void;
export function launch(portNumber: number, dbPath?: string | null, args?: argValues[], verbose?: boolean): Promise<ChildProcess>;
export function stop(portNumber: number): void;

0 comments on commit 9b18cd5

Please sign in to comment.