mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Completed type declarations using interfaces, Collection interface was derived from the rest api doc
This commit is contained in:
Vendored
+14
-4
@@ -270,10 +270,20 @@ declare namespace ShopifyBuy {
|
||||
value: any;
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO this should be solved during TDD
|
||||
* export interface Collection {}
|
||||
*/
|
||||
export interface Collection {
|
||||
handle: string;
|
||||
body_html: string;
|
||||
image: Image;
|
||||
id: string;
|
||||
metafields: any[];
|
||||
published: boolean;
|
||||
published_at: string;
|
||||
published_scope: string;
|
||||
sort_order: string;
|
||||
template_suffix: string;
|
||||
title: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
export interface Cart extends GraphModel {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user