Normalize to double quotes across all files with Prettier

This commit is contained in:
X4Lo committed 2026-06-21 22:28:08 +01:00
1 parent 73bff72cec
commit a5659cf4c8
190 files changed
+9523 -8859

No files matched your search

+20 -18
View File
@@ -1,22 +1,24 @@
const { DataTypes } = require('sequelize');
const sequelize = require('../config/database');
const { DataTypes } = require("sequelize");
const sequelize = require("../config/database");
const Collection = sequelize.define("userCollection",
{
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
tmdbId: { type: DataTypes.STRING(30), field: 'tmdb_id' },
imdbId: { type: DataTypes.STRING(30), field: 'imdb_id' },
tvdbId: { type: DataTypes.STRING(30), field: 'tvdb_id' },
const Collection = sequelize.define("userCollection", {
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
tmdbId: { type: DataTypes.STRING(30), field: "tmdb_id" },
imdbId: { type: DataTypes.STRING(30), field: "imdb_id" },
tvdbId: { type: DataTypes.STRING(30), field: "tvdb_id" },
name: { type: DataTypes.STRING(150) },
description: { type: DataTypes.STRING(3000) },
isUserCollection: { type: DataTypes.BOOLEAN, defaultValue: false, field: 'is_user_collection' },
userRating: { type: DataTypes.FLOAT, field: 'user_rating' },
name: { type: DataTypes.STRING(150) },
description: { type: DataTypes.STRING(3000) },
isUserCollection: {
type: DataTypes.BOOLEAN,
defaultValue: false,
field: "is_user_collection",
},
userRating: { type: DataTypes.FLOAT, field: "user_rating" },
posterPath: { type: DataTypes.STRING(200), field: 'poster_path' },
backdropPath: { type: DataTypes.STRING(200), field: 'backdrop_path' },
isLocal: { type: DataTypes.BOOLEAN, defaultValue: false, field: 'is_local' }
}
);
posterPath: { type: DataTypes.STRING(200), field: "poster_path" },
backdropPath: { type: DataTypes.STRING(200), field: "backdrop_path" },
isLocal: { type: DataTypes.BOOLEAN, defaultValue: false, field: "is_local" },
});
module.exports = Collection;
module.exports = Collection;