mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: remove ds
This commit is contained in:
1 parent
4129a1964f
commit
e7386ff766
6 files changed
+8
-14
No files matched your search
Vendored
+1
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -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' },
|
||||
};
|
||||
|
||||
|
||||
Submodule submodules/blitzkit-closed updated: 57779c5fda...0ce4f61818.
Reference in new issue
Block a user