@mohasinac/appkit 4.7.2 → 4.8.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/_internal/client/features/layout/DashboardLayoutClient.js +25 -5
- package/dist/_internal/shared/features/cart/schema.d.ts +6 -6
- package/dist/_internal/shared/features/orders/schema.d.ts +2 -2
- package/dist/_internal/shared/features/products/schema.d.ts +8 -8
- package/dist/features/account/schemas/index.d.ts +12 -12
- package/dist/features/admin/components/AdminArtView.js +1 -0
- package/dist/features/admin/components/AdminBlogView.js +1 -0
- package/dist/features/admin/components/AdminClassifiedView.js +1 -0
- package/dist/features/admin/components/AdminDigitalCodesView.js +1 -0
- package/dist/features/admin/components/AdminLiveView.js +1 -0
- package/dist/features/admin/components/AdminPrizeDrawsView.js +1 -0
- package/dist/features/admin/components/AdminProductsView.js +1 -0
- package/dist/features/admin/components/AdminStickersView.js +1 -0
- package/dist/features/admin/components/AdminStoresView.js +1 -0
- package/dist/features/admin/components/AdminUsersView.js +1 -0
- package/dist/features/admin/components/AdminViewCards.d.ts +3 -1
- package/dist/features/admin/components/AdminViewCards.js +21 -7
- package/dist/features/admin/components/DataListingView.d.ts +2 -0
- package/dist/features/admin/components/DataListingView.js +4 -2
- package/dist/features/admin/components/DataTable.d.ts +3 -1
- package/dist/features/admin/components/DataTable.js +36 -21
- package/dist/features/collections/schemas/index.d.ts +3 -3
- package/dist/features/homepage/schemas/index.d.ts +4 -4
- package/dist/features/orders/schemas/index.d.ts +22 -22
- package/dist/features/pre-orders/schemas/index.d.ts +2 -2
- package/dist/features/products/schemas/index.d.ts +8 -8
- package/dist/features/products/schemas/product-features.validators.d.ts +6 -6
- package/dist/features/reviews/schemas/index.d.ts +4 -4
- package/dist/features/scams/schemas/index.d.ts +4 -4
- package/dist/features/seller/components/SellerAuctionsView.js +1 -0
- package/dist/features/seller/components/SellerPreOrdersView.js +1 -0
- package/dist/features/seller/components/SellerPrizeDrawsView.js +1 -0
- package/dist/features/seller/components/SellerProductsView.js +1 -0
- package/dist/features/shipments/schemas/validation.d.ts +6 -6
- package/dist/features/support/schemas/index.d.ts +2 -2
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
- package/dist/schemas/registry.d.ts +70 -70
- package/dist/schemas/webhooks/razorpay.d.ts +50 -50
- package/dist/ui/columns/column-renderers.d.ts +5 -0
- package/dist/ui/columns/column-renderers.js +135 -0
- package/dist/ui/columns/index.d.ts +2 -2
- package/dist/ui/columns/index.js +1 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ export declare const createShipmentSchema: z.ZodObject<{
|
|
|
15
15
|
laborHoursSpent: z.ZodOptional<z.ZodNumber>;
|
|
16
16
|
laborRatePerHour: z.ZodOptional<z.ZodNumber>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
status: "received" | "cancelled" | "processing" | "
|
|
18
|
+
status: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs";
|
|
19
19
|
shipmentNumber: string;
|
|
20
20
|
supplierName: string;
|
|
21
21
|
customsTotal: number;
|
|
@@ -29,7 +29,7 @@ export declare const createShipmentSchema: z.ZodObject<{
|
|
|
29
29
|
laborHoursSpent?: number | undefined;
|
|
30
30
|
laborRatePerHour?: number | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
status: "received" | "cancelled" | "processing" | "
|
|
32
|
+
status: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs";
|
|
33
33
|
shipmentNumber: string;
|
|
34
34
|
supplierName: string;
|
|
35
35
|
customsTotal: number;
|
|
@@ -58,7 +58,7 @@ export declare const updateShipmentSchema: z.ZodObject<{
|
|
|
58
58
|
laborHoursSpent: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
59
59
|
laborRatePerHour: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
status?: "received" | "cancelled" | "processing" | "
|
|
61
|
+
status?: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs" | undefined;
|
|
62
62
|
notes?: string | undefined;
|
|
63
63
|
trackingNumber?: string | undefined;
|
|
64
64
|
shipmentNumber?: string | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const updateShipmentSchema: z.ZodObject<{
|
|
|
72
72
|
laborHoursSpent?: number | undefined;
|
|
73
73
|
laborRatePerHour?: number | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
status?: "received" | "cancelled" | "processing" | "
|
|
75
|
+
status?: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs" | undefined;
|
|
76
76
|
notes?: string | undefined;
|
|
77
77
|
trackingNumber?: string | undefined;
|
|
78
78
|
shipmentNumber?: string | undefined;
|
|
@@ -276,7 +276,7 @@ export declare const updateShipmentItemSchema: z.ZodObject<{
|
|
|
276
276
|
isForSelfUse?: boolean | undefined;
|
|
277
277
|
linkedProductId?: string | null | undefined;
|
|
278
278
|
linkedProductSlug?: string | null | undefined;
|
|
279
|
-
linkedProductListingType?: "
|
|
279
|
+
linkedProductListingType?: "art" | "stickers" | "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | null | undefined;
|
|
280
280
|
}, {
|
|
281
281
|
title?: string | undefined;
|
|
282
282
|
notes?: string | undefined;
|
|
@@ -288,7 +288,7 @@ export declare const updateShipmentItemSchema: z.ZodObject<{
|
|
|
288
288
|
isForSelfUse?: boolean | undefined;
|
|
289
289
|
linkedProductId?: string | null | undefined;
|
|
290
290
|
linkedProductSlug?: string | null | undefined;
|
|
291
|
-
linkedProductListingType?: "
|
|
291
|
+
linkedProductListingType?: "art" | "stickers" | "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | null | undefined;
|
|
292
292
|
}>;
|
|
293
293
|
/**
|
|
294
294
|
* Bulk paste-import payload — capped at MAX_ITEMS_PER_LOT (500), matching
|
|
@@ -149,7 +149,7 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
149
149
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
150
150
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
status: "closed" | "open" | "
|
|
152
|
+
status: "closed" | "open" | "resolved" | "in_progress" | "waiting_on_user";
|
|
153
153
|
id: string;
|
|
154
154
|
createdAt: string | Date | z.objectOutputType<{
|
|
155
155
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -192,7 +192,7 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
192
192
|
assignedToName?: string | undefined;
|
|
193
193
|
internalNotes?: string | undefined;
|
|
194
194
|
}, {
|
|
195
|
-
status: "closed" | "open" | "
|
|
195
|
+
status: "closed" | "open" | "resolved" | "in_progress" | "waiting_on_user";
|
|
196
196
|
id: string;
|
|
197
197
|
createdAt: string | Date | z.objectInputType<{
|
|
198
198
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -29,7 +29,7 @@ export declare function useWishlistWithGuest(userId: string | null | undefined,
|
|
|
29
29
|
productPrice: number;
|
|
30
30
|
productSlug: string;
|
|
31
31
|
addedAt: string | undefined;
|
|
32
|
-
type: "
|
|
32
|
+
type: "classified" | "auction" | "digital-code" | "live" | "category" | "store" | "product" | "preorder";
|
|
33
33
|
}[];
|
|
34
34
|
total: number;
|
|
35
35
|
wishlistedIds: Set<string>;
|