Skip to content

Commit

Permalink
feat: admin_attributes and shopper_attributes added in hierarchies an…
Browse files Browse the repository at this point in the history
…d nodes (#53)

Co-authored-by: Farhan Shoukat <[email protected]>
  • Loading branch information
FarhanShoukat and Farhan Shoukat authored Feb 6, 2025
1 parent 83a68b1 commit 0fe4840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/hierarchies.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export interface HierarchyBase {
created_at?: string
updated_at?: string
published_at?: string
admin_attributes?: { [key: string]: string }
shopper_attributes?: { [key: string]: string }
}
meta?: {
owner?: 'organization' | 'store'
Expand Down
2 changes: 2 additions & 0 deletions src/types/nodes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export interface NodeBase {
slug?: string
curated_products?: string[]
locales?: { [key in Locales]?: { name?: string; description?: string } }
admin_attributes?: { [key: string]: string }
shopper_attributes?: { [key: string]: string }
}
relationships?: {
parent: {
Expand Down

0 comments on commit 0fe4840

Please sign in to comment.