umwd-components 0.1.800 → 0.1.802

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.
@@ -1 +1,2 @@
1
- export declare function createNoteAction(related: any, prevState: any, formData: FormData): Promise<any>;
1
+ import { PolymorphicRelation } from "@/types/logistics/Report";
2
+ export declare function createNoteAction(related: PolymorphicRelation[] | null, prevState: any, formData: FormData): Promise<any>;
@@ -1 +1,2 @@
1
- export declare function createReportAction(related: any, type: string, prevState: any, formData: FormData): Promise<any>;
1
+ import { PolymorphicRelation } from "@/types/logistics/Report";
2
+ export declare function createReportAction(related: PolymorphicRelation[] | null, type: string, prevState: any, formData: FormData): Promise<any>;
@@ -49,6 +49,7 @@ export interface ExtendedSlugProduct extends Product {
49
49
  vendors: any[];
50
50
  }
51
51
  export type ProductStock = {
52
+ id: number;
52
53
  documentId: string;
53
54
  title: string;
54
55
  product_number: string;
@@ -1,5 +1,5 @@
1
1
  export type PolymorphicRelation = {
2
- id: number | string;
2
+ id: number;
3
3
  __type: string;
4
4
  };
5
5
  export type Note = {
@@ -1,5 +1,5 @@
1
1
  export type PolymorphicRelation = {
2
- documentId: string;
2
+ id: number;
3
3
  __type: string;
4
4
  };
5
5
  export type ReportType = "stock" | "return" | "ordered" | "picked" | "packed" | "shipped" | "received" | "registered" | "released";
@@ -4,6 +4,7 @@ import { ContactsProps } from "../common/Contact";
4
4
  import { BusinessCredentialsProps } from "../e-commerce/BusinessCredentialsProps";
5
5
  import { Note } from "./Note";
6
6
  export type Vendor = {
7
+ id: number;
7
8
  documentId: string;
8
9
  website_url: string;
9
10
  phone_number: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.800",
3
+ "version": "0.1.802",
4
4
  "description": "UMWD Component library",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",