Skip to content

V11 Data Models

V11 Data Models #5763

Triggered via pull request May 22, 2024 04:24
Status Failure
Total duration 40s
Artifacts

checks.yml

on: pull_request
type check code base
17s
type check code base
lint code base
32s
lint code base
test code base
23s
test code base
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
type check code base: src/foundry/client/apps/forms/actor.d.mts#L14
Class static side 'typeof ActorSheet' incorrectly extends base class static side 'typeof DocumentSheet'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L16
Type 'unknown' does not satisfy the constraint 'abstract new (...args: any) => any'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L16
Type 'typeof Actor' does not satisfy the constraint 'DocumentConstructor'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L16
Type 'typeof Actor' does not satisfy the constraint 'DocumentConstructor'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L128
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ItemData'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L128
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ItemData'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L129
Type 'unknown' does not satisfy the constraint 'abstract new (...args: any) => any'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L129
Type 'typeof Item' does not satisfy the constraint 'DocumentConstructor'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L136
Namespace '"/home/runner/work/foundry-vtt-types/foundry-vtt-types/src/foundry/common/data/module"' has no exported member 'ItemData'.
type check code base: src/foundry/client/apps/forms/actor.d.mts#L137
Type 'unknown' does not satisfy the constraint 'abstract new (...args: any) => any'.
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L71
TypeCheckError: Type 'Promise<User>' does not satisfy the constraint '{ [x string] "Expected never, Actual unknown"; [x number] "Expected never, Actual unknown"; [toStringTag] "Expected string, Actual never"; }'. Types of property '[toStringTag]' are incompatible. Type 'string' is not assignable to type '"Expected string, Actual never"'. ❯ tests/types/utils.test-d.ts:71:56
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L79
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:79:55
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L80
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:80:55
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L81
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:81:60
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L82
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:82:60
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L83
TypeCheckError: Type 'User | Promise<User | undefined>' does not satisfy the constraint '{ [x string] "Expected never, Actual unknown"; [x number] "Expected never, Actual unknown"; [toStringTag] never; }'. Property '[SymbolConstructor.toStringTag]' is missing in type 'User' but required in type '{ [x string] "Expected never, Actual unknown"; [x number] "Expected never, Actual unknown"; [toStringTag] never; }'. ❯ tests/types/utils.test-d.ts:83:48
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L91
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:91:50
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L92
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:92:50
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L93
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:93:55
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L94
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:94:55
type check code base
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test code base
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint code base
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.