Skip to content

Commit e2ba2c9

Browse files
chore: updated to the latest version
1 parent b9c3d3c commit e2ba2c9

File tree

172 files changed

+2556
-1789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+2556
-1789
lines changed

apps/api-harmonization/.env.local

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ LOG_FORMAT=text
99

1010
DEFAULT_LOCALE=en
1111
DEFAULT_CURRENCY=EUR
12+
DEFAULT_PRODUCT_UNIT=PCS
1213

1314
SUPPORTED_CURRENCIES=EUR,USD,PLN
1415
SUPPORTED_LOCALES=en,de,pl

apps/api-harmonization/CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# @o2s/api-harmonization
22

3+
## 0.23.0
4+
5+
### Minor Changes
6+
7+
- 05eea01: chore: update dependencies
8+
- 44653fb: feat: orderDetails page implemented
9+
10+
- added new UI component: InfoCard,
11+
- used InfoCard in PaymentsSummaryBlock, OrdersSummary and OrderDetails,
12+
- fixed ordersSummaryBlock integration with strapi,
13+
- used DynamicIcon in CategoryBlock,
14+
- added orientation prop for Progress component
15+
16+
### Patch Changes
17+
18+
- 10fbec4: improved global error handling for not-found and unexpected errors
19+
- Updated dependencies [05eea01]
20+
- Updated dependencies [1200a28]
21+
- Updated dependencies [44653fb]
22+
- Updated dependencies [a4cf40d]
23+
- Updated dependencies [6baaae4]
24+
- @o2s/integrations[email protected]
25+
- @o2s/utils[email protected]
26+
- @o2s/framework@0.24.0
27+
28+
## 0.22.0
29+
30+
### Minor Changes
31+
32+
- 2e81dca: added possibility to defined unprotected pages
33+
34+
### Patch Changes
35+
36+
- Updated dependencies [2e81dca]
37+
- @o2s/integrations[email protected]
38+
- @o2s/framework@0.23.0
39+
40+
## 0.21.1
41+
42+
### Patch Changes
43+
44+
- 87185e9: feat: updated mocked content for knowledge base
45+
- Updated dependencies [9ce2262]
46+
- Updated dependencies [87185e9]
47+
- @o2s/integrations[email protected]
48+
- @o2s/framework@0.22.1
49+
350
## 0.21.0
451

552
### Minor Changes

apps/api-harmonization/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@o2s/api-harmonization",
3-
"version": "0.21.0",
3+
"version": "0.23.0",
44
"description": "",
55
"author": "",
66
"private": true,
@@ -25,9 +25,9 @@
2525
"@nestjs/config": "^4.0.2",
2626
"@nestjs/core": "^11.1.1",
2727
"@nestjs/platform-express": "^11.1.1",
28-
"@o2s/framework": "^0.22.1",
29-
"@o2s/integrations.mocked": "^0.22.2",
30-
"@o2s/utils.logger": "^0.11.0",
28+
"@o2s/framework": "^0.24.0",
29+
"@o2s/integrations.mocked": "^0.24.0",
30+
"@o2s/utils.logger": "^0.12.0",
3131
"compression": "^1.8.0",
3232
"cookie": "^1.0.2",
3333
"cookie-parser": "^1.4.7",
@@ -51,22 +51,22 @@
5151
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
5252
"@types/compression": "^1.7.5",
5353
"@types/cookie-parser": "^1.4.8",
54-
"@types/express": "^5.0.1",
54+
"@types/express": "^5.0.2",
5555
"@types/jest": "^29.5.14",
56-
"@types/node": "^22.15.18",
56+
"@types/node": "^22.15.19",
5757
"@types/string-template": "^1.0.6",
5858
"@types/supertest": "^6.0.3",
5959
"@typescript-eslint/eslint-plugin": "^8.32.1",
6060
"@typescript-eslint/parser": "^8.32.1",
6161
"cross-env": "^7.0.3",
62-
"eslint": "^9.26.0",
62+
"eslint": "^9.27.0",
6363
"eslint-config-prettier": "^10.1.5",
6464
"eslint-plugin-prettier": "^5.4.0",
6565
"jest": "^29.7.0",
6666
"prettier": "^3.5.3",
6767
"source-map-support": "^0.5.21",
6868
"supertest": "^7.1.1",
69-
"ts-jest": "^29.3.3",
69+
"ts-jest": "^29.3.4",
7070
"ts-loader": "^9.5.2",
7171
"ts-node": "^10.9.2",
7272
"tsconfig-paths": "^4.2.0",

