chore: changelog types added

This commit is contained in:
Anmol Singh Bhatia
2025-06-19 20:37:32 +05:30
parent 5d8c43d05a
commit 7181d91f17
2 changed files with 22 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
export interface ChangelogItem {
id: string;
title: string;
date: string;
summary: string;
description: any;
published: boolean;
}
export interface ChangelogPaginationData {
docs: ChangelogItem[];
hasNextPage: boolean;
hasPrevPage: boolean;
limit: number;
nextPage: number | null;
page: number;
pagingCounter: number;
prevPage: number | null;
totalDocs: number;
totalPages: number;
}
+1
View File
@@ -45,3 +45,4 @@ export * from "./utils";
export * from "./payment";
export * from "./layout";
export * from "./analytics";
export * from "./changelog";