@firstlovecenter/ai-chat 0.8.1 → 0.9.0
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/CHANGELOG.md +29 -0
- package/dist/drizzle/index.cjs +24 -16
- package/dist/drizzle/index.cjs.map +1 -1
- package/dist/drizzle/index.d.cts +17 -17
- package/dist/drizzle/index.d.ts +17 -17
- package/dist/drizzle/index.js +24 -16
- package/dist/drizzle/index.js.map +1 -1
- package/dist/prisma/index.cjs +20 -4
- package/dist/prisma/index.cjs.map +1 -1
- package/dist/prisma/index.d.cts +19 -10
- package/dist/prisma/index.d.ts +19 -10
- package/dist/prisma/index.js +20 -4
- package/dist/prisma/index.js.map +1 -1
- package/dist/server/index.cjs +5 -5
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +5 -5
- package/dist/server/index.js.map +1 -1
- package/dist/{types-BnwUkqKb.d.cts → types-BOgBJ7CD.d.cts} +14 -8
- package/dist/{types-BnwUkqKb.d.ts → types-BOgBJ7CD.d.ts} +14 -8
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
- package/prisma/chat-models.prisma +7 -3
package/dist/ui/index.d.cts
CHANGED
|
@@ -13,12 +13,12 @@ type AiChatProps$1 = {
|
|
|
13
13
|
* (`/chat/[id]`) so reload/bookmark/multi-tab restore the exact
|
|
14
14
|
* conversation. `null` (or omitted) renders the empty new-chat state.
|
|
15
15
|
*/
|
|
16
|
-
initialSessionId?:
|
|
16
|
+
initialSessionId?: string | null;
|
|
17
17
|
};
|
|
18
18
|
declare function AiChat({ userFirstName, scopeLabel, initialProvider, initialSessionId }: AiChatProps$1): react_jsx_runtime.JSX.Element;
|
|
19
19
|
|
|
20
20
|
type AiChatSessionSummary = {
|
|
21
|
-
id:
|
|
21
|
+
id: string;
|
|
22
22
|
title: string;
|
|
23
23
|
updatedAt: string | null;
|
|
24
24
|
};
|
|
@@ -34,7 +34,7 @@ type AiChatProps = {
|
|
|
34
34
|
* conversation the user was viewing. Pass `null` (or omit) for the
|
|
35
35
|
* empty "new chat" state.
|
|
36
36
|
*/
|
|
37
|
-
initialSessionId?:
|
|
37
|
+
initialSessionId?: string | null;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
declare function VercelChat({ userFirstName, scopeLabel, initialProvider, initialSessionId }: AiChatProps): react_jsx_runtime.JSX.Element;
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -13,12 +13,12 @@ type AiChatProps$1 = {
|
|
|
13
13
|
* (`/chat/[id]`) so reload/bookmark/multi-tab restore the exact
|
|
14
14
|
* conversation. `null` (or omitted) renders the empty new-chat state.
|
|
15
15
|
*/
|
|
16
|
-
initialSessionId?:
|
|
16
|
+
initialSessionId?: string | null;
|
|
17
17
|
};
|
|
18
18
|
declare function AiChat({ userFirstName, scopeLabel, initialProvider, initialSessionId }: AiChatProps$1): react_jsx_runtime.JSX.Element;
|
|
19
19
|
|
|
20
20
|
type AiChatSessionSummary = {
|
|
21
|
-
id:
|
|
21
|
+
id: string;
|
|
22
22
|
title: string;
|
|
23
23
|
updatedAt: string | null;
|
|
24
24
|
};
|
|
@@ -34,7 +34,7 @@ type AiChatProps = {
|
|
|
34
34
|
* conversation the user was viewing. Pass `null` (or omit) for the
|
|
35
35
|
* empty "new chat" state.
|
|
36
36
|
*/
|
|
37
|
-
initialSessionId?:
|
|
37
|
+
initialSessionId?: string | null;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
declare function VercelChat({ userFirstName, scopeLabel, initialProvider, initialSessionId }: AiChatProps): react_jsx_runtime.JSX.Element;
|