apps/api-harmonization/src/app.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { FaqBlockModule } from '@o2s/api-harmonization/blocks/faq/faq.module';
3131
import { InvoiceListBlockModule } from '@o2s/api-harmonization/blocks/invoice-list/invoice-list.module';
3232
import { NotificationDetailsBlockModule } from '@o2s/api-harmonization/blocks/notification-details/notification-details.module';
3333
import { NotificationListBlockModule } from '@o2s/api-harmonization/blocks/notification-list/notification-list.module';
34+
import { OrderDetailsBlockModule } from '@o2s/api-harmonization/blocks/order-details/order-details.module';
3435
import { OrderListBlockModule } from '@o2s/api-harmonization/blocks/order-list/order-list.module';
3536
import { OrdersSummaryBlockModule } from '@o2s/api-harmonization/blocks/orders-summary/orders-summary.module';
3637
import { PaymentsHistoryBlockModule } from '@o2s/api-harmonization/blocks/payments-history/payments-history.module';
@@ -102,6 +103,7 @@ import { SurveyjsModule } from './modules/surveyjs-forms/surveyjs.module';
102103
SurveyjsBlockModule.register(AppConfig),
103104
OrderListBlockModule.register(AppConfig),
104105
OrdersSummaryBlockModule.register(AppConfig),
106+
OrderDetailsBlockModule.register(AppConfig),
105107
QuickLinksBlockModule.register(AppConfig),
106108
CategoryListBlockModule.register(AppConfig),
107109
ArticleListBlockModule.register(AppConfig),

apps/api-harmonization/src/blocks/article-list/article-list.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class ArticleListController {
1515
constructor(protected readonly service: ArticleListService) {}
1616

1717
@Get()
18-
@Auth.Decorators.Roles({ roles: [Auth.Constants.Roles.USER, Auth.Constants.Roles.ADMIN] })
18+
@Auth.Decorators.Roles({ roles: [] })
1919
getArticleListBlock(@Headers() headers: AppHeaders, @Query() query: GetArticleListBlockQuery) {
2020
return this.service.getArticleListBlock(query, headers);
2121
}

apps/api-harmonization/src/blocks/article/article.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class ArticleController {
1515
constructor(protected readonly service: ArticleService) {}
1616

1717
@Get()
18-
@Auth.Decorators.Roles({ roles: [Auth.Constants.Roles.USER, Auth.Constants.Roles.ADMIN] })
18+
@Auth.Decorators.Roles({ roles: [] })
1919
getArticleBlock(@Headers() headers: AppHeaders, @Query() query: GetArticleBlockQuery) {
2020
return this.service.getArticleBlock(query, headers);
2121
}

apps/api-harmonization/src/blocks/category-list/category-list.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class CategoryListController {
1515
constructor(protected readonly service: CategoryListService) {}
1616

1717
@Get()
18-
@Auth.Decorators.Roles({ roles: [Auth.Constants.Roles.USER, Auth.Constants.Roles.ADMIN] })
18+
@Auth.Decorators.Roles({ roles: [] })
1919
getCategoryListBlock(@Headers() headers: AppHeaders, @Query() query: GetCategoryListBlockQuery) {
2020
return this.service.getCategoryListBlock(query, headers);
2121
}

apps/api-harmonization/src/blocks/category/category.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ export class CategoryController {
1515
constructor(protected readonly service: CategoryService) {}
1616

1717
@Get()
18-
@Auth.Decorators.Roles({ roles: [Auth.Constants.Roles.USER, Auth.Constants.Roles.ADMIN] })
18+
@Auth.Decorators.Roles({ roles: [] })
1919
getCategoryBlock(@Headers() headers: AppHeaders, @Query() query: GetCategoryBlockQuery) {
2020
return this.service.getCategoryBlock(query, headers);
2121
}
2222

2323
@Get('articles')
24-
@Auth.Decorators.Roles({ roles: [Auth.Constants.Roles.USER, Auth.Constants.Roles.ADMIN] })
24+
@Auth.Decorators.Roles({ roles: [] })
2525
getCategoryArticles(@Headers() headers: AppHeaders, @Query() query: GetCategoryBlockArticlesQuery) {
2626
return this.service.getCategoryArticles(query, headers);
2727
}

apps/api-harmonization/src/blocks/faq/faq.controller.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Controller, Get, Headers, Query, UseInterceptors } from '@nestjs/common';
22
import { LoggerService } from '@o2s/utils.logger';
33

4+
import { Auth } from '@o2s/framework/modules';
5+
46
import { AppHeaders } from '@o2s/api-harmonization/utils/headers';
57

68
import { URL } from './';
@@ -13,6 +15,7 @@ export class FaqController {
1315
constructor(protected readonly service: FaqService) {}
1416

1517
@Get()
18+
@Auth.Decorators.Roles({ roles: [] })
1619
getFaqBlock(@Headers() headers: AppHeaders, @Query() query: GetFaqBlockQuery) {
1720
return this.service.getFaqBlock(query, headers);
1821
}

apps/api-harmonization/src/blocks/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export * as ServiceDetails from './service-details';
1313
export * as Surveyjs from './surveyjs';
1414
export * as OrderList from './order-list';
1515
export * as OrdersSummary from './orders-summary';
16+
export * as OrderDetails from './order-details';
1617
export * as QuickLinks from './quick-links';
1718
export * as CategoryList from './category-list';
1819
export * as ArticleList from './article-list';

0 commit comments

Comments
 (0)