@intlayer/design-system 9.4.2 → 9.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api/index.mjs +2 -2
- package/dist/esm/api/useUser/index.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NodeEditor.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
- package/dist/esm/components/Form/elements/OTPElement.mjs +1 -1
- package/dist/esm/components/IDE/CodeBlockHighlight.mjs +1 -1
- package/dist/esm/components/IDE/CodeBlockHighlight.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockServer.mjs +1 -1
- package/dist/esm/components/IDE/CodeBlockServer.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockShiki.mjs +6 -48
- package/dist/esm/components/IDE/CodeBlockShiki.mjs.map +1 -1
- package/dist/esm/components/IDE/shikiBundle.mjs +61 -0
- package/dist/esm/components/IDE/shikiBundle.mjs.map +1 -0
- package/dist/esm/components/IDE/shikiLanguages.mjs +2 -39
- package/dist/esm/components/IDE/shikiLanguages.mjs.map +1 -1
- package/dist/esm/components/IDE/shikiThemes.mjs.map +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs +7 -2
- package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs.map +1 -1
- package/dist/esm/components/MarkdownEditor/extensions.mjs +1 -1
- package/dist/esm/components/MarkdownEditor/extensions.mjs.map +1 -1
- package/dist/esm/components/MarkdownEditor/novel/extensions/code-block-shiki.mjs +197 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/code-block-shiki.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/index.mjs +2 -1
- package/dist/esm/components/MarkdownEditor/novel/extensions/index.mjs.map +1 -1
- package/dist/esm/components/MarkdownEditor/novel/index.mjs +2 -1
- package/dist/esm/components/Modal/Modal.mjs +2 -2
- package/dist/esm/components/Navbar/MobileNavbar.mjs +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs +1 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +3 -3
- package/dist/esm/components/Tab/Tab.mjs +1 -1
- package/dist/esm/components/TechLogo/logos/HTMX.mjs +2 -2
- package/dist/esm/components/TechLogo/logos/HTMX.mjs.map +1 -1
- package/dist/esm/hooks/index.mjs +7 -7
- package/dist/esm/routes.mjs +22 -6
- package/dist/esm/routes.mjs.map +1 -1
- package/dist/types/components/IDE/CodeBlockServer.d.ts +1 -1
- package/dist/types/components/IDE/CodeBlockServer.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeBlockShiki.d.ts.map +1 -1
- package/dist/types/components/IDE/shikiBundle.d.ts +74 -0
- package/dist/types/components/IDE/shikiBundle.d.ts.map +1 -0
- package/dist/types/components/IDE/shikiLanguages.d.ts +2 -39
- package/dist/types/components/IDE/shikiLanguages.d.ts.map +1 -1
- package/dist/types/components/IDE/shikiThemes.d.ts +3 -1
- package/dist/types/components/IDE/shikiThemes.d.ts.map +1 -1
- package/dist/types/components/MarkDownRender/MarkDownIframe.d.ts.map +1 -1
- package/dist/types/components/MarkdownEditor/novel/extensions/code-block-shiki.d.ts +15 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/code-block-shiki.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/index.d.ts +2 -1
- package/dist/types/components/MarkdownEditor/novel/extensions/index.d.ts.map +1 -1
- package/dist/types/components/MarkdownEditor/novel/index.d.ts +2 -1
- package/dist/types/routes.d.ts +19 -3
- package/dist/types/routes.d.ts.map +1 -1
- package/package.json +30 -16
- package/src/components/MarkdownEditor/markdown-editor.css +1 -1
package/dist/esm/routes.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
//#region src/routes.ts
|
|
2
|
-
const App_Domain = "app.intlayer.org";
|
|
3
|
-
const Website_Domain = "intlayer.
|
|
2
|
+
const App_Domain = import.meta.env.VITE_CMS_URL ?? "app.intlayer.org";
|
|
3
|
+
const Website_Domain = import.meta.env.VITE_WEBSITE_URL ?? "intlayer.cn";
|
|
4
4
|
const Showcase_Domain = "showcase.intlayer.org";
|
|
5
|
-
const Backend_Domain = "back.intlayer.org";
|
|
5
|
+
const Backend_Domain = import.meta.env.VITE_BACKEND_URL ?? "back.intlayer.org";
|
|
6
6
|
const Mcp_Domain = "mcp.intlayer.org";
|
|
7
7
|
const App_Home_Path = "/";
|
|
8
8
|
const App_NotFound_Path = "/404";
|
|
@@ -95,12 +95,18 @@ const Website_Home_Path = "/";
|
|
|
95
95
|
const Website_CMS_Path = "/cms";
|
|
96
96
|
const Website_TMS_Path = "/tms";
|
|
97
97
|
const Website_Translate_Path = "/translate";
|
|
98
|
-
const
|
|
98
|
+
const Website_Markdown_Path = "/markdown";
|
|
99
99
|
const Website_Demo_Path = "/demo";
|
|
100
100
|
const Website_Playground_Path = "/playground";
|
|
101
101
|
const Website_NotFound_Path = "/404";
|
|
102
102
|
const Website_Changelog_Path = "/changelog";
|
|
103
103
|
const Website_Scanner_Path = "/i18n-seo-scanner";
|
|
104
|
+
const Website_MessageConverter_Path = "/i18n-message-converter";
|
|
105
|
+
const Website_IntlayerFormatter_Path = "/intlayer-message-formatter";
|
|
106
|
+
const Website_ICUFormatter_Path = "/icu-message-formatter";
|
|
107
|
+
const Website_I18nextFormatter_Path = "/i18next-message-formatter";
|
|
108
|
+
const Website_VueI18nFormatter_Path = "/vue-i18n-message-formatter";
|
|
109
|
+
const Website_POFormatter_Path = "/po-file-message-formatter";
|
|
104
110
|
const Website_Doc_Root_Path = "/doc";
|
|
105
111
|
const Website_Doc_Path = "/doc/get-started";
|
|
106
112
|
const Website_Doc_Why_Path = "/doc/why";
|
|
@@ -109,6 +115,8 @@ const Website_Doc_Chat_Path = "/doc/chat";
|
|
|
109
115
|
const Website_Doc_IntlayerVisualEditor_Path = "/doc/concept/editor";
|
|
110
116
|
const Website_Doc_IntlayerCMS_Path = "/doc/concept/cms";
|
|
111
117
|
const Website_Doc_SelfHosting_Path = "/doc/self-hosting";
|
|
118
|
+
const Website_Doc_Markdown_Path = "/doc/concept/content/markdown";
|
|
119
|
+
const Website_Doc_HTML_Path = "/doc/concept/content/html";
|
|
112
120
|
const Website_ReleasesV6_Path = "/doc/releases/v6";
|
|
113
121
|
const Website_ReleasesV7_Path = "/doc/releases/v7";
|
|
114
122
|
const Website_ReleasesV8_Path = "/doc/releases/v8";
|
|
@@ -159,12 +167,18 @@ const Website_Home = `https://${Website_Domain}${"/"}`;
|
|
|
159
167
|
const Website_CMS = `https://${Website_Domain}${Website_CMS_Path}`;
|
|
160
168
|
const Website_TMS = `https://${Website_Domain}${Website_TMS_Path}`;
|
|
161
169
|
const Website_Translate = `https://${Website_Domain}${Website_Translate_Path}`;
|
|
162
|
-
const
|
|
170
|
+
const Website_Markdown = `https://${Website_Domain}${Website_Markdown_Path}`;
|
|
163
171
|
const Website_Demo = `https://${Website_Domain}${Website_Demo_Path}`;
|
|
164
172
|
const Website_Playground = `https://${Website_Domain}${Website_Playground_Path}`;
|
|
165
173
|
const Website_NotFound = `https://${Website_Domain}${Website_NotFound_Path}`;
|
|
166
174
|
const Website_Changelog = `https://${Website_Domain}${Website_Changelog_Path}`;
|
|
167
175
|
const Website_Scanner = `https://${Website_Domain}${Website_Scanner_Path}`;
|
|
176
|
+
const Website_MessageConverter = `https://${Website_Domain}${Website_MessageConverter_Path}`;
|
|
177
|
+
const Website_IntlayerFormatter = `https://${Website_Domain}${Website_IntlayerFormatter_Path}`;
|
|
178
|
+
const Website_ICUFormatter = `https://${Website_Domain}${Website_ICUFormatter_Path}`;
|
|
179
|
+
const Website_I18nextFormatter = `https://${Website_Domain}${Website_I18nextFormatter_Path}`;
|
|
180
|
+
const Website_VueI18nFormatter = `https://${Website_Domain}${Website_VueI18nFormatter_Path}`;
|
|
181
|
+
const Website_POFormatter = `https://${Website_Domain}${Website_POFormatter_Path}`;
|
|
168
182
|
const Website_Benchmark = `https://${Website_Domain}${Website_Benchmark_Path}`;
|
|
169
183
|
const Website_Benchmark_NextJS = `https://${Website_Domain}${Website_Benchmark_NextJS_Path}`;
|
|
170
184
|
const Website_Benchmark_Tanstack = `https://${Website_Domain}${Website_Benchmark_Tanstack_Path}`;
|
|
@@ -176,6 +190,8 @@ const Website_Doc_Chat = `https://${Website_Domain}${Website_Doc_Chat_Path}`;
|
|
|
176
190
|
const Website_Doc_IntlayerVisualEditor = `https://${Website_Domain}${Website_Doc_IntlayerVisualEditor_Path}`;
|
|
177
191
|
const Website_Doc_IntlayerCMS = `https://${Website_Domain}${Website_Doc_IntlayerCMS_Path}`;
|
|
178
192
|
const Website_Doc_SelfHosting = `https://${Website_Domain}${Website_Doc_SelfHosting_Path}`;
|
|
193
|
+
const Website_Doc_Markdown = `https://${Website_Domain}${Website_Doc_Markdown_Path}`;
|
|
194
|
+
const Website_Doc_HTML = `https://${Website_Domain}${Website_Doc_HTML_Path}`;
|
|
179
195
|
const Website_ReleasesV6 = `https://${Website_Domain}${Website_ReleasesV6_Path}`;
|
|
180
196
|
const Website_ReleasesV7 = `https://${Website_Domain}${Website_ReleasesV7_Path}`;
|
|
181
197
|
const Website_ReleasesV8 = `https://${Website_Domain}${Website_ReleasesV8_Path}`;
|
|
@@ -305,5 +321,5 @@ const External_ExampleIntlayerWithReactNative = "https://github.com/aymericzip/i
|
|
|
305
321
|
const External_ExampleIntlayerWithExpress = "https://github.com/aymericzip/intlayer/tree/main/examples/express-app";
|
|
306
322
|
|
|
307
323
|
//#endregion
|
|
308
|
-
export { App_Admin, App_Admin_Affiliate, App_Admin_Affiliate_Path, App_Admin_Dashboard, App_Admin_Dashboard_Path, App_Admin_Discussions, App_Admin_Discussions_Path, App_Admin_Management, App_Admin_Management_Path, App_Admin_Organizations, App_Admin_Organizations_Path, App_Admin_Path, App_Admin_Projects, App_Admin_Projects_Path, App_Admin_PromoCodes, App_Admin_PromoCodes_Path, App_Admin_Reviewers, App_Admin_Reviewers_Path, App_Admin_Users, App_Admin_Users_Path, App_Affiliation, App_Affiliation_Path, App_Auth_AskResetPassword, App_Auth_AskResetPassword_Path, App_Auth_ChangePassword, App_Auth_ChangePassword_Path, App_Auth_Demo_Path, App_Auth_Path, App_Auth_ResetPassword, App_Auth_ResetPassword_Path, App_Auth_SignIn, App_Auth_SignIn_Path, App_Auth_SignUp, App_Auth_SignUp_Path, App_Auth_TwoFactor, App_Auth_TwoFactor_Path, App_Dashboard, App_Dashboard_Analytics, App_Dashboard_Analytics_Path, App_Dashboard_Assets_Path, App_Dashboard_Dictionaries, App_Dashboard_Dictionaries_Path, App_Dashboard_Editor, App_Dashboard_Editor_Path, App_Dashboard_IDE, App_Dashboard_IDE_Path, App_Dashboard_Organization, App_Dashboard_Organization_Path, App_Dashboard_Profile, App_Dashboard_Profile_Path, App_Dashboard_Projects, App_Dashboard_Projects_Path, App_Dashboard_Scanner, App_Dashboard_Scanner_Path, App_Dashboard_Tags, App_Dashboard_Tags_Path, App_Dashboard_Translate, App_Dashboard_Translate_Path, App_Demo, App_Demo_Path, App_Domain, App_Home_Path, App_Init_Path, App_NotFound_Path, App_Onboarding, App_Onboarding_Path, App_Pricing, App_Pricing_Path, App_ReviewerMarketplace, App_ReviewerMarketplace_Dashboard, App_ReviewerMarketplace_Dashboard_Mission_Path, App_ReviewerMarketplace_Dashboard_Path, App_ReviewerMarketplace_Path, App_ReviewerMarketplace_Reviewer_Path, AuthMd_Path, Backend_Domain, Backend_Health, Backend_OAuth2_Token, Backend_Root, Doc_Blog_Path, Doc_Blog_Root_Path, Doc_Blog_Search_Path, Doc_Blog_What_is_i18n_Path, Doc_CLI_Fill_Path, Doc_CLI_Review_Path, Doc_CLI_Translate_Path, Doc_Chat_Path, Doc_Contributors_Path, Doc_Environment_Adonis_Path, Doc_Environment_Angular_Path, Doc_Environment_Astro_Path, Doc_Environment_CRA_Path, Doc_Environment_Express_Path, Doc_Environment_Fastify_Path, Doc_Environment_Hono_Path, Doc_Environment_Lit_Path, Doc_Environment_Lynx_Path, Doc_Environment_NestJS_Path, Doc_Environment_NextJS_14_Path, Doc_Environment_NextJS_15_Path, Doc_Environment_NextJS_16_Path, Doc_Environment_NextJS_Path, Doc_Environment_Nodejs_Path, Doc_Environment_NuxtAndVue_Path, Doc_Environment_ReactNativeAndExpo_Path, Doc_Environment_Tanstack_Path, Doc_Environment_ViteAndPreact_Path, Doc_Environment_ViteAndReact_Path, Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Doc_Environment_ViteAndReact_ReactRouterV7_Path, Doc_Environment_ViteAndSolid_Path, Doc_Environment_ViteAndSvelte_Path, Doc_Environment_ViteAndVue_Path, Doc_FrequentQuestions_Path, Doc_IntlayerCMS_Path, Doc_IntlayerVisualEditor_Path, Doc_Intlayer_with_Lynx_and_React_Path, Doc_MCP_Path, Doc_Path, Doc_PrivacyPolicy_Path, Doc_ReleasesV6_Path, Doc_ReleasesV7_Path, Doc_ReleasesV8_Path, Doc_Root_Path, Doc_Search_Path, Doc_ShowcaseSubmit_Path, Doc_Showcase_Path, Doc_TermsOfService_Path, Doc_Why_Path, External_AI_Landing_Page, External_Discord, External_DockerHub_SelfHost, External_ExampleIntlayerWithExpress, External_ExampleIntlayerWithNextjs, External_ExampleIntlayerWithReactJS, External_ExampleIntlayerWithReactNative, External_ExampleIntlayerWithViteAndPreact, External_ExampleIntlayerWithViteAndReact, External_ExampleIntlayerWithViteAndSolid, External_ExampleIntlayerWithViteAndSvelte, External_ExampleIntlayerWithViteAndVue, External_Examples, External_Github, External_Github_i18n_benchmark, External_LinkedIn, External_ShowcaseApp, LlmsTxt_Path, Mcp_Domain, Mcp_Root, Mcp_Sse, Showcase_Domain, Showcase_Root, Showcase_Root_Path, Showcase_Submit, Showcase_Submit_Path, Website_Benchmark, Website_Benchmark_NextJS, Website_Benchmark_NextJS_Path, Website_Benchmark_Path, Website_Benchmark_Tanstack, Website_Benchmark_Tanstack_Path, Website_Blog, Website_Blog_Path, Website_Blog_Root, Website_Blog_Root_Path, Website_Blog_Search, Website_Blog_Search_Path, Website_Blog_What_is_i18n, Website_Blog_What_is_i18n_Path, Website_CMS, Website_CMS_Path, Website_Changelog, Website_Changelog_Path, Website_Contributors, Website_Contributors_Path, Website_Demo, Website_Demo_Path, Website_Doc, Website_Doc_CLI_Fill, Website_Doc_CLI_Fill_Path, Website_Doc_CLI_Review, Website_Doc_CLI_Review_Path, Website_Doc_CLI_Translate, Website_Doc_CLI_Translate_Path, Website_Doc_Chat, Website_Doc_Chat_Path, Website_Doc_Environment_Adonis, Website_Doc_Environment_Adonis_Path, Website_Doc_Environment_Angular, Website_Doc_Environment_Angular_Path, Website_Doc_Environment_Astro, Website_Doc_Environment_Astro_Path, Website_Doc_Environment_CRA, Website_Doc_Environment_CRA_Path, Website_Doc_Environment_Express, Website_Doc_Environment_Express_Path, Website_Doc_Environment_Fastify, Website_Doc_Environment_Fastify_Path, Website_Doc_Environment_Hono, Website_Doc_Environment_Hono_Path, Website_Doc_Environment_Htmx, Website_Doc_Environment_Htmx_Path, Website_Doc_Environment_Lit, Website_Doc_Environment_Lit_Path, Website_Doc_Environment_Lynx, Website_Doc_Environment_Lynx_Path, Website_Doc_Environment_NestJS, Website_Doc_Environment_NestJS_Path, Website_Doc_Environment_NextJS, Website_Doc_Environment_NextJS_14, Website_Doc_Environment_NextJS_14_Path, Website_Doc_Environment_NextJS_15, Website_Doc_Environment_NextJS_15_Path, Website_Doc_Environment_NextJS_16, Website_Doc_Environment_NextJS_16_Path, Website_Doc_Environment_NextJS_Path, Website_Doc_Environment_Nodejs, Website_Doc_Environment_Nodejs_Path, Website_Doc_Environment_NuxtAndVue, Website_Doc_Environment_NuxtAndVue_Path, Website_Doc_Environment_ReactNativeAndExpo, Website_Doc_Environment_ReactNativeAndExpo_Path, Website_Doc_Environment_Tanstack, Website_Doc_Environment_Tanstack_Path, Website_Doc_Environment_ViteAndPreact, Website_Doc_Environment_ViteAndPreact_Path, Website_Doc_Environment_ViteAndReact, Website_Doc_Environment_ViteAndReact_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path, Website_Doc_Environment_ViteAndSolid, Website_Doc_Environment_ViteAndSolid_Path, Website_Doc_Environment_ViteAndSvelte, Website_Doc_Environment_ViteAndSvelte_Path, Website_Doc_Environment_ViteAndVue, Website_Doc_Environment_ViteAndVue_Path, Website_Doc_IntlayerCMS, Website_Doc_IntlayerCMS_Path, Website_Doc_IntlayerVisualEditor, Website_Doc_IntlayerVisualEditor_Path, Website_Doc_Intlayer_with_Lynx_and_React, Website_Doc_Intlayer_with_Lynx_and_React_Path, Website_Doc_MCP, Website_Doc_MCP_Path, Website_Doc_Path, Website_Doc_Root, Website_Doc_Root_Path, Website_Doc_Search, Website_Doc_Search_Path, Website_Doc_SelfHosting, Website_Doc_SelfHosting_Path, Website_Doc_Why, Website_Doc_Why_Path, Website_Domain, Website_FrequentQuestions, Website_FrequentQuestions_Path, Website_Home, Website_Home_Path,
|
|
324
|
+
export { App_Admin, App_Admin_Affiliate, App_Admin_Affiliate_Path, App_Admin_Dashboard, App_Admin_Dashboard_Path, App_Admin_Discussions, App_Admin_Discussions_Path, App_Admin_Management, App_Admin_Management_Path, App_Admin_Organizations, App_Admin_Organizations_Path, App_Admin_Path, App_Admin_Projects, App_Admin_Projects_Path, App_Admin_PromoCodes, App_Admin_PromoCodes_Path, App_Admin_Reviewers, App_Admin_Reviewers_Path, App_Admin_Users, App_Admin_Users_Path, App_Affiliation, App_Affiliation_Path, App_Auth_AskResetPassword, App_Auth_AskResetPassword_Path, App_Auth_ChangePassword, App_Auth_ChangePassword_Path, App_Auth_Demo_Path, App_Auth_Path, App_Auth_ResetPassword, App_Auth_ResetPassword_Path, App_Auth_SignIn, App_Auth_SignIn_Path, App_Auth_SignUp, App_Auth_SignUp_Path, App_Auth_TwoFactor, App_Auth_TwoFactor_Path, App_Dashboard, App_Dashboard_Analytics, App_Dashboard_Analytics_Path, App_Dashboard_Assets_Path, App_Dashboard_Dictionaries, App_Dashboard_Dictionaries_Path, App_Dashboard_Editor, App_Dashboard_Editor_Path, App_Dashboard_IDE, App_Dashboard_IDE_Path, App_Dashboard_Organization, App_Dashboard_Organization_Path, App_Dashboard_Profile, App_Dashboard_Profile_Path, App_Dashboard_Projects, App_Dashboard_Projects_Path, App_Dashboard_Scanner, App_Dashboard_Scanner_Path, App_Dashboard_Tags, App_Dashboard_Tags_Path, App_Dashboard_Translate, App_Dashboard_Translate_Path, App_Demo, App_Demo_Path, App_Domain, App_Home_Path, App_Init_Path, App_NotFound_Path, App_Onboarding, App_Onboarding_Path, App_Pricing, App_Pricing_Path, App_ReviewerMarketplace, App_ReviewerMarketplace_Dashboard, App_ReviewerMarketplace_Dashboard_Mission_Path, App_ReviewerMarketplace_Dashboard_Path, App_ReviewerMarketplace_Path, App_ReviewerMarketplace_Reviewer_Path, AuthMd_Path, Backend_Domain, Backend_Health, Backend_OAuth2_Token, Backend_Root, Doc_Blog_Path, Doc_Blog_Root_Path, Doc_Blog_Search_Path, Doc_Blog_What_is_i18n_Path, Doc_CLI_Fill_Path, Doc_CLI_Review_Path, Doc_CLI_Translate_Path, Doc_Chat_Path, Doc_Contributors_Path, Doc_Environment_Adonis_Path, Doc_Environment_Angular_Path, Doc_Environment_Astro_Path, Doc_Environment_CRA_Path, Doc_Environment_Express_Path, Doc_Environment_Fastify_Path, Doc_Environment_Hono_Path, Doc_Environment_Lit_Path, Doc_Environment_Lynx_Path, Doc_Environment_NestJS_Path, Doc_Environment_NextJS_14_Path, Doc_Environment_NextJS_15_Path, Doc_Environment_NextJS_16_Path, Doc_Environment_NextJS_Path, Doc_Environment_Nodejs_Path, Doc_Environment_NuxtAndVue_Path, Doc_Environment_ReactNativeAndExpo_Path, Doc_Environment_Tanstack_Path, Doc_Environment_ViteAndPreact_Path, Doc_Environment_ViteAndReact_Path, Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Doc_Environment_ViteAndReact_ReactRouterV7_Path, Doc_Environment_ViteAndSolid_Path, Doc_Environment_ViteAndSvelte_Path, Doc_Environment_ViteAndVue_Path, Doc_FrequentQuestions_Path, Doc_IntlayerCMS_Path, Doc_IntlayerVisualEditor_Path, Doc_Intlayer_with_Lynx_and_React_Path, Doc_MCP_Path, Doc_Path, Doc_PrivacyPolicy_Path, Doc_ReleasesV6_Path, Doc_ReleasesV7_Path, Doc_ReleasesV8_Path, Doc_Root_Path, Doc_Search_Path, Doc_ShowcaseSubmit_Path, Doc_Showcase_Path, Doc_TermsOfService_Path, Doc_Why_Path, External_AI_Landing_Page, External_Discord, External_DockerHub_SelfHost, External_ExampleIntlayerWithExpress, External_ExampleIntlayerWithNextjs, External_ExampleIntlayerWithReactJS, External_ExampleIntlayerWithReactNative, External_ExampleIntlayerWithViteAndPreact, External_ExampleIntlayerWithViteAndReact, External_ExampleIntlayerWithViteAndSolid, External_ExampleIntlayerWithViteAndSvelte, External_ExampleIntlayerWithViteAndVue, External_Examples, External_Github, External_Github_i18n_benchmark, External_LinkedIn, External_ShowcaseApp, LlmsTxt_Path, Mcp_Domain, Mcp_Root, Mcp_Sse, Showcase_Domain, Showcase_Root, Showcase_Root_Path, Showcase_Submit, Showcase_Submit_Path, Website_Benchmark, Website_Benchmark_NextJS, Website_Benchmark_NextJS_Path, Website_Benchmark_Path, Website_Benchmark_Tanstack, Website_Benchmark_Tanstack_Path, Website_Blog, Website_Blog_Path, Website_Blog_Root, Website_Blog_Root_Path, Website_Blog_Search, Website_Blog_Search_Path, Website_Blog_What_is_i18n, Website_Blog_What_is_i18n_Path, Website_CMS, Website_CMS_Path, Website_Changelog, Website_Changelog_Path, Website_Contributors, Website_Contributors_Path, Website_Demo, Website_Demo_Path, Website_Doc, Website_Doc_CLI_Fill, Website_Doc_CLI_Fill_Path, Website_Doc_CLI_Review, Website_Doc_CLI_Review_Path, Website_Doc_CLI_Translate, Website_Doc_CLI_Translate_Path, Website_Doc_Chat, Website_Doc_Chat_Path, Website_Doc_Environment_Adonis, Website_Doc_Environment_Adonis_Path, Website_Doc_Environment_Angular, Website_Doc_Environment_Angular_Path, Website_Doc_Environment_Astro, Website_Doc_Environment_Astro_Path, Website_Doc_Environment_CRA, Website_Doc_Environment_CRA_Path, Website_Doc_Environment_Express, Website_Doc_Environment_Express_Path, Website_Doc_Environment_Fastify, Website_Doc_Environment_Fastify_Path, Website_Doc_Environment_Hono, Website_Doc_Environment_Hono_Path, Website_Doc_Environment_Htmx, Website_Doc_Environment_Htmx_Path, Website_Doc_Environment_Lit, Website_Doc_Environment_Lit_Path, Website_Doc_Environment_Lynx, Website_Doc_Environment_Lynx_Path, Website_Doc_Environment_NestJS, Website_Doc_Environment_NestJS_Path, Website_Doc_Environment_NextJS, Website_Doc_Environment_NextJS_14, Website_Doc_Environment_NextJS_14_Path, Website_Doc_Environment_NextJS_15, Website_Doc_Environment_NextJS_15_Path, Website_Doc_Environment_NextJS_16, Website_Doc_Environment_NextJS_16_Path, Website_Doc_Environment_NextJS_Path, Website_Doc_Environment_Nodejs, Website_Doc_Environment_Nodejs_Path, Website_Doc_Environment_NuxtAndVue, Website_Doc_Environment_NuxtAndVue_Path, Website_Doc_Environment_ReactNativeAndExpo, Website_Doc_Environment_ReactNativeAndExpo_Path, Website_Doc_Environment_Tanstack, Website_Doc_Environment_Tanstack_Path, Website_Doc_Environment_ViteAndPreact, Website_Doc_Environment_ViteAndPreact_Path, Website_Doc_Environment_ViteAndReact, Website_Doc_Environment_ViteAndReact_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path, Website_Doc_Environment_ViteAndSolid, Website_Doc_Environment_ViteAndSolid_Path, Website_Doc_Environment_ViteAndSvelte, Website_Doc_Environment_ViteAndSvelte_Path, Website_Doc_Environment_ViteAndVue, Website_Doc_Environment_ViteAndVue_Path, Website_Doc_HTML, Website_Doc_HTML_Path, Website_Doc_IntlayerCMS, Website_Doc_IntlayerCMS_Path, Website_Doc_IntlayerVisualEditor, Website_Doc_IntlayerVisualEditor_Path, Website_Doc_Intlayer_with_Lynx_and_React, Website_Doc_Intlayer_with_Lynx_and_React_Path, Website_Doc_MCP, Website_Doc_MCP_Path, Website_Doc_Markdown, Website_Doc_Markdown_Path, Website_Doc_Path, Website_Doc_Root, Website_Doc_Root_Path, Website_Doc_Search, Website_Doc_Search_Path, Website_Doc_SelfHosting, Website_Doc_SelfHosting_Path, Website_Doc_Why, Website_Doc_Why_Path, Website_Domain, Website_FrequentQuestions, Website_FrequentQuestions_Path, Website_Home, Website_Home_Path, Website_I18nextFormatter, Website_I18nextFormatter_Path, Website_ICUFormatter, Website_ICUFormatter_Path, Website_IntlayerFormatter, Website_IntlayerFormatter_Path, Website_Markdown, Website_Markdown_Path, Website_MessageConverter, Website_MessageConverter_Path, Website_NotFound, Website_NotFound_Path, Website_POFormatter, Website_POFormatter_Path, Website_Playground, Website_Playground_Path, Website_PrivacyPolicy, Website_PrivacyPolicy_Path, Website_ReleasesV6, Website_ReleasesV6_Path, Website_ReleasesV7, Website_ReleasesV7_Path, Website_ReleasesV8, Website_ReleasesV8_Path, Website_ReleasesV9_Path, Website_Scanner, Website_Scanner_Path, Website_TMS, Website_TMS_Path, Website_TermsOfService, Website_TermsOfService_Path, Website_Translate, Website_Translate_Path, Website_VueI18nFormatter, Website_VueI18nFormatter_Path, WellKnown_AgentSkillsIndex_Path, WellKnown_AgentSkills_Path, WellKnown_AiCatalog_Path, WellKnown_ApiCatalog_Path, WellKnown_McpServerCard_Path, WellKnown_OAuthAuthorizationServer_Path, WellKnown_OAuthProtectedResource_Path, getAppAdminAffiliateRoute, getAppAdminOrganizationAbsoluteRoute, getAppAdminOrganizationRoute, getAppAdminProjectAbsoluteRoute, getAppAdminProjectRoute, getAppAdminPromoCodeRoute, getAppAdminReviewerRoute, getAppAdminUserAbsoluteRoute, getAppAdminUserRoute, getAppOnboardingFlowAbsoluteRoute, getAppOnboardingFlowRoute, getAppReviewerMissionRoute, getAppReviewerProfileRoute };
|
|
309
325
|
//# sourceMappingURL=routes.mjs.map
|
package/dist/esm/routes.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.mjs","names":[],"sources":["../../src/routes.ts"],"sourcesContent":["// ============================================================\n// Domains\n// ============================================================\nexport const App_Domain = 'app.intlayer.org' as const;\nexport const Website_Domain = 'intlayer.org' as const;\nexport const Showcase_Domain = 'showcase.intlayer.org' as const;\nexport const Backend_Domain = 'back.intlayer.org' as const;\nexport const Mcp_Domain = 'mcp.intlayer.org' as const;\n\n// ============================================================\n// App paths — relative (app.intlayer.org)\n// ============================================================\nexport const App_Home_Path = '/' as const;\nexport const App_NotFound_Path = '/404' as const;\n\nexport const App_Dashboard_Editor_Path = '/editor' as const;\nexport const App_Dashboard_Translate_Path = '/translate' as const;\nexport const App_Dashboard_Dictionaries_Path = '/dictionary' as const;\nexport const App_Dashboard_Projects_Path = '/projects' as const;\nexport const App_Dashboard_Tags_Path = '/tags' as const;\nexport const App_Dashboard_Organization_Path = '/organization' as const;\nexport const App_Dashboard_Profile_Path = '/profile' as const;\nexport const App_Dashboard_IDE_Path = '/ide' as const;\nexport const App_Dashboard_Scanner_Path = '/scanner' as const;\nexport const App_Dashboard_Assets_Path = '/assets' as const;\nexport const App_Dashboard_Analytics_Path = '/analytics' as const;\n\nexport const App_Pricing_Path = '/pricing' as const;\nexport const App_Affiliation_Path = '/affiliation' as const;\n\nexport const App_Demo_Path = '/demo' as const;\nexport const App_Init_Path = '/init' as const;\n\nexport const App_ReviewerMarketplace_Path = '/find-reviewer' as const;\nexport const App_ReviewerMarketplace_Dashboard_Path =\n '/find-reviewer/dashboard' as const;\nexport const App_ReviewerMarketplace_Reviewer_Path =\n '/find-reviewer/$reviewerId' as const;\nexport const App_ReviewerMarketplace_Dashboard_Mission_Path =\n '/find-reviewer/dashboard/mission/$missionId' as const;\n\nexport const getAppReviewerProfileRoute = (reviewerId: string) =>\n `/find-reviewer/${reviewerId}` as const;\nexport const getAppReviewerMissionRoute = (missionId: string) =>\n `/find-reviewer/dashboard/mission/${missionId}` as const;\n\n/** Root of the authentication section, usable as a `Disallow` prefix. */\nexport const App_Auth_Path = '/auth' as const;\nexport const App_Auth_SignIn_Path = '/auth/login' as const;\nexport const App_Auth_SignUp_Path = '/auth/register' as const;\nexport const App_Auth_TwoFactor_Path = '/auth/2fa' as const;\nexport const App_Auth_Demo_Path = '/auth/demo' as const;\nexport const App_Auth_AskResetPassword_Path =\n '/auth/password/ask-reset' as const;\nexport const App_Auth_ResetPassword_Path = '/auth/password/reset' as const;\nexport const App_Auth_ChangePassword_Path = '/auth/password/change' as const;\n\nexport const App_Admin_Path = '/admin' as const;\nexport const App_Admin_Users_Path = '/admin/users' as const;\nexport const App_Admin_Organizations_Path = '/admin/organizations' as const;\nexport const App_Admin_Projects_Path = '/admin/projects' as const;\nexport const App_Admin_Dashboard_Path = '/admin/dashboard' as const;\nexport const App_Admin_Management_Path = '/admin/management' as const;\nexport const App_Admin_Discussions_Path = '/admin/discussions' as const;\nexport const App_Admin_Affiliate_Path = '/admin/affiliate' as const;\nexport const getAppAdminAffiliateRoute = (id: string) =>\n `${App_Admin_Affiliate_Path}/${id}` as const;\nexport const App_Admin_PromoCodes_Path = '/admin/promo-code' as const;\nexport const getAppAdminPromoCodeRoute = (id: string) =>\n `${App_Admin_PromoCodes_Path}/${id}` as const;\n\nexport const App_Admin_Reviewers_Path = '/admin/reviewers' as const;\nexport const getAppAdminReviewerRoute = (id: string) =>\n `${App_Admin_Reviewers_Path}/${id}` as const;\n\nexport const App_Onboarding_Path = '/onboarding' as const;\n\nexport const getAppAdminUserRoute = (id: string) =>\n `${App_Admin_Users_Path}/${id}` as const;\nexport const getAppAdminOrganizationRoute = (id: string) =>\n `${App_Admin_Organizations_Path}/${id}` as const;\nexport const getAppAdminProjectRoute = (id: string) =>\n `${App_Admin_Projects_Path}/${id}` as const;\nexport const getAppOnboardingFlowRoute = (step: string) =>\n `${App_Onboarding_Path}/${step}` as const;\n\n// ============================================================\n// App absolute URLs — https://app.intlayer.org\n// ============================================================\nexport const App_Dashboard = `https://${App_Domain}` as const;\nexport const App_Dashboard_Editor =\n `https://${App_Domain}${App_Dashboard_Editor_Path}` as const;\nexport const App_Dashboard_Translate =\n `https://${App_Domain}${App_Dashboard_Translate_Path}` as const;\nexport const App_Dashboard_Dictionaries =\n `https://${App_Domain}${App_Dashboard_Dictionaries_Path}` as const;\nexport const App_Dashboard_Projects =\n `https://${App_Domain}${App_Dashboard_Projects_Path}` as const;\nexport const App_Dashboard_Tags =\n `https://${App_Domain}${App_Dashboard_Tags_Path}` as const;\nexport const App_Dashboard_Organization =\n `https://${App_Domain}${App_Dashboard_Organization_Path}` as const;\nexport const App_Dashboard_Profile =\n `https://${App_Domain}${App_Dashboard_Profile_Path}` as const;\nexport const App_Dashboard_IDE =\n `https://${App_Domain}${App_Dashboard_IDE_Path}` as const;\nexport const App_Dashboard_Scanner =\n `https://${App_Domain}${App_Dashboard_Scanner_Path}` as const;\nexport const App_Dashboard_Analytics =\n `https://${App_Domain}${App_Dashboard_Analytics_Path}` as const;\n\nexport const App_Pricing = `https://${App_Domain}${App_Pricing_Path}` as const;\nexport const App_Affiliation =\n `https://${App_Domain}${App_Affiliation_Path}` as const;\nexport const App_Demo = `https://${App_Domain}${App_Demo_Path}` as const;\n\nexport const App_ReviewerMarketplace =\n `https://${App_Domain}${App_ReviewerMarketplace_Path}` as const;\nexport const App_ReviewerMarketplace_Dashboard =\n `https://${App_Domain}${App_ReviewerMarketplace_Dashboard_Path}` as const;\n\nexport const App_Auth_SignIn =\n `https://${App_Domain}${App_Auth_SignIn_Path}` as const;\nexport const App_Auth_SignUp =\n `https://${App_Domain}${App_Auth_SignUp_Path}` as const;\nexport const App_Auth_TwoFactor =\n `https://${App_Domain}${App_Auth_TwoFactor_Path}` as const;\nexport const App_Auth_AskResetPassword =\n `https://${App_Domain}${App_Auth_AskResetPassword_Path}` as const;\nexport const App_Auth_ResetPassword =\n `https://${App_Domain}${App_Auth_ResetPassword_Path}` as const;\nexport const App_Auth_ChangePassword =\n `https://${App_Domain}${App_Auth_ChangePassword_Path}` as const;\n\nexport const App_Admin = `https://${App_Domain}${App_Admin_Path}` as const;\nexport const App_Admin_Users =\n `https://${App_Domain}${App_Admin_Users_Path}` as const;\nexport const App_Admin_Organizations =\n `https://${App_Domain}${App_Admin_Organizations_Path}` as const;\nexport const App_Admin_Projects =\n `https://${App_Domain}${App_Admin_Projects_Path}` as const;\nexport const App_Admin_Dashboard =\n `https://${App_Domain}${App_Admin_Dashboard_Path}` as const;\nexport const App_Admin_Management =\n `https://${App_Domain}${App_Admin_Management_Path}` as const;\nexport const App_Admin_Discussions =\n `https://${App_Domain}${App_Admin_Discussions_Path}` as const;\nexport const App_Admin_Affiliate =\n `https://${App_Domain}${App_Admin_Affiliate_Path}` as const;\nexport const App_Admin_PromoCodes =\n `https://${App_Domain}${App_Admin_PromoCodes_Path}` as const;\nexport const App_Admin_Reviewers =\n `https://${App_Domain}${App_Admin_Reviewers_Path}` as const;\n\nexport const App_Onboarding =\n `https://${App_Domain}${App_Onboarding_Path}` as const;\n\nexport const getAppAdminUserAbsoluteRoute = (id: string) =>\n `https://${App_Domain}${App_Admin_Users_Path}/${id}` as const;\nexport const getAppAdminOrganizationAbsoluteRoute = (id: string) =>\n `https://${App_Domain}${App_Admin_Organizations_Path}/${id}` as const;\nexport const getAppAdminProjectAbsoluteRoute = (id: string) =>\n `https://${App_Domain}${App_Admin_Projects_Path}/${id}` as const;\nexport const getAppOnboardingFlowAbsoluteRoute = (\n step: string,\n plan: string,\n period?: string\n) =>\n period\n ? `https://${App_Domain}${App_Onboarding_Path}/${step}/${plan}/${period}`\n : (`https://${App_Domain}${App_Onboarding_Path}/${step}/${plan}` as const);\n\n// ============================================================\n// Website paths — relative (intlayer.org)\n// ============================================================\nexport const Website_Home_Path = '/' as const;\nexport const Website_CMS_Path = '/cms' as const;\nexport const Website_TMS_Path = '/tms' as const;\nexport const Website_Translate_Path = '/translate' as const;\nexport const Website_Markdown_Preview_Path = '/markdown' as const;\nexport const Website_Demo_Path = '/demo' as const;\nexport const Website_Playground_Path = '/playground' as const;\nexport const Website_NotFound_Path = '/404' as const;\nexport const Website_Changelog_Path = '/changelog' as const;\nexport const Website_Scanner_Path = '/i18n-seo-scanner' as const;\n\nexport const Website_Doc_Root_Path = '/doc' as const;\nexport const Website_Doc_Path = '/doc/get-started' as const;\nexport const Website_Doc_Why_Path = '/doc/why' as const;\nexport const Website_Doc_Search_Path = '/doc/search' as const;\nexport const Website_Doc_Chat_Path = '/doc/chat' as const;\nexport const Website_Doc_IntlayerVisualEditor_Path =\n '/doc/concept/editor' as const;\nexport const Website_Doc_IntlayerCMS_Path = '/doc/concept/cms' as const;\nexport const Website_Doc_SelfHosting_Path = '/doc/self-hosting' as const;\n\nexport const Website_ReleasesV6_Path = '/doc/releases/v6' as const;\nexport const Website_ReleasesV7_Path = '/doc/releases/v7' as const;\nexport const Website_ReleasesV8_Path = '/doc/releases/v8' as const;\nexport const Website_ReleasesV9_Path = '/doc/releases/v9' as const;\nexport const Website_Doc_Environment_NextJS_Path =\n '/doc/environment/nextjs' as const;\nexport const Website_Doc_Environment_NextJS_16_Path =\n '/doc/environment/nextjs' as const;\nexport const Website_Doc_Environment_NextJS_15_Path =\n '/doc/environment/nextjs/15' as const;\nexport const Website_Doc_Environment_NextJS_14_Path =\n '/doc/environment/nextjs/14' as const;\nexport const Website_Doc_Environment_CRA_Path =\n '/doc/environment/create-react-app' as const;\nexport const Website_Doc_Environment_Astro_Path =\n '/doc/environment/astro' as const;\nexport const Website_Doc_Environment_ViteAndReact_Path =\n '/doc/environment/vite-and-react' as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path =\n '/doc/environment/vite-and-react/react-router-v7' as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path =\n '/doc/environment/vite-and-react/react-router-v7-fs-routes' as const;\nexport const Website_Doc_Environment_Tanstack_Path =\n '/doc/environment/tanstack-start' as const;\nexport const Website_Doc_Environment_Lit_Path =\n '/doc/environment/vite-and-lit' as const;\nexport const Website_Doc_Environment_Nodejs_Path = '/doc/concept/cli' as const;\nexport const Website_Doc_Environment_Adonis_Path =\n '/doc/environment/adonisjs' as const;\nexport const Website_Doc_Environment_ViteAndVue_Path =\n '/doc/environment/vite-and-vue' as const;\nexport const Website_Doc_Environment_ViteAndSolid_Path =\n '/doc/environment/vite-and-solid' as const;\nexport const Website_Doc_Environment_ViteAndSvelte_Path =\n '/doc/environment/vite-and-svelte' as const;\nexport const Website_Doc_Environment_ViteAndPreact_Path =\n '/doc/environment/vite-and-preact' as const;\nexport const Website_Doc_Environment_NuxtAndVue_Path =\n '/doc/environment/nuxt-and-vue' as const;\nexport const Website_Doc_Intlayer_with_Lynx_and_React_Path =\n '/doc/environment/lynx-and-react' as const;\nexport const Website_Doc_Environment_Angular_Path =\n '/doc/environment/angular' as const;\nexport const Website_Doc_Environment_ReactNativeAndExpo_Path =\n '/doc/environment/react-native-and-expo' as const;\nexport const Website_Doc_Environment_Lynx_Path =\n '/doc/environment/lynx-and-react' as const;\nexport const Website_Doc_Environment_Express_Path =\n '/doc/environment/express' as const;\nexport const Website_Doc_Environment_NestJS_Path =\n '/doc/environment/nest' as const;\nexport const Website_Doc_Environment_Fastify_Path =\n '/doc/environment/fastify' as const;\nexport const Website_Doc_Environment_Hono_Path =\n '/doc/environment/hono' as const;\nexport const Website_Doc_Environment_Htmx_Path =\n '/doc/environment/htmx' as const;\n\nexport const Website_Doc_CLI_Fill_Path = '/doc/concept/cli/fill' as const;\nexport const Website_Doc_CLI_Translate_Path =\n '/doc/concept/cli/doc-translate' as const;\nexport const Website_Doc_CLI_Review_Path =\n '/doc/concept/cli/doc-review' as const;\n\nexport const Website_Benchmark_Path = '/doc/benchmark' as const;\nexport const Website_Benchmark_NextJS_Path = '/doc/benchmark/nextjs' as const;\nexport const Website_Benchmark_Tanstack_Path =\n '/doc/benchmark/tanstack' as const;\n\nexport const Website_Doc_MCP_Path = '/doc/mcp-server' as const;\n\nexport const Website_Blog_Root_Path = '/blog' as const;\nexport const Website_Blog_Path = '/blog' as const;\nexport const Website_Blog_Search_Path = '/blog' as const;\nexport const Website_Blog_What_is_i18n_Path =\n '/blog/what-is-internationalization' as const;\n\nexport const Website_FrequentQuestions_Path = '/frequent-questions' as const;\nexport const Website_PrivacyPolicy_Path = '/privacy-notice' as const;\nexport const Website_TermsOfService_Path = '/terms-of-service' as const;\nexport const Website_Contributors_Path = '/contributors' as const;\n\n// ============================================================\n// Website absolute URLs — https://intlayer.org\n// ============================================================\nexport const Website_Home =\n `https://${Website_Domain}${Website_Home_Path}` as const;\nexport const Website_CMS =\n `https://${Website_Domain}${Website_CMS_Path}` as const;\nexport const Website_TMS =\n `https://${Website_Domain}${Website_TMS_Path}` as const;\nexport const Website_Translate =\n `https://${Website_Domain}${Website_Translate_Path}` as const;\nexport const Website_Markdown_Preview =\n `https://${Website_Domain}${Website_Markdown_Preview_Path}` as const;\nexport const Website_Demo =\n `https://${Website_Domain}${Website_Demo_Path}` as const;\nexport const Website_Playground =\n `https://${Website_Domain}${Website_Playground_Path}` as const;\nexport const Website_NotFound =\n `https://${Website_Domain}${Website_NotFound_Path}` as const;\nexport const Website_Changelog =\n `https://${Website_Domain}${Website_Changelog_Path}` as const;\nexport const Website_Scanner =\n `https://${Website_Domain}${Website_Scanner_Path}` as const;\nexport const Website_Benchmark =\n `https://${Website_Domain}${Website_Benchmark_Path}` as const;\nexport const Website_Benchmark_NextJS =\n `https://${Website_Domain}${Website_Benchmark_NextJS_Path}` as const;\nexport const Website_Benchmark_Tanstack =\n `https://${Website_Domain}${Website_Benchmark_Tanstack_Path}` as const;\n\nexport const Website_Doc_Root =\n `https://${Website_Domain}${Website_Doc_Root_Path}` as const;\nexport const Website_Doc =\n `https://${Website_Domain}${Website_Doc_Path}` as const;\nexport const Website_Doc_Why =\n `https://${Website_Domain}${Website_Doc_Why_Path}` as const;\nexport const Website_Doc_Search =\n `https://${Website_Domain}${Website_Doc_Search_Path}` as const;\nexport const Website_Doc_Chat =\n `https://${Website_Domain}${Website_Doc_Chat_Path}` as const;\nexport const Website_Doc_IntlayerVisualEditor =\n `https://${Website_Domain}${Website_Doc_IntlayerVisualEditor_Path}` as const;\nexport const Website_Doc_IntlayerCMS =\n `https://${Website_Domain}${Website_Doc_IntlayerCMS_Path}` as const;\nexport const Website_Doc_SelfHosting =\n `https://${Website_Domain}${Website_Doc_SelfHosting_Path}` as const;\n\nexport const Website_ReleasesV6 =\n `https://${Website_Domain}${Website_ReleasesV6_Path}` as const;\nexport const Website_ReleasesV7 =\n `https://${Website_Domain}${Website_ReleasesV7_Path}` as const;\nexport const Website_ReleasesV8 =\n `https://${Website_Domain}${Website_ReleasesV8_Path}` as const;\nexport const Website_Doc_Environment_NextJS =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_Path}` as const;\nexport const Website_Doc_Environment_NextJS_16 =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_16_Path}` as const;\nexport const Website_Doc_Environment_NextJS_15 =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_15_Path}` as const;\nexport const Website_Doc_Environment_NextJS_14 =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_14_Path}` as const;\nexport const Website_Doc_Environment_CRA =\n `https://${Website_Domain}${Website_Doc_Environment_CRA_Path}` as const;\nexport const Website_Doc_Environment_Astro =\n `https://${Website_Domain}${Website_Doc_Environment_Astro_Path}` as const;\nexport const Website_Doc_Environment_ViteAndReact =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndReact_Path}` as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7 =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path}` as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path}` as const;\nexport const Website_Doc_Environment_Tanstack =\n `https://${Website_Domain}${Website_Doc_Environment_Tanstack_Path}` as const;\nexport const Website_Doc_Environment_Lit =\n `https://${Website_Domain}${Website_Doc_Environment_Lit_Path}` as const;\nexport const Website_Doc_Environment_Nodejs =\n `https://${Website_Domain}${Website_Doc_Environment_Nodejs_Path}` as const;\nexport const Website_Doc_Environment_Adonis =\n `https://${Website_Domain}${Website_Doc_Environment_Adonis_Path}` as const;\nexport const Website_Doc_Environment_ViteAndVue =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndVue_Path}` as const;\nexport const Website_Doc_Environment_ViteAndSolid =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndSolid_Path}` as const;\nexport const Website_Doc_Environment_ViteAndSvelte =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndSvelte_Path}` as const;\nexport const Website_Doc_Environment_ViteAndPreact =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndPreact_Path}` as const;\nexport const Website_Doc_Environment_NuxtAndVue =\n `https://${Website_Domain}${Website_Doc_Environment_NuxtAndVue_Path}` as const;\nexport const Website_Doc_Intlayer_with_Lynx_and_React =\n `https://${Website_Domain}${Website_Doc_Intlayer_with_Lynx_and_React_Path}` as const;\nexport const Website_Doc_Environment_Angular =\n `https://${Website_Domain}${Website_Doc_Environment_Angular_Path}` as const;\nexport const Website_Doc_Environment_ReactNativeAndExpo =\n `https://${Website_Domain}${Website_Doc_Environment_ReactNativeAndExpo_Path}` as const;\nexport const Website_Doc_Environment_Lynx =\n `https://${Website_Domain}${Website_Doc_Environment_Lynx_Path}` as const;\nexport const Website_Doc_Environment_Express =\n `https://${Website_Domain}${Website_Doc_Environment_Express_Path}` as const;\nexport const Website_Doc_Environment_NestJS =\n `https://${Website_Domain}${Website_Doc_Environment_NestJS_Path}` as const;\nexport const Website_Doc_Environment_Fastify =\n `https://${Website_Domain}${Website_Doc_Environment_Fastify_Path}` as const;\nexport const Website_Doc_Environment_Hono =\n `https://${Website_Domain}${Website_Doc_Environment_Hono_Path}` as const;\nexport const Website_Doc_Environment_Htmx =\n `https://${Website_Domain}${Website_Doc_Environment_Htmx_Path}` as const;\n\nexport const Website_Doc_CLI_Fill =\n `https://${Website_Domain}${Website_Doc_CLI_Fill_Path}` as const;\nexport const Website_Doc_CLI_Translate =\n `https://${Website_Domain}${Website_Doc_CLI_Translate_Path}` as const;\nexport const Website_Doc_CLI_Review =\n `https://${Website_Domain}${Website_Doc_CLI_Review_Path}` as const;\n\nexport const Website_Doc_MCP =\n `https://${Website_Domain}${Website_Doc_MCP_Path}` as const;\n\nexport const Website_Blog_Root =\n `https://${Website_Domain}${Website_Blog_Root_Path}` as const;\nexport const Website_Blog =\n `https://${Website_Domain}${Website_Blog_Path}` as const;\nexport const Website_Blog_Search =\n `https://${Website_Domain}${Website_Blog_Search_Path}` as const;\nexport const Website_Blog_What_is_i18n =\n `https://${Website_Domain}${Website_Blog_What_is_i18n_Path}` as const;\n\nexport const Website_FrequentQuestions =\n `https://${Website_Domain}${Website_FrequentQuestions_Path}` as const;\nexport const Website_PrivacyPolicy =\n `https://${Website_Domain}${Website_PrivacyPolicy_Path}` as const;\nexport const Website_TermsOfService =\n `https://${Website_Domain}${Website_TermsOfService_Path}` as const;\nexport const Website_Contributors =\n `https://${Website_Domain}${Website_Contributors_Path}` as const;\n\n// ============================================================\n// Doc app paths — relative (served under intlayer.org/doc/*)\n// ============================================================\nexport const Doc_Root_Path = '/doc' as const;\nexport const Doc_Path = '/get-started' as const;\nexport const Doc_Why_Path = '/why' as const;\nexport const Doc_Search_Path = '/search' as const;\nexport const Doc_Chat_Path = '/chat' as const;\nexport const Doc_IntlayerVisualEditor_Path = '/concept/editor' as const;\nexport const Doc_IntlayerCMS_Path = '/concept/cms' as const;\n\nexport const Doc_ReleasesV6_Path = '/releases/v6' as const;\nexport const Doc_ReleasesV7_Path = '/releases/v7' as const;\nexport const Doc_ReleasesV8_Path = '/releases/v8' as const;\nexport const Doc_Environment_NextJS_Path = '/environment/nextjs' as const;\nexport const Doc_Environment_NextJS_16_Path = '/environment/nextjs' as const;\nexport const Doc_Environment_NextJS_15_Path = '/environment/nextjs/15' as const;\nexport const Doc_Environment_NextJS_14_Path = '/environment/nextjs/14' as const;\nexport const Doc_Environment_CRA_Path =\n '/environment/create-react-app' as const;\nexport const Doc_Environment_Astro_Path = '/environment/astro' as const;\nexport const Doc_Environment_ViteAndReact_Path =\n '/environment/vite-and-react' as const;\nexport const Doc_Environment_ViteAndReact_ReactRouterV7_Path =\n '/environment/vite-and-react/react-router-v7' as const;\nexport const Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path =\n '/environment/vite-and-react/react-router-v7-fs-routes' as const;\nexport const Doc_Environment_Tanstack_Path =\n '/environment/tanstack-start' as const;\nexport const Doc_Environment_Lit_Path = '/environment/vite-and-lit' as const;\nexport const Doc_Environment_Nodejs_Path = '/concept/cli' as const;\nexport const Doc_Environment_Adonis_Path = '/environment/adonisjs' as const;\nexport const Doc_Environment_ViteAndVue_Path =\n '/environment/vite-and-vue' as const;\nexport const Doc_Environment_ViteAndSolid_Path =\n '/environment/vite-and-solid' as const;\nexport const Doc_Environment_ViteAndSvelte_Path =\n '/environment/vite-and-svelte' as const;\nexport const Doc_Environment_ViteAndPreact_Path =\n '/environment/vite-and-preact' as const;\nexport const Doc_Environment_NuxtAndVue_Path =\n '/environment/nuxt-and-vue' as const;\nexport const Doc_Intlayer_with_Lynx_and_React_Path =\n '/environment/lynx-and-react' as const;\nexport const Doc_Environment_Angular_Path = '/environment/angular' as const;\nexport const Doc_Environment_ReactNativeAndExpo_Path =\n '/environment/react-native-and-expo' as const;\nexport const Doc_Environment_Lynx_Path = '/environment/lynx-and-react' as const;\nexport const Doc_Environment_Express_Path = '/environment/express' as const;\nexport const Doc_Environment_NestJS_Path = '/environment/nest' as const;\nexport const Doc_Environment_Fastify_Path = '/environment/fastify' as const;\nexport const Doc_Environment_Hono_Path = '/environment/hono' as const;\n\nexport const Doc_CLI_Fill_Path = '/concept/cli/fill' as const;\nexport const Doc_CLI_Translate_Path = '/concept/cli/doc-translate' as const;\nexport const Doc_CLI_Review_Path = '/concept/cli/doc-review' as const;\n\nexport const Doc_MCP_Path = '/mcp-server' as const;\n\nexport const Doc_Blog_Root_Path = '/blog' as const;\nexport const Doc_Blog_Path = '/blog' as const;\nexport const Doc_Blog_Search_Path = '/blog' as const;\nexport const Doc_Blog_What_is_i18n_Path =\n '/blog/what-is-internationalization' as const;\n\nexport const Doc_FrequentQuestions_Path = '/frequent-questions' as const;\nexport const Doc_PrivacyPolicy_Path = '/privacy-notice' as const;\nexport const Doc_TermsOfService_Path = '/terms-of-service' as const;\nexport const Doc_Contributors_Path = '/contributors' as const;\nexport const Doc_Showcase_Path = '/' as const;\nexport const Doc_ShowcaseSubmit_Path = '/submit' as const;\n\n// ============================================================\n// Showcase paths — relative (showcase.intlayer.org)\n// ============================================================\nexport const Showcase_Root_Path = '/' as const;\nexport const Showcase_Submit_Path = '/submit' as const;\n\n// ============================================================\n// Showcase absolute URLs — https://showcase.intlayer.org\n// ============================================================\nexport const Showcase_Root = `https://${Showcase_Domain}` as const;\nexport const Showcase_Submit =\n `https://${Showcase_Domain}${Showcase_Submit_Path}` as const;\n\n// ============================================================\n// Backend absolute URLs — https://back.intlayer.org\n// ============================================================\nexport const Backend_Root = `https://${Backend_Domain}` as const;\nexport const Backend_Health = `https://${Backend_Domain}/health` as const;\nexport const Backend_OAuth2_Token =\n `https://${Backend_Domain}/oauth2/token` as const;\n\n// ============================================================\n// MCP absolute URLs — https://mcp.intlayer.org\n// ============================================================\nexport const Mcp_Root = `https://${Mcp_Domain}` as const;\nexport const Mcp_Sse = `https://${Mcp_Domain}/sse` as const;\n\n// ============================================================\n// Agent discovery paths — relative\n//\n// Well-known documents that let AI agents discover the site's APIs,\n// skills and authentication without scraping HTML.\n// ============================================================\nexport const WellKnown_ApiCatalog_Path = '/.well-known/api-catalog' as const;\nexport const WellKnown_AiCatalog_Path = '/.well-known/ai-catalog.json' as const;\nexport const WellKnown_OAuthProtectedResource_Path =\n '/.well-known/oauth-protected-resource' as const;\nexport const WellKnown_OAuthAuthorizationServer_Path =\n '/.well-known/oauth-authorization-server' as const;\nexport const WellKnown_McpServerCard_Path =\n '/.well-known/mcp/server-card.json' as const;\nexport const WellKnown_AgentSkills_Path = '/.well-known/agent-skills' as const;\nexport const WellKnown_AgentSkillsIndex_Path =\n `${WellKnown_AgentSkills_Path}/index.json` as const;\nexport const AuthMd_Path = '/auth.md' as const;\nexport const LlmsTxt_Path = '/llms.txt' as const;\n\n// ============================================================\n// External links\n// ============================================================\nexport const External_Github =\n 'https://github.com/aymericzip/intlayer' as const;\n\nexport const External_DockerHub_SelfHost =\n 'https://hub.docker.com/r/aymericzip/intlayer-selfhost' as const;\n\nexport const External_Github_i18n_benchmark =\n 'https://github.com/intlayer-org/benchmark-i18n' as const;\n\nexport const External_Discord = 'https://discord.gg/7uxamYVeCk' as const;\nexport const External_LinkedIn =\n 'https://www.linkedin.com/company/intlayerorg/' as const;\nexport const External_AI_Landing_Page = 'https://ai.intlayer.org' as const;\nexport const External_ShowcaseApp = `https://${Showcase_Domain}` as const;\nexport const External_Examples =\n 'https://github.com/aymericzip/intlayer/tree/main/examples' as const;\nexport const External_ExampleIntlayerWithNextjs =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/nextjs-15-app' as const;\nexport const External_ExampleIntlayerWithReactJS =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/react-app' as const;\nexport const External_ExampleIntlayerWithViteAndReact =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-react-app' as const;\nexport const External_ExampleIntlayerWithViteAndVue =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-vue-app' as const;\nexport const External_ExampleIntlayerWithViteAndSvelte =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-svelte-app' as const;\nexport const External_ExampleIntlayerWithViteAndSolid =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-solid-app' as const;\nexport const External_ExampleIntlayerWithViteAndPreact =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-preact-app' as const;\nexport const External_ExampleIntlayerWithReactNative =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/react-native-app' as const;\nexport const External_ExampleIntlayerWithExpress =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/express-app' as const;\n"],"mappings":";AAGA,MAAa,aAAa;AAC1B,MAAa,iBAAiB;AAC9B,MAAa,kBAAkB;AAC/B,MAAa,iBAAiB;AAC9B,MAAa,aAAa;AAK1B,MAAa,gBAAgB;AAC7B,MAAa,oBAAoB;AAEjC,MAAa,4BAA4B;AACzC,MAAa,+BAA+B;AAC5C,MAAa,kCAAkC;AAC/C,MAAa,8BAA8B;AAC3C,MAAa,0BAA0B;AACvC,MAAa,kCAAkC;AAC/C,MAAa,6BAA6B;AAC1C,MAAa,yBAAyB;AACtC,MAAa,6BAA6B;AAC1C,MAAa,4BAA4B;AACzC,MAAa,+BAA+B;AAE5C,MAAa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ent":["// ============================================================\n// Domains\n// ============================================================\nexport const App_Domain = ((import.meta as any).env.VITE_CMS_URL ??\n 'app.intlayer.org') as 'app.intlayer.org';\nexport const Website_Domain = ((import.meta as any).env.VITE_WEBSITE_URL ??\n 'intlayer.cn') as 'intlayer.org';\nexport const Showcase_Domain = 'showcase.intlayer.org' as const;\nexport const Backend_Domain = ((import.meta as any).env.VITE_BACKEND_URL ??\n 'back.intlayer.org') as 'back.intlayer.org';\nexport const Mcp_Domain = 'mcp.intlayer.org' as const;\n\n// ============================================================\n// App paths — relative (app.intlayer.org)\n// ============================================================\nexport const App_Home_Path = '/' as const;\nexport const App_NotFound_Path = '/404' as const;\n\nexport const App_Dashboard_Editor_Path = '/editor' as const;\nexport const App_Dashboard_Translate_Path = '/translate' as const;\nexport const App_Dashboard_Dictionaries_Path = '/dictionary' as const;\nexport const App_Dashboard_Projects_Path = '/projects' as const;\nexport const App_Dashboard_Tags_Path = '/tags' as const;\nexport const App_Dashboard_Organization_Path = '/organization' as const;\nexport const App_Dashboard_Profile_Path = '/profile' as const;\nexport const App_Dashboard_IDE_Path = '/ide' as const;\nexport const App_Dashboard_Scanner_Path = '/scanner' as const;\nexport const App_Dashboard_Assets_Path = '/assets' as const;\nexport const App_Dashboard_Analytics_Path = '/analytics' as const;\n\nexport const App_Pricing_Path = '/pricing' as const;\nexport const App_Affiliation_Path = '/affiliation' as const;\n\nexport const App_Demo_Path = '/demo' as const;\nexport const App_Init_Path = '/init' as const;\n\nexport const App_ReviewerMarketplace_Path = '/find-reviewer' as const;\nexport const App_ReviewerMarketplace_Dashboard_Path =\n '/find-reviewer/dashboard' as const;\nexport const App_ReviewerMarketplace_Reviewer_Path =\n '/find-reviewer/$reviewerId' as const;\nexport const App_ReviewerMarketplace_Dashboard_Mission_Path =\n '/find-reviewer/dashboard/mission/$missionId' as const;\n\nexport const getAppReviewerProfileRoute = (reviewerId: string) =>\n `/find-reviewer/${reviewerId}` as const;\nexport const getAppReviewerMissionRoute = (missionId: string) =>\n `/find-reviewer/dashboard/mission/${missionId}` as const;\n\n/** Root of the authentication section, usable as a `Disallow` prefix. */\nexport const App_Auth_Path = '/auth' as const;\nexport const App_Auth_SignIn_Path = '/auth/login' as const;\nexport const App_Auth_SignUp_Path = '/auth/register' as const;\nexport const App_Auth_TwoFactor_Path = '/auth/2fa' as const;\nexport const App_Auth_Demo_Path = '/auth/demo' as const;\nexport const App_Auth_AskResetPassword_Path =\n '/auth/password/ask-reset' as const;\nexport const App_Auth_ResetPassword_Path = '/auth/password/reset' as const;\nexport const App_Auth_ChangePassword_Path = '/auth/password/change' as const;\n\nexport const App_Admin_Path = '/admin' as const;\nexport const App_Admin_Users_Path = '/admin/users' as const;\nexport const App_Admin_Organizations_Path = '/admin/organizations' as const;\nexport const App_Admin_Projects_Path = '/admin/projects' as const;\nexport const App_Admin_Dashboard_Path = '/admin/dashboard' as const;\nexport const App_Admin_Management_Path = '/admin/management' as const;\nexport const App_Admin_Discussions_Path = '/admin/discussions' as const;\nexport const App_Admin_Affiliate_Path = '/admin/affiliate' as const;\nexport const getAppAdminAffiliateRoute = (id: string) =>\n `${App_Admin_Affiliate_Path}/${id}` as const;\nexport const App_Admin_PromoCodes_Path = '/admin/promo-code' as const;\nexport const getAppAdminPromoCodeRoute = (id: string) =>\n `${App_Admin_PromoCodes_Path}/${id}` as const;\n\nexport const App_Admin_Reviewers_Path = '/admin/reviewers' as const;\nexport const getAppAdminReviewerRoute = (id: string) =>\n `${App_Admin_Reviewers_Path}/${id}` as const;\n\nexport const App_Onboarding_Path = '/onboarding' as const;\n\nexport const getAppAdminUserRoute = (id: string) =>\n `${App_Admin_Users_Path}/${id}` as const;\nexport const getAppAdminOrganizationRoute = (id: string) =>\n `${App_Admin_Organizations_Path}/${id}` as const;\nexport const getAppAdminProjectRoute = (id: string) =>\n `${App_Admin_Projects_Path}/${id}` as const;\nexport const getAppOnboardingFlowRoute = (step: string) =>\n `${App_Onboarding_Path}/${step}` as const;\n\n// ============================================================\n// App absolute URLs — https://app.intlayer.org\n// ============================================================\nexport const App_Dashboard = `https://${App_Domain}` as const;\nexport const App_Dashboard_Editor =\n `https://${App_Domain}${App_Dashboard_Editor_Path}` as const;\nexport const App_Dashboard_Translate =\n `https://${App_Domain}${App_Dashboard_Translate_Path}` as const;\nexport const App_Dashboard_Dictionaries =\n `https://${App_Domain}${App_Dashboard_Dictionaries_Path}` as const;\nexport const App_Dashboard_Projects =\n `https://${App_Domain}${App_Dashboard_Projects_Path}` as const;\nexport const App_Dashboard_Tags =\n `https://${App_Domain}${App_Dashboard_Tags_Path}` as const;\nexport const App_Dashboard_Organization =\n `https://${App_Domain}${App_Dashboard_Organization_Path}` as const;\nexport const App_Dashboard_Profile =\n `https://${App_Domain}${App_Dashboard_Profile_Path}` as const;\nexport const App_Dashboard_IDE =\n `https://${App_Domain}${App_Dashboard_IDE_Path}` as const;\nexport const App_Dashboard_Scanner =\n `https://${App_Domain}${App_Dashboard_Scanner_Path}` as const;\nexport const App_Dashboard_Analytics =\n `https://${App_Domain}${App_Dashboard_Analytics_Path}` as const;\n\nexport const App_Pricing = `https://${App_Domain}${App_Pricing_Path}` as const;\nexport const App_Affiliation =\n `https://${App_Domain}${App_Affiliation_Path}` as const;\nexport const App_Demo = `https://${App_Domain}${App_Demo_Path}` as const;\n\nexport const App_ReviewerMarketplace =\n `https://${App_Domain}${App_ReviewerMarketplace_Path}` as const;\nexport const App_ReviewerMarketplace_Dashboard =\n `https://${App_Domain}${App_ReviewerMarketplace_Dashboard_Path}` as const;\n\nexport const App_Auth_SignIn =\n `https://${App_Domain}${App_Auth_SignIn_Path}` as const;\nexport const App_Auth_SignUp =\n `https://${App_Domain}${App_Auth_SignUp_Path}` as const;\nexport const App_Auth_TwoFactor =\n `https://${App_Domain}${App_Auth_TwoFactor_Path}` as const;\nexport const App_Auth_AskResetPassword =\n `https://${App_Domain}${App_Auth_AskResetPassword_Path}` as const;\nexport const App_Auth_ResetPassword =\n `https://${App_Domain}${App_Auth_ResetPassword_Path}` as const;\nexport const App_Auth_ChangePassword =\n `https://${App_Domain}${App_Auth_ChangePassword_Path}` as const;\n\nexport const App_Admin = `https://${App_Domain}${App_Admin_Path}` as const;\nexport const App_Admin_Users =\n `https://${App_Domain}${App_Admin_Users_Path}` as const;\nexport const App_Admin_Organizations =\n `https://${App_Domain}${App_Admin_Organizations_Path}` as const;\nexport const App_Admin_Projects =\n `https://${App_Domain}${App_Admin_Projects_Path}` as const;\nexport const App_Admin_Dashboard =\n `https://${App_Domain}${App_Admin_Dashboard_Path}` as const;\nexport const App_Admin_Management =\n `https://${App_Domain}${App_Admin_Management_Path}` as const;\nexport const App_Admin_Discussions =\n `https://${App_Domain}${App_Admin_Discussions_Path}` as const;\nexport const App_Admin_Affiliate =\n `https://${App_Domain}${App_Admin_Affiliate_Path}` as const;\nexport const App_Admin_PromoCodes =\n `https://${App_Domain}${App_Admin_PromoCodes_Path}` as const;\nexport const App_Admin_Reviewers =\n `https://${App_Domain}${App_Admin_Reviewers_Path}` as const;\n\nexport const App_Onboarding =\n `https://${App_Domain}${App_Onboarding_Path}` as const;\n\nexport const getAppAdminUserAbsoluteRoute = (id: string) =>\n `https://${App_Domain}${App_Admin_Users_Path}/${id}` as const;\nexport const getAppAdminOrganizationAbsoluteRoute = (id: string) =>\n `https://${App_Domain}${App_Admin_Organizations_Path}/${id}` as const;\nexport const getAppAdminProjectAbsoluteRoute = (id: string) =>\n `https://${App_Domain}${App_Admin_Projects_Path}/${id}` as const;\nexport const getAppOnboardingFlowAbsoluteRoute = (\n step: string,\n plan: string,\n period?: string\n) =>\n period\n ? `https://${App_Domain}${App_Onboarding_Path}/${step}/${plan}/${period}`\n : (`https://${App_Domain}${App_Onboarding_Path}/${step}/${plan}` as const);\n\n// ============================================================\n// Website paths — relative (intlayer.org)\n// ============================================================\nexport const Website_Home_Path = '/' as const;\nexport const Website_CMS_Path = '/cms' as const;\nexport const Website_TMS_Path = '/tms' as const;\nexport const Website_Translate_Path = '/translate' as const;\nexport const Website_Markdown_Path = '/markdown' as const;\nexport const Website_Demo_Path = '/demo' as const;\nexport const Website_Playground_Path = '/playground' as const;\nexport const Website_NotFound_Path = '/404' as const;\nexport const Website_Changelog_Path = '/changelog' as const;\nexport const Website_Scanner_Path = '/i18n-seo-scanner' as const;\nexport const Website_MessageConverter_Path = '/i18n-message-converter' as const;\nexport const Website_IntlayerFormatter_Path =\n '/intlayer-message-formatter' as const;\nexport const Website_ICUFormatter_Path = '/icu-message-formatter' as const;\nexport const Website_I18nextFormatter_Path =\n '/i18next-message-formatter' as const;\nexport const Website_VueI18nFormatter_Path =\n '/vue-i18n-message-formatter' as const;\nexport const Website_POFormatter_Path = '/po-file-message-formatter' as const;\n\nexport const Website_Doc_Root_Path = '/doc' as const;\nexport const Website_Doc_Path = '/doc/get-started' as const;\nexport const Website_Doc_Why_Path = '/doc/why' as const;\nexport const Website_Doc_Search_Path = '/doc/search' as const;\nexport const Website_Doc_Chat_Path = '/doc/chat' as const;\nexport const Website_Doc_IntlayerVisualEditor_Path =\n '/doc/concept/editor' as const;\nexport const Website_Doc_IntlayerCMS_Path = '/doc/concept/cms' as const;\nexport const Website_Doc_SelfHosting_Path = '/doc/self-hosting' as const;\nexport const Website_Doc_Markdown_Path =\n '/doc/concept/content/markdown' as const;\nexport const Website_Doc_HTML_Path = '/doc/concept/content/html' as const;\n\nexport const Website_ReleasesV6_Path = '/doc/releases/v6' as const;\nexport const Website_ReleasesV7_Path = '/doc/releases/v7' as const;\nexport const Website_ReleasesV8_Path = '/doc/releases/v8' as const;\nexport const Website_ReleasesV9_Path = '/doc/releases/v9' as const;\nexport const Website_Doc_Environment_NextJS_Path =\n '/doc/environment/nextjs' as const;\nexport const Website_Doc_Environment_NextJS_16_Path =\n '/doc/environment/nextjs' as const;\nexport const Website_Doc_Environment_NextJS_15_Path =\n '/doc/environment/nextjs/15' as const;\nexport const Website_Doc_Environment_NextJS_14_Path =\n '/doc/environment/nextjs/14' as const;\nexport const Website_Doc_Environment_CRA_Path =\n '/doc/environment/create-react-app' as const;\nexport const Website_Doc_Environment_Astro_Path =\n '/doc/environment/astro' as const;\nexport const Website_Doc_Environment_ViteAndReact_Path =\n '/doc/environment/vite-and-react' as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path =\n '/doc/environment/vite-and-react/react-router-v7' as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path =\n '/doc/environment/vite-and-react/react-router-v7-fs-routes' as const;\nexport const Website_Doc_Environment_Tanstack_Path =\n '/doc/environment/tanstack-start' as const;\nexport const Website_Doc_Environment_Lit_Path =\n '/doc/environment/vite-and-lit' as const;\nexport const Website_Doc_Environment_Nodejs_Path = '/doc/concept/cli' as const;\nexport const Website_Doc_Environment_Adonis_Path =\n '/doc/environment/adonisjs' as const;\nexport const Website_Doc_Environment_ViteAndVue_Path =\n '/doc/environment/vite-and-vue' as const;\nexport const Website_Doc_Environment_ViteAndSolid_Path =\n '/doc/environment/vite-and-solid' as const;\nexport const Website_Doc_Environment_ViteAndSvelte_Path =\n '/doc/environment/vite-and-svelte' as const;\nexport const Website_Doc_Environment_ViteAndPreact_Path =\n '/doc/environment/vite-and-preact' as const;\nexport const Website_Doc_Environment_NuxtAndVue_Path =\n '/doc/environment/nuxt-and-vue' as const;\nexport const Website_Doc_Intlayer_with_Lynx_and_React_Path =\n '/doc/environment/lynx-and-react' as const;\nexport const Website_Doc_Environment_Angular_Path =\n '/doc/environment/angular' as const;\nexport const Website_Doc_Environment_ReactNativeAndExpo_Path =\n '/doc/environment/react-native-and-expo' as const;\nexport const Website_Doc_Environment_Lynx_Path =\n '/doc/environment/lynx-and-react' as const;\nexport const Website_Doc_Environment_Express_Path =\n '/doc/environment/express' as const;\nexport const Website_Doc_Environment_NestJS_Path =\n '/doc/environment/nest' as const;\nexport const Website_Doc_Environment_Fastify_Path =\n '/doc/environment/fastify' as const;\nexport const Website_Doc_Environment_Hono_Path =\n '/doc/environment/hono' as const;\nexport const Website_Doc_Environment_Htmx_Path =\n '/doc/environment/htmx' as const;\n\nexport const Website_Doc_CLI_Fill_Path = '/doc/concept/cli/fill' as const;\nexport const Website_Doc_CLI_Translate_Path =\n '/doc/concept/cli/doc-translate' as const;\nexport const Website_Doc_CLI_Review_Path =\n '/doc/concept/cli/doc-review' as const;\n\nexport const Website_Benchmark_Path = '/doc/benchmark' as const;\nexport const Website_Benchmark_NextJS_Path = '/doc/benchmark/nextjs' as const;\nexport const Website_Benchmark_Tanstack_Path =\n '/doc/benchmark/tanstack' as const;\n\nexport const Website_Doc_MCP_Path = '/doc/mcp-server' as const;\n\nexport const Website_Blog_Root_Path = '/blog' as const;\nexport const Website_Blog_Path = '/blog' as const;\nexport const Website_Blog_Search_Path = '/blog' as const;\nexport const Website_Blog_What_is_i18n_Path =\n '/blog/what-is-internationalization' as const;\n\nexport const Website_FrequentQuestions_Path = '/frequent-questions' as const;\nexport const Website_PrivacyPolicy_Path = '/privacy-notice' as const;\nexport const Website_TermsOfService_Path = '/terms-of-service' as const;\nexport const Website_Contributors_Path = '/contributors' as const;\n\n// ============================================================\n// Website absolute URLs — https://intlayer.org\n// ============================================================\nexport const Website_Home =\n `https://${Website_Domain}${Website_Home_Path}` as const;\nexport const Website_CMS =\n `https://${Website_Domain}${Website_CMS_Path}` as const;\nexport const Website_TMS =\n `https://${Website_Domain}${Website_TMS_Path}` as const;\nexport const Website_Translate =\n `https://${Website_Domain}${Website_Translate_Path}` as const;\nexport const Website_Markdown =\n `https://${Website_Domain}${Website_Markdown_Path}` as const;\nexport const Website_Demo =\n `https://${Website_Domain}${Website_Demo_Path}` as const;\nexport const Website_Playground =\n `https://${Website_Domain}${Website_Playground_Path}` as const;\nexport const Website_NotFound =\n `https://${Website_Domain}${Website_NotFound_Path}` as const;\nexport const Website_Changelog =\n `https://${Website_Domain}${Website_Changelog_Path}` as const;\nexport const Website_Scanner =\n `https://${Website_Domain}${Website_Scanner_Path}` as const;\nexport const Website_MessageConverter =\n `https://${Website_Domain}${Website_MessageConverter_Path}` as const;\nexport const Website_IntlayerFormatter =\n `https://${Website_Domain}${Website_IntlayerFormatter_Path}` as const;\nexport const Website_ICUFormatter =\n `https://${Website_Domain}${Website_ICUFormatter_Path}` as const;\nexport const Website_I18nextFormatter =\n `https://${Website_Domain}${Website_I18nextFormatter_Path}` as const;\nexport const Website_VueI18nFormatter =\n `https://${Website_Domain}${Website_VueI18nFormatter_Path}` as const;\nexport const Website_POFormatter =\n `https://${Website_Domain}${Website_POFormatter_Path}` as const;\nexport const Website_Benchmark =\n `https://${Website_Domain}${Website_Benchmark_Path}` as const;\nexport const Website_Benchmark_NextJS =\n `https://${Website_Domain}${Website_Benchmark_NextJS_Path}` as const;\nexport const Website_Benchmark_Tanstack =\n `https://${Website_Domain}${Website_Benchmark_Tanstack_Path}` as const;\n\nexport const Website_Doc_Root =\n `https://${Website_Domain}${Website_Doc_Root_Path}` as const;\nexport const Website_Doc =\n `https://${Website_Domain}${Website_Doc_Path}` as const;\nexport const Website_Doc_Why =\n `https://${Website_Domain}${Website_Doc_Why_Path}` as const;\nexport const Website_Doc_Search =\n `https://${Website_Domain}${Website_Doc_Search_Path}` as const;\nexport const Website_Doc_Chat =\n `https://${Website_Domain}${Website_Doc_Chat_Path}` as const;\nexport const Website_Doc_IntlayerVisualEditor =\n `https://${Website_Domain}${Website_Doc_IntlayerVisualEditor_Path}` as const;\nexport const Website_Doc_IntlayerCMS =\n `https://${Website_Domain}${Website_Doc_IntlayerCMS_Path}` as const;\nexport const Website_Doc_SelfHosting =\n `https://${Website_Domain}${Website_Doc_SelfHosting_Path}` as const;\nexport const Website_Doc_Markdown =\n `https://${Website_Domain}${Website_Doc_Markdown_Path}` as const;\nexport const Website_Doc_HTML =\n `https://${Website_Domain}${Website_Doc_HTML_Path}` as const;\n\nexport const Website_ReleasesV6 =\n `https://${Website_Domain}${Website_ReleasesV6_Path}` as const;\nexport const Website_ReleasesV7 =\n `https://${Website_Domain}${Website_ReleasesV7_Path}` as const;\nexport const Website_ReleasesV8 =\n `https://${Website_Domain}${Website_ReleasesV8_Path}` as const;\nexport const Website_Doc_Environment_NextJS =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_Path}` as const;\nexport const Website_Doc_Environment_NextJS_16 =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_16_Path}` as const;\nexport const Website_Doc_Environment_NextJS_15 =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_15_Path}` as const;\nexport const Website_Doc_Environment_NextJS_14 =\n `https://${Website_Domain}${Website_Doc_Environment_NextJS_14_Path}` as const;\nexport const Website_Doc_Environment_CRA =\n `https://${Website_Domain}${Website_Doc_Environment_CRA_Path}` as const;\nexport const Website_Doc_Environment_Astro =\n `https://${Website_Domain}${Website_Doc_Environment_Astro_Path}` as const;\nexport const Website_Doc_Environment_ViteAndReact =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndReact_Path}` as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7 =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path}` as const;\nexport const Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path}` as const;\nexport const Website_Doc_Environment_Tanstack =\n `https://${Website_Domain}${Website_Doc_Environment_Tanstack_Path}` as const;\nexport const Website_Doc_Environment_Lit =\n `https://${Website_Domain}${Website_Doc_Environment_Lit_Path}` as const;\nexport const Website_Doc_Environment_Nodejs =\n `https://${Website_Domain}${Website_Doc_Environment_Nodejs_Path}` as const;\nexport const Website_Doc_Environment_Adonis =\n `https://${Website_Domain}${Website_Doc_Environment_Adonis_Path}` as const;\nexport const Website_Doc_Environment_ViteAndVue =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndVue_Path}` as const;\nexport const Website_Doc_Environment_ViteAndSolid =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndSolid_Path}` as const;\nexport const Website_Doc_Environment_ViteAndSvelte =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndSvelte_Path}` as const;\nexport const Website_Doc_Environment_ViteAndPreact =\n `https://${Website_Domain}${Website_Doc_Environment_ViteAndPreact_Path}` as const;\nexport const Website_Doc_Environment_NuxtAndVue =\n `https://${Website_Domain}${Website_Doc_Environment_NuxtAndVue_Path}` as const;\nexport const Website_Doc_Intlayer_with_Lynx_and_React =\n `https://${Website_Domain}${Website_Doc_Intlayer_with_Lynx_and_React_Path}` as const;\nexport const Website_Doc_Environment_Angular =\n `https://${Website_Domain}${Website_Doc_Environment_Angular_Path}` as const;\nexport const Website_Doc_Environment_ReactNativeAndExpo =\n `https://${Website_Domain}${Website_Doc_Environment_ReactNativeAndExpo_Path}` as const;\nexport const Website_Doc_Environment_Lynx =\n `https://${Website_Domain}${Website_Doc_Environment_Lynx_Path}` as const;\nexport const Website_Doc_Environment_Express =\n `https://${Website_Domain}${Website_Doc_Environment_Express_Path}` as const;\nexport const Website_Doc_Environment_NestJS =\n `https://${Website_Domain}${Website_Doc_Environment_NestJS_Path}` as const;\nexport const Website_Doc_Environment_Fastify =\n `https://${Website_Domain}${Website_Doc_Environment_Fastify_Path}` as const;\nexport const Website_Doc_Environment_Hono =\n `https://${Website_Domain}${Website_Doc_Environment_Hono_Path}` as const;\nexport const Website_Doc_Environment_Htmx =\n `https://${Website_Domain}${Website_Doc_Environment_Htmx_Path}` as const;\n\nexport const Website_Doc_CLI_Fill =\n `https://${Website_Domain}${Website_Doc_CLI_Fill_Path}` as const;\nexport const Website_Doc_CLI_Translate =\n `https://${Website_Domain}${Website_Doc_CLI_Translate_Path}` as const;\nexport const Website_Doc_CLI_Review =\n `https://${Website_Domain}${Website_Doc_CLI_Review_Path}` as const;\n\nexport const Website_Doc_MCP =\n `https://${Website_Domain}${Website_Doc_MCP_Path}` as const;\n\nexport const Website_Blog_Root =\n `https://${Website_Domain}${Website_Blog_Root_Path}` as const;\nexport const Website_Blog =\n `https://${Website_Domain}${Website_Blog_Path}` as const;\nexport const Website_Blog_Search =\n `https://${Website_Domain}${Website_Blog_Search_Path}` as const;\nexport const Website_Blog_What_is_i18n =\n `https://${Website_Domain}${Website_Blog_What_is_i18n_Path}` as const;\n\nexport const Website_FrequentQuestions =\n `https://${Website_Domain}${Website_FrequentQuestions_Path}` as const;\nexport const Website_PrivacyPolicy =\n `https://${Website_Domain}${Website_PrivacyPolicy_Path}` as const;\nexport const Website_TermsOfService =\n `https://${Website_Domain}${Website_TermsOfService_Path}` as const;\nexport const Website_Contributors =\n `https://${Website_Domain}${Website_Contributors_Path}` as const;\n\n// ============================================================\n// Doc app paths — relative (served under intlayer.org/doc/*)\n// ============================================================\nexport const Doc_Root_Path = '/doc' as const;\nexport const Doc_Path = '/get-started' as const;\nexport const Doc_Why_Path = '/why' as const;\nexport const Doc_Search_Path = '/search' as const;\nexport const Doc_Chat_Path = '/chat' as const;\nexport const Doc_IntlayerVisualEditor_Path = '/concept/editor' as const;\nexport const Doc_IntlayerCMS_Path = '/concept/cms' as const;\n\nexport const Doc_ReleasesV6_Path = '/releases/v6' as const;\nexport const Doc_ReleasesV7_Path = '/releases/v7' as const;\nexport const Doc_ReleasesV8_Path = '/releases/v8' as const;\nexport const Doc_Environment_NextJS_Path = '/environment/nextjs' as const;\nexport const Doc_Environment_NextJS_16_Path = '/environment/nextjs' as const;\nexport const Doc_Environment_NextJS_15_Path = '/environment/nextjs/15' as const;\nexport const Doc_Environment_NextJS_14_Path = '/environment/nextjs/14' as const;\nexport const Doc_Environment_CRA_Path =\n '/environment/create-react-app' as const;\nexport const Doc_Environment_Astro_Path = '/environment/astro' as const;\nexport const Doc_Environment_ViteAndReact_Path =\n '/environment/vite-and-react' as const;\nexport const Doc_Environment_ViteAndReact_ReactRouterV7_Path =\n '/environment/vite-and-react/react-router-v7' as const;\nexport const Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path =\n '/environment/vite-and-react/react-router-v7-fs-routes' as const;\nexport const Doc_Environment_Tanstack_Path =\n '/environment/tanstack-start' as const;\nexport const Doc_Environment_Lit_Path = '/environment/vite-and-lit' as const;\nexport const Doc_Environment_Nodejs_Path = '/concept/cli' as const;\nexport const Doc_Environment_Adonis_Path = '/environment/adonisjs' as const;\nexport const Doc_Environment_ViteAndVue_Path =\n '/environment/vite-and-vue' as const;\nexport const Doc_Environment_ViteAndSolid_Path =\n '/environment/vite-and-solid' as const;\nexport const Doc_Environment_ViteAndSvelte_Path =\n '/environment/vite-and-svelte' as const;\nexport const Doc_Environment_ViteAndPreact_Path =\n '/environment/vite-and-preact' as const;\nexport const Doc_Environment_NuxtAndVue_Path =\n '/environment/nuxt-and-vue' as const;\nexport const Doc_Intlayer_with_Lynx_and_React_Path =\n '/environment/lynx-and-react' as const;\nexport const Doc_Environment_Angular_Path = '/environment/angular' as const;\nexport const Doc_Environment_ReactNativeAndExpo_Path =\n '/environment/react-native-and-expo' as const;\nexport const Doc_Environment_Lynx_Path = '/environment/lynx-and-react' as const;\nexport const Doc_Environment_Express_Path = '/environment/express' as const;\nexport const Doc_Environment_NestJS_Path = '/environment/nest' as const;\nexport const Doc_Environment_Fastify_Path = '/environment/fastify' as const;\nexport const Doc_Environment_Hono_Path = '/environment/hono' as const;\n\nexport const Doc_CLI_Fill_Path = '/concept/cli/fill' as const;\nexport const Doc_CLI_Translate_Path = '/concept/cli/doc-translate' as const;\nexport const Doc_CLI_Review_Path = '/concept/cli/doc-review' as const;\n\nexport const Doc_MCP_Path = '/mcp-server' as const;\n\nexport const Doc_Blog_Root_Path = '/blog' as const;\nexport const Doc_Blog_Path = '/blog' as const;\nexport const Doc_Blog_Search_Path = '/blog' as const;\nexport const Doc_Blog_What_is_i18n_Path =\n '/blog/what-is-internationalization' as const;\n\nexport const Doc_FrequentQuestions_Path = '/frequent-questions' as const;\nexport const Doc_PrivacyPolicy_Path = '/privacy-notice' as const;\nexport const Doc_TermsOfService_Path = '/terms-of-service' as const;\nexport const Doc_Contributors_Path = '/contributors' as const;\nexport const Doc_Showcase_Path = '/' as const;\nexport const Doc_ShowcaseSubmit_Path = '/submit' as const;\n\n// ============================================================\n// Showcase paths — relative (showcase.intlayer.org)\n// ============================================================\nexport const Showcase_Root_Path = '/' as const;\nexport const Showcase_Submit_Path = '/submit' as const;\n\n// ============================================================\n// Showcase absolute URLs — https://showcase.intlayer.org\n// ============================================================\nexport const Showcase_Root = `https://${Showcase_Domain}` as const;\nexport const Showcase_Submit =\n `https://${Showcase_Domain}${Showcase_Submit_Path}` as const;\n\n// ============================================================\n// Backend absolute URLs — https://back.intlayer.org\n// ============================================================\nexport const Backend_Root = `https://${Backend_Domain}` as const;\nexport const Backend_Health = `https://${Backend_Domain}/health` as const;\nexport const Backend_OAuth2_Token =\n `https://${Backend_Domain}/oauth2/token` as const;\n\n// ============================================================\n// MCP absolute URLs — https://mcp.intlayer.org\n// ============================================================\nexport const Mcp_Root = `https://${Mcp_Domain}` as const;\nexport const Mcp_Sse = `https://${Mcp_Domain}/sse` as const;\n\n// ============================================================\n// Agent discovery paths — relative\n//\n// Well-known documents that let AI agents discover the site's APIs,\n// skills and authentication without scraping HTML.\n// ============================================================\nexport const WellKnown_ApiCatalog_Path = '/.well-known/api-catalog' as const;\nexport const WellKnown_AiCatalog_Path = '/.well-known/ai-catalog.json' as const;\nexport const WellKnown_OAuthProtectedResource_Path =\n '/.well-known/oauth-protected-resource' as const;\nexport const WellKnown_OAuthAuthorizationServer_Path =\n '/.well-known/oauth-authorization-server' as const;\nexport const WellKnown_McpServerCard_Path =\n '/.well-known/mcp/server-card.json' as const;\nexport const WellKnown_AgentSkills_Path = '/.well-known/agent-skills' as const;\nexport const WellKnown_AgentSkillsIndex_Path =\n `${WellKnown_AgentSkills_Path}/index.json` as const;\nexport const AuthMd_Path = '/auth.md' as const;\nexport const LlmsTxt_Path = '/llms.txt' as const;\n\n// ============================================================\n// External links\n// ============================================================\nexport const External_Github =\n 'https://github.com/aymericzip/intlayer' as const;\n\nexport const External_DockerHub_SelfHost =\n 'https://hub.docker.com/r/aymericzip/intlayer-selfhost' as const;\n\nexport const External_Github_i18n_benchmark =\n 'https://github.com/intlayer-org/benchmark-i18n' as const;\n\nexport const External_Discord = 'https://discord.gg/7uxamYVeCk' as const;\nexport const External_LinkedIn =\n 'https://www.linkedin.com/company/intlayerorg/' as const;\nexport const External_AI_Landing_Page = 'https://ai.intlayer.org' as const;\nexport const External_ShowcaseApp = `https://${Showcase_Domain}` as const;\nexport const External_Examples =\n 'https://github.com/aymericzip/intlayer/tree/main/examples' as const;\nexport const External_ExampleIntlayerWithNextjs =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/nextjs-15-app' as const;\nexport const External_ExampleIntlayerWithReactJS =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/react-app' as const;\nexport const External_ExampleIntlayerWithViteAndReact =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-react-app' as const;\nexport const External_ExampleIntlayerWithViteAndVue =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-vue-app' as const;\nexport const External_ExampleIntlayerWithViteAndSvelte =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-svelte-app' as const;\nexport const External_ExampleIntlayerWithViteAndSolid =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-solid-app' as const;\nexport const External_ExampleIntlayerWithViteAndPreact =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/vite-preact-app' as const;\nexport const External_ExampleIntlayerWithReactNative =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/react-native-app' as const;\nexport const External_ExampleIntlayerWithExpress =\n 'https://github.com/aymericzip/intlayer/tree/main/examples/express-app' as const;\n"],"mappings":";AAGA,MAAa,aAAe,YAAoB,IAAI,gBAClD;AACF,MAAa,iBAAmB,YAAoB,IAAI,oBACtD;AACF,MAAa,kBAAkB;AAC/B,MAAa,iBAAmB,YAAoB,IAAI,oBACtD;AACF,MAAa,aAAa;AAK1B,MAAa,gBAAgB;AAC7B,MAAa,oBAAoB;AAEjC,MAAa,4BA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ACxD,MAAa,uBACX,WAAW,eAAe;AAK5B,MAAa,WAAW,WAAW;AACnC,MAAa,UAAU,WAAW,WAAW;AAQ7C,MAAa,4BAA4B;AACzC,MAAa,2BAA2B;AACxC,MAAa,wCACX;AACF,MAAa,0CACX;AACF,MAAa,+BACX;AACF,MAAa,6BAA6B;AAC1C,MAAa,kCACX,GAAG,2BAA2B;AAChC,MAAa,cAAc;AAC3B,MAAa,eAAe;AAK5B,MAAa,kBACX;AAEF,MAAa,8BACX;AAEF,MAAa,iCACX;AAEF,MAAa,mBAAmB;AAChC,MAAa,oBACX;AACF,MAAa,2BAA2B;AACxC,MAAa,uBAAuB,WAAW;AAC/C,MAAa,oBACX;AACF,MAAa,qCACX;AACF,MAAa,sCACX;AACF,MAAa,2CACX;AACF,MAAa,yCACX;AACF,MAAa,4CACX;AACF,MAAa,2CACX;AACF,MAAa,4CACX;AACF,MAAa,0CACX;AACF,MAAa,sCACX"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { BundledLanguage } from "./shikiBundle.js";
|
|
1
2
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
import { BundledLanguage } from "shiki/bundle/web";
|
|
3
3
|
//#region src/components/IDE/CodeBlockServer.d.ts
|
|
4
4
|
declare const CodeBlockShiki: FC<CodeBlockProps>;
|
|
5
5
|
type CodeBlockProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlockServer.d.ts","names":[],"sources":["../../../../src/components/IDE/CodeBlockServer.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CodeBlockServer.d.ts","names":[],"sources":["../../../../src/components/IDE/CodeBlockServer.tsx"],"mappings":";;;cAaa,gBA8BI,GAAG;KAuBR;EACV;EACA,MAAM;EACN;EACA,YAAY;IACV,KAAK,eAAe;cAEX,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlockShiki.d.ts","names":[],"sources":["../../../../src/components/IDE/CodeBlockShiki.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CodeBlockShiki.d.ts","names":[],"sources":["../../../../src/components/IDE/CodeBlockShiki.tsx"],"mappings":";;;KA4BY;EACV,UAAU;EACV,MAAM;;cAGK,gBAAgB,GAAG"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { GrammarLoader } from "./shikiLanguages.js";
|
|
2
|
+
//#region src/components/IDE/shikiBundle.d.ts
|
|
3
|
+
/** Theme registrations, as default-exported by the `shiki/themes/*` modules. */
|
|
4
|
+
type ThemeRegistration = typeof import('shiki/themes/github-dark.mjs')['default'];
|
|
5
|
+
/** Loads a single Shiki theme. */
|
|
6
|
+
type ThemeLoader = () => Promise<{
|
|
7
|
+
default: ThemeRegistration;
|
|
8
|
+
}>;
|
|
9
|
+
/** Every language id this bundle can highlight, aliases included. */
|
|
10
|
+
declare const bundledLanguages: {
|
|
11
|
+
astro: () => Promise<typeof import("shiki/dist/langs/astro.mjs")>;
|
|
12
|
+
bash: () => Promise<typeof import("shiki/dist/langs/bash.mjs")>;
|
|
13
|
+
css: () => Promise<typeof import("shiki/dist/langs/css.mjs")>;
|
|
14
|
+
html: () => Promise<typeof import("shiki/dist/langs/html.mjs")>;
|
|
15
|
+
javascript: () => Promise<typeof import("shiki/dist/langs/javascript.mjs")>;
|
|
16
|
+
json: () => Promise<typeof import("shiki/dist/langs/json.mjs")>;
|
|
17
|
+
json5: () => Promise<typeof import("shiki/dist/langs/json5.mjs")>;
|
|
18
|
+
markdown: () => Promise<typeof import("shiki/dist/langs/markdown.mjs")>;
|
|
19
|
+
svelte: () => Promise<typeof import("shiki/dist/langs/svelte.mjs")>;
|
|
20
|
+
tsx: () => Promise<typeof import("shiki/dist/langs/tsx.mjs")>;
|
|
21
|
+
typescript: () => Promise<typeof import("shiki/dist/langs/typescript.mjs")>;
|
|
22
|
+
vue: () => Promise<typeof import("shiki/dist/langs/vue.mjs")>;
|
|
23
|
+
xml: () => Promise<typeof import("shiki/dist/langs/xml.mjs")>;
|
|
24
|
+
yaml: () => Promise<typeof import("shiki/dist/langs/yaml.mjs")>;
|
|
25
|
+
cjs: GrammarLoader;
|
|
26
|
+
console: GrammarLoader;
|
|
27
|
+
cts: GrammarLoader;
|
|
28
|
+
dockerfile: GrammarLoader;
|
|
29
|
+
gql: GrammarLoader;
|
|
30
|
+
htm: GrammarLoader;
|
|
31
|
+
js: GrammarLoader;
|
|
32
|
+
jsonc: GrammarLoader;
|
|
33
|
+
jsx: GrammarLoader;
|
|
34
|
+
md: GrammarLoader;
|
|
35
|
+
mdx: GrammarLoader;
|
|
36
|
+
mjs: GrammarLoader;
|
|
37
|
+
mts: GrammarLoader;
|
|
38
|
+
postcss: GrammarLoader;
|
|
39
|
+
sh: GrammarLoader;
|
|
40
|
+
shell: GrammarLoader;
|
|
41
|
+
shellscript: GrammarLoader;
|
|
42
|
+
ts: GrammarLoader;
|
|
43
|
+
yml: GrammarLoader;
|
|
44
|
+
zsh: GrammarLoader;
|
|
45
|
+
};
|
|
46
|
+
/** The two themes every code block is highlighted with. */
|
|
47
|
+
declare const bundledThemes: {
|
|
48
|
+
'github-light': () => Promise<typeof import("shiki/themes/github-light.mjs")>;
|
|
49
|
+
'github-dark': () => Promise<typeof import("shiki/themes/github-dark.mjs")>;
|
|
50
|
+
};
|
|
51
|
+
/** Language ids accepted by this bundle's highlighter. */
|
|
52
|
+
type BundledLanguage = keyof typeof bundledLanguages;
|
|
53
|
+
/** Theme ids accepted by this bundle's highlighter. */
|
|
54
|
+
type BundledTheme = keyof typeof bundledThemes;
|
|
55
|
+
/**
|
|
56
|
+
* Creates a highlighter that resolves language and theme ids against this
|
|
57
|
+
* bundle, loading each one the first time it is asked for.
|
|
58
|
+
*
|
|
59
|
+
* Ids still have to be the ones a grammar answers to — pass every fence name
|
|
60
|
+
* through {@link resolveCodeLanguage} first, exactly as with `shiki`'s own
|
|
61
|
+
* bundles.
|
|
62
|
+
*/
|
|
63
|
+
declare const createHighlighter: CreateHighlighterFactory<BundledLangs, BundledThemes>;
|
|
64
|
+
/** Highlighter instance produced by {@link createHighlighter}. */
|
|
65
|
+
type Highlighter = Awaited<ReturnType<typeof createHighlighter>>;
|
|
66
|
+
/**
|
|
67
|
+
* Shorthands backed by a lazily created singleton highlighter — the same
|
|
68
|
+
* `codeToHtml` / `codeToHast` / … functions `shiki` exports, restricted to this
|
|
69
|
+
* bundle.
|
|
70
|
+
*/
|
|
71
|
+
declare const codeToHast: (code: string, options: CodeToHastOptions<L, T>) => Promise<Root>, codeToHtml: (code: string, options: CodeToHastOptions<L, T>) => Promise<string>, codeToTokens: (code: string, options: CodeToTokensOptions<L, T>) => Promise<TokensResult>, codeToTokensBase: (code: string, options: RequireKeys<CodeToTokensBaseOptions<L, T>, "lang" | "theme">) => Promise<ThemedToken[][]>, codeToTokensWithThemes: (code: string, options: RequireKeys<CodeToTokensWithThemesOptions<L, T>, "lang" | "themes">) => Promise<ThemedTokenWithVariants[][]>, getLastGrammarState: ((element: ThemedToken[][] | Root) => GrammarState) | ((code: string, options: CodeToTokensBaseOptions<L, T>) => Promise<GrammarState>), getSingletonHighlighter: (options?: Partial<BundledHighlighterOptions<L, T>>) => Promise<HighlighterGeneric<L, T>>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { BundledLanguage, BundledTheme, Highlighter, ThemeLoader, ThemeRegistration, bundledLanguages, bundledThemes, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getLastGrammarState, getSingletonHighlighter };
|
|
74
|
+
//# sourceMappingURL=shikiBundle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shikiBundle.d.ts","names":[],"sources":["../../../../src/components/IDE/shikiBundle.ts"],"mappings":";;;KAkCY;;KAIA,oBAAoB;EAAU,SAAS;;;cAetC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMA;wBAAA;uBAAA;;;KAMD,+BAA+B;;KAG/B,4BAA4B;;;;;;;;;cAU3B,mBAAiB,yBAAA,cAAA;;KAUlB,cAAc,QAAQ,kBAAkB;;;;;;cAQlD,aAAU,cAAA,SAAA,kBAAA,GAAA,OAAA,QAAA,OACV,aAAU,cAAA,SAAA,kBAAA,GAAA,OAAA,iBACV,eAAY,cAAA,SAAA,oBAAA,GAAA,OAAA,QAAA,eACZ,mBAAgB,cAAA,SAAA,YAAA,wBAAA,GAAA,0BAAA,QAAA,kBAChB,yBAAsB,cAAA,SAAA,YAAA,8BAAA,GAAA,2BAAA,QAAA,8BACtB,uBAAmB,SAAA,kBAAA,SAAA,kBAAA,cAAA,SAAA,wBAAA,GAAA,OAAA,QAAA,gBACnB,0BAAuB,UAAA,QAAA,0BAAA,GAAA,QAAA,QAAA,mBAAA,GAAA"}
|
|
@@ -17,43 +17,16 @@ type GrammarLoader = () => Promise<{
|
|
|
17
17
|
* grammar instead of bundling every language up front.
|
|
18
18
|
*/
|
|
19
19
|
declare const grammarLoaders: {
|
|
20
|
-
'angular-html': () => Promise<typeof import("shiki/langs/angular-html.mjs")>;
|
|
21
|
-
'angular-ts': () => Promise<typeof import("shiki/langs/angular-ts.mjs")>;
|
|
22
20
|
astro: () => Promise<typeof import("shiki/langs/astro.mjs")>;
|
|
23
21
|
bash: () => Promise<typeof import("shiki/langs/bash.mjs")>;
|
|
24
|
-
c: () => Promise<typeof import("shiki/langs/c.mjs")>;
|
|
25
|
-
cpp: () => Promise<typeof import("shiki/langs/cpp.mjs")>;
|
|
26
|
-
csharp: () => Promise<typeof import("shiki/langs/csharp.mjs")>;
|
|
27
22
|
css: () => Promise<typeof import("shiki/langs/css.mjs")>;
|
|
28
|
-
csv: () => Promise<typeof import("shiki/langs/csv.mjs")>;
|
|
29
|
-
dart: () => Promise<typeof import("shiki/langs/dart.mjs")>;
|
|
30
|
-
diff: () => Promise<typeof import("shiki/langs/diff.mjs")>;
|
|
31
|
-
docker: () => Promise<typeof import("shiki/langs/docker.mjs")>;
|
|
32
|
-
go: () => Promise<typeof import("shiki/langs/go.mjs")>;
|
|
33
|
-
graphql: () => Promise<typeof import("shiki/langs/graphql.mjs")>;
|
|
34
23
|
html: () => Promise<typeof import("shiki/langs/html.mjs")>;
|
|
35
|
-
http: () => Promise<typeof import("shiki/langs/http.mjs")>;
|
|
36
|
-
ini: () => Promise<typeof import("shiki/langs/ini.mjs")>;
|
|
37
|
-
java: () => Promise<typeof import("shiki/langs/java.mjs")>;
|
|
38
24
|
javascript: () => Promise<typeof import("shiki/langs/javascript.mjs")>;
|
|
39
25
|
json: () => Promise<typeof import("shiki/langs/json.mjs")>;
|
|
40
26
|
json5: () => Promise<typeof import("shiki/langs/json5.mjs")>;
|
|
41
|
-
|
|
42
|
-
less: () => Promise<typeof import("shiki/langs/less.mjs")>;
|
|
43
|
-
lua: () => Promise<typeof import("shiki/langs/lua.mjs")>;
|
|
27
|
+
jsonc: () => Promise<typeof import("shiki/langs/jsonc.mjs")>;
|
|
44
28
|
markdown: () => Promise<typeof import("shiki/langs/markdown.mjs")>;
|
|
45
|
-
nginx: () => Promise<typeof import("shiki/langs/nginx.mjs")>;
|
|
46
|
-
php: () => Promise<typeof import("shiki/langs/php.mjs")>;
|
|
47
|
-
powershell: () => Promise<typeof import("shiki/langs/powershell.mjs")>;
|
|
48
|
-
prisma: () => Promise<typeof import("shiki/langs/prisma.mjs")>;
|
|
49
|
-
python: () => Promise<typeof import("shiki/langs/python.mjs")>;
|
|
50
|
-
ruby: () => Promise<typeof import("shiki/langs/ruby.mjs")>;
|
|
51
|
-
rust: () => Promise<typeof import("shiki/langs/rust.mjs")>;
|
|
52
|
-
scss: () => Promise<typeof import("shiki/langs/scss.mjs")>;
|
|
53
|
-
sql: () => Promise<typeof import("shiki/langs/sql.mjs")>;
|
|
54
29
|
svelte: () => Promise<typeof import("shiki/langs/svelte.mjs")>;
|
|
55
|
-
swift: () => Promise<typeof import("shiki/langs/swift.mjs")>;
|
|
56
|
-
toml: () => Promise<typeof import("shiki/langs/toml.mjs")>;
|
|
57
30
|
tsx: () => Promise<typeof import("shiki/langs/tsx.mjs")>;
|
|
58
31
|
typescript: () => Promise<typeof import("shiki/langs/typescript.mjs")>;
|
|
59
32
|
vue: () => Promise<typeof import("shiki/langs/vue.mjs")>;
|
|
@@ -69,30 +42,20 @@ declare const shikiLanguageIds: ShikiLanguageId[];
|
|
|
69
42
|
* canonical id that actually owns the grammar.
|
|
70
43
|
*/
|
|
71
44
|
declare const grammarAliases: {
|
|
72
|
-
'c#': "csharp";
|
|
73
|
-
'c++': "cpp";
|
|
74
45
|
cjs: "javascript";
|
|
75
46
|
console: "bash";
|
|
76
|
-
cs: "csharp";
|
|
77
47
|
cts: "typescript";
|
|
78
48
|
dockerfile: "docker";
|
|
79
|
-
golang: "go";
|
|
80
49
|
gql: "graphql";
|
|
81
50
|
htm: "html";
|
|
82
51
|
js: "javascript";
|
|
83
52
|
jsonc: "json5";
|
|
84
53
|
jsx: "tsx";
|
|
85
|
-
kt: "kotlin";
|
|
86
54
|
md: "markdown";
|
|
87
55
|
mdx: "markdown";
|
|
88
56
|
mjs: "javascript";
|
|
89
57
|
mts: "typescript";
|
|
90
58
|
postcss: "css";
|
|
91
|
-
ps1: "powershell";
|
|
92
|
-
pwsh: "powershell";
|
|
93
|
-
py: "python";
|
|
94
|
-
rb: "ruby";
|
|
95
|
-
rs: "rust";
|
|
96
59
|
sh: "bash";
|
|
97
60
|
shell: "bash";
|
|
98
61
|
shellscript: "bash";
|
|
@@ -134,5 +97,5 @@ type ResolvedCodeLanguage = {
|
|
|
134
97
|
*/
|
|
135
98
|
declare const resolveCodeLanguage: (language: CodeLanguage | string | undefined | null) => ResolvedCodeLanguage;
|
|
136
99
|
//#endregion
|
|
137
|
-
export { CodeLanguage, GrammarLoader, LanguageGrammar, PlainTextLanguage, ResolvedCodeLanguage, ShikiLanguageAlias, ShikiLanguageId, resolveCodeLanguage, shikiLanguageIds };
|
|
100
|
+
export { CodeLanguage, GrammarLoader, LanguageGrammar, PlainTextLanguage, ResolvedCodeLanguage, ShikiLanguageAlias, ShikiLanguageId, grammarAliases, grammarLoaders, resolveCodeLanguage, shikiLanguageIds };
|
|
138
101
|
//# sourceMappingURL=shikiLanguages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shikiLanguages.d.ts","names":[],"sources":["../../../../src/components/IDE/shikiLanguages.ts"],"mappings":";;;;KAGY;;;;KAMA,sBAAsB;EAAU,SAAS;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"shikiLanguages.d.ts","names":[],"sources":["../../../../src/components/IDE/shikiLanguages.ts"],"mappings":";;;;KAGY;;;;KAMA,sBAAsB;EAAU,SAAS;;;;;;;;;cASxC;;;;;;;;;;;;;;;;;;KA8CD,+BAA+B;;cAG9B,kBAER;;;;;cAMQ;;;;;;;;;;;;;;;;;;;;;;;KAwBD,kCAAkC;;;;;KAMlC;;KAKA,eACR,kBACA,qBACA;;;;KAKQ;;EAEV,IAAI,kBAAkB;;EAEtB,aAAa;;;;;;;;;;;;;;;;cAiBF,sBAAmB,UACpB,6CACT"}
|
|
@@ -13,6 +13,8 @@ declare const SHIKI_THEMES: {
|
|
|
13
13
|
readonly dark: 'github-dark';
|
|
14
14
|
};
|
|
15
15
|
type ShikiThemes = typeof SHIKI_THEMES;
|
|
16
|
+
/** Every theme id the fine-grained Shiki bundle can resolve. */
|
|
17
|
+
type ShikiThemeId = ShikiThemes[keyof ShikiThemes];
|
|
16
18
|
//#endregion
|
|
17
|
-
export { SHIKI_THEMES, ShikiThemes };
|
|
19
|
+
export { SHIKI_THEMES, ShikiThemeId, ShikiThemes };
|
|
18
20
|
//# sourceMappingURL=shikiThemes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shikiThemes.d.ts","names":[],"sources":["../../../../src/components/IDE/shikiThemes.ts"],"mappings":";;;;;;;;;;cASa;WACX;WACA;;KAGU,qBAAqB"}
|
|
1
|
+
{"version":3,"file":"shikiThemes.d.ts","names":[],"sources":["../../../../src/components/IDE/shikiThemes.ts"],"mappings":";;;;;;;;;;cASa;WACX;WACA;;KAGU,qBAAqB;;KAGrB,eAAe,kBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkDownIframe.d.ts","names":[],"sources":["../../../../src/components/MarkDownRender/MarkDownIframe.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"MarkDownIframe.d.ts","names":[],"sources":["../../../../src/components/MarkDownRender/MarkDownIframe.tsx"],"mappings":";;cA+La,gBAAgB,GAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BundledLanguage, BundledTheme } from "../../../IDE/shikiBundle.js";
|
|
2
|
+
import { CodeBlockOptions } from "@tiptap/extension-code-block";
|
|
3
|
+
//#region src/components/MarkdownEditor/novel/extensions/code-block-shiki.d.ts
|
|
4
|
+
interface CodeBlockShikiOptions extends CodeBlockOptions {
|
|
5
|
+
defaultLanguage: BundledLanguage | null;
|
|
6
|
+
defaultTheme: BundledTheme | string;
|
|
7
|
+
themes?: {
|
|
8
|
+
light: BundledTheme;
|
|
9
|
+
dark: BundledTheme;
|
|
10
|
+
} | null;
|
|
11
|
+
}
|
|
12
|
+
declare const CodeBlockShiki: import("@tiptap/core").Node<CodeBlockShikiOptions, any>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { CodeBlockShiki, CodeBlockShikiOptions };
|
|
15
|
+
//# sourceMappingURL=code-block-shiki.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block-shiki.d.ts","names":[],"sources":["../../../../../../src/components/MarkdownEditor/novel/extensions/code-block-shiki.ts"],"mappings":";;;UAciB,8BAA8B;EAC7C,iBAAiB;EACjB,cAAc;EACd;IACE,OAAO;IACP,MAAM;;;cAmTG,uCAAc,KAAA"}
|
|
@@ -2,6 +2,7 @@ import CustomKeymap from "./custom-keymap.js";
|
|
|
2
2
|
import { ImageResizer } from "./image-resizer.js";
|
|
3
3
|
import UpdatedImage from "./updated-image.js";
|
|
4
4
|
import { AIHighlight, AIHighlightOptions, addAIHighlight, inputRegex, pasteRegex, removeAIHighlight } from "./ai-highlight.js";
|
|
5
|
+
import { CodeBlockShiki, CodeBlockShikiOptions } from "./code-block-shiki.js";
|
|
5
6
|
import { Command, SuggestionItem, createSuggestionItems, handleCommandNavigation, renderItems } from "./slash-command.js";
|
|
6
7
|
import { InputRule } from "@tiptap/core";
|
|
7
8
|
import CharacterCount from "@tiptap/extension-character-count";
|
|
@@ -21,5 +22,5 @@ declare const HighlightExtension: import("@tiptap/core").Mark<import("@tiptap/ex
|
|
|
21
22
|
declare const MarkdownExtension: import("@tiptap/core").Extension<import("tiptap-markdown").MarkdownOptions, import("tiptap-markdown").MarkdownStorage>;
|
|
22
23
|
declare const Horizontal: import("@tiptap/core").Node<import("@tiptap/extension-horizontal-rule").HorizontalRuleOptions, any>;
|
|
23
24
|
//#endregion
|
|
24
|
-
export { AIHighlight, AIHighlightOptions, CharacterCount, Color, Command, CustomKeymap, GlobalDragHandle, HighlightExtension, Horizontal as HorizontalRule, ImageResizer, InputRule, MarkdownExtension, PlaceholderExtension as Placeholder, StarterKit, SuggestionItem, TaskItem, TaskList, TextStyle, TiptapImage, TiptapLink, TiptapUnderline, UpdatedImage, Youtube, addAIHighlight, createSuggestionItems, handleCommandNavigation, inputRegex, pasteRegex, removeAIHighlight, renderItems };
|
|
25
|
+
export { AIHighlight, AIHighlightOptions, CharacterCount, CodeBlockShiki, CodeBlockShikiOptions, Color, Command, CustomKeymap, GlobalDragHandle, HighlightExtension, Horizontal as HorizontalRule, ImageResizer, InputRule, MarkdownExtension, PlaceholderExtension as Placeholder, StarterKit, SuggestionItem, TaskItem, TaskList, TextStyle, TiptapImage, TiptapLink, TiptapUnderline, UpdatedImage, Youtube, addAIHighlight, createSuggestionItems, handleCommandNavigation, inputRegex, pasteRegex, removeAIHighlight, renderItems };
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../../src/components/MarkdownEditor/novel/extensions/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../../src/components/MarkdownEditor/novel/extensions/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAoBM;cAUA,2CAAkB,2CAAA;cAIlB,0CAAiB,oCAAA,2CAAA;cAKjB,mCAAU,iDAAA"}
|
|
@@ -8,10 +8,11 @@ import CustomKeymap from "./extensions/custom-keymap.js";
|
|
|
8
8
|
import { ImageResizer } from "./extensions/image-resizer.js";
|
|
9
9
|
import UpdatedImage from "./extensions/updated-image.js";
|
|
10
10
|
import { AIHighlight, addAIHighlight, removeAIHighlight } from "./extensions/ai-highlight.js";
|
|
11
|
+
import { CodeBlockShiki, CodeBlockShikiOptions } from "./extensions/code-block-shiki.js";
|
|
11
12
|
import { Command, SuggestionItem, createSuggestionItems, handleCommandNavigation, renderItems } from "./extensions/slash-command.js";
|
|
12
13
|
import { CharacterCount, Color, GlobalDragHandle, HighlightExtension, HorizontalRule as Horizontal, InputRule, MarkdownExtension, Placeholder as PlaceholderExtension, StarterKit, TaskItem, TaskList, TextStyle, TiptapImage, TiptapLink, TiptapUnderline, Youtube } from "./extensions/index.js";
|
|
13
14
|
import { ImageUploadOptions, UploadFn, UploadImagesPlugin, createImageUpload, handleImageDrop, handleImagePaste } from "./plugins/upload-images.js";
|
|
14
15
|
import "./plugins/index.js";
|
|
15
16
|
import { getAllContent, getPrevText, getUrlFromString, isValidUrl } from "./utils/index.js";
|
|
16
17
|
import { queryStore, rangeStore, useQuery, useRange } from "./utils/atoms.js";
|
|
17
|
-
export { AIHighlight, CharacterCount, Color, Command, CustomKeymap, EditorBubble, EditorBubbleItem, EditorCommand, EditorCommandEmpty, EditorCommandItem, EditorCommandList, EditorContent, type EditorContentProps, type EditorInstance, EditorRoot, GlobalDragHandle, HighlightExtension, Horizontal as HorizontalRule, ImageResizer, type ImageUploadOptions, InputRule, type JSONContent, MarkdownExtension, PlaceholderExtension as Placeholder, StarterKit, type SuggestionItem, TaskItem, TaskList, TextStyle, TiptapImage, TiptapLink, TiptapUnderline, UpdatedImage, type UploadFn, UploadImagesPlugin, Youtube, addAIHighlight, createImageUpload, createSuggestionItems, getAllContent, getPrevText, getUrlFromString, handleCommandNavigation, handleImageDrop, handleImagePaste, isValidUrl, queryStore, rangeStore, removeAIHighlight, renderItems, useEditor, useQuery, useRange };
|
|
18
|
+
export { AIHighlight, CharacterCount, CodeBlockShiki, type CodeBlockShikiOptions, Color, Command, CustomKeymap, EditorBubble, EditorBubbleItem, EditorCommand, EditorCommandEmpty, EditorCommandItem, EditorCommandList, EditorContent, type EditorContentProps, type EditorInstance, EditorRoot, GlobalDragHandle, HighlightExtension, Horizontal as HorizontalRule, ImageResizer, type ImageUploadOptions, InputRule, type JSONContent, MarkdownExtension, PlaceholderExtension as Placeholder, StarterKit, type SuggestionItem, TaskItem, TaskList, TextStyle, TiptapImage, TiptapLink, TiptapUnderline, UpdatedImage, type UploadFn, UploadImagesPlugin, Youtube, addAIHighlight, createImageUpload, createSuggestionItems, getAllContent, getPrevText, getUrlFromString, handleCommandNavigation, handleImageDrop, handleImagePaste, isValidUrl, queryStore, rangeStore, removeAIHighlight, renderItems, useEditor, useQuery, useRange };
|