Joseph

Results 139 issues of Joseph

This test suite from `tests/types/utils.test-d.ts` should all work, but it doesn't because the guarantee is stripped. ```ts declare const storedUser: StoredDocument; expectTypeOf(storedUser.id).toEqualTypeOf(); expectTypeOf(storedUser._id).toEqualTypeOf(); expectTypeOf(storedUser._source._id).toEqualTypeOf(); expectTypeOf(storedUser.toJSON()._id).toEqualTypeOf(); expectTypeOf(storedUser.toJSON()._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject()._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject()._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject(false)._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject(false)._id).toEqualTypeOf();...

bug
documents
foundry v11

Some documents have properties that are automatically indexed, e.g. actor name and img. Furthermore, systems can use CONFIG to make more properties automatically indexed. These would be improvements to `CompendiumCollection.IndexEntry`...

documents
foundry v11

1. The helper `GetDataReturnType` should be used for the invocation of all instances of `getData` 2. The interface should be named `Data` and inside the namespace for the class, e.g....

good first issue
apps
foundry v11

As of v11, Effects have a `description` field, but it doesn't appear to be visible in the new sheet outside of directly editing the effect.

ui
feature request

Currently, `_getChoices` only looks to return a `label` + `value` record. It should check for *all* valid FormSelectOption properties, such as `group`.

bug
api

The [PackageCompatibility](https://foundryvtt.com/api/classes/foundry.packages.PackageCompatibility.html) and [PackageRelationships](https://foundryvtt.com/api/classes/foundry.PackageRelationships.html) fields do not properly share their `@property` values in the official docs. The type links for the typedefs in `resources/app/common/packages/module.mjs` are also broken, e.g. the compatibility...

documentation

The functions declared in `client/core/utils` are not included in the [online docs](https://foundryvtt.com/api/), including key functions like `fromUuid` and `fromUuidSync`

bug
documentation

`resources/app/client/core/utils.js`

foundry v12

Should resolve remaining lint errors

In `src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts`, the `animation` callback is currently typed as `AnyFunction` because it's very unclear what the intended type is for the function. ```ts /** * The animation function that runs...

foundry v12