Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 21 additions & 21 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
<Project>
<!--Presentation-->
<ItemGroup>
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.0">
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.8" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="Scalar.AspNetCore" Version="2.11.6" />
<PackageVersion Include="Scalar.AspNetCore" Version="2.14.14" />
</ItemGroup>

<!--Shared-->
<ItemGroup>
<!--Abstractions-->
<PackageVersion Include="FluentValidation.DependencyInjectionExtensions" Version="12.1.0" />
<PackageVersion Include="FluentValidation.DependencyInjectionExtensions" Version="12.1.1" />

<!--Persistence-->
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.8" />

<!--Infrastructure-->
<PackageVersion Include="AWSSDK.S3" Version="4.0.14.3" />
<PackageVersion Include="AWSSDK.S3" Version="4.0.23.4" />
<PackageVersion Include="DeviceDetector.NET" Version="6.5.0" />
<PackageVersion Include="FluentEmail.Smtp" Version="3.0.2" />
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="10.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="10.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR" Version="1.2.0" />
<PackageVersion Include="Polly" Version="8.6.5" />
<PackageVersion Include="Stripe.net" Version="48.2.0" />
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="10.0.8" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.8" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="10.0.8" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR" Version="1.2.10" />
<PackageVersion Include="Polly" Version="8.6.6" />
<PackageVersion Include="Stripe.net" Version="51.2.0" />
<PackageVersion Include="SpeedyNET.Sdk" Version="1.0.9" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="8.15.0" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="8.18.0" />
<PackageVersion Include="WolverineFx" Version="4.0.0" />
<PackageVersion Include="WolverineFx.FluentValidation" Version="4.0.0" />
</ItemGroup>

<!--Modules-->
<ItemGroup>
<!--Identity-->
<PackageVersion Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.8" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.8" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.8" />

<!--Background Job-->
<PackageVersion Include="Quartz.Extensions.Hosting" Version="3.15.0" />
<PackageVersion Include="Quartz.Extensions.Hosting" Version="3.18.1" />

<!--Persistence-->
<PackageVersion Include="EFCore.BulkExtensions.PostgreSql" Version="10.0.0-rc.2" />
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.0">
<PackageVersion Include="EFCore.BulkExtensions.PostgreSql" Version="10.0.1" />
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.2" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>

<!--Endpoints-->
<PackageVersion Include="FastEndpoints" Version="7.1.1" />
<PackageVersion Include="FastEndpoints" Version="8.1.0" />
</ItemGroup>

