@iblai/data-layer 1.1.7 → 1.1.9
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 +324 -11
- package/dist/index.esm.js +24 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/analytics/custom-api-slice.d.ts +311 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.js
CHANGED
|
@@ -41306,6 +41306,25 @@ const analyticsApiSlice = react.createApi({
|
|
|
41306
41306
|
});
|
|
41307
41307
|
const { useGetOverviewSummaryQuery, useGetConversationQuery, useGetMostDiscussedTopicsQuery, useGetAverageMessagesPerSessionQuery, useGetRegisteredUsersTrendQuery, useGetUserMetricsQuery, useGetUserMetricsPieChartQuery, useGetUserCohortsOverTimeQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicsSummaryQuery, useGetTopicStatisticsQuery, useGetTopicsStatsQuery, useGetUsersStatsQuery, useGetSessionStatsQuery, useGetTopicsDetailsStatsQuery, useGetAccessTimeHeatmapQuery, useGetUserDetailsStatsQuery, useGetAverageRatingQuery, useGetFinancialStatsQuery, useGetDetailedFinancialStatsQuery, useGetTranscriptsMessagesQuery, useGetTranscriptsMessagesDetailsQuery, useTimeTrackingMutation, useGetTranscriptsConversationHeadlineQuery, useGetContentAnalyticsQuery, useGetContentAnalyticsDetailsQuery, } = analyticsApiSlice;
|
|
41308
41308
|
|
|
41309
|
+
const analyticsCustomSlice = react.createApi({
|
|
41310
|
+
reducerPath: 'analyticsCustomApiSlice',
|
|
41311
|
+
baseQuery: iblFetchBaseQuery,
|
|
41312
|
+
tagTypes: ['Analytics'],
|
|
41313
|
+
endpoints: (builder) => ({
|
|
41314
|
+
getDownloadReportFromURL: builder.query({
|
|
41315
|
+
query: ({ url }) => ({
|
|
41316
|
+
url: url,
|
|
41317
|
+
service: exports.SERVICES.DM,
|
|
41318
|
+
method: 'GET',
|
|
41319
|
+
responseHandler: (response) => response.blob(),
|
|
41320
|
+
}),
|
|
41321
|
+
// Blobs are non-serializable; disable caching to prevent Redux serialization warnings
|
|
41322
|
+
keepUnusedDataFor: 0,
|
|
41323
|
+
}),
|
|
41324
|
+
}),
|
|
41325
|
+
});
|
|
41326
|
+
const { useGetDownloadReportFromURLQuery, useLazyGetDownloadReportFromURLQuery } = analyticsCustomSlice;
|
|
41327
|
+
|
|
41309
41328
|
const reportsApiSlice = react.createApi({
|
|
41310
41329
|
reducerPath: 'reportsApiSlice',
|
|
41311
41330
|
baseQuery: iblFakeBaseQuery,
|
|
@@ -43188,6 +43207,7 @@ const mentorReducer = {
|
|
|
43188
43207
|
[artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
|
|
43189
43208
|
[coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
|
|
43190
43209
|
[billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
|
|
43210
|
+
[analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
|
|
43191
43211
|
};
|
|
43192
43212
|
const mentorMiddleware = [
|
|
43193
43213
|
mentorApiSlice.middleware,
|
|
@@ -43231,6 +43251,7 @@ const mentorMiddleware = [
|
|
|
43231
43251
|
artifactsApiSlice.middleware,
|
|
43232
43252
|
coreFakeCustomPublicImageAssetApiSlice.middleware,
|
|
43233
43253
|
billingCustomSlice.middleware,
|
|
43254
|
+
analyticsCustomSlice.middleware,
|
|
43234
43255
|
];
|
|
43235
43256
|
|
|
43236
43257
|
const skillsReducer = {
|
|
@@ -43264,6 +43285,7 @@ const skillsReducer = {
|
|
|
43264
43285
|
[artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
|
|
43265
43286
|
[coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
|
|
43266
43287
|
[billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
|
|
43288
|
+
[analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
|
|
43267
43289
|
};
|
|
43268
43290
|
const skillsMiddleware = [
|
|
43269
43291
|
perLearnerApiSlice.middleware,
|
|
@@ -43296,6 +43318,7 @@ const skillsMiddleware = [
|
|
|
43296
43318
|
artifactsApiSlice.middleware,
|
|
43297
43319
|
coreFakeCustomPublicImageAssetApiSlice.middleware,
|
|
43298
43320
|
billingCustomSlice.middleware,
|
|
43321
|
+
analyticsCustomSlice.middleware,
|
|
43299
43322
|
];
|
|
43300
43323
|
|
|
43301
43324
|
const initializeDataLayer = (dmUrl, lmsUrl, storageService, httpErrorHandler = {}) => {
|
|
@@ -43352,6 +43375,7 @@ exports.TENANT_LOGO_QUERY_KEYS = TENANT_LOGO_QUERY_KEYS;
|
|
|
43352
43375
|
exports.TENANT_LOGO_REDUCER_PATH = TENANT_LOGO_REDUCER_PATH;
|
|
43353
43376
|
exports.URL_PATTERNS = URL_PATTERNS;
|
|
43354
43377
|
exports.analyticsApiSlice = analyticsApiSlice;
|
|
43378
|
+
exports.analyticsCustomSlice = analyticsCustomSlice;
|
|
43355
43379
|
exports.apiKeysApiReducer = apiKeysApiReducer;
|
|
43356
43380
|
exports.apiKeysApiSlice = apiKeysApiSlice;
|
|
43357
43381
|
exports.appApiReducer = appApiReducer;
|
|
@@ -43537,6 +43561,7 @@ exports.useGetDatasetsQuery = useGetDatasetsQuery;
|
|
|
43537
43561
|
exports.useGetDesiredSkillsQuery = useGetDesiredSkillsQuery;
|
|
43538
43562
|
exports.useGetDetailedFinancialStatsQuery = useGetDetailedFinancialStatsQuery;
|
|
43539
43563
|
exports.useGetDisclaimersQuery = useGetDisclaimersQuery;
|
|
43564
|
+
exports.useGetDownloadReportFromURLQuery = useGetDownloadReportFromURLQuery;
|
|
43540
43565
|
exports.useGetEnrollmentCourseSearchQuery = useGetEnrollmentCourseSearchQuery;
|
|
43541
43566
|
exports.useGetExamInfoQuery = useGetExamInfoQuery;
|
|
43542
43567
|
exports.useGetExternalMappingQuery = useGetExternalMappingQuery;
|
|
@@ -43692,6 +43717,7 @@ exports.useLazyGetCustomMentorsQuery = useLazyGetCustomMentorsQuery;
|
|
|
43692
43717
|
exports.useLazyGetDatasetsQuery = useLazyGetDatasetsQuery;
|
|
43693
43718
|
exports.useLazyGetDesiredSkillsQuery = useLazyGetDesiredSkillsQuery;
|
|
43694
43719
|
exports.useLazyGetDisclaimersQuery = useLazyGetDisclaimersQuery;
|
|
43720
|
+
exports.useLazyGetDownloadReportFromURLQuery = useLazyGetDownloadReportFromURLQuery;
|
|
43695
43721
|
exports.useLazyGetEnrollmentCourseSearchQuery = useLazyGetEnrollmentCourseSearchQuery;
|
|
43696
43722
|
exports.useLazyGetExamInfoQuery = useLazyGetExamInfoQuery;
|
|
43697
43723
|
exports.useLazyGetExternalMappingQuery = useLazyGetExternalMappingQuery;
|