Skip to content

Commit

Permalink
extracting status list type
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijay Shiyani committed Oct 5, 2023
1 parent cdfba0d commit 5a02962
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,17 @@ export interface VCClaims {
[key: string]: unknown;
}

type VCDataModelStatusList = {
id: string;
type: string;
};

export interface VCClaimsWithVCDataModel {
vc: Extensible<{
'@context': string[] | string;
type: string[] | string;
credentialSubject: Record<string, any>;
credentialStatus?: {
id: string;
type: string;
};
credentialStatus?: VCDataModelStatusList;
evidence?: any;
termsOfUse?: any;
}>;
Expand Down

0 comments on commit 5a02962

Please sign in to comment.