feat: state machines #20
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
deploy-pages.yml
on: push
main - Build and deploy
35s
Annotations
10 errors and 10 warnings
main - Build and deploy:
src/App.tsx#L11
Expected 2 arguments, but got 1.
|
main - Build and deploy:
src/App.tsx#L17
Argument of type '{ type: "onEndNight"; }' is not assignable to parameter of type 'Event<{ type: "onIncrementHype"; hype: number; } | { type: "onDecrementHype"; hype: number; } | { type: "onAddPerson"; } | { type: "onRemovePerson"; id: string; } | { type: "onRemovePersonFromAllHotspots"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, BaseActionObject, ServiceMap>>; } | { type: "onStart"; } | { type: "onPause"; } | { type: "onGameOver"; } | { type: "onBlackout"; } | { type: "onPolice"; } | { type: "onFire"; }> | SingleOrArray<Event<{ type: "onIncrementHype"; hype: number; } | { type: "onDecrementHype"; hype: number; } | { type: "onAddPerson"; } | { type: "onRemovePerson"; id: string; } | { type: "onRemovePersonFromAllHotspots"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, BaseActionObject, ServiceMap>>; } | { type: "onStart"; } | { type: "onPause"; } | { type: "onGameOver"; } | { type: "onBlackout"; } | { type: "onPolice"; } | { type: "onFire"; }>>'.
|
main - Build and deploy:
src/components/gl/House/Appartment_v4.tsx#L7
'useCursor' is declared but its value is never read.
|
main - Build and deploy:
src/components/gl/House/Appartment_v4.tsx#L109
'ref' is declared but its value is never read.
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L2
'Text' is declared but its value is never read.
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L4
'useSelector' is declared but its value is never read.
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L6
'Vector3' is declared but its value is never read.
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L62
Argument of type '{ type: "onAddPerson"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, BaseActionObject, ServiceMap>>; }' is not assignable to parameter of type 'Event<{ type: "onUpdatePerson"; } | { type: "onRegisterPerson"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, BaseActionObject, ServiceMap>>; } | { type: "onUnregisterPerson"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, BaseActionObject, ServiceMap>>; }> | SingleOrArray<Event<{ type: "onUpdatePerson"; } | { type: "onRegisterPerson"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, BaseActionObject, ServiceMap>>; } | { type: "onUnregisterPerson"; person: ActorRefWithDeprecatedState<{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee"; } | { type: "triggerDrink"; } | { type: "triggerStart"; } | { type: "onUnregisterFromAllHotspot"; } | { type: "onTick"; }, { value: any; context: { action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }; }, ResolveTypegenMeta<Typegen0, { type: "onDrag"; } | { type: "onDrop"; action: "none" | "drink" | "piss"; } | { type: "triggerPee
|
main - Build and deploy:
src/components/gl/Person/Person.tsx#L99
Property 'hotspot' does not exist on type '{ action: "none" | "drink" | "piss"; meters: { thirst: number; hype: number; pee: number; }; name: string; }'.
|
main - Build and deploy:
src/components/gl/Person/Person.tsx#L154
Type '"onUnregisterHotspot"' is not assignable to type '"onTick"'.
|
main - Build and deploy:
src/components/gl/Environment/DropSpots/DropSpot.tsx#L9
'DropSpot' is assigned a value but never used
|
main - Build and deploy:
src/components/gl/House/Appartment_v4.tsx#L7
'useCursor' is defined but never used
|
main - Build and deploy:
src/components/gl/House/Appartment_v4.tsx#L109
'ref' is defined but never used. Allowed unused args must match /^_/u
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L2
'Text' is defined but never used
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L4
'useSelector' is defined but never used
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspot.tsx#L6
'Vector3' is defined but never used
|
main - Build and deploy:
src/components/gl/House/HotSpots/AppartmentHotspotStats.tsx#L12
'AppartmentHotspotStats' is assigned a value but never used
|
main - Build and deploy:
src/components/gl/Person/Statbar.tsx#L32
'Statbar' is assigned a value but never used
|
main - Build and deploy:
src/components/gl/World/Cam.tsx#L2
'useControls' is defined but never used
|
main - Build and deploy:
src/machines/person.machine.ts#L2
'ActorRefFrom' is defined but never used
|