Skip to content
Snippets Groups Projects
Commit 1146ac5b authored by Berend Sliedrecht's avatar Berend Sliedrecht
Browse files

feat(shared): added correct revocation and status list registration input


Signed-off-by: default avatarBerend Sliedrecht <berend@animo.id>
parent a4d388c5
No related branches found
No related tags found
2 merge requests!37Draft: Modifications for manual testing,!25feat(ssi): revocation ssi-abstraction
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment