-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from Serpico1899/main
π add Services Type document
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Services types | ||
|
||
```ts | ||
export interface Services { | ||
main: Acts; | ||
[key: string]: Acts | string | undefined; | ||
} | ||
``` | ||
|
||
_service inteface is include main service and functions and also maybe include other services_ | ||
</br> | ||
|
||
_main services is type of Acts , other services maybe type of string or Act:_ | ||
</br> | ||
_if type of string we get answer of req with http Request , but if type of it equal to Acts with answer to req directly_ | ||
</br> | ||
|
||
<h3>Types</h3> | ||
<pre> | ||
<code class="language-ts" style="padding: 0; margin-top: 12px; margin-top: -18px;"> | ||
<a href="./Acts.md" target="_blank" style="text-decoration: none; cursor:pointer">Acts</a> | ||
</code> | ||
</pre> |