feat: remove ds

This commit is contained in:
TrèsAbhi committed 2025-05-28 11:48:40 -05:00
1 parent 4129a1964f
commit e7386ff766
6 files changed
+8 -14

No files matched your search

+1
View File
@@ -191,6 +191,7 @@
"Turretless",
"TYPELESS",
"ubjson",
"Uncompiled",
"Unicum",
"UNLOCALIZED",
"UNORM",
@@ -4,7 +4,7 @@ import { MessageFns } from '../protos';
export class CatalogItemAccessor {
public id: string;
private components: Record<string, Any> = {};
components: Record<string, Any> = {};
constructor(item: CatalogItem) {
this.id = item.catalog_id;
+1 -1
View File
@@ -6,7 +6,7 @@ import { BlitzKitTankCatalogComponent } from '@protos/blitzkit_static_tank_compo
import { CatalogItemAccessor } from './catalogItemAccessor';
export class UnpackedMetadataAccessor {
private items: Record<string, CatalogItemAccessor> = {};
items: Record<string, CatalogItemAccessor> = {};
constructor(metadata: Metadata) {
for (const item of metadata.catalog_items) {
+3 -1
View File
@@ -25,7 +25,9 @@ async function compile(root: string) {
await rm(`${root}/${file}`);
}
const allFiles = filesRaw.filter((file) => file.endsWith('.proto'));
const allFiles = filesRaw.filter(
(file) => file.endsWith('.proto') && !file.startsWith('_'),
);
for (const files of chunk(allFiles, 32)) {
const args = [
+1 -10
View File
@@ -2,7 +2,7 @@ import type { ButtonProps } from '@radix-ui/themes';
export interface Tool {
id: string;
enabled: boolean;
enabled?: boolean;
strings?: string;
significant?: boolean;
button: { color: ButtonProps['color']; contrast?: boolean };
@@ -10,7 +10,6 @@ export interface Tool {
export const tanksTool: Tool = {
id: 'tanks',
enabled: true,
strings: 'tankopedia',
significant: true,
button: { color: 'purple' },
@@ -18,25 +17,21 @@ export const tanksTool: Tool = {
export const compareTool: Tool = {
id: 'compare',
enabled: true,
button: { color: 'crimson' },
};
export const performanceTool: Tool = {
id: 'performance',
enabled: true,
button: { color: 'jade' },
};
export const guessTool: Tool = {
id: 'guess',
enabled: false,
button: { color: 'bronze' },
};
export const chartsTool: Tool = {
id: 'charts',
enabled: false,
button: { color: 'bronze' },
};
@@ -48,26 +43,22 @@ export const galleryTool: Tool = {
export const sessionTool: Tool = {
id: 'session',
enabled: true,
button: { color: 'blue' },
};
export const tierListTool: Tool = {
id: 'tier-list',
enabled: true,
strings: 'tier_list',
button: { color: 'orange' },
};
export const embedTool: Tool = {
id: 'embed',
enabled: true,
button: { color: 'cyan' },
};
export const ratingTool: Tool = {
id: 'rating',
enabled: false,
button: { color: 'orange' },
};