@sanurb/ringi 0.3.2 → 0.3.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/cli.mjs +534 -1598
- package/dist/cli.mjs.map +1 -1
- package/dist/mcp.mjs +4 -4
- package/dist/runtime.mjs +2437 -2437
- package/dist/runtime.mjs.map +1 -1
- package/package.json +2 -1
- package/server/nitro.json +1 -1
- package/server/public/assets/{_reviewId-DdOpDx4U.js → _reviewId-DszBZzPS.js} +1 -1
- package/server/public/assets/{main-FvxVz-kD.js → main-BQVB_Z0Z.js} +2 -2
- package/server/public/assets/{new-DOyplRwM.js → new-BpF6zgAP.js} +1 -1
- package/server/public/assets/{reviews-CfbuF6ib.js → reviews-Cqy8KE2-.js} +1 -1
- package/server/public/assets/reviews-YuW-Er6I.js +1 -0
- package/server/public/assets/{routes-DNxq1Fba.js → routes-Bp_N1q52.js} +1 -1
- package/server/public/assets/{routes-Dp0ODZ55.js → routes-CdmXLllM.js} +1 -1
- package/server/server/_chunks/ssr-renderer.mjs +2 -2
- package/server/server/_libs/effect+[...].mjs +396 -193
- package/server/server/{_reviewId-AWnOGz5k.mjs → _reviewId-BBo0j3l1.mjs} +2 -2
- package/server/server/{_reviewId-p9mhYVwa.mjs → _reviewId-CBLnTeaJ.mjs} +2 -2
- package/server/server/{_reviewId-DAhmekJ2.mjs → _reviewId-Ce1qqku3.mjs} +3 -3
- package/server/server/_ssr/action-bar-C68xGnWW.mjs +1 -1
- package/server/server/_ssr/{api-handler-CstW2n82.mjs → api-handler-yxu7Cbl5.mjs} +35 -3
- package/server/server/_ssr/client-runtime-BoPuAEoA.mjs +1 -1
- package/server/server/_ssr/domain-rpc-3Ds9DPr0.mjs +1 -1
- package/server/server/_ssr/file-tree-CQ5w2GHh.mjs +1 -1
- package/server/server/_ssr/load-scoped-diff-NL2XAcdz.mjs +2 -2
- package/server/server/_ssr/new-BKl_G2Ks.mjs +1 -1
- package/server/server/_ssr/new-DCz5eHkb.mjs +1 -1
- package/server/server/_ssr/reviews-C7_NIhY8.mjs +1 -1
- package/server/server/_ssr/{router-DLxN8FOm.mjs → router-5hEjszhz.mjs} +4 -4
- package/server/server/_ssr/routes-lz0AN75A.mjs +1 -1
- package/server/server/_ssr/runtime-D9IbnMlF.mjs +1 -1
- package/server/server/_ssr/ssr.mjs +7 -7
- package/server/server/_ssr/todo-m_uUvxca.mjs +1 -1
- package/server/server/{_tanstack-start-manifest_v-CnL10NRH.mjs → _tanstack-start-manifest_v--jyOFxuR.mjs} +9 -9
- package/server/server/index.mjs +905 -905
- package/server/public/assets/reviews-CJvVXRLH.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as createServerFn } from "./_ssr/ssr.mjs";
|
|
2
|
+
import { yt as gen } from "./_libs/effect+[...].mjs";
|
|
2
3
|
import { t as createServerRpc } from "./_ssr/createServerRpc--0mcGlWK.mjs";
|
|
3
|
-
import { dt as gen } from "./_libs/effect+[...].mjs";
|
|
4
4
|
import { o as ReviewService, t as CommentService } from "./_ssr/runtime-D9IbnMlF.mjs";
|
|
5
5
|
import { serverRuntime } from "./_ssr/server-runtime-D99qpmma.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_reviewId-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_reviewId-BBo0j3l1.js
|
|
7
7
|
var loadReview_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "d17f62149492ac39d233ae8a98fd9e6f8cb42fca22b195a215054e1e2ad0ea53",
|
|
9
9
|
name: "loadReview",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as createFileRoute, s as lazyRouteComponent } from "./_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { r as createServerFn } from "./_ssr/ssr.mjs";
|
|
3
3
|
import { t as createSsrRpc } from "./_ssr/createSsrRpc-AwdiLXmF.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_reviewId-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_reviewId-CBLnTeaJ.js
|
|
5
5
|
var $$splitErrorComponentImporter = () => import("./_reviewId-Com4yOlc.mjs");
|
|
6
|
-
var $$splitComponentImporter = () => import("./_reviewId-
|
|
6
|
+
var $$splitComponentImporter = () => import("./_reviewId-Ce1qqku3.mjs");
|
|
7
7
|
var loadReview = createServerFn({ method: "GET" }).inputValidator((d) => {
|
|
8
8
|
const obj = d;
|
|
9
9
|
if (typeof obj?.reviewId !== "string") throw new TypeError("reviewId required");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as __toESM } from "./_runtime.mjs";
|
|
2
2
|
import { u as require_react } from "./_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
3
|
import { n as require_jsx_runtime } from "./_libs/@pierre/diffs+[...].mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { At as sync, Mt as tapCause, Zt as some, jt as tap, xt as logError, yt as gen } from "./_libs/effect+[...].mjs";
|
|
5
5
|
import { i as clientRuntime, t as ApiClient } from "./_ssr/client-runtime-BoPuAEoA.mjs";
|
|
6
|
-
import { t as Route } from "./_reviewId-
|
|
6
|
+
import { t as Route } from "./_reviewId-CBLnTeaJ.mjs";
|
|
7
7
|
import { t as cn } from "./_ssr/utils-BuOt9_LA.mjs";
|
|
8
8
|
import { t as ActionBar } from "./_ssr/action-bar-C68xGnWW.mjs";
|
|
9
9
|
import { i as FileTree, n as DiffView, r as ExportFeedbackModal, t as DiffSummary } from "./_ssr/file-tree-CQ5w2GHh.mjs";
|
|
10
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_reviewId-
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_reviewId-Ce1qqku3.js
|
|
11
11
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
12
12
|
var import_jsx_runtime = require_jsx_runtime();
|
|
13
13
|
function groupByFile(comments) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
3
|
import { n as require_jsx_runtime } from "../_libs/@pierre/diffs+[...].mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { At as sync, Et as promise, It as void_, ft as catchCause, jt as tap, yt as gen } from "../_libs/effect+[...].mjs";
|
|
5
5
|
import { i as clientRuntime, n as RINGI_PALETTES, o as useRingiTheme, t as ApiClient } from "./client-runtime-BoPuAEoA.mjs";
|
|
6
6
|
import { t as cn } from "./utils-BuOt9_LA.mjs";
|
|
7
7
|
import { a as Monitor, b as Check, d as Ellipsis, i as Moon, n as Sun, r as Settings2, t as X } from "../_libs/lucide-react.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ensuring, Bt as makeMemoMap, C as stream, E as layer$1, F as merge, Ht as provide, L as tick, Lt as withSpan, N as make, Ot as runSync, P as map, T as consolePretty, Vt as mergeAll, b as layerServices, d as layer, ht as die, k as concat, mt as catchTags, n as layerHttp, o as layerNdjson, u as group, v as toWebHandler, y as use, yt as gen } from "../_libs/effect+[...].mjs";
|
|
2
2
|
import { a as GitService, i as ExportService, l as getDiffSummary, n as CoreLive, o as ReviewService, r as EventService, s as TodoService, t as CommentService, u as parseDiff } from "./runtime-D9IbnMlF.mjs";
|
|
3
3
|
import { n as DomainRpc, r as ReviewsRpc, t as DomainApi } from "./domain-rpc-3Ds9DPr0.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-handler-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-handler-yxu7Cbl5.js
|
|
5
5
|
var CommentsApiLive = group(DomainApi, "comments", (handlers) => handlers.handle("getByReview", (_) => gen(function* CommentsApiLive() {
|
|
6
6
|
const svc = yield* CommentService;
|
|
7
7
|
const { filePath } = _.query;
|
|
@@ -63,6 +63,38 @@ var EventsApiLive = group(DomainApi, "events", (handlers) => handlers.handle("no
|
|
|
63
63
|
})).handle("clients", (_) => gen(function* EventsApiLive() {
|
|
64
64
|
return { count: yield* (yield* EventService).getClientCount() };
|
|
65
65
|
})));
|
|
66
|
+
var encoder = new TextEncoder();
|
|
67
|
+
var encodeSSE = (payload) => encoder.encode(`data: ${payload}\n\n`);
|
|
68
|
+
var CONNECTED_COMMENT = encoder.encode(": connected\n\n");
|
|
69
|
+
var HEARTBEAT_COMMENT = encoder.encode(": ping\n\n");
|
|
70
|
+
/** Emits a `: ping` SSE comment every 30 seconds to keep the connection alive. */
|
|
71
|
+
var heartbeat = tick("30 seconds").pipe(map(() => HEARTBEAT_COMMENT));
|
|
72
|
+
/**
|
|
73
|
+
* SSE endpoint: GET /api/events
|
|
74
|
+
*
|
|
75
|
+
* Returns a `text/event-stream` response that pushes structured events
|
|
76
|
+
* from the EventService subscription. The connection stays open until the
|
|
77
|
+
* client disconnects.
|
|
78
|
+
*
|
|
79
|
+
* Uses `HttpRouter.use` because SSE streaming cannot be expressed as a
|
|
80
|
+
* standard request/response HttpApiEndpoint — it needs a raw route that
|
|
81
|
+
* returns a long-lived streaming response.
|
|
82
|
+
*/
|
|
83
|
+
var EventsSseLive = use((router) => gen(function* () {
|
|
84
|
+
const events = yield* EventService;
|
|
85
|
+
yield* router.add("GET", "/api/events", gen(function* () {
|
|
86
|
+
const { stream: stream$1, unsubscribe } = yield* events.subscribe();
|
|
87
|
+
const eventStream = stream$1.pipe(map((event) => encodeSSE(JSON.stringify(event))));
|
|
88
|
+
return stream(make(CONNECTED_COMMENT).pipe(concat(merge(eventStream, heartbeat)), ensuring(unsubscribe)), {
|
|
89
|
+
contentType: "text/event-stream",
|
|
90
|
+
headers: {
|
|
91
|
+
"Cache-Control": "no-cache",
|
|
92
|
+
Connection: "keep-alive",
|
|
93
|
+
"X-Accel-Buffering": "no"
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}).pipe(withSpan("SSE.events")));
|
|
97
|
+
}));
|
|
66
98
|
var ExportApiLive = group(DomainApi, "export", (handlers) => handlers.handle("markdown", (_) => gen(function* ExportApiLive() {
|
|
67
99
|
return yield* (yield* ExportService).exportReview(_.params.id);
|
|
68
100
|
})));
|
|
@@ -168,7 +200,7 @@ var AllRoutes = mergeAll(layerHttp({
|
|
|
168
200
|
group: DomainRpc,
|
|
169
201
|
path: "/api/rpc",
|
|
170
202
|
spanPrefix: "rpc"
|
|
171
|
-
}).pipe(provide(ReviewsRpcLive), provide(layerNdjson)), layer(DomainApi).pipe(provide(ReviewsApiLive), provide(CommentsApiLive), provide(TodosApiLive), provide(DiffApiLive), provide(ReviewFilesApiLive), provide(GitApiLive), provide(EventsApiLive), provide(ExportApiLive), provide(layerServices))).pipe(provide(ServiceLayers), provide(layer$1([consolePretty()])));
|
|
203
|
+
}).pipe(provide(ReviewsRpcLive), provide(layerNdjson)), layer(DomainApi).pipe(provide(ReviewsApiLive), provide(CommentsApiLive), provide(TodosApiLive), provide(DiffApiLive), provide(ReviewFilesApiLive), provide(GitApiLive), provide(EventsApiLive), provide(ExportApiLive), provide(layerServices)), EventsSseLive).pipe(provide(ServiceLayers), provide(layer$1([consolePretty()])));
|
|
172
204
|
/**
|
|
173
205
|
* Initialize the Effect HTTP + RPC handler.
|
|
174
206
|
* Called lazily on first API request to avoid blocking SSR module evaluation.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
3
|
import { n as require_jsx_runtime } from "../_libs/@pierre/diffs+[...].mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { Ht as provide, I as tapCause$1, Kt as Service, M as isStream, Mt as tapCause, Rt as exponential, S as retryTransient, a as make, bt as isEffect, i as layerProtocolHttp, l as make$1, o as layerNdjson, t as layer, w as make$2, x as filterStatusOk, xt as logError, yt as gen, zt as effect } from "../_libs/effect+[...].mjs";
|
|
5
5
|
import { n as DomainRpc, t as DomainApi } from "./domain-rpc-3Ds9DPr0.mjs";
|
|
6
6
|
//#region node_modules/.nitro/vite/services/ssr/assets/client-runtime-BoPuAEoA.js
|
|
7
7
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as Literals, H as ArraySchema, K as NullOr, U as Boolean, W as Literal, X as Struct, Y as String, _ as status, at as suspend, c as make, f as make$1, g as post, h as patch, it as optionalKey, m as get, p as del, q as Number, r as make$2, rt as optional, s as make$3 } from "../_libs/effect+[...].mjs";
|
|
2
2
|
import { a as CreateReviewInput, c as Review, d as Todo, f as TodoId, g as UpdateTodoInput, h as UpdateReviewInput, i as CreateCommentInput, l as ReviewId, m as UpdateCommentInput, n as CommentId, o as CreateTodoInput, p as TodoNotFound, r as CommentNotFound, s as DIFF_SCOPES, t as Comment, u as ReviewNotFound } from "./todo-m_uUvxca.mjs";
|
|
3
3
|
//#region node_modules/.nitro/vite/services/ssr/assets/domain-rpc-3Ds9DPr0.js
|
|
4
4
|
var DiffStatus = Literals([
|
|
@@ -2,7 +2,7 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
3
|
import { p as useRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
4
|
import { n as require_jsx_runtime, t as PatchDiff } from "../_libs/@pierre/diffs+[...].mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { At as sync, Et as promise, Gt as pretty, Lt as withSpan, Mt as tapCause, Nt as timeout, V as interrupt, Wt as hasInterruptsOnly, gt as ensuring, jt as tap, wt as matchCauseEffect, yt as gen } from "../_libs/effect+[...].mjs";
|
|
6
6
|
import { i as clientRuntime, t as ApiClient } from "./client-runtime-BoPuAEoA.mjs";
|
|
7
7
|
import { t as cn } from "./utils-BuOt9_LA.mjs";
|
|
8
8
|
import { b as Check, c as Folder, f as Download, l as FolderOpen, p as Clipboard, u as File, v as ChevronRight } from "../_libs/lucide-react.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as createServerFn } from "./ssr.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { dt as gen } from "../_libs/effect+[...].mjs";
|
|
2
|
+
import { yt as gen } from "../_libs/effect+[...].mjs";
|
|
4
3
|
import { s as DIFF_SCOPES } from "./todo-m_uUvxca.mjs";
|
|
4
|
+
import { t as createServerRpc } from "./createServerRpc--0mcGlWK.mjs";
|
|
5
5
|
import { a as GitService, l as getDiffSummary, u as parseDiff } from "./runtime-D9IbnMlF.mjs";
|
|
6
6
|
import { serverRuntime } from "./server-runtime-D99qpmma.mjs";
|
|
7
7
|
//#region node_modules/.nitro/vite/services/ssr/assets/load-scoped-diff-NL2XAcdz.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as createServerFn } from "./ssr.mjs";
|
|
2
|
+
import { yt as gen } from "../_libs/effect+[...].mjs";
|
|
2
3
|
import { t as createServerRpc } from "./createServerRpc--0mcGlWK.mjs";
|
|
3
|
-
import { dt as gen } from "../_libs/effect+[...].mjs";
|
|
4
4
|
import { a as GitService, l as getDiffSummary, u as parseDiff } from "./runtime-D9IbnMlF.mjs";
|
|
5
5
|
import { serverRuntime } from "./server-runtime-D99qpmma.mjs";
|
|
6
6
|
//#region node_modules/.nitro/vite/services/ssr/assets/new-BKl_G2Ks.js
|
|
@@ -2,7 +2,7 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
3
|
import { d as useNavigate, u as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
4
|
import { n as require_jsx_runtime } from "../_libs/@pierre/diffs+[...].mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { At as sync, Gt as pretty, Mt as tapCause, jt as tap, yt as gen } from "../_libs/effect+[...].mjs";
|
|
6
6
|
import { i as clientRuntime, t as ApiClient } from "./client-runtime-BoPuAEoA.mjs";
|
|
7
7
|
import { t as ActionBar } from "./action-bar-C68xGnWW.mjs";
|
|
8
8
|
import { t as Route } from "./new-BREdMFAM.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as createServerFn } from "./ssr.mjs";
|
|
2
|
+
import { yt as gen } from "../_libs/effect+[...].mjs";
|
|
2
3
|
import { t as createServerRpc } from "./createServerRpc--0mcGlWK.mjs";
|
|
3
|
-
import { dt as gen } from "../_libs/effect+[...].mjs";
|
|
4
4
|
import { o as ReviewService } from "./runtime-D9IbnMlF.mjs";
|
|
5
5
|
import { serverRuntime } from "./server-runtime-D99qpmma.mjs";
|
|
6
6
|
//#region node_modules/.nitro/vite/services/ssr/assets/reviews-C7_NIhY8.js
|
|
@@ -3,15 +3,15 @@ import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
|
3
3
|
import { a as createRouter, c as createFileRoute, l as createRootRoute, n as Scripts, o as Outlet, r as HeadContent, s as lazyRouteComponent } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
4
|
import { n as require_jsx_runtime } from "../_libs/@pierre/diffs+[...].mjs";
|
|
5
5
|
import { r as createServerFn } from "./ssr.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { At as sync, It as void_, ft as catchCause, gt as ensuring, jt as tap, yt as gen } from "../_libs/effect+[...].mjs";
|
|
7
7
|
import { s as DIFF_SCOPES } from "./todo-m_uUvxca.mjs";
|
|
8
8
|
import { a as getRingiThemeBootScript, i as clientRuntime, r as RingiThemeProvider, t as ApiClient } from "./client-runtime-BoPuAEoA.mjs";
|
|
9
9
|
import { t as createSsrRpc } from "./createSsrRpc-AwdiLXmF.mjs";
|
|
10
|
-
import { t as Route$6 } from "../_reviewId-
|
|
10
|
+
import { t as Route$6 } from "../_reviewId-CBLnTeaJ.mjs";
|
|
11
11
|
import { t as Route$7 } from "./new-BREdMFAM.mjs";
|
|
12
12
|
import { t as useKeyboardShortcuts } from "./use-keyboard-shortcuts-D5b1Mxpq.mjs";
|
|
13
13
|
import { t as Route$8 } from "./reviews-Dd69YBDa.mjs";
|
|
14
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
14
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-5hEjszhz.js
|
|
15
15
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
16
16
|
var import_jsx_runtime = require_jsx_runtime();
|
|
17
17
|
function CreateTodoForm({ onCreated }) {
|
|
@@ -327,7 +327,7 @@ var Route$1 = createFileRoute("/")({
|
|
|
327
327
|
var effectHandler = null;
|
|
328
328
|
var getHandler = async () => {
|
|
329
329
|
if (effectHandler) return effectHandler;
|
|
330
|
-
const { initApiHandler } = await import("./api-handler-
|
|
330
|
+
const { initApiHandler } = await import("./api-handler-yxu7Cbl5.mjs");
|
|
331
331
|
const { handler, dispose } = await initApiHandler();
|
|
332
332
|
effectHandler = ({ request }) => handler(request, void 0);
|
|
333
333
|
const globalHmr = globalThis;
|
|
@@ -2,7 +2,7 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
3
|
import { d as useNavigate, f as useLoaderData, p as useRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
4
|
import { n as require_jsx_runtime } from "../_libs/@pierre/diffs+[...].mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { Et as promise, G as Literals, It as void_, Q as Unknown, X as Struct, Xt as none, Yt as map, ft as catchCause, it as optionalKey, jt as tap, q as Number$1, tt as decodeUnknownOption, yt as gen } from "../_libs/effect+[...].mjs";
|
|
6
6
|
import { s as DIFF_SCOPES } from "./todo-m_uUvxca.mjs";
|
|
7
7
|
import { i as clientRuntime, t as ApiClient } from "./client-runtime-BoPuAEoA.mjs";
|
|
8
8
|
import { t as cn } from "./utils-BuOt9_LA.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as sync, B as sliding, Ct as mapError, D as string, Dt as runFork, Et as promise, Ft as try_, Ht as provide, Jt as isSome, K as NullOr, Kt as Service, Lt as withSpan, O as withDefault, Pt as tryPromise, R as offer, St as map, Tt as orElseSucceed, Ut as isSuccess, Vt as mergeAll, Y as String$1, Z as TaggedErrorClass, _t as flatMap, ct as acquireUseRelease, dt as asVoid, j as fromQueue, kt as succeed, lt as andThen, pt as catchTag, q as Number$1, qt as getOrNull, st as acquireRelease, ut as as, vt as fn, w as make, yt as gen, z as shutdown, zt as effect } from "../_libs/effect+[...].mjs";
|
|
2
2
|
import { p as TodoNotFound, r as CommentNotFound, u as ReviewNotFound } from "./todo-m_uUvxca.mjs";
|
|
3
3
|
import { t as chokidar_default } from "../_libs/chokidar+readdirp.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3819,7 +3819,7 @@ var defaultSerovalPlugins = [
|
|
|
3819
3819
|
* the dev styles URL for route-scoped CSS collection.
|
|
3820
3820
|
*/
|
|
3821
3821
|
async function getStartManifest(matchedRoutes) {
|
|
3822
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v
|
|
3822
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v--jyOFxuR.mjs");
|
|
3823
3823
|
const startManifest = tsrStartManifest();
|
|
3824
3824
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes["__root__"] || {};
|
|
3825
3825
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -3846,16 +3846,16 @@ async function getStartManifest(matchedRoutes) {
|
|
|
3846
3846
|
var manifest = {
|
|
3847
3847
|
"d17f62149492ac39d233ae8a98fd9e6f8cb42fca22b195a215054e1e2ad0ea53": {
|
|
3848
3848
|
functionName: "loadReview_createServerFn_handler",
|
|
3849
|
-
importer: () => import("../_reviewId-
|
|
3850
|
-
},
|
|
3851
|
-
"ef00136dd20ec37765a8f42cad846e072de11bf51dbffbdc25b2722522e391d3": {
|
|
3852
|
-
functionName: "listReviews_createServerFn_handler",
|
|
3853
|
-
importer: () => import("./reviews-C7_NIhY8.mjs")
|
|
3849
|
+
importer: () => import("../_reviewId-BBo0j3l1.mjs")
|
|
3854
3850
|
},
|
|
3855
3851
|
"b537fee0f6819f860391360c1ec8ca70eabf81955ba0c4b7c59a6f7391291e15": {
|
|
3856
3852
|
functionName: "loadNewReviewData_createServerFn_handler",
|
|
3857
3853
|
importer: () => import("./new-BKl_G2Ks.mjs")
|
|
3858
3854
|
},
|
|
3855
|
+
"ef00136dd20ec37765a8f42cad846e072de11bf51dbffbdc25b2722522e391d3": {
|
|
3856
|
+
functionName: "listReviews_createServerFn_handler",
|
|
3857
|
+
importer: () => import("./reviews-C7_NIhY8.mjs")
|
|
3858
|
+
},
|
|
3859
3859
|
"367245383f9546b6fd4dc5f473195892e7eabc03edaced380dedab17ad1518ad": {
|
|
3860
3860
|
functionName: "loadScopedDiff_createServerFn_handler",
|
|
3861
3861
|
importer: () => import("./load-scoped-diff-NL2XAcdz.mjs")
|
|
@@ -4955,7 +4955,7 @@ var baseManifestPromise;
|
|
|
4955
4955
|
*/
|
|
4956
4956
|
var cachedFinalManifestPromise;
|
|
4957
4957
|
async function loadEntries() {
|
|
4958
|
-
const routerEntry = await import("./router-
|
|
4958
|
+
const routerEntry = await import("./router-5hEjszhz.mjs");
|
|
4959
4959
|
return {
|
|
4960
4960
|
startEntry: await import("./start-BIQfOZtj.mjs"),
|
|
4961
4961
|
routerEntry
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as brand, G as Literals, J as OptionFromNullOr, K as NullOr, U as Boolean, X as Struct, Y as String, Z as TaggedErrorClass, et as check, it as optionalKey, nt as isMinLength, ot as withDecodingDefaultKey, q as Number } from "../_libs/effect+[...].mjs";
|
|
2
2
|
//#region node_modules/.nitro/vite/services/ssr/assets/todo-m_uUvxca.js
|
|
3
3
|
var ReviewId = String.pipe(brand("ReviewId"));
|
|
4
4
|
var DIFF_SCOPES = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v--jyOFxuR.js
|
|
2
2
|
var tsrStartManifest = () => ({
|
|
3
3
|
"routes": {
|
|
4
4
|
"__root__": {
|
|
@@ -11,7 +11,7 @@ var tsrStartManifest = () => ({
|
|
|
11
11
|
"/api/$"
|
|
12
12
|
],
|
|
13
13
|
"preloads": [
|
|
14
|
-
"/assets/main-
|
|
14
|
+
"/assets/main-BQVB_Z0Z.js",
|
|
15
15
|
"/assets/compiler-runtime-DZXZ41-q.js",
|
|
16
16
|
"/assets/preload-helper-D7oT-Xwl.js",
|
|
17
17
|
"/assets/ClientOnly-QdfAxyFs.js",
|
|
@@ -22,9 +22,9 @@ var tsrStartManifest = () => ({
|
|
|
22
22
|
"/": {
|
|
23
23
|
"filePath": "/Users/sanurb/Documents/github/personal/lab/ringi/apps/web/src/routes/index.tsx",
|
|
24
24
|
"preloads": [
|
|
25
|
-
"/assets/routes-
|
|
25
|
+
"/assets/routes-Bp_N1q52.js",
|
|
26
26
|
"/assets/utils-DElCu2hq.js",
|
|
27
|
-
"/assets/routes-
|
|
27
|
+
"/assets/routes-CdmXLllM.js",
|
|
28
28
|
"/assets/file-tree-CI3Xwwid.js",
|
|
29
29
|
"/assets/action-bar-DLRNvLjj.js"
|
|
30
30
|
]
|
|
@@ -36,7 +36,7 @@ var tsrStartManifest = () => ({
|
|
|
36
36
|
"/reviews/new",
|
|
37
37
|
"/reviews/"
|
|
38
38
|
],
|
|
39
|
-
"preloads": ["/assets/reviews-
|
|
39
|
+
"preloads": ["/assets/reviews-Cqy8KE2-.js"]
|
|
40
40
|
},
|
|
41
41
|
"/test": {
|
|
42
42
|
"filePath": "/Users/sanurb/Documents/github/personal/lab/ringi/apps/web/src/routes/test.tsx",
|
|
@@ -46,7 +46,7 @@ var tsrStartManifest = () => ({
|
|
|
46
46
|
"filePath": "/Users/sanurb/Documents/github/personal/lab/ringi/apps/web/src/routes/reviews/$reviewId.tsx",
|
|
47
47
|
"preloads": [
|
|
48
48
|
"/assets/_reviewId-CmXHvWLn.js",
|
|
49
|
-
"/assets/_reviewId-
|
|
49
|
+
"/assets/_reviewId-DszBZzPS.js",
|
|
50
50
|
"/assets/file-tree-CI3Xwwid.js",
|
|
51
51
|
"/assets/action-bar-DLRNvLjj.js",
|
|
52
52
|
"/assets/utils-DElCu2hq.js"
|
|
@@ -54,18 +54,18 @@ var tsrStartManifest = () => ({
|
|
|
54
54
|
},
|
|
55
55
|
"/reviews/new": {
|
|
56
56
|
"filePath": "/Users/sanurb/Documents/github/personal/lab/ringi/apps/web/src/routes/reviews/new.tsx",
|
|
57
|
-
"preloads": ["/assets/new-
|
|
57
|
+
"preloads": ["/assets/new-BpF6zgAP.js", "/assets/action-bar-DLRNvLjj.js"]
|
|
58
58
|
},
|
|
59
59
|
"/reviews/": {
|
|
60
60
|
"filePath": "/Users/sanurb/Documents/github/personal/lab/ringi/apps/web/src/routes/reviews/index.tsx",
|
|
61
61
|
"preloads": [
|
|
62
|
-
"/assets/reviews-
|
|
62
|
+
"/assets/reviews-YuW-Er6I.js",
|
|
63
63
|
"/assets/action-bar-DLRNvLjj.js",
|
|
64
64
|
"/assets/utils-DElCu2hq.js"
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
"clientEntry": "/assets/main-
|
|
68
|
+
"clientEntry": "/assets/main-BQVB_Z0Z.js"
|
|
69
69
|
});
|
|
70
70
|
//#endregion
|
|
71
71
|
export { tsrStartManifest };
|