From a0bc058f388ddabfb316ca39f5991f047467d771 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 17 Oct 2023 09:25:59 -0700 Subject: [PATCH] update docs --- docs/.vuepress/components/Prop.vue | 2 +- docs/.vuepress/config.ts | 3 ++- docs/stacks/vue/coalesce-vue-vuetify/overview.md | 7 +++++++ docs/stacks/vue/layers/viewmodels.md | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/components/Prop.vue b/docs/.vuepress/components/Prop.vue index bca03167c..a960ebf99 100644 --- a/docs/.vuepress/components/Prop.vue +++ b/docs/.vuepress/components/Prop.vue @@ -144,7 +144,7 @@ export default defineComponent({ // Typescript is pretty nice in that the member name is always first in its declaration. // No types on the left hand side. // "namespace" is included as part of the attr if present. - const result = /(?:(?:readonly|public|static|protected|private|abstract|export) )*((?:namespace )?[\w$]+)/.exec(this.def); + const result = /(?:(?:readonly|public|static|protected|private|abstract|export) )*((?:namespace )?[\w$-]+)/.exec(this.def); this.idAttr = result ? this.idPrefix + '-' + result[1] : null } else if (this.lang == "c#") { // For C#, there's always a type on the left hand side. diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index e0be38d23..97666d287 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -133,11 +133,12 @@ export default defineUserConfig({ ], }, { - text: 'Configuration', + text: 'Topics', // collapsible: false, children: [ '/topics/startup', '/topics/coalesce-json', + '/topics/audit-logging', ], }, { diff --git a/docs/stacks/vue/coalesce-vue-vuetify/overview.md b/docs/stacks/vue/coalesce-vue-vuetify/overview.md index 117d9b8fd..dd66fd77b 100644 --- a/docs/stacks/vue/coalesce-vue-vuetify/overview.md +++ b/docs/stacks/vue/coalesce-vue-vuetify/overview.md @@ -212,5 +212,12 @@ If for whatever reason you find yourself adding Coalesce to an existing project, @[import-md "after":"MARKER:summary", "before":"MARKER:summary-end"](./components/c-admin-table-page.md) + + +[c-admin-audit-log-page](./components/c-admin-audit-log-page.md) + + + +@[import-md "after":"MARKER:summary", "before":"MARKER:summary-end"](./components/c-admin-audit-log-page.md) \ No newline at end of file diff --git a/docs/stacks/vue/layers/viewmodels.md b/docs/stacks/vue/layers/viewmodels.md index 5bb32bb91..392dc7734 100644 --- a/docs/stacks/vue/layers/viewmodels.md +++ b/docs/stacks/vue/layers/viewmodels.md @@ -161,7 +161,7 @@ By default, only dirty properties (and always the primary key) are sent to the s This improves the handling of concurrent changes being made by multiple users against different fields of the same entity at the same time - specifically, it prevents a user with a stale value of some field X from overwriting a more recent value of X in the database when the user is only making changes to some other property Y and has no intention of changing X. -Save mode `"surgical"` doesn't help when multiple users are editing field X at the same time - if such a scenario is applicable to your application, you must implement [more advanced handling of concurrency conflicts](https://docs.microsoft.com/en-us/ef/core/saving/concurrency). +Save mode `"surgical"` doesn't help when multiple users are editing field X at the same time - if such a scenario is applicable to your application, you must implement [more advanced handling of concurrency conflicts](https://learn.microsoft.com/en-us/ef/core/saving/concurrency). ::: warning @[import-md "after":"MARKER:surgical-saves-warning", "before":"MARKER:end-surgical-saves-warning"](../../../modeling/model-types/dtos.md)