Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 51b8cf6

Browse files
committed
Update Query Types
Adds `include` property and makes all properties optional.
1 parent b2623f7 commit 51b8cf6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

assets/js/types/type-defs/hooks.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ export interface StoreCart {
6363
}
6464

6565
export type Query = {
66-
catalog_visibility: 'catalog';
67-
per_page: number;
68-
page: number;
69-
orderby: string;
70-
order: string;
66+
catalog_visibility?: 'catalog';
67+
per_page?: number;
68+
page?: number;
69+
orderby?: string;
70+
order?: string;
71+
include?: string | number;
7172
};

0 commit comments

Comments
 (0)