diff --git a/packages/core-data/src/types/README.md b/packages/core-data/src/entity-types/README.md similarity index 100% rename from packages/core-data/src/types/README.md rename to packages/core-data/src/entity-types/README.md diff --git a/packages/core-data/src/types/attachment.ts b/packages/core-data/src/entity-types/attachment.ts similarity index 100% rename from packages/core-data/src/types/attachment.ts rename to packages/core-data/src/entity-types/attachment.ts diff --git a/packages/core-data/src/types/base-entity-types.ts b/packages/core-data/src/entity-types/base-entity-types.ts similarity index 100% rename from packages/core-data/src/types/base-entity-types.ts rename to packages/core-data/src/entity-types/base-entity-types.ts diff --git a/packages/core-data/src/types/comment.ts b/packages/core-data/src/entity-types/comment.ts similarity index 100% rename from packages/core-data/src/types/comment.ts rename to packages/core-data/src/entity-types/comment.ts diff --git a/packages/core-data/src/types/helpers.ts b/packages/core-data/src/entity-types/helpers.ts similarity index 100% rename from packages/core-data/src/types/helpers.ts rename to packages/core-data/src/entity-types/helpers.ts diff --git a/packages/core-data/src/types/index.ts b/packages/core-data/src/entity-types/index.ts similarity index 100% rename from packages/core-data/src/types/index.ts rename to packages/core-data/src/entity-types/index.ts diff --git a/packages/core-data/src/types/menu-location.ts b/packages/core-data/src/entity-types/menu-location.ts similarity index 100% rename from packages/core-data/src/types/menu-location.ts rename to packages/core-data/src/entity-types/menu-location.ts diff --git a/packages/core-data/src/types/nav-menu-item.ts b/packages/core-data/src/entity-types/nav-menu-item.ts similarity index 100% rename from packages/core-data/src/types/nav-menu-item.ts rename to packages/core-data/src/entity-types/nav-menu-item.ts diff --git a/packages/core-data/src/types/nav-menu.ts b/packages/core-data/src/entity-types/nav-menu.ts similarity index 100% rename from packages/core-data/src/types/nav-menu.ts rename to packages/core-data/src/entity-types/nav-menu.ts diff --git a/packages/core-data/src/types/navigation-area.ts b/packages/core-data/src/entity-types/navigation-area.ts similarity index 100% rename from packages/core-data/src/types/navigation-area.ts rename to packages/core-data/src/entity-types/navigation-area.ts diff --git a/packages/core-data/src/types/page.ts b/packages/core-data/src/entity-types/page.ts similarity index 100% rename from packages/core-data/src/types/page.ts rename to packages/core-data/src/entity-types/page.ts diff --git a/packages/core-data/src/types/plugin.ts b/packages/core-data/src/entity-types/plugin.ts similarity index 100% rename from packages/core-data/src/types/plugin.ts rename to packages/core-data/src/entity-types/plugin.ts diff --git a/packages/core-data/src/types/post.ts b/packages/core-data/src/entity-types/post.ts similarity index 100% rename from packages/core-data/src/types/post.ts rename to packages/core-data/src/entity-types/post.ts diff --git a/packages/core-data/src/types/settings.ts b/packages/core-data/src/entity-types/settings.ts similarity index 100% rename from packages/core-data/src/types/settings.ts rename to packages/core-data/src/entity-types/settings.ts diff --git a/packages/core-data/src/types/sidebar.ts b/packages/core-data/src/entity-types/sidebar.ts similarity index 100% rename from packages/core-data/src/types/sidebar.ts rename to packages/core-data/src/entity-types/sidebar.ts diff --git a/packages/core-data/src/types/taxonomy.ts b/packages/core-data/src/entity-types/taxonomy.ts similarity index 100% rename from packages/core-data/src/types/taxonomy.ts rename to packages/core-data/src/entity-types/taxonomy.ts diff --git a/packages/core-data/src/types/theme.ts b/packages/core-data/src/entity-types/theme.ts similarity index 100% rename from packages/core-data/src/types/theme.ts rename to packages/core-data/src/entity-types/theme.ts diff --git a/packages/core-data/src/types/type.ts b/packages/core-data/src/entity-types/type.ts similarity index 100% rename from packages/core-data/src/types/type.ts rename to packages/core-data/src/entity-types/type.ts diff --git a/packages/core-data/src/types/user.ts b/packages/core-data/src/entity-types/user.ts similarity index 100% rename from packages/core-data/src/types/user.ts rename to packages/core-data/src/entity-types/user.ts diff --git a/packages/core-data/src/types/widget-type.ts b/packages/core-data/src/entity-types/widget-type.ts similarity index 100% rename from packages/core-data/src/types/widget-type.ts rename to packages/core-data/src/entity-types/widget-type.ts diff --git a/packages/core-data/src/types/widget.ts b/packages/core-data/src/entity-types/widget.ts similarity index 100% rename from packages/core-data/src/types/widget.ts rename to packages/core-data/src/entity-types/widget.ts diff --git a/packages/core-data/src/types/wp-template-part.ts b/packages/core-data/src/entity-types/wp-template-part.ts similarity index 100% rename from packages/core-data/src/types/wp-template-part.ts rename to packages/core-data/src/entity-types/wp-template-part.ts diff --git a/packages/core-data/src/types/wp-template.ts b/packages/core-data/src/entity-types/wp-template.ts similarity index 100% rename from packages/core-data/src/types/wp-template.ts rename to packages/core-data/src/entity-types/wp-template.ts diff --git a/packages/core-data/src/index.js b/packages/core-data/src/index.js index 68ed31a7c5586..f5a9ebbc8d8d2 100644 --- a/packages/core-data/src/index.js +++ b/packages/core-data/src/index.js @@ -77,4 +77,4 @@ export { default as __experimentalUseEntityRecord } from './hooks/use-entity-rec export { default as __experimentalUseEntityRecords } from './hooks/use-entity-records'; export * from './entity-provider'; export * from './fetch'; -export * from './types'; +export * from './entity-types';