@foundationui/smart-input
Advanced tools
Comparing version 1.0.99 to 1.0.100
@@ -17,2 +17,8 @@ import { ICompletionResponse } from '@foundationui/react-hooks'; | ||
safeMode?: boolean; | ||
fetchModelOutput?: (input: any) => Promise<ICompletionResponse | null>; | ||
markOutput?: (outputSid: string, arg: { | ||
seen?: boolean; | ||
accepted?: boolean; | ||
}) => Promise<void>; | ||
getJWT?: () => string; | ||
}): { | ||
@@ -26,4 +32,4 @@ editor: Omit<import("slate").BaseEditor, "children"> & import("slate-react").ReactEditor & { | ||
getCompletion: (input: any) => Promise<ICompletionResponse | null>; | ||
markCompletionSeen: (outputSid: string) => void; | ||
markCompletionAccepted: (outputSid: string) => void; | ||
markCompletionSeen: (outputSid: string) => Promise<void>; | ||
markCompletionAccepted: (outputSid: string) => Promise<void>; | ||
}; | ||
@@ -30,0 +36,0 @@ completion: ICompletionResponse | null; |
@@ -17,2 +17,8 @@ import { ICompletionResponse } from '@foundationui/react-hooks'; | ||
safeMode?: boolean; | ||
fetchModelOutput?: (input: any) => Promise<ICompletionResponse | null>; | ||
markOutput?: (outputSid: string, arg: { | ||
seen?: boolean; | ||
accepted?: boolean; | ||
}) => Promise<void>; | ||
getJWT?: () => string; | ||
}): { | ||
@@ -26,4 +32,4 @@ editor: Omit<import("slate").BaseEditor, "children"> & import("slate-react").ReactEditor & { | ||
getCompletion: (input: any) => Promise<ICompletionResponse | null>; | ||
markCompletionSeen: (outputSid: string) => void; | ||
markCompletionAccepted: (outputSid: string) => void; | ||
markCompletionSeen: (outputSid: string) => Promise<void>; | ||
markCompletionAccepted: (outputSid: string) => Promise<void>; | ||
}; | ||
@@ -30,0 +36,0 @@ completion: ICompletionResponse | null; |
@@ -141,2 +141,8 @@ import { ICompletionResponse, useFoundationModel } from '@foundationui/react-hooks'; | ||
safeMode?: boolean; | ||
fetchModelOutput?: (input: any) => Promise<ICompletionResponse | null>; | ||
markOutput?: (outputSid: string, arg: { | ||
seen?: boolean; | ||
accepted?: boolean; | ||
}) => Promise<void>; | ||
getJWT?: () => string; | ||
}): { | ||
@@ -150,4 +156,4 @@ editor: Omit<slate.BaseEditor, "children"> & slate_react.ReactEditor & { | ||
getCompletion: (input: any) => Promise<ICompletionResponse | null>; | ||
markCompletionSeen: (outputSid: string) => void; | ||
markCompletionAccepted: (outputSid: string) => void; | ||
markCompletionSeen: (outputSid: string) => Promise<void>; | ||
markCompletionAccepted: (outputSid: string) => Promise<void>; | ||
}; | ||
@@ -154,0 +160,0 @@ completion: ICompletionResponse | null; |
@@ -17,2 +17,8 @@ import { ICompletionResponse } from '@foundationui/react-hooks'; | ||
safeMode?: boolean; | ||
fetchModelOutput?: (input: any) => Promise<ICompletionResponse | null>; | ||
markOutput?: (outputSid: string, arg: { | ||
seen?: boolean; | ||
accepted?: boolean; | ||
}) => Promise<void>; | ||
getJWT?: () => string; | ||
}): { | ||
@@ -26,4 +32,4 @@ editor: Omit<import("slate").BaseEditor, "children"> & import("slate-react").ReactEditor & { | ||
getCompletion: (input: any) => Promise<ICompletionResponse | null>; | ||
markCompletionSeen: (outputSid: string) => void; | ||
markCompletionAccepted: (outputSid: string) => void; | ||
markCompletionSeen: (outputSid: string) => Promise<void>; | ||
markCompletionAccepted: (outputSid: string) => Promise<void>; | ||
}; | ||
@@ -30,0 +36,0 @@ completion: ICompletionResponse | null; |
{ | ||
"name": "@foundationui/smart-input", | ||
"version": "1.0.99", | ||
"version": "1.0.100", | ||
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.", | ||
@@ -38,3 +38,3 @@ "type": "module", | ||
"dependencies": { | ||
"@foundationui/react-hooks": "^0.0.7", | ||
"@foundationui/react-hooks": "^0.0.8", | ||
"slate": "^0.87.0", | ||
@@ -41,0 +41,0 @@ "slate-react": "^0.88.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
589848
3235
+ Added@foundationui/react-hooks@0.0.8(transitive)
- Removed@foundationui/react-hooks@0.0.7(transitive)