Files
crowd-funder-for-time-pwa/src/interfaces/common.ts
Matthew Raymer e5518cd47c fix: update Vue template syntax and improve Vite config
- Fix Vue template syntax in App.vue by using proper event handler format
- Update Vite config to properly handle ESM imports and crypto modules
- Add manual chunks for better code splitting
- Improve environment variable handling in vite-env.d.ts
- Fix TypeScript linting errors in App.vue
2025-04-18 09:59:33 +00:00

37 lines
691 B
TypeScript

// similar to VerifiableCredentialSubject... maybe rename this
export interface GenericVerifiableCredential {
'@context'?: string
'@type': string
[key: string]: unknown
}
export interface GenericCredWrapper<T extends GenericVerifiableCredential> {
claim: T
claimType?: string
handleId: string
id: string
issuedAt: string
issuer: string
publicUrls?: Record<string, string>
}
export interface ResultWithType {
type: string
}
export interface ErrorResponse {
error?: {
message?: string
}
}
export interface InternalError {
error: string
userMessage?: string
}
export interface ErrorResult extends ResultWithType {
type: 'error'
error: InternalError
}