Everything to lib #548
Annotations
20 errors
|
Lint:
src/lib/chat/command.ts#L56
Property 'displayRole' does not exist on type 'PlayerDatabase'.
|
|
Lint:
src/lib/chat/command.ts#L53
Property 'chatTextColor' does not exist on type '{ readonly role: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester"; readonly prevRole?: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester" | undefined; readonly unlockedPortals?: readonly string[] | undefined; readonly quests?: { readonly active: readonly { readonly id: string; readonly i: number; readonly db?: {} | undefined; }[]; readonly completed: readonly string[]; } | undefined; readonly achivs?: { readonly s: readonly { readonly id: string; readonly db: {}; readonly d?: number | undefined; readonly r?: number | undefined; }[]; } | undefined; readonly speedrunTarget?: { readonly target: string; readonly finished: boolean; } | undefined; readonly inv: InventoryTypeName; readonly survival: { readonly newbie?: 1 | undefined; readonly rtpElytra?: 1 | undefined; readonly anarchy?: { readonly x: number; readonly y: number; readonly z: number; } | undefined; readonly deadAt2?: { readonly location: { readonly x: number; readonly y: number; readonly z: number; }; readonly dimensionType: ShortcutDimensions; } | undefined; readonly gravestoneId?: string | undefined; }; readonly restorePoint?: readonly string[] | undefined; readonly name?: string | undefined; }'.
|
|
Lint:
src/lib/chat/command.ts#L52
Property 'displayRole' does not exist on type '{ readonly role: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester"; readonly prevRole?: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester" | undefined; readonly unlockedPortals?: readonly string[] | undefined; readonly quests?: { readonly active: readonly { readonly id: string; readonly i: number; readonly db?: {} | undefined; }[]; readonly completed: readonly string[]; } | undefined; readonly achivs?: { readonly s: readonly { readonly id: string; readonly db: {}; readonly d?: number | undefined; readonly r?: number | undefined; }[]; } | undefined; readonly speedrunTarget?: { readonly target: string; readonly finished: boolean; } | undefined; readonly inv: InventoryTypeName; readonly survival: { readonly newbie?: 1 | undefined; readonly rtpElytra?: 1 | undefined; readonly anarchy?: { readonly x: number; readonly y: number; readonly z: number; } | undefined; readonly deadAt2?: { readonly location: { readonly x: number; readonly y: number; readonly z: number; }; readonly dimensionType: ShortcutDimensions; } | undefined; readonly gravestoneId?: string | undefined; }; readonly restorePoint?: readonly string[] | undefined; readonly name?: string | undefined; }'.
|
|
Lint:
src/lib/chat/command.ts#L44
Property 'emoji' does not exist on type 'PlayerDatabase'.
|
|
Lint:
src/lib/chat/command.ts#L41
Property 'nickname' does not exist on type '{ money: string; leaf: string; online: string; food: string; armor: string; pickaxe: string; minecoin: string; token: string; shield: { green: string; yellow: string; }; custom: { socials: { discord: string; youtube: string; telegram: string; instagram: string; twitch: string; }; armor: { leather: string; chainmail: string; golden: string; iron: string; diamond: string; netherite: string; }; swords: { wooden: string; stone: string; golden: string; iron: string; diamond: string; netherite: string; }; kill: string; sword: string; }; buttons: { code_builder: string; immersive_reader: string; xbox: { a: string; b: string; x: string; y: string; lb: string; rb: string; lt: string; rt: string; select: string; start: string; stick_left: string; stick_right: string; dpad_left: string; dpad_right: string; dpad_up: string; dpad_down: string; }; playstation: { cross: string; circle: string; square: string; triangle: string; l1: string; r1: string; l2: string; r2: string; select: string; start: string; stick_left: string; stick_right: string; dpad_left: string; dpad_right: string; dpad_up: string; dpad_down: string; }; switch: { a: string; b: string; x: string; y: string; l: string; r: string; zl: string; zr: string; '-': string; '+': string; stick_left: string; stick_right: string; dpad_left: string; dpad_right: string; dpad_up: string; dpad_down: string; }; windows: { mouse_left: string; mouse_right: string; mouse_middle: string; arrow_left: string; arrow_right: string; arrow_foward: string; arrow_backward: string; jump: string; crouch: string; fly_up: string; fly_down: string; }; windows_mr: { grab_left: string; grab_right: string; menu: string; stick_left: string; stick_right: string; touchpad_left: string; touchpad_horizontal_left: string; touchpad_vertical_left: string; touchpad_right: string; touchpad_horizontal_right: string; touchpad_vertical_right: string; trigger_left: string; trigger_right: string; windows: string; }; rift: { 0: string; a: string; b: string; grab_left: string; grab_right: string; stick_left: string; stick_right: string; trigger_left: string; trigger_right: string; x: string; y: string; }; }; }'.
|
|
Lint:
src/lib/chat/command.ts#L38
Property 'emoji' does not exist on type 'PlayerDatabase'.
|
|
Lint:
src/lib/chat/command.ts#L36
Property 'emoji' does not exist on type '{ readonly role: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester"; readonly prevRole?: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester" | undefined; readonly unlockedPortals?: readonly string[] | undefined; readonly quests?: { readonly active: readonly { readonly id: string; readonly i: number; readonly db?: {} | undefined; }[]; readonly completed: readonly string[]; } | undefined; readonly achivs?: { readonly s: readonly { readonly id: string; readonly db: {}; readonly d?: number | undefined; readonly r?: number | undefined; }[]; } | undefined; readonly speedrunTarget?: { readonly target: string; readonly finished: boolean; } | undefined; readonly inv: InventoryTypeName; readonly survival: { readonly newbie?: 1 | undefined; readonly rtpElytra?: 1 | undefined; readonly anarchy?: { readonly x: number; readonly y: number; readonly z: number; } | undefined; readonly deadAt2?: { readonly location: { readonly x: number; readonly y: number; readonly z: number; }; readonly dimensionType: ShortcutDimensions; } | undefined; readonly gravestoneId?: string | undefined; }; readonly restorePoint?: readonly string[] | undefined; readonly name?: string | undefined; }'.
|
|
Lint:
src/lib/chat/command.ts#L28
Property 'chatTextColor' does not exist on type '{ readonly role: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester"; readonly prevRole?: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester" | undefined; readonly unlockedPortals?: readonly string[] | undefined; readonly quests?: { readonly active: readonly { readonly id: string; readonly i: number; readonly db?: {} | undefined; }[]; readonly completed: readonly string[]; } | undefined; readonly achivs?: { readonly s: readonly { readonly id: string; readonly db: {}; readonly d?: number | undefined; readonly r?: number | undefined; }[]; } | undefined; readonly speedrunTarget?: { readonly target: string; readonly finished: boolean; } | undefined; readonly inv: InventoryTypeName; readonly survival: { readonly newbie?: 1 | undefined; readonly rtpElytra?: 1 | undefined; readonly anarchy?: { readonly x: number; readonly y: number; readonly z: number; } | undefined; readonly deadAt2?: { readonly location: { readonly x: number; readonly y: number; readonly z: number; }; readonly dimensionType: ShortcutDimensions; } | undefined; readonly gravestoneId?: string | undefined; }; readonly restorePoint?: readonly string[] | undefined; readonly name?: string | undefined; }'.
|
|
Lint:
src/lib/chat/command.ts#L28
Property 'emoji' does not exist on type '{ readonly role: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester"; readonly prevRole?: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester" | undefined; readonly unlockedPortals?: readonly string[] | undefined; readonly quests?: { readonly active: readonly { readonly id: string; readonly i: number; readonly db?: {} | undefined; }[]; readonly completed: readonly string[]; } | undefined; readonly achivs?: { readonly s: readonly { readonly id: string; readonly db: {}; readonly d?: number | undefined; readonly r?: number | undefined; }[]; } | undefined; readonly speedrunTarget?: { readonly target: string; readonly finished: boolean; } | undefined; readonly inv: InventoryTypeName; readonly survival: { readonly newbie?: 1 | undefined; readonly rtpElytra?: 1 | undefined; readonly anarchy?: { readonly x: number; readonly y: number; readonly z: number; } | undefined; readonly deadAt2?: { readonly location: { readonly x: number; readonly y: number; readonly z: number; }; readonly dimensionType: ShortcutDimensions; } | undefined; readonly gravestoneId?: string | undefined; }; readonly restorePoint?: readonly string[] | undefined; readonly name?: string | undefined; }'.
|
|
Lint:
src/lib/chat/command.ts#L28
Property 'displayRole' does not exist on type '{ readonly role: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester"; readonly prevRole?: "creator" | "curator" | "techAdmin" | "chefAdmin" | "admin" | "moderator" | "helper" | "grandBuilder" | "builder" | "member" | "spectator" | "tester" | undefined; readonly unlockedPortals?: readonly string[] | undefined; readonly quests?: { readonly active: readonly { readonly id: string; readonly i: number; readonly db?: {} | undefined; }[]; readonly completed: readonly string[]; } | undefined; readonly achivs?: { readonly s: readonly { readonly id: string; readonly db: {}; readonly d?: number | undefined; readonly r?: number | undefined; }[]; } | undefined; readonly speedrunTarget?: { readonly target: string; readonly finished: boolean; } | undefined; readonly inv: InventoryTypeName; readonly survival: { readonly newbie?: 1 | undefined; readonly rtpElytra?: 1 | undefined; readonly anarchy?: { readonly x: number; readonly y: number; readonly z: number; } | undefined; readonly deadAt2?: { readonly location: { readonly x: number; readonly y: number; readonly z: number; }; readonly dimensionType: ShortcutDimensions; } | undefined; readonly gravestoneId?: string | undefined; }; readonly restorePoint?: readonly string[] | undefined; readonly name?: string | undefined; }'.
|
|
src/lib/location.test.ts > locationWithRadius > should load and update location with radius from Settings:
src/lib/location.test.ts#L196
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/lib/location.test.ts:196:23
|
|
src/lib/location.test.ts > locationWithRotation > should teleport:
src/lib/extensions/world.ts#L381
Error: Dimensions are not available
❯ World.get overworld [as overworld] src/lib/extensions/world.ts:381:11
❯ LocationWithRotation.teleportOptions src/lib/location.ts:184:22
❯ LocationWithRotation.teleportOptions src/lib/location.ts:201:19
❯ LocationWithRotation.teleport src/lib/location.ts:190:75
❯ src/lib/location.test.ts:157:9
|
|
src/lib/location.test.ts > locationWithRotation > should emit event on location with rotation change:
src/lib/location.test.ts#L146
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Number of calls: 0
❯ src/lib/location.test.ts:146:22
|
|
src/lib/location.test.ts > locationWithRotation > should load, floor and update location with rotation from Settings:
src/lib/location.test.ts#L130
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/lib/location.test.ts:130:23
|
|
src/lib/location.test.ts > locationWithRotation > should load and update location with rotation from Settings:
src/lib/location.test.ts#L116
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/lib/location.test.ts:116:23
|
|
src/lib/location.test.ts > location > should teleport:
src/lib/extensions/world.ts#L381
Error: Dimensions are not available
❯ World.get overworld [as overworld] src/lib/extensions/world.ts:381:11
❯ _Location.teleportOptions src/lib/location.ts:184:22
❯ _Location.teleport src/lib/location.ts:190:75
❯ src/lib/location.test.ts:81:9
|
|
src/lib/location.test.ts > location > should not load invalid location:
src/lib/location.test.ts#L71
Error: Snapshot `location > should not load invalid location 1` mismatched
Expected: "[TypeError: §cInvalid location, expected '§fx y z§c' but recieved '§fin va lid§c']"
Received: "undefined"
❯ src/lib/location.test.ts:71:48
|
|
src/lib/location.test.ts > location > should emit event on location change:
src/lib/location.test.ts#L58
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Number of calls: 0
❯ src/lib/location.test.ts:58:22
|
|
src/lib/location.test.ts > location > should load and update location from Settings:
src/lib/location.test.ts#L39
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/lib/location.test.ts:39:23
|
|
src/lib/location.test.ts > location > should create a location with default values:
src/lib/location.test.ts#L31
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/lib/location.test.ts:31:23
|