Skip to content

V11 Data Models

V11 Data Models #5965

Triggered via pull request June 12, 2024 04:55
Status Failure
Total duration 38s
Artifacts

checks.yml

on: pull_request
type check code base
20s
type check code base
lint code base
21s
lint code base
test code base
30s
test code base
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 3 warnings
lint code base: src/foundry/client/config.d.mts#L6
'SchemaField' is defined but never used
lint code base
Process completed with exit code 1.
type check code base: src/foundry/client/apps/forms/grid-config.d.mts#L131
Property 'scale' does not exist on type 'Scene'.
type check code base: src/foundry/client/apps/forms/scene-config.d.mts#L134
Property 'hasGlobalThreshold' does not exist on type 'Scene'.
type check code base: src/foundry/client/apps/forms/scene-config.d.mts#L136
Property 'img' does not exist on type 'Scene'.
type check code base: src/foundry/client/apps/forms/scene-config.d.mts#L149
Property 'shiftX' does not exist on type 'Scene'.
type check code base: src/foundry/client/apps/forms/scene-config.d.mts#L150
Property 'shiftY' does not exist on type 'Scene'.
type check code base: src/foundry/client/apps/placeables/note-config.d.mts#L52
Property 'icon' does not exist on type 'NoteDocument'.
type check code base: src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts#L10
This member cannot have an 'override' modifier because its containing class 'ActorDirectory' does not extend another class.
type check code base: src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts#L12
This member cannot have an 'override' modifier because its containing class 'ActorDirectory' does not extend another class.
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L75
TypeCheckError: Object literal may only specify known properties, and 'save' does not exist in type 'InnerAssignmentType<Schema>'. ❯ tests/types/utils.test-d.ts:75:27
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L75
TypeCheckError: Type 'Promise<User>' does not satisfy the constraint '{ [toStringTag] "Expected string, Actual never"; link "Expected never, Actual string"; uuid "Expected never, Actual string"; data "Expected never, Actual unknown"; ... 89 more ...; hasRole "Expected never, Actual function"; }'. Type 'Promise<User>' is missing the following properties from type '{ [toStringTag] "Expected string, Actual never"; link "Expected never, Actual string"; uuid "Expected never, Actual string"; data "Expected never, Actual unknown"; ... 89 more ...; hasRole "Expected never, Actual function"; }' link, uuid, data, reset, and 86 more. ❯ tests/types/utils.test-d.ts:75:56
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L83
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:83:55
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L84
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:84:55
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L85
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:85:60
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L86
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:86:60
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L87
TypeCheckError: Type 'User | Promise<User | undefined>' does not satisfy the constraint '{ [toStringTag] never; link "Expected never, Actual string"; uuid "Expected never, Actual string"; data "Expected never, Actual unknown"; reset "Expected never, Actual function"; ... 88 more ...; hasRole "Expected never, Actual function"; }'. Type 'User' is missing the following properties from type '{ [toStringTag] never; link "Expected never, Actual string"; uuid "Expected never, Actual string"; data "Expected never, Actual unknown"; reset "Expected never, Actual function"; ... 88 more ...; hasRole "Expected never, Actual function"; }' [toStringTag], then, catch, finally ❯ tests/types/utils.test-d.ts:87:48
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L95
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:95:50
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L96
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:96:50
tests/types/utils.test-d.ts: tests/types/utils.test-d.ts#L97
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual null"'. ❯ tests/types/utils.test-d.ts:97:55
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/.
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/.