Compare commits

..

No commits in common. "40db7cfebc13ef6731136815f31b2eb1f2ae3e43" and "5518f1255cd2b6d69cbfbd22a31dca367c16a4ac" have entirely different histories.

59 changed files with 245 additions and 282 deletions

View file

@ -1,7 +1,6 @@
{ {
"name": "card-drop", "name": "card-drop",
"version": "0.8.0", "version": "0.8.0",
"type": "module",
"main": "./dist/bot.js", "main": "./dist/bot.js",
"typings": "./dist", "typings": "./dist",
"scripts": { "scripts": {
@ -43,6 +42,7 @@
"jest": "^29.0.0", "jest": "^29.0.0",
"jest-mock-extended": "^3.0.0", "jest-mock-extended": "^3.0.0",
"jimp": "^0.22.12", "jimp": "^0.22.12",
"minimatch": "9.0.5",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"ts-jest": "^29.0.0", "ts-jest": "^29.0.0",
"typeorm": "0.3.20", "typeorm": "0.3.20",

View file

@ -1,10 +1,10 @@
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import path from "path"; import path from "path";
import Config from "../database/entities/app/Config.js"; import Config from "../database/entities/app/Config";
import { glob } from "glob"; import { glob } from "glob";
import { SeriesMetadata } from "../contracts/SeriesMetadata.js"; import { SeriesMetadata } from "../contracts/SeriesMetadata";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export interface CardMetadataResult { export interface CardMetadataResult {
IsSuccess: boolean; IsSuccess: boolean;

View file

@ -1,7 +1,7 @@
import * as dotenv from "dotenv"; import * as dotenv from "dotenv";
import { CoreClient } from "./client/client.js"; import { CoreClient } from "./client/client";
import { IntentsBitField } from "discord.js"; import { IntentsBitField } from "discord.js";
import Registry from "./registry.js"; import Registry from "./registry";
import { existsSync } from "fs"; import { existsSync } from "fs";
import { ExecException, exec } from "child_process"; import { ExecException, exec } from "child_process";

View file

@ -1,12 +1,12 @@
import { ButtonInteraction } from "discord.js"; import { ButtonInteraction } from "discord.js";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import { default as eClaim } from "../database/entities/app/Claim.js"; import { default as eClaim } from "../database/entities/app/Claim";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
import CardConstants from "../constants/CardConstants.js"; import CardConstants from "../constants/CardConstants";
export default class Claim extends ButtonEvent { export default class Claim extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,7 +1,7 @@
import { ButtonInteraction } from "discord.js"; import { ButtonInteraction } from "discord.js";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import InventoryHelper from "../helpers/InventoryHelper.js"; import InventoryHelper from "../helpers/InventoryHelper";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default class Inventory extends ButtonEvent { export default class Inventory extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,15 +1,15 @@
import { AttachmentBuilder, ButtonInteraction } from "discord.js"; import { AttachmentBuilder, ButtonInteraction } from "discord.js";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import { v4 } from "uuid"; import { v4 } from "uuid";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import Config from "../database/entities/app/Config.js"; import Config from "../database/entities/app/Config";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import path from "path"; import path from "path";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
import CardConstants from "../constants/CardConstants.js"; import CardConstants from "../constants/CardConstants";
export default class Reroll extends ButtonEvent { export default class Reroll extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,10 +1,10 @@
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder } from "discord.js"; import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder } from "discord.js";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import { CardRarityToString, GetSacrificeAmount } from "../constants/CardRarity.js"; import { CardRarityToString, GetSacrificeAmount } from "../constants/CardRarity";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
export default class Sacrifice extends ButtonEvent { export default class Sacrifice extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,7 +1,7 @@
import { ButtonInteraction } from "discord.js"; import { ButtonInteraction } from "discord.js";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import SeriesHelper from "../helpers/SeriesHelper.js"; import SeriesHelper from "../helpers/SeriesHelper";
export default class Series extends ButtonEvent { export default class Series extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,9 +1,9 @@
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder } from "discord.js"; import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder } from "discord.js";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default class Trade extends ButtonEvent { export default class Trade extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,6 +1,6 @@
import {ButtonInteraction} from "discord.js"; import {ButtonInteraction} from "discord.js";
import {ButtonEvent} from "../type/buttonEvent.js"; import {ButtonEvent} from "../type/buttonEvent";
import CardSearchHelper from "../helpers/CardSearchHelper.js"; import CardSearchHelper from "../helpers/CardSearchHelper";
export default class View extends ButtonEvent { export default class View extends ButtonEvent {
public override async execute(interaction: ButtonInteraction) { public override async execute(interaction: ButtonInteraction) {

View file

@ -1,22 +1,22 @@
import { Client, DMChannel, Guild, GuildBan, GuildMember, Message, NonThreadGuildBasedChannel, PartialGuildMember, PartialMessage } from "discord.js"; import { Client, DMChannel, Guild, GuildBan, GuildMember, Message, NonThreadGuildBasedChannel, PartialGuildMember, PartialMessage } from "discord.js";
import * as dotenv from "dotenv"; import * as dotenv from "dotenv";
import ICommandItem from "../contracts/ICommandItem.js"; import ICommandItem from "../contracts/ICommandItem";
import EventExecutors from "../contracts/EventExecutors.js"; import EventExecutors from "../contracts/EventExecutors";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import { Events } from "./events.js"; import { Events } from "./events";
import { Util } from "./util.js"; import { Util } from "./util";
import IButtonEventItem from "../contracts/ButtonEventItem.js"; import IButtonEventItem from "../contracts/ButtonEventItem";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
import AppDataSource from "../database/dataSources/appDataSource.js"; import AppDataSource from "../database/dataSources/appDataSource";
import { Environment } from "../constants/Environment.js"; import { Environment } from "../constants/Environment";
import Webhooks from "../webhooks.js"; import Webhooks from "../webhooks";
import CardMetadataFunction from "../Functions/CardMetadataFunction.js"; import CardMetadataFunction from "../Functions/CardMetadataFunction";
import { SeriesMetadata } from "../contracts/SeriesMetadata.js"; import { SeriesMetadata } from "../contracts/SeriesMetadata";
import AppLogger from "./appLogger.js"; import AppLogger from "./appLogger";
import TimerHelper from "../helpers/TimerHelper.js"; import TimerHelper from "../helpers/TimerHelper";
import GiveCurrency from "../timers/GiveCurrency.js"; import GiveCurrency from "../timers/GiveCurrency";
import PurgeClaims from "../timers/PurgeClaims.js"; import PurgeClaims from "../timers/PurgeClaims";
export class CoreClient extends Client { export class CoreClient extends Client {
private static _commandItems: ICommandItem[]; private static _commandItems: ICommandItem[];

View file

@ -1,8 +1,8 @@
import { Interaction } from "discord.js"; import { Interaction } from "discord.js";
import ChatInputCommand from "./interactionCreate/ChatInputCommand.js"; import ChatInputCommand from "./interactionCreate/ChatInputCommand";
import Button from "./interactionCreate/Button.js"; import Button from "./interactionCreate/Button";
import AppLogger from "./appLogger.js"; import AppLogger from "./appLogger";
import NewUserDiscovery from "./interactionCreate/middleware/NewUserDiscovery.js"; import NewUserDiscovery from "./interactionCreate/middleware/NewUserDiscovery";
export class Events { export class Events {
public async onInteractionCreate(interaction: Interaction) { public async onInteractionCreate(interaction: Interaction) {

View file

@ -1,6 +1,6 @@
import { ButtonInteraction } from "discord.js"; import { ButtonInteraction } from "discord.js";
import { CoreClient } from "../client.js"; import { CoreClient } from "../client";
import AppLogger from "../appLogger.js"; import AppLogger from "../appLogger";
export default class Button { export default class Button {
public static async onButtonClicked(interaction: ButtonInteraction) { public static async onButtonClicked(interaction: ButtonInteraction) {

View file

@ -1,7 +1,7 @@
import { Interaction } from "discord.js"; import { Interaction } from "discord.js";
import { CoreClient } from "../client.js"; import { CoreClient } from "../client";
import ICommandItem from "../../contracts/ICommandItem.js"; import ICommandItem from "../../contracts/ICommandItem";
import AppLogger from "../appLogger.js"; import AppLogger from "../appLogger";
export default class ChatInputCommand { export default class ChatInputCommand {
public static async onChatInput(interaction: Interaction) { public static async onChatInput(interaction: Interaction) {

View file

@ -1,7 +1,7 @@
import { Interaction } from "discord.js"; import { Interaction } from "discord.js";
import User from "../../../database/entities/app/User.js"; import User from "../../../database/entities/app/User";
import CardConstants from "../../../constants/CardConstants.js"; import CardConstants from "../../../constants/CardConstants";
import AppLogger from "../../appLogger.js"; import AppLogger from "../../appLogger";
export default async function NewUserDiscovery(interaction: Interaction) { export default async function NewUserDiscovery(interaction: Interaction) {
const existingUser = await User.FetchOneById(User, interaction.user.id); const existingUser = await User.FetchOneById(User, interaction.user.id);

View file

@ -1,7 +1,7 @@
import { Client, REST, Routes, SlashCommandBuilder } from "discord.js"; import { Client, REST, Routes, SlashCommandBuilder } from "discord.js";
import EventExecutors from "../contracts/EventExecutors.js"; import EventExecutors from "../contracts/EventExecutors";
import { CoreClient } from "./client.js"; import { CoreClient } from "./client";
import AppLogger from "./appLogger.js"; import AppLogger from "./appLogger";
export class Util { export class Util {
public loadSlashCommands(client: Client) { public loadSlashCommands(client: Client) {

View file

@ -1,6 +1,6 @@
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js"; import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
export default class About extends Command { export default class About extends Command {
constructor() { constructor() {

View file

@ -1,7 +1,7 @@
import { CommandInteraction, EmbedBuilder, PermissionsBitField, SlashCommandBuilder } from "discord.js"; import { CommandInteraction, EmbedBuilder, PermissionsBitField, SlashCommandBuilder } from "discord.js";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
export default class AllBalance extends Command { export default class AllBalance extends Command {
constructor() { constructor() {

View file

@ -1,7 +1,7 @@
import { CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js"; import { CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
export default class Balance extends Command { export default class Balance extends Command {
constructor() { constructor() {

View file

@ -1,8 +1,8 @@
import { CommandInteraction, SlashCommandBuilder } from "discord.js"; import { CommandInteraction, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
import CardConstants from "../constants/CardConstants.js"; import CardConstants from "../constants/CardConstants";
import TimeLengthInput from "../helpers/TimeLengthInput.js"; import TimeLengthInput from "../helpers/TimeLengthInput";
export default class Daily extends Command { export default class Daily extends Command {
constructor() { constructor() {

View file

@ -1,15 +1,15 @@
import { AttachmentBuilder, CommandInteraction, SlashCommandBuilder } from "discord.js"; import { AttachmentBuilder, CommandInteraction, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import { v4 } from "uuid"; import { v4 } from "uuid";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import Config from "../database/entities/app/Config.js"; import Config from "../database/entities/app/Config";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import path from "path"; import path from "path";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
import CardConstants from "../constants/CardConstants.js"; import CardConstants from "../constants/CardConstants";
export default class Drop extends Command { export default class Drop extends Command {
constructor() { constructor() {

View file

@ -1,10 +1,10 @@
import { CacheType, CommandInteraction, PermissionsBitField, SlashCommandBuilder } from "discord.js"; import { CacheType, CommandInteraction, PermissionsBitField, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import { ExecException, exec } from "child_process"; import { ExecException, exec } from "child_process";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import Config from "../database/entities/app/Config.js"; import Config from "../database/entities/app/Config";
import CardMetadataFunction from "../Functions/CardMetadataFunction.js"; import CardMetadataFunction from "../Functions/CardMetadataFunction";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default class Gdrivesync extends Command { export default class Gdrivesync extends Command {
constructor() { constructor() {

View file

@ -1,11 +1,11 @@
import { CacheType, CommandInteraction, PermissionsBitField, SlashCommandBuilder } from "discord.js"; import { CacheType, CommandInteraction, PermissionsBitField, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import Config from "../database/entities/app/Config.js"; import Config from "../database/entities/app/Config";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
export default class Give extends Command { export default class Give extends Command {
constructor() { constructor() {

View file

@ -1,7 +1,7 @@
import { CommandInteraction, SlashCommandBuilder } from "discord.js"; import { CommandInteraction, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import InventoryHelper from "../helpers/InventoryHelper.js"; import InventoryHelper from "../helpers/InventoryHelper";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default class Inventory extends Command { export default class Inventory extends Command {
constructor() { constructor() {

View file

@ -1,8 +1,8 @@
import { CacheType, CommandInteraction, PermissionsBitField, SlashCommandBuilder } from "discord.js"; import { CacheType, CommandInteraction, PermissionsBitField, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import Config from "../database/entities/app/Config.js"; import Config from "../database/entities/app/Config";
import CardMetadataFunction from "../Functions/CardMetadataFunction.js"; import CardMetadataFunction from "../Functions/CardMetadataFunction";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default class Resync extends Command { export default class Resync extends Command {
constructor() { constructor() {

View file

@ -1,9 +1,9 @@
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CacheType, CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js"; import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CacheType, CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import { CardRarityToString, GetSacrificeAmount } from "../constants/CardRarity.js"; import { CardRarityToString, GetSacrificeAmount } from "../constants/CardRarity";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
export default class Sacrifice extends Command { export default class Sacrifice extends Command {
constructor() { constructor() {

View file

@ -1,8 +1,8 @@
import { CommandInteraction, SlashCommandBuilder } from "discord.js"; import { CommandInteraction, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import SeriesHelper from "../helpers/SeriesHelper.js"; import SeriesHelper from "../helpers/SeriesHelper";
export default class Series extends Command { export default class Series extends Command {
constructor() { constructor() {

View file

@ -1,11 +1,11 @@
import { AttachmentBuilder, CacheType, CommandInteraction, DiscordAPIError, SlashCommandBuilder } from "discord.js"; import { AttachmentBuilder, CacheType, CommandInteraction, DiscordAPIError, SlashCommandBuilder } from "discord.js";
import { Command } from "../../type/command.js"; import { Command } from "../../type/command";
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import Inventory from "../../database/entities/app/Inventory.js"; import Inventory from "../../database/entities/app/Inventory";
import { v4 } from "uuid"; import { v4 } from "uuid";
import { CoreClient } from "../../client/client.js"; import { CoreClient } from "../../client/client";
import path from "path"; import path from "path";
import CardDropHelperMetadata from "../../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../../helpers/CardDropHelperMetadata";
export default class Dropnumber extends Command { export default class Dropnumber extends Command {
constructor() { constructor() {

View file

@ -1,11 +1,11 @@
import { AttachmentBuilder, CacheType, CommandInteraction, DiscordAPIError, SlashCommandBuilder } from "discord.js"; import { AttachmentBuilder, CacheType, CommandInteraction, DiscordAPIError, SlashCommandBuilder } from "discord.js";
import { Command } from "../../type/command.js"; import { Command } from "../../type/command";
import { CardRarity, CardRarityParse } from "../../constants/CardRarity.js"; import { CardRarity, CardRarityParse } from "../../constants/CardRarity";
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import Inventory from "../../database/entities/app/Inventory.js"; import Inventory from "../../database/entities/app/Inventory";
import { v4 } from "uuid"; import { v4 } from "uuid";
import { CoreClient } from "../../client/client.js"; import { CoreClient } from "../../client/client";
import CardDropHelperMetadata from "../../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../../helpers/CardDropHelperMetadata";
import path from "path"; import path from "path";
export default class Droprarity extends Command { export default class Droprarity extends Command {

View file

@ -1,9 +1,9 @@
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js"; import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default class Trade extends Command { export default class Trade extends Command {
constructor() { constructor() {

View file

@ -1,12 +1,12 @@
import { AttachmentBuilder, CommandInteraction, DiscordAPIError, SlashCommandBuilder } from "discord.js"; import { AttachmentBuilder, CommandInteraction, DiscordAPIError, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import path from "path"; import path from "path";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata.js"; import CardDropHelperMetadata from "../helpers/CardDropHelperMetadata";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import CardSearchHelper from "../helpers/CardSearchHelper.js"; import CardSearchHelper from "../helpers/CardSearchHelper";
export default class View extends Command { export default class View extends Command {
constructor() { constructor() {

View file

@ -1,4 +1,4 @@
import EmbedColours from "./EmbedColours.js"; import EmbedColours from "./EmbedColours";
export enum CardRarity { export enum CardRarity {
Unknown, Unknown,

View file

@ -1,6 +1,6 @@
import { Column, DeepPartial, EntityTarget, PrimaryColumn, ObjectLiteral, FindOptionsWhere } from "typeorm"; import { Column, DeepPartial, EntityTarget, PrimaryColumn, ObjectLiteral, FindOptionsWhere } from "typeorm";
import { v4 } from "uuid"; import { v4 } from "uuid";
import AppDataSource from "../database/dataSources/appDataSource.js"; import AppDataSource from "../database/dataSources/appDataSource";
export default class AppBaseEntity { export default class AppBaseEntity {
constructor() { constructor() {

View file

@ -1,5 +1,5 @@
import { Environment } from "../constants/Environment.js"; import { Environment } from "../constants/Environment";
import { ButtonEvent } from "../type/buttonEvent.js"; import { ButtonEvent } from "../type/buttonEvent";
interface ButtonEventItem { interface ButtonEventItem {
ButtonId: string, ButtonId: string,

View file

@ -1,5 +1,5 @@
import { Environment } from "../constants/Environment.js"; import { Environment } from "../constants/Environment";
import { Command } from "../type/command.js"; import { Command } from "../type/command";
interface ICommandItem { interface ICommandItem {
Name: string, Name: string,

View file

@ -1,4 +1,4 @@
import { CardRarity } from "../constants/CardRarity.js"; import { CardRarity } from "../constants/CardRarity";
export interface SeriesMetadata { export interface SeriesMetadata {
id: number, id: number,

View file

@ -1,7 +1,7 @@
import { Column, Entity, ManyToOne } from "typeorm"; import { Column, Entity, ManyToOne } from "typeorm";
import AppBaseEntity from "../../../contracts/AppBaseEntity.js"; import AppBaseEntity from "../../../contracts/AppBaseEntity";
import Inventory from "./Inventory.js"; import Inventory from "./Inventory";
import AppDataSource from "../../dataSources/appDataSource.js"; import AppDataSource from "../../dataSources/appDataSource";
@Entity() @Entity()
export default class Claim extends AppBaseEntity { export default class Claim extends AppBaseEntity {

View file

@ -1,6 +1,6 @@
import { Column, Entity } from "typeorm"; import { Column, Entity } from "typeorm";
import AppBaseEntity from "../../../contracts/AppBaseEntity.js"; import AppBaseEntity from "../../../contracts/AppBaseEntity";
import AppDataSource from "../../dataSources/appDataSource.js"; import AppDataSource from "../../dataSources/appDataSource";
@Entity() @Entity()
export default class Config extends AppBaseEntity { export default class Config extends AppBaseEntity {

View file

@ -1,7 +1,7 @@
import { Column, Entity, OneToMany } from "typeorm"; import { Column, Entity, OneToMany } from "typeorm";
import AppBaseEntity from "../../../contracts/AppBaseEntity.js"; import AppBaseEntity from "../../../contracts/AppBaseEntity";
import AppDataSource from "../../dataSources/appDataSource.js"; import AppDataSource from "../../dataSources/appDataSource";
import Claim from "./Claim.js"; import Claim from "./Claim";
@Entity() @Entity()
export default class Inventory extends AppBaseEntity { export default class Inventory extends AppBaseEntity {

View file

@ -1,5 +1,5 @@
import { Column, Entity } from "typeorm"; import { Column, Entity } from "typeorm";
import AppBaseEntity from "../../../contracts/AppBaseEntity.js"; import AppBaseEntity from "../../../contracts/AppBaseEntity";
@Entity() @Entity()
export default class User extends AppBaseEntity { export default class User extends AppBaseEntity {

View file

@ -1,5 +1,5 @@
import { MigrationInterface, QueryRunner } from "typeorm"; import { MigrationInterface, QueryRunner } from "typeorm";
import MigrationHelper from "../../../../helpers/MigrationHelper.js"; import MigrationHelper from "../../../../helpers/MigrationHelper";
export class CreateClaim1694609771821 implements MigrationInterface { export class CreateClaim1694609771821 implements MigrationInterface {

View file

@ -1,5 +1,5 @@
import { MigrationInterface, QueryRunner } from "typeorm"; import { MigrationInterface, QueryRunner } from "typeorm";
import MigrationHelper from "../../../../helpers/MigrationHelper.js"; import MigrationHelper from "../../../../helpers/MigrationHelper";
export class CreateBase1693769942868 implements MigrationInterface { export class CreateBase1693769942868 implements MigrationInterface {

View file

@ -1,5 +1,5 @@
import { MigrationInterface, QueryRunner } from "typeorm"; import { MigrationInterface, QueryRunner } from "typeorm";
import MigrationHelper from "../../../../helpers/MigrationHelper.js"; import MigrationHelper from "../../../../helpers/MigrationHelper";
export class CreateConfig1699814500650 implements MigrationInterface { export class CreateConfig1699814500650 implements MigrationInterface {

View file

@ -1,5 +1,5 @@
import { MigrationInterface, QueryRunner } from "typeorm"; import { MigrationInterface, QueryRunner } from "typeorm";
import MigrationHelper from "../../../../helpers/MigrationHelper.js"; import MigrationHelper from "../../../../helpers/MigrationHelper";
export class User1713289062969 implements MigrationInterface { export class User1713289062969 implements MigrationInterface {

View file

@ -1,5 +1,5 @@
import { MigrationInterface, QueryRunner } from "typeorm"; import { MigrationInterface, QueryRunner } from "typeorm";
import MigrationHelper from "../../../../helpers/MigrationHelper.js"; import MigrationHelper from "../../../../helpers/MigrationHelper";
export class Daily1715967355818 implements MigrationInterface { export class Daily1715967355818 implements MigrationInterface {

View file

@ -1,10 +1,10 @@
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js"; import { ActionRowBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js";
import { CardRarity, CardRarityToColour, CardRarityToString } from "../constants/CardRarity.js"; import { CardRarity, CardRarityToColour, CardRarityToString } from "../constants/CardRarity";
import CardRarityChances from "../constants/CardRarityChances.js"; import CardRarityChances from "../constants/CardRarityChances";
import { DropResult } from "../contracts/SeriesMetadata.js"; import { DropResult } from "../contracts/SeriesMetadata";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import CardConstants from "../constants/CardConstants.js"; import CardConstants from "../constants/CardConstants";
export default class CardDropHelperMetadata { export default class CardDropHelperMetadata {
public static GetRandomCard(): DropResult | undefined { public static GetRandomCard(): DropResult | undefined {

View file

@ -1,11 +1,11 @@
import {ActionRowBuilder, AttachmentBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder} from "discord.js"; import {ActionRowBuilder, AttachmentBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder} from "discord.js";
import {Fzf} from "fzf"; import {Fzf} from "fzf";
import {CoreClient} from "../client/client.js"; import {CoreClient} from "../client/client";
import CardDropHelperMetadata from "./CardDropHelperMetadata.js"; import CardDropHelperMetadata from "./CardDropHelperMetadata";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import {readFileSync} from "fs"; import {readFileSync} from "fs";
import path from "path"; import path from "path";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
interface ReturnedPage { interface ReturnedPage {
embed: EmbedBuilder, embed: EmbedBuilder,

View file

@ -1,8 +1,8 @@
import {createCanvas, loadImage} from "canvas"; import {createCanvas, loadImage} from "canvas";
import path from "path"; import path from "path";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import {existsSync} from "fs"; import {existsSync} from "fs";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import Jimp from "jimp"; import Jimp from "jimp";
interface CardInput { interface CardInput {

View file

@ -1,11 +1,11 @@
import { ActionRowBuilder, AttachmentBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js"; import { ActionRowBuilder, AttachmentBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js";
import Inventory from "../database/entities/app/Inventory.js"; import Inventory from "../database/entities/app/Inventory";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import { CardRarity, CardRarityToString } from "../constants/CardRarity.js"; import { CardRarity, CardRarityToString } from "../constants/CardRarity";
import cloneDeep from "clone-deep"; import cloneDeep from "clone-deep";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import ImageHelper from "./ImageHelper.js"; import ImageHelper from "./ImageHelper";
interface InventoryPage { interface InventoryPage {
id: number, id: number,

View file

@ -1,10 +1,10 @@
import { ActionRowBuilder, AttachmentBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js"; import { ActionRowBuilder, AttachmentBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import cloneDeep from "clone-deep"; import cloneDeep from "clone-deep";
import { CoreClient } from "../client/client.js"; import { CoreClient } from "../client/client";
import EmbedColours from "../constants/EmbedColours.js"; import EmbedColours from "../constants/EmbedColours";
import { CardRarityToString } from "../constants/CardRarity.js"; import { CardRarityToString } from "../constants/CardRarity";
import ImageHelper from "./ImageHelper.js"; import ImageHelper from "./ImageHelper";
export default class SeriesHelper { export default class SeriesHelper {
public static async GenerateSeriesViewPage(seriesId: number, page: number, userId: string): Promise<{ embed: EmbedBuilder, row: ActionRowBuilder<ButtonBuilder>, image: AttachmentBuilder } | null> { public static async GenerateSeriesViewPage(seriesId: number, page: number, userId: string): Promise<{ embed: EmbedBuilder, row: ActionRowBuilder<ButtonBuilder>, image: AttachmentBuilder } | null> {

View file

@ -1,4 +1,4 @@
import StringTools from "./StringTools.js"; import StringTools from "./StringTools";
export default class TimeLengthInput { export default class TimeLengthInput {
public readonly value: string; public readonly value: string;

View file

@ -1,6 +1,6 @@
import { CronJob } from "cron"; import { CronJob } from "cron";
import { v4 } from "uuid"; import { v4 } from "uuid";
import { Primitive } from "../type/primitive.js"; import { Primitive } from "../type/primitive";
interface Timer { interface Timer {
id: string; id: string;

View file

@ -1,6 +1,6 @@
import { Request, Response } from "express"; import { Request, Response } from "express";
import CardMetadataFunction from "../Functions/CardMetadataFunction.js"; import CardMetadataFunction from "../Functions/CardMetadataFunction";
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
export default async function ReloadDB(req: Request, res: Response) { export default async function ReloadDB(req: Request, res: Response) {
AppLogger.LogInfo("Hooks/ReloadDB", "Reloading Card DB..."); AppLogger.LogInfo("Hooks/ReloadDB", "Reloading Card DB...");

View file

@ -1,33 +1,33 @@
import { CoreClient } from "./client/client.js"; import { CoreClient } from "./client/client";
import { Environment } from "./constants/Environment.js"; import { Environment } from "./constants/Environment";
// Global Command Imports // Global Command Imports
import About from "./commands/about.js"; import About from "./commands/about";
import AllBalance from "./commands/allbalance.js"; import AllBalance from "./commands/allbalance";
import Balance from "./commands/balance.js"; import Balance from "./commands/balance";
import Daily from "./commands/daily.js"; import Daily from "./commands/daily";
import Drop from "./commands/drop.js"; import Drop from "./commands/drop";
import Gdrivesync from "./commands/gdrivesync.js"; import Gdrivesync from "./commands/gdrivesync";
import Give from "./commands/give.js"; import Give from "./commands/give";
import Inventory from "./commands/inventory.js"; import Inventory from "./commands/inventory";
import Resync from "./commands/resync.js"; import Resync from "./commands/resync";
import Sacrifice from "./commands/sacrifice.js"; import Sacrifice from "./commands/sacrifice";
import Series from "./commands/series.js"; import Series from "./commands/series";
import Trade from "./commands/trade.js"; import Trade from "./commands/trade";
import View from "./commands/view.js"; import View from "./commands/view";
// Test Command Imports // Test Command Imports
import Dropnumber from "./commands/stage/dropnumber.js"; import Dropnumber from "./commands/stage/dropnumber";
import Droprarity from "./commands/stage/droprarity.js"; import Droprarity from "./commands/stage/droprarity";
// Button Event Imports // Button Event Imports
import Claim from "./buttonEvents/Claim.js"; import Claim from "./buttonEvents/Claim";
import InventoryButtonEvent from "./buttonEvents/Inventory.js"; import InventoryButtonEvent from "./buttonEvents/Inventory";
import Reroll from "./buttonEvents/Reroll.js"; import Reroll from "./buttonEvents/Reroll";
import SacrificeButtonEvent from "./buttonEvents/Sacrifice.js"; import SacrificeButtonEvent from "./buttonEvents/Sacrifice";
import SeriesEvent from "./buttonEvents/Series.js"; import SeriesEvent from "./buttonEvents/Series";
import TradeButtonEvent from "./buttonEvents/Trade.js"; import TradeButtonEvent from "./buttonEvents/Trade";
import ViewButtonEvent from "./buttonEvents/View.js"; import ViewButtonEvent from "./buttonEvents/View";
export default class Registry { export default class Registry {
public static RegisterCommands() { public static RegisterCommands() {

View file

@ -1,6 +1,6 @@
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import CardConstants from "../constants/CardConstants.js"; import CardConstants from "../constants/CardConstants";
import User from "../database/entities/app/User.js"; import User from "../database/entities/app/User";
export default async function GiveCurrency() { export default async function GiveCurrency() {
AppLogger.LogDebug("Timers/GiveCurrency", "Giving currency to every known user"); AppLogger.LogDebug("Timers/GiveCurrency", "Giving currency to every known user");

View file

@ -1,5 +1,5 @@
import AppLogger from "../client/appLogger.js"; import AppLogger from "../client/appLogger";
import Claim from "../database/entities/app/Claim.js"; import Claim from "../database/entities/app/Claim";
export default async function PurgeClaims() { export default async function PurgeClaims() {
const claims = await Claim.FetchAll(Claim); const claims = await Claim.FetchAll(Claim);

View file

@ -1,7 +1,7 @@
import bodyParser from "body-parser"; import bodyParser from "body-parser";
import express, { Application } from "express"; import express, { Application } from "express";
import ReloadDB from "./hooks/ReloadDB.js"; import ReloadDB from "./hooks/ReloadDB";
import AppLogger from "./client/appLogger.js"; import AppLogger from "./client/appLogger";
export default class Webhooks { export default class Webhooks {
private app: Application; private app: Application;

View file

@ -5,7 +5,7 @@
/* Basic Options */ /* Basic Options */
// "incremental": true, /* Enable incremental compilation */ // "incremental": true, /* Enable incremental compilation */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */ "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */
"module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */ // "lib": [], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */ // "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */ // "checkJs": true, /* Report errors in .js files. */
@ -44,7 +44,7 @@
// "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */ // "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */
/* Module Resolution Options */ /* Module Resolution Options */
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */

View file

@ -1247,11 +1247,11 @@
integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==
"@types/node@*": "@types/node@*":
version "22.2.0" version "20.14.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.2.0.tgz#7cf046a99f0ba4d628ad3088cb21f790df9b0c5b" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.9.tgz#12e8e765ab27f8c421a1820c99f5f313a933b420"
integrity sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ== integrity sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==
dependencies: dependencies:
undici-types "~6.13.0" undici-types "~5.26.4"
"@types/node@16.9.1": "@types/node@16.9.1":
version "16.9.1" version "16.9.1"
@ -1259,9 +1259,9 @@
integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g== integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==
"@types/node@^20.0.0": "@types/node@^20.0.0":
version "20.14.15" version "20.14.14"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.15.tgz#e59477ab7bc7db1f80c85540bfd192a0becc588b" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.14.tgz#6b655d4a88623b0edb98300bb9dd2107225f885e"
integrity sha512-Fz1xDMCF/B00/tYSVMlmK7hVeLh7jE5f3B7X1/hmV0MJBwE27KlS7EvD/Yp+z1lm8mVhwV5w+n8jOZG8AfTlKw== integrity sha512-d64f00982fS9YoOgJkAMolK7MN8Iq3TDdVjchbYHdEmjth/DHowx82GnoA+tVUAN+7vxfYUgAzi+JXbKNd2SDQ==
dependencies: dependencies:
undici-types "~5.26.4" undici-types "~5.26.4"
@ -1332,9 +1332,9 @@
integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==
"@types/yargs@^17.0.8": "@types/yargs@^17.0.8":
version "17.0.33" version "17.0.32"
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.32.tgz#030774723a2f7faafebf645f4e5a48371dca6229"
integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==
dependencies: dependencies:
"@types/yargs-parser" "*" "@types/yargs-parser" "*"
@ -2018,7 +2018,7 @@ chalk@^2.4.1, chalk@^2.4.2:
escape-string-regexp "^1.0.5" escape-string-regexp "^1.0.5"
supports-color "^5.3.0" supports-color "^5.3.0"
chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.2: chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2:
version "4.1.2" version "4.1.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
@ -2601,13 +2601,6 @@ ee-first@1.1.1:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==
ejs@^3.1.10:
version "3.1.10"
resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b"
integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==
dependencies:
jake "^10.8.5"
electron-to-chromium@^1.4.668: electron-to-chromium@^1.4.668:
version "1.4.788" version "1.4.788"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.788.tgz#a3545959d5cfa0a266d3e551386c040be34e7e06" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.788.tgz#a3545959d5cfa0a266d3e551386c040be34e7e06"
@ -3021,13 +3014,6 @@ file-type@^16.5.4:
strtok3 "^6.2.4" strtok3 "^6.2.4"
token-types "^4.1.1" token-types "^4.1.1"
filelist@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5"
integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==
dependencies:
minimatch "^5.0.1"
fill-range@^7.1.1: fill-range@^7.1.1:
version "7.1.1" version "7.1.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
@ -3976,16 +3962,6 @@ jackspeak@^3.1.2:
optionalDependencies: optionalDependencies:
"@pkgjs/parseargs" "^0.11.0" "@pkgjs/parseargs" "^0.11.0"
jake@^10.8.5:
version "10.9.2"
resolved "https://registry.yarnpkg.com/jake/-/jake-10.9.2.tgz#6ae487e6a69afec3a5e167628996b59f35ae2b7f"
integrity sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==
dependencies:
async "^3.2.3"
chalk "^4.0.2"
filelist "^1.0.4"
minimatch "^3.1.2"
jest-changed-files@^29.7.0: jest-changed-files@^29.7.0:
version "29.7.0" version "29.7.0"
resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a"
@ -4807,6 +4783,13 @@ minimatch@9.0.3:
dependencies: dependencies:
brace-expansion "^2.0.1" brace-expansion "^2.0.1"
minimatch@9.0.5, minimatch@^9.0.4:
version "9.0.5"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
dependencies:
brace-expansion "^2.0.1"
minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
version "3.1.2" version "3.1.2"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
@ -4814,13 +4797,6 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
dependencies: dependencies:
brace-expansion "^1.1.7" brace-expansion "^1.1.7"
minimatch@^5.0.1:
version "5.1.6"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96"
integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==
dependencies:
brace-expansion "^2.0.1"
minimatch@^9.0.0: minimatch@^9.0.0:
version "9.0.4" version "9.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51"
@ -4828,13 +4804,6 @@ minimatch@^9.0.0:
dependencies: dependencies:
brace-expansion "^2.0.1" brace-expansion "^2.0.1"
minimatch@^9.0.4:
version "9.0.5"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
dependencies:
brace-expansion "^2.0.1"
minimist@^1.2.0: minimist@^1.2.0:
version "1.2.8" version "1.2.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
@ -5903,12 +5872,12 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
semver@^7.3.5, semver@^7.3.7, semver@^7.5.4: semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4:
version "7.6.2" version "7.6.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13"
integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==
semver@^7.5.3, semver@^7.6.0: semver@^7.6.0:
version "7.6.3" version "7.6.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
@ -6456,12 +6425,11 @@ ts-essentials@^10.0.0:
integrity sha512-77FHNJEyysF9+1s4G6eejuA1lxw7uMchT3ZPy3CIbh7GIunffpshtM8pTe5G6N5dpOzNevqRHew859ceLWVBfw== integrity sha512-77FHNJEyysF9+1s4G6eejuA1lxw7uMchT3ZPy3CIbh7GIunffpshtM8pTe5G6N5dpOzNevqRHew859ceLWVBfw==
ts-jest@^29.0.0: ts-jest@^29.0.0:
version "29.2.4" version "29.1.5"
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.4.tgz#38ccf487407d7a63054a72689f6f99b075e296e5" resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.5.tgz#d6c0471cc78bffa2cb4664a0a6741ef36cfe8f69"
integrity sha512-3d6tgDyhCI29HlpwIq87sNuI+3Q6GLTTCeYRHCs7vDz+/3GCMwEtV9jezLyl4ZtnBgx00I7hm8PCP8cTksMGrw== integrity sha512-UuClSYxM7byvvYfyWdFI+/2UxMmwNyJb0NPkZPQE2hew3RurV7l7zURgOHAd/1I1ZdPpe3GUsXNXAcN8TFKSIg==
dependencies: dependencies:
bs-logger "0.x" bs-logger "0.x"
ejs "^3.1.10"
fast-json-stable-stringify "2.x" fast-json-stable-stringify "2.x"
jest-util "^29.0.0" jest-util "^29.0.0"
json5 "^2.2.3" json5 "^2.2.3"
@ -6593,11 +6561,6 @@ undici-types@~5.26.4:
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
undici-types@~6.13.0:
version "6.13.0"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.13.0.tgz#e3e79220ab8c81ed1496b5812471afd7cf075ea5"
integrity sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==
undici@6.13.0: undici@6.13.0:
version "6.13.0" version "6.13.0"
resolved "https://registry.yarnpkg.com/undici/-/undici-6.13.0.tgz#7edbf4b7f3aac5f8a681d515151bf55cb3589d72" resolved "https://registry.yarnpkg.com/undici/-/undici-6.13.0.tgz#7edbf4b7f3aac5f8a681d515151bf55cb3589d72"