@meta-cms/core
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -53,3 +53,3 @@ import { Get } from 'type-fest'; | ||
}; | ||
declare type ProductContent = { | ||
declare type ProductData = { | ||
descriptionHtml: string; | ||
@@ -62,2 +62,5 @@ title: string; | ||
variants: VariantContent[]; | ||
}; | ||
declare type ProductContent = { | ||
product: ProductData; | ||
attributes: ItemAttributes<"product_reference">; | ||
@@ -67,3 +70,3 @@ }; | ||
attributes: ItemAttributes<"list.product_reference">; | ||
products: Omit<ProductContent, "attributes">[]; | ||
products: ProductData[]; | ||
}; | ||
@@ -78,3 +81,3 @@ declare type PriceVariationContent = { | ||
}; | ||
declare type CollectionContent = { | ||
declare type CollectionData = { | ||
title: string; | ||
@@ -85,2 +88,5 @@ descriptionHtml: string; | ||
products: ProductContent[]; | ||
}; | ||
declare type CollectionContent = { | ||
collection: CollectionData; | ||
attributes: ItemAttributes<"collection_reference">; | ||
@@ -90,3 +96,3 @@ }; | ||
attributes: ItemAttributes<"list.collection_reference">; | ||
collections: Omit<CollectionContent, "attributes">[]; | ||
collections: CollectionData[]; | ||
}; | ||
@@ -324,2 +330,2 @@ declare type HTMLContent = { | ||
export { ArrayKeys, ArrayToUnion, CollectionContent, CollectionsContent, ConfigType, Content, Field, GetConfigType, GetType, HTMLContent, HTMLsContent, Identifier, ImageContent, ImagesContent, ItemAttributes, Last, MetaCMSConfig, MetaCms, MetafieldCollection, MetafieldContent, MetafieldImage, MetafieldProduct, MetafieldVariant, Model, Namespaces, Nodes, PathForNamespace, Paths, Price, PriceContent, PriceVariation, PriceVariationContent, ProductContent, ProductsContent, Schema, Simplify, Split, TextContent, TextsContent, VariantContent, WithEdge, config, contentQuery, getMetaCMSConfigQuery, getOwnerIdQuery, isList, metafieldType, setMetaCMSConfigMutation, syncConfig, toList }; | ||
export { ArrayKeys, ArrayToUnion, CollectionContent, CollectionData, CollectionsContent, ConfigType, Content, Field, GetConfigType, GetType, HTMLContent, HTMLsContent, Identifier, ImageContent, ImagesContent, ItemAttributes, Last, MetaCMSConfig, MetaCms, MetafieldCollection, MetafieldContent, MetafieldImage, MetafieldProduct, MetafieldVariant, Model, Namespaces, Nodes, PathForNamespace, Paths, Price, PriceContent, PriceVariation, PriceVariationContent, ProductContent, ProductData, ProductsContent, Schema, Simplify, Split, TextContent, TextsContent, VariantContent, WithEdge, config, contentQuery, getMetaCMSConfigQuery, getOwnerIdQuery, isList, metafieldType, setMetaCMSConfigMutation, syncConfig, toList }; |
{ | ||
"name": "@meta-cms/core", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21011
495