Skip to content

Commit

Permalink
internal: Split normalize into multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Jul 12, 2024
1 parent f4cf8a4 commit 7d87f57
Show file tree
Hide file tree
Showing 8 changed files with 330 additions and 328 deletions.
2 changes: 1 addition & 1 deletion packages/normalizr/src/__tests__/normalizerMerge.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { schema } from '@data-client/endpoint';
import { Article, IDEntity } from '__tests__/new';

import { denormalize } from '../denormalize/denormalize';
import { normalize } from '../normalize';
import { normalize } from '../normalizr/normalize';

describe('normalizer() merging', () => {
describe('with instance.constructor.merge()', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/normalizr/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Object.hasOwn =
import { denormalize } from './denormalize/denormalize.js';
import { isEntity } from './isEntity.js';
import WeakDependencyMap from './memo/WeakDependencyMap.js';
import { normalize } from './normalize.js';
import { normalize } from './normalizr/normalize.js';

export { default as MemoCache } from './memo/MemoCache.js';
export type {
Expand Down
325 changes: 0 additions & 325 deletions packages/normalizr/src/normalize.ts

This file was deleted.

Loading

0 comments on commit 7d87f57

Please sign in to comment.