File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { useState , useEffect } from 'react'
2- import type { generalFormatedItemType } from 'types/savefile ' ;
2+ import type { generalFormatedItemType } from 'types/displayDataTypes ' ;
33
44interface dishesCookedType {
55 cookedItems : generalFormatedItemType [ ] ;
Original file line number Diff line number Diff line change 11import React , { useState , useEffect } from 'react'
2- import type { cropsShippedType } from 'types/savefile ' ;
2+ import type { cropsShippedType } from 'types/displayDataTypes ' ;
33
44interface CropsShippedWrapperType {
55 cropsShipped : cropsShippedType ;
Original file line number Diff line number Diff line change @@ -12,23 +12,25 @@ import MonsterCat from '@utility/monsterCategorie.json' with { type: "json" };
1212import Museum from '@utility/museum.json' with { type : "json" } ;
1313import townSR from './TownSpecialReq.json' with { type : "json" } ;
1414import QiSR from './QiSpecialReq.json' with { type : "json" } ;
15- import type {
16- cropsShippedType ,
17- experienceType ,
18- formatedFriendshipDataType ,
19- formatedMonsterDataType ,
15+ import type {
2016 friendshipDataType ,
21- gameLocationType ,
22- generalFormatedItemType ,
23- itemFoundType ,
17+ gameLocationType ,
2418 itemsType ,
25- itemType ,
26- maxMonoType ,
27- playerType ,
28- professionsType ,
19+ itemType ,
20+ playerType ,
2921 questType ,
3022 specialOrderType
3123} from 'types/savefile' ;
24+ import type {
25+ cropsShippedType ,
26+ generalFormatedItemType ,
27+ professionsType ,
28+ maxMonoType ,
29+ itemFoundType ,
30+ experienceType ,
31+ formatedFriendshipDataType ,
32+ formatedMonsterDataType
33+ } from 'types/displayDataTypes' ;
3234import type { fullPlayerDataType , museumCollectionType } from 'types/displayDataTypes' ;
3335
3436//Gets the info from the farm hands as an array of the same type
Original file line number Diff line number Diff line change @@ -266,56 +266,6 @@ export type playerType = {
266266 fishCaught : itemType ,
267267}
268268
269- export type professionsType = {
270- id : number ;
271- name : string ;
272- }
273-
274- export type cropsShippedType = {
275- hasMonoculture : boolean ;
276- hasPolyculture : boolean ;
277- mono_extras : generalFormatedItemType [ ] ;
278- poly_crops : generalFormatedItemType [ ] ;
279- maxMono : null | maxMonoType ;
280- } ;
281-
282- export type maxMonoType = {
283- name : string ;
284- shipped : number ;
285- }
286-
287- export type generalFormatedItemType = {
288- id ?: number ;
289- image : string ;
290- name : string ;
291- link ?: string ;
292- knownDish ?: boolean ;
293- times ?: number ;
294- shipped ?: number ;
295- fished ?: boolean ;
296- found ?: boolean ;
297- inMuseum ?: boolean ;
298- }
299-
300- export type formatedFriendshipDataType = {
301- name : string ;
302- dateable : boolean ;
303- points : number ;
304- level : number ;
305- lvlup : number ;
306- }
307- export type formatedMonsterDataType = {
308- category : string ;
309- goal : number ;
310- images : monsterImageType [ ] ;
311- timesKilled : number ;
312- } ;
313-
314- type monsterImageType = {
315- img : string ;
316- name : string ;
317- }
318-
319269type batType = {
320270 goal : number ;
321271 monsters : string [ ] ;
@@ -343,11 +293,6 @@ type friendshipDataItemType = {
343293 item : friendshipDataType [ ]
344294}
345295
346- export type itemFoundType = {
347- item : number | string ,
348- timesFound : number
349- }
350-
351296export type friendshipDataType = {
352297 key : {
353298 string : "Robin"
@@ -541,13 +486,4 @@ export type questType = {
541486 dueDate : number ;
542487 duration : string ;
543488 questState : string ;
544- }
545-
546- export type experienceType = {
547- levelInfo : {
548- id : number ;
549- val : number ;
550- } ;
551- skill : string ;
552- xp : number ;
553- } ;
489+ }
You can’t perform that action at this time.
0 commit comments