@spiffcommerce/core 22.6.5 → 22.7.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/dist/index.d.ts +6 -1
- package/dist/index.js +1057 -1049
- package/dist/index.umd.cjs +20 -20
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1184,6 +1184,7 @@ interface BundleOptions {
|
|
|
1184
1184
|
*/
|
|
1185
1185
|
declare class ProductCollection {
|
|
1186
1186
|
private readonly collection;
|
|
1187
|
+
private fullFetched;
|
|
1187
1188
|
constructor(collection: ProductCollectionResource);
|
|
1188
1189
|
/**
|
|
1189
1190
|
* The ID of the product collection.
|
|
@@ -1200,7 +1201,7 @@ declare class ProductCollection {
|
|
|
1200
1201
|
/**
|
|
1201
1202
|
* A list of products in this collections with useful helpers for interacting with them.
|
|
1202
1203
|
*/
|
|
1203
|
-
fetchProducts(): Promise<CollectionProduct[]>;
|
|
1204
|
+
fetchProducts(productsIds?: string[]): Promise<CollectionProduct[]>;
|
|
1204
1205
|
getTransformCollection(): TransformCollection$1 | undefined;
|
|
1205
1206
|
/**
|
|
1206
1207
|
* The raw collection resource. This is generally not needed and should be avoided.
|
|
@@ -3269,6 +3270,10 @@ declare class TextStepHandle extends StepHandle<TextStepData> implements CustomC
|
|
|
3269
3270
|
*/
|
|
3270
3271
|
getText(): string;
|
|
3271
3272
|
isReplaceable(): boolean | undefined;
|
|
3273
|
+
/**
|
|
3274
|
+
* @returns True if the step allows new lines in the text input.
|
|
3275
|
+
*/
|
|
3276
|
+
newLinesSupported(): boolean;
|
|
3272
3277
|
/**
|
|
3273
3278
|
* Inform the step that now is the time to
|
|
3274
3279
|
* clear default text if it should do so.
|