@krak-stack/registry 0.1.27 → 0.1.29
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/components/ui/code-block.js +1 -5
- package/dist/components/ui/copy-button.js +1 -5
- package/dist/components/ui/data-table.js +239 -242
- package/dist/components/ui/editing-locale-switcher.js +1 -5
- package/dist/components/ui/effect-form.js +170 -175
- package/dist/components/ui/error-component.d.ts +30 -0
- package/dist/components/ui/error-component.js +811 -0
- package/dist/components/ui/file-picker.js +1 -5
- package/dist/components/ui/form.js +113 -118
- package/dist/components/ui/google-map.js +1 -5
- package/dist/components/ui/icon-input.js +41 -48
- package/dist/components/ui/loading.js +1 -5
- package/dist/components/ui/locale-switcher.js +1 -5
- package/dist/components/ui/pagination.js +3 -7
- package/dist/components/ui/search-menu.js +1 -5
- package/dist/components/ui/sidebar-layout.js +67 -76
- package/dist/components/ui/stats-card.js +1 -5
- package/dist/components/ui/theme-switcher.js +4 -8
- package/dist/components/ui/virtualized-combobox.js +32 -39
- package/dist/lib/docs.js +134 -143
- package/dist/lib/docs.server.js +24 -49
- package/dist/lib/documentation-toolkit.js +25 -50
- package/dist/lib/httpapi-cli.js +7 -7
- package/dist/lib/httpapi-client.js +3 -3
- package/dist/lib/httpapi-helpers.js +11 -11
- package/dist/lib/httpapi-mcp.js +2 -2
- package/dist/lib/httpapi-toolkit.js +2 -2
- package/dist/lib/query.d.ts +16 -6
- package/dist/lib/query.js +17 -8
- package/dist/lib/seo.js +2 -2
- package/dist/lib/utils.d.ts +1 -2
- package/dist/lib/webfetch-toolkit.js +6 -6
- package/dist/services/agent/client/index.js +130 -133
- package/dist/services/agent/index.d.ts +4 -0
- package/dist/services/agent/index.js +1 -1
- package/dist/services/agent/schema.d.ts +6 -0
- package/dist/services/agent/schema.js +6 -5
- package/dist/services/file-extraction/index.js +4 -4
- package/dist/services/file-extraction/schema.js +2 -2
- package/dist/services/health/index.js +9 -9
- package/dist/services/notification/channels/ses/index.js +2 -2
- package/dist/services/notification/channels/ses/schema.js +2 -2
- package/dist/services/notification/client/index.js +6 -10
- package/dist/services/notification/index.js +2 -2
- package/dist/services/notification/persistence/drizzle.js +2 -2
- package/dist/services/notification/persistence/index.js +15 -15
- package/dist/services/notification/persistence/schema.js +12 -12
- package/dist/services/notification/public.js +8 -12
- package/dist/services/notification/schema.js +2 -2
- package/dist/services/s3/index.js +2 -2
- package/dist/services/s3/schema.js +2 -2
- package/package.json +7 -4
package/dist/lib/docs.server.js
CHANGED
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// ../../src/components/ui/app-brand.tsx
|
|
18
18
|
import { Link } from "@tanstack/react-router";
|
|
19
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
20
19
|
|
|
21
20
|
// ../../src/components/ui/badge.tsx
|
|
22
21
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
@@ -24,8 +23,7 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
24
23
|
import { cva } from "class-variance-authority";
|
|
25
24
|
|
|
26
25
|
// ../../src/lib/utils.ts
|
|
27
|
-
import {
|
|
28
|
-
import { twMerge } from "tailwind-merge";
|
|
26
|
+
import { cn } from "cn";
|
|
29
27
|
|
|
30
28
|
// ../../src/components/ui/badge.tsx
|
|
31
29
|
var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
|
|
@@ -47,7 +45,6 @@ var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center
|
|
|
47
45
|
// ../../src/components/ui/button.tsx
|
|
48
46
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
49
47
|
import { cva as cva2 } from "class-variance-authority";
|
|
50
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
51
48
|
var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
52
49
|
variants: {
|
|
53
50
|
variant: {
|
|
@@ -78,14 +75,12 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
|
|
|
78
75
|
// ../../src/components/ui/copy-button.tsx
|
|
79
76
|
import { Check, Copy, TriangleAlert } from "lucide-react";
|
|
80
77
|
import { useEffect, useRef, useState } from "react";
|
|
81
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
82
78
|
|
|
83
79
|
// ../../src/components/ui/code-block.tsx
|
|
84
80
|
import { highlight } from "@tanstack/highlight";
|
|
85
81
|
import { createThemeCss } from "@tanstack/highlight/theme";
|
|
86
82
|
import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
|
|
87
83
|
import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
|
|
88
|
-
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
89
84
|
var themeCss = `${createThemeCss({
|
|
90
85
|
light: githubLightTheme,
|
|
91
86
|
dark: githubDarkTheme,
|
|
@@ -103,12 +98,8 @@ var themeCss = `${createThemeCss({
|
|
|
103
98
|
}
|
|
104
99
|
[data-code-theme] pre.th-code code { font: inherit; }`;
|
|
105
100
|
|
|
106
|
-
// ../../src/lib/markdown/content.tsx
|
|
107
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
108
|
-
|
|
109
101
|
// ../../src/components/ui/collapsible.tsx
|
|
110
102
|
import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
|
|
111
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
112
103
|
|
|
113
104
|
// ../../src/components/ui/search-menu.tsx
|
|
114
105
|
import { SearchIcon as SearchIcon2 } from "lucide-react";
|
|
@@ -121,10 +112,6 @@ import { SearchIcon } from "lucide-react";
|
|
|
121
112
|
// ../../src/components/ui/dialog.tsx
|
|
122
113
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
123
114
|
import { XIcon } from "lucide-react";
|
|
124
|
-
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
125
|
-
|
|
126
|
-
// ../../src/components/ui/command.tsx
|
|
127
|
-
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
128
115
|
|
|
129
116
|
// ../../src/paraglide/runtime.js
|
|
130
117
|
import"@inlang/paraglide-js/urlpattern-polyfill";
|
|
@@ -147,9 +134,6 @@ var rtlLanguages = new Set([
|
|
|
147
134
|
var customServerStrategies = new Map;
|
|
148
135
|
var customClientStrategies = new Map;
|
|
149
136
|
|
|
150
|
-
// ../../src/components/ui/search-menu.tsx
|
|
151
|
-
import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
152
|
-
|
|
153
137
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
154
138
|
import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
|
|
155
139
|
import { Option, Schema as Schema2 } from "effect";
|
|
@@ -167,30 +151,22 @@ import * as React from "react";
|
|
|
167
151
|
|
|
168
152
|
// ../../src/components/ui/input.tsx
|
|
169
153
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
170
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
171
154
|
|
|
172
155
|
// ../../src/components/ui/separator.tsx
|
|
173
156
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
174
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
175
157
|
|
|
176
158
|
// ../../src/components/ui/sheet.tsx
|
|
177
159
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
178
160
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
179
|
-
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
180
161
|
"use client";
|
|
181
162
|
|
|
182
|
-
// ../../src/components/ui/skeleton.tsx
|
|
183
|
-
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
184
|
-
|
|
185
163
|
// ../../src/components/ui/tooltip.tsx
|
|
186
164
|
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
187
|
-
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
188
165
|
"use client";
|
|
189
166
|
|
|
190
167
|
// ../../src/components/ui/sidebar.tsx
|
|
191
168
|
import { PanelLeftIcon } from "lucide-react";
|
|
192
169
|
import { Schema } from "effect";
|
|
193
|
-
import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
194
170
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
195
171
|
var SidebarContext = React2.createContext(null);
|
|
196
172
|
var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
@@ -212,20 +188,19 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
|
|
|
212
188
|
});
|
|
213
189
|
|
|
214
190
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
215
|
-
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
216
191
|
var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
|
|
217
192
|
identifier: "SidebarOpenCookie"
|
|
218
193
|
});
|
|
219
194
|
|
|
220
195
|
// ../../src/lib/docs.tsx
|
|
221
|
-
import { jsx
|
|
196
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
222
197
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
223
198
|
var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
|
|
224
199
|
identifier: "SidebarOpenCookie"
|
|
225
200
|
});
|
|
226
201
|
var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME]);
|
|
227
202
|
var makeIcon = (name, paths) => {
|
|
228
|
-
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */
|
|
203
|
+
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx("svg", {
|
|
229
204
|
"aria-hidden": "true",
|
|
230
205
|
fill: "none",
|
|
231
206
|
height: size,
|
|
@@ -242,73 +217,73 @@ var makeIcon = (name, paths) => {
|
|
|
242
217
|
Icon.displayName = name;
|
|
243
218
|
return Icon;
|
|
244
219
|
};
|
|
245
|
-
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */
|
|
220
|
+
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs(Fragment, {
|
|
246
221
|
children: [
|
|
247
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ jsx("path", {
|
|
248
223
|
d: "m12 19-7-7 7-7"
|
|
249
224
|
}),
|
|
250
|
-
/* @__PURE__ */
|
|
225
|
+
/* @__PURE__ */ jsx("path", {
|
|
251
226
|
d: "M19 12H5"
|
|
252
227
|
})
|
|
253
228
|
]
|
|
254
229
|
}));
|
|
255
|
-
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */
|
|
230
|
+
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs(Fragment, {
|
|
256
231
|
children: [
|
|
257
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ jsx("path", {
|
|
258
233
|
d: "M5 12h14"
|
|
259
234
|
}),
|
|
260
|
-
/* @__PURE__ */
|
|
235
|
+
/* @__PURE__ */ jsx("path", {
|
|
261
236
|
d: "m12 5 7 7-7 7"
|
|
262
237
|
})
|
|
263
238
|
]
|
|
264
239
|
}));
|
|
265
|
-
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */
|
|
240
|
+
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs(Fragment, {
|
|
266
241
|
children: [
|
|
267
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ jsx("path", {
|
|
268
243
|
d: "M12 7v14"
|
|
269
244
|
}),
|
|
270
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ jsx("path", {
|
|
271
246
|
d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4Z"
|
|
272
247
|
})
|
|
273
248
|
]
|
|
274
249
|
}));
|
|
275
|
-
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */
|
|
250
|
+
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx("path", {
|
|
276
251
|
d: "m6 9 6 6 6-6"
|
|
277
252
|
}));
|
|
278
|
-
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */
|
|
253
|
+
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs(Fragment, {
|
|
279
254
|
children: [
|
|
280
|
-
/* @__PURE__ */
|
|
255
|
+
/* @__PURE__ */ jsx("path", {
|
|
281
256
|
d: "M15 3h6v6"
|
|
282
257
|
}),
|
|
283
|
-
/* @__PURE__ */
|
|
258
|
+
/* @__PURE__ */ jsx("path", {
|
|
284
259
|
d: "M10 14 21 3"
|
|
285
260
|
}),
|
|
286
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ jsx("path", {
|
|
287
262
|
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
288
263
|
})
|
|
289
264
|
]
|
|
290
265
|
}));
|
|
291
|
-
var Hash = makeIcon("Hash", /* @__PURE__ */
|
|
266
|
+
var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs(Fragment, {
|
|
292
267
|
children: [
|
|
293
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ jsx("line", {
|
|
294
269
|
x1: "4",
|
|
295
270
|
x2: "20",
|
|
296
271
|
y1: "9",
|
|
297
272
|
y2: "9"
|
|
298
273
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
274
|
+
/* @__PURE__ */ jsx("line", {
|
|
300
275
|
x1: "4",
|
|
301
276
|
x2: "20",
|
|
302
277
|
y1: "15",
|
|
303
278
|
y2: "15"
|
|
304
279
|
}),
|
|
305
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ jsx("line", {
|
|
306
281
|
x1: "10",
|
|
307
282
|
x2: "8",
|
|
308
283
|
y1: "3",
|
|
309
284
|
y2: "21"
|
|
310
285
|
}),
|
|
311
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ jsx("line", {
|
|
312
287
|
x1: "16",
|
|
313
288
|
x2: "14",
|
|
314
289
|
y1: "3",
|
|
@@ -493,7 +468,7 @@ var loadMdxDocsDirectory = async (root) => {
|
|
|
493
468
|
return pages;
|
|
494
469
|
};
|
|
495
470
|
export {
|
|
496
|
-
|
|
471
|
+
compileDocsMarkdown,
|
|
497
472
|
compileMdxDocsPage,
|
|
498
|
-
|
|
473
|
+
loadMdxDocsDirectory
|
|
499
474
|
};
|
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// ../../src/components/ui/app-brand.tsx
|
|
18
18
|
import { Link } from "@tanstack/react-router";
|
|
19
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
20
19
|
|
|
21
20
|
// ../../src/components/ui/badge.tsx
|
|
22
21
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
@@ -24,8 +23,7 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
24
23
|
import { cva } from "class-variance-authority";
|
|
25
24
|
|
|
26
25
|
// ../../src/lib/utils.ts
|
|
27
|
-
import {
|
|
28
|
-
import { twMerge } from "tailwind-merge";
|
|
26
|
+
import { cn } from "cn";
|
|
29
27
|
|
|
30
28
|
// ../../src/components/ui/badge.tsx
|
|
31
29
|
var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
|
|
@@ -47,7 +45,6 @@ var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center
|
|
|
47
45
|
// ../../src/components/ui/button.tsx
|
|
48
46
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
49
47
|
import { cva as cva2 } from "class-variance-authority";
|
|
50
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
51
48
|
var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
52
49
|
variants: {
|
|
53
50
|
variant: {
|
|
@@ -78,14 +75,12 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
|
|
|
78
75
|
// ../../src/components/ui/copy-button.tsx
|
|
79
76
|
import { Check, Copy, TriangleAlert } from "lucide-react";
|
|
80
77
|
import { useEffect, useRef, useState } from "react";
|
|
81
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
82
78
|
|
|
83
79
|
// ../../src/components/ui/code-block.tsx
|
|
84
80
|
import { highlight } from "@tanstack/highlight";
|
|
85
81
|
import { createThemeCss } from "@tanstack/highlight/theme";
|
|
86
82
|
import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
|
|
87
83
|
import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
|
|
88
|
-
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
89
84
|
var themeCss = `${createThemeCss({
|
|
90
85
|
light: githubLightTheme,
|
|
91
86
|
dark: githubDarkTheme,
|
|
@@ -103,12 +98,8 @@ var themeCss = `${createThemeCss({
|
|
|
103
98
|
}
|
|
104
99
|
[data-code-theme] pre.th-code code { font: inherit; }`;
|
|
105
100
|
|
|
106
|
-
// ../../src/lib/markdown/content.tsx
|
|
107
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
108
|
-
|
|
109
101
|
// ../../src/components/ui/collapsible.tsx
|
|
110
102
|
import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
|
|
111
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
112
103
|
|
|
113
104
|
// ../../src/components/ui/search-menu.tsx
|
|
114
105
|
import { SearchIcon as SearchIcon2 } from "lucide-react";
|
|
@@ -121,10 +112,6 @@ import { SearchIcon } from "lucide-react";
|
|
|
121
112
|
// ../../src/components/ui/dialog.tsx
|
|
122
113
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
123
114
|
import { XIcon } from "lucide-react";
|
|
124
|
-
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
125
|
-
|
|
126
|
-
// ../../src/components/ui/command.tsx
|
|
127
|
-
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
128
115
|
|
|
129
116
|
// ../../src/paraglide/runtime.js
|
|
130
117
|
import"@inlang/paraglide-js/urlpattern-polyfill";
|
|
@@ -147,9 +134,6 @@ var rtlLanguages = new Set([
|
|
|
147
134
|
var customServerStrategies = new Map;
|
|
148
135
|
var customClientStrategies = new Map;
|
|
149
136
|
|
|
150
|
-
// ../../src/components/ui/search-menu.tsx
|
|
151
|
-
import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
152
|
-
|
|
153
137
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
154
138
|
import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
|
|
155
139
|
import { Option, Schema as Schema2 } from "effect";
|
|
@@ -167,30 +151,22 @@ import * as React from "react";
|
|
|
167
151
|
|
|
168
152
|
// ../../src/components/ui/input.tsx
|
|
169
153
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
170
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
171
154
|
|
|
172
155
|
// ../../src/components/ui/separator.tsx
|
|
173
156
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
174
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
175
157
|
|
|
176
158
|
// ../../src/components/ui/sheet.tsx
|
|
177
159
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
178
160
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
179
|
-
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
180
161
|
"use client";
|
|
181
162
|
|
|
182
|
-
// ../../src/components/ui/skeleton.tsx
|
|
183
|
-
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
184
|
-
|
|
185
163
|
// ../../src/components/ui/tooltip.tsx
|
|
186
164
|
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
187
|
-
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
188
165
|
"use client";
|
|
189
166
|
|
|
190
167
|
// ../../src/components/ui/sidebar.tsx
|
|
191
168
|
import { PanelLeftIcon } from "lucide-react";
|
|
192
169
|
import { Schema } from "effect";
|
|
193
|
-
import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
194
170
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
195
171
|
var SidebarContext = React2.createContext(null);
|
|
196
172
|
var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
@@ -212,20 +188,19 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
|
|
|
212
188
|
});
|
|
213
189
|
|
|
214
190
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
215
|
-
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
216
191
|
var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
|
|
217
192
|
identifier: "SidebarOpenCookie"
|
|
218
193
|
});
|
|
219
194
|
|
|
220
195
|
// ../../src/lib/docs.tsx
|
|
221
|
-
import { jsx
|
|
196
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
222
197
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
223
198
|
var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
|
|
224
199
|
identifier: "SidebarOpenCookie"
|
|
225
200
|
});
|
|
226
201
|
var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME]);
|
|
227
202
|
var makeIcon = (name, paths) => {
|
|
228
|
-
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */
|
|
203
|
+
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx("svg", {
|
|
229
204
|
"aria-hidden": "true",
|
|
230
205
|
fill: "none",
|
|
231
206
|
height: size,
|
|
@@ -242,73 +217,73 @@ var makeIcon = (name, paths) => {
|
|
|
242
217
|
Icon.displayName = name;
|
|
243
218
|
return Icon;
|
|
244
219
|
};
|
|
245
|
-
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */
|
|
220
|
+
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs(Fragment, {
|
|
246
221
|
children: [
|
|
247
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ jsx("path", {
|
|
248
223
|
d: "m12 19-7-7 7-7"
|
|
249
224
|
}),
|
|
250
|
-
/* @__PURE__ */
|
|
225
|
+
/* @__PURE__ */ jsx("path", {
|
|
251
226
|
d: "M19 12H5"
|
|
252
227
|
})
|
|
253
228
|
]
|
|
254
229
|
}));
|
|
255
|
-
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */
|
|
230
|
+
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs(Fragment, {
|
|
256
231
|
children: [
|
|
257
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ jsx("path", {
|
|
258
233
|
d: "M5 12h14"
|
|
259
234
|
}),
|
|
260
|
-
/* @__PURE__ */
|
|
235
|
+
/* @__PURE__ */ jsx("path", {
|
|
261
236
|
d: "m12 5 7 7-7 7"
|
|
262
237
|
})
|
|
263
238
|
]
|
|
264
239
|
}));
|
|
265
|
-
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */
|
|
240
|
+
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs(Fragment, {
|
|
266
241
|
children: [
|
|
267
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ jsx("path", {
|
|
268
243
|
d: "M12 7v14"
|
|
269
244
|
}),
|
|
270
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ jsx("path", {
|
|
271
246
|
d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4Z"
|
|
272
247
|
})
|
|
273
248
|
]
|
|
274
249
|
}));
|
|
275
|
-
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */
|
|
250
|
+
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx("path", {
|
|
276
251
|
d: "m6 9 6 6 6-6"
|
|
277
252
|
}));
|
|
278
|
-
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */
|
|
253
|
+
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs(Fragment, {
|
|
279
254
|
children: [
|
|
280
|
-
/* @__PURE__ */
|
|
255
|
+
/* @__PURE__ */ jsx("path", {
|
|
281
256
|
d: "M15 3h6v6"
|
|
282
257
|
}),
|
|
283
|
-
/* @__PURE__ */
|
|
258
|
+
/* @__PURE__ */ jsx("path", {
|
|
284
259
|
d: "M10 14 21 3"
|
|
285
260
|
}),
|
|
286
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ jsx("path", {
|
|
287
262
|
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
288
263
|
})
|
|
289
264
|
]
|
|
290
265
|
}));
|
|
291
|
-
var Hash = makeIcon("Hash", /* @__PURE__ */
|
|
266
|
+
var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs(Fragment, {
|
|
292
267
|
children: [
|
|
293
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ jsx("line", {
|
|
294
269
|
x1: "4",
|
|
295
270
|
x2: "20",
|
|
296
271
|
y1: "9",
|
|
297
272
|
y2: "9"
|
|
298
273
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
274
|
+
/* @__PURE__ */ jsx("line", {
|
|
300
275
|
x1: "4",
|
|
301
276
|
x2: "20",
|
|
302
277
|
y1: "15",
|
|
303
278
|
y2: "15"
|
|
304
279
|
}),
|
|
305
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ jsx("line", {
|
|
306
281
|
x1: "10",
|
|
307
282
|
x2: "8",
|
|
308
283
|
y1: "3",
|
|
309
284
|
y2: "21"
|
|
310
285
|
}),
|
|
311
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ jsx("line", {
|
|
312
287
|
x1: "16",
|
|
313
288
|
x2: "14",
|
|
314
289
|
y1: "3",
|
|
@@ -422,8 +397,8 @@ var DocumentationToolkitLayer = ({
|
|
|
422
397
|
readDocumentation: ({ paths }) => readDocumentation({ docs, locale, paths })
|
|
423
398
|
});
|
|
424
399
|
export {
|
|
425
|
-
|
|
426
|
-
readDocumentation,
|
|
400
|
+
DocumentationToolkit,
|
|
427
401
|
DocumentationToolkitLayer,
|
|
428
|
-
|
|
402
|
+
readDocumentation,
|
|
403
|
+
searchDocumentation
|
|
429
404
|
};
|
package/dist/lib/httpapi-cli.js
CHANGED
|
@@ -754,12 +754,12 @@ var runHttpApiCli = (layer, args = process.argv.slice(2)) => {
|
|
|
754
754
|
}));
|
|
755
755
|
};
|
|
756
756
|
export {
|
|
757
|
-
|
|
758
|
-
runHttpApiCli,
|
|
759
|
-
printHttpApiCliResult,
|
|
760
|
-
makeHttpApiCliCommand,
|
|
761
|
-
httpApiCliEnvironmentLayer,
|
|
762
|
-
httpApiCli,
|
|
757
|
+
HttpApiCli,
|
|
763
758
|
formatHttpApiCliCause,
|
|
764
|
-
|
|
759
|
+
httpApiCli,
|
|
760
|
+
httpApiCliEnvironmentLayer,
|
|
761
|
+
makeHttpApiCliCommand,
|
|
762
|
+
printHttpApiCliResult,
|
|
763
|
+
runHttpApiCli,
|
|
764
|
+
toHttpApiCliName
|
|
765
765
|
};
|
|
@@ -105,8 +105,8 @@ class ApiClient extends Context.Service()("ApiClient") {
|
|
|
105
105
|
}));
|
|
106
106
|
}
|
|
107
107
|
export {
|
|
108
|
-
|
|
109
|
-
encodeHttpApiOperationResult,
|
|
108
|
+
ApiClient,
|
|
110
109
|
HttpApiOperationResult,
|
|
111
|
-
|
|
110
|
+
encodeHttpApiOperationResult,
|
|
111
|
+
makeHttpApiOperationResultEncoder
|
|
112
112
|
};
|
|
@@ -271,16 +271,16 @@ class HttpApiSpec extends Context.Service()("HttpApiSpec", {
|
|
|
271
271
|
static layer = (config) => Layer.effect(this, this.make(config));
|
|
272
272
|
}
|
|
273
273
|
export {
|
|
274
|
-
|
|
275
|
-
sanitizeHttpName,
|
|
276
|
-
parseJsonValue,
|
|
277
|
-
parseJsonObject,
|
|
278
|
-
httpApiToolName,
|
|
279
|
-
httpApiToolEntries,
|
|
280
|
-
httpApiOperations,
|
|
281
|
-
httpApiOperationInputSchema,
|
|
282
|
-
decodeHttpApiOperationInput,
|
|
283
|
-
JsonObjectSchema,
|
|
274
|
+
HttpApiMethods,
|
|
284
275
|
HttpApiSpec,
|
|
285
|
-
|
|
276
|
+
JsonObjectSchema,
|
|
277
|
+
decodeHttpApiOperationInput,
|
|
278
|
+
httpApiOperationInputSchema,
|
|
279
|
+
httpApiOperations,
|
|
280
|
+
httpApiToolEntries,
|
|
281
|
+
httpApiToolName,
|
|
282
|
+
parseJsonObject,
|
|
283
|
+
parseJsonValue,
|
|
284
|
+
sanitizeHttpName,
|
|
285
|
+
toHttpError
|
|
286
286
|
};
|
package/dist/lib/httpapi-mcp.js
CHANGED
|
@@ -434,6 +434,6 @@ var HttpApiToolkitLayer = (config) => Layer3.unwrap(buildHttpApiToolkit(config).
|
|
|
434
434
|
}).pipe(Effect3.mapError((error) => error instanceof Error ? error.message : String(error)))
|
|
435
435
|
])))))));
|
|
436
436
|
export {
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
HttpApiToolkit,
|
|
438
|
+
HttpApiToolkitLayer
|
|
439
439
|
};
|
package/dist/lib/query.d.ts
CHANGED
|
@@ -21,14 +21,24 @@ export declare const SortParamsFromString: Schema.decodeTo<Schema.$Array<Schema.
|
|
|
21
21
|
readonly id: Schema.NonEmptyString;
|
|
22
22
|
readonly direction: Schema.Union<readonly [Schema.Literal<"asc">, Schema.Literal<"desc">]>;
|
|
23
23
|
}>>, Schema.String, never, never>;
|
|
24
|
+
export declare const SortParams: Schema.declare<readonly {
|
|
25
|
+
readonly id: string;
|
|
26
|
+
readonly direction: "asc" | "desc";
|
|
27
|
+
}[], readonly {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly direction: "asc" | "desc";
|
|
30
|
+
}[]>;
|
|
24
31
|
export declare const Query: Schema.Struct<{
|
|
25
32
|
readonly page: Schema.withDecodingDefaultKey<Schema.Int, never>;
|
|
26
33
|
readonly pageSize: Schema.withDecodingDefaultKey<Schema.Int, never>;
|
|
27
34
|
readonly globalFilter: Schema.optional<Schema.String>;
|
|
28
|
-
readonly sort: Schema.optional<Schema
|
|
29
|
-
readonly id:
|
|
30
|
-
readonly direction:
|
|
31
|
-
}
|
|
35
|
+
readonly sort: Schema.optional<Schema.declare<readonly {
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly direction: "asc" | "desc";
|
|
38
|
+
}[], readonly {
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly direction: "asc" | "desc";
|
|
41
|
+
}[]>>;
|
|
32
42
|
}>;
|
|
33
43
|
export type QueryType = typeof Query.Type;
|
|
34
44
|
export type QueryEncoded = typeof Query.Encoded;
|
|
@@ -40,8 +50,8 @@ export declare const PaginationMeta: Schema.Struct<{
|
|
|
40
50
|
readonly pageCount: Schema.Int;
|
|
41
51
|
}>;
|
|
42
52
|
export type PaginationMetaType = typeof PaginationMeta.Type;
|
|
43
|
-
export declare const PaginatedResponse: <A>(items:
|
|
44
|
-
readonly data: Schema.$Array<
|
|
53
|
+
export declare const PaginatedResponse: <A extends Schema.Top>(items: A) => Schema.Struct<{
|
|
54
|
+
readonly data: Schema.$Array<A>;
|
|
45
55
|
readonly meta: Schema.Struct<{
|
|
46
56
|
readonly page: Schema.Int;
|
|
47
57
|
readonly pageSize: Schema.Int;
|
package/dist/lib/query.js
CHANGED
|
@@ -42,6 +42,8 @@ var SortParamFromString = Schema.String.pipe(Schema.decodeTo(SortParam, SchemaTr
|
|
|
42
42
|
}));
|
|
43
43
|
var SortParamsFromString = Schema.String.pipe(Schema.decodeTo(Schema.Array(SortParam), SchemaTransformation.transformOrFail({
|
|
44
44
|
decode: (sort) => {
|
|
45
|
+
if (sort === "")
|
|
46
|
+
return Effect.succeed([]);
|
|
45
47
|
const parts = sort.split(",");
|
|
46
48
|
const sortParams = [];
|
|
47
49
|
for (const part of parts) {
|
|
@@ -65,11 +67,17 @@ var SortParamsFromString = Schema.String.pipe(Schema.decodeTo(Schema.Array(SortP
|
|
|
65
67
|
]
|
|
66
68
|
]
|
|
67
69
|
}));
|
|
70
|
+
var SortParamsArray = Schema.Array(SortParam);
|
|
71
|
+
var SortParams = Schema.declare(Schema.is(SortParamsArray), {
|
|
72
|
+
identifier: "SortParams",
|
|
73
|
+
toCodec: () => Schema.link()(SortParamsArray, SchemaTransformation.passthrough()),
|
|
74
|
+
toCodecStringTree: () => Schema.link()(SortParamsFromString, SchemaTransformation.passthrough())
|
|
75
|
+
});
|
|
68
76
|
var Query = Schema.Struct({
|
|
69
77
|
page: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)).pipe(Schema.withDecodingDefaultKey(Effect.succeed(0))),
|
|
70
78
|
pageSize: Schema.Int.check(Schema.isBetween({ minimum: 1, maximum: 100 })).pipe(Schema.withDecodingDefaultKey(Effect.succeed(10))),
|
|
71
79
|
globalFilter: Schema.optional(Schema.String),
|
|
72
|
-
sort: Schema.optional(
|
|
80
|
+
sort: Schema.optional(SortParams)
|
|
73
81
|
}).annotate({
|
|
74
82
|
identifier: "Query",
|
|
75
83
|
title: "Query",
|
|
@@ -103,12 +111,13 @@ var PaginatedResponse = (items) => Schema.Struct({
|
|
|
103
111
|
meta: PaginationMeta
|
|
104
112
|
});
|
|
105
113
|
export {
|
|
106
|
-
|
|
107
|
-
SortParamFromString,
|
|
108
|
-
SortParam,
|
|
109
|
-
SortDirection,
|
|
110
|
-
QueryStandard,
|
|
111
|
-
Query,
|
|
114
|
+
PaginatedResponse,
|
|
112
115
|
PaginationMeta,
|
|
113
|
-
|
|
116
|
+
Query,
|
|
117
|
+
QueryStandard,
|
|
118
|
+
SortDirection,
|
|
119
|
+
SortParam,
|
|
120
|
+
SortParamFromString,
|
|
121
|
+
SortParams,
|
|
122
|
+
SortParamsFromString
|
|
114
123
|
};
|
package/dist/lib/seo.js
CHANGED
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
1
|
+
export { cn } from "cn";
|