Skip to content

Commit 42a4f75

Browse files
committed
42083-V14-Integrations-Shopify
- Generate API for front end - Add some repository, models, context, ...
1 parent a6e7998 commit 42a4f75

File tree

20 files changed

+19630
-604
lines changed

20 files changed

+19630
-604
lines changed

src/Umbraco.Cms.Integrations.Commerce.Shopify.Core.New/Api/Management/Controllers/ShopifyControllerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace Umbraco.Cms.Integrations.Commerce.Shopify.Core.Api.Management.Controllers
1717
{
1818
[ApiController]
19-
[BackOfficeRoute($"{Constants.ManagementApi.RootPath}/v{{version:apiVersion}}/shopify")]
19+
[BackOfficeRoute($"{Constants.ManagementApi.RootPath}/v{{version:apiVersion}}")]
2020
[Authorize(Policy = AuthorizationPolicies.BackOfficeAccess)]
2121
[MapToApi(Constants.ManagementApi.ApiName)]
2222
public abstract class ShopifyControllerBase : Controller

src/Umbraco.Cms.Integrations.Commerce.Shopify.Core.New/Services/UmbracoAuthorizationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class UmbracoAuthorizationService : BaseAuthorizationService, IShopifyAut
2727

2828
public const string ServiceAddressReplace = "service_address_shop-replace";
2929

30-
public const string OAuthProxyBaseUrl = "https://hubspot-forms-auth.umbraco.com/"; // for local testing: "https://localhost:44364/";
30+
public const string OAuthProxyBaseUrl = "https://localhost:44340/"; // for local testing: "https://localhost:44364/";
3131

3232
public const string OAuthProxyRedirectUrl = OAuthProxyBaseUrl + "oauth/shopify";
3333

src/Umbraco.Cms.Integrations.Commerce.Shopify.Core.New/Umbraco.Cms.Integrations.Commerce.Shopify.Core.New.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Title>Umbraco CMS Integrations: Commerce - Shopify.Core</Title>
1212
<Description>Core package for Umbraco CMS integration with Shopify.</Description>
1313
<PackageIconUrl></PackageIconUrl>
14-
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Crm.Hubspot</PackageProjectUrl>
14+
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Commerce.Shopify</PackageProjectUrl>
1515
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
1616
<Version>5.0.0</Version>
1717
<Authors>Umbraco HQ</Authors>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export default {
2+
input: 'http://localhost:6583/umbraco/swagger/shopify-management/swagger.json',
3+
output: {
4+
lint: 'eslint',
5+
path: 'generated',
6+
},
7+
schemas: false,
8+
services: {
9+
asClass: true
10+
},
11+
types: {
12+
enums: 'typescript',
13+
}
14+
}

0 commit comments

Comments
 (0)