From c069416054a0479ec6bd1f3d8520c5685cf41353 Mon Sep 17 00:00:00 2001 From: serpico1899 Date: Thu, 11 Jan 2024 14:20:37 +0330 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20add=20Services=20Type=20document?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/src/api/types/Services/Services.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/src/api/types/Services/Services.md diff --git a/pages/src/api/types/Services/Services.md b/pages/src/api/types/Services/Services.md new file mode 100644 index 00000000..9542e18d --- /dev/null +++ b/pages/src/api/types/Services/Services.md @@ -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_ +
+ +_main services is type of Acts , other services maybe type of string or Act:_ +
+_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_ +
+ +

Types

+
+  
+    Acts
+  
+