feat: reduce package size and amount of dependencies by upgrading json-schema-to-typescript (#7938)

Closes https://github.com/payloadcms/payload/issues/7934
This commit is contained in:
Alessio Gravili
2024-08-28 17:59:32 -04:00
committed by GitHub
parent 12fb691e4f
commit dc12047723
39 changed files with 397 additions and 313 deletions

View File

@@ -98,7 +98,7 @@
"get-tsconfig": "^4.7.2", "get-tsconfig": "^4.7.2",
"http-status": "1.6.2", "http-status": "1.6.2",
"image-size": "^1.1.1", "image-size": "^1.1.1",
"json-schema-to-typescript": "11.0.3", "json-schema-to-typescript": "15.0.1",
"jsonwebtoken": "9.0.1", "jsonwebtoken": "9.0.1",
"minimist": "1.2.8", "minimist": "1.2.8",
"monaco-editor": "0.38.0", "monaco-editor": "0.38.0",

241
pnpm-lock.yaml generated
View File

@@ -840,8 +840,8 @@ importers:
specifier: ^1.1.1 specifier: ^1.1.1
version: 1.1.1 version: 1.1.1
json-schema-to-typescript: json-schema-to-typescript:
specifier: 11.0.3 specifier: 15.0.1
version: 11.0.3 version: 15.0.1
jsonwebtoken: jsonwebtoken:
specifier: 9.0.1 specifier: 9.0.1
version: 9.0.1 version: 9.0.1
@@ -1845,6 +1845,10 @@ packages:
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
engines: {node: '>=6.0.0'} engines: {node: '>=6.0.0'}
'@apidevtools/json-schema-ref-parser@11.7.0':
resolution: {integrity: sha512-pRrmXMCwnmrkS3MLgAIW5dXRzeTv6GLjkjb4HmxNnvAKXN1Nfzp4KmGADBQvlVUcqi+a5D+hfGDLLnd5NnYxog==}
engines: {node: '>= 16'}
'@aws-crypto/crc32@5.2.0': '@aws-crypto/crc32@5.2.0':
resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==} resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==}
engines: {node: '>=16.0.0'} engines: {node: '>=16.0.0'}
@@ -2735,9 +2739,6 @@ packages:
resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
'@bcherny/json-schema-ref-parser@9.0.9':
resolution: {integrity: sha512-vmEmnJCfpkLdas++9OYg6riIezTYqTHpqUTODJzHLzs5UnXujbOJW9VwcVCnyo1mVRt32FRr23iXBx/sX8YbeQ==}
'@bcoe/v8-coverage@0.2.3': '@bcoe/v8-coverage@0.2.3':
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
@@ -4474,9 +4475,6 @@ packages:
'@types/pluralize@0.0.33': '@types/pluralize@0.0.33':
resolution: {integrity: sha512-JOqsl+ZoCpP4e8TDke9W79FDcSgPAR0l6pixx2JHkhnRjvShyYiAYw2LVsnA7K08Y6DeOnaU6ujmENO4os/cYg==} resolution: {integrity: sha512-JOqsl+ZoCpP4e8TDke9W79FDcSgPAR0l6pixx2JHkhnRjvShyYiAYw2LVsnA7K08Y6DeOnaU6ujmENO4os/cYg==}
'@types/prettier@2.7.3':
resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==}
'@types/prompts@2.4.9': '@types/prompts@2.4.9':
resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==}
@@ -4768,9 +4766,6 @@ packages:
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
engines: {node: '>=12'} engines: {node: '>=12'}
any-promise@1.3.0:
resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
anymatch@3.1.3: anymatch@3.1.3:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'} engines: {node: '>= 8'}
@@ -5078,9 +5073,6 @@ packages:
resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
call-me-maybe@1.0.2:
resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==}
callsites@3.1.0: callsites@3.1.0:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'} engines: {node: '>=6'}
@@ -5151,10 +5143,6 @@ packages:
resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
engines: {node: '>=6'} engines: {node: '>=6'}
cli-color@2.0.4:
resolution: {integrity: sha512-zlnpg0jNcibNrO7GG9IeHH7maWFeCz+Ja1wx/7tZNU5ASSSSZ+/qZciM0/LHCYxSdqv5h2sdbQ/PXYdOuetXvA==}
engines: {node: '>=0.10'}
cli-cursor@5.0.0: cli-cursor@5.0.0:
resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==} resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}
engines: {node: '>=18'} engines: {node: '>=18'}
@@ -5349,10 +5337,6 @@ packages:
csstype@3.1.3: csstype@3.1.3:
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
d@1.0.2:
resolution: {integrity: sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==}
engines: {node: '>=0.12'}
damerau-levenshtein@1.0.8: damerau-levenshtein@1.0.8:
resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
@@ -5768,20 +5752,6 @@ packages:
resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
es5-ext@0.10.64:
resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==}
engines: {node: '>=0.10'}
es6-iterator@2.0.3:
resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==}
es6-symbol@3.1.4:
resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==}
engines: {node: '>=0.12'}
es6-weak-map@2.0.3:
resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==}
esbuild-register@3.6.0: esbuild-register@3.6.0:
resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==} resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==}
peerDependencies: peerDependencies:
@@ -5993,10 +5963,6 @@ packages:
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true hasBin: true
esniff@2.0.1:
resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==}
engines: {node: '>=0.10'}
espree@10.1.0: espree@10.1.0:
resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6034,9 +6000,6 @@ packages:
resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
engines: {node: '>= 0.6'} engines: {node: '>= 0.6'}
event-emitter@0.3.5:
resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==}
event-target-shim@5.0.1: event-target-shim@5.0.1:
resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}
engines: {node: '>=6'} engines: {node: '>=6'}
@@ -6096,9 +6059,6 @@ packages:
resolution: {integrity: sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==} resolution: {integrity: sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==}
engines: {node: '>=4'} engines: {node: '>=4'}
ext@1.7.0:
resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==}
extend-shallow@2.0.1: extend-shallow@2.0.1:
resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
@@ -6337,10 +6297,6 @@ packages:
resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==}
engines: {node: '>=8.0.0'} engines: {node: '>=8.0.0'}
get-stdin@8.0.0:
resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==}
engines: {node: '>=10'}
get-stdin@9.0.0: get-stdin@9.0.0:
resolution: {integrity: sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==} resolution: {integrity: sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==}
engines: {node: '>=12'} engines: {node: '>=12'}
@@ -6386,12 +6342,6 @@ packages:
resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
engines: {node: '>=10.13.0'} engines: {node: '>=10.13.0'}
glob-promise@4.2.2:
resolution: {integrity: sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw==}
engines: {node: '>=12'}
peerDependencies:
glob: ^7.1.6
glob@10.4.5: glob@10.4.5:
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
hasBin: true hasBin: true
@@ -6826,9 +6776,6 @@ packages:
is-potential-custom-element-name@1.0.1: is-potential-custom-element-name@1.0.1:
resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
is-promise@2.2.2:
resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==}
is-regex@1.1.4: is-regex@1.1.4:
resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
@@ -7155,9 +7102,9 @@ packages:
json-parse-even-better-errors@2.3.1: json-parse-even-better-errors@2.3.1:
resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
json-schema-to-typescript@11.0.3: json-schema-to-typescript@15.0.1:
resolution: {integrity: sha512-EaEE9Y4VZ8b9jW5zce5a9L3+p4C9AqgIRHbNVDJahfMnoKzcd4sDb98BLxLdQhJEuRAXyKLg4H66NKm80W8ilg==} resolution: {integrity: sha512-gSSg20skxv+ZQqR8Y8itZt+2iYFGNgneuTgf/Va0TBw+zo6JsykDG1bqhkhMs5g/vIdqmZx55oQJLbgOEuxPJw==}
engines: {node: '>=12.0.0'} engines: {node: '>=16.0.0'}
hasBin: true hasBin: true
json-schema-traverse@0.4.1: json-schema-traverse@0.4.1:
@@ -7322,9 +7269,6 @@ packages:
lru-cache@5.1.1: lru-cache@5.1.1:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
lru-queue@0.1.0:
resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==}
magic-string@0.30.11: magic-string@0.30.11:
resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==}
@@ -7356,10 +7300,6 @@ packages:
memoize-one@6.0.0: memoize-one@6.0.0:
resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==} resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==}
memoizee@0.4.17:
resolution: {integrity: sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA==}
engines: {node: '>=0.12'}
memory-pager@1.5.0: memory-pager@1.5.0:
resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==} resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==}
@@ -7547,9 +7487,6 @@ packages:
ms@2.1.3: ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
mz@2.7.0:
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
nanoid@3.3.7: nanoid@3.3.7:
resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
@@ -7572,9 +7509,6 @@ packages:
resolution: {integrity: sha512-lDcBsjBSMlj3LXH2v/FW3txlh2pYTjmbOXPYJD93HI5EwuLzI11tdHSIpUMmfq/IOsldj4Ps8M8flhm+pCK4Ew==} resolution: {integrity: sha512-lDcBsjBSMlj3LXH2v/FW3txlh2pYTjmbOXPYJD93HI5EwuLzI11tdHSIpUMmfq/IOsldj4Ps8M8flhm+pCK4Ew==}
engines: {node: '>=12.22.0'} engines: {node: '>=12.22.0'}
next-tick@1.1.0:
resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
next@15.0.0-canary.104: next@15.0.0-canary.104:
resolution: {integrity: sha512-LVzRmV/p/BGGYmTjlZSmCULmBQ2S5ov1nQAXYssu4cEMhkpklQVgh2I+uHHgo/xgdqIIcEBlUgsfV+CfKVsM6Q==} resolution: {integrity: sha512-LVzRmV/p/BGGYmTjlZSmCULmBQ2S5ov1nQAXYssu4cEMhkpklQVgh2I+uHHgo/xgdqIIcEBlUgsfV+CfKVsM6Q==}
engines: {node: '>=18.18.0'} engines: {node: '>=18.18.0'}
@@ -8060,11 +7994,6 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'} engines: {node: '>= 0.8.0'}
prettier@2.8.8:
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
engines: {node: '>=10.13.0'}
hasBin: true
prettier@3.3.2: prettier@3.3.2:
resolution: {integrity: sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==} resolution: {integrity: sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==}
engines: {node: '>=14'} engines: {node: '>=14'}
@@ -9024,23 +8953,12 @@ packages:
text-table@0.2.0: text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
thenify-all@1.6.0:
resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
engines: {node: '>=0.8'}
thenify@3.3.1:
resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
thread-stream@3.1.0: thread-stream@3.1.0:
resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==} resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==}
through2@2.0.5: through2@2.0.5:
resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==}
timers-ext@0.1.8:
resolution: {integrity: sha512-wFH7+SEAcKfJpfLPkrgMPvvwnEtj8W4IurvEyrKsDleXnKLCDw71w8jltvfLa8Rm4qQxxT4jmDBYbJG/z7qoww==}
engines: {node: '>=0.12'}
tiny-invariant@1.0.6: tiny-invariant@1.0.6:
resolution: {integrity: sha512-FOyLWWVjG+aC0UqG76V53yAWdXfH8bO6FNmyZOuUrzDzK8DI3/JRY25UD7+g49JWM1LXwymsKERB+DzI0dTEQA==} resolution: {integrity: sha512-FOyLWWVjG+aC0UqG76V53yAWdXfH8bO6FNmyZOuUrzDzK8DI3/JRY25UD7+g49JWM1LXwymsKERB+DzI0dTEQA==}
@@ -9225,9 +9143,6 @@ packages:
resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==}
engines: {node: '>= 0.6'} engines: {node: '>= 0.6'}
type@2.7.3:
resolution: {integrity: sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==}
typed-array-buffer@1.0.2: typed-array-buffer@1.0.2:
resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
@@ -9633,6 +9548,12 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5 '@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25 '@jridgewell/trace-mapping': 0.3.25
'@apidevtools/json-schema-ref-parser@11.7.0':
dependencies:
'@jsdevtools/ono': 7.1.3
'@types/json-schema': 7.0.15
js-yaml: 4.1.0
'@aws-crypto/crc32@5.2.0': '@aws-crypto/crc32@5.2.0':
dependencies: dependencies:
'@aws-crypto/util': 5.2.0 '@aws-crypto/util': 5.2.0
@@ -11193,13 +11114,6 @@ snapshots:
'@babel/helper-validator-identifier': 7.24.7 '@babel/helper-validator-identifier': 7.24.7
to-fast-properties: 2.0.0 to-fast-properties: 2.0.0
'@bcherny/json-schema-ref-parser@9.0.9':
dependencies:
'@jsdevtools/ono': 7.1.3
'@types/json-schema': 7.0.15
call-me-maybe: 1.0.2
js-yaml: 4.1.0
'@bcoe/v8-coverage@0.2.3': {} '@bcoe/v8-coverage@0.2.3': {}
'@bufbuild/protobuf@1.10.0': {} '@bufbuild/protobuf@1.10.0': {}
@@ -13153,8 +13067,6 @@ snapshots:
'@types/pluralize@0.0.33': {} '@types/pluralize@0.0.33': {}
'@types/prettier@2.7.3': {}
'@types/prompts@2.4.9': '@types/prompts@2.4.9':
dependencies: dependencies:
'@types/node': 20.12.5 '@types/node': 20.12.5
@@ -13537,8 +13449,6 @@ snapshots:
ansi-styles@6.2.1: {} ansi-styles@6.2.1: {}
any-promise@1.3.0: {}
anymatch@3.1.3: anymatch@3.1.3:
dependencies: dependencies:
normalize-path: 3.0.0 normalize-path: 3.0.0
@@ -13942,8 +13852,6 @@ snapshots:
get-intrinsic: 1.2.4 get-intrinsic: 1.2.4
set-function-length: 1.2.2 set-function-length: 1.2.2
call-me-maybe@1.0.2: {}
callsites@3.1.0: {} callsites@3.1.0: {}
camelcase@5.3.1: {} camelcase@5.3.1: {}
@@ -14019,14 +13927,6 @@ snapshots:
clean-stack@2.2.0: {} clean-stack@2.2.0: {}
cli-color@2.0.4:
dependencies:
d: 1.0.2
es5-ext: 0.10.64
es6-iterator: 2.0.3
memoizee: 0.4.17
timers-ext: 0.1.8
cli-cursor@5.0.0: cli-cursor@5.0.0:
dependencies: dependencies:
restore-cursor: 5.1.0 restore-cursor: 5.1.0
@@ -14222,11 +14122,6 @@ snapshots:
csstype@3.1.3: {} csstype@3.1.3: {}
d@1.0.2:
dependencies:
es5-ext: 0.10.64
type: 2.7.3
damerau-levenshtein@1.0.8: {} damerau-levenshtein@1.0.8: {}
data-uri-to-buffer@4.0.1: {} data-uri-to-buffer@4.0.1: {}
@@ -14618,31 +14513,6 @@ snapshots:
is-date-object: 1.0.5 is-date-object: 1.0.5
is-symbol: 1.0.4 is-symbol: 1.0.4
es5-ext@0.10.64:
dependencies:
es6-iterator: 2.0.3
es6-symbol: 3.1.4
esniff: 2.0.1
next-tick: 1.1.0
es6-iterator@2.0.3:
dependencies:
d: 1.0.2
es5-ext: 0.10.64
es6-symbol: 3.1.4
es6-symbol@3.1.4:
dependencies:
d: 1.0.2
ext: 1.7.0
es6-weak-map@2.0.3:
dependencies:
d: 1.0.2
es5-ext: 0.10.64
es6-iterator: 2.0.3
es6-symbol: 3.1.4
esbuild-register@3.6.0(esbuild@0.19.12): esbuild-register@3.6.0(esbuild@0.19.12):
dependencies: dependencies:
debug: 4.3.6(supports-color@5.5.0) debug: 4.3.6(supports-color@5.5.0)
@@ -15008,13 +14878,6 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
esniff@2.0.1:
dependencies:
d: 1.0.2
es5-ext: 0.10.64
event-emitter: 0.3.5
type: 2.7.3
espree@10.1.0: espree@10.1.0:
dependencies: dependencies:
acorn: 8.12.1 acorn: 8.12.1
@@ -15041,11 +14904,6 @@ snapshots:
etag@1.8.1: {} etag@1.8.1: {}
event-emitter@0.3.5:
dependencies:
d: 1.0.2
es5-ext: 0.10.64
event-target-shim@5.0.1: {} event-target-shim@5.0.1: {}
eventemitter3@5.0.1: {} eventemitter3@5.0.1: {}
@@ -15163,10 +15021,6 @@ snapshots:
ext-list: 2.2.2 ext-list: 2.2.2
sort-keys-length: 1.0.1 sort-keys-length: 1.0.1
ext@1.7.0:
dependencies:
type: 2.7.3
extend-shallow@2.0.1: extend-shallow@2.0.1:
dependencies: dependencies:
is-extendable: 0.1.1 is-extendable: 0.1.1
@@ -15433,8 +15287,6 @@ snapshots:
get-package-type@0.1.0: {} get-package-type@0.1.0: {}
get-stdin@8.0.0: {}
get-stdin@9.0.0: {} get-stdin@9.0.0: {}
get-stream@3.0.0: {} get-stream@3.0.0: {}
@@ -15480,11 +15332,6 @@ snapshots:
dependencies: dependencies:
is-glob: 4.0.3 is-glob: 4.0.3
glob-promise@4.2.2(glob@7.2.3):
dependencies:
'@types/glob': 7.2.0
glob: 7.2.3
glob@10.4.5: glob@10.4.5:
dependencies: dependencies:
foreground-child: 3.3.0 foreground-child: 3.3.0
@@ -15912,8 +15759,6 @@ snapshots:
is-potential-custom-element-name@1.0.1: {} is-potential-custom-element-name@1.0.1: {}
is-promise@2.2.2: {}
is-regex@1.1.4: is-regex@1.1.4:
dependencies: dependencies:
call-bind: 1.0.7 call-bind: 1.0.7
@@ -16448,22 +16293,16 @@ snapshots:
json-parse-even-better-errors@2.3.1: {} json-parse-even-better-errors@2.3.1: {}
json-schema-to-typescript@11.0.3: json-schema-to-typescript@15.0.1:
dependencies: dependencies:
'@bcherny/json-schema-ref-parser': 9.0.9 '@apidevtools/json-schema-ref-parser': 11.7.0
'@types/json-schema': 7.0.15 '@types/json-schema': 7.0.15
'@types/lodash': 4.17.7 glob: 10.4.5
'@types/prettier': 2.7.3
cli-color: 2.0.4
get-stdin: 8.0.0
glob: 7.2.3
glob-promise: 4.2.2(glob@7.2.3)
is-glob: 4.0.3 is-glob: 4.0.3
js-yaml: 4.1.0
lodash: 4.17.21 lodash: 4.17.21
minimist: 1.2.8 minimist: 1.2.8
mkdirp: 1.0.4 prettier: 3.3.2
mz: 2.7.0
prettier: 2.8.8
json-schema-traverse@0.4.1: {} json-schema-traverse@0.4.1: {}
@@ -16650,10 +16489,6 @@ snapshots:
dependencies: dependencies:
yallist: 3.1.1 yallist: 3.1.1
lru-queue@0.1.0:
dependencies:
es5-ext: 0.10.64
magic-string@0.30.11: magic-string@0.30.11:
dependencies: dependencies:
'@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/sourcemap-codec': 1.5.0
@@ -16687,17 +16522,6 @@ snapshots:
memoize-one@6.0.0: {} memoize-one@6.0.0: {}
memoizee@0.4.17:
dependencies:
d: 1.0.2
es5-ext: 0.10.64
es6-weak-map: 2.0.3
event-emitter: 0.3.5
is-promise: 2.2.2
lru-queue: 0.1.0
next-tick: 1.1.0
timers-ext: 0.1.8
memory-pager@1.5.0: memory-pager@1.5.0:
optional: true optional: true
@@ -16880,12 +16704,6 @@ snapshots:
ms@2.1.3: {} ms@2.1.3: {}
mz@2.7.0:
dependencies:
any-promise: 1.3.0
object-assign: 4.1.1
thenify-all: 1.6.0
nanoid@3.3.7: {} nanoid@3.3.7: {}
napi-build-utils@1.0.2: {} napi-build-utils@1.0.2: {}
@@ -16902,8 +16720,6 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
next-tick@1.1.0: {}
next@15.0.0-canary.104(@babel/core@7.25.2)(@playwright/test@1.46.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@0.0.0-experimental-48eb8f4-20240822)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4): next@15.0.0-canary.104(@babel/core@7.25.2)(@playwright/test@1.46.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@0.0.0-experimental-48eb8f4-20240822)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4):
dependencies: dependencies:
'@next/env': 15.0.0-canary.104 '@next/env': 15.0.0-canary.104
@@ -17435,8 +17251,6 @@ snapshots:
prelude-ls@1.2.1: {} prelude-ls@1.2.1: {}
prettier@2.8.8: {}
prettier@3.3.2: {} prettier@3.3.2: {}
pretty-format@24.9.0: pretty-format@24.9.0:
@@ -18463,14 +18277,6 @@ snapshots:
text-table@0.2.0: {} text-table@0.2.0: {}
thenify-all@1.6.0:
dependencies:
thenify: 3.3.1
thenify@3.3.1:
dependencies:
any-promise: 1.3.0
thread-stream@3.1.0: thread-stream@3.1.0:
dependencies: dependencies:
real-require: 0.2.0 real-require: 0.2.0
@@ -18480,11 +18286,6 @@ snapshots:
readable-stream: 2.3.8 readable-stream: 2.3.8
xtend: 4.0.2 xtend: 4.0.2
timers-ext@0.1.8:
dependencies:
es5-ext: 0.10.64
next-tick: 1.1.0
tiny-invariant@1.0.6: {} tiny-invariant@1.0.6: {}
tiny-warning@1.0.3: {} tiny-warning@1.0.3: {}
@@ -18636,8 +18437,6 @@ snapshots:
media-typer: 0.3.0 media-typer: 0.3.0
mime-types: 2.1.35 mime-types: 2.1.35
type@2.7.3: {}
typed-array-buffer@1.0.2: typed-array-buffer@1.0.2:
dependencies: dependencies:
call-bind: 1.0.7 call-bind: 1.0.7

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -39,6 +39,7 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
email: string; email: string;
@@ -50,11 +51,13 @@ export interface UserAuthOperations {
}; };
unlock: { unlock: {
email: string; email: string;
password: string;
}; };
} }
export interface ApiKeyAuthOperations { export interface ApiKeyAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
email: string; email: string;
@@ -66,11 +69,13 @@ export interface ApiKeyAuthOperations {
}; };
unlock: { unlock: {
email: string; email: string;
password: string;
}; };
} }
export interface PublicUserAuthOperations { export interface PublicUserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
email: string; email: string;
@@ -82,6 +87,7 @@ export interface PublicUserAuthOperations {
}; };
unlock: { unlock: {
email: string; email: string;
password: string;
}; };
} }
/** /**

View File

@@ -26,6 +26,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: 'en' | 'es'; locale: 'en' | 'es';
user: User & { user: User & {
@@ -35,15 +38,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema
@@ -212,7 +220,7 @@ export interface CyclicalRelationship {
id: string; id: string;
title?: string | null; title?: string | null;
relationToSelf?: (string | null) | CyclicalRelationship; relationToSelf?: (string | null) | CyclicalRelationship;
media?: string | Media | null; media?: (string | null) | Media;
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
_status?: ('draft' | 'published') | null; _status?: ('draft' | 'published') | null;

View File

@@ -22,6 +22,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -31,15 +34,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: { globals: {
'my-global': MyGlobal; 'my-global': MyGlobal;
}; };
@@ -27,15 +30,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -15,6 +15,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -24,15 +27,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -12,6 +12,7 @@ export interface Config {
}; };
collections: { collections: {
posts: Post; posts: Post;
'default-values': DefaultValue;
'relation-a': RelationA; 'relation-a': RelationA;
'relation-b': RelationB; 'relation-b': RelationB;
'pg-migrations': PgMigration; 'pg-migrations': PgMigration;
@@ -20,6 +21,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: { globals: {
global: Global; global: Global;
}; };
@@ -31,15 +35,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema
@@ -52,6 +61,27 @@ export interface Post {
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
} }
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "default-values".
*/
export interface DefaultValue {
id: string;
title?: string | null;
defaultValue?: string | null;
array?:
| {
defaultValue?: string | null;
id?: string | null;
}[]
| null;
group?: {
defaultValue?: string | null;
};
select?: ('option0' | 'option1' | 'default') | null;
updatedAt: string;
createdAt: string;
}
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "relation-a". * via the `definition` "relation-a".
@@ -59,7 +89,6 @@ export interface Post {
export interface RelationA { export interface RelationA {
id: string; id: string;
title?: string | null; title?: string | null;
relationship?: (string | null) | RelationB;
richText?: { richText?: {
root: { root: {
type: string; type: string;

View File

@@ -21,6 +21,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -30,15 +33,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -15,6 +15,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -24,15 +27,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -15,6 +15,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -24,15 +27,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: { globals: {
menu: Menu; menu: Menu;
}; };
@@ -28,15 +31,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema
@@ -45,7 +53,7 @@ export interface UserAuthOperations {
export interface Post { export interface Post {
id: string; id: string;
text?: string | null; text?: string | null;
associatedMedia?: string | Media | null; associatedMedia?: (string | null) | Media;
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
_status?: ('draft' | 'published') | null; _status?: ('draft' | 'published') | null;

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: { globals: {
'global-endpoints': GlobalEndpoint; 'global-endpoints': GlobalEndpoint;
'global-no-endpoints': GlobalNoEndpoint; 'global-no-endpoints': GlobalNoEndpoint;
@@ -29,15 +32,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -36,6 +36,7 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
email: string; email: string;
@@ -47,6 +48,7 @@ export interface UserAuthOperations {
}; };
unlock: { unlock: {
email: string; email: string;
password: string;
}; };
} }
/** /**
@@ -259,7 +261,7 @@ export interface User {
export interface Upload { export interface Upload {
id: string; id: string;
text?: string | null; text?: string | null;
media?: string | Upload | null; media?: (string | null) | Upload;
richText?: { richText?: {
root: { root: {
type: string; type: string;

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -1109,6 +1109,21 @@ export interface LexicalRelationshipField {
}; };
[k: string]: unknown; [k: string]: unknown;
} | null; } | null;
richText2?: {
root: {
type: string;
children: {
type: string;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
} | null;
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
} }

View File

@@ -15,6 +15,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: { globals: {
global: Global; global: Global;
array: Array; array: Array;
@@ -30,15 +33,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -30,6 +30,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -39,15 +42,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -23,6 +23,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: { globals: {
'data-hooks-global': DataHooksGlobal; 'data-hooks-global': DataHooksGlobal;
}; };
@@ -34,15 +37,20 @@ export interface Config {
export interface HooksUserAuthOperations { export interface HooksUserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -85,7 +85,7 @@ export interface Page {
[k: string]: unknown; [k: string]: unknown;
}[] }[]
| null; | null;
media?: string | Media | null; media?: (string | null) | Media;
}; };
layout?: layout?:
| ( | (
@@ -212,7 +212,7 @@ export interface Page {
}; };
[k: string]: unknown; [k: string]: unknown;
} | null; } | null;
relationshipAsUpload?: string | Media | null; relationshipAsUpload?: (string | null) | Media;
relationshipMonoHasOne?: (string | null) | Post; relationshipMonoHasOne?: (string | null) | Post;
relationshipMonoHasMany?: (string | Post)[] | null; relationshipMonoHasMany?: (string | Post)[] | null;
relationshipPolyHasOne?: { relationshipPolyHasOne?: {
@@ -227,7 +227,7 @@ export interface Page {
| null; | null;
arrayOfRelationships?: arrayOfRelationships?:
| { | {
uploadInArray?: string | Media | null; uploadInArray?: (string | null) | Media;
richTextInArray?: { richTextInArray?: {
root: { root: {
type: string; type: string;
@@ -264,7 +264,7 @@ export interface Page {
meta?: { meta?: {
title?: string | null; title?: string | null;
description?: string | null; description?: string | null;
image?: string | Media | null; image?: (string | null) | Media;
}; };
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
@@ -315,7 +315,7 @@ export interface Post {
[k: string]: unknown; [k: string]: unknown;
}[] }[]
| null; | null;
media?: string | Media | null; media?: (string | null) | Media;
}; };
layout?: layout?:
| ( | (
@@ -426,7 +426,7 @@ export interface Post {
meta?: { meta?: {
title?: string | null; title?: string | null;
description?: string | null; description?: string | null;
image?: string | Media | null; image?: (string | null) | Media;
}; };
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
@@ -457,7 +457,7 @@ export interface Ssr {
[k: string]: unknown; [k: string]: unknown;
}[] }[]
| null; | null;
media?: string | Media | null; media?: (string | null) | Media;
}; };
layout?: layout?:
| ( | (
@@ -567,7 +567,7 @@ export interface Ssr {
meta?: { meta?: {
title?: string | null; title?: string | null;
description?: string | null; description?: string | null;
image?: string | Media | null; image?: (string | null) | Media;
}; };
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
@@ -588,7 +588,7 @@ export interface SsrAutosave {
[k: string]: unknown; [k: string]: unknown;
}[] }[]
| null; | null;
media?: string | Media | null; media?: (string | null) | Media;
}; };
layout?: layout?:
| ( | (
@@ -698,7 +698,7 @@ export interface SsrAutosave {
meta?: { meta?: {
title?: string | null; title?: string | null;
description?: string | null; description?: string | null;
image?: string | Media | null; image?: (string | null) | Media;
}; };
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: 'en' | 'ar'; locale: 'en' | 'ar';
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -13,7 +13,7 @@ export interface Config {
collections: { collections: {
'blocks-fields': BlocksField; 'blocks-fields': BlocksField;
'nested-arrays': NestedArray; 'nested-arrays': NestedArray;
'nested-fields': NestedField; 'nested-field-tables': NestedFieldTable;
users: User; users: User;
'localized-posts': LocalizedPost; 'localized-posts': LocalizedPost;
'array-fields': ArrayField; 'array-fields': ArrayField;
@@ -30,7 +30,7 @@ export interface Config {
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: { db: {
defaultIDType: number; defaultIDType: string;
}; };
globals: { globals: {
'global-array': GlobalArray; 'global-array': GlobalArray;
@@ -63,7 +63,7 @@ export interface UserAuthOperations {
* via the `definition` "blocks-fields". * via the `definition` "blocks-fields".
*/ */
export interface BlocksField { export interface BlocksField {
id: number; id: string;
content?: content?:
| { | {
content?: content?:
@@ -87,12 +87,12 @@ export interface BlocksField {
* via the `definition` "nested-arrays". * via the `definition` "nested-arrays".
*/ */
export interface NestedArray { export interface NestedArray {
id: number; id: string;
arrayWithBlocks?: arrayWithBlocks?:
| { | {
blocksWithinArray?: blocksWithinArray?:
| { | {
relationWithinBlock?: (number | null) | LocalizedPost; relationWithinBlock?: (string | null) | LocalizedPost;
id?: string | null; id?: string | null;
blockName?: string | null; blockName?: string | null;
blockType: 'someBlock'; blockType: 'someBlock';
@@ -103,7 +103,7 @@ export interface NestedArray {
| null; | null;
arrayWithLocalizedRelation?: arrayWithLocalizedRelation?:
| { | {
localizedRelation?: (number | null) | LocalizedPost; localizedRelation?: (string | null) | LocalizedPost;
id?: string | null; id?: string | null;
}[] }[]
| null; | null;
@@ -115,12 +115,12 @@ export interface NestedArray {
* via the `definition` "localized-posts". * via the `definition` "localized-posts".
*/ */
export interface LocalizedPost { export interface LocalizedPost {
id: number; id: string;
title?: string | null; title?: string | null;
description?: string | null; description?: string | null;
localizedDescription?: string | null; localizedDescription?: string | null;
localizedCheckbox?: boolean | null; localizedCheckbox?: boolean | null;
children?: (number | LocalizedPost)[] | null; children?: (string | LocalizedPost)[] | null;
group?: { group?: {
children?: string | null; children?: string | null;
}; };
@@ -129,21 +129,21 @@ export interface LocalizedPost {
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "nested-fields". * via the `definition` "nested-field-tables".
*/ */
export interface NestedField { export interface NestedFieldTable {
id: number; id: string;
array?: array?:
| { | {
relation?: { relation?: {
relationTo: 'localized-posts'; relationTo: 'localized-posts';
value: number | LocalizedPost; value: string | LocalizedPost;
} | null; } | null;
hasManyRelation?: (number | LocalizedPost)[] | null; hasManyRelation?: (string | LocalizedPost)[] | null;
hasManyPolyRelation?: hasManyPolyRelation?:
| { | {
relationTo: 'localized-posts'; relationTo: 'localized-posts';
value: number | LocalizedPost; value: string | LocalizedPost;
}[] }[]
| null; | null;
select?: ('one' | 'two' | 'three')[] | null; select?: ('one' | 'two' | 'three')[] | null;
@@ -160,8 +160,8 @@ export interface NestedField {
* via the `definition` "users". * via the `definition` "users".
*/ */
export interface User { export interface User {
id: number; id: string;
relation?: (number | null) | LocalizedPost; relation?: (string | null) | LocalizedPost;
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
email: string; email: string;
@@ -178,7 +178,7 @@ export interface User {
* via the `definition` "array-fields". * via the `definition` "array-fields".
*/ */
export interface ArrayField { export interface ArrayField {
id: number; id: string;
items?: items?:
| { | {
text: string; text: string;
@@ -193,7 +193,7 @@ export interface ArrayField {
* via the `definition` "localized-required". * via the `definition` "localized-required".
*/ */
export interface LocalizedRequired { export interface LocalizedRequired {
id: number; id: string;
title: string; title: string;
layout: ( layout: (
| { | {
@@ -217,27 +217,27 @@ export interface LocalizedRequired {
* via the `definition` "with-localized-relationship". * via the `definition` "with-localized-relationship".
*/ */
export interface WithLocalizedRelationship { export interface WithLocalizedRelationship {
id: number; id: string;
localizedRelationship?: (number | null) | LocalizedPost; localizedRelationship?: (string | null) | LocalizedPost;
localizedRelationHasManyField?: (number | LocalizedPost)[] | null; localizedRelationHasManyField?: (string | LocalizedPost)[] | null;
localizedRelationMultiRelationTo?: localizedRelationMultiRelationTo?:
| ({ | ({
relationTo: 'localized-posts'; relationTo: 'localized-posts';
value: number | LocalizedPost; value: string | LocalizedPost;
} | null) } | null)
| ({ | ({
relationTo: 'dummy'; relationTo: 'dummy';
value: number | Dummy; value: string | Dummy;
} | null); } | null);
localizedRelationMultiRelationToHasMany?: localizedRelationMultiRelationToHasMany?:
| ( | (
| { | {
relationTo: 'localized-posts'; relationTo: 'localized-posts';
value: number | LocalizedPost; value: string | LocalizedPost;
} }
| { | {
relationTo: 'dummy'; relationTo: 'dummy';
value: number | Dummy; value: string | Dummy;
} }
)[] )[]
| null; | null;
@@ -249,7 +249,7 @@ export interface WithLocalizedRelationship {
* via the `definition` "dummy". * via the `definition` "dummy".
*/ */
export interface Dummy { export interface Dummy {
id: number; id: string;
name?: string | null; name?: string | null;
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
@@ -259,33 +259,33 @@ export interface Dummy {
* via the `definition` "relationship-localized". * via the `definition` "relationship-localized".
*/ */
export interface RelationshipLocalized { export interface RelationshipLocalized {
id: number; id: string;
relationship?: (number | null) | LocalizedPost; relationship?: (string | null) | LocalizedPost;
relationshipHasMany?: (number | LocalizedPost)[] | null; relationshipHasMany?: (string | LocalizedPost)[] | null;
relationMultiRelationTo?: relationMultiRelationTo?:
| ({ | ({
relationTo: 'localized-posts'; relationTo: 'localized-posts';
value: number | LocalizedPost; value: string | LocalizedPost;
} | null) } | null)
| ({ | ({
relationTo: 'dummy'; relationTo: 'dummy';
value: number | Dummy; value: string | Dummy;
} | null); } | null);
relationMultiRelationToHasMany?: relationMultiRelationToHasMany?:
| ( | (
| { | {
relationTo: 'localized-posts'; relationTo: 'localized-posts';
value: number | LocalizedPost; value: string | LocalizedPost;
} }
| { | {
relationTo: 'dummy'; relationTo: 'dummy';
value: number | Dummy; value: string | Dummy;
} }
)[] )[]
| null; | null;
arrayField?: arrayField?:
| { | {
nestedRelation?: (number | null) | LocalizedPost; nestedRelation?: (string | null) | LocalizedPost;
id?: string | null; id?: string | null;
}[] }[]
| null; | null;
@@ -297,7 +297,7 @@ export interface RelationshipLocalized {
* via the `definition` "nested". * via the `definition` "nested".
*/ */
export interface Nested { export interface Nested {
id: number; id: string;
blocks?: blocks?:
| { | {
array?: array?:
@@ -320,7 +320,7 @@ export interface Nested {
* via the `definition` "groups". * via the `definition` "groups".
*/ */
export interface Group { export interface Group {
id: number; id: string;
groupLocalized?: { groupLocalized?: {
title?: string | null; title?: string | null;
}; };
@@ -351,7 +351,7 @@ export interface Group {
* via the `definition` "tabs". * via the `definition` "tabs".
*/ */
export interface Tab { export interface Tab {
id: number; id: string;
tabLocalized?: { tabLocalized?: {
title?: string | null; title?: string | null;
}; };
@@ -382,7 +382,7 @@ export interface Tab {
* via the `definition` "localized-sort". * via the `definition` "localized-sort".
*/ */
export interface LocalizedSort { export interface LocalizedSort {
id: number; id: string;
title?: string | null; title?: string | null;
date?: string | null; date?: string | null;
updatedAt: string; updatedAt: string;
@@ -393,7 +393,7 @@ export interface LocalizedSort {
* via the `definition` "blocks-same-name". * via the `definition` "blocks-same-name".
*/ */
export interface BlocksSameName { export interface BlocksSameName {
id: number; id: string;
blocks?: blocks?:
| ( | (
| { | {
@@ -418,10 +418,10 @@ export interface BlocksSameName {
* via the `definition` "payload-preferences". * via the `definition` "payload-preferences".
*/ */
export interface PayloadPreference { export interface PayloadPreference {
id: number; id: string;
user: { user: {
relationTo: 'users'; relationTo: 'users';
value: number | User; value: string | User;
}; };
key?: string | null; key?: string | null;
value?: value?:
@@ -441,7 +441,7 @@ export interface PayloadPreference {
* via the `definition` "payload-migrations". * via the `definition` "payload-migrations".
*/ */
export interface PayloadMigration { export interface PayloadMigration {
id: number; id: string;
name?: string | null; name?: string | null;
batch?: number | null; batch?: number | null;
updatedAt: string; updatedAt: string;
@@ -452,7 +452,7 @@ export interface PayloadMigration {
* via the `definition` "global-array". * via the `definition` "global-array".
*/ */
export interface GlobalArray { export interface GlobalArray {
id: number; id: string;
array?: array?:
| { | {
text?: string | null; text?: string | null;

View File

@@ -15,6 +15,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -24,15 +27,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -26,15 +29,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -30,6 +30,7 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
email: string; email: string;
@@ -41,6 +42,7 @@ export interface UserAuthOperations {
}; };
unlock: { unlock: {
email: string; email: string;
password: string;
}; };
} }
/** /**

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: 'en' | 'es' | 'de'; locale: 'en' | 'es' | 'de';
user: User & { user: User & {
@@ -26,15 +29,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -19,6 +19,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -28,15 +31,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema
@@ -105,7 +113,7 @@ export interface Relation {
} }
)[] )[]
| null; | null;
upload?: string | Upload | null; upload?: (string | null) | Upload;
updatedAt: string; updatedAt: string;
createdAt: string; createdAt: string;
} }

View File

@@ -30,6 +30,7 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
email: string; email: string;
@@ -41,6 +42,7 @@ export interface UserAuthOperations {
}; };
unlock: { unlock: {
email: string; email: string;
password: string;
}; };
} }
/** /**

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -74,7 +74,7 @@ export interface Page {
meta: { meta: {
title: string; title: string;
description?: string | null; description?: string | null;
image?: string | Media | null; image?: (string | null) | Media;
ogTitle?: string | null; ogTitle?: string | null;
}; };
updatedAt: string; updatedAt: string;
@@ -87,7 +87,7 @@ export interface Page {
*/ */
export interface Media { export interface Media {
id: string; id: string;
media?: string | Media | null; media?: (string | null) | Media;
richText?: { richText?: {
root: { root: {
type: string; type: string;
@@ -130,7 +130,7 @@ export interface PagesWithImportedField {
description?: string | null; description?: string | null;
}; };
innerMedia?: { innerMedia?: {
image?: string | Media | null; image?: (string | null) | Media;
}; };
}; };
updatedAt: string; updatedAt: string;

View File

@@ -18,6 +18,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: 'en' | 'es' | 'de'; locale: 'en' | 'es' | 'de';
user: user:
@@ -31,28 +34,38 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
export interface CustomerAuthOperations { export interface CustomerAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -16,6 +16,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -25,15 +28,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -28,6 +28,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: 'en' | 'de'; locale: 'en' | 'de';
user: User & { user: User & {
@@ -37,15 +40,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -26,15 +29,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -26,15 +29,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema

View File

@@ -17,6 +17,9 @@ export interface Config {
'payload-preferences': PayloadPreference; 'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration; 'payload-migrations': PayloadMigration;
}; };
db: {
defaultIDType: string;
};
globals: {}; globals: {};
locale: null; locale: null;
user: User & { user: User & {
@@ -26,15 +29,20 @@ export interface Config {
export interface UserAuthOperations { export interface UserAuthOperations {
forgotPassword: { forgotPassword: {
email: string; email: string;
password: string;
}; };
login: { login: {
password: string;
email: string; email: string;
password: string;
}; };
registerFirstUser: { registerFirstUser: {
email: string; email: string;
password: string; password: string;
}; };
unlock: {
email: string;
password: string;
};
} }
/** /**
* This interface was referenced by `Config`'s JSON-Schema * This interface was referenced by `Config`'s JSON-Schema