@zennify/sdk-js 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main.ts +1 -1
- package/types/main.d.ts +1 -1
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type StoreModerator = FullStore["moderators"][number];
|
|
|
27
27
|
export type StoreModeratorPermissions = StoreModerator["permissions"][number];
|
|
28
28
|
|
|
29
29
|
// Produtos
|
|
30
|
-
export type PartialProduct = ListStoreProductsResponse;
|
|
30
|
+
export type PartialProduct = ListStoreProductsResponse[number];
|
|
31
31
|
export type Product = GetStoreProductResponse;
|
|
32
32
|
|
|
33
33
|
// Transações
|
package/types/main.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type PartialStore = GetStoresResponse[number];
|
|
|
8
8
|
export type FullStore = GetStoreResponse;
|
|
9
9
|
export type StoreModerator = FullStore["moderators"][number];
|
|
10
10
|
export type StoreModeratorPermissions = StoreModerator["permissions"][number];
|
|
11
|
-
export type PartialProduct = ListStoreProductsResponse;
|
|
11
|
+
export type PartialProduct = ListStoreProductsResponse[number];
|
|
12
12
|
export type Product = GetStoreProductResponse;
|
|
13
13
|
export type TransactionStatus = FullTransaction["status"];
|
|
14
14
|
export type PartialTransaction = ListTransactionsResponse[number];
|