Redesign landing and generate Proto docs

This commit is contained in:
rosetta
2026-07-30 17:49:58 -07:00
parent b902298ad6
commit 5d26ef6d89
41 changed files with 5633 additions and 942 deletions

42
src/types/proto.ts Normal file
View File

@@ -0,0 +1,42 @@
export interface ProtoField {
id: number;
name: string;
type: string;
optional: boolean;
description: string;
}
export interface ProtoPacket {
name: string;
id: number;
description: string;
fields: ProtoField[];
}
export interface ProtoType {
name: string;
description: string;
fields: ProtoField[];
}
export interface ProtoEnumValue {
id: number;
name: string;
description: string;
}
export interface ProtoEnum {
name: string;
type: string;
description: string;
values: ProtoEnumValue[];
}
export interface ProtoLayer {
version: number;
description: string;
source: string;
enums: ProtoEnum[];
types: ProtoType[];
packets: ProtoPacket[];
}