@vitrine-kit/payload-blueprint 0.2.3 → 0.2.4
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.ts +1 -1
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/version.generated.ts
|
|
2
|
-
var PAYLOAD_BLUEPRINT_VERSION = "0.2.
|
|
2
|
+
var PAYLOAD_BLUEPRINT_VERSION = "0.2.4";
|
|
3
3
|
|
|
4
4
|
// src/collections.ts
|
|
5
5
|
var f = (name, type, extra = {}) => ({ name, type, ...extra });
|
|
@@ -26,9 +26,11 @@ var mediaCollection = {
|
|
|
26
26
|
var usersCollection = {
|
|
27
27
|
slug: "users",
|
|
28
28
|
// maxLoginAttempts/lockTime — Payload's built-in brute-force lockout on the login endpoint.
|
|
29
|
+
// Auth already provides `email` + `password` — do not redeclare email (Payload 3 treats a
|
|
30
|
+
// second required email field as empty on create → "Email is required" during ensureDevAdmin).
|
|
29
31
|
auth: { maxLoginAttempts: 5, lockTime: 10 * 60 * 1e3 },
|
|
30
32
|
access: adminOnly,
|
|
31
|
-
fields: [
|
|
33
|
+
fields: []
|
|
32
34
|
};
|
|
33
35
|
var variantsCollection = {
|
|
34
36
|
slug: "variants",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitrine-kit/payload-blueprint",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Vitrine — base Payload collections + additive extend().",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"directory": "packages/payload-blueprint"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@vitrine-kit/contracts": "1.2.
|
|
32
|
+
"@vitrine-kit/contracts": "1.2.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "node scripts/generate-version.mjs && tsup src/index.ts --format esm --dts --clean",
|