diff --git a/apps/shared/src/events/revocationEvents.ts b/apps/shared/src/events/revocationEvents.ts index 4265a34c4166478b62e0d9f7aa022d67ea8282e4..fc182bc4d3f9e7c504a7d30613c047ee1974320d 100644 --- a/apps/shared/src/events/revocationEvents.ts +++ b/apps/shared/src/events/revocationEvents.ts @@ -23,9 +23,13 @@ export class EventAnonCredsRevocationRevoke extends BaseEvent { } } -// TODO: input type available in the new AFJ export type EventAnonCredsRevocationRegisterRevocationRegistryDefinitionInput = - BaseEventInput; + BaseEventInput<{ + issuerDid: string; + tag: string; + credentialDefinitionId: string; + maximumCredentialNumber: number; + }>; export class EventAnonCredsRevocationRegisterRevocationRegistryDefinition extends BaseEvent<{ revocationRegistryDefinitionId: string; }> { @@ -49,9 +53,11 @@ export class EventAnonCredsRevocationRegisterRevocationRegistryDefinition extend } } -// TODO: input type available in the new AFJ export type EventAnonCredsRevocationRegisterRevocationStatusListInput = - BaseEventInput<{ revocationRegistryDefinitionId: string }>; + BaseEventInput<{ + revocationRegistryDefinitionId: string; + issuerDid: string; + }>; export class EventAnonCredsRevocationRegisterRevocationStatusList extends BaseEvent { public static token = 'anoncreds.revocation.registerRevocationStatusList';