Skip to content

Commit 063afa3

Browse files
committed
chore(index): add missing exports
1 parent 9d3fe4f commit 063afa3

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

src/index.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ import type {
8080
TextItem,
8181
IngredientItem,
8282
MaybeScalableQuantity,
83+
IngredientAlternativeBase,
8384
IngredientAlternative,
8485
CookwareItem,
8586
TimerItem,
@@ -122,6 +123,8 @@ import type {
122123
UnitType,
123124
UnitDefinition,
124125
UnitDefinitionLike,
126+
UnitFractionConfig,
127+
WithOptionalQuantity,
125128
AndGroup,
126129
OrGroup,
127130
Group,
@@ -161,6 +164,7 @@ export {
161164
TextItem,
162165
IngredientItem,
163166
MaybeScalableQuantity,
167+
IngredientAlternativeBase,
164168
IngredientAlternative,
165169
CookwareItem,
166170
TimerItem,
@@ -203,6 +207,8 @@ export {
203207
UnitType,
204208
UnitDefinition,
205209
UnitDefinitionLike,
210+
UnitFractionConfig,
211+
WithOptionalQuantity,
206212
AndGroup,
207213
OrGroup,
208214
Group,
@@ -225,6 +231,13 @@ export {
225231
import {
226232
NoProductCatalogForCartError,
227233
NoShoppingListForCartError,
234+
NoTabAsIndentError,
235+
BadIndentationError,
228236
} from "./errors";
229237

230-
export { NoProductCatalogForCartError, NoShoppingListForCartError };
238+
export {
239+
NoProductCatalogForCartError,
240+
NoShoppingListForCartError,
241+
NoTabAsIndentError,
242+
BadIndentationError,
243+
};

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export type MaybeScalableQuantity = QuantityWithExtendedUnit & {
332332
equivalents?: QuantityWithExtendedUnit[];
333333
};
334334

335-
type WithOptionalQuantity<T> =
335+
export type WithOptionalQuantity<T> =
336336
| (T & MaybeScalableQuantity)
337337
| (T & {
338338
// quantity is absent → scalable and unit must be absent
@@ -347,7 +347,7 @@ type WithOptionalQuantity<T> =
347347
* to a specific ingredient and its corresponding quantity information.
348348
* @category Types
349349
*/
350-
type IngredientAlternativeBase = {
350+
export type IngredientAlternativeBase = {
351351
/** The index of the ingredient within the {@link Recipe.ingredients} array. */
352352
index: number;
353353
/** The alias/name of the ingredient as it should be displayed for this occurrence. */

0 commit comments

Comments
 (0)