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:
Matthew Raymer
2025-02-25 09:03:18 +00:00
parent 79ef59c5a9
commit 73637d80dc
4 changed files with 38 additions and 40 deletions

View File

@@ -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;