@atlaskit/smart-hooks 1.0.0 → 1.1.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 +13 -0
- package/dist/cjs/entry-points/transform-recommendations-to-options.js +13 -0
- package/dist/cjs/entry-points/use-user-recommendations.js +13 -0
- package/dist/cjs/messages.js +1 -1
- package/dist/cjs/services/use-user-recommendations/analytics.js +1 -1
- package/dist/es2019/entry-points/transform-recommendations-to-options.js +1 -0
- package/dist/es2019/entry-points/use-user-recommendations.js +1 -0
- package/dist/es2019/messages.js +1 -1
- package/dist/es2019/services/use-user-recommendations/analytics.js +1 -0
- package/dist/esm/entry-points/transform-recommendations-to-options.js +1 -0
- package/dist/esm/entry-points/use-user-recommendations.js +1 -0
- package/dist/esm/messages.js +1 -1
- package/dist/esm/services/use-user-recommendations/analytics.js +1 -0
- package/dist/types/entry-points/transform-recommendations-to-options.d.ts +1 -0
- package/dist/types/entry-points/use-user-recommendations.d.ts +1 -0
- package/dist/types/services/use-function-usage-tracking/index.d.ts +2 -1
- package/dist/types/services/use-user-recommendations/analytics.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/transform-recommendations-to-options.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/use-user-recommendations.d.ts +1 -0
- package/dist/types-ts4.5/services/use-function-usage-tracking/index.d.ts +2 -1
- package/dist/types-ts4.5/services/use-user-recommendations/analytics.d.ts +2 -2
- package/example-helpers/mock-urs-data.ts +91 -1
- package/package.json +5 -5
- package/transform-recommendations-to-options/package.json +15 -0
- package/use-user-recommendations/package.json +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/smart-hooks
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`3f23aba4db7f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f23aba4db7f2) -
|
|
8
|
+
Autofix: add explicit package exports (barrel removal)
|
|
9
|
+
|
|
10
|
+
## 1.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 1.0.0
|
|
4
17
|
|
|
5
18
|
### Major Changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "transformRecommendationsToOptions", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _index.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _index = _interopRequireDefault(require("../utils/transform-recommendations-to-options/index"));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "useUserRecommendations", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _index.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _index = _interopRequireDefault(require("../services/use-user-recommendations/index"));
|
package/dist/cjs/messages.js
CHANGED
|
@@ -9,7 +9,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
9
9
|
externalUserSourcesHeading: {
|
|
10
10
|
id: 'smart-experiences.smart-hooks.external.sourced.from',
|
|
11
11
|
defaultMessage: 'Found in:',
|
|
12
|
-
description: '
|
|
12
|
+
description: 'The text is shown as a label in the user picker dropdown preceding the list of external organizations or directories where the external user account was found (e.g. a guest directory or external workspace).'
|
|
13
13
|
},
|
|
14
14
|
slackProvider: {
|
|
15
15
|
id: 'smart-experiences.smart-hooks.slack.provider',
|
|
@@ -10,7 +10,7 @@ var _analyticsGasTypes = require("@atlaskit/analytics-gas-types");
|
|
|
10
10
|
var _analyticsListeners = require("@atlaskit/analytics-listeners");
|
|
11
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
12
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
14
14
|
var createAndFireEventInElementsChannel = (0, _analyticsNext.createAndFireEvent)(_analyticsListeners.FabricChannel.elements);
|
|
15
15
|
var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
16
16
|
var attributes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as transformRecommendationsToOptions } from '../utils/transform-recommendations-to-options/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useUserRecommendations } from '../services/use-user-recommendations/index';
|
package/dist/es2019/messages.js
CHANGED
|
@@ -3,7 +3,7 @@ export const messages = defineMessages({
|
|
|
3
3
|
externalUserSourcesHeading: {
|
|
4
4
|
id: 'smart-experiences.smart-hooks.external.sourced.from',
|
|
5
5
|
defaultMessage: 'Found in:',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'The text is shown as a label in the user picker dropdown preceding the list of external organizations or directories where the external user account was found (e.g. a guest directory or external workspace).'
|
|
7
7
|
},
|
|
8
8
|
slackProvider: {
|
|
9
9
|
id: 'smart-experiences.smart-hooks.slack.provider',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TRACK_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
2
2
|
import { FabricChannel } from '@atlaskit/analytics-listeners';
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
3
4
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
4
5
|
const createAndFireEventInElementsChannel = createAndFireEvent(FabricChannel.elements);
|
|
5
6
|
const createEvent = (eventType, action, actionSubject, attributes = {}) => ({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as transformRecommendationsToOptions } from '../utils/transform-recommendations-to-options/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useUserRecommendations } from '../services/use-user-recommendations/index';
|
package/dist/esm/messages.js
CHANGED
|
@@ -3,7 +3,7 @@ export var messages = defineMessages({
|
|
|
3
3
|
externalUserSourcesHeading: {
|
|
4
4
|
id: 'smart-experiences.smart-hooks.external.sourced.from',
|
|
5
5
|
defaultMessage: 'Found in:',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'The text is shown as a label in the user picker dropdown preceding the list of external organizations or directories where the external user account was found (e.g. a guest directory or external workspace).'
|
|
7
7
|
},
|
|
8
8
|
slackProvider: {
|
|
9
9
|
id: 'smart-experiences.smart-hooks.slack.provider',
|
|
@@ -3,6 +3,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { TRACK_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
5
5
|
import { FabricChannel } from '@atlaskit/analytics-listeners';
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
6
7
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
7
8
|
var createAndFireEventInElementsChannel = createAndFireEvent(FabricChannel.elements);
|
|
8
9
|
var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as transformRecommendationsToOptions } from '../utils/transform-recommendations-to-options/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useUserRecommendations } from '../services/use-user-recommendations/index';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
declare function useFunctionUsageTracking<InputFunctionType extends (...any: any) => any>(trackedFunction: InputFunctionType): {
|
|
2
3
|
isUsed: boolean;
|
|
3
|
-
trackingFunction:
|
|
4
|
+
trackingFunction: MemoizedFn<() => InputFunctionType>;
|
|
4
5
|
};
|
|
5
6
|
export default useFunctionUsageTracking;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AnalyticsEventPayload, type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
1
|
+
import { type AnalyticsEventPayload, type CreateUIAnalyticsEvent, UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { type UserSearchItem } from '@atlaskit/smart-common';
|
|
3
3
|
import { type UseUserRecommendationsProps } from '../../types';
|
|
4
4
|
export declare const findUserPosition: (loadedUsers: UserSearchItem[], userId: string) => number;
|
|
@@ -17,4 +17,4 @@ export declare const createDefaultAttributes: (props: UseUserRecommendationsProp
|
|
|
17
17
|
sessionId: string;
|
|
18
18
|
tenantId: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const fireUserSelectedEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, payloadAttributes: AnalyticsEventPayload) =>
|
|
20
|
+
export declare const fireUserSelectedEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, payloadAttributes: AnalyticsEventPayload) => UIAnalyticsEvent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as transformRecommendationsToOptions } from '../utils/transform-recommendations-to-options/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useUserRecommendations } from '../services/use-user-recommendations/index';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
declare function useFunctionUsageTracking<InputFunctionType extends (...any: any) => any>(trackedFunction: InputFunctionType): {
|
|
2
3
|
isUsed: boolean;
|
|
3
|
-
trackingFunction:
|
|
4
|
+
trackingFunction: MemoizedFn<() => InputFunctionType>;
|
|
4
5
|
};
|
|
5
6
|
export default useFunctionUsageTracking;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AnalyticsEventPayload, type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
1
|
+
import { type AnalyticsEventPayload, type CreateUIAnalyticsEvent, UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { type UserSearchItem } from '@atlaskit/smart-common';
|
|
3
3
|
import { type UseUserRecommendationsProps } from '../../types';
|
|
4
4
|
export declare const findUserPosition: (loadedUsers: UserSearchItem[], userId: string) => number;
|
|
@@ -17,4 +17,4 @@ export declare const createDefaultAttributes: (props: UseUserRecommendationsProp
|
|
|
17
17
|
sessionId: string;
|
|
18
18
|
tenantId: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const fireUserSelectedEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, payloadAttributes: AnalyticsEventPayload) =>
|
|
20
|
+
export declare const fireUserSelectedEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, payloadAttributes: AnalyticsEventPayload) => UIAnalyticsEvent;
|
|
@@ -1,7 +1,97 @@
|
|
|
1
1
|
export const userSampleAvatarUrl =
|
|
2
2
|
'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/2wCEAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRQBAwQEBQQFCQUFCRQNCw0UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFP/AABEIACAAIAMBIgACEQEDEQH/xAB1AAEAAwEAAAAAAAAAAAAAAAAHAgUGCBAAAQMCBQMDAgcAAAAAAAAAAQIDBAURAAYSIUEHEzEUImEVcSMyQlGBweEBAAMBAAAAAAAAAAAAAAAAAAMEBwURAAICAgMBAQEAAAAAAAAAAAECAxEABBIhIkExgf/aAAwDAQACEQMRAD8AxWVci1ipwmJdT7seKFbIMgLKrGxTYkkH4NsMH1D0UFwsqsAACom1zbxvje9QMoU6BVnnFPswkqBX71JQkj7nnBFmwNx6JJmw5zUtkKUlCmFhaCAkG+21/IxCZ2keQ2KA6/uWzyF5X2cs1T1To62n3jYoWUuDfyLf3gUzhl/MuUI06fDLjdMBGh5EtCyQogBOm2q9+L+MJ1Ep0p1SFd5lptwqSe6sJCRpBvvySQP4xoqZlFt6QluQ4iSUL1eQQP8AcG1pHieqsHFHcVyv8xB6l0hnNOUrzGPUKlsBBXYa0FJ/MkkEbEA253GB/I/SeH0wy1PocFtoU6pOeqbbUjthp3TY8nyPngbADHT1ejCi02LGaShx6GlJKFH2rPlV/ub4H85yI+bSqPGdRSZjThdbYeSUNlRFlAnwQfixGNTZn4zSRq3hjdYprRK0cbyD2ABeBHULpiOo8ymrluBNMpai4lgoU5+MFg6zpULWtbkEXww5Ey/EpFOhoYQtllsDVqPudI5V9/OI0ZNMyahuI4tqsy/euykak90nlXgC9hsNv3xd0xuTMImylLaSE3S3+kE8cYHJslwsQbyvzADXRHaSuz9z/9k=';
|
|
3
3
|
|
|
4
|
-
export const mockUserSearchData
|
|
4
|
+
export const mockUserSearchData: (
|
|
5
|
+
| {
|
|
6
|
+
id: string;
|
|
7
|
+
avatarUrl: string;
|
|
8
|
+
name: string;
|
|
9
|
+
mentionName: string;
|
|
10
|
+
lozenge: string;
|
|
11
|
+
accessLevel: string;
|
|
12
|
+
presence: {
|
|
13
|
+
status: string;
|
|
14
|
+
time?: undefined;
|
|
15
|
+
};
|
|
16
|
+
nickname?: undefined;
|
|
17
|
+
userType?: undefined;
|
|
18
|
+
context?: undefined;
|
|
19
|
+
}
|
|
20
|
+
| {
|
|
21
|
+
id: string;
|
|
22
|
+
avatarUrl: string;
|
|
23
|
+
name: string;
|
|
24
|
+
mentionName: string;
|
|
25
|
+
lozenge: string;
|
|
26
|
+
accessLevel: string;
|
|
27
|
+
presence: {
|
|
28
|
+
status: string;
|
|
29
|
+
time: string;
|
|
30
|
+
};
|
|
31
|
+
nickname?: undefined;
|
|
32
|
+
userType?: undefined;
|
|
33
|
+
context?: undefined;
|
|
34
|
+
}
|
|
35
|
+
| {
|
|
36
|
+
id: string;
|
|
37
|
+
avatarUrl: string;
|
|
38
|
+
name: string;
|
|
39
|
+
mentionName: string;
|
|
40
|
+
nickname: string;
|
|
41
|
+
accessLevel: string;
|
|
42
|
+
presence: {
|
|
43
|
+
status: string;
|
|
44
|
+
time?: undefined;
|
|
45
|
+
};
|
|
46
|
+
lozenge?: undefined;
|
|
47
|
+
userType?: undefined;
|
|
48
|
+
context?: undefined;
|
|
49
|
+
}
|
|
50
|
+
| {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
mentionName: string;
|
|
54
|
+
presence: {
|
|
55
|
+
time: string;
|
|
56
|
+
status?: undefined;
|
|
57
|
+
};
|
|
58
|
+
avatarUrl?: undefined;
|
|
59
|
+
lozenge?: undefined;
|
|
60
|
+
accessLevel?: undefined;
|
|
61
|
+
nickname?: undefined;
|
|
62
|
+
userType?: undefined;
|
|
63
|
+
context?: undefined;
|
|
64
|
+
}
|
|
65
|
+
| {
|
|
66
|
+
id: string;
|
|
67
|
+
avatarUrl: string;
|
|
68
|
+
name: string;
|
|
69
|
+
lozenge: string;
|
|
70
|
+
mentionName: string;
|
|
71
|
+
accessLevel?: undefined;
|
|
72
|
+
presence?: undefined;
|
|
73
|
+
nickname?: undefined;
|
|
74
|
+
userType?: undefined;
|
|
75
|
+
context?: undefined;
|
|
76
|
+
}
|
|
77
|
+
| {
|
|
78
|
+
id: string;
|
|
79
|
+
avatarUrl: string;
|
|
80
|
+
name: string;
|
|
81
|
+
userType: string;
|
|
82
|
+
context: {
|
|
83
|
+
members: never[];
|
|
84
|
+
includesYou: boolean;
|
|
85
|
+
memberCount: number;
|
|
86
|
+
teamLink: string;
|
|
87
|
+
};
|
|
88
|
+
mentionName?: undefined;
|
|
89
|
+
lozenge?: undefined;
|
|
90
|
+
accessLevel?: undefined;
|
|
91
|
+
presence?: undefined;
|
|
92
|
+
nickname?: undefined;
|
|
93
|
+
}
|
|
94
|
+
)[] = [
|
|
5
95
|
{
|
|
6
96
|
id: '2234',
|
|
7
97
|
avatarUrl: userSampleAvatarUrl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-hooks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/afm-i18n-platform-smart-experiences-smart-hooks": "2.7.0",
|
|
29
29
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
30
|
-
"@atlaskit/analytics-listeners": "^10.
|
|
30
|
+
"@atlaskit/analytics-listeners": "^10.1.0",
|
|
31
31
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
32
|
-
"@atlaskit/smart-common": "^2.
|
|
33
|
-
"@atlaskit/ufo": "^0.
|
|
34
|
-
"@atlaskit/user-picker": "^12.
|
|
32
|
+
"@atlaskit/smart-common": "^2.1.0",
|
|
33
|
+
"@atlaskit/ufo": "^0.5.0",
|
|
34
|
+
"@atlaskit/user-picker": "^12.1.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"lodash": "^4.17.21",
|
|
37
37
|
"memoize-one": "^6.0.0",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/smart-hooks/transform-recommendations-to-options",
|
|
3
|
+
"main": "../dist/cjs/entry-points/transform-recommendations-to-options.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/transform-recommendations-to-options.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/transform-recommendations-to-options.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/entry-points/transform-recommendations-to-options.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <5.9": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/entry-points/transform-recommendations-to-options.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/smart-hooks/use-user-recommendations",
|
|
3
|
+
"main": "../dist/cjs/entry-points/use-user-recommendations.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/use-user-recommendations.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/use-user-recommendations.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/entry-points/use-user-recommendations.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <5.9": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/entry-points/use-user-recommendations.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|