mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +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",
|
"Turretless",
|
||||||
"TYPELESS",
|
"TYPELESS",
|
||||||
"ubjson",
|
"ubjson",
|
||||||
|
"Uncompiled",
|
||||||
"Unicum",
|
"Unicum",
|
||||||
"UNLOCALIZED",
|
"UNLOCALIZED",
|
||||||
"UNORM",
|
"UNORM",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { MessageFns } from '../protos';
|
|||||||
|
|
||||||
export class CatalogItemAccessor {
|
export class CatalogItemAccessor {
|
||||||
public id: string;
|
public id: string;
|
||||||
private components: Record<string, Any> = {};
|
components: Record<string, Any> = {};
|
||||||
|
|
||||||
constructor(item: CatalogItem) {
|
constructor(item: CatalogItem) {
|
||||||
this.id = item.catalog_id;
|
this.id = item.catalog_id;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { BlitzKitTankCatalogComponent } from '@protos/blitzkit_static_tank_compo
|
|||||||
import { CatalogItemAccessor } from './catalogItemAccessor';
|
import { CatalogItemAccessor } from './catalogItemAccessor';
|
||||||
|
|
||||||
export class UnpackedMetadataAccessor {
|
export class UnpackedMetadataAccessor {
|
||||||
private items: Record<string, CatalogItemAccessor> = {};
|
items: Record<string, CatalogItemAccessor> = {};
|
||||||
|
|
||||||
constructor(metadata: Metadata) {
|
constructor(metadata: Metadata) {
|
||||||
for (const item of metadata.catalog_items) {
|
for (const item of metadata.catalog_items) {
|
||||||
|
|||||||
@@ -25,7 +25,9 @@ async function compile(root: string) {
|
|||||||
await rm(`${root}/${file}`);
|
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)) {
|
for (const files of chunk(allFiles, 32)) {
|
||||||
const args = [
|
const args = [
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import type { ButtonProps } from '@radix-ui/themes';
|
|||||||
|
|
||||||
export interface Tool {
|
export interface Tool {
|
||||||
id: string;
|
id: string;
|
||||||
enabled: boolean;
|
enabled?: boolean;
|
||||||
strings?: string;
|
strings?: string;
|
||||||
significant?: boolean;
|
significant?: boolean;
|
||||||
button: { color: ButtonProps['color']; contrast?: boolean };
|
button: { color: ButtonProps['color']; contrast?: boolean };
|
||||||
@@ -10,7 +10,6 @@ export interface Tool {
|
|||||||
|
|
||||||
export const tanksTool: Tool = {
|
export const tanksTool: Tool = {
|
||||||
id: 'tanks',
|
id: 'tanks',
|
||||||
enabled: true,
|
|
||||||
strings: 'tankopedia',
|
strings: 'tankopedia',
|
||||||
significant: true,
|
significant: true,
|
||||||
button: { color: 'purple' },
|
button: { color: 'purple' },
|
||||||
@@ -18,25 +17,21 @@ export const tanksTool: Tool = {
|
|||||||
|
|
||||||
export const compareTool: Tool = {
|
export const compareTool: Tool = {
|
||||||
id: 'compare',
|
id: 'compare',
|
||||||
enabled: true,
|
|
||||||
button: { color: 'crimson' },
|
button: { color: 'crimson' },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const performanceTool: Tool = {
|
export const performanceTool: Tool = {
|
||||||
id: 'performance',
|
id: 'performance',
|
||||||
enabled: true,
|
|
||||||
button: { color: 'jade' },
|
button: { color: 'jade' },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const guessTool: Tool = {
|
export const guessTool: Tool = {
|
||||||
id: 'guess',
|
id: 'guess',
|
||||||
enabled: false,
|
|
||||||
button: { color: 'bronze' },
|
button: { color: 'bronze' },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const chartsTool: Tool = {
|
export const chartsTool: Tool = {
|
||||||
id: 'charts',
|
id: 'charts',
|
||||||
enabled: false,
|
|
||||||
button: { color: 'bronze' },
|
button: { color: 'bronze' },
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -48,26 +43,22 @@ export const galleryTool: Tool = {
|
|||||||
|
|
||||||
export const sessionTool: Tool = {
|
export const sessionTool: Tool = {
|
||||||
id: 'session',
|
id: 'session',
|
||||||
enabled: true,
|
|
||||||
button: { color: 'blue' },
|
button: { color: 'blue' },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const tierListTool: Tool = {
|
export const tierListTool: Tool = {
|
||||||
id: 'tier-list',
|
id: 'tier-list',
|
||||||
enabled: true,
|
|
||||||
strings: 'tier_list',
|
strings: 'tier_list',
|
||||||
button: { color: 'orange' },
|
button: { color: 'orange' },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const embedTool: Tool = {
|
export const embedTool: Tool = {
|
||||||
id: 'embed',
|
id: 'embed',
|
||||||
enabled: true,
|
|
||||||
button: { color: 'cyan' },
|
button: { color: 'cyan' },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const ratingTool: Tool = {
|
export const ratingTool: Tool = {
|
||||||
id: 'rating',
|
id: 'rating',
|
||||||
enabled: false,
|
|
||||||
button: { color: 'orange' },
|
button: { color: 'orange' },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Submodule submodules/blitzkit-closed updated: 57779c5fda...0ce4f61818.
Reference in new issue
Block a user