---
url: https://canary.warp-drive.io/api/@warp-drive/core-types/cache/relationship.md
description: >-
  Legacy alias re-exporting `@warp-drive/core/types/cache/relationship`, the
  cache-side to-one and to-many relationship state types; new code should import
  from there.
---

&#x20;

:::warning Legacy package
`@warp-drive/core-types` is a legacy package. New code should use [`@warp-drive/core/types`](/api/@warp-drive/core/types/) instead.
:::

Legacy alias of [@warp-drive/core/types/cache/relationship](../../../core/types/cache/relationship/index.md).
This entry re-exports that module unchanged so existing
`@warp-drive/core-types/cache/relationship` imports keep working; new code should import
from `@warp-drive/core/types/cache/relationship` directly.
