add strapi types
This commit is contained in:
15
yoga-cms/generated-strapi-interfaces/common/Payload.ts
Normal file
15
yoga-cms/generated-strapi-interfaces/common/Payload.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
export interface Payload<T> {
|
||||
data: T;
|
||||
meta: {
|
||||
pagination?: {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
pageCount: number;
|
||||
total: number;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user