@dereekb/firebase 10.1.28 → 10.1.30
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.js +2 -6
- package/index.esm.js +3 -7
- package/package.json +1 -1
- package/test/CHANGELOG.md +8 -0
- package/test/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -7505,9 +7505,7 @@ function IsFirestoreModelKey(validationOptions) {
|
|
|
7505
7505
|
options: validationOptions,
|
|
7506
7506
|
validator: {
|
|
7507
7507
|
validate: isFirestoreModelKey,
|
|
7508
|
-
defaultMessage(args) {
|
|
7509
|
-
return `"${args.value}" is not a FirestoreModelKey.`;
|
|
7510
|
-
}
|
|
7508
|
+
defaultMessage: classValidator.buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args === null || args === void 0 ? void 0 : args.value}" is not a FirestoreModelKey.`, validationOptions)
|
|
7511
7509
|
}
|
|
7512
7510
|
});
|
|
7513
7511
|
};
|
|
@@ -7524,9 +7522,7 @@ function IsFirestoreModelId(validationOptions) {
|
|
|
7524
7522
|
options: validationOptions,
|
|
7525
7523
|
validator: {
|
|
7526
7524
|
validate: isFirestoreModelId,
|
|
7527
|
-
defaultMessage(args) {
|
|
7528
|
-
return `"${args.value}" is not a FirestoreModelId.`;
|
|
7529
|
-
}
|
|
7525
|
+
defaultMessage: classValidator.buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args === null || args === void 0 ? void 0 : args.value}" is not a FirestoreModelId.`, validationOptions)
|
|
7530
7526
|
}
|
|
7531
7527
|
});
|
|
7532
7528
|
};
|
package/index.esm.js
CHANGED
|
@@ -7,7 +7,7 @@ import { formatToISO8601DateString, toJsDate, toISODateString, isSameDate, dateR
|
|
|
7
7
|
import { httpsCallable } from 'firebase/functions';
|
|
8
8
|
import { ref, getMetadata, getDownloadURL, uploadString, uploadBytes, getBytes, getBlob, uploadBytesResumable, deleteObject, list } from 'firebase/storage';
|
|
9
9
|
import { Expose } from 'class-transformer';
|
|
10
|
-
import { IsEnum, IsString, IsOptional, registerDecorator, IsNotEmpty } from 'class-validator';
|
|
10
|
+
import { IsEnum, IsString, IsOptional, registerDecorator, buildMessage, IsNotEmpty } from 'class-validator';
|
|
11
11
|
|
|
12
12
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13
13
|
|
|
@@ -8546,9 +8546,7 @@ function IsFirestoreModelKey(validationOptions) {
|
|
|
8546
8546
|
options: validationOptions,
|
|
8547
8547
|
validator: {
|
|
8548
8548
|
validate: isFirestoreModelKey,
|
|
8549
|
-
defaultMessage(args) {
|
|
8550
|
-
return `"${args.value}" is not a FirestoreModelKey.`;
|
|
8551
|
-
}
|
|
8549
|
+
defaultMessage: buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args == null ? void 0 : args.value}" is not a FirestoreModelKey.`, validationOptions)
|
|
8552
8550
|
}
|
|
8553
8551
|
});
|
|
8554
8552
|
};
|
|
@@ -8566,9 +8564,7 @@ function IsFirestoreModelId(validationOptions) {
|
|
|
8566
8564
|
options: validationOptions,
|
|
8567
8565
|
validator: {
|
|
8568
8566
|
validate: isFirestoreModelId,
|
|
8569
|
-
defaultMessage(args) {
|
|
8570
|
-
return `"${args.value}" is not a FirestoreModelId.`;
|
|
8571
|
-
}
|
|
8567
|
+
defaultMessage: buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args == null ? void 0 : args.value}" is not a FirestoreModelId.`, validationOptions)
|
|
8572
8568
|
}
|
|
8573
8569
|
});
|
|
8574
8570
|
};
|
package/package.json
CHANGED
package/test/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [10.1.30](https://github.com/dereekb/dbx-components/compare/v10.1.29-dev...v10.1.30) (2024-10-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [10.1.29](https://github.com/dereekb/dbx-components/compare/v10.1.28-dev...v10.1.29) (2024-10-20)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [10.1.28](https://github.com/dereekb/dbx-components/compare/v10.1.27-dev...v10.1.28) (2024-10-12)
|
|
6
14
|
|
|
7
15
|
|