6.1.7 • Published 6 months ago

@types/pouchdb-adapter-websql v6.1.7

Weekly downloads
12,597
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/pouchdb-adapter-websql

Summary

This package contains type definitions for pouchdb-adapter-websql (https://pouchdb.com/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql.

index.d.ts

// Type definitions for pouchdb-adapter-websql 6.1
// Project: https://pouchdb.com/, https://github.com/pouchdb/pouchdb
// Definitions by: Simon Paulger <https://github.com/spaulg>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="pouchdb-core" />

declare namespace PouchDB {
    namespace Core {
        interface DatabaseInfo {
            sqlite_plugin?: boolean | undefined;
            websql_encoding?: 'UTF-8' | 'UTF-16' | undefined;
        }
    }

    namespace AdapterWebSql {
        interface Configuration
                extends Configuration.LocalDatabaseConfiguration {
            /**
             * Amount in MB to request for storage.
             */
            size?: number | undefined;
            adapter: 'websql';
        }
    }

    interface Static {
        new<Content extends {}>(name: string | null,
                                options: AdapterWebSql.Configuration): Database<Content>;
    }
}

declare module 'pouchdb-adapter-websql' {
    const plugin: PouchDB.Plugin;
    export = plugin;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:19:47 GMT
  • Dependencies: @types/pouchdb-core
  • Global values: none

Credits

These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.

6.1.6

7 months ago

6.1.5

8 months ago

6.1.7

6 months ago

6.1.4

3 years ago

6.1.3

5 years ago

6.1.2

6 years ago

6.1.1

7 years ago

6.1.0

7 years ago

5.4.4

8 years ago

5.4.3

8 years ago

5.4.2

8 years ago

5.4.1

8 years ago