<!--Unit Tests-->
Expand Down
39 changes: 11 additions & 28 deletions sdk/js/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions sdk/js/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@
"scripts": {
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "vitest run",
"test:watch": "vitest",
"test:watch": "vitest watch",
"format": "prettier --write ."
},
"dependencies": {
"@tanstack/react-query": "^5.100.10",
"axios": "^1.16.0",
"prettier": "^3.8.3",
"react": "^19.2.6",
"uuid": "^14.0.0"
"axios": "^1.16.0"
},
"devDependencies": {
"@types/react": "^19.2.2",
"@types/react": "^19.2.15",
"prettier": "^3.8.3",
"tsc-alias": "^1.8.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4",
Expand Down
4 changes: 2 additions & 2 deletions sdk/js/react/src/api/accounts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export type AccountResponse = {
email: string;
role: string;
createdAt: string;
firstName?: string;
lastName?: string;
firstName: string | null;
lastName: string | null;
};

export const ACCOUNTS_BASE_PATH = '/account';
Expand Down
4 changes: 2 additions & 2 deletions sdk/js/react/src/api/carts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type ActiveCartItem = {
quantity: number;
forDelivery: boolean;
addedAt: string;
customizationId?: string;
customizationId: string | null;
productId: string;
};

Expand All @@ -15,7 +15,7 @@ export type PurchasedCartItem = {
productId: string;
cartId: string;
cadId: string;
customizationId?: string;
customizationId: string | null;
};

export const ACTIVE_CART_BASE_PATH = '/carts/active';
Expand Down
2 changes: 1 addition & 1 deletion sdk/js/react/src/api/carts/purchased/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type Response = {
purchasedAt: string;
paymentStatus: string;
buyerName: string;
shipmentId?: string;
shipmentId: string | null;
items: PurchasedCartItem[];
};

Expand Down
4 changes: 2 additions & 2 deletions sdk/js/react/src/api/customs/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export type FinishedCustomDto = {

export type CompletedCustomDto = {
paymentStatus: string;
customizationId?: string;
shipmentId?: string;
customizationId: string | null;
shipmentId: string | null;
};

export const CUSTOMS_CUSTOMER_BASE_PATH = 'customs/customer';
Expand Down
4 changes: 2 additions & 2 deletions sdk/js/react/src/api/customs/customs/admin/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export type Response = {
status: CustomStatus;
forDelivery: boolean;
buyerName: string;
designerName?: string;
categoryName?: string;
designerName: string | null;
categoryName: string | null;
};

export const url = (req: Request) =>
Expand Down
4 changes: 2 additions & 2 deletions sdk/js/react/src/api/customs/customs/customer/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export type Response = {
orderedAt: string;
status: CustomStatus;
forDelivery: boolean;
designerName?: string;
categoryName?: string;
designerName: string | null;
categoryName: string | null;
};

export const url = (req: Request) =>
Expand Down
2 changes: 1 addition & 1 deletion sdk/js/react/src/api/customs/customs/customer/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type Response = {
orderedAt: string;
forDelivery: boolean;
status: string;
category?: CustomCategory;
category: CustomCategory | null;
};

export const url = () => `${CUSTOMS_CUSTOMER_BASE_PATH}`;
2 changes: 1 addition & 1 deletion sdk/js/react/src/api/customs/customs/customer/recent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type Response = {
id: string;
name: string;
orderedAt: string;
designerName?: string;
designerName: string | null;
};

export const url = (req: Request) =>
Expand Down
8 changes: 4 additions & 4 deletions sdk/js/react/src/api/customs/customs/customer/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export type Response = {
orderedAt: string;
status: string;
forDelivery: boolean;
category?: CustomCategory;
accepted?: AcceptedCustomDto;
finished?: FinishedCustomDto;
completed?: CompletedCustomDto;
category: CustomCategory | null;
accepted: AcceptedCustomDto | null;
finished: FinishedCustomDto | null;
completed: CompletedCustomDto | null;
};

export const url = (req: Request) => `${CUSTOMS_CUSTOMER_BASE_PATH}/${req.id}`;
2 changes: 1 addition & 1 deletion sdk/js/react/src/api/customs/customs/designer/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type Response = {
orderedAt: string;
forDelivery: boolean;
buyerName: string;
categoryName?: string;
categoryName: string | null;
};

export const url = (req: Request) =>
Expand Down
8 changes: 4 additions & 4 deletions sdk/js/react/src/api/customs/customs/designer/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export type Response = {
status: string;
forDelivery: boolean;
buyerName: string;
category?: CustomCategory;
accepted?: AcceptedCustomDto;
finished?: FinishedCustomDto;
completed?: CompletedCustomDto;
category: CustomCategory | null;
accepted: AcceptedCustomDto | null;
finished: FinishedCustomDto | null;
completed: CompletedCustomDto | null;
};

export const url = (req: Request) => `${CUSTOMS_DESIGNER_BASE_PATH}/${req.id}`;
5 changes: 4 additions & 1 deletion sdk/js/react/src/api/delivery/shipments/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ export type Request = {
id: string;
};

export type Response = Record<string, { message: string; place?: string }>;
export type Response = Record<
string,
{ message: string; place: string | null }
>;

export const url = (req: Request) => `${SHIPMENTS_BASE_PATH}/${req.id}/track`;
2 changes: 1 addition & 1 deletion sdk/js/react/src/api/identity/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type ViewedProduct = {
export type Fingerprint = {
id: string;
device: string;
location?: string;
location: string | null;
deleteAllowed: boolean;
issuedAt: string;
};
Expand Down
4 changes: 2 additions & 2 deletions sdk/js/react/src/api/identity/identity/my-account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export type Response = {
id: string;
role: string;
username: string;
firstName?: string;
lastName?: string;
firstName: string | null;
lastName: string | null;
email: string;
trackViewedProducts: boolean;
createdAt: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/js/react/src/api/notifications/notifications/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type Response = {
createdAt: string;
author: string;
description: string;
link?: string;
link: string | null;
};

export const url = (req: Request) =>
Expand Down

This file was deleted.

Loading
Loading