Skip to content

Commit 0fe4840

Browse files
FarhanShoukatFarhan Shoukat
and
Farhan Shoukat
authored
feat: admin_attributes and shopper_attributes added in hierarchies and nodes (#53)
Co-authored-by: Farhan Shoukat <[email protected]>
1 parent 83a68b1 commit 0fe4840

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/types/hierarchies.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export interface HierarchyBase {
2121
created_at?: string
2222
updated_at?: string
2323
published_at?: string
24+
admin_attributes?: { [key: string]: string }
25+
shopper_attributes?: { [key: string]: string }
2426
}
2527
meta?: {
2628
owner?: 'organization' | 'store'

src/types/nodes.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export interface NodeBase {
1818
slug?: string
1919
curated_products?: string[]
2020
locales?: { [key in Locales]?: { name?: string; description?: string } }
21+
admin_attributes?: { [key: string]: string }
22+
shopper_attributes?: { [key: string]: string }
2123
}
2224
relationships?: {
2325
parent: {

0 commit comments

Comments
 (0)