@sanity/sfcc
1.0.171.0.18
dist/index.d.ts~
dist/index.d.tsModified+2−11
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -1,6 +1,7 @@
import { DecorationMember, ObjectMember } from "sanity";
import { Ref } from "react";
+import "sanity/structure";
/**
* SFCC category store field — contains all read-only data synced from
* Salesforce Commerce Cloud. Add this to a `category` document type's
* `fields` array alongside your own custom fields.
@@ -29,19 +30,9 @@
parentDisplayName: string;
parentName: string;
parentId: string;
};
- prepare({
- imageUrl,
- displayName,
- title,
- name,
- categoryId,
- parentDisplayName,
- parentName,
- parentId,
- isActive
- }: {
+ prepare({ imageUrl, displayName, title, name, categoryId, parentDisplayName, parentName, parentId, isActive }: {
imageUrl?: string;
displayName?: {
value: string;
}[];