Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/MiaadTeam/lesan
Browse files Browse the repository at this point in the history
  • Loading branch information
hemedani committed Jan 11, 2024
2 parents 4282681 + c003eca commit 4628b4b
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 4 deletions.
7 changes: 7 additions & 0 deletions pages/src/api/schemas/schemas_fn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- [`schemaFns`](./schemaFns/schemaFns_fn.md)
- [`mainRelationsFns`](./mainRelationsFns/mainRelations_Fns.md)
- [`relatedRelationFns`](./relatedRelationFns/relatedRelation_Fns.md)
- [`getRelatedRelations`](./relatedRelationFns/getRelatedRelations_fn.md)
- [`pureFns`](./pureFns/pure_Fns.md)
- [`relationFns`](./relationFns/relation_Fns.md)
- [`selectStructFns`](./selectStructFns/selectStructFns_Fns.md)
13 changes: 9 additions & 4 deletions pages/src/api/types/Services/Acts/Act.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ export interface Act {
}
```

*interface of Act is include of two features: validator of function and fn*
_interface of Act is include of two features: validator of function and fn_
<br>

<br>

- [`Struct`](https://docs.superstructjs.org/)
<h3>Types</h3>
<pre>
<code class="language-ts" style="padding: 0; margin-top: 12px; margin-top: -18px;">
<a href="https://docs.superstructjs.org/" target="_blank" style="text-decoration: none; cursor:pointer">Struct</a>
<a href="./Act/ActFn.md" target="_blank" style="text-decoration: none; cursor:pointer">ActFn</a>
</code>
</pre>
14 changes: 14 additions & 0 deletions pages/src/api/types/Services/Acts/Act/ActFn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ActFn

```ts
export type ActFn = (body: TLesanBody) => any;
```

_type of ActFn_

<h3>Parameters</h3>
<pre>
<code class="language-ts" style="padding: 0; margin-top: 12px; margin-top: -18px;">
body: <a href="./ActFn/TLesanBody.md" target="_blank" style="text-decoration: none; cursor:pointer">TLesanBody</a>
</code>
</pre>
19 changes: 19 additions & 0 deletions pages/src/api/types/Services/Acts/Act/ActFn/TLesanBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# TLesanBody

```ts
export interface TLesanBody {
service?: string;
model: string;
act: string;
details: Details;
}
```

_interface is type of input of Actions_

<h3>Types</h3>
<pre>
<code class="language-ts" style="padding: 0; margin-top: 12px; margin-top: -18px;">
<a href="./TLesanBody/Details.md" target="_blank" style="text-decoration: none; cursor:pointer">Details</a>
</code>
</pre>
10 changes: 10 additions & 0 deletions pages/src/api/types/Services/Acts/Act/ActFn/TLesanBody/Details.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Details

```ts
export interface Details {
set: Record<string, any>;
get: Record<string, any>;
}
```

_details of input is include set , get_

0 comments on commit 4628b4b

Please sign in to comment.