@punks/cli 0.1.11 → 0.1.12

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@punks/cli",
3
3
  "license": "MIT",
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "bin": {
6
6
  "punks": "bin/run.js"
7
7
  },
@@ -36,7 +36,7 @@ public static class AppUserConfiguration
36
36
  return services;
37
37
  }
38
38
 
39
- public static void UseAppUserApi(this IEndpointRouteBuilder app)
39
+ public static void UseAppUsersApi(this IEndpointRouteBuilder app)
40
40
  {
41
41
  app.UseEntityApi<AppUser, Guid, AppUserDto, AppUserListItemDto, AppUserCreateInput, AppUserUpdateInput,
42
42
  AppUserSearchParameters, AppUserSortBy, int, AppUserSearchResultFacets>(new EntityApiOptions
@@ -37,7 +37,7 @@ public static class {{ entityName }}Configuration
37
37
  return services;
38
38
  }
39
39
 
40
- public static void Use{{ entityName }}Api(this IEndpointRouteBuilder app)
40
+ public static void Use{{ pluralizedEntityName }}Api(this IEndpointRouteBuilder app)
41
41
  {
42
42
  app.UseEntityApi<{{ entityName }}, Guid, {{ entityName }}Dto, {{ entityName }}ListItemDto, {{ entityName }}CreateInput, {{ entityName }}UpdateInput,
43
43
  {{ entityName }}SearchParameters, {{ entityName }}SortBy, int, {{ entityName }}SearchResultFacets>(new EntityApiOptions