fix: generate missing migration for Menu and Newsletter tables

This commit is contained in:
Your Name committed 2026-06-14 00:16:05 -04:00
1 parent 363be70e11
commit f5029fc935
123 files changed
+8683

No files matched your search

+160
View File
@@ -0,0 +1,160 @@
import { Elysia } from "elysia";
export declare const productsRoute: Elysia<"/products", {
decorator: {};
store: {};
derive: {};
resolve: {};
}, {
typebox: {};
error: {};
}, {
schema: {};
standaloneSchema: {};
macro: {};
macroFn: {};
parser: {};
response: {};
}, {
products: {
scents: {
get: {
body: unknown;
params: {};
query: unknown;
headers: unknown;
response: {
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
};
};
};
};
} & {
products: {
get: {
body: unknown;
params: {};
query: unknown;
headers: unknown;
response: {
200: {
data: any;
meta: {
total: any;
page: number;
limit: number;
lastPage: number;
};
};
};
};
};
} & {
products: {
":id": {
get: {
body: unknown;
params: {
id: string;
} & {};
query: unknown;
headers: unknown;
response: {
422: {
type: "validation";
on: string;
summary?: string;
message?: string;
found?: unknown;
property?: string;
expected?: string;
};
};
};
};
};
} & {
products: {
":id": {
put: {
body: any;
params: {
id: string;
} & {};
query: unknown;
headers: unknown;
response: {
200: {
success: boolean;
product: any;
};
400: {
readonly message: "Invalid product ID";
};
422: {
type: "validation";
on: string;
summary?: string;
message?: string;
found?: unknown;
property?: string;
expected?: string;
};
500: {
readonly success: false;
readonly message: "Failed to update product";
};
};
};
};
};
} & {
products: {
":id": {
patch: {
body: any;
params: {
id: string;
} & {};
query: unknown;
headers: unknown;
response: {
200: {
success: boolean;
product: any;
};
400: {
readonly message: "Invalid product ID";
};
422: {
type: "validation";
on: string;
summary?: string;
message?: string;
found?: unknown;
property?: string;
expected?: string;
};
500: {
readonly success: false;
readonly message: "Failed to patch product";
};
};
};
};
};
}, {
derive: {};
resolve: {};
schema: {};
standaloneSchema: {};
response: {};
}, {
derive: {};
resolve: {};
schema: {};
standaloneSchema: {};
response: {};
}>;
//# sourceMappingURL=products.d.ts.map