monsqlize 3.4.0 → 3.5.1
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/CHANGELOG.md +5 -3
- package/README.md +71 -11
- package/changelogs/v3.5.0.md +23 -0
- package/changelogs/v3.5.1.md +21 -0
- package/dist/cjs/cli/data-task.cjs +4 -2
- package/dist/cjs/index.cjs +8886 -7816
- package/dist/cjs/transaction/Transaction.cjs +7 -0
- package/dist/cjs/transaction/TransactionManager.cjs +7 -0
- package/dist/esm/index.mjs +8859 -7789
- package/dist/types/base.d.mts +6 -0
- package/dist/types/base.d.ts +6 -0
- package/dist/types/gridfs.d.mts +146 -0
- package/dist/types/gridfs.d.ts +146 -0
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/model.d.mts +2 -0
- package/dist/types/model.d.ts +2 -0
- package/dist/types/monsqlize.d.mts +20 -0
- package/dist/types/monsqlize.d.ts +20 -0
- package/dist/types/runtime.d.mts +2 -0
- package/dist/types/runtime.d.ts +2 -0
- package/package.json +4 -2
|
@@ -112,6 +112,13 @@ var ErrorCodes = {
|
|
|
112
112
|
SEARCH_INDEX_UNSUPPORTED: "SEARCH_INDEX_UNSUPPORTED",
|
|
113
113
|
SEARCH_INDEX_BUILD_FAILED: "SEARCH_INDEX_BUILD_FAILED",
|
|
114
114
|
SEARCH_INDEX_WAIT_TIMEOUT: "SEARCH_INDEX_WAIT_TIMEOUT",
|
|
115
|
+
/** GridFS file, range, and resumable-upload errors (v3.5.0). */
|
|
116
|
+
GRIDFS_FILE_NOT_FOUND: "GRIDFS_FILE_NOT_FOUND",
|
|
117
|
+
GRIDFS_FILE_EXISTS: "GRIDFS_FILE_EXISTS",
|
|
118
|
+
GRIDFS_INTEGRITY_MISMATCH: "GRIDFS_INTEGRITY_MISMATCH",
|
|
119
|
+
GRIDFS_UPLOAD_INCOMPLETE: "GRIDFS_UPLOAD_INCOMPLETE",
|
|
120
|
+
GRIDFS_RESUME_MISMATCH: "GRIDFS_RESUME_MISMATCH",
|
|
121
|
+
GRIDFS_RANGE_INVALID: "GRIDFS_RANGE_INVALID",
|
|
115
122
|
/** Relation select is outside the supported inclusion-only top-level contract. */
|
|
116
123
|
INVALID_RELATION_SELECT: "INVALID_RELATION_SELECT",
|
|
117
124
|
/** A protected delete found declared Model relations that still reference its target. */
|
|
@@ -112,6 +112,13 @@ var ErrorCodes = {
|
|
|
112
112
|
SEARCH_INDEX_UNSUPPORTED: "SEARCH_INDEX_UNSUPPORTED",
|
|
113
113
|
SEARCH_INDEX_BUILD_FAILED: "SEARCH_INDEX_BUILD_FAILED",
|
|
114
114
|
SEARCH_INDEX_WAIT_TIMEOUT: "SEARCH_INDEX_WAIT_TIMEOUT",
|
|
115
|
+
/** GridFS file, range, and resumable-upload errors (v3.5.0). */
|
|
116
|
+
GRIDFS_FILE_NOT_FOUND: "GRIDFS_FILE_NOT_FOUND",
|
|
117
|
+
GRIDFS_FILE_EXISTS: "GRIDFS_FILE_EXISTS",
|
|
118
|
+
GRIDFS_INTEGRITY_MISMATCH: "GRIDFS_INTEGRITY_MISMATCH",
|
|
119
|
+
GRIDFS_UPLOAD_INCOMPLETE: "GRIDFS_UPLOAD_INCOMPLETE",
|
|
120
|
+
GRIDFS_RESUME_MISMATCH: "GRIDFS_RESUME_MISMATCH",
|
|
121
|
+
GRIDFS_RANGE_INVALID: "GRIDFS_RANGE_INVALID",
|
|
115
122
|
/** Relation select is outside the supported inclusion-only top-level contract. */
|
|
116
123
|
INVALID_RELATION_SELECT: "INVALID_RELATION_SELECT",
|
|
117
124
|
/** A protected delete found declared Model relations that still reference its target. */
|