refactor: move ProviderInfo interface to claims-result.ts
- Move ProviderInfo interface from ClaimView.vue to claims-result.ts - Add JSDoc documentation to interface properties - Update imports in ClaimView.vue - Clean up route handling using vue-router types - Remove outdated browser compatibility comment This improves type organization and documentation while reducing component-level interface definitions.
This commit is contained in:
@@ -37,6 +37,17 @@ export interface WorldProperties {
|
||||
endTime?: string;
|
||||
}
|
||||
|
||||
export interface ProviderInfo {
|
||||
/**
|
||||
* Could be a DID or a handleId that identifies the provider
|
||||
*/
|
||||
identifier: string;
|
||||
/**
|
||||
* Indicates if the provider link has been confirmed
|
||||
*/
|
||||
linkConfirmed: boolean;
|
||||
}
|
||||
|
||||
// Type for createAndSubmitClaim result
|
||||
export type CreateAndSubmitClaimResult = SuccessResult | ErrorResult;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user