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:
@@ -10,7 +10,7 @@
|
||||
class="text-lg text-center leading-none absolute right-0 -top-1"
|
||||
@click="onClickClose(true)"
|
||||
>
|
||||
<fa icon="xmark" class="w-[1em]" />
|
||||
<font-awesome icon="xmark" class="w-[1em]" />
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</span>
|
||||
click on the
|
||||
<span class="bg-green-600 text-white rounded-full">
|
||||
<fa icon="plus" class="fa-fw" />
|
||||
<font-awesome icon="plus" class="fa-fw" />
|
||||
</span>
|
||||
button to express your appreciation for... whatever -- maybe thanks for
|
||||
showing you all these fascinating stories of
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<p class="mt-4 flex items-center">
|
||||
The
|
||||
<fa
|
||||
<font-awesome
|
||||
icon="house-chimney"
|
||||
class="ml-1 mr-1 text-lg text-white bg-slate-400 px-2 py-2 rounded"
|
||||
/>
|
||||
@@ -84,7 +84,7 @@
|
||||
class="text-lg text-center leading-none absolute right-0 -top-1"
|
||||
@click="onClickClose(true)"
|
||||
>
|
||||
<fa icon="xmark" class="w-[1em]" />
|
||||
<font-awesome icon="xmark" class="w-[1em]" />
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
<p class="mt-4 flex items-center">
|
||||
The
|
||||
<fa
|
||||
<font-awesome
|
||||
icon="magnifying-glass"
|
||||
class="ml-1 mr-1 text-lg text-white bg-slate-400 px-2 py-2 rounded"
|
||||
/>
|
||||
@@ -141,14 +141,14 @@
|
||||
class="text-lg text-center leading-none absolute right-0 -top-1"
|
||||
@click="onClickClose(true)"
|
||||
>
|
||||
<fa icon="xmark" class="w-[1em]" />
|
||||
<font-awesome icon="xmark" class="w-[1em]" />
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
<p class="relative">
|
||||
Now you can take a turn: click on the
|
||||
<span class="bg-green-600 text-white rounded-full">
|
||||
<fa icon="plus" class="fa-fw" />
|
||||
<font-awesome icon="plus" class="fa-fw" />
|
||||
</span>
|
||||
button to throw out projects of your own... anything you'd like to see
|
||||
happen. If your first idea doesn't catch anyone, try, try again... and
|
||||
@@ -157,7 +157,7 @@
|
||||
|
||||
<p class="mt-4 flex items-center">
|
||||
The
|
||||
<fa
|
||||
<font-awesome
|
||||
icon="hand"
|
||||
class="ml-1 mr-1 text-lg text-white bg-slate-400 px-2 py-2 rounded"
|
||||
/>
|
||||
@@ -168,7 +168,7 @@
|
||||
By the way, one good way to get to know your neighbors and their
|
||||
interests is to offer time directly to them. You can do this on the
|
||||
contacts screen
|
||||
<fa icon="users" class="text-slate-500" />
|
||||
<font-awesome icon="users" class="text-slate-500" />
|
||||
which is a great way to get to know a neighbor's interests.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user