mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 02:09:06 +00:00
* feat(version-stack): add manage versions dialog and version removal * fix(webui): remove ellipsis and add pointer cursor to manage versions button * fix(version-stack): handle symlink deduplication and name sync for share links * refactor(version-stack): extract shared symlink dedup helper The 'repoint first symlink per share folder, delete duplicates with fileCount decrement' logic was triplicated across createVersionStack, reparentAssets, and reparentFileToFile with subtle variations. Extract it into dedupeSymlinksToTarget() in packages/core/src/asset/symlink.ts and call it from all three sites (behavior unchanged), with a dedicated test suite covering the edge cases.
17 lines
587 B
TypeScript
Generated
17 lines
587 B
TypeScript
Generated
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Version order updated" |
|
|
*
|
|
* @param {Version_Reordered_SuccessfullyInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const version_reordered_successfully: ((inputs?: Version_Reordered_SuccessfullyInputs, options?: {
|
|
locale?: "en" | "zh";
|
|
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Version_Reordered_SuccessfullyInputs, {
|
|
locale?: "en" | "zh";
|
|
}, {}>;
|
|
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
export type Version_Reordered_SuccessfullyInputs = {};
|