@hobenakicoffee/libraries 4.2.0 → 4.3.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hobenakicoffee/libraries",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "type": "module",
5
5
  "types": "src/index.ts",
6
6
  "repository": {
@@ -1,9 +1,9 @@
1
1
  export const MAX_PRODUCT_PRICE = 9_999_999_999;
2
2
 
3
- export const ShopProductType = {
3
+ export const ShopProductTypes = {
4
4
  digital: "digital",
5
5
  physical: "physical",
6
6
  } as const;
7
7
 
8
8
  export type ShopProductType =
9
- (typeof ShopProductType)[keyof typeof ShopProductType];
9
+ (typeof ShopProductTypes)[keyof typeof ShopProductTypes];
@@ -1196,6 +1196,7 @@ export type Database = {
1196
1196
  id: string;
1197
1197
  is_visible: boolean;
1198
1198
  name: string;
1199
+ product_count: number;
1199
1200
  profile_id: string;
1200
1201
  slug: string;
1201
1202
  sort_order: number;
@@ -1206,6 +1207,7 @@ export type Database = {
1206
1207
  id?: string;
1207
1208
  is_visible?: boolean;
1208
1209
  name: string;
1210
+ product_count?: number;
1209
1211
  profile_id: string;
1210
1212
  slug: string;
1211
1213
  sort_order?: number;
@@ -1216,6 +1218,7 @@ export type Database = {
1216
1218
  id?: string;
1217
1219
  is_visible?: boolean;
1218
1220
  name?: string;
1221
+ product_count?: number;
1219
1222
  profile_id?: string;
1220
1223
  slug?: string;
1221
1224
  sort_order?: number;