File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { logger } from "../utils/logger";
99
1010export function createEmptyMetadata ( ) : MetadataSchema {
1111 return {
12- version : "0.1" ,
1312 entries : { } ,
1413 stats : {
1514 totalEntries : 0 ,
@@ -171,21 +170,4 @@ export class MetadataManager {
171170 await release ( ) ;
172171 }
173172 }
174-
175- /**
176- * Get an entry by hash
177- */
178- getEntry (
179- metadata : MetadataSchema ,
180- hash : string ,
181- ) : TranslationEntry | undefined {
182- return metadata . entries [ hash ] ;
183- }
184-
185- /**
186- * Check if an entry exists
187- */
188- hasEntry ( metadata : MetadataSchema , hash : string ) : boolean {
189- return hash in metadata . entries ;
190- }
191173}
Original file line number Diff line number Diff line change @@ -288,11 +288,6 @@ export type BaseTranslationEntry<Type, Context> = {
288288 * Metadata file schema
289289 */
290290export interface MetadataSchema {
291- /**
292- * Schema version
293- */
294- version : string ;
295-
296291 /**
297292 * All translation entries indexed by hash
298293 */
You can’t perform that action at this time.
0 commit comments