UNPKG

@bolttech/server-side-next

Version:

This library was generated with [Nx](https://nx.dev).

12 lines (11 loc) 537 B
import { RedisService } from '../../../common/services/redis/redis.service'; import { CmsRepositoryInterface } from '../interfaces'; import { GetPageIdByUrlResponse, Page } from '../types'; export declare class CmsRepository implements CmsRepositoryInterface { cmsRedisService: RedisService; constructor(); getPageIdByUrl(url: string): Promise<GetPageIdByUrlResponse>; getPageById(id: string): Promise<Page>; getPageTime(id: string): Promise<number>; getPageByReferenceId(id: string): Promise<Page>; }