feat(import): boosters #2836
@ -6,6 +6,7 @@ import type {
 | 
				
			|||||||
} from "../types/inventoryTypes/commonInventoryTypes.ts";
 | 
					} from "../types/inventoryTypes/commonInventoryTypes.ts";
 | 
				
			||||||
import type { IMongoDate } from "../types/commonTypes.ts";
 | 
					import type { IMongoDate } from "../types/commonTypes.ts";
 | 
				
			||||||
import type {
 | 
					import type {
 | 
				
			||||||
 | 
					    IBooster,
 | 
				
			||||||
    IDialogueClient,
 | 
					    IDialogueClient,
 | 
				
			||||||
    IDialogueDatabase,
 | 
					    IDialogueDatabase,
 | 
				
			||||||
    IDialogueHistoryClient,
 | 
					    IDialogueHistoryClient,
 | 
				
			||||||
@ -463,6 +464,9 @@ export const importInventory = (db: TInventoryDatabaseDocument, client: Partial<
 | 
				
			|||||||
    if (client.Accolades !== undefined) {
 | 
					    if (client.Accolades !== undefined) {
 | 
				
			||||||
        db.Accolades = client.Accolades;
 | 
					        db.Accolades = client.Accolades;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    if (client.Boosters !== undefined) {
 | 
				
			||||||
 | 
					        replaceArray<IBooster>(db.Boosters, client.Boosters);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const importLoadOutConfig = (client: ILoadoutConfigClient): ILoadoutConfigDatabase => {
 | 
					export const importLoadOutConfig = (client: ILoadoutConfigClient): ILoadoutConfigDatabase => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user