@haus-storefront-react/vendure-plugin-configs 1.0.4-next.5 → 1.0.4-next.6
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/CHANGELOG.md +13 -0
- package/lib/configs/vendure-badge-plugin.d.ts +1 -1
- package/lib/configs/vendure-campaign-plugin.d.ts +1 -1
- package/lib/configs/vendure-elastic-search-plugin.d.ts +1 -1
- package/lib/configs/vendure-packagesize-plugin.d.ts +1 -1
- package/lib/configs/vendure-product-popularity-plugin.d.ts +1 -1
- package/lib/configs/vendure-product-variant-specifications-plugin.d.ts +1 -1
- package/lib/configs/vendure-purchase-order-payment-plugin.d.ts +2 -2
- package/lib/plugin-config.d.ts +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 1.0.4-next.5 (2026-03-09)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- add Product Variant Specifications plugin
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated core to 1.0.4-next.5
|
|
10
|
+
- Updated common/utils to 1.0.4-next.5
|
|
11
|
+
- Updated shared/types to 1.0.4-next.5
|
|
12
|
+
- Updated providers to 1.0.4-next.5
|
|
13
|
+
|
|
1
14
|
## 1.0.4-next.4 (2026-03-09)
|
|
2
15
|
|
|
3
16
|
### 🧱 Updated Dependencies
|
|
@@ -15,7 +15,7 @@ declare module '@haus-storefront-react/shared-types' {
|
|
|
15
15
|
showBadges: BadgeFeatures['showBadges'];
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
export declare const VendureBadgePlugin: VendurePluginConfig<BadgeFeatures, BadgePluginRequests, BadgePluginSettings, import('
|
|
18
|
+
export declare const VendureBadgePlugin: VendurePluginConfig<BadgeFeatures, BadgePluginRequests, BadgePluginSettings, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
|
19
19
|
export type Badge = {
|
|
20
20
|
id: string;
|
|
21
21
|
createdAt: string;
|
|
@@ -18,5 +18,5 @@ declare module '@haus-storefront-react/shared-types' {
|
|
|
18
18
|
}
|
|
19
19
|
export declare const VendureCampaignPlugin: VendurePluginConfig<CampaignFeatures, Record<string, (...args: any[]) => any>, {
|
|
20
20
|
[x: string]: any;
|
|
21
|
-
}, import('
|
|
21
|
+
}, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
|
22
22
|
export declare const isCampaign: (ordinaryPrice: PriceRange | SinglePrice | number, currentPrice: PriceRange | SinglePrice | number) => boolean;
|
|
@@ -65,4 +65,4 @@ export declare const VendureElasticSearchPlugin: VendurePluginConfig<Partial<{
|
|
|
65
65
|
sortByPopularity: boolean;
|
|
66
66
|
}>, Record<string, (...args: any[]) => any>, {
|
|
67
67
|
[x: string]: any;
|
|
68
|
-
}, import('
|
|
68
|
+
}, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
|
@@ -33,4 +33,4 @@ declare module '@haus-storefront-react/shared-types' {
|
|
|
33
33
|
}
|
|
34
34
|
export declare const VendurePackageSizePlugin: VendurePluginConfig<PackageSizeFeatures, Record<string, (...args: any[]) => any>, {
|
|
35
35
|
[x: string]: any;
|
|
36
|
-
}, import('
|
|
36
|
+
}, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
|
@@ -40,4 +40,4 @@ declare module '@haus-storefront-react/shared-types' {
|
|
|
40
40
|
}
|
|
41
41
|
export declare const VendureProductPopularityPlugin: VendurePluginConfig<ProductPopularityFeatures, Record<string, (...args: any[]) => any>, {
|
|
42
42
|
[x: string]: any;
|
|
43
|
-
}, import('
|
|
43
|
+
}, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
|
@@ -52,4 +52,4 @@ export declare const VendureProductVariantSpecificationsPlugin: VendurePluginCon
|
|
|
52
52
|
sortByPopularity: boolean;
|
|
53
53
|
}>, Record<string, (...args: any[]) => any>, {
|
|
54
54
|
[x: string]: any;
|
|
55
|
-
}, import('
|
|
55
|
+
}, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
|
@@ -2,7 +2,7 @@ import { ErrorResult, Order } from '@haus-storefront-react/shared-types';
|
|
|
2
2
|
import { VendurePluginConfig } from '../plugin-config';
|
|
3
3
|
import { AddPurchaseOrderPaymentToOrderInput, PurchaseOrderPaymentPluginRequests } from './vendure-purchase-order-payment-plugin.types';
|
|
4
4
|
declare module '@haus-storefront-react/core' {
|
|
5
|
-
interface
|
|
5
|
+
interface VendureSDK {
|
|
6
6
|
addPurchaseOrderPaymentToOrder?: (input: AddPurchaseOrderPaymentToOrderInput) => Promise<Order | ErrorResult>;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,4 +11,4 @@ declare module '@haus-storefront-react/core' {
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const VendurePurchaseOrderPaymentPlugin: VendurePluginConfig<Record<string, never>, PurchaseOrderPaymentPluginRequests, {
|
|
13
13
|
[x: string]: any;
|
|
14
|
-
}, import('
|
|
14
|
+
}, import('../../../../../providers/src/vendure/index.ts').VendureSDK>;
|
package/lib/plugin-config.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BuilderQueryUpdates, IVendurePluginConfig, PluginFeatures, ProviderDataMap, IGraphQLSDK } from '@haus-storefront-react/shared-types';
|
|
2
|
+
import { VendureSDK } from '../../../../providers/src/vendure/index.ts';
|
|
2
3
|
type PluginSettings = Record<string, any>;
|
|
3
4
|
export type VendurePluginConfigInput<Features, R, S, T extends IGraphQLSDK = IGraphQLSDK> = {
|
|
4
5
|
name: string;
|
|
@@ -10,7 +11,7 @@ export type VendurePluginConfigInput<Features, R, S, T extends IGraphQLSDK = IGr
|
|
|
10
11
|
settings?: S;
|
|
11
12
|
onSdkReady?: (sdk: T) => void | Promise<void>;
|
|
12
13
|
};
|
|
13
|
-
export declare class VendurePluginConfig<Features extends PluginFeatures = PluginFeatures, R extends Record<string, (...args: any[]) => any> = Record<string, (...args: any[]) => any>, S extends PluginSettings = PluginSettings, T extends
|
|
14
|
+
export declare class VendurePluginConfig<Features extends PluginFeatures = PluginFeatures, R extends Record<string, (...args: any[]) => any> = Record<string, (...args: any[]) => any>, S extends PluginSettings = PluginSettings, T extends VendureSDK = VendureSDK> implements IVendurePluginConfig<Features, R, S, T> {
|
|
14
15
|
sdk: T;
|
|
15
16
|
name: IVendurePluginConfig<Features, R, S, T>['name'];
|
|
16
17
|
enabled: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haus-storefront-react/vendure-plugin-configs",
|
|
3
|
-
"version": "1.0.4-next.
|
|
3
|
+
"version": "1.0.4-next.6",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@haus-storefront-react/common-utils": "1.0.4-next.
|
|
57
|
-
"@haus-storefront-react/core": "1.0.4-next.
|
|
58
|
-
"@haus-storefront-react/providers": "1.0.4-next.
|
|
59
|
-
"@haus-storefront-react/shared-types": "1.0.4-next.
|
|
56
|
+
"@haus-storefront-react/common-utils": "1.0.4-next.6",
|
|
57
|
+
"@haus-storefront-react/core": "1.0.4-next.6",
|
|
58
|
+
"@haus-storefront-react/providers": "1.0.4-next.6",
|
|
59
|
+
"@haus-storefront-react/shared-types": "1.0.4-next.6"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "restricted"
|