Browse Source

feat(openiddict): 增加applications类型导出.

pull/1056/head
colin 1 year ago
parent
commit
c8a1d188e4
  1. 1
      apps/vben5/packages/@abp/openiddict/src/index.ts
  2. 62
      apps/vben5/packages/@abp/openiddict/src/types/applications.ts
  3. 1
      apps/vben5/packages/@abp/openiddict/src/types/index.ts

1
apps/vben5/packages/@abp/openiddict/src/index.ts

@ -0,0 +1 @@
export * from './types';

62
apps/vben5/packages/@abp/openiddict/src/types/applications.ts

@ -0,0 +1,62 @@
import type {
Dictionary,
ExtensibleAuditedEntityDto,
ExtensibleObject,
PagedAndSortedResultRequestDto,
} from '@abp/core';
interface OpenIddictApplicationGetListInput
extends PagedAndSortedResultRequestDto {
filter?: string;
}
interface OpenIddictApplicationCreateOrUpdateDto extends ExtensibleObject {
applicationType?: string;
clientId: string;
clientSecret?: string;
clientType?: string;
clientUri?: string;
consentType?: string;
displayName?: string;
displayNames?: Dictionary<string, string>;
endpoints?: string[];
grantTypes?: string[];
logoUri?: string;
postLogoutRedirectUris?: string[];
properties?: Dictionary<string, string>;
redirectUris?: string[];
requirements?: string[];
responseTypes?: string[];
scopes?: string[];
}
type OpenIddictApplicationCreateDto = OpenIddictApplicationCreateOrUpdateDto;
type OpenIddictApplicationUpdateDto = OpenIddictApplicationCreateOrUpdateDto;
interface OpenIddictApplicationDto extends ExtensibleAuditedEntityDto<string> {
applicationType?: string;
clientId: string;
clientSecret?: string;
clientType?: string;
clientUri?: string;
consentType?: string;
displayName?: string;
displayNames?: Dictionary<string, string>;
endpoints?: string[];
grantTypes?: string[];
logoUri?: string;
postLogoutRedirectUris?: string[];
properties?: Dictionary<string, string>;
redirectUris?: string[];
requirements?: string[];
responseTypes?: string[];
scopes?: string[];
}
export type {
OpenIddictApplicationCreateDto,
OpenIddictApplicationDto,
OpenIddictApplicationGetListInput,
OpenIddictApplicationUpdateDto,
};

1
apps/vben5/packages/@abp/openiddict/src/types/index.ts

@ -0,0 +1 @@
export * from './applications';
Loading…
Cancel
Save