Make sure to include DataModel in the inheritance chain of TypeDataMo… #7342
checks.yml
on: push
Check Merge to Maintenance
3s
Test Code Base
38s
Type Check Code Base
24s
Lint Code Base
36s
Merge To Maintenance
0s
Report Test Results
0s
Annotations
11 errors and 4 warnings
Lint Code Base
Process completed with exit code 1.
|
tests/types/configuredDocuments.test-d.ts:
tests/types/configuredDocuments.test-d.ts#L15
TypeCheckError: Type 'CustomItemClass' does not satisfy the constraint '"Expected ..., Actual never"'.
❯ tests/types/configuredDocuments.test-d.ts:15:55
|
tests/types/utils.test-d.ts:
tests/types/utils.test-d.ts#L62
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{ [x string] unknown; }>'.
❯ tests/types/utils.test-d.ts:62:28
|
tests/types/utils.test-d.ts:
tests/types/utils.test-d.ts#L63
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{ [x string] unknown; }>'.
❯ tests/types/utils.test-d.ts:63:28
|
tests/types/utils.test-d.ts:
tests/types/utils.test-d.ts#L75
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{ [x string] unknown; }>'.
❯ tests/types/utils.test-d.ts:75:34
|
tests/types/utils.test-d.ts:
tests/types/utils.test-d.ts#L76
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{ [x string] unknown; }>'.
❯ tests/types/utils.test-d.ts:76:34
|
tests/types/utils.test-d.ts:
tests/types/utils.test-d.ts#L87
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{ [x string] unknown; }>'.
❯ tests/types/utils.test-d.ts:87:29
|
tests/types/utils.test-d.ts:
tests/types/utils.test-d.ts#L88
TypeCheckError: Property '_id' does not exist on type 'RemoveIndexSignatures<{ [x string] unknown; }>'.
❯ tests/types/utils.test-d.ts:88: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) => DataModelValidationFailure | undefined; ... 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) => DataModelValidationFailure | undefined; ... 10 more ...; applyChang...'.
Types of property 'options' are incompatible.
Type 'DataFieldOptions<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#L94
TypeCheckError: Type 'typeof Item' does not satisfy the constraint '"Expected ..., Actual never"'.
❯ tests/foundry/client/game.test-d.ts:94:37
|
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
|
Lint 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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
main-test-results
|
13.3 KB |
|