mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 05:54:44 +00:00
chore(i18n): update paraglide-js to 2.25.0 and stop checking in generated code (#386)
- Upgrade @inlang/paraglide-js to 2.25.0 in root devDependencies - Untrack 2,700+ generated paraglide files from git index - Ignore packages/webui/paraglide in .gitignore and .dockerignore - Remove --no-emit-git-ignore flag from i18n:compile and i18n:watch - Chain bun run i18n:compile into build and build-npm scripts - Add i18n compile step in Dockerfile builder stage - Add i18n compile step in CI workflows (.github/workflows/ci.yaml, release-npm.yaml) - Update README.md and README_CN.md with local setup instructions for i18n compilation
This commit is contained in:
Generated
-3
@@ -1,3 +0,0 @@
|
||||
# ignore everything because the directory is auto-generated by inlang paraglide-js
|
||||
# for more info visit https://paraglidejs.com
|
||||
*
|
||||
Generated
-162
@@ -1,162 +0,0 @@
|
||||
# Paraglide JS Compiled Output
|
||||
|
||||
> Auto-generated i18n message functions. Import `messages.js` to use translated strings.
|
||||
|
||||
Compiled from: `/Users/yiling/Projects/shumai/packages/webui/project.inlang`
|
||||
|
||||
|
||||
## What is this folder?
|
||||
|
||||
This folder contains compiled [Paraglide JS](https://github.com/opral/paraglide-js) output. Paraglide JS compiles your translation messages into tree-shakeable JavaScript functions.
|
||||
|
||||
## At a glance
|
||||
|
||||
Purpose:
|
||||
- This folder stores compiled i18n message functions.
|
||||
- Source translations live outside this folder in your inlang project.
|
||||
|
||||
Safe to import:
|
||||
- `messages.js` — all message functions
|
||||
- `runtime.js` — locale utilities
|
||||
- `server.js` — server-side middleware
|
||||
|
||||
Do not edit:
|
||||
- All files in this folder are auto-generated.
|
||||
- Changes will be overwritten on next compilation.
|
||||
|
||||
```
|
||||
paraglide/
|
||||
├── messages.js # Message exports (import this)
|
||||
├── messages/ # Individual message functions
|
||||
├── runtime.js # Locale detection & configuration
|
||||
├── registry.js # Formatting utilities (plural, number, datetime, relativetime)
|
||||
├── server.js # Server-side middleware
|
||||
└── .gitignore # Marks folder as generated
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import * as m from "./paraglide/messages.js";
|
||||
|
||||
// Messages are functions that return localized strings
|
||||
m.hello_world(); // "Hello, World!" (in current locale)
|
||||
m.greeting({ name: "Sam" }); // "Hello, Sam!"
|
||||
|
||||
// Override locale per-call
|
||||
m.hello_world({}, { locale: "de" }); // "Hallo, Welt!"
|
||||
m.greeting({ name: "Sam" }, { locale: "de" }); // "Hallo, Sam!"
|
||||
```
|
||||
|
||||
## Runtime API
|
||||
|
||||
```js
|
||||
import { getLocale, getTextDirection, setLocale, locales, baseLocale } from "./paraglide/runtime.js";
|
||||
|
||||
getLocale(); // Current locale, e.g., "en"
|
||||
getTextDirection(); // "ltr" | "rtl" for current locale
|
||||
setLocale("de"); // Set locale
|
||||
locales; // Available locales, e.g., ["en", "de", "fr"]
|
||||
baseLocale; // Default locale, e.g., "en"
|
||||
```
|
||||
|
||||
## Strategy
|
||||
|
||||
The strategy determines how the current locale is detected and persisted:
|
||||
|
||||
- **Cookie**: Stores locale preference in a cookie.
|
||||
- **URL**: Derives locale from URL patterns (e.g., `/en/about`, `en.example.com`).
|
||||
- **GlobalVariable**: Uses a global variable (client-side only).
|
||||
- **BaseLocale**: Always returns the base locale.
|
||||
|
||||
Strategies can be combined. The order defines precedence:
|
||||
|
||||
```js
|
||||
await compile({
|
||||
project: "./project.inlang",
|
||||
outdir: "./src/paraglide",
|
||||
strategy: ["url", "cookie", "baseLocale"],
|
||||
});
|
||||
```
|
||||
|
||||
See the [strategy documentation](https://paraglidejs.com/strategy) for details.
|
||||
|
||||
## Markup (Rich Text)
|
||||
|
||||
Messages can contain markup tags for bold, links, and other inline elements. Translators control where tags appear; developers control how they render.
|
||||
|
||||
Important:
|
||||
- Tag names are app-defined. There is no built-in list of HTML tags.
|
||||
- `{#b}...{/b}` does not automatically render as `<b>...</b>`.
|
||||
- Renderers/snippets are looked up by the same tag name used in the message.
|
||||
|
||||
### Message syntax
|
||||
|
||||
```json
|
||||
{
|
||||
"cta": "{#link to=|/docs| rel=$relationship @track}Read the docs{/link}",
|
||||
"welcome": "{#b}Hi {name}{/b}{#icon/}"
|
||||
}
|
||||
```
|
||||
|
||||
- `{#tagName}` opens a tag, `{/tagName}` closes it.
|
||||
- `{#tagName/}` creates a standalone tag.
|
||||
- Options: `to=|/docs|` or `rel=$relationship` (accessed via `options.*`).
|
||||
- Attributes: `@track` or `@variant=|hero|` (accessed via `attributes.*`).
|
||||
|
||||
This is the default inlang message syntax. Paraglide's message format is plugin-based — you can use [ICU MessageFormat 1](https://inlang.com/m/p7c8m1d2/plugin-inlang-icu-messageformat-1), [i18next](https://inlang.com/m/3i8bor92/plugin-inlang-i18next), or other [plugins](https://inlang.com/c/plugins) instead.
|
||||
|
||||
### Rendering markup
|
||||
|
||||
Calling the message function still returns **plain text** (markup stripped):
|
||||
|
||||
```js
|
||||
m.cta({ relationship: "noopener" }); // "Read the docs"
|
||||
```
|
||||
|
||||
To render markup, use the framework adapter or the low-level `parts()` API:
|
||||
|
||||
```js
|
||||
const parts = m.cta.parts({ relationship: "noopener" });
|
||||
// [
|
||||
// { type: "markup-start", name: "link", options: { to: "/docs", rel: "noopener" }, attributes: { track: true } },
|
||||
// { type: "text", value: "Read the docs" },
|
||||
// { type: "markup-end", name: "link" }
|
||||
// ]
|
||||
```
|
||||
|
||||
Framework adapters provide a `<ParaglideMessage>` component that accepts markup renderers:
|
||||
|
||||
- `@inlang/paraglide-js-react`
|
||||
- `@inlang/paraglide-js-vue`
|
||||
- `@inlang/paraglide-js-svelte`
|
||||
- `@inlang/paraglide-js-solid`
|
||||
|
||||
```jsx
|
||||
import { ParaglideMessage } from "@inlang/paraglide-js-react"; // or -vue, -svelte, -solid
|
||||
|
||||
<ParaglideMessage
|
||||
message={m.welcome}
|
||||
inputs={{ name: "Ada" }}
|
||||
markup={{
|
||||
b: ({ children }) => <b>{children}</b>,
|
||||
icon: () => <span aria-hidden="true" className="icon-wave" />,
|
||||
}}
|
||||
/>
|
||||
```
|
||||
|
||||
The available renderer/snippet names come from the message itself. You can inspect them through `message.parts()`, and TypeScript uses the same names to type-check your markup renderers.
|
||||
|
||||
See the [markup documentation](https://paraglidejs.com/markup) for details.
|
||||
|
||||
## Key concepts
|
||||
|
||||
- **Tree-shakeable**: Each message is a function, enabling [up to 70% smaller i18n bundle sizes](https://paraglidejs.com/benchmark) than traditional i18n libraries.
|
||||
- **Typesafe**: Full TypeScript/JSDoc support with autocomplete.
|
||||
- **Variants**: Messages can have variants for pluralization, gender, etc.
|
||||
- **Fallbacks**: Missing translations fall back to the base locale.
|
||||
|
||||
## Links
|
||||
|
||||
- [Paraglide JS Documentation](https://paraglidejs.com)
|
||||
- [Source Repository](https://github.com/opral/paraglide-js)
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
export * from "./messages/_index.js";
|
||||
export * as m from "./messages/_index.js";
|
||||
Generated
-4
@@ -1,4 +0,0 @@
|
||||
/* eslint-disable */
|
||||
export * from './messages/_index.js'
|
||||
// enabling auto-import by exposing all messages as m
|
||||
export * as m from './messages/_index.js'
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type _DeleteInputs = {};
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Delete" |
|
||||
*
|
||||
* @param {_DeleteInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
declare const _delete: ((inputs?: _DeleteInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<_DeleteInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export { _delete as "delete" };
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} _DeleteInputs */
|
||||
|
||||
const en__delete = /** @type {(inputs: _DeleteInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Delete`)
|
||||
};
|
||||
|
||||
const zh__delete = /** @type {(inputs: _DeleteInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`删除`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Delete" |
|
||||
*
|
||||
* @param {_DeleteInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
const _delete = /** @type {((inputs?: _DeleteInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<_DeleteInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en__delete(inputs)
|
||||
return zh__delete(inputs)
|
||||
});
|
||||
export { _delete as "delete" }
|
||||
-1353
File diff suppressed because it is too large
Load Diff
-1354
File diff suppressed because it is too large
Load Diff
-17
@@ -1,17 +0,0 @@
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type _NewInputs = {};
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "New" |
|
||||
*
|
||||
* @param {_NewInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
declare const _new: ((inputs?: _NewInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<_NewInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export { _new as "new" };
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} _NewInputs */
|
||||
|
||||
const en__new = /** @type {(inputs: _NewInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`New`)
|
||||
};
|
||||
|
||||
const zh__new = /** @type {(inputs: _NewInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`新建`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "New" |
|
||||
*
|
||||
* @param {_NewInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
const _new = /** @type {((inputs?: _NewInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<_NewInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en__new(inputs)
|
||||
return zh__new(inputs)
|
||||
});
|
||||
export { _new as "new" }
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Access Denied" |
|
||||
*
|
||||
* @param {Access_DeniedInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const access_denied: ((inputs?: Access_DeniedInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Access_DeniedInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Access_DeniedInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Access_DeniedInputs */
|
||||
|
||||
const en_access_denied = /** @type {(inputs: Access_DeniedInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Access Denied`)
|
||||
};
|
||||
|
||||
const zh_access_denied = /** @type {(inputs: Access_DeniedInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`访问被拒绝`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Access Denied" |
|
||||
*
|
||||
* @param {Access_DeniedInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const access_denied = /** @type {((inputs?: Access_DeniedInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Access_DeniedInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_access_denied(inputs)
|
||||
return zh_access_denied(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Access Share" |
|
||||
*
|
||||
* @param {Access_ShareInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const access_share: ((inputs?: Access_ShareInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Access_ShareInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Access_ShareInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Access_ShareInputs */
|
||||
|
||||
const en_access_share = /** @type {(inputs: Access_ShareInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Access Share`)
|
||||
};
|
||||
|
||||
const zh_access_share = /** @type {(inputs: Access_ShareInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`访问分享`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Access Share" |
|
||||
*
|
||||
* @param {Access_ShareInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const access_share = /** @type {((inputs?: Access_ShareInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Access_ShareInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_access_share(inputs)
|
||||
return zh_access_share(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Action" |
|
||||
*
|
||||
* @param {ActionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const action: ((inputs?: ActionInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<ActionInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type ActionInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} ActionInputs */
|
||||
|
||||
const en_action = /** @type {(inputs: ActionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Action`)
|
||||
};
|
||||
|
||||
const zh_action = /** @type {(inputs: ActionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`操作`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Action" |
|
||||
*
|
||||
* @param {ActionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const action = /** @type {((inputs?: ActionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ActionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_action(inputs)
|
||||
return zh_action(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Actions" |
|
||||
*
|
||||
* @param {ActionsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const actions: ((inputs?: ActionsInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<ActionsInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type ActionsInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} ActionsInputs */
|
||||
|
||||
const en_actions = /** @type {(inputs: ActionsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Actions`)
|
||||
};
|
||||
|
||||
const zh_actions = /** @type {(inputs: ActionsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`操作`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Actions" |
|
||||
*
|
||||
* @param {ActionsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const actions = /** @type {((inputs?: ActionsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ActionsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_actions(inputs)
|
||||
return zh_actions(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Active" |
|
||||
*
|
||||
* @param {ActiveInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const active: ((inputs?: ActiveInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<ActiveInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type ActiveInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} ActiveInputs */
|
||||
|
||||
const en_active = /** @type {(inputs: ActiveInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Active`)
|
||||
};
|
||||
|
||||
const zh_active = /** @type {(inputs: ActiveInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`启用`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Active" |
|
||||
*
|
||||
* @param {ActiveInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const active = /** @type {((inputs?: ActiveInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ActiveInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_active(inputs)
|
||||
return zh_active(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "active" |
|
||||
*
|
||||
* @param {Active_FiltersInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const active_filters: ((inputs?: Active_FiltersInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Active_FiltersInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Active_FiltersInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Active_FiltersInputs */
|
||||
|
||||
const en_active_filters = /** @type {(inputs: Active_FiltersInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`active`)
|
||||
};
|
||||
|
||||
const zh_active_filters = /** @type {(inputs: Active_FiltersInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`个激活`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "active" |
|
||||
*
|
||||
* @param {Active_FiltersInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const active_filters = /** @type {((inputs?: Active_FiltersInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Active_FiltersInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_active_filters(inputs)
|
||||
return zh_active_filters(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Activity" |
|
||||
*
|
||||
* @param {ActivityInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity: ((inputs?: ActivityInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<ActivityInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type ActivityInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} ActivityInputs */
|
||||
|
||||
const en_activity = /** @type {(inputs: ActivityInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Activity`)
|
||||
};
|
||||
|
||||
const zh_activity = /** @type {(inputs: ActivityInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`活动`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Activity" |
|
||||
*
|
||||
* @param {ActivityInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity = /** @type {((inputs?: ActivityInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ActivityInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_activity(inputs)
|
||||
return zh_activity(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Activity & Runs" |
|
||||
*
|
||||
* @param {Activity_And_RunsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity_and_runs: ((inputs?: Activity_And_RunsInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Activity_And_RunsInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Activity_And_RunsInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Activity_And_RunsInputs */
|
||||
|
||||
const en_activity_and_runs = /** @type {(inputs: Activity_And_RunsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Activity & Runs`)
|
||||
};
|
||||
|
||||
const zh_activity_and_runs = /** @type {(inputs: Activity_And_RunsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`活动与运行`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Activity & Runs" |
|
||||
*
|
||||
* @param {Activity_And_RunsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity_and_runs = /** @type {((inputs?: Activity_And_RunsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Activity_And_RunsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_activity_and_runs(inputs)
|
||||
return zh_activity_and_runs(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Activity Notifications" |
|
||||
*
|
||||
* @param {Activity_NotificationsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity_notifications: ((inputs?: Activity_NotificationsInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Activity_NotificationsInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Activity_NotificationsInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Activity_NotificationsInputs */
|
||||
|
||||
const en_activity_notifications = /** @type {(inputs: Activity_NotificationsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Activity Notifications`)
|
||||
};
|
||||
|
||||
const zh_activity_notifications = /** @type {(inputs: Activity_NotificationsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`活动通知`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Activity Notifications" |
|
||||
*
|
||||
* @param {Activity_NotificationsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity_notifications = /** @type {((inputs?: Activity_NotificationsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Activity_NotificationsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_activity_notifications(inputs)
|
||||
return zh_activity_notifications(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project." |
|
||||
*
|
||||
* @param {Activity_Notifications_DescriptionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity_notifications_description: ((inputs?: Activity_Notifications_DescriptionInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Activity_Notifications_DescriptionInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Activity_Notifications_DescriptionInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Activity_Notifications_DescriptionInputs */
|
||||
|
||||
const en_activity_notifications_description = /** @type {(inputs: Activity_Notifications_DescriptionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.`)
|
||||
};
|
||||
|
||||
const zh_activity_notifications_description = /** @type {(inputs: Activity_Notifications_DescriptionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`接收此项目中评论、上传及自动后台分析任务的应用内通知。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project." |
|
||||
*
|
||||
* @param {Activity_Notifications_DescriptionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const activity_notifications_description = /** @type {((inputs?: Activity_Notifications_DescriptionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Activity_Notifications_DescriptionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_activity_notifications_description(inputs)
|
||||
return zh_activity_notifications_description(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add" |
|
||||
*
|
||||
* @param {AddInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add: ((inputs?: AddInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<AddInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type AddInputs = {};
|
||||
Generated
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} AddInputs */
|
||||
|
||||
const en_add = /** @type {(inputs: AddInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add`)
|
||||
};
|
||||
|
||||
const zh_add = /** @type {(inputs: AddInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add" |
|
||||
*
|
||||
* @param {AddInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add = /** @type {((inputs?: AddInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<AddInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add(inputs)
|
||||
return zh_add(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Assets" |
|
||||
*
|
||||
* @param {Add_AssetsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_assets: ((inputs?: Add_AssetsInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_AssetsInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_AssetsInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_AssetsInputs */
|
||||
|
||||
const en_add_assets = /** @type {(inputs: Add_AssetsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Assets`)
|
||||
};
|
||||
|
||||
const zh_add_assets = /** @type {(inputs: Add_AssetsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加资产`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Assets" |
|
||||
*
|
||||
* @param {Add_AssetsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_assets = /** @type {((inputs?: Add_AssetsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_AssetsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_assets(inputs)
|
||||
return zh_add_assets(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Comment" |
|
||||
*
|
||||
* @param {Add_CommentInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_comment: ((inputs?: Add_CommentInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_CommentInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_CommentInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_CommentInputs */
|
||||
|
||||
const en_add_comment = /** @type {(inputs: Add_CommentInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Comment`)
|
||||
};
|
||||
|
||||
const zh_add_comment = /** @type {(inputs: Add_CommentInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加评论`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Comment" |
|
||||
*
|
||||
* @param {Add_CommentInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_comment = /** @type {((inputs?: Add_CommentInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_CommentInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_comment(inputs)
|
||||
return zh_add_comment(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "+ Add condition" |
|
||||
*
|
||||
* @param {Add_ConditionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_condition: ((inputs?: Add_ConditionInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_ConditionInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_ConditionInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_ConditionInputs */
|
||||
|
||||
const en_add_condition = /** @type {(inputs: Add_ConditionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`+ Add condition`)
|
||||
};
|
||||
|
||||
const zh_add_condition = /** @type {(inputs: Add_ConditionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`+ 添加条件`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "+ Add condition" |
|
||||
*
|
||||
* @param {Add_ConditionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_condition = /** @type {((inputs?: Add_ConditionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_ConditionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_condition(inputs)
|
||||
return zh_add_condition(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Custom Model" |
|
||||
*
|
||||
* @param {Add_Custom_ModelInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_custom_model: ((inputs?: Add_Custom_ModelInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Custom_ModelInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Custom_ModelInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Custom_ModelInputs */
|
||||
|
||||
const en_add_custom_model = /** @type {(inputs: Add_Custom_ModelInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Custom Model`)
|
||||
};
|
||||
|
||||
const zh_add_custom_model = /** @type {(inputs: Add_Custom_ModelInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加自定义模型`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Custom Model" |
|
||||
*
|
||||
* @param {Add_Custom_ModelInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_custom_model = /** @type {((inputs?: Add_Custom_ModelInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Custom_ModelInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_custom_model(inputs)
|
||||
return zh_add_custom_model(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Dependency" |
|
||||
*
|
||||
* @param {Add_DependencyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_dependency: ((inputs?: Add_DependencyInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_DependencyInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_DependencyInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_DependencyInputs */
|
||||
|
||||
const en_add_dependency = /** @type {(inputs: Add_DependencyInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Dependency`)
|
||||
};
|
||||
|
||||
const zh_add_dependency = /** @type {(inputs: Add_DependencyInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加依赖`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Dependency" |
|
||||
*
|
||||
* @param {Add_DependencyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_dependency = /** @type {((inputs?: Add_DependencyInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_DependencyInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_dependency(inputs)
|
||||
return zh_add_dependency(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Domain" |
|
||||
*
|
||||
* @param {Add_DomainInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_domain: ((inputs?: Add_DomainInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_DomainInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_DomainInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_DomainInputs */
|
||||
|
||||
const en_add_domain = /** @type {(inputs: Add_DomainInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Domain`)
|
||||
};
|
||||
|
||||
const zh_add_domain = /** @type {(inputs: Add_DomainInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加域名`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Domain" |
|
||||
*
|
||||
* @param {Add_DomainInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_domain = /** @type {((inputs?: Add_DomainInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_DomainInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_domain(inputs)
|
||||
return zh_add_domain(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add your first AI provider to get started." |
|
||||
*
|
||||
* @param {Add_First_ProviderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_first_provider: ((inputs?: Add_First_ProviderInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_First_ProviderInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_First_ProviderInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_First_ProviderInputs */
|
||||
|
||||
const en_add_first_provider = /** @type {(inputs: Add_First_ProviderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add your first AI provider to get started.`)
|
||||
};
|
||||
|
||||
const zh_add_first_provider = /** @type {(inputs: Add_First_ProviderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加您的第一个 AI 提供商以开始使用。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add your first AI provider to get started." |
|
||||
*
|
||||
* @param {Add_First_ProviderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_first_provider = /** @type {((inputs?: Add_First_ProviderInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_First_ProviderInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_first_provider(inputs)
|
||||
return zh_add_first_provider(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Image Block" |
|
||||
*
|
||||
* @param {Add_Image_BlockInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_image_block: ((inputs?: Add_Image_BlockInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Image_BlockInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Image_BlockInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Image_BlockInputs */
|
||||
|
||||
const en_add_image_block = /** @type {(inputs: Add_Image_BlockInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Image Block`)
|
||||
};
|
||||
|
||||
const zh_add_image_block = /** @type {(inputs: Add_Image_BlockInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加图片块`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Image Block" |
|
||||
*
|
||||
* @param {Add_Image_BlockInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_image_block = /** @type {((inputs?: Add_Image_BlockInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Image_BlockInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_image_block(inputs)
|
||||
return zh_add_image_block(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add MCP Server" |
|
||||
*
|
||||
* @param {Add_Mcp_ServerInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_mcp_server: ((inputs?: Add_Mcp_ServerInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Mcp_ServerInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Mcp_ServerInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Mcp_ServerInputs */
|
||||
|
||||
const en_add_mcp_server = /** @type {(inputs: Add_Mcp_ServerInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add MCP Server`)
|
||||
};
|
||||
|
||||
const zh_add_mcp_server = /** @type {(inputs: Add_Mcp_ServerInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加 MCP 服务`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add MCP Server" |
|
||||
*
|
||||
* @param {Add_Mcp_ServerInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_mcp_server = /** @type {((inputs?: Add_Mcp_ServerInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Mcp_ServerInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_mcp_server(inputs)
|
||||
return zh_add_mcp_server(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add an MCP server to extend your AI agent tools." |
|
||||
*
|
||||
* @param {Add_Mcp_Server_To_Get_StartedInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_mcp_server_to_get_started: ((inputs?: Add_Mcp_Server_To_Get_StartedInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Mcp_Server_To_Get_StartedInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Mcp_Server_To_Get_StartedInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Mcp_Server_To_Get_StartedInputs */
|
||||
|
||||
const en_add_mcp_server_to_get_started = /** @type {(inputs: Add_Mcp_Server_To_Get_StartedInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add an MCP server to extend your AI agent tools.`)
|
||||
};
|
||||
|
||||
const zh_add_mcp_server_to_get_started = /** @type {(inputs: Add_Mcp_Server_To_Get_StartedInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加 MCP 服务以扩展 AI Agent 的工具能力。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add an MCP server to extend your AI agent tools." |
|
||||
*
|
||||
* @param {Add_Mcp_Server_To_Get_StartedInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_mcp_server_to_get_started = /** @type {((inputs?: Add_Mcp_Server_To_Get_StartedInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Mcp_Server_To_Get_StartedInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_mcp_server_to_get_started(inputs)
|
||||
return zh_add_mcp_server_to_get_started(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Model" |
|
||||
*
|
||||
* @param {Add_Media_ModelInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_media_model: ((inputs?: Add_Media_ModelInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Media_ModelInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Media_ModelInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Media_ModelInputs */
|
||||
|
||||
const en_add_media_model = /** @type {(inputs: Add_Media_ModelInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Model`)
|
||||
};
|
||||
|
||||
const zh_add_media_model = /** @type {(inputs: Add_Media_ModelInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加模型`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Model" |
|
||||
*
|
||||
* @param {Add_Media_ModelInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_media_model = /** @type {((inputs?: Add_Media_ModelInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Media_ModelInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_media_model(inputs)
|
||||
return zh_add_media_model(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Select the media generation type, provider, and model to enable." |
|
||||
*
|
||||
* @param {Add_Media_Model_DescInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_media_model_desc: ((inputs?: Add_Media_Model_DescInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Media_Model_DescInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Media_Model_DescInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Media_Model_DescInputs */
|
||||
|
||||
const en_add_media_model_desc = /** @type {(inputs: Add_Media_Model_DescInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Select the media generation type, provider, and model to enable.`)
|
||||
};
|
||||
|
||||
const zh_add_media_model_desc = /** @type {(inputs: Add_Media_Model_DescInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`选择要启用的媒体生成类型、提供商和模型。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Select the media generation type, provider, and model to enable." |
|
||||
*
|
||||
* @param {Add_Media_Model_DescInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_media_model_desc = /** @type {((inputs?: Add_Media_Model_DescInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Media_Model_DescInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_media_model_desc(inputs)
|
||||
return zh_add_media_model_desc(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Members from Other Projects" |
|
||||
*
|
||||
* @param {Add_Members_From_Other_ProjectsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_members_from_other_projects: ((inputs?: Add_Members_From_Other_ProjectsInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Members_From_Other_ProjectsInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Members_From_Other_ProjectsInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Members_From_Other_ProjectsInputs */
|
||||
|
||||
const en_add_members_from_other_projects = /** @type {(inputs: Add_Members_From_Other_ProjectsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Members from Other Projects`)
|
||||
};
|
||||
|
||||
const zh_add_members_from_other_projects = /** @type {(inputs: Add_Members_From_Other_ProjectsInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`从其他项目添加成员`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Members from Other Projects" |
|
||||
*
|
||||
* @param {Add_Members_From_Other_ProjectsInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_members_from_other_projects = /** @type {((inputs?: Add_Members_From_Other_ProjectsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Members_From_Other_ProjectsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_members_from_other_projects(inputs)
|
||||
return zh_add_members_from_other_projects(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Project-scoped members who currently do not have access to this project." |
|
||||
*
|
||||
* @param {Add_Members_From_Other_Projects_HintInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_members_from_other_projects_hint: ((inputs?: Add_Members_From_Other_Projects_HintInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Members_From_Other_Projects_HintInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Members_From_Other_Projects_HintInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Members_From_Other_Projects_HintInputs */
|
||||
|
||||
const en_add_members_from_other_projects_hint = /** @type {(inputs: Add_Members_From_Other_Projects_HintInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Project-scoped members who currently do not have access to this project.`)
|
||||
};
|
||||
|
||||
const zh_add_members_from_other_projects_hint = /** @type {(inputs: Add_Members_From_Other_Projects_HintInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`当前无权访问此项目的项目成员。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Project-scoped members who currently do not have access to this project." |
|
||||
*
|
||||
* @param {Add_Members_From_Other_Projects_HintInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_members_from_other_projects_hint = /** @type {((inputs?: Add_Members_From_Other_Projects_HintInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Members_From_Other_Projects_HintInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_members_from_other_projects_hint(inputs)
|
||||
return zh_add_members_from_other_projects_hint(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Model" |
|
||||
*
|
||||
* @param {Add_ModelInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_model: ((inputs?: Add_ModelInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_ModelInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_ModelInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_ModelInputs */
|
||||
|
||||
const en_add_model = /** @type {(inputs: Add_ModelInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Model`)
|
||||
};
|
||||
|
||||
const zh_add_model = /** @type {(inputs: Add_ModelInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加模型`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Model" |
|
||||
*
|
||||
* @param {Add_ModelInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_model = /** @type {((inputs?: Add_ModelInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_ModelInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_model(inputs)
|
||||
return zh_add_model(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add New Provider" |
|
||||
*
|
||||
* @param {Add_New_ProviderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_new_provider: ((inputs?: Add_New_ProviderInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_New_ProviderInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_New_ProviderInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_New_ProviderInputs */
|
||||
|
||||
const en_add_new_provider = /** @type {(inputs: Add_New_ProviderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add New Provider`)
|
||||
};
|
||||
|
||||
const zh_add_new_provider = /** @type {(inputs: Add_New_ProviderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加新提供商`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add New Provider" |
|
||||
*
|
||||
* @param {Add_New_ProviderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_new_provider = /** @type {((inputs?: Add_New_ProviderInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_New_ProviderInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_new_provider(inputs)
|
||||
return zh_add_new_provider(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add New Skill" |
|
||||
*
|
||||
* @param {Add_New_SkillInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_new_skill: ((inputs?: Add_New_SkillInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_New_SkillInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_New_SkillInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_New_SkillInputs */
|
||||
|
||||
const en_add_new_skill = /** @type {(inputs: Add_New_SkillInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add New Skill`)
|
||||
};
|
||||
|
||||
const zh_add_new_skill = /** @type {(inputs: Add_New_SkillInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加新技能`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add New Skill" |
|
||||
*
|
||||
* @param {Add_New_SkillInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_new_skill = /** @type {((inputs?: Add_New_SkillInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_New_SkillInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_new_skill(inputs)
|
||||
return zh_add_new_skill(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add option" |
|
||||
*
|
||||
* @param {Add_OptionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_option: ((inputs?: Add_OptionInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_OptionInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_OptionInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_OptionInputs */
|
||||
|
||||
const en_add_option = /** @type {(inputs: Add_OptionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add option`)
|
||||
};
|
||||
|
||||
const zh_add_option = /** @type {(inputs: Add_OptionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加选项`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add option" |
|
||||
*
|
||||
* @param {Add_OptionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_option = /** @type {((inputs?: Add_OptionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_OptionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_option(inputs)
|
||||
return zh_add_option(inputs)
|
||||
});
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add options: {name}" |
|
||||
*
|
||||
* @param {Add_Option_With_NameInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_option_with_name: ((inputs: Add_Option_With_NameInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Option_With_NameInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Option_With_NameInputs = {
|
||||
name: NonNullable<unknown>;
|
||||
};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{ name: NonNullable<unknown> }} Add_Option_With_NameInputs */
|
||||
|
||||
const en_add_option_with_name = /** @type {(inputs: Add_Option_With_NameInputs) => LocalizedString} */ (i) => {
|
||||
return /** @type {LocalizedString} */ (`Add options: ${i?.name}`)
|
||||
};
|
||||
|
||||
const zh_add_option_with_name = /** @type {(inputs: Add_Option_With_NameInputs) => LocalizedString} */ (i) => {
|
||||
return /** @type {LocalizedString} */ (`添加选项:${i?.name}`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add options: {name}" |
|
||||
*
|
||||
* @param {Add_Option_With_NameInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_option_with_name = /** @type {((inputs: Add_Option_With_NameInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Option_With_NameInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_option_with_name(inputs)
|
||||
return zh_add_option_with_name(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Provider" |
|
||||
*
|
||||
* @param {Add_ProviderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_provider: ((inputs?: Add_ProviderInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_ProviderInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_ProviderInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_ProviderInputs */
|
||||
|
||||
const en_add_provider = /** @type {(inputs: Add_ProviderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Provider`)
|
||||
};
|
||||
|
||||
const zh_add_provider = /** @type {(inputs: Add_ProviderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加提供商`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Provider" |
|
||||
*
|
||||
* @param {Add_ProviderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_provider = /** @type {((inputs?: Add_ProviderInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_ProviderInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_provider(inputs)
|
||||
return zh_add_provider(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Quota" |
|
||||
*
|
||||
* @param {Add_QuotaInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_quota: ((inputs?: Add_QuotaInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_QuotaInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_QuotaInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_QuotaInputs */
|
||||
|
||||
const en_add_quota = /** @type {(inputs: Add_QuotaInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Quota`)
|
||||
};
|
||||
|
||||
const zh_add_quota = /** @type {(inputs: Add_QuotaInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加配额`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Quota" |
|
||||
*
|
||||
* @param {Add_QuotaInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_quota = /** @type {((inputs?: Add_QuotaInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_QuotaInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_quota(inputs)
|
||||
return zh_add_quota(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Skill" |
|
||||
*
|
||||
* @param {Add_SkillInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_skill: ((inputs?: Add_SkillInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_SkillInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_SkillInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_SkillInputs */
|
||||
|
||||
const en_add_skill = /** @type {(inputs: Add_SkillInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Skill`)
|
||||
};
|
||||
|
||||
const zh_add_skill = /** @type {(inputs: Add_SkillInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加技能`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Skill" |
|
||||
*
|
||||
* @param {Add_SkillInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_skill = /** @type {((inputs?: Add_SkillInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_SkillInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_skill(inputs)
|
||||
return zh_add_skill(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add a skill via GitHub URL or upload a ZIP file to get started." |
|
||||
*
|
||||
* @param {Add_Skill_To_Get_StartedInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_skill_to_get_started: ((inputs?: Add_Skill_To_Get_StartedInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Skill_To_Get_StartedInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Skill_To_Get_StartedInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Skill_To_Get_StartedInputs */
|
||||
|
||||
const en_add_skill_to_get_started = /** @type {(inputs: Add_Skill_To_Get_StartedInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add a skill via GitHub URL or upload a ZIP file to get started.`)
|
||||
};
|
||||
|
||||
const zh_add_skill_to_get_started = /** @type {(inputs: Add_Skill_To_Get_StartedInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add a skill via GitHub URL or upload a ZIP file to get started." |
|
||||
*
|
||||
* @param {Add_Skill_To_Get_StartedInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_skill_to_get_started = /** @type {((inputs?: Add_Skill_To_Get_StartedInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Skill_To_Get_StartedInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_skill_to_get_started(inputs)
|
||||
return zh_add_skill_to_get_started(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Customize Team Member Role" |
|
||||
*
|
||||
* @param {Add_Team_Member_To_ProjectInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_team_member_to_project: ((inputs?: Add_Team_Member_To_ProjectInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Team_Member_To_ProjectInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Team_Member_To_ProjectInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Team_Member_To_ProjectInputs */
|
||||
|
||||
const en_add_team_member_to_project = /** @type {(inputs: Add_Team_Member_To_ProjectInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Customize Team Member Role`)
|
||||
};
|
||||
|
||||
const zh_add_team_member_to_project = /** @type {(inputs: Add_Team_Member_To_ProjectInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`自定义团队成员在项目的角色`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Customize Team Member Role" |
|
||||
*
|
||||
* @param {Add_Team_Member_To_ProjectInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_team_member_to_project = /** @type {((inputs?: Add_Team_Member_To_ProjectInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Team_Member_To_ProjectInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_team_member_to_project(inputs)
|
||||
return zh_add_team_member_to_project(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Team members already have access to all projects with their default team role. Set a custom role for this specific project here." |
|
||||
*
|
||||
* @param {Add_Team_Member_To_Project_HintInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_team_member_to_project_hint: ((inputs?: Add_Team_Member_To_Project_HintInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Team_Member_To_Project_HintInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Team_Member_To_Project_HintInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Team_Member_To_Project_HintInputs */
|
||||
|
||||
const en_add_team_member_to_project_hint = /** @type {(inputs: Add_Team_Member_To_Project_HintInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Team members already have access to all projects with their default team role. Set a custom role for this specific project here.`)
|
||||
};
|
||||
|
||||
const zh_add_team_member_to_project_hint = /** @type {(inputs: Add_Team_Member_To_Project_HintInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Team members already have access to all projects with their default team role. Set a custom role for this specific project here." |
|
||||
*
|
||||
* @param {Add_Team_Member_To_Project_HintInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_team_member_to_project_hint = /** @type {((inputs?: Add_Team_Member_To_Project_HintInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Team_Member_To_Project_HintInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_team_member_to_project_hint(inputs)
|
||||
return zh_add_team_member_to_project_hint(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Text Block" |
|
||||
*
|
||||
* @param {Add_Text_BlockInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_text_block: ((inputs?: Add_Text_BlockInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_Text_BlockInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_Text_BlockInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_Text_BlockInputs */
|
||||
|
||||
const en_add_text_block = /** @type {(inputs: Add_Text_BlockInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Text Block`)
|
||||
};
|
||||
|
||||
const zh_add_text_block = /** @type {(inputs: Add_Text_BlockInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加文本块`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Text Block" |
|
||||
*
|
||||
* @param {Add_Text_BlockInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_text_block = /** @type {((inputs?: Add_Text_BlockInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_Text_BlockInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_text_block(inputs)
|
||||
return zh_add_text_block(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add to Project" |
|
||||
*
|
||||
* @param {Add_To_ProjectInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_to_project: ((inputs?: Add_To_ProjectInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_To_ProjectInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_To_ProjectInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_To_ProjectInputs */
|
||||
|
||||
const en_add_to_project = /** @type {(inputs: Add_To_ProjectInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add to Project`)
|
||||
};
|
||||
|
||||
const zh_add_to_project = /** @type {(inputs: Add_To_ProjectInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加到项目`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add to Project" |
|
||||
*
|
||||
* @param {Add_To_ProjectInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_to_project = /** @type {((inputs?: Add_To_ProjectInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_To_ProjectInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_to_project(inputs)
|
||||
return zh_add_to_project(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add to Share Links" |
|
||||
*
|
||||
* @param {Add_To_Share_LinksInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_to_share_links: ((inputs?: Add_To_Share_LinksInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_To_Share_LinksInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_To_Share_LinksInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_To_Share_LinksInputs */
|
||||
|
||||
const en_add_to_share_links = /** @type {(inputs: Add_To_Share_LinksInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add to Share Links`)
|
||||
};
|
||||
|
||||
const zh_add_to_share_links = /** @type {(inputs: Add_To_Share_LinksInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加到分享链接`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add to Share Links" |
|
||||
*
|
||||
* @param {Add_To_Share_LinksInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_to_share_links = /** @type {((inputs?: Add_To_Share_LinksInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_To_Share_LinksInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_to_share_links(inputs)
|
||||
return zh_add_to_share_links(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Variable" |
|
||||
*
|
||||
* @param {Add_VariableInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_variable: ((inputs?: Add_VariableInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Add_VariableInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Add_VariableInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Add_VariableInputs */
|
||||
|
||||
const en_add_variable = /** @type {(inputs: Add_VariableInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Add Variable`)
|
||||
};
|
||||
|
||||
const zh_add_variable = /** @type {(inputs: Add_VariableInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`添加变量`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Add Variable" |
|
||||
*
|
||||
* @param {Add_VariableInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const add_variable = /** @type {((inputs?: Add_VariableInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_VariableInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_add_variable(inputs)
|
||||
return zh_add_variable(inputs)
|
||||
});
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Added {name} successfully" |
|
||||
*
|
||||
* @param {Added_Member_SuccessfullyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const added_member_successfully: ((inputs: Added_Member_SuccessfullyInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Added_Member_SuccessfullyInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Added_Member_SuccessfullyInputs = {
|
||||
name: NonNullable<unknown>;
|
||||
};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{ name: NonNullable<unknown> }} Added_Member_SuccessfullyInputs */
|
||||
|
||||
const en_added_member_successfully = /** @type {(inputs: Added_Member_SuccessfullyInputs) => LocalizedString} */ (i) => {
|
||||
return /** @type {LocalizedString} */ (`Added ${i?.name} successfully`)
|
||||
};
|
||||
|
||||
const zh_added_member_successfully = /** @type {(inputs: Added_Member_SuccessfullyInputs) => LocalizedString} */ (i) => {
|
||||
return /** @type {LocalizedString} */ (`已成功添加 ${i?.name}`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Added {name} successfully" |
|
||||
*
|
||||
* @param {Added_Member_SuccessfullyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const added_member_successfully = /** @type {((inputs: Added_Member_SuccessfullyInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Added_Member_SuccessfullyInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_added_member_successfully(inputs)
|
||||
return zh_added_member_successfully(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Added to share link" |
|
||||
*
|
||||
* @param {Added_To_Share_LinkInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const added_to_share_link: ((inputs?: Added_To_Share_LinkInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Added_To_Share_LinkInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Added_To_Share_LinkInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Added_To_Share_LinkInputs */
|
||||
|
||||
const en_added_to_share_link = /** @type {(inputs: Added_To_Share_LinkInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Added to share link`)
|
||||
};
|
||||
|
||||
const zh_added_to_share_link = /** @type {(inputs: Added_To_Share_LinkInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`已添加到分享链接`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Added to share link" |
|
||||
*
|
||||
* @param {Added_To_Share_LinkInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const added_to_share_link = /** @type {((inputs?: Added_To_Share_LinkInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Added_To_Share_LinkInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_added_to_share_link(inputs)
|
||||
return zh_added_to_share_link(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Agent Avatar" |
|
||||
*
|
||||
* @param {Agent_AvatarInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const agent_avatar: ((inputs?: Agent_AvatarInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Agent_AvatarInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Agent_AvatarInputs = {};
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Agent_AvatarInputs */
|
||||
|
||||
const en_agent_avatar = /** @type {(inputs: Agent_AvatarInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Agent Avatar`)
|
||||
};
|
||||
|
||||
const zh_agent_avatar = /** @type {(inputs: Agent_AvatarInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`智能体头像`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Agent Avatar" |
|
||||
*
|
||||
* @param {Agent_AvatarInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const agent_avatar = /** @type {((inputs?: Agent_AvatarInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Agent_AvatarInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_agent_avatar(inputs)
|
||||
return zh_agent_avatar(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Agent created successfully" |
|
||||
*
|
||||
* @param {Agent_Created_SuccessfullyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const agent_created_successfully: ((inputs?: Agent_Created_SuccessfullyInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Agent_Created_SuccessfullyInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Agent_Created_SuccessfullyInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Agent_Created_SuccessfullyInputs */
|
||||
|
||||
const en_agent_created_successfully = /** @type {(inputs: Agent_Created_SuccessfullyInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Agent created successfully`)
|
||||
};
|
||||
|
||||
const zh_agent_created_successfully = /** @type {(inputs: Agent_Created_SuccessfullyInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`智能体创建成功`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Agent created successfully" |
|
||||
*
|
||||
* @param {Agent_Created_SuccessfullyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const agent_created_successfully = /** @type {((inputs?: Agent_Created_SuccessfullyInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Agent_Created_SuccessfullyInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_agent_created_successfully(inputs)
|
||||
return zh_agent_created_successfully(inputs)
|
||||
});
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Agent deleted successfully" |
|
||||
*
|
||||
* @param {Agent_Deleted_SuccessfullyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const agent_deleted_successfully: ((inputs?: Agent_Deleted_SuccessfullyInputs, options?: {
|
||||
locale?: "en" | "zh";
|
||||
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Agent_Deleted_SuccessfullyInputs, {
|
||||
locale?: "en" | "zh";
|
||||
}, {}>;
|
||||
export type LocalizedString = import("../runtime.js").LocalizedString;
|
||||
export type Agent_Deleted_SuccessfullyInputs = {};
|
||||
@@ -1,29 +0,0 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Agent_Deleted_SuccessfullyInputs */
|
||||
|
||||
const en_agent_deleted_successfully = /** @type {(inputs: Agent_Deleted_SuccessfullyInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Agent deleted successfully`)
|
||||
};
|
||||
|
||||
const zh_agent_deleted_successfully = /** @type {(inputs: Agent_Deleted_SuccessfullyInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`智能体删除成功`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Agent deleted successfully" |
|
||||
*
|
||||
* @param {Agent_Deleted_SuccessfullyInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const agent_deleted_successfully = /** @type {((inputs?: Agent_Deleted_SuccessfullyInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Agent_Deleted_SuccessfullyInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_agent_deleted_successfully(inputs)
|
||||
return zh_agent_deleted_successfully(inputs)
|
||||
});
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user