cf-to-dynamodb-schema
Version:
For DynamoDBLocal, Generate create-table json from aws cdk
24 lines (20 loc) • 680 B
TypeScript
declare module 'cf-to-dynamodb-schema/cli' {
#!/usr/bin/env node
export {};
}
declare module 'cf-to-dynamodb-schema/main' {
export const parseTemplate: (data: string) => string;
export const createTable: (schema: string, profile?: string | undefined, endpoint?: string | undefined) => void;
}
declare module 'cf-to-dynamodb-schema/main.test' {
export {};
}
declare module 'cf-to-dynamodb-schema/util' {
export const error: (text: string) => never;
export const parse: (data: string) => any;
export const readFile: (path: string) => string;
}
declare module 'cf-to-dynamodb-schema' {
import main = require('cf-to-dynamodb-schema/src/main');
export = main;
}