Skip to content

Commit

Permalink
Merge pull request #59 from Serpico1899/main
Browse files Browse the repository at this point in the history
πŸ“ add Services Type document
  • Loading branch information
hemedani authored Jan 11, 2024
2 parents be3c059 + c069416 commit 8af9933
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pages/src/api/types/Services/Services.md
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>

0 comments on commit 8af9933

Please sign in to comment.