@amityco/ts-sdk 7.29.0 → 7.29.1-c2a29dc.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/@types/core/errors.d.ts +4 -1
- package/dist/@types/core/errors.d.ts.map +1 -1
- package/dist/@types/domains/channel.d.ts +13 -1
- package/dist/@types/domains/channel.d.ts.map +1 -1
- package/dist/@types/domains/content.d.ts +11 -0
- package/dist/@types/domains/content.d.ts.map +1 -1
- package/dist/@types/domains/user.d.ts +75 -0
- package/dist/@types/domains/user.d.ts.map +1 -1
- package/dist/channelRepository/observers/getChannels/ChannelLiveCollectionController.d.ts.map +1 -1
- package/dist/channelRepository/observers/searchChannels/SearchChannelLiveCollectionController.d.ts.map +1 -1
- package/dist/channelRepository/observers/tests/integrations/getChannelsSortByLastMessage.integration.test.d.ts +2 -0
- package/dist/channelRepository/observers/tests/integrations/getChannelsSortByLastMessage.integration.test.d.ts.map +1 -0
- package/dist/channelRepository/utils/channelActivityOnLoginHandler.d.ts +16 -0
- package/dist/channelRepository/utils/channelActivityOnLoginHandler.d.ts.map +1 -0
- package/dist/channelRepository/utils/tests/integrations/channelActivity.integration.test.d.ts +2 -0
- package/dist/channelRepository/utils/tests/integrations/channelActivity.integration.test.d.ts.map +1 -0
- package/dist/channelRepository/utils/tests/updateChannelActivityTimestamps.test.d.ts +2 -0
- package/dist/channelRepository/utils/tests/updateChannelActivityTimestamps.test.d.ts.map +1 -0
- package/dist/channelRepository/utils/updateChannelActivityTimestamps.d.ts +42 -0
- package/dist/channelRepository/utils/updateChannelActivityTimestamps.d.ts.map +1 -0
- package/dist/client/api/resumeSession.d.ts.map +1 -1
- package/dist/client/api/setupLoginSubscriptions.d.ts.map +1 -1
- package/dist/commentRepository/api/flagComment.d.ts +72 -5
- package/dist/commentRepository/api/flagComment.d.ts.map +1 -1
- package/dist/commentRepository/internalApi/flagCommentWithOptions.d.ts +13 -0
- package/dist/commentRepository/internalApi/flagCommentWithOptions.d.ts.map +1 -0
- package/dist/commentRepository/internalApi/flagCommentWithReasonString.d.ts +17 -0
- package/dist/commentRepository/internalApi/flagCommentWithReasonString.d.ts.map +1 -0
- package/dist/commentRepository/internalApi/index.d.ts +2 -0
- package/dist/commentRepository/internalApi/index.d.ts.map +1 -1
- package/dist/commentRepository/internalApi/tests/integration/flagCommentWithOptions.integration.test.d.ts +2 -0
- package/dist/commentRepository/internalApi/tests/integration/flagCommentWithOptions.integration.test.d.ts.map +1 -0
- package/dist/commentRepository/internalApi/tests/integration/flagCommentWithReasonString.integration.test.d.ts +2 -0
- package/dist/commentRepository/internalApi/tests/integration/flagCommentWithReasonString.integration.test.d.ts.map +1 -0
- package/dist/core/microtasks.d.ts.map +1 -1
- package/dist/core/query/sorting.d.ts +10 -0
- package/dist/core/query/sorting.d.ts.map +1 -1
- package/dist/core/query/tests/sorting.test.d.ts +2 -0
- package/dist/core/query/tests/sorting.test.d.ts.map +1 -0
- package/dist/core/tests/microtasks.test.d.ts +2 -0
- package/dist/core/tests/microtasks.test.d.ts.map +1 -0
- package/dist/core/transports/tests/integration/serverErrorCodes.integration.test.d.ts +2 -0
- package/dist/core/transports/tests/integration/serverErrorCodes.integration.test.d.ts.map +1 -0
- package/dist/index.cjs.js +726 -81
- package/dist/index.esm.js +726 -82
- package/dist/index.umd.js +2 -2
- package/dist/messagePreview/utils/getChannelMessagePreviewWithUser.d.ts +1 -0
- package/dist/messagePreview/utils/getChannelMessagePreviewWithUser.d.ts.map +1 -1
- package/dist/messageRepository/api/createMessage.d.ts.map +1 -1
- package/dist/messageRepository/api/flagMessage.d.ts +73 -6
- package/dist/messageRepository/api/flagMessage.d.ts.map +1 -1
- package/dist/messageRepository/api/tests/integration/flagMessage.overloads.integration.test.d.ts +2 -0
- package/dist/messageRepository/api/tests/integration/flagMessage.overloads.integration.test.d.ts.map +1 -0
- package/dist/messageRepository/internalApi/flagMessageWithOptions.d.ts +13 -0
- package/dist/messageRepository/internalApi/flagMessageWithOptions.d.ts.map +1 -0
- package/dist/messageRepository/internalApi/flagMessageWithReasonString.d.ts +18 -0
- package/dist/messageRepository/internalApi/flagMessageWithReasonString.d.ts.map +1 -0
- package/dist/messageRepository/internalApi/tests/integration/flagMessageWithOptions.integration.test.d.ts +2 -0
- package/dist/messageRepository/internalApi/tests/integration/flagMessageWithOptions.integration.test.d.ts.map +1 -0
- package/dist/messageRepository/internalApi/tests/integration/flagMessageWithReasonString.integration.test.d.ts +2 -0
- package/dist/messageRepository/internalApi/tests/integration/flagMessageWithReasonString.integration.test.d.ts.map +1 -0
- package/dist/postRepository/api/flagPost.d.ts +73 -6
- package/dist/postRepository/api/flagPost.d.ts.map +1 -1
- package/dist/postRepository/api/tests/integration/flagPost.overloads.integration.test.d.ts +2 -0
- package/dist/postRepository/api/tests/integration/flagPost.overloads.integration.test.d.ts.map +1 -0
- package/dist/postRepository/internalApi/flagPostWithOptions.d.ts +13 -0
- package/dist/postRepository/internalApi/flagPostWithOptions.d.ts.map +1 -0
- package/dist/postRepository/internalApi/flagPostWithReasonString.d.ts +17 -0
- package/dist/postRepository/internalApi/flagPostWithReasonString.d.ts.map +1 -0
- package/dist/postRepository/internalApi/index.d.ts +2 -0
- package/dist/postRepository/internalApi/index.d.ts.map +1 -1
- package/dist/postRepository/internalApi/tests/integration/flagPostWithOptions.integration.test.d.ts +2 -0
- package/dist/postRepository/internalApi/tests/integration/flagPostWithOptions.integration.test.d.ts.map +1 -0
- package/dist/postRepository/internalApi/tests/integration/flagPostWithReasonString.integration.test.d.ts +2 -0
- package/dist/postRepository/internalApi/tests/integration/flagPostWithReasonString.integration.test.d.ts.map +1 -0
- package/dist/report/api/isReportedByMe.d.ts.map +1 -1
- package/dist/userRepository/api/flagUser.d.ts +50 -9
- package/dist/userRepository/api/flagUser.d.ts.map +1 -1
- package/dist/userRepository/api/flagUserBehavior.d.ts +29 -0
- package/dist/userRepository/api/flagUserBehavior.d.ts.map +1 -0
- package/dist/userRepository/api/flagUserProfile.d.ts +29 -0
- package/dist/userRepository/api/flagUserProfile.d.ts.map +1 -0
- package/dist/userRepository/api/index.d.ts +2 -0
- package/dist/userRepository/api/index.d.ts.map +1 -1
- package/dist/userRepository/api/isUserFlaggedByMe.d.ts +22 -4
- package/dist/userRepository/api/isUserFlaggedByMe.d.ts.map +1 -1
- package/dist/userRepository/api/tests/integration/flagUser.overloads.integration.test.d.ts +2 -0
- package/dist/userRepository/api/tests/integration/flagUser.overloads.integration.test.d.ts.map +1 -0
- package/dist/userRepository/api/tests/integration/flagUserBehavior.integration.test.d.ts +2 -0
- package/dist/userRepository/api/tests/integration/flagUserBehavior.integration.test.d.ts.map +1 -0
- package/dist/userRepository/api/tests/integration/flagUserProfile.integration.test.d.ts +2 -0
- package/dist/userRepository/api/tests/integration/flagUserProfile.integration.test.d.ts.map +1 -0
- package/dist/userRepository/api/unflagUser.d.ts +26 -4
- package/dist/userRepository/api/unflagUser.d.ts.map +1 -1
- package/dist/userRepository/utils/submitUserReport.d.ts +10 -0
- package/dist/userRepository/utils/submitUserReport.d.ts.map +1 -0
- package/dist/userRepository/utils/userReport.d.ts +50 -0
- package/dist/userRepository/utils/userReport.d.ts.map +1 -0
- package/dist/utils/contentFlag.d.ts +28 -0
- package/dist/utils/contentFlag.d.ts.map +1 -0
- package/dist/utils/tests/dummy/channel.d.ts +4 -0
- package/dist/utils/tests/dummy/channel.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ```js
|
|
3
|
-
* import { UserRepository } from '@amityco/ts-sdk'
|
|
4
|
-
*
|
|
3
|
+
* import { UserRepository, UserReportTypeFilterEnum } from '@amityco/ts-sdk'
|
|
4
|
+
*
|
|
5
|
+
* // Withdraw every report I filed on the user.
|
|
6
|
+
* const unflagged = await UserRepository.unflagUser('userId')
|
|
7
|
+
*
|
|
8
|
+
* // Withdraw only my behavior report; my other reports on the user stay.
|
|
9
|
+
* await UserRepository.unflagUser('userId', { reportType: UserReportTypeFilterEnum.BEHAVIOR })
|
|
10
|
+
*
|
|
11
|
+
* // Withdraw only my typeless (legacy) report.
|
|
12
|
+
* await UserRepository.unflagUser('userId', { reportType: UserReportTypeFilterEnum.UNTYPED })
|
|
5
13
|
* ```
|
|
6
14
|
*
|
|
15
|
+
* Withdraws the caller's reports on a user. Without `reportType` every report the caller
|
|
16
|
+
* filed on that user is withdrawn, as before. With `reportType` only the caller's report
|
|
17
|
+
* of that type is withdrawn; the caller's other reports and other users' reports are
|
|
18
|
+
* untouched. Withdrawing a report that does not exist succeeds and changes nothing.
|
|
19
|
+
*
|
|
20
|
+
* The returned user is persisted to the cache, so its `hashFlag` says whether the caller
|
|
21
|
+
* still holds any report on the user. Do not flip a local "flagged by me" flag to `false`
|
|
22
|
+
* after a per-type withdrawal; read the fresh user, or call `isUserFlaggedByMe` for the
|
|
23
|
+
* remaining per-type state (`flags`).
|
|
24
|
+
*
|
|
25
|
+
* Sends `DELETE /api/v4/me/flags/:userId`, with `?reportType=<type>` when one is given.
|
|
26
|
+
*
|
|
7
27
|
* @param userId The ID of the user to unflag
|
|
8
|
-
* @
|
|
28
|
+
* @param options Optional; `reportType` selects a single report to withdraw. For a report that `isUserFlaggedByMe` lists with `reportType: null`, pass `UserReportTypeFilterEnum.UNTYPED`
|
|
29
|
+
* @returns `true` once the server has processed the withdrawal
|
|
30
|
+
* @throws {ASCInvalidParameterError} `INVALID_PARAMETERS` when `reportType` is not a `UserReportTypeFilterEnum` value, before any request is made
|
|
9
31
|
*
|
|
10
32
|
* @category User API
|
|
11
33
|
* @async
|
|
12
34
|
* */
|
|
13
|
-
export declare const unflagUser: (userId: Amity.User['userId']) => Promise<boolean>;
|
|
35
|
+
export declare const unflagUser: (userId: Amity.User['userId'], options?: Amity.UserReportTypeFilterOptions) => Promise<boolean>;
|
|
14
36
|
//# sourceMappingURL=unflagUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unflagUser.d.ts","sourceRoot":"","sources":["../../../src/userRepository/api/unflagUser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"unflagUser.d.ts","sourceRoot":"","sources":["../../../src/userRepository/api/unflagUser.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiCK;AACL,eAAO,MAAM,UAAU,WACb,MAAM,IAAI,CAAC,QAAQ,CAAC,YAClB,MAAM,2BAA2B,KAC1C,QAAQ,OAAO,CAoBjB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { UserReportBody } from './userReport';
|
|
2
|
+
/**
|
|
3
|
+
* Sends a validated split user report (`flagUserProfile` / `flagUserBehavior`) to the
|
|
4
|
+
* same endpoint as `flagUser`, then persists the returned user and fires `user.flagged`
|
|
5
|
+
* exactly as `flagUser` does, so all three calls share return, cache and event behaviour.
|
|
6
|
+
*
|
|
7
|
+
* Not exported from the public API.
|
|
8
|
+
*/
|
|
9
|
+
export declare const submitUserReport: (apiName: 'flagUserProfile' | 'flagUserBehavior', userId: Amity.User['userId'], body: UserReportBody) => Promise<Amity.User>;
|
|
10
|
+
//# sourceMappingURL=submitUserReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submitUserReport.d.ts","sourceRoot":"","sources":["../../../src/userRepository/utils/submitUserReport.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,YAClB,iBAAiB,GAAG,kBAAkB,UACvC,MAAM,IAAI,CAAC,QAAQ,CAAC,QACtB,cAAc,KACnB,QAAQ,MAAM,IAAI,CAkBpB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { UserProfileFieldEnum, UserReportTypeFilterEnum } from '~/@types';
|
|
2
|
+
/** Maximum `comment` length, in string length units, after trimming. */
|
|
3
|
+
export declare const USER_REPORT_COMMENT_MAX_LENGTH = 300;
|
|
4
|
+
/** Request body sent to `POST /api/v4/me/flags/:userId` by the split user-report calls. */
|
|
5
|
+
export declare type UserReportBody = {
|
|
6
|
+
reportType: `${UserProfileFieldEnum}` | 'behavior';
|
|
7
|
+
reason?: string;
|
|
8
|
+
comment?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Normalizes an optional reporter `comment`: it must be a string when supplied (`null`
|
|
12
|
+
* is not a valid supplied comment); it is trimmed; a blank result is omitted (the
|
|
13
|
+
* backend rejects `""`); a result longer than 300 characters is rejected before any
|
|
14
|
+
* request. Otherwise the trimmed text is returned unchanged.
|
|
15
|
+
*
|
|
16
|
+
* @throws {ASCInvalidParameterError} `INVALID_PARAMETERS` for a non-string or over-length comment
|
|
17
|
+
*/
|
|
18
|
+
export declare const normalizeUserReportComment: (apiName: string, comment: unknown) => string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Validates `flagUserProfile` options and builds its request body. Untyped callers can
|
|
21
|
+
* pass anything at runtime, so nothing is trusted from the declared type. Any `reason`
|
|
22
|
+
* key is ignored and never sent.
|
|
23
|
+
*
|
|
24
|
+
* @throws {ASCInvalidParameterError} `INVALID_PARAMETERS` when the options are malformed
|
|
25
|
+
*/
|
|
26
|
+
export declare const toUserProfileReportBody: (options: unknown) => UserReportBody;
|
|
27
|
+
/**
|
|
28
|
+
* Validates `flagUserBehavior` options and builds its request body. `reason` must be one
|
|
29
|
+
* of the nine `ContentFlagReasonEnum` values and is sent as that canonical label;
|
|
30
|
+
* `reportType` is always `behavior`.
|
|
31
|
+
*
|
|
32
|
+
* @throws {ASCInvalidParameterError} `INVALID_PARAMETERS` when the options are malformed
|
|
33
|
+
*/
|
|
34
|
+
export declare const toUserBehaviorReportBody: (options: unknown) => UserReportBody;
|
|
35
|
+
/** Query parameters sent with `DELETE /api/v4/me/flags/:userId` for a per-type withdrawal. */
|
|
36
|
+
export declare type UserReportTypeFilterParams = {
|
|
37
|
+
reportType: `${UserReportTypeFilterEnum}`;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Validates the optional `{ reportType? }` of `unflagUser` and builds its query parameters.
|
|
41
|
+
* Returns `undefined` when no `reportType` is given, so the request carries no query string
|
|
42
|
+
* and withdraws every report the caller filed on the user. The server validates the value
|
|
43
|
+
* too (422); this local check only saves the round-trip for the string alias, which admits
|
|
44
|
+
* raw strings. Untyped callers can pass anything at runtime, so nothing is trusted from the
|
|
45
|
+
* declared type.
|
|
46
|
+
*
|
|
47
|
+
* @throws {ASCInvalidParameterError} `INVALID_PARAMETERS` when the options are malformed or `reportType` is unknown
|
|
48
|
+
*/
|
|
49
|
+
export declare const toUserReportTypeFilter: (options: unknown) => UserReportTypeFilterParams | undefined;
|
|
50
|
+
//# sourceMappingURL=userReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userReport.d.ts","sourceRoot":"","sources":["../../../src/userRepository/utils/userReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEjG,wEAAwE;AACxE,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAElD,2FAA2F;AAC3F,oBAAY,cAAc,GAAG;IAC3B,UAAU,EAAE,GAAG,oBAAoB,EAAE,GAAG,UAAU,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAkBF;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,YAC5B,MAAM,WACN,OAAO,KACf,MAAM,GAAG,SAkBX,CAAC;AAKF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,YAAa,OAAO,KAAG,cAc1D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,YAAa,OAAO,KAAG,cAc3D,CAAC;AAEF,8FAA8F;AAC9F,oBAAY,0BAA0B,GAAG;IACvC,UAAU,EAAE,GAAG,wBAAwB,EAAE,CAAC;CAC3C,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,YACxB,OAAO,KACf,0BAA0B,GAAG,SAe/B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** Request body shared by the post, comment and message flag endpoints. */
|
|
2
|
+
export declare type ContentFlagBody = {
|
|
3
|
+
reason: string;
|
|
4
|
+
detail?: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* True when a public `flagX(id, input)` argument is the legacy shape (a reason string
|
|
8
|
+
* or nothing). Anything else is routed to the `Amity.ContentFlagOptions` path, whose
|
|
9
|
+
* validation rejects malformed values before any request is made.
|
|
10
|
+
*/
|
|
11
|
+
export declare const isLegacyContentFlagReason: (input: unknown) => input is Amity.ContentFlagReason | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Validates an `Amity.ContentFlagOptions` argument. Untyped (plain JS) callers can pass
|
|
14
|
+
* anything at runtime, so the checks do not trust the declared type: the value must be a
|
|
15
|
+
* plain object, `reason` must be one of the nine `ContentFlagReasonEnum` values and
|
|
16
|
+
* `detail`, when supplied, must be a string (`null` is not a valid supplied detail).
|
|
17
|
+
*
|
|
18
|
+
* @param apiName used in the error message, e.g. `flagPost`
|
|
19
|
+
* @throws {ASCInvalidParameterError} `INVALID_PARAMETERS` when the options are malformed
|
|
20
|
+
*/
|
|
21
|
+
export declare const validateContentFlagOptions: (apiName: string, options: unknown) => Amity.ContentFlagOptions;
|
|
22
|
+
/**
|
|
23
|
+
* Builds the request body for validated options. `detail` is forwarded unchanged (empty
|
|
24
|
+
* and whitespace-only strings included) and omitted from the body when `undefined`; the
|
|
25
|
+
* backend enforces the 300-character limit.
|
|
26
|
+
*/
|
|
27
|
+
export declare const toContentFlagBody: ({ reason, detail }: Amity.ContentFlagOptions) => ContentFlagBody;
|
|
28
|
+
//# sourceMappingURL=contentFlag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentFlag.d.ts","sourceRoot":"","sources":["../../src/utils/contentFlag.ts"],"names":[],"mappings":"AAGA,2EAA2E;AAC3E,oBAAY,eAAe,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAIlE;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,UAC7B,OAAO,iDACmF,CAAC;AAEpG;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,YAC5B,MAAM,WACN,OAAO,KACf,MAAM,kBAoBR,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,uBAAwB,MAAM,kBAAkB,KAAG,eACzB,CAAC"}
|
|
@@ -234,4 +234,8 @@ export declare const channelCreatedAt3: Amity.RawChannel<any>;
|
|
|
234
234
|
export declare const channelLastActivity1: Amity.RawChannel<any>;
|
|
235
235
|
export declare const channelLastActivity2: Amity.RawChannel<any>;
|
|
236
236
|
export declare const channelLastActivity3: Amity.RawChannel<any>;
|
|
237
|
+
export declare const channelLastMessageAt1: Amity.RawChannel<any>;
|
|
238
|
+
export declare const channelLastMessageAt2: Amity.RawChannel<any>;
|
|
239
|
+
export declare const channelLastMessageAt3: Amity.RawChannel<any>;
|
|
240
|
+
export declare const channelLastMessageAtNull: Amity.RawChannel<any>;
|
|
237
241
|
//# sourceMappingURL=channel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/dummy/channel.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB,YAAa,MAAM,UAAU,KAAG,MAAM,eAGvE,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,MAAM,cAAc,KAC/B,MAAM,uBAKuC,CAAC;AAEjD,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,UAAU,
|
|
1
|
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