0.6.6 • Published 6 months ago

@types/sequelize-fixtures v0.6.6

Weekly downloads
1,338
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/sequelize-fixtures

Summary

This package contains type definitions for Sequelize-Fixtures (https://github.com/domasx2/sequelize-fixtures).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sequelize-fixtures.

index.d.ts

// Type definitions for Sequelize-Fixtures 0.6.0
// Project: https://github.com/domasx2/sequelize-fixtures
// Definitions by: Christian Schwarz <https://github.com/cschwarz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

import * as Sequelize from "sequelize";

declare namespace SequelizeFixtures {
    interface Options {
        encoding?: string | undefined,
        log?: ((message: string) => void) | undefined,
        transaction?: Sequelize.Transaction | undefined,
        transformFixtureDataFn?: ((data: any) => any) | undefined,
        modifyFixtureDataFn?: ((data: any) => any) | undefined
    }

    interface SequelizeFixturesStatic {
        loadFile(file: string, models: any, options?: Options): Promise<any>;
        loadFiles(files: string[], models: any, options?: Options): Promise<any>;
        loadFixture(fixture: any, models: any, options?: Options): Promise<any>;
        loadFixtures(fixtures: any[], models: any, options?: Options): Promise<any>;
    }
}

declare var sequelizeFixtures: SequelizeFixtures.SequelizeFixturesStatic;

export = sequelizeFixtures;

Additional Details

  • Last updated: Tue, 06 Jul 2021 16:34:35 GMT
  • Dependencies: @types/sequelize
  • Global values: none

Credits

These definitions were written by Christian Schwarz.

0.6.6

6 months ago

0.6.5

7 months ago

0.6.4

8 months ago

0.6.3

3 years ago

0.6.2

5 years ago

0.6.1

6 years ago

0.6.0

7 years ago

0.4.33

7 years ago

0.4.32

7 years ago

0.4.31

7 years ago

0.4.30

7 years ago

0.4.29

8 years ago

0.4.28

8 years ago

0.4.27-alpha

8 years ago

0.4.25-alpha

8 years ago

0.4.24-alpha

8 years ago

0.4.23-alpha

8 years ago

0.4.22-alpha

8 years ago

0.4.21-alpha

8 years ago

0.4.20-alpha

8 years ago

0.4.15-alpha

8 years ago

0.4.14-alpha

8 years ago