@fencyai/react 0.1.61 → 0.1.63
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/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/types/index.d.ts +18 -11
- package/lib/types/index.js +20 -11
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { useBasicChatCompletions } from './hooks/useBasicChatCompletions';
|
|
2
2
|
export { useSearchFiles } from './hooks/useSearchFiles';
|
|
3
3
|
export { useCreateFiles } from './hooks/useCreateFiles';
|
|
4
|
+
export { useListFiles } from './hooks/useListFiles';
|
|
4
5
|
export { useStreamingChatCompletions } from './hooks/useStreamingChatCompletions';
|
|
5
6
|
export { useStructuredChatCompletions } from './hooks/useStructuredChatCompletions';
|
|
6
7
|
export { useWebsites } from './hooks/useWebsites';
|
package/lib/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export { useBasicChatCompletions } from './hooks/useBasicChatCompletions';
|
|
3
3
|
export { useSearchFiles } from './hooks/useSearchFiles';
|
|
4
4
|
export { useCreateFiles } from './hooks/useCreateFiles';
|
|
5
|
+
export { useListFiles } from './hooks/useListFiles';
|
|
5
6
|
export { useStreamingChatCompletions } from './hooks/useStreamingChatCompletions';
|
|
6
7
|
export { useStructuredChatCompletions } from './hooks/useStructuredChatCompletions';
|
|
7
8
|
export { useWebsites } from './hooks/useWebsites';
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,31 +1,38 @@
|
|
|
1
|
-
export * from './FencyProviderProps';
|
|
2
1
|
export * from './FencyContext';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './CreateGeminiChatCompletionParams';
|
|
2
|
+
export * from './FencyProviderProps';
|
|
5
3
|
export * from './CreateClaudeChatCompletionParams';
|
|
6
|
-
export * from './
|
|
4
|
+
export * from './CreateGeminiChatCompletionParams';
|
|
5
|
+
export * from './CreateOpenAiChatCompletionParams';
|
|
7
6
|
export * from './BasicChatCompletion';
|
|
7
|
+
export * from './BasicChatCompletionData';
|
|
8
8
|
export * from './BasicChatCompletionResponse';
|
|
9
9
|
export * from './CreateBasicChatCompletionParams';
|
|
10
10
|
export * from './UseBasicChatCompletions';
|
|
11
|
-
export * from './StreamingChatCompletionData';
|
|
12
|
-
export * from './StreamingChatCompletion';
|
|
13
11
|
export * from './CreateStreamingChatCompletionParams';
|
|
14
12
|
export * from './CreateStreamingChatCompletionResponse';
|
|
13
|
+
export * from './StreamingChatCompletion';
|
|
14
|
+
export * from './StreamingChatCompletionData';
|
|
15
15
|
export * from './UseStreamingChatCompletions';
|
|
16
16
|
export * from './UseStreamingChatCompletionsProps';
|
|
17
|
-
export * from './
|
|
17
|
+
export * from './CreateStructuredChatCompletionParams';
|
|
18
18
|
export * from './StructuredChatCompletion';
|
|
19
|
+
export * from './StructuredChatCompletionData';
|
|
19
20
|
export * from './StructuredChatCompletionResponse';
|
|
20
|
-
export * from './CreateStructuredChatCompletionParams';
|
|
21
21
|
export * from './UseStructuredChatCompletions';
|
|
22
|
-
export * from './UseStream';
|
|
23
22
|
export * from './CreateStreamResponse';
|
|
24
23
|
export * from './StreamError';
|
|
24
|
+
export * from './UseStream';
|
|
25
25
|
export * from './UseStreamProps';
|
|
26
|
-
export * from './UseSearchFiles';
|
|
27
26
|
export * from './CreateFileParams';
|
|
28
27
|
export * from './SearchFilesParams';
|
|
28
|
+
export * from './UseSearchFiles';
|
|
29
|
+
export * from './CreateWebsiteParams';
|
|
29
30
|
export * from './UseWebsites';
|
|
30
31
|
export * from './UseWebsitesProps';
|
|
31
|
-
export * from './
|
|
32
|
+
export * from './ListFilesPage';
|
|
33
|
+
export * from './ListFilesParams';
|
|
34
|
+
export * from './ListFilesResult';
|
|
35
|
+
export * from './UseListFiles';
|
|
36
|
+
export * from './UseListFilesProps';
|
|
37
|
+
export * from './SearchFilesParams';
|
|
38
|
+
export * from './UseSearchFiles';
|
package/lib/types/index.js
CHANGED
|
@@ -1,39 +1,48 @@
|
|
|
1
1
|
// Provider types
|
|
2
|
-
export * from './FencyProviderProps';
|
|
3
2
|
export * from './FencyContext';
|
|
3
|
+
export * from './FencyProviderProps';
|
|
4
4
|
// Chat completion parameter types
|
|
5
|
-
export * from './CreateOpenAiChatCompletionParams';
|
|
6
|
-
export * from './CreateGeminiChatCompletionParams';
|
|
7
5
|
export * from './CreateClaudeChatCompletionParams';
|
|
6
|
+
export * from './CreateGeminiChatCompletionParams';
|
|
7
|
+
export * from './CreateOpenAiChatCompletionParams';
|
|
8
8
|
// Basic chat completion types
|
|
9
|
-
export * from './BasicChatCompletionData';
|
|
10
9
|
export * from './BasicChatCompletion';
|
|
10
|
+
export * from './BasicChatCompletionData';
|
|
11
11
|
export * from './BasicChatCompletionResponse';
|
|
12
12
|
export * from './CreateBasicChatCompletionParams';
|
|
13
13
|
export * from './UseBasicChatCompletions';
|
|
14
14
|
// Streaming chat completion types
|
|
15
|
-
export * from './StreamingChatCompletionData';
|
|
16
|
-
export * from './StreamingChatCompletion';
|
|
17
15
|
export * from './CreateStreamingChatCompletionParams';
|
|
18
16
|
export * from './CreateStreamingChatCompletionResponse';
|
|
17
|
+
export * from './StreamingChatCompletion';
|
|
18
|
+
export * from './StreamingChatCompletionData';
|
|
19
19
|
export * from './UseStreamingChatCompletions';
|
|
20
20
|
export * from './UseStreamingChatCompletionsProps';
|
|
21
21
|
// Structured chat completion types
|
|
22
|
-
export * from './
|
|
22
|
+
export * from './CreateStructuredChatCompletionParams';
|
|
23
23
|
export * from './StructuredChatCompletion';
|
|
24
|
+
export * from './StructuredChatCompletionData';
|
|
24
25
|
export * from './StructuredChatCompletionResponse';
|
|
25
|
-
export * from './CreateStructuredChatCompletionParams';
|
|
26
26
|
export * from './UseStructuredChatCompletions';
|
|
27
27
|
// Stream types
|
|
28
|
-
export * from './UseStream';
|
|
29
28
|
export * from './CreateStreamResponse';
|
|
30
29
|
export * from './StreamError';
|
|
30
|
+
export * from './UseStream';
|
|
31
31
|
export * from './UseStreamProps';
|
|
32
32
|
// File upload types
|
|
33
|
-
export * from './UseSearchFiles';
|
|
34
33
|
export * from './CreateFileParams';
|
|
35
34
|
export * from './SearchFilesParams';
|
|
35
|
+
export * from './UseSearchFiles';
|
|
36
36
|
// Website types
|
|
37
|
+
export * from './CreateWebsiteParams';
|
|
37
38
|
export * from './UseWebsites';
|
|
38
39
|
export * from './UseWebsitesProps';
|
|
39
|
-
|
|
40
|
+
// List files types
|
|
41
|
+
export * from './ListFilesPage';
|
|
42
|
+
export * from './ListFilesParams';
|
|
43
|
+
export * from './ListFilesResult';
|
|
44
|
+
export * from './UseListFiles';
|
|
45
|
+
export * from './UseListFilesProps';
|
|
46
|
+
// Search files types
|
|
47
|
+
export * from './SearchFilesParams';
|
|
48
|
+
export * from './UseSearchFiles';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fencyai/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "staklau <steinaageklaussen@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"prepublishOnly": "npm run build"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@fencyai/js": "^0.1.
|
|
37
|
+
"@fencyai/js": "^0.1.63",
|
|
38
38
|
"@types/jest": "^29.5.11",
|
|
39
39
|
"@types/node": "^20.10.5",
|
|
40
40
|
"@types/react": "^18.2.45",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typescript": "^5.3.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@fencyai/js": "^0.1.
|
|
46
|
+
"@fencyai/js": "^0.1.63",
|
|
47
47
|
"react": ">=16.8.0",
|
|
48
48
|
"zod": "^4.0.5"
|
|
49
49
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"optional": false
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "fa1e08330dd81d0dafb1da3ad76417cf32b490a6"
|
|
56
56
|
}
|