@esb-market-contracts/backend 1.0.24 → 1.0.25

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.
Files changed (3) hide show
  1. package/api.d.ts +5 -0
  2. package/package.json +1 -1
  3. package/types.d.ts +3 -0
package/api.d.ts CHANGED
@@ -430,6 +430,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
430
430
  product: {
431
431
  id: number;
432
432
  slug: string | null;
433
+ model: string | null;
433
434
  status: "active" | "archived" | "draft";
434
435
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
435
436
  description: Partial<Record<"en" | "ka" | "ru", string>> | null;
@@ -463,6 +464,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
463
464
  product: {
464
465
  id: number;
465
466
  slug: string | null;
467
+ model: string | null;
466
468
  status: "active" | "archived" | "draft";
467
469
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
468
470
  description: Partial<Record<"en" | "ka" | "ru", string>> | null;
@@ -481,6 +483,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
481
483
  input: {
482
484
  form: {
483
485
  slug?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
486
+ model: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue;
484
487
  name?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
485
488
  description?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
486
489
  categoryId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
@@ -498,6 +501,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
498
501
  products: {
499
502
  id: number;
500
503
  slug: string | null;
504
+ model: string | null;
501
505
  status: "active" | "archived" | "draft";
502
506
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
503
507
  description: Partial<Record<"en" | "ka" | "ru", string>> | null;
@@ -540,6 +544,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
540
544
  form: {
541
545
  status?: "active" | "archived" | "draft" | undefined;
542
546
  slug?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
547
+ model?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
543
548
  name?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
544
549
  description?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
545
550
  categoryId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@esb-market-contracts/backend",
3
3
  "description": "Shared TypeScript contract definitions for backend.",
4
- "version": "1.0.24",
4
+ "version": "1.0.25",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -511,6 +511,7 @@ type ProductVariant = z.infer<typeof productVariantSchema>;
511
511
  declare const productSchema: z.ZodObject<{
512
512
  id: z.ZodInt;
513
513
  slug: z.ZodNullable<z.ZodString>;
514
+ model: z.ZodNullable<z.ZodString>;
514
515
  status: z.ZodEnum<{
515
516
  active: "active";
516
517
  archived: "archived";
@@ -588,6 +589,7 @@ declare const productDeletePayloadSchema: z.ZodObject<{
588
589
  }, z.core.$strip>;
589
590
  declare const productCreatePayloadSchema: z.ZodObject<{
590
591
  slug: z.ZodPreprocess<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
592
+ model: z.ZodPreprocess<z.ZodNullable<z.ZodString>>;
591
593
  name: z.ZodOptional<z.ZodPreprocess<z.ZodNullable<z.ZodRecord<z.ZodEnum<{
592
594
  en: "en";
593
595
  ka: "ka";
@@ -610,6 +612,7 @@ declare const productUpdatePayloadSchema: z.ZodObject<{
610
612
  draft: "draft";
611
613
  }>>;
612
614
  slug: z.ZodPreprocess<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
615
+ model: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
613
616
  name: z.ZodOptional<z.ZodPreprocess<z.ZodNullable<z.ZodRecord<z.ZodEnum<{
614
617
  en: "en";
615
618
  ka: "ka";