From b60ecc20a87a6b61e6e66e7a54b5742e4be43be7 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 22 Dec 2024 08:36:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(openiddict):=20=E5=A2=9E=E5=8A=A0=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E7=B1=BB=E5=9E=8B=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applications/ApplicationSecretModal.vue | 1 - .../openiddict/src/types/authorization.ts | 29 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 apps/vben5/packages/@abp/openiddict/src/types/authorization.ts diff --git a/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationSecretModal.vue b/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationSecretModal.vue index f8332a6bc..cae8093ea 100644 --- a/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationSecretModal.vue +++ b/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationSecretModal.vue @@ -70,7 +70,6 @@ async function onSubmit(input: Record) { message.success($t('AbpUi.SavedSuccessfully')); emits('change', dto); modalApi.close(); - modalApi.close(); } diff --git a/apps/vben5/packages/@abp/openiddict/src/types/authorization.ts b/apps/vben5/packages/@abp/openiddict/src/types/authorization.ts new file mode 100644 index 000000000..eedc7712d --- /dev/null +++ b/apps/vben5/packages/@abp/openiddict/src/types/authorization.ts @@ -0,0 +1,29 @@ +import type { + Dictionary, + ExtensibleAuditedEntityDto, + PagedAndSortedResultRequestDto, +} from '@abp/core'; + +interface OpenIddictAuthorizationDto + extends ExtensibleAuditedEntityDto { + applicationId?: string; + creationDate?: string; + properties?: Dictionary; + scopes?: string[]; + status?: string; + subject?: string; + type?: string; +} + +interface OpenIddictAuthorizationGetListInput + extends PagedAndSortedResultRequestDto { + beginCreationTime?: string; + clientId?: string; + endCreationTime?: string; + filter?: string; + status?: string; + subject?: string; + type?: string; +} + +export type { OpenIddictAuthorizationDto, OpenIddictAuthorizationGetListInput };