update to nuxt 4

This commit is contained in:
DecDuck
2025-09-20 11:20:49 +10:00
parent b4f9b77809
commit 2db8e753b7
313 changed files with 508 additions and 512 deletions

View File

@ -1,4 +1,4 @@
import { HardwarePlatform } from "~/prisma/client/enums";
import { HardwarePlatform } from "~~/prisma/client/enums";
export function parsePlatform(platform: string) {
switch (platform.toLowerCase()) {

View File

@ -80,11 +80,12 @@ export class PriorityListIndexed<T> extends PriorityList<T> {
override pop(position?: number): PriorityTagged<T> {
const value = super.pop(position);
if(!value) return undefined!;
const index = this.getIndex(value.object);
this.indexMap.delete(index);
return value;
return value!;
}
get(index: string) {