bb-plane-fork/apps/space/helpers
Aaryan Khandelwal 83679806fd
[WIKI-419] chore: new asset duplicate endpoint added (#7172)
* chore: new asset duplicate endpoint added

* chore: change the type in url

* chore: added rate limiting for image duplication endpoint

* chore: added rate limiting per asset id

* chore: added throttle class

* chore: added validations for entity

* chore: added extra validations

* chore: removed the comment

* chore: reverted the frontend code

* chore: added the response key

* feat: handle image duplication for web

* feat: custom image duplication update

* fix: remove paste logic for image

* fix : remove entity validation

* refactor: remove entity id for duplication

* feat: handle duplication in utils

* feat: add asset duplication registry

* chore: update the set attribute method

* fix: add ref for api check

* chore :remove logs

* chore : add entity types types

* refactor: rename duplication success status value

* chore: update attribute to enums

* chore: update variable name

* chore: set uploading state

* chore : update enum name

* chore : update replace command

* chore: fix retry UI

* chore: remove default logic

* refactor: optimize imports in custom image extension files and improve error handling in image duplication

* fix:type error

* Update packages/editor/src/core/extensions/custom-image/components/node-view.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: enhance asset duplication handler to ignore HTTP sources

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-20 15:05:01 +05:30
..
authentication.helper.tsx [WEB-5413] feat: adding sentry error handling in web, space and admin (#8099) 2025-11-12 19:03:47 +05:30
common.helper.ts [WEB-5413] feat: adding sentry error handling in web, space and admin (#8099) 2025-11-12 19:03:47 +05:30
date-time.helper.ts [WEB-5027] fix: replace lodash package with lodash-es (#7856) 2025-09-26 17:59:31 +05:30
editor.helper.ts [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
emoji.helper.tsx chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
file.helper.ts [WEB-5093] improvement: adds content-based MIME type detection for uploads #7925 2025-10-09 12:22:43 +05:30
issue.helper.ts [WEB-5135] refactor: update sites ESLint configuration and refactor imports to use type imports (#7956) 2025-10-14 00:40:30 +05:30
query-param-generator.ts chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
state.helper.ts [WEB-5135] refactor: update sites ESLint configuration and refactor imports to use type imports (#7956) 2025-10-14 00:40:30 +05:30
string.helper.ts [WEB-5196] chore: switch from isomorphic-dompurify to dompurify (#7983) 2025-10-23 16:33:32 +05:30