@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
package/src/commands/entity-add/__test__/dotnet/__snapshots__/render.configuration.spec.ts.snap
CHANGED
|
@@ -36,7 +36,7 @@ public static class AppUserConfiguration
|
|
|
36
36
|
return services;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
public static void
|
|
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
|
package/templates/dotnet/NewEntity/Configuration/<PluralizedEntity>Configuration.cs.template
CHANGED
|
@@ -37,7 +37,7 @@ public static class {{ entityName }}Configuration
|
|
|
37
37
|
return services;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
public static void Use{{
|
|
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
|