Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Use camelCase for PATCH database type
天舟e6d3951c7908
diff --git a/frontend/src/store/modules/dataSource.ts b/frontend/src/store/modules/dataSource.tsindex af0c4e91e9..af87f388a0 100644--- a/frontend/src/store/modules/dataSource.ts+++ b/frontend/src/store/modules/dataSource.ts@@ -172,7 +172,7 @@ const actions = {`/api/database/${databaseId}/datasource/${dataSourceId}?include=database,instance`,{data: {- type: "data-source-patch",+ type: "dataSourcePatch",attributes: dataSource,},}diff --git a/frontend/src/store/modules/database.ts b/frontend/src/store/modules/database.tsindex dc7bd6694e..ae4b9c31fc 100644--- a/frontend/src/store/modules/database.ts+++ b/frontend/src/store/modules/database.ts@@ -348,7 +348,7 @@ const actions = {`/api/database/${databaseId}?include=instance,project,project.projectMember`,{data: {- type: "databasepatch",+ type: "databasePatch",attributes: {updaterId,projectId,diff --git a/frontend/src/store/modules/environment.ts b/frontend/src/store/modules/environment.tsindex 1490c140c7..651608eaf4 100644--- a/frontend/src/store/modules/environment.ts+++ b/frontend/src/store/modules/environment.ts@@ -126,7 +126,7 @@ const actions = {orderedEnvironmentList.forEach((item, index) => {list.push({id: item.id,- type: "environmentpatch",+ type: "environmentPatch",attributes: {updaterId,order: index,@@ -160,7 +160,7 @@ const actions = {const data = (await axios.patch(`/api/environment/${environmentId}`, {data: {- type: "environmentpatch",+ type: "environmentPatch",attributes: environmentPatch,},})diff --git a/frontend/src/store/modules/issue.ts b/frontend/src/store/modules/issue.tsindex 51e814268c..8a1742191b 100644--- a/frontend/src/store/modules/issue.ts+++ b/frontend/src/store/modules/issue.ts@@ -179,7 +179,7 @@ const actions = {`/api/issue/${issueId}?include=principal,project,pipeline,pipeline.stage,pipeline.task`,{data: {- type: "issuepatch",+ type: "issuePatch",attributes: issuePatch,},}@@ -212,7 +212,7 @@ const actions = {`/api/issue/${issueId}/status?include=principal,project,pipeline,pipeline.stage,pipeline.task`,{data: {- type: "issuestatuspatch",+ type: "issueStatusPatch",attributes: issueStatusPatch,},}diff --git a/frontend/src/store/modules/member.ts b/frontend/src/store/modules/member.tsindex 310f58215f..a6b493bb13 100644--- a/frontend/src/store/modules/member.ts+++ b/frontend/src/store/modules/member.ts@@ -92,7 +92,7 @@ const actions = {const data = (await axios.patch(`/api/member/${id}`, {data: {- type: "memberpatch",+ type: "memberPatch",attributes: memberPatch,},})diff --git a/frontend/src/store/modules/message.ts b/frontend/src/store/modules/message.tsindex 051a4d0252..ad12cf130f 100644--- a/frontend/src/store/modules/message.ts+++ b/frontend/src/store/modules/message.ts@@ -72,7 +72,7 @@ const actions = {(await axios.patch(`/api/message/${messageId}`, {data: {- type: "messagepatch",+ type: "messagePatch",attributes: messagePatch,},})diff --git a/frontend/src/store/modules/pipeline.ts b/frontend/src/store/modules/pipeline.tsindex eb0c44da09..87ce14d2de 100644--- a/frontend/src/store/modules/pipeline.ts+++ b/frontend/src/store/modules/pipeline.ts@@ -84,7 +84,7 @@ const getters = {const data = (await axios.patch(`/api/pipeline/${pipelineId}/status`, {data: {- type: "pipelinestatuspatch",+ type: "pipelineStatusPatch",attributes: pipelineStatusPatch,},})diff --git a/frontend/src/store/modules/principal.ts b/frontend/src/store/modules/principal.tsindex ef1061eeda..cb1147135b 100644--- a/frontend/src/store/modules/principal.ts+++ b/frontend/src/store/modules/principal.ts@@ -136,7 +136,7 @@ const actions = {(await axios.patch(`/api/principal/${principalId}`, {data: {- type: "principal-patch",+ type: "principalPatch",attributes: principalPatch,},})diff --git a/frontend/src/store/modules/project.ts b/frontend/src/store/modules/project.tsindex b53a33b2c0..6a1353c068 100644--- a/frontend/src/store/modules/project.ts+++ b/frontend/src/store/modules/project.ts@@ -258,7 +258,7 @@ const actions = {const data = (await axios.patch(`/api/project/${projectId}?include=projectMember`, {data: {- type: "projectpatch",+ type: "projectPatch",attributes: projectPatch,},})@@ -311,7 +311,7 @@ const actions = {) {await axios.patch(`/api/project/${projectId}/member/${memberId}`, {data: {- type: "projectmemberpatch",+ type: "projectMemberPatch",attributes: projectMemberPatch,},});diff --git a/frontend/src/store/modules/task.ts b/frontend/src/store/modules/task.tsindex aaf2dc4523..bec696b784 100644--- a/frontend/src/store/modules/task.ts+++ b/frontend/src/store/modules/task.ts@@ -92,7 +92,7 @@ const actions = {const data = (await axios.patch(`/api/pipeline/${pipelineId}/task/${taskId}/status`, {data: {- type: "taskstatuspatch",+ type: "taskStatusPatch",attributes: taskStatusPatch,},})