appos 0.8.1-0 → 0.8.2-0
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/{alert-BLZQBH-J.js → alert-D8p18fEi.js} +1 -1
- package/dist/{animated-check-BHZb4K9z.js → animated-check-Dx73WV4f.js} +1 -1
- package/dist/api/auth.d.mts +3 -3
- package/dist/api/auth.mjs +2 -2
- package/dist/api/cache.d.mts +2 -2
- package/dist/api/cache.mjs +1 -1
- package/dist/api/cli.d.mts +5 -5
- package/dist/api/cli.mjs +26 -26
- package/dist/api/container.d.mts +5 -5
- package/dist/api/container.mjs +2 -2
- package/dist/api/database.d.mts +2 -2
- package/dist/api/database.mjs +2 -2
- package/dist/api/event.d.mts +5 -5
- package/dist/api/event.mjs +3 -3
- package/dist/api/instrumentation.d.mts +1 -1
- package/dist/api/instrumentation.mjs +2 -2
- package/dist/api/mailer.d.mts +5 -5
- package/dist/api/mailer.mjs +6 -6
- package/dist/api/observability.d.mts +3 -3
- package/dist/api/observability.mjs +1 -1
- package/dist/api/openapi.d.mts +5 -5
- package/dist/api/openapi.mjs +3 -3
- package/dist/api/server.d.mts +5 -5
- package/dist/api/server.mjs +6 -6
- package/dist/api/ssr.d.mts +5 -5
- package/dist/api/ssr.mjs +4 -4
- package/dist/api/storage.d.mts +5 -5
- package/dist/api/storage.mjs +7 -7
- package/dist/api/worker.mjs +1 -1
- package/dist/api/workflow.d.mts +5 -5
- package/dist/api/workflow.mjs +5 -5
- package/dist/app-context-Lgi1UZsb.mjs +3 -0
- package/dist/{auth-BXsqcr3M.d.mts → auth-BP1r923m.d.mts} +310 -310
- package/dist/{auth-KXhJO6SZ.d.ts → auth-COjG-1Z-.d.ts} +25 -25
- package/dist/{badge-C9UmcYXH.js → badge-SAGMxRsc.js} +1 -1
- package/dist/{brand-bR3Qvbj2.d.ts → brand-CtZBhIEA.d.ts} +7 -7
- package/dist/{brand-CP_hLd1Q.js → brand-DnRkdj7V.js} +1 -1
- package/dist/{button-aFstqCiP.js → button-DLhbOhOV.js} +1 -1
- package/dist/{cache-D5GuNPWV.d.mts → cache-M0z3800A.d.mts} +1 -1
- package/dist/{card-BRSg6YkA.js → card-Bng7huZY.js} +1 -1
- package/dist/{checkbox-Z9hgC0Aw.js → checkbox-Dw7Z3UOS.js} +1 -1
- package/dist/{colors-AFh2mCN3.mjs → colors-BNWHnGHM.mjs} +3 -3
- package/dist/colors-ChJl116-.mjs +3 -0
- package/dist/{constants-B9lIPmVJ.mjs → constants-CRJ98Uqw.mjs} +1 -1
- package/dist/{container-BQ6IiqJi.d.mts → container-CPQ9ezcN.d.mts} +55 -55
- package/dist/{database-CVyZx9VE.d.mts → database-CxDXJbvJ.d.mts} +2 -2
- package/dist/{database-BcxxFTqM.mjs → database-D4lcySbM.mjs} +2 -2
- package/dist/devtools/test.d.mts +8 -8
- package/dist/devtools/test.mjs +8 -8
- package/dist/devtools/vite.d.mts +1 -1
- package/dist/devtools/vite.mjs +14 -14
- package/dist/{empty-DcqbFcxI.js → empty-DMVQeDoW.js} +1 -1
- package/dist/{event-DHcIKvjV.mjs → event-u9BgBDEk.mjs} +2 -2
- package/dist/{field-C9yvlv77.js → field-lDjAzuCR.js} +3 -3
- package/dist/{input-Dqc5b2pI.js → input-DiW5ycTG.js} +1 -1
- package/dist/{input-otp-CN9UVpZk.js → input-otp-DLJSuqk8.js} +1 -1
- package/dist/{instrumentation-BdtoyVx3.mjs → instrumentation-NIH3Iibm.mjs} +1 -1
- package/dist/{label-1PpkyBNL.js → label-sDujRQCw.js} +1 -1
- package/dist/{observability-CwElnVqd.d.mts → observability-CeiD9O-v.d.mts} +2 -2
- package/dist/{openapi-B1PyWMyh.mjs → openapi-Cn0LQKgk.mjs} +6 -6
- package/dist/panel-BmYhfWpr.mjs +5 -0
- package/dist/{panel-CzOG5eRg.mjs → panel-Y2Ui4IUj.mjs} +2 -2
- package/dist/{routes-aXhmNRmw.mjs → routes-BqRnVH3L.mjs} +1 -1
- package/dist/routes-CC9wSK9g.mjs +4 -0
- package/dist/{separator-BK0GUHKc.js → separator-vfI-hGk2.js} +1 -1
- package/dist/{server-DWpe-kaU.mjs → server-BdaZTfDQ.mjs} +55 -55
- package/dist/{spinner-Xt3iWLLl.js → spinner-Dy9qr_gt.js} +1 -1
- package/dist/{textarea-Bm-1OnR2.js → textarea-CGZiDgfZ.js} +1 -1
- package/dist/universal/colors.js +3 -3
- package/dist/{utils-DFfiII7n.d.ts → utils-CEr0Glzq.d.ts} +2 -2
- package/dist/web/auth.d.ts +3 -3
- package/dist/web/auth.js +1 -1
- package/dist/web/hooks.js +1 -1
- package/dist/web/i18n.d.ts +25 -23
- package/dist/web/i18n.js +11 -3
- package/dist/web/ui/accordion.d.ts +5 -5
- package/dist/web/ui/accordion.js +1 -1
- package/dist/web/ui/alert-dialog.d.ts +13 -13
- package/dist/web/ui/alert-dialog.js +2 -2
- package/dist/web/ui/alert.d.ts +8 -8
- package/dist/web/ui/alert.js +2 -2
- package/dist/web/ui/animated-check.d.ts +3 -3
- package/dist/web/ui/animated-check.js +2 -2
- package/dist/web/ui/aspect-ratio.d.ts +2 -2
- package/dist/web/ui/aspect-ratio.js +1 -1
- package/dist/web/ui/auth.d.ts +3 -3
- package/dist/web/ui/auth.js +17 -17
- package/dist/web/ui/avatar.d.ts +7 -7
- package/dist/web/ui/avatar.js +1 -1
- package/dist/web/ui/badge.d.ts +3 -3
- package/dist/web/ui/badge.js +2 -2
- package/dist/web/ui/brand.d.ts +2 -2
- package/dist/web/ui/brand.js +2 -2
- package/dist/web/ui/breadcrumb.d.ts +7 -7
- package/dist/web/ui/breadcrumb.js +1 -1
- package/dist/web/ui/button-group.d.ts +4 -4
- package/dist/web/ui/button-group.js +2 -2
- package/dist/web/ui/button.d.ts +6 -6
- package/dist/web/ui/button.js +2 -2
- package/dist/web/ui/calendar.d.ts +3 -3
- package/dist/web/ui/calendar.js +14 -14
- package/dist/web/ui/card.d.ts +8 -8
- package/dist/web/ui/card.js +2 -2
- package/dist/web/ui/carousel.d.ts +6 -6
- package/dist/web/ui/carousel.js +6 -6
- package/dist/web/ui/chart.d.ts +5 -5
- package/dist/web/ui/chart.js +2 -2
- package/dist/web/ui/checkbox.d.ts +2 -2
- package/dist/web/ui/checkbox.js +2 -2
- package/dist/web/ui/collapsible.d.ts +4 -4
- package/dist/web/ui/command.d.ts +10 -10
- package/dist/web/ui/command.js +4 -4
- package/dist/web/ui/context-menu.d.ts +16 -16
- package/dist/web/ui/context-menu.js +1 -1
- package/dist/web/ui/dialog.d.ts +11 -11
- package/dist/web/ui/dialog.js +2 -2
- package/dist/web/ui/drawer.d.ts +11 -11
- package/dist/web/ui/drawer.js +1 -1
- package/dist/web/ui/dropdown-menu.d.ts +16 -16
- package/dist/web/ui/dropdown-menu.js +1 -1
- package/dist/web/ui/empty.d.ts +9 -9
- package/dist/web/ui/empty.js +2 -2
- package/dist/web/ui/error-page.d.ts +2 -2
- package/dist/web/ui/error-page.js +2 -2
- package/dist/web/ui/field.d.ts +14 -14
- package/dist/web/ui/field.js +4 -4
- package/dist/web/ui/hover-card.d.ts +4 -4
- package/dist/web/ui/hover-card.js +1 -1
- package/dist/web/ui/input-group.js +4 -4
- package/dist/web/ui/input-otp.d.ts +5 -5
- package/dist/web/ui/input-otp.js +2 -2
- package/dist/web/ui/input.d.ts +2 -2
- package/dist/web/ui/input.js +2 -2
- package/dist/web/ui/item.d.ts +15 -15
- package/dist/web/ui/item.js +2 -2
- package/dist/web/ui/kbd.d.ts +3 -3
- package/dist/web/ui/kbd.js +1 -1
- package/dist/web/ui/label.d.ts +2 -2
- package/dist/web/ui/label.js +2 -2
- package/dist/web/ui/menubar.d.ts +17 -17
- package/dist/web/ui/menubar.js +1 -1
- package/dist/web/ui/navigation-menu.d.ts +11 -11
- package/dist/web/ui/navigation-menu.js +1 -1
- package/dist/web/ui/pagination.d.ts +8 -8
- package/dist/web/ui/pagination.js +2 -2
- package/dist/web/ui/popover.d.ts +7 -7
- package/dist/web/ui/popover.js +1 -1
- package/dist/web/ui/progress.d.ts +6 -6
- package/dist/web/ui/progress.js +1 -1
- package/dist/web/ui/radio-group.d.ts +3 -3
- package/dist/web/ui/radio-group.js +1 -1
- package/dist/web/ui/resizable.d.ts +4 -4
- package/dist/web/ui/resizable.js +1 -1
- package/dist/web/ui/scroll-area.d.ts +3 -3
- package/dist/web/ui/scroll-area.js +1 -1
- package/dist/web/ui/select.d.ts +10 -10
- package/dist/web/ui/select.js +1 -1
- package/dist/web/ui/separator.d.ts +2 -2
- package/dist/web/ui/separator.js +2 -2
- package/dist/web/ui/sheet.d.ts +9 -9
- package/dist/web/ui/sheet.js +2 -2
- package/dist/web/ui/sidebar.d.ts +21 -21
- package/dist/web/ui/sidebar.js +6 -6
- package/dist/web/ui/skeleton.d.ts +2 -2
- package/dist/web/ui/skeleton.js +1 -1
- package/dist/web/ui/slider.d.ts +2 -2
- package/dist/web/ui/slider.js +1 -1
- package/dist/web/ui/sonner.d.ts +2 -2
- package/dist/web/ui/spinner.d.ts +2 -2
- package/dist/web/ui/spinner.js +2 -2
- package/dist/web/ui/switch.d.ts +2 -2
- package/dist/web/ui/switch.js +1 -1
- package/dist/web/ui/table.d.ts +9 -9
- package/dist/web/ui/table.js +1 -1
- package/dist/web/ui/tabs.d.ts +8 -8
- package/dist/web/ui/tabs.js +1 -1
- package/dist/web/ui/textarea.d.ts +2 -2
- package/dist/web/ui/textarea.js +2 -2
- package/dist/web/ui/toggle-group.d.ts +3 -3
- package/dist/web/ui/toggle-group.js +1 -1
- package/dist/web/ui/toggle.d.ts +5 -5
- package/dist/web/ui/toggle.js +1 -1
- package/dist/web/ui/tooltip.d.ts +5 -5
- package/dist/web/ui/tooltip.js +1 -1
- package/dist/{workflow-DHrvWAKN.mjs → workflow-C7hiMGN4.mjs} +5 -5
- package/package.json +7 -6
- package/src/devtools/storybook/.storybook/main.ts +10 -6
- package/src/devtools/storybook/shims/use-sync-external-store/shim/index.js +10 -0
- package/src/devtools/storybook/shims/use-sync-external-store/shim/with-selector.js +157 -0
- package/src/web/auth.ts +0 -1
- package/src/web/client/react-router.ts +2 -1
- package/src/web/i18n.ts +13 -7
- package/src/web/routes/auth/_layout.tsx +0 -1
- package/src/web/routes.ts +0 -1
- package/src/web/ui/auth/index.ts +24 -19
- package/src/web/ui/button.tsx +2 -7
- package/dist/app-context-Cossa4Qc.mjs +0 -3
- package/dist/colors-CtIXNATb.mjs +0 -3
- package/dist/panel-Cn4rsWOK.mjs +0 -5
- package/dist/routes-BFhXdAcu.mjs +0 -4
- package/src/web/index.ts +0 -41
- /package/dist/{app-context-CaxDuPj-.mjs → app-context-D1ZdyKbf.mjs} +0 -0
- /package/dist/{auth-BBivVOI9.mjs → auth-Bo3zawb1.mjs} +0 -0
- /package/dist/{auth-schema-OUnjUQlj.mjs → auth-schema-DF53iTDS.mjs} +0 -0
- /package/dist/{chunk-BkPCcwIn.mjs → chunk-Bjknorp7.mjs} +0 -0
- /package/dist/{context-Em_SQYw0.js → context-hM-p7Yvk.js} +0 -0
- /package/dist/{context-9Yd81kh5.mjs → context-tMoLkr9-.mjs} +0 -0
- /package/dist/{env-C-0yH_Q3.mjs → env-Dy3oGNWp.mjs} +0 -0
- /package/dist/{instrumentation-DL2LQsyM.d.mts → instrumentation-Xc5_P1bJ.d.mts} +0 -0
- /package/dist/{logger-Dn_A3ouT.d.mts → logger-C8gOLrUv.d.mts} +0 -0
- /package/dist/{redis-a5sw5J3L.mjs → redis-DwTSiGWI.mjs} +0 -0
- /package/dist/{use-mobile-tViORilI.js → use-mobile-A85-YZ1j.js} +0 -0
- /package/dist/{utils-BV8j6NbO.js → utils-C7VSFtlY.js} +0 -0
- /package/dist/{vite-compat-DaoxY3IL.mjs → vite-compat-Oc8CvUEd.mjs} +0 -0
- /package/dist/{worker-D4L3BmuS.mjs → worker-Dv-oM9rL.mjs} +0 -0
- /package/dist/{youch-handler-DfBgXQra.mjs → youch-handler-DmUj_vMi.mjs} +0 -0
package/dist/api/auth.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import { a as AuthCaptchaConfig, c as AuthSessionConfig, d as defineAuth, f as defineEndpointRateLimits, i as Auth, l as DefineAuthOptions, n as AccessController, o as AuthConfig, p as defineAuthSchema, r as AuditAction, s as AuthPasskeyConfig, t as AccessControlRoles, u as auditActionSchema } from "../auth-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import { a as AuthCaptchaConfig, c as AuthSessionConfig, d as defineAuth, f as defineEndpointRateLimits, i as Auth, l as DefineAuthOptions, n as AccessController, o as AuthConfig, p as defineAuthSchema, r as AuditAction, s as AuthPasskeyConfig, t as AccessControlRoles, u as auditActionSchema } from "../auth-BP1r923m.mjs";
|
|
4
4
|
export { AccessControlRoles, AccessController, AuditAction, Auth, AuthCaptchaConfig, AuthConfig, AuthPasskeyConfig, AuthSessionConfig, DefineAuthOptions, auditActionSchema, defineAuth, defineAuthSchema, defineEndpointRateLimits };
|
package/dist/api/auth.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as AUTH_BASE_URL, t as AUTH_BASE_PATH } from "../auth-
|
|
2
|
-
import { t as defineAuthSchema } from "../auth-schema-
|
|
1
|
+
import { n as AUTH_BASE_URL, t as AUTH_BASE_PATH } from "../auth-Bo3zawb1.mjs";
|
|
2
|
+
import { t as defineAuthSchema } from "../auth-schema-DF53iTDS.mjs";
|
|
3
3
|
import { passkey } from "@better-auth/passkey";
|
|
4
4
|
import { sso } from "@better-auth/sso";
|
|
5
5
|
import { betterAuth } from "better-auth";
|
package/dist/api/cache.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import { a as RedisClient, i as DefineRedisClientOptions, n as DefineCacheOptions, o as defineRedisClient, r as defineCache, t as Cache } from "../cache-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import { a as RedisClient, i as DefineRedisClientOptions, n as DefineCacheOptions, o as defineRedisClient, r as defineCache, t as Cache } from "../cache-M0z3800A.mjs";
|
|
3
3
|
export { Cache, DefineCacheOptions, DefineRedisClientOptions, RedisClient, defineCache, defineRedisClient };
|
package/dist/api/cache.mjs
CHANGED
package/dist/api/cli.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { n as Container } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { n as Container } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { ChildProcess } from "node:child_process";
|
|
8
8
|
import * as p from "@clack/prompts";
|
package/dist/api/cli.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../auth-schema-
|
|
2
|
-
import "../redis-
|
|
3
|
-
import { C as version, a as COMMANDS_DIR, b as TEST_EXTENSIONS, f as FILE_EXT, h as MAIN_ENTRY, o as DATABASES_DIR, p as FIXTURES_DIR, r as BUILD_DIR, t as APPOS_DIR, u as EMAIL_THEME_FILE, v as ROOT_CSS_FILE, x as WEB_DIR } from "../constants-
|
|
4
|
-
import { a as loadEvents } from "../event-
|
|
5
|
-
import { i as loadWorkflows } from "../workflow-
|
|
6
|
-
import { r as defineMigrationOpts } from "../database-
|
|
7
|
-
import { t as defineServer } from "../server-
|
|
8
|
-
import "../instrumentation-
|
|
9
|
-
import "../app-context-
|
|
10
|
-
import "../openapi-
|
|
11
|
-
import "../context-
|
|
12
|
-
import { t as defineWorker } from "../worker-
|
|
1
|
+
import "../auth-schema-DF53iTDS.mjs";
|
|
2
|
+
import "../redis-DwTSiGWI.mjs";
|
|
3
|
+
import { C as version, a as COMMANDS_DIR, b as TEST_EXTENSIONS, f as FILE_EXT, h as MAIN_ENTRY, o as DATABASES_DIR, p as FIXTURES_DIR, r as BUILD_DIR, t as APPOS_DIR, u as EMAIL_THEME_FILE, v as ROOT_CSS_FILE, x as WEB_DIR } from "../constants-CRJ98Uqw.mjs";
|
|
4
|
+
import { a as loadEvents } from "../event-u9BgBDEk.mjs";
|
|
5
|
+
import { i as loadWorkflows } from "../workflow-C7hiMGN4.mjs";
|
|
6
|
+
import { r as defineMigrationOpts } from "../database-D4lcySbM.mjs";
|
|
7
|
+
import { t as defineServer } from "../server-BdaZTfDQ.mjs";
|
|
8
|
+
import "../instrumentation-NIH3Iibm.mjs";
|
|
9
|
+
import "../app-context-D1ZdyKbf.mjs";
|
|
10
|
+
import "../openapi-Cn0LQKgk.mjs";
|
|
11
|
+
import "../context-tMoLkr9-.mjs";
|
|
12
|
+
import { t as defineWorker } from "../worker-Dv-oM9rL.mjs";
|
|
13
13
|
import { createRequire } from "node:module";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import path, { dirname, join } from "node:path";
|
|
@@ -58,9 +58,9 @@ function defineCommandContext(args, opts, container) {
|
|
|
58
58
|
error(message) {
|
|
59
59
|
p.log.error(message);
|
|
60
60
|
},
|
|
61
|
-
async exec(command, args
|
|
62
|
-
return new Promise((resolve
|
|
63
|
-
const proc = spawn(command, args
|
|
61
|
+
async exec(command, args) {
|
|
62
|
+
return new Promise((resolve, reject) => {
|
|
63
|
+
const proc = spawn(command, args, {
|
|
64
64
|
stdio: [
|
|
65
65
|
"inherit",
|
|
66
66
|
"pipe",
|
|
@@ -73,7 +73,7 @@ function defineCommandContext(args, opts, container) {
|
|
|
73
73
|
stderr += data.toString();
|
|
74
74
|
});
|
|
75
75
|
proc.on("close", (code) => {
|
|
76
|
-
if (code === 0) resolve
|
|
76
|
+
if (code === 0) resolve();
|
|
77
77
|
else reject(new Error(stderr || `Command failed with exit code ${code}`));
|
|
78
78
|
});
|
|
79
79
|
proc.on("error", reject);
|
|
@@ -84,7 +84,7 @@ function defineCommandContext(args, opts, container) {
|
|
|
84
84
|
p.outro(colors.red("Failed"));
|
|
85
85
|
process.exit(1);
|
|
86
86
|
},
|
|
87
|
-
run(command, args
|
|
87
|
+
run(command, args) {
|
|
88
88
|
let binPath = "";
|
|
89
89
|
let dir = process.cwd();
|
|
90
90
|
while (dir !== "/") {
|
|
@@ -95,7 +95,7 @@ function defineCommandContext(args, opts, container) {
|
|
|
95
95
|
}
|
|
96
96
|
dir = dirname(dir);
|
|
97
97
|
}
|
|
98
|
-
const proc = spawn(command, args
|
|
98
|
+
const proc = spawn(command, args, {
|
|
99
99
|
stdio: "inherit",
|
|
100
100
|
cwd: process.cwd(),
|
|
101
101
|
env: {
|
|
@@ -105,9 +105,9 @@ function defineCommandContext(args, opts, container) {
|
|
|
105
105
|
});
|
|
106
106
|
return {
|
|
107
107
|
proc,
|
|
108
|
-
promise: new Promise((resolve
|
|
108
|
+
promise: new Promise((resolve, reject) => {
|
|
109
109
|
proc.on("close", (code) => {
|
|
110
|
-
if (code === 0) resolve
|
|
110
|
+
if (code === 0) resolve();
|
|
111
111
|
else reject(/* @__PURE__ */ new Error(`${command} failed with exit code ${code}`));
|
|
112
112
|
});
|
|
113
113
|
proc.on("error", reject);
|
|
@@ -293,11 +293,11 @@ function matchesPattern(name, pattern) {
|
|
|
293
293
|
}
|
|
294
294
|
/** Check if a package is a runtime external (should be collected). */
|
|
295
295
|
function isRuntimeExternal(name) {
|
|
296
|
-
return EXTERNALS.runtime.some((p
|
|
296
|
+
return EXTERNALS.runtime.some((p) => matchesPattern(name, p));
|
|
297
297
|
}
|
|
298
298
|
/** Check if a package should be skipped during collection. */
|
|
299
299
|
function shouldSkip(name) {
|
|
300
|
-
return EXTERNALS.skip.some((p
|
|
300
|
+
return EXTERNALS.skip.some((p) => name.startsWith(p));
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
303
|
* Get all externals for esbuild bundling.
|
|
@@ -494,7 +494,7 @@ var build_default = defineCommand({
|
|
|
494
494
|
await cp(`./${APPOS_DIR}/${DATABASES_DIR}`, `${outdir}/${APPOS_DIR}/${DATABASES_DIR}`, { recursive: true });
|
|
495
495
|
const rootCssPath = join(process.cwd(), WEB_DIR, ROOT_CSS_FILE);
|
|
496
496
|
if (existsSync(rootCssPath)) {
|
|
497
|
-
const { parseThemeFromString } = await import("../colors-
|
|
497
|
+
const { parseThemeFromString } = await import("../colors-ChJl116-.mjs");
|
|
498
498
|
const theme = parseThemeFromString(await readFile(rootCssPath, "utf-8"));
|
|
499
499
|
const emailTheme = {
|
|
500
500
|
background: theme.background,
|
|
@@ -1600,8 +1600,8 @@ var start_default = defineCommand({
|
|
|
1600
1600
|
}
|
|
1601
1601
|
dir = dirname(dir);
|
|
1602
1602
|
}
|
|
1603
|
-
const { spawn
|
|
1604
|
-
storybookProc = spawn
|
|
1603
|
+
const { spawn } = await import("node:child_process");
|
|
1604
|
+
storybookProc = spawn("storybook", [
|
|
1605
1605
|
"dev",
|
|
1606
1606
|
"-p",
|
|
1607
1607
|
"6006",
|
|
@@ -1721,7 +1721,7 @@ function scanCommands(dir, baseDir = dir) {
|
|
|
1721
1721
|
* @returns Command name (e.g., "db:push")
|
|
1722
1722
|
*/
|
|
1723
1723
|
function pathToCommandName(filePath, commandsDir) {
|
|
1724
|
-
return path.relative(commandsDir, filePath).replace(
|
|
1724
|
+
return path.relative(commandsDir, filePath).replace(new RegExp(`\\.${FILE_EXT}$`), "").replace(/\//g, ":");
|
|
1725
1725
|
}
|
|
1726
1726
|
/**
|
|
1727
1727
|
* Parse command line arguments into args and options.
|
package/dist/api/container.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { An as DefineAppContextOpts, Mn as defineAppContext, On as isLocalDev, a as defineAppContainer, i as WorkerConfig, jn as SessionData, kn as AppContext, n as Container, r as ServerConfig, t as AppContainer } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { An as DefineAppContextOpts, Mn as defineAppContext, On as isLocalDev, a as defineAppContainer, i as WorkerConfig, jn as SessionData, kn as AppContext, n as Container, r as ServerConfig, t as AppContainer } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { AppContainer, AppContext, Container, DefineAppContextOpts, ServerConfig, SessionData, WorkerConfig, defineAppContainer, defineAppContext, isLocalDev };
|
package/dist/api/container.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as defineAppContext } from "../app-context-
|
|
2
|
-
import { t as isLocalDev } from "../env-
|
|
1
|
+
import { t as defineAppContext } from "../app-context-D1ZdyKbf.mjs";
|
|
2
|
+
import { t as isLocalDev } from "../env-Dy3oGNWp.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/container.ts
|
|
5
5
|
/**
|
package/dist/api/database.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import { a as QualifiedTableNames, c as defineMigrationOpts, i as MigrationType, l as defineTestDatabase, n as DefineDatabaseOptions, o as dbChanges, r as DefineTestDatabaseOptions, s as defineDatabase, t as Database, u as migrationsSchema } from "../database-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import { a as QualifiedTableNames, c as defineMigrationOpts, i as MigrationType, l as defineTestDatabase, n as DefineDatabaseOptions, o as dbChanges, r as DefineTestDatabaseOptions, s as defineDatabase, t as Database, u as migrationsSchema } from "../database-CxDXJbvJ.mjs";
|
|
3
3
|
export * from "drizzle-orm";
|
|
4
4
|
export * from "drizzle-seed";
|
|
5
5
|
export { Database, DefineDatabaseOptions, DefineTestDatabaseOptions, MigrationType, QualifiedTableNames, dbChanges, defineDatabase, defineMigrationOpts, defineTestDatabase, migrationsSchema };
|
package/dist/api/database.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../constants-
|
|
2
|
-
import { a as migrationsSchema, i as defineTestDatabase, n as defineDatabase, r as defineMigrationOpts, t as dbChanges } from "../database-
|
|
1
|
+
import "../constants-CRJ98Uqw.mjs";
|
|
2
|
+
import { a as migrationsSchema, i as defineTestDatabase, n as defineDatabase, r as defineMigrationOpts, t as dbChanges } from "../database-D4lcySbM.mjs";
|
|
3
3
|
|
|
4
4
|
export * from "drizzle-orm"
|
|
5
5
|
|
package/dist/api/event.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { Bn as defineEvent, Fn as Event, Hn as loadEvents, In as EventBus, Ln as EventContext, Nn as DbChangeInput, Pn as DefineEventBusOptions, Rn as dbChangeInputSchema, Vn as defineEventBus, zn as dbChangesEvent } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { Bn as defineEvent, Fn as Event, Hn as loadEvents, In as EventBus, Ln as EventContext, Nn as DbChangeInput, Pn as DefineEventBusOptions, Rn as dbChangeInputSchema, Vn as defineEventBus, zn as dbChangesEvent } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { DbChangeInput, DefineEventBusOptions, Event, EventBus, EventContext, dbChangeInputSchema, dbChangesEvent, defineEvent, defineEventBus, loadEvents };
|
package/dist/api/event.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../redis-
|
|
2
|
-
import "../constants-
|
|
3
|
-
import { a as loadEvents, i as defineEventBus, n as dbChangesEvent, r as defineEvent, t as dbChangeInputSchema } from "../event-
|
|
1
|
+
import "../redis-DwTSiGWI.mjs";
|
|
2
|
+
import "../constants-CRJ98Uqw.mjs";
|
|
3
|
+
import { a as loadEvents, i as defineEventBus, n as dbChangesEvent, r as defineEvent, t as dbChangeInputSchema } from "../event-u9BgBDEk.mjs";
|
|
4
4
|
|
|
5
5
|
export { dbChangeInputSchema, dbChangesEvent, defineEvent, defineEventBus, loadEvents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __reExport } from "../chunk-
|
|
2
|
-
import { t as instrumentation_exports$1 } from "../instrumentation-
|
|
1
|
+
import { n as __reExport } from "../chunk-Bjknorp7.mjs";
|
|
2
|
+
import { t as instrumentation_exports$1 } from "../instrumentation-NIH3Iibm.mjs";
|
|
3
3
|
|
|
4
4
|
export * from "@opentelemetry/api"
|
|
5
5
|
|
package/dist/api/mailer.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { $ as EmailButtonProps, A as Row, B as render, C as MailerPayloadReact, D as Preview, E as MarkdownProps, F as TailwindProps, G as EmailTheme, H as EmailLayout, I as defineEmail, J as getDefaultEmailTheme, K as defineEmailTailwindConfig, L as defineMailer, M as Section, N as SectionProps, O as PreviewProps, P as Tailwind, Q as Container, R as plainTextSelectors, S as MailerPayloadHtml, T as Markdown, U as EmailLayoutProps, V as toPlainText, W as EMAIL_THEME_KEYS, X as CodeBlock, Y as Button, Z as CodeInline, _ as HeadProps, _t as emailImgVariantKeys, at as EmailImgProps, b as Mailer, c as DefineEmailOptions, ct as Heading, d as EmailColumn, dt as Link, et as EmailCodeBlockProps, f as EmailColumnProps, ft as Text, g as Head, gt as emailHeadingSizeKeys, h as FontProps, ht as emailContainerVariantKeys, it as EmailHrProps, j as RowProps, k as RenderOptions, l as DefineMailerOptions, lt as Hr, m as Font, mt as emailButtonVariantKeys, nt as EmailContainerProps, o as Body, ot as EmailLinkProps, p as EmailComponent, pt as emailButtonSizeKeys, q as defineEmailTheme, rt as EmailHeadingProps, s as BodyProps, st as EmailTextProps, tt as EmailCodeInlineProps, u as DefineMailerOptionsWithQueue, ut as Img, v as Html, vt as emailTextVariantKeys, w as MailerWithQueue, x as MailerPayload, y as HtmlProps, z as pretty } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { $ as EmailButtonProps, A as Row, B as render, C as MailerPayloadReact, D as Preview, E as MarkdownProps, F as TailwindProps, G as EmailTheme, H as EmailLayout, I as defineEmail, J as getDefaultEmailTheme, K as defineEmailTailwindConfig, L as defineMailer, M as Section, N as SectionProps, O as PreviewProps, P as Tailwind, Q as Container, R as plainTextSelectors, S as MailerPayloadHtml, T as Markdown, U as EmailLayoutProps, V as toPlainText, W as EMAIL_THEME_KEYS, X as CodeBlock, Y as Button, Z as CodeInline, _ as HeadProps, _t as emailImgVariantKeys, at as EmailImgProps, b as Mailer, c as DefineEmailOptions, ct as Heading, d as EmailColumn, dt as Link, et as EmailCodeBlockProps, f as EmailColumnProps, ft as Text, g as Head, gt as emailHeadingSizeKeys, h as FontProps, ht as emailContainerVariantKeys, it as EmailHrProps, j as RowProps, k as RenderOptions, l as DefineMailerOptions, lt as Hr, m as Font, mt as emailButtonVariantKeys, nt as EmailContainerProps, o as Body, ot as EmailLinkProps, p as EmailComponent, pt as emailButtonSizeKeys, q as defineEmailTheme, rt as EmailHeadingProps, s as BodyProps, st as EmailTextProps, tt as EmailCodeInlineProps, u as DefineMailerOptionsWithQueue, ut as Img, v as Html, vt as emailTextVariantKeys, w as MailerWithQueue, x as MailerPayload, y as HtmlProps, z as pretty } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { Body, BodyProps, Button, CodeBlock, CodeInline, DefineEmailOptions, DefineMailerOptions, DefineMailerOptionsWithQueue, EMAIL_THEME_KEYS, EmailButtonProps, EmailCodeBlockProps, EmailCodeInlineProps, EmailColumn, EmailColumnProps, EmailComponent, Container as EmailContainer, EmailContainerProps, EmailHeadingProps, EmailHrProps, EmailImgProps, EmailLayout, EmailLayoutProps, EmailLinkProps, EmailTextProps, EmailTheme, Font, FontProps, Head, HeadProps, Heading, Hr, Html, HtmlProps, Img, Link, Mailer, MailerPayload, MailerPayloadHtml, MailerPayloadReact, MailerWithQueue, Markdown, MarkdownProps, Preview, PreviewProps, RenderOptions, Row, RowProps, Section, SectionProps, Tailwind, TailwindProps, Text, defineEmail, defineEmailTailwindConfig, defineEmailTheme, defineMailer, emailButtonSizeKeys, emailButtonVariantKeys, emailContainerVariantKeys, emailHeadingSizeKeys, emailImgVariantKeys, emailTextVariantKeys, getDefaultEmailTheme, plainTextSelectors, pretty, render, toPlainText };
|
package/dist/api/mailer.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../auth-schema-
|
|
2
|
-
import "../redis-
|
|
3
|
-
import { i as BUILD_OUTPUT_DIR, u as EMAIL_THEME_FILE, v as ROOT_CSS_FILE, x as WEB_DIR } from "../constants-
|
|
4
|
-
import "../event-
|
|
5
|
-
import { a as sendEmail } from "../workflow-
|
|
6
|
-
import { n as parseThemeFromString } from "../colors-
|
|
1
|
+
import "../auth-schema-DF53iTDS.mjs";
|
|
2
|
+
import "../redis-DwTSiGWI.mjs";
|
|
3
|
+
import { i as BUILD_OUTPUT_DIR, u as EMAIL_THEME_FILE, v as ROOT_CSS_FILE, x as WEB_DIR } from "../constants-CRJ98Uqw.mjs";
|
|
4
|
+
import "../event-u9BgBDEk.mjs";
|
|
5
|
+
import { a as sendEmail } from "../workflow-C7hiMGN4.mjs";
|
|
6
|
+
import { n as parseThemeFromString } from "../colors-BNWHnGHM.mjs";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
import { existsSync, readFileSync } from "node:fs";
|
|
9
9
|
import { render as render$1 } from "@react-email/render";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Logger, r as defineLogger, t as DefineLoggerOptions } from "../logger-
|
|
2
|
-
import "../instrumentation-
|
|
3
|
-
import { n as withOtelSpan } from "../observability-
|
|
1
|
+
import { n as Logger, r as defineLogger, t as DefineLoggerOptions } from "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../instrumentation-Xc5_P1bJ.mjs";
|
|
3
|
+
import { n as withOtelSpan } from "../observability-CeiD9O-v.mjs";
|
|
4
4
|
export { DefineLoggerOptions, Logger, defineLogger, withOtelSpan };
|
package/dist/api/openapi.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { $t as DefineOpenAPIConfigInput, Qt as DefineOpenAPIConfig, an as RouteModule, cn as defineOpenAPIConfig, dn as generateOpenAPIDocument, en as DefineOpenAPIReturn, fn as loadAndRegisterAPIRoutes, hn as writeOpenAPISpecs, in as OpenAPIRegistration, ln as defineOpenAPIEndpoint, mn as scanAPIRoutes, nn as OpenAPIMethodSpec, on as ValidationErrorResponse, pn as registerRoutes, rn as OpenAPIObjectConfigV31, sn as defineOpenAPI, tn as HandlerParams, un as defineTypedResponses } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { $t as DefineOpenAPIConfigInput, Qt as DefineOpenAPIConfig, an as RouteModule, cn as defineOpenAPIConfig, dn as generateOpenAPIDocument, en as DefineOpenAPIReturn, fn as loadAndRegisterAPIRoutes, hn as writeOpenAPISpecs, in as OpenAPIRegistration, ln as defineOpenAPIEndpoint, mn as scanAPIRoutes, nn as OpenAPIMethodSpec, on as ValidationErrorResponse, pn as registerRoutes, rn as OpenAPIObjectConfigV31, sn as defineOpenAPI, tn as HandlerParams, un as defineTypedResponses } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { DefineOpenAPIConfig, DefineOpenAPIConfigInput, DefineOpenAPIReturn, HandlerParams, OpenAPIMethodSpec, OpenAPIObjectConfigV31, OpenAPIRegistration, RouteModule, ValidationErrorResponse, defineOpenAPI, defineOpenAPIConfig, defineOpenAPIEndpoint, defineTypedResponses, generateOpenAPIDocument, loadAndRegisterAPIRoutes, registerRoutes, scanAPIRoutes, writeOpenAPISpecs };
|
package/dist/api/openapi.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../constants-
|
|
2
|
-
import "../app-context-
|
|
3
|
-
import { a as generateOpenAPIDocument, c as scanAPIRoutes, i as defineTypedResponses, l as writeOpenAPISpecs, n as defineOpenAPIConfig, o as loadAndRegisterAPIRoutes, r as defineOpenAPIEndpoint, s as registerRoutes, t as defineOpenAPI } from "../openapi-
|
|
1
|
+
import "../constants-CRJ98Uqw.mjs";
|
|
2
|
+
import "../app-context-D1ZdyKbf.mjs";
|
|
3
|
+
import { a as generateOpenAPIDocument, c as scanAPIRoutes, i as defineTypedResponses, l as writeOpenAPISpecs, n as defineOpenAPIConfig, o as loadAndRegisterAPIRoutes, r as defineOpenAPIEndpoint, s as registerRoutes, t as defineOpenAPI } from "../openapi-Cn0LQKgk.mjs";
|
|
4
4
|
|
|
5
5
|
export { defineOpenAPI, defineOpenAPIConfig, defineOpenAPIEndpoint, defineTypedResponses, generateOpenAPIDocument, loadAndRegisterAPIRoutes, registerRoutes, scanAPIRoutes, writeOpenAPISpecs };
|
package/dist/api/server.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { Cn as defineServer, Dn as i18n, En as defineI18n, Sn as ServerInstance, Tn as defaultI18nConfig, _n as defineMiddleware, bn as DefineServerOptions, gn as Middleware, vn as loadMiddleware, wn as I18nInitOptions, xn as Server, yn as App } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { Cn as defineServer, Dn as i18n, En as defineI18n, Sn as ServerInstance, Tn as defaultI18nConfig, _n as defineMiddleware, bn as DefineServerOptions, gn as Middleware, vn as loadMiddleware, wn as I18nInitOptions, xn as Server, yn as App } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { App, DefineServerOptions, I18nInitOptions, Middleware, Server, ServerInstance, defaultI18nConfig, defineI18n, defineMiddleware, defineServer, i18n, loadMiddleware };
|
package/dist/api/server.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../constants-
|
|
2
|
-
import { a as loadMiddleware, i as defineMiddleware, n as defaultI18nConfig, r as defineI18n, t as defineServer } from "../server-
|
|
3
|
-
import "../instrumentation-
|
|
4
|
-
import "../app-context-
|
|
5
|
-
import "../openapi-
|
|
6
|
-
import "../context-
|
|
1
|
+
import "../constants-CRJ98Uqw.mjs";
|
|
2
|
+
import { a as loadMiddleware, i as defineMiddleware, n as defaultI18nConfig, r as defineI18n, t as defineServer } from "../server-BdaZTfDQ.mjs";
|
|
3
|
+
import "../instrumentation-NIH3Iibm.mjs";
|
|
4
|
+
import "../app-context-D1ZdyKbf.mjs";
|
|
5
|
+
import "../openapi-Cn0LQKgk.mjs";
|
|
6
|
+
import "../context-tMoLkr9-.mjs";
|
|
7
7
|
|
|
8
8
|
export { defaultI18nConfig, defineI18n, defineMiddleware, defineServer, loadMiddleware };
|
package/dist/api/ssr.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import { m as AuthPaths, o as AuthConfig } from "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { kn as AppContext } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import { m as AuthPaths, o as AuthConfig } from "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { kn as AppContext } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
import * as react_router0 from "react-router";
|
|
7
7
|
import { RouterContextProvider } from "react-router";
|
|
8
8
|
import { GetLoadContextFunction } from "@react-router/express";
|
package/dist/api/ssr.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as DEFAULT_AUTH_PATHS } from "../auth-
|
|
2
|
-
import { t as appLoadContext } from "../context-
|
|
1
|
+
import { r as DEFAULT_AUTH_PATHS } from "../auth-Bo3zawb1.mjs";
|
|
2
|
+
import { t as appLoadContext } from "../context-tMoLkr9-.mjs";
|
|
3
3
|
import { RouterContextProvider } from "react-router";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -44,8 +44,8 @@ function resolveRoutePath(relativePath) {
|
|
|
44
44
|
* React Router's route() expects paths without leading slashes
|
|
45
45
|
* when used as child routes under a layout.
|
|
46
46
|
*/
|
|
47
|
-
function stripLeadingSlash(path
|
|
48
|
-
return path
|
|
47
|
+
function stripLeadingSlash(path) {
|
|
48
|
+
return path.startsWith("/") ? path.slice(1) : path;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Generates authentication route configuration based on your auth setup.
|
package/dist/api/storage.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { Bt as defineS3Disk, Ft as DatabaseWithStorage, Gt as StorageAttachment, Ht as NewStorageAttachment, It as DefineS3DiskOptions, Jt as StorageRelationsConfig, Kt as StorageBlob, Lt as DefineStorageOptions, Rt as Storage, Ut as NewStorageBlob, Vt as defineStorage, Wt as NewStorageVariantRecord, Xt as StorageVariantRecord, Yt as StorageTables, Zt as defineStorageSchema, qt as StorageRelations, zt as StorageService } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { Bt as defineS3Disk, Ft as DatabaseWithStorage, Gt as StorageAttachment, Ht as NewStorageAttachment, It as DefineS3DiskOptions, Jt as StorageRelationsConfig, Kt as StorageBlob, Lt as DefineStorageOptions, Rt as Storage, Ut as NewStorageBlob, Vt as defineStorage, Wt as NewStorageVariantRecord, Xt as StorageVariantRecord, Yt as StorageTables, Zt as defineStorageSchema, qt as StorageRelations, zt as StorageService } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { DatabaseWithStorage, DefineS3DiskOptions, DefineStorageOptions, NewStorageAttachment, NewStorageBlob, NewStorageVariantRecord, Storage, StorageAttachment, StorageBlob, StorageRelations, StorageRelationsConfig, StorageService, StorageTables, StorageVariantRecord, defineS3Disk, defineStorage, defineStorageSchema };
|
package/dist/api/storage.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../auth-schema-
|
|
2
|
-
import "../redis-
|
|
3
|
-
import "../constants-
|
|
4
|
-
import "../event-
|
|
5
|
-
import { c as generatePreview, l as generateImageVariant, o as purgeAttachment, u as extractBlobMetadata } from "../workflow-
|
|
1
|
+
import "../auth-schema-DF53iTDS.mjs";
|
|
2
|
+
import "../redis-DwTSiGWI.mjs";
|
|
3
|
+
import "../constants-CRJ98Uqw.mjs";
|
|
4
|
+
import "../event-u9BgBDEk.mjs";
|
|
5
|
+
import { c as generatePreview, l as generateImageVariant, o as purgeAttachment, u as extractBlobMetadata } from "../workflow-C7hiMGN4.mjs";
|
|
6
6
|
import { and, eq, isNull, lt, sql } from "drizzle-orm";
|
|
7
7
|
import { index, pgTable, unique } from "drizzle-orm/pg-core";
|
|
8
8
|
import { join } from "node:path";
|
|
@@ -339,13 +339,13 @@ var StorageService = class {
|
|
|
339
339
|
return await this.db.transaction(async (tx) => {
|
|
340
340
|
await tx.execute(sql`SELECT pg_advisory_xact_lock(${lockId})`);
|
|
341
341
|
await tx.delete(this.db._.fullSchema.storageAttachments).where(and(eq(this.db._.fullSchema.storageAttachments.recordType, recordType), eq(this.db._.fullSchema.storageAttachments.recordId, recordId), eq(this.db._.fullSchema.storageAttachments.name, name)));
|
|
342
|
-
const [attachment
|
|
342
|
+
const [attachment] = await tx.insert(this.db._.fullSchema.storageAttachments).values({
|
|
343
343
|
recordType,
|
|
344
344
|
recordId,
|
|
345
345
|
blobId,
|
|
346
346
|
name
|
|
347
347
|
}).returning();
|
|
348
|
-
return attachment
|
|
348
|
+
return attachment;
|
|
349
349
|
});
|
|
350
350
|
}
|
|
351
351
|
const [attachment] = await this.db.insert(this.db._.fullSchema.storageAttachments).values({
|
package/dist/api/worker.mjs
CHANGED
package/dist/api/workflow.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../logger-
|
|
2
|
-
import "../database-
|
|
3
|
-
import "../auth-
|
|
4
|
-
import "../cache-
|
|
5
|
-
import { At as defineWorkflow, Ct as QueueRateLimit, Dt as WorkflowStartOptions, Et as WorkflowHandle, Mt as TrackDbChangesInput, Nt as trackDbChanges, Ot as defineQueue, St as QueueFactoryContext, Tt as WorkflowContext, bt as Queue, jt as loadWorkflows, kt as defineScheduledWorkflow, wt as ScheduledWorkflowContext, xt as QueueFactory, yt as DefineQueueOptions } from "../container-
|
|
1
|
+
import "../logger-C8gOLrUv.mjs";
|
|
2
|
+
import "../database-CxDXJbvJ.mjs";
|
|
3
|
+
import "../auth-BP1r923m.mjs";
|
|
4
|
+
import "../cache-M0z3800A.mjs";
|
|
5
|
+
import { At as defineWorkflow, Ct as QueueRateLimit, Dt as WorkflowStartOptions, Et as WorkflowHandle, Mt as TrackDbChangesInput, Nt as trackDbChanges, Ot as defineQueue, St as QueueFactoryContext, Tt as WorkflowContext, bt as Queue, jt as loadWorkflows, kt as defineScheduledWorkflow, wt as ScheduledWorkflowContext, xt as QueueFactory, yt as DefineQueueOptions } from "../container-CPQ9ezcN.mjs";
|
|
6
6
|
export { DefineQueueOptions, Queue, QueueFactory, QueueFactoryContext, QueueRateLimit, ScheduledWorkflowContext, TrackDbChangesInput, WorkflowContext, WorkflowHandle, WorkflowStartOptions, defineQueue, defineScheduledWorkflow, defineWorkflow, loadWorkflows, trackDbChanges };
|
package/dist/api/workflow.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../auth-schema-
|
|
2
|
-
import "../redis-
|
|
3
|
-
import "../constants-
|
|
4
|
-
import "../event-
|
|
5
|
-
import { i as loadWorkflows, n as defineScheduledWorkflow, r as defineWorkflow, s as trackDbChanges, t as defineQueue } from "../workflow-
|
|
1
|
+
import "../auth-schema-DF53iTDS.mjs";
|
|
2
|
+
import "../redis-DwTSiGWI.mjs";
|
|
3
|
+
import "../constants-CRJ98Uqw.mjs";
|
|
4
|
+
import "../event-u9BgBDEk.mjs";
|
|
5
|
+
import { i as loadWorkflows, n as defineScheduledWorkflow, r as defineWorkflow, s as trackDbChanges, t as defineQueue } from "../workflow-C7hiMGN4.mjs";
|
|
6
6
|
|
|
7
7
|
export { defineQueue, defineScheduledWorkflow, defineWorkflow, loadWorkflows, trackDbChanges };
|