You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Universal monorepo includes a considerable amount of data schemas, structures and mutations.
The types are spread across multiple apps and packages:
api-credentials
api-identity
api-delegations
api-universal
universal-credential-sdk
universal-data-sdk
universal-delegations-sdk
universal-identity-sdk
It's not sustainable and we need to start co-locating types in an singular package.
The universal-data package is not the right package for exporting common types like TokenItem, TokenList, SocialCredential, DelegationExecutions, DelegationWithMetadata, etc...
Scope
Create a new package packages/universal-types that is the canonical source for types across the monorepo.
It should import/export types database from the API services and also combine/merge types when appropriate (i.e. SocialCredential) so UI components can have assurances about what data is being passed around.
Moves types from the universal-data package to the universal-types package.
The text was updated successfully, but these errors were encountered:
Context
The Universal monorepo includes a considerable amount of data schemas, structures and mutations.
The
types
are spread across multiple apps and packages:It's not sustainable and we need to start co-locating types in an singular package.
The
universal-data
package is not the right package for exporting common types like TokenItem, TokenList, SocialCredential, DelegationExecutions, DelegationWithMetadata, etc...Scope
Create a new package
packages/universal-types
that is the canonical source for types across the monorepo.It should import/export types database from the API services and also combine/merge types when appropriate (i.e. SocialCredential) so UI components can have assurances about what data is being passed around.
Moves types from the
universal-data
package to theuniversal-types
package.The text was updated successfully, but these errors were encountered: