mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrated home page
This commit is contained in:
1 parent
fcac6e36fd
commit
292df5f5d9
21 files changed
+457
-288
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { parse } from 'protobufjs';
|
||||
import protobuf from 'protobufjs';
|
||||
import average_definitions from '../../protos/average_definitions.proto';
|
||||
import reviews from '../../protos/reviews.proto';
|
||||
|
||||
@@ -7,5 +7,5 @@ export type ProtoSource = keyof typeof protos;
|
||||
const protos = { reviews, average_definitions };
|
||||
|
||||
export function lookupProtobufType(source: ProtoSource, type: string) {
|
||||
return parse(protos[source]).root.lookupType(type);
|
||||
return protobuf.parse(protos[source]).root.lookupType(type);
|
||||
}
|
||||
Reference in new issue
Block a user