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

Commit

Permalink
Update Query Types
Browse files Browse the repository at this point in the history
Adds `include` property and makes all properties optional.
  • Loading branch information
nerrad committed May 23, 2023
1 parent b2623f7 commit 51b8cf6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions assets/js/types/type-defs/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ export interface StoreCart {
}

export type Query = {
catalog_visibility: 'catalog';
per_page: number;
page: number;
orderby: string;
order: string;
catalog_visibility?: 'catalog';
per_page?: number;
page?: number;
orderby?: string;
order?: string;
include?: string | number;
};

0 comments on commit 51b8cf6

Please sign in to comment.