@remit/electrodb-entities 0.0.23 → 0.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.
- package/index.cjs +14 -8
- package/index.d.cts +12 -6
- package/index.d.mts +12 -6
- package/index.d.ts +12 -6
- package/index.mjs +14 -8
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -892,22 +892,23 @@ exports.Mailbox = {
|
|
|
892
892
|
},
|
|
893
893
|
syncStatus: {
|
|
894
894
|
type: ["synced", "pending", "failed", "deleting"],
|
|
895
|
-
required: false
|
|
896
|
-
},
|
|
897
|
-
cursorState: {
|
|
898
|
-
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
899
895
|
required: true,
|
|
900
|
-
default: "
|
|
896
|
+
default: "synced"
|
|
901
897
|
},
|
|
902
|
-
|
|
898
|
+
pendingPath: {
|
|
903
899
|
type: "string",
|
|
904
900
|
required: false,
|
|
905
901
|
validate: value => {
|
|
906
902
|
if (typeof value === "string" && value.length > 512)
|
|
907
|
-
throw new Error("'
|
|
903
|
+
throw new Error("'pendingPath' must be at most 512 characters");
|
|
908
904
|
return true;
|
|
909
905
|
}
|
|
910
906
|
},
|
|
907
|
+
cursorState: {
|
|
908
|
+
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
909
|
+
required: true,
|
|
910
|
+
default: "normal"
|
|
911
|
+
},
|
|
911
912
|
specialUse: {
|
|
912
913
|
type: "set",
|
|
913
914
|
items: ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"],
|
|
@@ -2802,10 +2803,15 @@ exports.Message = {
|
|
|
2802
2803
|
default: "active"
|
|
2803
2804
|
},
|
|
2804
2805
|
syncStatus: {
|
|
2805
|
-
type: ["synced", "pending", "failed"],
|
|
2806
|
+
type: ["synced", "pending", "failed", "abandoned"],
|
|
2806
2807
|
required: true,
|
|
2807
2808
|
default: "synced"
|
|
2808
2809
|
},
|
|
2810
|
+
abandonedMutation: {
|
|
2811
|
+
type: ["none", "move", "delete", "copy"],
|
|
2812
|
+
required: true,
|
|
2813
|
+
default: "none"
|
|
2814
|
+
},
|
|
2809
2815
|
originalMailboxId: {
|
|
2810
2816
|
type: "string",
|
|
2811
2817
|
required: false,
|
package/index.d.cts
CHANGED
|
@@ -632,18 +632,19 @@ export declare const Mailbox: {
|
|
|
632
632
|
};
|
|
633
633
|
readonly syncStatus: {
|
|
634
634
|
readonly type: readonly ["synced", "pending", "failed", "deleting"];
|
|
635
|
+
readonly required: true;
|
|
636
|
+
readonly default: "synced";
|
|
637
|
+
};
|
|
638
|
+
readonly pendingPath: {
|
|
639
|
+
readonly type: "string";
|
|
635
640
|
readonly required: false;
|
|
641
|
+
readonly validate: (value: unknown) => boolean;
|
|
636
642
|
};
|
|
637
643
|
readonly cursorState: {
|
|
638
644
|
readonly type: readonly ["normal", "cursor_invalid", "rebuilding"];
|
|
639
645
|
readonly required: true;
|
|
640
646
|
readonly default: "normal";
|
|
641
647
|
};
|
|
642
|
-
readonly oldPath: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly required: false;
|
|
645
|
-
readonly validate: (value: unknown) => boolean;
|
|
646
|
-
};
|
|
647
648
|
readonly specialUse: {
|
|
648
649
|
readonly type: "set";
|
|
649
650
|
readonly items: readonly ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"];
|
|
@@ -2156,10 +2157,15 @@ export declare const Message: {
|
|
|
2156
2157
|
readonly default: "active";
|
|
2157
2158
|
};
|
|
2158
2159
|
readonly syncStatus: {
|
|
2159
|
-
readonly type: readonly ["synced", "pending", "failed"];
|
|
2160
|
+
readonly type: readonly ["synced", "pending", "failed", "abandoned"];
|
|
2160
2161
|
readonly required: true;
|
|
2161
2162
|
readonly default: "synced";
|
|
2162
2163
|
};
|
|
2164
|
+
readonly abandonedMutation: {
|
|
2165
|
+
readonly type: readonly ["none", "move", "delete", "copy"];
|
|
2166
|
+
readonly required: true;
|
|
2167
|
+
readonly default: "none";
|
|
2168
|
+
};
|
|
2163
2169
|
readonly originalMailboxId: {
|
|
2164
2170
|
readonly type: "string";
|
|
2165
2171
|
readonly required: false;
|
package/index.d.mts
CHANGED
|
@@ -632,18 +632,19 @@ export declare const Mailbox: {
|
|
|
632
632
|
};
|
|
633
633
|
readonly syncStatus: {
|
|
634
634
|
readonly type: readonly ["synced", "pending", "failed", "deleting"];
|
|
635
|
+
readonly required: true;
|
|
636
|
+
readonly default: "synced";
|
|
637
|
+
};
|
|
638
|
+
readonly pendingPath: {
|
|
639
|
+
readonly type: "string";
|
|
635
640
|
readonly required: false;
|
|
641
|
+
readonly validate: (value: unknown) => boolean;
|
|
636
642
|
};
|
|
637
643
|
readonly cursorState: {
|
|
638
644
|
readonly type: readonly ["normal", "cursor_invalid", "rebuilding"];
|
|
639
645
|
readonly required: true;
|
|
640
646
|
readonly default: "normal";
|
|
641
647
|
};
|
|
642
|
-
readonly oldPath: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly required: false;
|
|
645
|
-
readonly validate: (value: unknown) => boolean;
|
|
646
|
-
};
|
|
647
648
|
readonly specialUse: {
|
|
648
649
|
readonly type: "set";
|
|
649
650
|
readonly items: readonly ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"];
|
|
@@ -2156,10 +2157,15 @@ export declare const Message: {
|
|
|
2156
2157
|
readonly default: "active";
|
|
2157
2158
|
};
|
|
2158
2159
|
readonly syncStatus: {
|
|
2159
|
-
readonly type: readonly ["synced", "pending", "failed"];
|
|
2160
|
+
readonly type: readonly ["synced", "pending", "failed", "abandoned"];
|
|
2160
2161
|
readonly required: true;
|
|
2161
2162
|
readonly default: "synced";
|
|
2162
2163
|
};
|
|
2164
|
+
readonly abandonedMutation: {
|
|
2165
|
+
readonly type: readonly ["none", "move", "delete", "copy"];
|
|
2166
|
+
readonly required: true;
|
|
2167
|
+
readonly default: "none";
|
|
2168
|
+
};
|
|
2163
2169
|
readonly originalMailboxId: {
|
|
2164
2170
|
readonly type: "string";
|
|
2165
2171
|
readonly required: false;
|
package/index.d.ts
CHANGED
|
@@ -632,18 +632,19 @@ export declare const Mailbox: {
|
|
|
632
632
|
};
|
|
633
633
|
readonly syncStatus: {
|
|
634
634
|
readonly type: readonly ["synced", "pending", "failed", "deleting"];
|
|
635
|
+
readonly required: true;
|
|
636
|
+
readonly default: "synced";
|
|
637
|
+
};
|
|
638
|
+
readonly pendingPath: {
|
|
639
|
+
readonly type: "string";
|
|
635
640
|
readonly required: false;
|
|
641
|
+
readonly validate: (value: unknown) => boolean;
|
|
636
642
|
};
|
|
637
643
|
readonly cursorState: {
|
|
638
644
|
readonly type: readonly ["normal", "cursor_invalid", "rebuilding"];
|
|
639
645
|
readonly required: true;
|
|
640
646
|
readonly default: "normal";
|
|
641
647
|
};
|
|
642
|
-
readonly oldPath: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly required: false;
|
|
645
|
-
readonly validate: (value: unknown) => boolean;
|
|
646
|
-
};
|
|
647
648
|
readonly specialUse: {
|
|
648
649
|
readonly type: "set";
|
|
649
650
|
readonly items: readonly ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"];
|
|
@@ -2156,10 +2157,15 @@ export declare const Message: {
|
|
|
2156
2157
|
readonly default: "active";
|
|
2157
2158
|
};
|
|
2158
2159
|
readonly syncStatus: {
|
|
2159
|
-
readonly type: readonly ["synced", "pending", "failed"];
|
|
2160
|
+
readonly type: readonly ["synced", "pending", "failed", "abandoned"];
|
|
2160
2161
|
readonly required: true;
|
|
2161
2162
|
readonly default: "synced";
|
|
2162
2163
|
};
|
|
2164
|
+
readonly abandonedMutation: {
|
|
2165
|
+
readonly type: readonly ["none", "move", "delete", "copy"];
|
|
2166
|
+
readonly required: true;
|
|
2167
|
+
readonly default: "none";
|
|
2168
|
+
};
|
|
2163
2169
|
readonly originalMailboxId: {
|
|
2164
2170
|
readonly type: "string";
|
|
2165
2171
|
readonly required: false;
|
package/index.mjs
CHANGED
|
@@ -889,22 +889,23 @@ export const Mailbox = {
|
|
|
889
889
|
},
|
|
890
890
|
syncStatus: {
|
|
891
891
|
type: ["synced", "pending", "failed", "deleting"],
|
|
892
|
-
required: false
|
|
893
|
-
},
|
|
894
|
-
cursorState: {
|
|
895
|
-
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
896
892
|
required: true,
|
|
897
|
-
default: "
|
|
893
|
+
default: "synced"
|
|
898
894
|
},
|
|
899
|
-
|
|
895
|
+
pendingPath: {
|
|
900
896
|
type: "string",
|
|
901
897
|
required: false,
|
|
902
898
|
validate: value => {
|
|
903
899
|
if (typeof value === "string" && value.length > 512)
|
|
904
|
-
throw new Error("'
|
|
900
|
+
throw new Error("'pendingPath' must be at most 512 characters");
|
|
905
901
|
return true;
|
|
906
902
|
}
|
|
907
903
|
},
|
|
904
|
+
cursorState: {
|
|
905
|
+
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
906
|
+
required: true,
|
|
907
|
+
default: "normal"
|
|
908
|
+
},
|
|
908
909
|
specialUse: {
|
|
909
910
|
type: "set",
|
|
910
911
|
items: ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"],
|
|
@@ -2799,10 +2800,15 @@ export const Message = {
|
|
|
2799
2800
|
default: "active"
|
|
2800
2801
|
},
|
|
2801
2802
|
syncStatus: {
|
|
2802
|
-
type: ["synced", "pending", "failed"],
|
|
2803
|
+
type: ["synced", "pending", "failed", "abandoned"],
|
|
2803
2804
|
required: true,
|
|
2804
2805
|
default: "synced"
|
|
2805
2806
|
},
|
|
2807
|
+
abandonedMutation: {
|
|
2808
|
+
type: ["none", "move", "delete", "copy"],
|
|
2809
|
+
required: true,
|
|
2810
|
+
default: "none"
|
|
2811
|
+
},
|
|
2806
2812
|
originalMailboxId: {
|
|
2807
2813
|
type: "string",
|
|
2808
2814
|
required: false,
|