From 57593d7e6defc99632e3c10043177fa3caee3cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nurzhan=20Sak=C3=A9n?= Date: Thu, 30 May 2024 16:55:22 +0400 Subject: [PATCH] refactor(schema): remove domain from trigger identity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nurzhan Sakén --- docs/source/references/schema.json | 33 +++++++++++++++++++----------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/docs/source/references/schema.json b/docs/source/references/schema.json index 1f11b12abf7..42db4424f77 100644 --- a/docs/source/references/schema.json +++ b/docs/source/references/schema.json @@ -1561,7 +1561,7 @@ } ] }, - "FindTriggersByDomainId": { + "FindTriggersByAuthorityDomainId": { "Struct": [ { "name": "domain_id", @@ -1569,6 +1569,14 @@ } ] }, + "FindTriggersByAuthorityId": { + "Struct": [ + { + "name": "account_id", + "type": "AccountId" + } + ] + }, "ForwardCursor": { "Struct": [ { @@ -2865,33 +2873,38 @@ "type": "FindTriggerKeyValueByIdAndKey" }, { - "tag": "FindTriggersByDomainId", + "tag": "FindTriggersByAuthorityId", "discriminant": 33, - "type": "FindTriggersByDomainId" + "type": "FindTriggersByAuthorityId" }, { - "tag": "FindAllRoles", + "tag": "FindTriggersByAuthorityDomainId", "discriminant": 34, + "type": "FindTriggersByAuthorityDomainId" + }, + { + "tag": "FindAllRoles", + "discriminant": 35, "type": "FindAllRoles" }, { "tag": "FindAllRoleIds", - "discriminant": 35, + "discriminant": 36, "type": "FindAllRoleIds" }, { "tag": "FindRoleByRoleId", - "discriminant": 36, + "discriminant": 37, "type": "FindRoleByRoleId" }, { "tag": "FindRolesByAccountId", - "discriminant": 37, + "discriminant": 38, "type": "FindRolesByAccountId" }, { "tag": "FindAllParameters", - "discriminant": 38, + "discriminant": 39, "type": "FindAllParameters" } ] @@ -4150,10 +4163,6 @@ }, "TriggerId": { "Struct": [ - { - "name": "domain_id", - "type": "Option" - }, { "name": "name", "type": "Name"