@pastelarai/pastelarai-shared-types 1.0.109 → 1.0.111

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.
@@ -53,6 +53,7 @@ export interface Pricing {
53
53
  size_pack?: number;
54
54
  }
55
55
  export interface Product {
56
+ source: string;
56
57
  name: string;
57
58
  category: PRODUCTCATEGORY;
58
59
  holidays: string;
@@ -26,6 +26,7 @@ export interface Storage {
26
26
  value: number;
27
27
  }
28
28
  export interface Recipe {
29
+ source: string;
29
30
  name: string;
30
31
  recipe_base: boolean;
31
32
  storage: Storage;
@@ -46,8 +47,13 @@ export interface Recipe {
46
47
  export interface WorkingRecipeContent extends RecipeContent {
47
48
  error: boolean;
48
49
  }
49
- export interface WorkingRecipe extends Omit<Recipe, 'ingredients_list'> {
50
+ export interface WorkingLaminatedDough extends Omit<LaminatedDough, 'ingredient_id'> {
51
+ ingredient_id?: string;
52
+ error: boolean;
53
+ }
54
+ export interface WorkingRecipe extends Omit<Recipe, 'ingredients_list' | 'laminated_dough'> {
50
55
  ingredients_list: WorkingRecipeContent[];
56
+ laminated_dough?: WorkingLaminatedDough;
51
57
  }
52
58
  export interface SharableLaminatedDough {
53
59
  weight_unit_dough: number;
@@ -74,6 +80,7 @@ export interface SharableRecipeContent {
74
80
  }
75
81
  export interface SharableRecipe {
76
82
  translations: {
83
+ language: string;
77
84
  name: string;
78
85
  description: string;
79
86
  steps_list: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pastelarai/pastelarai-shared-types",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "Shared types for PastelarAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",