@iblai/data-layer 0.0.5 → 0.2.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/dist/index.d.ts +39165 -23
- package/dist/index.esm.js +23976 -16565
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +24135 -16565
- package/dist/index.js.map +1 -1
- package/dist/package.json +82 -0
- package/dist/src/config.d.ts +2 -0
- package/dist/src/constants.d.ts +2 -3
- package/dist/src/features/analytics/api-slice.d.ts +1600 -0
- package/dist/src/features/analytics/constants.d.ts +66 -0
- package/dist/src/features/analytics/types.d.ts +100 -0
- package/dist/src/features/api-keys/api-slice.d.ts +104 -33
- package/dist/src/features/apps/api-slice.d.ts +683 -0
- package/dist/src/features/auth/api-slice.d.ts +137 -0
- package/dist/src/features/auth/constants.d.ts +8 -0
- package/dist/src/features/auth/types.d.ts +13 -0
- package/dist/src/features/billing/api-slice.d.ts +349 -0
- package/dist/{features/api-keys → src/features/career}/api-slice.d.ts +392 -299
- package/dist/src/features/catalog/api-slice.d.ts +6602 -1
- package/dist/src/features/chat/api-slice.d.ts +1566 -31
- package/dist/src/features/chat/chat-slice.d.ts +4 -7
- package/dist/src/features/chat-history/api-slice.d.ts +517 -243
- package/dist/src/features/core/api-slice.d.ts +493 -4
- package/dist/src/features/core/constants.d.ts +4 -0
- package/dist/src/features/credentials/api-slice.d.ts +1661 -63
- package/dist/src/features/credentials/constants.d.ts +28 -0
- package/dist/src/features/credentials/custom-api-slice.d.ts +1284 -0
- package/dist/src/features/credentials/types.d.ts +16 -0
- package/dist/src/features/datasets/api-slice.d.ts +351 -42
- package/dist/src/features/llms/api-slice.d.ts +88 -22
- package/dist/src/features/memory/api-slice.d.ts +1222 -0
- package/dist/src/features/mentor/api-slice.d.ts +2628 -146
- package/dist/src/features/mentor/constants.d.ts +31 -0
- package/dist/src/features/mentor/custom-api-slice.d.ts +268 -0
- package/dist/src/features/mentor/types.d.ts +38 -0
- package/dist/src/features/mentor-categories/api-slice.d.ts +66 -22
- package/dist/src/features/notifications/api-slice.d.ts +946 -0
- package/dist/src/features/per-learner/api-slice.d.ts +1213 -0
- package/dist/src/features/platform/api-slice.d.ts +769 -49
- package/dist/src/features/prompts/api-slice.d.ts +1334 -72
- package/dist/src/features/search/api-slice.d.ts +1939 -0
- package/dist/src/features/sessions/api-slice.d.ts +705 -0
- package/dist/src/features/skills/api-slice.d.ts +504 -64
- package/dist/src/features/stripe/api-slice.d.ts +620 -0
- package/dist/src/features/stripe/constants.d.ts +15 -0
- package/dist/src/features/stripe/types.d.ts +9 -0
- package/dist/src/features/tenant/api-slice.d.ts +268 -45
- package/dist/src/features/tenant/constants.d.ts +1 -1
- package/dist/src/features/tenant-logo/api-slice.d.ts +349 -0
- package/dist/src/features/tenant-logo/constants.d.ts +24 -0
- package/dist/src/features/tools/api-slice.d.ts +88 -22
- package/dist/src/features/training-documents/api-slice.d.ts +223 -51
- package/dist/src/features/user/api-slice.d.ts +1457 -22
- package/dist/src/features/user/constants.d.ts +30 -1
- package/dist/src/features/user/types.d.ts +65 -2
- package/dist/src/features/user-invitations/api-slice.d.ts +345 -55
- package/dist/src/features/utils.d.ts +25 -5
- package/dist/src/index.d.ts +24 -0
- package/dist/src/reducers/index.d.ts +1 -0
- package/dist/src/reducers/mentor.d.ts +2 -120
- package/dist/src/reducers/skills.d.ts +1128 -0
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/tests/features/analytics/constants.test.d.ts +1 -0
- package/dist/tests/features/user/api-slice.test.d.ts +1 -0
- package/dist/tests/features/user/constants.test.d.ts +1 -0
- package/dist/tests/setupTests.d.ts +1 -0
- package/package.json +31 -25
- package/dist/config.d.ts +0 -5
- package/dist/constants.d.ts +0 -31
- package/dist/core/index.d.ts +0 -4
- package/dist/features/chat/api-slice.d.ts +0 -1278
- package/dist/features/chat/chat-slice.d.ts +0 -15
- package/dist/features/chat-history/api-slice.d.ts +0 -956
- package/dist/features/chat-history/constants.d.ts +0 -3
- package/dist/features/core/api-slice.d.ts +0 -164
- package/dist/features/credentials/api-slice.d.ts +0 -531
- package/dist/features/datasets/api-slice.d.ts +0 -267
- package/dist/features/index.d.ts +0 -1
- package/dist/features/llms/api-slice.d.ts +0 -267
- package/dist/features/mentor/api-slice.d.ts +0 -1816
- package/dist/features/mentor-categories/api-slice.d.ts +0 -267
- package/dist/features/platform/api-slice.d.ts +0 -735
- package/dist/features/prompts/api-slice.d.ts +0 -1014
- package/dist/features/skills/api-slice.d.ts +0 -795
- package/dist/features/tenant/api-slice.d.ts +0 -536
- package/dist/features/tenant/constants.d.ts +0 -11
- package/dist/features/tenant/types.d.ts +0 -18
- package/dist/features/tools/api-slice.d.ts +0 -267
- package/dist/features/training-documents/api-slice.d.ts +0 -750
- package/dist/features/user/api-slice.d.ts +0 -751
- package/dist/features/user/constants.d.ts +0 -19
- package/dist/features/user/types.d.ts +0 -64
- package/dist/features/user-invitations/api-slice.d.ts +0 -428
- package/dist/features/utils.d.ts +0 -46
- package/dist/node_modules/@iblai/iblai-api/src/core/ApiError.d.ts +0 -10
- package/dist/node_modules/@iblai/iblai-api/src/core/ApiRequestOptions.d.ts +0 -13
- package/dist/node_modules/@iblai/iblai-api/src/core/ApiResult.d.ts +0 -7
- package/dist/node_modules/@iblai/iblai-api/src/core/CancelablePromise.d.ts +0 -20
- package/dist/node_modules/@iblai/iblai-api/src/core/OpenAPI.d.ts +0 -16
- package/dist/node_modules/@iblai/iblai-api/src/core/request.d.ts +0 -30
- package/dist/reducers/index.d.ts +0 -1
- package/dist/reducers/mentor.d.ts +0 -135
- package/dist/services/StorageService.d.ts +0 -5
- package/dist/src/features/chat-history/constants.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -2
- /package/dist/{features → src/features}/constants.d.ts +0 -0
- /package/dist/{features/catalog/api-slice.d.ts → tests/features/analytics/api-slice.test.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Slice } from "@reduxjs/toolkit";
|
|
2
2
|
interface Message {
|
|
3
3
|
role: "user" | "assistant";
|
|
4
4
|
content: string;
|
|
@@ -6,10 +6,7 @@ interface Message {
|
|
|
6
6
|
export interface ChatState {
|
|
7
7
|
messages: Message[];
|
|
8
8
|
}
|
|
9
|
-
export declare const chatSlice:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}, "chat", "chat", import("@reduxjs/toolkit").SliceSelectors<ChatState>>;
|
|
13
|
-
export declare const addMessage: import("@reduxjs/toolkit").ActionCreatorWithPayload<Message, "chat/addMessage">, clearMessages: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"chat/clearMessages">;
|
|
14
|
-
declare const _default: import("redux").Reducer<ChatState>;
|
|
9
|
+
export declare const chatSlice: Slice<ChatState>;
|
|
10
|
+
export declare const addMessage: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, never, never> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, never, any> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, any, never> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, any, any>, clearMessages: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithPayload<any, `${string}/${string}`> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, never, never> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, never, any> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, any, never> | import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<any[], any, `${string}/${string}`, any, any>;
|
|
11
|
+
declare const _default: import("@reduxjs/toolkit").Reducer<ChatState>;
|
|
15
12
|
export default _default;
|