Files
shumai/packages/webui/paraglide/messages/entry_id.js
T
Yiling-J 86032539ed feat(agent): refactor message context into unified shumai_message (#365)
* feat(agent): refactor message context into unified shumai_message

* fix(agent): persist custom_message entry type in DatabaseSessionStorage and handle message mapping defensively

* fix(agent): pass clean prompt to harness and replace optimistic messages on shumai_message stream

* fix(agent): align asset context DTO contract, sync comment attachments, and fix session stats
2026-08-30 15:25:13 +08:00

29 lines
1.0 KiB
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Entry_IdInputs */
const en_entry_id = /** @type {(inputs: Entry_IdInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Entry ID`)
};
const zh_entry_id = /** @type {(inputs: Entry_IdInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`条目 ID`)
};
/**
* | output |
* | --- |
* | "Entry ID" |
*
* @param {Entry_IdInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const entry_id = /** @type {((inputs?: Entry_IdInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Entry_IdInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_entry_id(inputs)
return zh_entry_id(inputs)
});