diff --git a/coalesce-vue3.json b/coalesce-vue3.json index 762844d4f..0f6f68b14 100644 --- a/coalesce-vue3.json +++ b/coalesce-vue3.json @@ -1,11 +1,11 @@ { "webProject": { "projectFile": "./playground/Coalesce.Web.Vue3/Coalesce.Web.Vue3.csproj", - "framework": "net8.0" + "framework": "net9.0" }, "dataProject": { "projectFile": "./playground/Coalesce.Domain/Coalesce.Domain.csproj", - "framework": "net8.0" + "framework": "net9.0" }, //"rootTypesWhitelist": [ // "CaseDto" diff --git a/playground/Coalesce.Web.Vue2/src/metadata.g.ts b/playground/Coalesce.Web.Vue2/src/metadata.g.ts index 460454a18..336a0b869 100644 --- a/playground/Coalesce.Web.Vue2/src/metadata.g.ts +++ b/playground/Coalesce.Web.Vue2/src/metadata.g.ts @@ -805,6 +805,7 @@ export const Case = domain.types.Case = { minDate: { name: "minDate", displayName: "Min Date", + description: "Only include cases opened on or after this date", type: "date", dateKind: "datetime", role: "value", diff --git a/playground/Coalesce.Web.Vue2/src/models.g.ts b/playground/Coalesce.Web.Vue2/src/models.g.ts index 05ff780d6..0117febb4 100644 --- a/playground/Coalesce.Web.Vue2/src/models.g.ts +++ b/playground/Coalesce.Web.Vue2/src/models.g.ts @@ -165,6 +165,8 @@ export namespace Case { export class AllOpenCases implements DataSource { readonly $metadata = metadata.Case.dataSources.allOpenCases + + /** Only include cases opened on or after this date */ minDate: Date | null = null constructor(params?: Omit, '$metadata'>) { diff --git a/playground/Coalesce.Web.Vue3/Api/Generated/CaseController.g.cs b/playground/Coalesce.Web.Vue3/Api/Generated/CaseController.g.cs index a8c7f775e..737f476c0 100644 --- a/playground/Coalesce.Web.Vue3/Api/Generated/CaseController.g.cs +++ b/playground/Coalesce.Web.Vue3/Api/Generated/CaseController.g.cs @@ -204,10 +204,10 @@ public virtual ItemResult RandomizeDatesAndStatus() /// /// Method: UploadImage /// - [HttpPost("UploadImage2")] + [HttpPost("UploadImage")] [Authorize] [Consumes("application/x-www-form-urlencoded", "multipart/form-data")] - public virtual async Task UploadImage2( + public virtual async Task UploadImage( [FromServices] IDataSourceFactory dataSourceFactory, [FromForm(Name = "id")] int id, Microsoft.AspNetCore.Http.IFormFile file) diff --git a/playground/Coalesce.Web.Vue3/src/metadata.g.ts b/playground/Coalesce.Web.Vue3/src/metadata.g.ts index 460454a18..336a0b869 100644 --- a/playground/Coalesce.Web.Vue3/src/metadata.g.ts +++ b/playground/Coalesce.Web.Vue3/src/metadata.g.ts @@ -805,6 +805,7 @@ export const Case = domain.types.Case = { minDate: { name: "minDate", displayName: "Min Date", + description: "Only include cases opened on or after this date", type: "date", dateKind: "datetime", role: "value", diff --git a/playground/Coalesce.Web.Vue3/src/models.g.ts b/playground/Coalesce.Web.Vue3/src/models.g.ts index 05ff780d6..0117febb4 100644 --- a/playground/Coalesce.Web.Vue3/src/models.g.ts +++ b/playground/Coalesce.Web.Vue3/src/models.g.ts @@ -165,6 +165,8 @@ export namespace Case { export class AllOpenCases implements DataSource { readonly $metadata = metadata.Case.dataSources.allOpenCases + + /** Only include cases opened on or after this date */ minDate: Date | null = null constructor(params?: Omit, '$metadata'>) {