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

@@ -97,15 +97,15 @@ const handleDeepLink = async (data: { url: string }) => {
const paramRoutes = {
"claim-add-raw": /^claim-add-raw\/(.+)$/,
"claim-cert": /^claim-cert\/(.+)$/,
claim: /^claim\/(.+)$/,
"claim": /^claim\/(.+)$/,
"confirm-gift": /^confirm-gift\/(.+)$/,
"contact-edit": /^contact-edit\/(.+)$/,
"contact-import": /^contact-import\/(.+)$/,
did: /^did\/(.+)$/,
"did": /^did\/(.+)$/,
"invite-one-accept": /^invite-one-accept\/(.+)$/,
"offer-details": /^offer-details\/(.+)$/,
project: /^project\/(.+)$/,
userProfile: /^userProfile\/(.+)$/,
"project": /^project\/(.+)$/,
"user-profile": /^user-profile\/(.+)$/,
};
// Match route pattern and extract parameter