0.0.12 • Published 6 months ago

@types/winston-dynamodb v0.0.12

Weekly downloads
206
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/winston-dynamodb

Summary

This package contains type definitions for winston-dynamodb (https://github.com/inspiredjw/winston-dynamodb).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/winston-dynamodb.

index.d.ts

// Type definitions for winston-dynamodb
// Project: https://github.com/inspiredjw/winston-dynamodb
// Definitions by: nickiannone <https://github.com/nickiannone>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as winston from 'winston';
import { TransportInstance } from 'winston';
export interface DynamoDBTransportOptions {
    useEnvironment?: boolean | undefined;
    accessKeyId?: string | undefined;
    secretAccessKey?: string | undefined;
    region?: string | undefined;
    tableName: string;
    level: string;
    dynamoDoc?: boolean | undefined;
}
export interface DynamoDBTransportInstance extends TransportInstance {
    new (options?: DynamoDBTransportOptions): DynamoDBTransportInstance;
}
export declare class DynamoDB extends winston.Transport implements DynamoDBTransportInstance {
    regions: string[];
    name: string;
    level: string;
    db: any;
    AWS: any;
    region: string;
    tableName: string;
    dynamoDoc: boolean;
    constructor(options?: DynamoDBTransportOptions);
    log(level: any, msg: any, meta: any, callback: any): any;
}
declare module "winston" {
    interface Transports {
        DynamoDB: DynamoDB;
    }
}

Additional Details

  • Last updated: Fri, 02 Jul 2021 18:05:41 GMT
  • Dependencies: @types/winston
  • Global values: none

Credits

These definitions were written by nickiannone.

0.0.10

8 months ago

0.0.11

7 months ago

0.0.12

6 months ago

0.0.9

3 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago