forked from jsnbuchanan/crowd-funder-for-time-pwa
refactor: migrate interfaces to dedicated directory
Reorganizes TypeScript interfaces into a modular structure: - Create dedicated interfaces directory with specialized files - Split interfaces by domain (claims, common, limits, records, user) - Update imports in endorserServer.ts to use new interface locations - Replace 'any' types with 'unknown' for better type safety - Add proper type imports and exports This improves code organization and maintainability by: - Centralizing interface definitions - Reducing file size of endorserServer.ts - Making interface relationships more explicit - Improving type safety with stricter types
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"
|
||||
@click="$router.back()"
|
||||
>
|
||||
<fa icon="chevron-left" class="fa-fw"></fa>
|
||||
<font-awesome icon="chevron-left" class="fa-fw"></font-awesome>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
@@ -25,16 +25,16 @@
|
||||
<div />
|
||||
<div v-if="loading">
|
||||
<span class="text-xl">Creating... </span>
|
||||
<fa
|
||||
<font-awesome
|
||||
icon="spinner"
|
||||
class="fa-spin fa-spin-pulse"
|
||||
color="green"
|
||||
size="128"
|
||||
></fa>
|
||||
></font-awesome>
|
||||
</div>
|
||||
<div v-else>
|
||||
<span class="text-xl">Created!</span>
|
||||
<fa
|
||||
<font-awesome
|
||||
icon="burst"
|
||||
class="fa-beat px-12"
|
||||
color="green"
|
||||
@@ -44,7 +44,7 @@
|
||||
--fa-animation-iteration-count: 1;
|
||||
--fa-beat-scale: 6;
|
||||
"
|
||||
></fa>
|
||||
></font-awesome>
|
||||
</div>
|
||||
<div />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user