fix: generate missing migration for Menu and Newsletter tables
This commit is contained in:
1 parent
363be70e11
commit
f5029fc935
123 files changed
+8683
No files matched your search
Vendored
+222
@@ -0,0 +1,222 @@
|
||||
import { Elysia } from "elysia";
|
||||
export declare const ordersRoute: Elysia<"/orders", {
|
||||
decorator: {};
|
||||
store: {};
|
||||
derive: {};
|
||||
resolve: {};
|
||||
}, {
|
||||
typebox: {};
|
||||
error: {};
|
||||
}, {
|
||||
schema: {};
|
||||
standaloneSchema: {};
|
||||
macro: {};
|
||||
macroFn: {};
|
||||
parser: {};
|
||||
response: {};
|
||||
}, {
|
||||
orders: {
|
||||
get: {
|
||||
body: unknown;
|
||||
params: {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
":id": {
|
||||
get: {
|
||||
body: unknown;
|
||||
params: {
|
||||
id: string;
|
||||
} & {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
post: {
|
||||
body: {
|
||||
discountAmount?: number;
|
||||
customerId?: number | null;
|
||||
subtotal?: number;
|
||||
promoLevel1Name?: string | null;
|
||||
promoLevel1Disc?: number;
|
||||
promoLevel2Name?: string | null;
|
||||
promoLevel2Disc?: number;
|
||||
couponCode?: string | null;
|
||||
pointsUsed?: number;
|
||||
pointsDiscount?: number;
|
||||
items: {
|
||||
variantId?: number;
|
||||
variantSize?: string;
|
||||
productImage?: string;
|
||||
productId: number;
|
||||
quantity: number;
|
||||
priceAtPurchase: number;
|
||||
productName: string;
|
||||
}[];
|
||||
totalAmount: number;
|
||||
customerName: string;
|
||||
shippingFee: number;
|
||||
customerEmail: string;
|
||||
customerPhone: string;
|
||||
shippingAddress: string;
|
||||
};
|
||||
params: {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
":id": {
|
||||
status: {
|
||||
patch: {
|
||||
body: {
|
||||
status: string;
|
||||
};
|
||||
params: {
|
||||
id: string;
|
||||
} & {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
":id": {
|
||||
slip: {
|
||||
patch: {
|
||||
body: {
|
||||
paymentSlipUrl: string;
|
||||
};
|
||||
params: {
|
||||
id: string;
|
||||
} & {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
":id": {
|
||||
tracking: {
|
||||
patch: {
|
||||
body: {
|
||||
trackingNo: string;
|
||||
};
|
||||
params: {
|
||||
id: string;
|
||||
} & {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
customer: {
|
||||
":customerId": {
|
||||
get: {
|
||||
body: unknown;
|
||||
params: {
|
||||
customerId: string;
|
||||
} & {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
[x: string]: any;
|
||||
[x: number]: any;
|
||||
[x: symbol]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} & {
|
||||
orders: {
|
||||
track: {
|
||||
post: {
|
||||
body: {
|
||||
phone: string;
|
||||
orderId: number;
|
||||
};
|
||||
params: {};
|
||||
query: unknown;
|
||||
headers: unknown;
|
||||
response: {
|
||||
200: {
|
||||
error: string;
|
||||
success?: never;
|
||||
orderId?: never;
|
||||
} | {
|
||||
success: boolean;
|
||||
orderId: any;
|
||||
error?: never;
|
||||
};
|
||||
422: {
|
||||
type: "validation";
|
||||
on: string;
|
||||
summary?: string;
|
||||
message?: string;
|
||||
found?: unknown;
|
||||
property?: string;
|
||||
expected?: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}, {
|
||||
derive: {};
|
||||
resolve: {};
|
||||
schema: {};
|
||||
standaloneSchema: {};
|
||||
response: {};
|
||||
}, {
|
||||
derive: {};
|
||||
resolve: {};
|
||||
schema: {};
|
||||
standaloneSchema: {};
|
||||
response: {};
|
||||
}>;
|
||||
//# sourceMappingURL=orders.d.ts.map
|
||||
Reference in new issue
Block a user