@genfeedai/interfaces 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @genfeedai/interfaces
|
|
2
|
+
|
|
3
|
+
Shared TypeScript interfaces for Genfeed API payloads, UI contracts, and workflow structures.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i @genfeedai/interfaces
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import type { IPost, IWorkflow, ApiResponse } from '@genfeedai/interfaces';
|
|
15
|
+
|
|
16
|
+
const response: ApiResponse<IPost[]> = await fetchPosts();
|
|
17
|
+
const workflow: IWorkflow = createWorkflow();
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Related Packages
|
|
21
|
+
|
|
22
|
+
- `@genfeedai/enums`
|
|
23
|
+
- `@genfeedai/constants`
|
|
24
|
+
|
|
25
|
+
## Build Faster with Genfeed
|
|
26
|
+
|
|
27
|
+
Use these contracts in your own services, or use the full Genfeed platform at [https://genfeed.ai](https://genfeed.ai).
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
MIT
|
package/package.json
CHANGED