@placeshakr/config 10.19.0-alpha.6 → 10.19.0-alpha.7
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 +8 -0
- package/dist/config.cjs.development.js +10 -18
- package/dist/config.cjs.development.js.map +1 -1
- package/dist/config.cjs.production.min.js +1 -1
- package/dist/config.cjs.production.min.js.map +1 -1
- package/dist/config.esm.js +10 -18
- package/dist/config.esm.js.map +1 -1
- package/dist/plans/base.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/plans/base.ts +8 -12
- package/src/plans/index.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [10.19.0-alpha.7](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.6...v10.19.0-alpha.7) (2021-12-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @placeshakr/config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.19.0-alpha.6](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.5...v10.19.0-alpha.6) (2021-12-07)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @placeshakr/config
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var reactI18next = require('react-i18next');
|
|
6
|
-
|
|
7
5
|
(function (ROLE) {
|
|
8
6
|
ROLE["CLIENT"] = "client";
|
|
9
7
|
ROLE["SELLER"] = "seller";
|
|
@@ -891,13 +889,7 @@ var getPath = function getPath(path, params) {
|
|
|
891
889
|
* @param envName
|
|
892
890
|
* @param params
|
|
893
891
|
*/
|
|
894
|
-
|
|
895
892
|
var createProducts = function createProducts(params) {
|
|
896
|
-
var _useTranslation = reactI18next.useTranslation('homepage', {
|
|
897
|
-
useSuspense: false
|
|
898
|
-
}),
|
|
899
|
-
t = _useTranslation.t;
|
|
900
|
-
|
|
901
893
|
var products = {
|
|
902
894
|
standard: {
|
|
903
895
|
id: params.standard.id,
|
|
@@ -905,9 +897,9 @@ var createProducts = function createProducts(params) {
|
|
|
905
897
|
product: {
|
|
906
898
|
price: 6900,
|
|
907
899
|
active: true,
|
|
908
|
-
description:
|
|
909
|
-
id: params.
|
|
910
|
-
name:
|
|
900
|
+
description: 'Pour les entreprises unipersonnelles',
|
|
901
|
+
id: params.standard.id,
|
|
902
|
+
name: 'Standard',
|
|
911
903
|
type: 'service',
|
|
912
904
|
main: true,
|
|
913
905
|
rating: 1,
|
|
@@ -928,9 +920,9 @@ var createProducts = function createProducts(params) {
|
|
|
928
920
|
internal: 'plus',
|
|
929
921
|
product: {
|
|
930
922
|
active: true,
|
|
931
|
-
description:
|
|
923
|
+
description: 'Idéal pour les agences et les entreprises de plus grande taille',
|
|
932
924
|
id: params.plus.id,
|
|
933
|
-
name:
|
|
925
|
+
name: 'Plus',
|
|
934
926
|
type: 'service',
|
|
935
927
|
rating: 2,
|
|
936
928
|
main: true,
|
|
@@ -953,9 +945,9 @@ var createProducts = function createProducts(params) {
|
|
|
953
945
|
internal: 'premium',
|
|
954
946
|
product: {
|
|
955
947
|
active: true,
|
|
956
|
-
description:
|
|
948
|
+
description: 'Pour les grandes entreprises qui cherchent des outils administratifs poussés',
|
|
957
949
|
id: params.premium.id,
|
|
958
|
-
name:
|
|
950
|
+
name: 'Premium',
|
|
959
951
|
type: 'service',
|
|
960
952
|
isDefault: true,
|
|
961
953
|
main: true,
|
|
@@ -973,7 +965,7 @@ var createProducts = function createProducts(params) {
|
|
|
973
965
|
},
|
|
974
966
|
plans: [params.premium.prices.monthly]
|
|
975
967
|
},
|
|
976
|
-
additionalUser: params.
|
|
968
|
+
additionalUser: params.premium.prices.additionalUser,
|
|
977
969
|
additionalUserPrice: params.premium.additionalUserPrice
|
|
978
970
|
}
|
|
979
971
|
};
|
|
@@ -985,8 +977,8 @@ var testing = {
|
|
|
985
977
|
id: 'prod_HzWVSbBrLFn02Y',
|
|
986
978
|
tax_rates: ['txr_1HPXZVLFzcsAA7x6w0zpHu01'],
|
|
987
979
|
prices: {
|
|
988
|
-
monthly: '
|
|
989
|
-
additionalUser: '
|
|
980
|
+
monthly: 'price_1K4ZYILFzcsAA7x6k4fgzosO',
|
|
981
|
+
additionalUser: 'price_1K4ZYiLFzcsAA7x6u3G68s3N'
|
|
990
982
|
},
|
|
991
983
|
additionalUserPrice: 1000
|
|
992
984
|
},
|