@types/generate-feed
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Installation

npm install --save @types/generate-feed

Summary

This package contains type definitions for generate-feed (https://github.com/bcomnes/generate-feed#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/generate-feed.

index.d.ts

declare namespace processFiles {
    interface Config {
        avatar?: string;
        author: string;
        description: string;
        expired?: boolean;
        favicon?: string;
        icon?: string;
        title: string;
        url: string;
        user_comment?: string;
    }

    interface LogMap {
        attachments?: Attachment[];
        author?: string;
        banner_image?: string;
        content?: string;
        date?: string;
        image?: string;
        link?: string;
        modified?: string;
        summary?: string;
        tags?: string[];
        title?: string;
        url?: string;
    }

    interface Attachment {
        duration_in_seconds?: number;
        mime_type?: string;
        size_in_bytes?: number;
        title?: string;
        url?: string;
    }

    type CallbackFn = (error?: Error) => void;
}

declare function processFiles(
    config: processFiles.Config,
    logMap: processFiles.LogMap[],
    dest: string,
    cb?: processFiles.CallbackFn,
): void;

export = processFiles;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Florian Imdahl.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/generate-feed

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

4.67 kB

Total Files

5

Last publish

Collaborators

  • types