Socket
Book a DemoInstallSign in
Socket

@types/sequelize-fixtures

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sequelize-fixtures

TypeScript definitions for sequelize-fixtures

ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
ts6.0
latest
Source
npmnpm
Version
0.6.7
Version published
Maintainers
1
Created
Source

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

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: Thu, 10 Jul 2025 19:32:39 GMT
  • Dependencies: @types/sequelize

Credits

These definitions were written by Christian Schwarz.

FAQs

Package last updated on 10 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts