@vankyle/storage-shared 0.3.0 → 0.4.0
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/errors/index.d.ts +4 -4
- package/dist/errors/index.js +4 -4
- package/dist/errors/metadata-error.d.ts +1 -1
- package/dist/errors/metadata-error.js +1 -1
- package/dist/errors/storage-error.d.ts +1 -1
- package/dist/errors/storage-error.js +1 -1
- package/dist/errors/validation-error.d.ts +1 -1
- package/dist/errors/validation-error.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
package/dist/errors/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { BaseError } from "../errors/base-error";
|
|
2
|
-
export { StorageError, StorageObjectNotFoundError, CapabilityNotSupportedError, } from "../errors/storage-error";
|
|
3
|
-
export { MetadataError, MetadataNotFoundError, MetadataConflictError, } from "../errors/metadata-error";
|
|
4
|
-
export { ValidationError } from "../errors/validation-error";
|
|
1
|
+
export { BaseError } from "../errors/base-error.js";
|
|
2
|
+
export { StorageError, StorageObjectNotFoundError, CapabilityNotSupportedError, } from "../errors/storage-error.js";
|
|
3
|
+
export { MetadataError, MetadataNotFoundError, MetadataConflictError, } from "../errors/metadata-error.js";
|
|
4
|
+
export { ValidationError } from "../errors/validation-error.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/errors/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { BaseError } from "../errors/base-error";
|
|
2
|
-
export { StorageError, StorageObjectNotFoundError, CapabilityNotSupportedError, } from "../errors/storage-error";
|
|
3
|
-
export { MetadataError, MetadataNotFoundError, MetadataConflictError, } from "../errors/metadata-error";
|
|
4
|
-
export { ValidationError } from "../errors/validation-error";
|
|
1
|
+
export { BaseError } from "../errors/base-error.js";
|
|
2
|
+
export { StorageError, StorageObjectNotFoundError, CapabilityNotSupportedError, } from "../errors/storage-error.js";
|
|
3
|
+
export { MetadataError, MetadataNotFoundError, MetadataConflictError, } from "../errors/metadata-error.js";
|
|
4
|
+
export { ValidationError } from "../errors/validation-error.js";
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseError } from "../errors/base-error";
|
|
1
|
+
import { BaseError } from "../errors/base-error.js";
|
|
2
2
|
export declare class ValidationError extends BaseError {
|
|
3
3
|
readonly field?: string | undefined;
|
|
4
4
|
constructor(message: string, field?: string | undefined, options?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./errors/index";
|
|
2
|
-
export * from "./types/index";
|
|
3
|
-
export * from "./utils/index";
|
|
1
|
+
export * from "./errors/index.js";
|
|
2
|
+
export * from "./types/index.js";
|
|
3
|
+
export * from "./utils/index.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./errors/index";
|
|
2
|
-
export * from "./types/index";
|
|
3
|
-
export * from "./utils/index";
|
|
1
|
+
export * from "./errors/index.js";
|
|
2
|
+
export * from "./types/index.js";
|
|
3
|
+
export * from "./utils/index.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { JsonPrimitive, JsonArray, JsonObject, JsonValue, PartialBy, RequiredBy, Defined, Maybe } from "../types/json";
|
|
2
|
-
export { type Result, ok, err } from "../types/result";
|
|
1
|
+
export type { JsonPrimitive, JsonArray, JsonObject, JsonValue, PartialBy, RequiredBy, Defined, Maybe } from "../types/json.js";
|
|
2
|
+
export { type Result, ok, err } from "../types/result.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ok, err } from "../types/result";
|
|
1
|
+
export { ok, err } from "../types/result.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assert, assertNever } from "../utils/assert";
|
|
2
|
-
export { getRequiredEnv, getOptionalEnv } from "../utils/env";
|
|
1
|
+
export { assert, assertNever } from "../utils/assert.js";
|
|
2
|
+
export { getRequiredEnv, getOptionalEnv } from "../utils/env.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assert, assertNever } from "../utils/assert";
|
|
2
|
-
export { getRequiredEnv, getOptionalEnv } from "../utils/env";
|
|
1
|
+
export { assert, assertNever } from "../utils/assert.js";
|
|
2
|
+
export { getRequiredEnv, getOptionalEnv } from "../utils/env.js";
|
|
3
3
|
//# sourceMappingURL=index.js.map
|