diff --git a/src/app/features/example/query-handlers/users.query.handler.ts b/src/app/features/example/query-handlers/users.query.handler.ts index 3404cc3..70491c8 100644 --- a/src/app/features/example/query-handlers/users.query.handler.ts +++ b/src/app/features/example/query-handlers/users.query.handler.ts @@ -3,7 +3,7 @@ import { QueryHandler } from "@tshio/query-bus"; import { CacheQuery } from "../../../../shared/cache-decorator"; import { USERS_QUERY_TYPE, UsersQuery, UsersQueryResult } from "../queries/users"; import { UserEntity } from "../models/user.entity"; -import { calculateSkipFindOption, isFilterAvailable, makePaginationResult } from "../../../../shared/pagination-meta/pagination-meta"; +import { calculateSkipFindOption, isFilterAvailable, makePaginationResult } from "../../../../shared/pagination-utils/pagination-utils"; export interface UsersQueryHandlerInterface { userRepository: Repository; diff --git a/src/shared/pagination-meta/pagination-meta.spec.ts b/src/shared/pagination-utils/pagination-utils.spec.ts similarity index 97% rename from src/shared/pagination-meta/pagination-meta.spec.ts rename to src/shared/pagination-utils/pagination-utils.spec.ts index 276d75c..cea3aa8 100644 --- a/src/shared/pagination-meta/pagination-meta.spec.ts +++ b/src/shared/pagination-utils/pagination-utils.spec.ts @@ -1,8 +1,8 @@ import "mocha"; import { expect } from "chai"; -import { makePaginationResult, normalizePage } from "./pagination-meta"; +import { makePaginationResult, normalizePage } from "./pagination-utils"; -describe("pagination-meta", () => { +describe("pagination-utils", () => { const data = [ { id: "155bed9b-54d9-4605-b2cb-c4b19618d28b", diff --git a/src/shared/pagination-meta/pagination-meta.ts b/src/shared/pagination-utils/pagination-utils.ts similarity index 100% rename from src/shared/pagination-meta/pagination-meta.ts rename to src/shared/pagination-utils/pagination-utils.ts