File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -996,32 +996,32 @@ declare namespace Shopify {
996
996
}
997
997
998
998
interface ICreateArticle {
999
- author : string ;
1000
- body_html : string ;
999
+ author ? : string ;
1000
+ body_html ? : string ;
1001
1001
handle ?: string ;
1002
- image ?: IBase64Image ;
1002
+ image ?: ICreateArticleImage ;
1003
1003
metafields ?: ICreateObjectMetafield [ ] ;
1004
1004
published ?: boolean ;
1005
1005
published_at ?: string ;
1006
1006
summary_html ?: string | null ;
1007
1007
tags ?: string ;
1008
1008
template_suffix ?: string | null ;
1009
- title : string ;
1009
+ title ? : string ;
1010
1010
user_id ?: number ;
1011
1011
}
1012
1012
1013
1013
interface IUpdateArticle {
1014
- author : string ;
1015
- body_html : string ;
1014
+ author ? : string ;
1015
+ body_html ? : string ;
1016
1016
handle ?: string ;
1017
- image ?: IBase64Image ;
1017
+ image ?: ICreateArticleImage ;
1018
1018
metafields ?: ICreateObjectMetafield [ ] ;
1019
1019
published ?: boolean ;
1020
1020
published_at ?: string ;
1021
1021
summary_html ?: string | null ;
1022
1022
tags ?: string ;
1023
1023
template_suffix ?: string | null ;
1024
- title : string ;
1024
+ title ? : string ;
1025
1025
user_id ?: number ;
1026
1026
}
1027
1027
@@ -1034,8 +1034,10 @@ declare namespace Shopify {
1034
1034
alt : string | null ;
1035
1035
}
1036
1036
1037
- interface IBase64Image {
1038
- attachment : string ;
1037
+ interface ICreateArticleImage {
1038
+ attachment ?: string ;
1039
+ src ?: string ;
1040
+ alt ?: string ;
1039
1041
}
1040
1042
1041
1043
interface IObjectMetafield {
You can’t perform that action at this time.
0 commit comments