Skip to content

Commit

Permalink
chore: prepare interface for OAuth2StatusList args
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Jan 10, 2025
1 parent 64fd2a5 commit f928c22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/vc-status-list/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ export type BaseCreateNewStatusListArgs = {
export type UpdateStatusList2021Args = {
issuer: string | IIssuer
id: string
type?: StatusListType
statusPurpose: StatusPurpose2021
encodedList: string
proofFormat?: ProofFormat
keyRef?: string
}

export type UpdateOAuth2StatusListArgs = {
Expand All @@ -63,8 +60,12 @@ export type UpdateOAuth2StatusListArgs = {
}

export interface UpdateStatusListFromEncodedListArgs {
type?: StatusListType
statusListIndex: number | string
value: boolean
proofFormat?: ProofFormat
keyRef?: string
correlationId?: string
statusList2021Args?: UpdateStatusList2021Args
oauth2StatusListArgs?: UpdateOAuth2StatusListArgs
}
Expand Down

0 comments on commit f928c22

Please sign in to comment.