hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
64 stars 38 forks source link

Refactor DB types in models to make it `pnpm` compatible #7768

Closed Rotorsoft closed 2 weeks ago

Rotorsoft commented 2 weeks ago

Description

Existing DB type and related model utils are not compatible with pnpm module structure, causing a TypeScript: Expression produces a union type that is too complex to represent error (TS-2590). This has been fixed in the pnpm branch and should be merged into master (under yarn) as a first step in the migration.

Project Owner

@rotorsoft

Bucket ID

No response

User Stories / Acceptance Criteria

Design Devlink

No response

Design Screenshot

No response

Additional Context

No response