@simonarcher/fika-types 1.0.80 → 1.0.81
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/dist/shopCorrections.d.ts +32 -0
- package/package.json +1 -1
|
@@ -21,6 +21,34 @@ export interface CoffeeCorrection {
|
|
|
21
21
|
name: string;
|
|
22
22
|
}>;
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Interface for brew methods corrections
|
|
26
|
+
*/
|
|
27
|
+
export interface BrewMethodsCorrection {
|
|
28
|
+
methodsToAdd: string[];
|
|
29
|
+
methodsToRemove: string[];
|
|
30
|
+
existingMethods: string[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Interface for features corrections
|
|
34
|
+
*/
|
|
35
|
+
export interface FeaturesCorrection {
|
|
36
|
+
featuresToAdd: string[];
|
|
37
|
+
featuresToRemove: string[];
|
|
38
|
+
existingFeatures: string[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Interface for menu corrections (free-form text)
|
|
42
|
+
*/
|
|
43
|
+
export interface MenuCorrection {
|
|
44
|
+
text: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Interface for other corrections (free-form text)
|
|
48
|
+
*/
|
|
49
|
+
export interface OtherCorrection {
|
|
50
|
+
text: string;
|
|
51
|
+
}
|
|
24
52
|
/**
|
|
25
53
|
* Interface for shop correction submission data
|
|
26
54
|
*/
|
|
@@ -29,6 +57,10 @@ export interface ShopCorrectionData {
|
|
|
29
57
|
shopName: string;
|
|
30
58
|
correctionType: CorrectionType;
|
|
31
59
|
coffeeCorrection?: CoffeeCorrection;
|
|
60
|
+
brewMethodsCorrection?: BrewMethodsCorrection;
|
|
61
|
+
featuresCorrection?: FeaturesCorrection;
|
|
62
|
+
menuCorrection?: MenuCorrection;
|
|
63
|
+
otherCorrection?: OtherCorrection;
|
|
32
64
|
userId: string;
|
|
33
65
|
userName?: string;
|
|
34
66
|
timestamp: number;
|