-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec49b5a
commit c65c4c6
Showing
5 changed files
with
41 additions
and
37 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
export declare const normalizeContent: (input: any) => any; | ||
export declare const normalize: (content: any) => { | ||
type Pagination = { | ||
total?: number; | ||
limit?: number; | ||
start?: number; | ||
pages?: number; | ||
page?: number; | ||
hasNextPage?: boolean; | ||
hasPrevPage?: boolean; | ||
}; | ||
type NormalizedContent = { | ||
meta: { | ||
pagination?: { | ||
total?: number; | ||
limit?: number; | ||
start?: number; | ||
pages: number; | ||
page: number; | ||
hasNextPage: boolean; | ||
hasPrevPage: boolean; | ||
}; | ||
pagination?: Pagination; | ||
}; | ||
data: Array<unknown> | unknown; | ||
data: unknown[] | unknown; | ||
}; | ||
export declare const normalizeNestedAttributes: (attributes: Record<string, any>) => Record<string, unknown>; | ||
export declare const normalizeContent: (input: any) => any; | ||
export declare const normalize: (content: any) => NormalizedContent; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters