UNPKG

@affinidi/tools-openapi

Version:
13 lines (11 loc) 284 B
export type DidAuthOperation = { requestBody: { readonly audienceDid: string } responseBody: string pathParams: undefined queryParams: undefined } export type PossibleDidAuthOperationIdsOf<T> = { [K in keyof T]-?: T[K] extends DidAuthOperation ? K : never }[keyof T]