@soga/types 0.8.1 → 0.8.2

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/index.d.mts CHANGED
@@ -601,6 +601,13 @@ type EncodedData = {
601
601
  affix?: AffixItemData[];
602
602
  };
603
603
  type UploadedData = Record<HostType, Record<string, object>>;
604
+ interface ErrorType {
605
+ type: 'encode' | 'upload';
606
+ message: string;
607
+ stack?: string;
608
+ details?: string[];
609
+ cause?: any;
610
+ }
604
611
  type UploadFileItem = {
605
612
  id: number;
606
613
  total_count: number;
@@ -630,6 +637,7 @@ type UploadFileItem = {
630
637
  percent: number;
631
638
  encoded: EncodedData;
632
639
  uploaded: UploadedData;
640
+ error: ErrorType | null;
633
641
  order: number;
634
642
  updated_at: string;
635
643
  created_at: string;
package/dist/index.d.ts CHANGED
@@ -601,6 +601,13 @@ type EncodedData = {
601
601
  affix?: AffixItemData[];
602
602
  };
603
603
  type UploadedData = Record<HostType, Record<string, object>>;
604
+ interface ErrorType {
605
+ type: 'encode' | 'upload';
606
+ message: string;
607
+ stack?: string;
608
+ details?: string[];
609
+ cause?: any;
610
+ }
604
611
  type UploadFileItem = {
605
612
  id: number;
606
613
  total_count: number;
@@ -630,6 +637,7 @@ type UploadFileItem = {
630
637
  percent: number;
631
638
  encoded: EncodedData;
632
639
  uploaded: UploadedData;
640
+ error: ErrorType | null;
633
641
  order: number;
634
642
  updated_at: string;
635
643
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soga/types",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },