Skip to content

Make fromUuid generic and more intelligent #7405

Make fromUuid generic and more intelligent

Make fromUuid generic and more intelligent #7405

Triggered via push January 2, 2025 15:06
Status Failure
Total duration 46s
Artifacts 1

checks.yml

on: push
Check Merge to Maintenance
2s
Check Merge to Maintenance
Test Code Base
32s
Test Code Base
Type Check Code Base
29s
Type Check Code Base
Lint Code Base
37s
Lint Code Base
Merge To Maintenance
0s
Merge To Maintenance
Report Test Results
0s
Report Test Results
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L65
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{}>'. ❯ tests/types/utils.test-d.ts:65:28
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L66
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{}>'. ❯ tests/types/utils.test-d.ts:66:28
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L78
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{}>'. ❯ tests/types/utils.test-d.ts:78:34
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L79
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{}>'. ❯ tests/types/utils.test-d.ts:79:34
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L90
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{}>'. ❯ tests/types/utils.test-d.ts:90:29
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L91
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{}>'. ❯ tests/types/utils.test-d.ts:91:29
tests/foundry/client/game.test-d.ts: tests/foundry/client/game.test-d.ts#L35
TypeCheckError: Type 'Module' does not satisfy the constraint '{ [x string] never; [__PackageSchema] { [x string] { name string | undefined; readonly boolean; label string; nullable boolean; required boolean; initial unknown; gmOnly boolean; hint string; ... 12 more ...; applyChange (value unknown, model Any, change EffectChangeData) => unknown; }; [x number]...'. Types of property '[__PackageSchema]' are incompatible. Type 'Schema' is not assignable to type '{ [x string] { name string | undefined; readonly boolean; label string; nullable boolean; required boolean; initial unknown; gmOnly boolean; hint string; validationError string; validate (value unknown, options? ValidationOptions<...> | undefined) => void | DataModelValidationFailure; ... 10 more ...; ...'. 'string' index signatures are incompatible. Type 'Any' is not assignable to type '{ name string | undefined; readonly boolean; label string; nullable boolean; required boolean; initial unknown; gmOnly boolean; hint string; validationError string; validate (value unknown, options? ValidationOptions<...> | undefined) => void | DataModelValidationFailure; ... 10 more ...; applyChange (v...'. Types of property 'options' are incompatible. Type 'Options<any>' is missing the following properties from type 'never[]' length, pop, push, concat, and 34 more. ❯ tests/foundry/client/game.test-d.ts:35:66
tests/foundry/client/game.test-d.ts: tests/foundry/client/game.test-d.ts#L92
TypeCheckError: Type '"base" | "armor" | "weapon"' does not satisfy the constraint '`Expected literal string base, Actual literal string ${`${string}.${string}` & {}}` | `Expected literal string armor, Actual literal string ${`${string}.${string}` & {}}` | `Expected literal string weapon, Actual literal string ${`${string}.${string}` & {}}`'. Type '"base"' is not assignable to type '`Expected literal string base, Actual literal string ${`${string}.${string}` & {}}` | `Expected literal string armor, Actual literal string ${`${string}.${string}` & {}}` | `Expected literal string weapon, Actual literal string ${`${string}.${string}` & {}}`'. ❯ tests/foundry/client/game.test-d.ts:92:39
tests/foundry/client/game.test-d.ts: tests/foundry/client/game.test-d.ts#L95
TypeCheckError: Type 'typeof _CustomItemClass' does not satisfy the constraint 'Type'. ❯ tests/foundry/client/game.test-d.ts:95:48
tests/foundry/client/game.test-d.ts: tests/foundry/client/game.test-d.ts#L96
TypeCheckError: Type '"base" | "armor" | "weapon"' does not satisfy the constraint '"Expected literal string base, Actual never" | "Expected literal string armor, Actual never" | "Expected literal string weapon, Actual never"'. Type '"base"' is not assignable to type '"Expected literal string base, Actual never" | "Expected literal string armor, Actual never" | "Expected literal string weapon, Actual never"'. ❯ tests/foundry/client/game.test-d.ts:96:40
Lint Code Base
Process completed with exit code 1.
Check Merge to Maintenance
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Type Check Code Base
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Code Base
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint Code Base
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
main-test-results
13.2 KB