payload-auth 1.0.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.
Files changed (200) hide show
  1. package/LICENSE.md +17 -0
  2. package/dist/authjs/index.d.ts +1 -0
  3. package/dist/authjs/index.js +3 -0
  4. package/dist/authjs/index.js.map +1 -0
  5. package/dist/better-auth/adapter/dev/bin/run.d.ts +1 -0
  6. package/dist/better-auth/adapter/dev/bin/run.js +64 -0
  7. package/dist/better-auth/adapter/dev/bin/run.js.map +1 -0
  8. package/dist/better-auth/adapter/dev/bin/schema.d.ts +22 -0
  9. package/dist/better-auth/adapter/dev/bin/schema.js +160 -0
  10. package/dist/better-auth/adapter/dev/bin/schema.js.map +1 -0
  11. package/dist/better-auth/adapter/dev/collections.d.ts +3 -0
  12. package/dist/better-auth/adapter/dev/collections.js +212 -0
  13. package/dist/better-auth/adapter/dev/collections.js.map +1 -0
  14. package/dist/better-auth/adapter/dev/index.d.ts +3 -0
  15. package/dist/better-auth/adapter/dev/index.js +168 -0
  16. package/dist/better-auth/adapter/dev/index.js.map +1 -0
  17. package/dist/better-auth/adapter/generate-schema/generate-schema-builder.d.ts +23 -0
  18. package/dist/better-auth/adapter/generate-schema/generate-schema-builder.js +326 -0
  19. package/dist/better-auth/adapter/generate-schema/generate-schema-builder.js.map +1 -0
  20. package/dist/better-auth/adapter/generate-schema/get-payload-schema.d.ts +1 -0
  21. package/dist/better-auth/adapter/generate-schema/get-payload-schema.js +23 -0
  22. package/dist/better-auth/adapter/generate-schema/get-payload-schema.js.map +1 -0
  23. package/dist/better-auth/adapter/generate-schema/index.d.ts +4 -0
  24. package/dist/better-auth/adapter/generate-schema/index.js +19 -0
  25. package/dist/better-auth/adapter/generate-schema/index.js.map +1 -0
  26. package/dist/better-auth/adapter/generate-schema/utils.d.ts +2 -0
  27. package/dist/better-auth/adapter/generate-schema/utils.js +20 -0
  28. package/dist/better-auth/adapter/generate-schema/utils.js.map +1 -0
  29. package/dist/better-auth/adapter/index.d.ts +5 -0
  30. package/dist/better-auth/adapter/index.js +578 -0
  31. package/dist/better-auth/adapter/index.js.map +1 -0
  32. package/dist/better-auth/adapter/test/adapter.test.d.ts +1 -0
  33. package/dist/better-auth/adapter/test/adapter.test.js +181 -0
  34. package/dist/better-auth/adapter/test/adapter.test.js.map +1 -0
  35. package/dist/better-auth/adapter/test/better-auth-adapter-test.d.ts +7 -0
  36. package/dist/better-auth/adapter/test/better-auth-adapter-test.js +425 -0
  37. package/dist/better-auth/adapter/test/better-auth-adapter-test.js.map +1 -0
  38. package/dist/better-auth/adapter/test/schema.test.d.ts +1 -0
  39. package/dist/better-auth/adapter/test/schema.test.js +796 -0
  40. package/dist/better-auth/adapter/test/schema.test.js.map +1 -0
  41. package/dist/better-auth/adapter/test/test_payload1/schema.d.ts +23 -0
  42. package/dist/better-auth/adapter/test/test_payload1/schema.js +177 -0
  43. package/dist/better-auth/adapter/test/test_payload1/schema.js.map +1 -0
  44. package/dist/better-auth/adapter/test/test_payload2/schema.d.ts +23 -0
  45. package/dist/better-auth/adapter/test/test_payload2/schema.js +167 -0
  46. package/dist/better-auth/adapter/test/test_payload2/schema.js.map +1 -0
  47. package/dist/better-auth/adapter/test/test_payload3/schema.d.ts +23 -0
  48. package/dist/better-auth/adapter/test/test_payload3/schema.js +198 -0
  49. package/dist/better-auth/adapter/test/test_payload3/schema.js.map +1 -0
  50. package/dist/better-auth/adapter/transform/index.d.ts +16 -0
  51. package/dist/better-auth/adapter/transform/index.js +252 -0
  52. package/dist/better-auth/adapter/transform/index.js.map +1 -0
  53. package/dist/better-auth/adapter/types.d.ts +6 -0
  54. package/dist/better-auth/adapter/types.js +3 -0
  55. package/dist/better-auth/adapter/types.js.map +1 -0
  56. package/dist/better-auth/index.d.ts +6 -0
  57. package/dist/better-auth/index.js +8 -0
  58. package/dist/better-auth/index.js.map +1 -0
  59. package/dist/better-auth/plugin/collections/accounts/hooks/sync-password-to-user.d.ts +7 -0
  60. package/dist/better-auth/plugin/collections/accounts/hooks/sync-password-to-user.js +47 -0
  61. package/dist/better-auth/plugin/collections/accounts/hooks/sync-password-to-user.js.map +1 -0
  62. package/dist/better-auth/plugin/collections/users/endpoints/refresh-token.d.ts +6 -0
  63. package/dist/better-auth/plugin/collections/users/endpoints/refresh-token.js +106 -0
  64. package/dist/better-auth/plugin/collections/users/endpoints/refresh-token.js.map +1 -0
  65. package/dist/better-auth/plugin/collections/users/hooks/after-login.d.ts +11 -0
  66. package/dist/better-auth/plugin/collections/users/hooks/after-login.js +71 -0
  67. package/dist/better-auth/plugin/collections/users/hooks/after-login.js.map +1 -0
  68. package/dist/better-auth/plugin/collections/users/hooks/after-logout.d.ts +6 -0
  69. package/dist/better-auth/plugin/collections/users/hooks/after-logout.js +49 -0
  70. package/dist/better-auth/plugin/collections/users/hooks/after-logout.js.map +1 -0
  71. package/dist/better-auth/plugin/collections/users/hooks/before-login.d.ts +5 -0
  72. package/dist/better-auth/plugin/collections/users/hooks/before-login.js +18 -0
  73. package/dist/better-auth/plugin/collections/users/hooks/before-login.js.map +1 -0
  74. package/dist/better-auth/plugin/collections/users/hooks/clean-up-user-after-delete.d.ts +5 -0
  75. package/dist/better-auth/plugin/collections/users/hooks/clean-up-user-after-delete.js +33 -0
  76. package/dist/better-auth/plugin/collections/users/hooks/clean-up-user-after-delete.js.map +1 -0
  77. package/dist/better-auth/plugin/collections/users/hooks/on-verified-change.d.ts +2 -0
  78. package/dist/better-auth/plugin/collections/users/hooks/on-verified-change.js +14 -0
  79. package/dist/better-auth/plugin/collections/users/hooks/on-verified-change.js.map +1 -0
  80. package/dist/better-auth/plugin/collections/users/hooks/sync-account.d.ts +7 -0
  81. package/dist/better-auth/plugin/collections/users/hooks/sync-account.js +82 -0
  82. package/dist/better-auth/plugin/collections/users/hooks/sync-account.js.map +1 -0
  83. package/dist/better-auth/plugin/helpers/generate-verify-email-url.d.ts +29 -0
  84. package/dist/better-auth/plugin/helpers/generate-verify-email-url.js +46 -0
  85. package/dist/better-auth/plugin/helpers/generate-verify-email-url.js.map +1 -0
  86. package/dist/better-auth/plugin/helpers/get-ip.d.ts +2 -0
  87. package/dist/better-auth/plugin/helpers/get-ip.js +31 -0
  88. package/dist/better-auth/plugin/helpers/get-ip.js.map +1 -0
  89. package/dist/better-auth/plugin/helpers/index.d.ts +1 -0
  90. package/dist/better-auth/plugin/helpers/index.js +3 -0
  91. package/dist/better-auth/plugin/helpers/index.js.map +1 -0
  92. package/dist/better-auth/plugin/helpers/serialize-cookie.d.ts +104 -0
  93. package/dist/better-auth/plugin/helpers/serialize-cookie.js +186 -0
  94. package/dist/better-auth/plugin/helpers/serialize-cookie.js.map +1 -0
  95. package/dist/better-auth/plugin/index.d.ts +7 -0
  96. package/dist/better-auth/plugin/index.js +64 -0
  97. package/dist/better-auth/plugin/index.js.map +1 -0
  98. package/dist/better-auth/plugin/lib/auth-strategy.d.ts +8 -0
  99. package/dist/better-auth/plugin/lib/auth-strategy.js +48 -0
  100. package/dist/better-auth/plugin/lib/auth-strategy.js.map +1 -0
  101. package/dist/better-auth/plugin/lib/build-collection-configs.d.ts +11 -0
  102. package/dist/better-auth/plugin/lib/build-collection-configs.js +1558 -0
  103. package/dist/better-auth/plugin/lib/build-collection-configs.js.map +1 -0
  104. package/dist/better-auth/plugin/lib/config.d.ts +41 -0
  105. package/dist/better-auth/plugin/lib/config.js +43 -0
  106. package/dist/better-auth/plugin/lib/config.js.map +1 -0
  107. package/dist/better-auth/plugin/lib/ensure-password-set-before-create.d.ts +7 -0
  108. package/dist/better-auth/plugin/lib/ensure-password-set-before-create.js +24 -0
  109. package/dist/better-auth/plugin/lib/ensure-password-set-before-create.js.map +1 -0
  110. package/dist/better-auth/plugin/lib/get-payload-auth.d.ts +5 -0
  111. package/dist/better-auth/plugin/lib/get-payload-auth.js +9 -0
  112. package/dist/better-auth/plugin/lib/get-payload-auth.js.map +1 -0
  113. package/dist/better-auth/plugin/lib/get-required-collection-slugs.d.ts +9 -0
  114. package/dist/better-auth/plugin/lib/get-required-collection-slugs.js +52 -0
  115. package/dist/better-auth/plugin/lib/get-required-collection-slugs.js.map +1 -0
  116. package/dist/better-auth/plugin/lib/init-better-auth.d.ts +6 -0
  117. package/dist/better-auth/plugin/lib/init-better-auth.js +13 -0
  118. package/dist/better-auth/plugin/lib/init-better-auth.js.map +1 -0
  119. package/dist/better-auth/plugin/lib/password.d.ts +25 -0
  120. package/dist/better-auth/plugin/lib/password.js +63 -0
  121. package/dist/better-auth/plugin/lib/password.js.map +1 -0
  122. package/dist/better-auth/plugin/lib/payload-access.d.ts +14 -0
  123. package/dist/better-auth/plugin/lib/payload-access.js +64 -0
  124. package/dist/better-auth/plugin/lib/payload-access.js.map +1 -0
  125. package/dist/better-auth/plugin/lib/prepare-session-data.d.ts +21 -0
  126. package/dist/better-auth/plugin/lib/prepare-session-data.js +42 -0
  127. package/dist/better-auth/plugin/lib/prepare-session-data.js.map +1 -0
  128. package/dist/better-auth/plugin/lib/respect-save-to-jwt-fields-middleware.d.ts +15 -0
  129. package/dist/better-auth/plugin/lib/respect-save-to-jwt-fields-middleware.js +30 -0
  130. package/dist/better-auth/plugin/lib/respect-save-to-jwt-fields-middleware.js.map +1 -0
  131. package/dist/better-auth/plugin/lib/sanitize-auth-options.d.ts +5 -0
  132. package/dist/better-auth/plugin/lib/sanitize-auth-options.js +298 -0
  133. package/dist/better-auth/plugin/lib/sanitize-auth-options.js.map +1 -0
  134. package/dist/better-auth/plugin/payload/components/admin-buttons.d.ts +5 -0
  135. package/dist/better-auth/plugin/payload/components/admin-buttons.js +222 -0
  136. package/dist/better-auth/plugin/payload/components/admin-buttons.js.map +1 -0
  137. package/dist/better-auth/plugin/payload/components/login-redirect.d.ts +1 -0
  138. package/dist/better-auth/plugin/payload/components/login-redirect.js +6 -0
  139. package/dist/better-auth/plugin/payload/components/login-redirect.js.map +1 -0
  140. package/dist/better-auth/plugin/payload/components/logo.d.ts +1 -0
  141. package/dist/better-auth/plugin/payload/components/logo.js +36 -0
  142. package/dist/better-auth/plugin/payload/components/logo.js.map +1 -0
  143. package/dist/better-auth/plugin/payload/components/logout.d.ts +1 -0
  144. package/dist/better-auth/plugin/payload/components/logout.js +61 -0
  145. package/dist/better-auth/plugin/payload/components/logout.js.map +1 -0
  146. package/dist/better-auth/plugin/payload/components/sign-in.d.ts +3 -0
  147. package/dist/better-auth/plugin/payload/components/sign-in.js +384 -0
  148. package/dist/better-auth/plugin/payload/components/sign-in.js.map +1 -0
  149. package/dist/better-auth/plugin/payload/components/sign-up.d.ts +6 -0
  150. package/dist/better-auth/plugin/payload/components/sign-up.js +502 -0
  151. package/dist/better-auth/plugin/payload/components/sign-up.js.map +1 -0
  152. package/dist/better-auth/plugin/payload/components/styles.css +73 -0
  153. package/dist/better-auth/plugin/payload/components/ui/button.d.ts +10 -0
  154. package/dist/better-auth/plugin/payload/components/ui/button.js +42 -0
  155. package/dist/better-auth/plugin/payload/components/ui/button.js.map +1 -0
  156. package/dist/better-auth/plugin/payload/components/ui/card.d.ts +9 -0
  157. package/dist/better-auth/plugin/payload/components/ui/card.js +55 -0
  158. package/dist/better-auth/plugin/payload/components/ui/card.js.map +1 -0
  159. package/dist/better-auth/plugin/payload/components/ui/checkbox.d.ts +4 -0
  160. package/dist/better-auth/plugin/payload/components/ui/checkbox.js +23 -0
  161. package/dist/better-auth/plugin/payload/components/ui/checkbox.js.map +1 -0
  162. package/dist/better-auth/plugin/payload/components/ui/cn.d.ts +2 -0
  163. package/dist/better-auth/plugin/payload/components/ui/cn.js +7 -0
  164. package/dist/better-auth/plugin/payload/components/ui/cn.js.map +1 -0
  165. package/dist/better-auth/plugin/payload/components/ui/input.d.ts +3 -0
  166. package/dist/better-auth/plugin/payload/components/ui/input.js +14 -0
  167. package/dist/better-auth/plugin/payload/components/ui/input.js.map +1 -0
  168. package/dist/better-auth/plugin/payload/components/ui/label.d.ts +4 -0
  169. package/dist/better-auth/plugin/payload/components/ui/label.js +15 -0
  170. package/dist/better-auth/plugin/payload/components/ui/label.js.map +1 -0
  171. package/dist/better-auth/plugin/payload/components/ui/password-input.d.ts +2 -0
  172. package/dist/better-auth/plugin/payload/components/ui/password-input.js +55 -0
  173. package/dist/better-auth/plugin/payload/components/ui/password-input.js.map +1 -0
  174. package/dist/better-auth/plugin/payload/exports/client.d.ts +3 -0
  175. package/dist/better-auth/plugin/payload/exports/client.js +5 -0
  176. package/dist/better-auth/plugin/payload/exports/client.js.map +1 -0
  177. package/dist/better-auth/plugin/payload/exports/rsc.d.ts +5 -0
  178. package/dist/better-auth/plugin/payload/exports/rsc.js +7 -0
  179. package/dist/better-auth/plugin/payload/exports/rsc.js.map +1 -0
  180. package/dist/better-auth/plugin/payload/views/create-first-admin/index.d.ts +4 -0
  181. package/dist/better-auth/plugin/payload/views/create-first-admin/index.js +112 -0
  182. package/dist/better-auth/plugin/payload/views/create-first-admin/index.js.map +1 -0
  183. package/dist/better-auth/plugin/payload/views/login/index.d.ts +4 -0
  184. package/dist/better-auth/plugin/payload/views/login/index.js +78 -0
  185. package/dist/better-auth/plugin/payload/views/login/index.js.map +1 -0
  186. package/dist/better-auth/plugin/types.d.ts +224 -0
  187. package/dist/better-auth/plugin/types.js +3 -0
  188. package/dist/better-auth/plugin/types.js.map +1 -0
  189. package/dist/better-auth/types.d.ts +2 -0
  190. package/dist/better-auth/types.js +4 -0
  191. package/dist/better-auth/types.js.map +1 -0
  192. package/dist/clerk/index.d.ts +1 -0
  193. package/dist/clerk/index.js +3 -0
  194. package/dist/clerk/index.js.map +1 -0
  195. package/dist/index.js +7 -0
  196. package/dist/index.js.map +1 -0
  197. package/dist/kinde/index.d.ts +1 -0
  198. package/dist/kinde/index.js +3 -0
  199. package/dist/kinde/index.js.map +1 -0
  200. package/package.json +87 -0
package/LICENSE.md ADDED
@@ -0,0 +1,17 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2025 - present, Luke Gannon <luke.gannon@me.com>
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
5
+ and associated documentation files (the "Software"), to deal in the Software without restriction,
6
+ including without limitation the rights to use, copy, modify, merge, publish, distribute,
7
+ sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
8
+ is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or
11
+ substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
14
+ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
16
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ export declare const authjs = "authjs";
@@ -0,0 +1,3 @@
1
+ export const authjs = "authjs";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export const authjs = \"authjs\";\n"],"names":["authjs"],"mappings":"AAAA,OAAO,MAAMA,SAAS,SAAS"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,64 @@
1
+ import { betterAuth } from 'better-auth';
2
+ import { payloadAdapter } from '../..';
3
+ import { getPayload } from '..';
4
+ import { generateSchema } from '../../generate-schema';
5
+ import { getPayloadPath } from '../../generate-schema/utils';
6
+ const PAYLOAD_TEST_DIR_PATH = getPayloadPath('./test/test_payload1');
7
+ const PAYLOAD_TEST_DIR_PATH2 = getPayloadPath('./test/test_payload2');
8
+ const PAYLOAD_TEST_DIR_PATH3 = getPayloadPath('./test/test_payload3');
9
+ const auth = betterAuth({
10
+ database: payloadAdapter(await getPayload()),
11
+ emailAndPassword: {
12
+ enabled: true
13
+ }
14
+ });
15
+ await generateSchema({
16
+ plugins: [
17
+ {
18
+ id: 'admin',
19
+ schema: {
20
+ admin: {
21
+ fields: {
22
+ name: {
23
+ type: 'string',
24
+ required: true
25
+ },
26
+ id: {
27
+ type: 'string',
28
+ required: true
29
+ },
30
+ isAdmin: {
31
+ type: 'boolean',
32
+ required: true
33
+ },
34
+ status: {
35
+ type: 'string',
36
+ required: false
37
+ },
38
+ date: {
39
+ type: 'date'
40
+ },
41
+ number: {
42
+ type: 'number'
43
+ },
44
+ str_array: {
45
+ type: 'string[]'
46
+ },
47
+ num_array: {
48
+ type: 'number[]'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ ]
55
+ }, {
56
+ outputDir: PAYLOAD_TEST_DIR_PATH3
57
+ }).then(()=>{
58
+ process.exit(0);
59
+ }).catch((err)=>{
60
+ console.error(err);
61
+ process.exit(1);
62
+ });
63
+
64
+ //# sourceMappingURL=run.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/adapter/dev/bin/run.ts"],"sourcesContent":["import { betterAuth } from 'better-auth'\nimport { payloadAdapter } from '../..'\nimport { getPayload } from '..'\nimport { generateSchema } from '../../generate-schema'\nimport { getPayloadPath } from '../../generate-schema/utils'\n\nconst PAYLOAD_TEST_DIR_PATH = getPayloadPath('./test/test_payload1')\nconst PAYLOAD_TEST_DIR_PATH2 = getPayloadPath('./test/test_payload2')\nconst PAYLOAD_TEST_DIR_PATH3 = getPayloadPath('./test/test_payload3')\n\nconst auth = betterAuth({\n database: payloadAdapter(await getPayload()),\n emailAndPassword: {\n enabled: true,\n },\n})\n\nawait generateSchema(\n {\n plugins: [\n {\n id: 'admin',\n schema: {\n admin: {\n fields: {\n name: {\n type: 'string',\n required: true,\n },\n id: {\n type: 'string',\n required: true,\n },\n isAdmin: {\n type: 'boolean',\n required: true,\n },\n status: {\n type: 'string',\n required: false,\n },\n date: {\n type: 'date',\n },\n number: {\n type: 'number',\n },\n str_array: {\n type: 'string[]',\n },\n num_array: {\n type: 'number[]',\n },\n },\n },\n },\n },\n ],\n },\n {\n outputDir: PAYLOAD_TEST_DIR_PATH3,\n },\n)\n .then(() => {\n process.exit(0)\n })\n .catch((err) => {\n console.error(err)\n process.exit(1)\n })\n"],"names":["betterAuth","payloadAdapter","getPayload","generateSchema","getPayloadPath","PAYLOAD_TEST_DIR_PATH","PAYLOAD_TEST_DIR_PATH2","PAYLOAD_TEST_DIR_PATH3","auth","database","emailAndPassword","enabled","plugins","id","schema","admin","fields","name","type","required","isAdmin","status","date","number","str_array","num_array","outputDir","then","process","exit","catch","err","console","error"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAa;AACxC,SAASC,cAAc,QAAQ,QAAO;AACtC,SAASC,UAAU,QAAQ,KAAI;AAC/B,SAASC,cAAc,QAAQ,wBAAuB;AACtD,SAASC,cAAc,QAAQ,8BAA6B;AAE5D,MAAMC,wBAAwBD,eAAe;AAC7C,MAAME,yBAAyBF,eAAe;AAC9C,MAAMG,yBAAyBH,eAAe;AAE9C,MAAMI,OAAOR,WAAW;IACtBS,UAAUR,eAAe,MAAMC;IAC/BQ,kBAAkB;QAChBC,SAAS;IACX;AACF;AAEA,MAAMR,eACJ;IACES,SAAS;QACP;YACEC,IAAI;YACJC,QAAQ;gBACNC,OAAO;oBACLC,QAAQ;wBACNC,MAAM;4BACJC,MAAM;4BACNC,UAAU;wBACZ;wBACAN,IAAI;4BACFK,MAAM;4BACNC,UAAU;wBACZ;wBACAC,SAAS;4BACPF,MAAM;4BACNC,UAAU;wBACZ;wBACAE,QAAQ;4BACNH,MAAM;4BACNC,UAAU;wBACZ;wBACAG,MAAM;4BACJJ,MAAM;wBACR;wBACAK,QAAQ;4BACNL,MAAM;wBACR;wBACAM,WAAW;4BACTN,MAAM;wBACR;wBACAO,WAAW;4BACTP,MAAM;wBACR;oBACF;gBACF;YACF;QACF;KACD;AACH,GACA;IACEQ,WAAWnB;AACb,GAECoB,IAAI,CAAC;IACJC,QAAQC,IAAI,CAAC;AACf,GACCC,KAAK,CAAC,CAACC;IACNC,QAAQC,KAAK,CAACF;IACdH,QAAQC,IAAI,CAAC;AACf"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * EXAMPLE COLLECTIONS FOR BETTER AUTH
3
+ *
4
+ * Below is what your Payload collections should look like.
5
+ * Please copy these to your actual collection configs.
6
+ * Make sure to add an authStrategy for the users collection if there is one.
7
+ *
8
+ * Example auth strategy:
9
+ * auth: {
10
+ * disableLocalStrategy: true,
11
+ * strategies: [
12
+ * betterAuthStrategy(),
13
+ * // Add other strategies as needed
14
+ * ],
15
+ * },
16
+ */
17
+ import type { CollectionConfig } from 'payload';
18
+ declare const User: CollectionConfig;
19
+ declare const Session: CollectionConfig;
20
+ declare const Account: CollectionConfig;
21
+ declare const Verification: CollectionConfig;
22
+ export { User, Session, Account, Verification };
@@ -0,0 +1,160 @@
1
+ /**
2
+ * EXAMPLE COLLECTIONS FOR BETTER AUTH
3
+ *
4
+ * Below is what your Payload collections should look like.
5
+ * Please copy these to your actual collection configs.
6
+ * Make sure to add an authStrategy for the users collection if there is one.
7
+ *
8
+ * Example auth strategy:
9
+ * auth: {
10
+ * disableLocalStrategy: true,
11
+ * strategies: [
12
+ * betterAuthStrategy(),
13
+ * // Add other strategies as needed
14
+ * ],
15
+ * },
16
+ */ const User = {
17
+ slug: 'user',
18
+ admin: {
19
+ useAsTitle: 'name'
20
+ },
21
+ fields: [
22
+ {
23
+ name: 'name',
24
+ type: 'text',
25
+ required: true
26
+ },
27
+ {
28
+ name: 'email',
29
+ type: 'email',
30
+ required: true,
31
+ unique: true
32
+ },
33
+ {
34
+ name: 'emailVerified',
35
+ type: 'checkbox',
36
+ required: true,
37
+ defaultValue: false
38
+ },
39
+ {
40
+ name: 'image',
41
+ type: 'upload',
42
+ relationTo: 'media'
43
+ }
44
+ ],
45
+ timestamps: true
46
+ };
47
+ const Session = {
48
+ slug: 'session',
49
+ admin: {
50
+ useAsTitle: 'expiresAt'
51
+ },
52
+ fields: [
53
+ {
54
+ name: 'expiresAt',
55
+ type: 'date',
56
+ required: true
57
+ },
58
+ {
59
+ name: 'token',
60
+ type: 'text',
61
+ required: true,
62
+ unique: true
63
+ },
64
+ {
65
+ name: 'ipAddress',
66
+ type: 'text'
67
+ },
68
+ {
69
+ name: 'userAgent',
70
+ type: 'text'
71
+ },
72
+ {
73
+ name: 'userId',
74
+ type: 'relationship',
75
+ relationTo: 'user',
76
+ required: true
77
+ }
78
+ ],
79
+ timestamps: true
80
+ };
81
+ const Account = {
82
+ slug: 'account',
83
+ admin: {
84
+ useAsTitle: 'accountId'
85
+ },
86
+ fields: [
87
+ {
88
+ name: 'accountId',
89
+ type: 'text',
90
+ required: true
91
+ },
92
+ {
93
+ name: 'providerId',
94
+ type: 'text',
95
+ required: true
96
+ },
97
+ {
98
+ name: 'userId',
99
+ type: 'relationship',
100
+ relationTo: 'user',
101
+ required: true
102
+ },
103
+ {
104
+ name: 'accessToken',
105
+ type: 'text'
106
+ },
107
+ {
108
+ name: 'refreshToken',
109
+ type: 'text'
110
+ },
111
+ {
112
+ name: 'idToken',
113
+ type: 'text'
114
+ },
115
+ {
116
+ name: 'accessTokenExpiresAt',
117
+ type: 'date'
118
+ },
119
+ {
120
+ name: 'refreshTokenExpiresAt',
121
+ type: 'date'
122
+ },
123
+ {
124
+ name: 'scope',
125
+ type: 'text'
126
+ },
127
+ {
128
+ name: 'password',
129
+ type: 'text'
130
+ }
131
+ ],
132
+ timestamps: true
133
+ };
134
+ const Verification = {
135
+ slug: 'verification',
136
+ admin: {
137
+ useAsTitle: 'identifier'
138
+ },
139
+ fields: [
140
+ {
141
+ name: 'identifier',
142
+ type: 'text',
143
+ required: true
144
+ },
145
+ {
146
+ name: 'value',
147
+ type: 'text',
148
+ required: true
149
+ },
150
+ {
151
+ name: 'expiresAt',
152
+ type: 'date',
153
+ required: true
154
+ }
155
+ ],
156
+ timestamps: true
157
+ };
158
+ export { User, Session, Account, Verification };
159
+
160
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/adapter/dev/bin/schema.ts"],"sourcesContent":["/**\n * EXAMPLE COLLECTIONS FOR BETTER AUTH\n *\n * Below is what your Payload collections should look like.\n * Please copy these to your actual collection configs.\n * Make sure to add an authStrategy for the users collection if there is one.\n *\n * Example auth strategy:\n * auth: {\n * disableLocalStrategy: true,\n * strategies: [\n * betterAuthStrategy(),\n * // Add other strategies as needed\n * ],\n * },\n */\nimport type { CollectionConfig } from 'payload'\n\nconst User: CollectionConfig = {\n slug: 'user',\n admin: {\n useAsTitle: 'name',\n },\n fields: [\n {\n name: 'name',\n type: 'text',\n required: true,\n },\n {\n name: 'email',\n type: 'email',\n required: true,\n unique: true,\n },\n {\n name: 'emailVerified',\n type: 'checkbox',\n required: true,\n defaultValue: false,\n },\n {\n name: 'image',\n type: 'upload',\n relationTo: 'media',\n },\n ],\n timestamps: true,\n} as const\n\nconst Session: CollectionConfig = {\n slug: 'session',\n admin: {\n useAsTitle: 'expiresAt',\n },\n fields: [\n {\n name: 'expiresAt',\n type: 'date',\n required: true,\n },\n {\n name: 'token',\n type: 'text',\n required: true,\n unique: true,\n },\n {\n name: 'ipAddress',\n type: 'text',\n },\n {\n name: 'userAgent',\n type: 'text',\n },\n {\n name: 'userId',\n type: 'relationship',\n relationTo: 'user',\n required: true,\n },\n ],\n timestamps: true,\n} as const\n\nconst Account: CollectionConfig = {\n slug: 'account',\n admin: {\n useAsTitle: 'accountId',\n },\n fields: [\n {\n name: 'accountId',\n type: 'text',\n required: true,\n },\n {\n name: 'providerId',\n type: 'text',\n required: true,\n },\n {\n name: 'userId',\n type: 'relationship',\n relationTo: 'user',\n required: true,\n },\n {\n name: 'accessToken',\n type: 'text',\n },\n {\n name: 'refreshToken',\n type: 'text',\n },\n {\n name: 'idToken',\n type: 'text',\n },\n {\n name: 'accessTokenExpiresAt',\n type: 'date',\n },\n {\n name: 'refreshTokenExpiresAt',\n type: 'date',\n },\n {\n name: 'scope',\n type: 'text',\n },\n {\n name: 'password',\n type: 'text',\n },\n ],\n timestamps: true,\n} as const\n\nconst Verification: CollectionConfig = {\n slug: 'verification',\n admin: {\n useAsTitle: 'identifier',\n },\n fields: [\n {\n name: 'identifier',\n type: 'text',\n required: true,\n },\n {\n name: 'value',\n type: 'text',\n required: true,\n },\n {\n name: 'expiresAt',\n type: 'date',\n required: true,\n },\n ],\n timestamps: true,\n} as const\n\nexport { User, Session, Account, Verification }\n"],"names":["User","slug","admin","useAsTitle","fields","name","type","required","unique","defaultValue","relationTo","timestamps","Session","Account","Verification"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAGD,MAAMA,OAAyB;IAC7BC,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;YACVC,QAAQ;QACV;QACA;YACEH,MAAM;YACNC,MAAM;YACNC,UAAU;YACVE,cAAc;QAChB;QACA;YACEJ,MAAM;YACNC,MAAM;YACNI,YAAY;QACd;KACD;IACDC,YAAY;AACd;AAEA,MAAMC,UAA4B;IAChCX,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;YACVC,QAAQ;QACV;QACA;YACEH,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;YACNI,YAAY;YACZH,UAAU;QACZ;KACD;IACDI,YAAY;AACd;AAEA,MAAME,UAA4B;IAChCZ,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNI,YAAY;YACZH,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;KACD;IACDK,YAAY;AACd;AAEA,MAAMG,eAAiC;IACrCb,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;KACD;IACDI,YAAY;AACd;AAEA,SAASX,IAAI,EAAEY,OAAO,EAAEC,OAAO,EAAEC,YAAY,GAAE"}
@@ -0,0 +1,3 @@
1
+ import type { CollectionConfig } from 'payload';
2
+ declare const collections: CollectionConfig[];
3
+ export { collections };
@@ -0,0 +1,212 @@
1
+ const User = {
2
+ slug: 'user',
3
+ admin: {
4
+ useAsTitle: 'name'
5
+ },
6
+ fields: [
7
+ {
8
+ name: 'name',
9
+ type: 'text',
10
+ required: true
11
+ },
12
+ {
13
+ name: 'email',
14
+ type: 'email',
15
+ required: true,
16
+ unique: true
17
+ },
18
+ {
19
+ name: 'emailVerified',
20
+ type: 'checkbox',
21
+ required: true
22
+ },
23
+ {
24
+ name: 'image',
25
+ type: 'upload',
26
+ relationTo: 'media'
27
+ }
28
+ ],
29
+ timestamps: true
30
+ };
31
+ const Session = {
32
+ slug: 'session',
33
+ admin: {
34
+ useAsTitle: 'expiresAt'
35
+ },
36
+ fields: [
37
+ {
38
+ name: 'expiresAt',
39
+ type: 'date',
40
+ required: true
41
+ },
42
+ {
43
+ name: 'token',
44
+ type: 'text',
45
+ required: true,
46
+ unique: true
47
+ },
48
+ {
49
+ name: 'ipAddress',
50
+ type: 'text'
51
+ },
52
+ {
53
+ name: 'userAgent',
54
+ type: 'text'
55
+ },
56
+ {
57
+ name: 'userId',
58
+ type: 'relationship',
59
+ required: true,
60
+ relationTo: 'user'
61
+ }
62
+ ],
63
+ timestamps: true
64
+ };
65
+ const Account = {
66
+ slug: 'account',
67
+ admin: {
68
+ useAsTitle: 'accountId'
69
+ },
70
+ fields: [
71
+ {
72
+ name: 'accountId',
73
+ type: 'number',
74
+ required: true
75
+ },
76
+ {
77
+ name: 'providerId',
78
+ type: 'text'
79
+ },
80
+ {
81
+ name: 'userId',
82
+ type: 'relationship',
83
+ required: true,
84
+ relationTo: 'user'
85
+ },
86
+ {
87
+ name: 'accessToken',
88
+ type: 'text'
89
+ },
90
+ {
91
+ name: 'refreshToken',
92
+ type: 'text'
93
+ },
94
+ {
95
+ name: 'idToken',
96
+ type: 'text'
97
+ },
98
+ {
99
+ name: 'accessTokenExpiresAt',
100
+ type: 'date'
101
+ },
102
+ {
103
+ name: 'refreshTokenExpiresAt',
104
+ type: 'date'
105
+ },
106
+ {
107
+ name: 'scope',
108
+ type: 'text'
109
+ },
110
+ {
111
+ name: 'password',
112
+ type: 'text'
113
+ }
114
+ ],
115
+ timestamps: true
116
+ };
117
+ const Verification = {
118
+ slug: 'verification',
119
+ admin: {
120
+ useAsTitle: 'identifier'
121
+ },
122
+ fields: [
123
+ {
124
+ name: 'identifier',
125
+ type: 'text',
126
+ required: true
127
+ },
128
+ {
129
+ name: 'value',
130
+ type: 'text',
131
+ required: true
132
+ },
133
+ {
134
+ name: 'expiresAt',
135
+ type: 'date',
136
+ required: true
137
+ }
138
+ ],
139
+ timestamps: true
140
+ };
141
+ const Media = {
142
+ slug: 'media',
143
+ fields: [
144
+ {
145
+ name: 'alt',
146
+ type: 'text'
147
+ }
148
+ ],
149
+ upload: {
150
+ adminThumbnail: 'thumbnail',
151
+ imageSizes: [
152
+ {
153
+ name: 'thumbnail',
154
+ fit: 'cover',
155
+ width: 500,
156
+ formatOptions: {
157
+ format: 'webp',
158
+ options: {
159
+ quality: 100
160
+ }
161
+ }
162
+ }
163
+ ],
164
+ formatOptions: {
165
+ format: 'webp',
166
+ options: {
167
+ quality: 80
168
+ }
169
+ },
170
+ resizeOptions: {
171
+ width: 2560,
172
+ withoutEnlargement: true
173
+ },
174
+ bulkUpload: true,
175
+ disableLocalStorage: true,
176
+ focalPoint: true,
177
+ crop: true,
178
+ pasteURL: {
179
+ allowList: [
180
+ {
181
+ hostname: 'payloadcms.com',
182
+ pathname: '',
183
+ port: '',
184
+ protocol: 'https',
185
+ search: ''
186
+ },
187
+ {
188
+ hostname: 'drive.google.com',
189
+ protocol: 'https'
190
+ },
191
+ {
192
+ hostname: 'www.bonavistaleisurescapes.com',
193
+ protocol: 'https'
194
+ },
195
+ {
196
+ hostname: 'www.acdcfeeds.com',
197
+ protocol: 'https'
198
+ }
199
+ ]
200
+ }
201
+ }
202
+ };
203
+ const collections = [
204
+ User,
205
+ Session,
206
+ Account,
207
+ Verification,
208
+ Media
209
+ ];
210
+ export { collections };
211
+
212
+ //# sourceMappingURL=collections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/adapter/dev/collections.ts"],"sourcesContent":["import type { CollectionConfig } from 'payload'\n\nconst User: CollectionConfig = {\n slug: 'user',\n admin: {\n useAsTitle: 'name',\n },\n fields: [\n {\n name: 'name',\n type: 'text',\n required: true,\n },\n {\n name: 'email',\n type: 'email',\n required: true,\n unique: true,\n },\n {\n name: 'emailVerified',\n type: 'checkbox',\n required: true,\n },\n {\n name: 'image',\n type: 'upload',\n relationTo: 'media',\n },\n ],\n timestamps: true,\n} as const\n\nconst Session: CollectionConfig = {\n slug: 'session',\n admin: {\n useAsTitle: 'expiresAt',\n },\n fields: [\n {\n name: 'expiresAt',\n type: 'date',\n required: true,\n },\n {\n name: 'token',\n type: 'text',\n required: true,\n unique: true,\n },\n {\n name: 'ipAddress',\n type: 'text',\n },\n {\n name: 'userAgent',\n type: 'text',\n },\n {\n name: 'userId',\n type: 'relationship',\n required: true,\n relationTo: 'user',\n },\n ],\n timestamps: true,\n} as const\n\nconst Account: CollectionConfig = {\n slug: 'account',\n admin: {\n useAsTitle: 'accountId',\n },\n fields: [\n {\n name: 'accountId',\n type: 'number',\n required: true,\n },\n {\n name: 'providerId',\n type: 'text',\n },\n {\n name: 'userId',\n type: 'relationship',\n required: true,\n relationTo: 'user',\n },\n {\n name: 'accessToken',\n type: 'text',\n },\n {\n name: 'refreshToken',\n type: 'text',\n },\n {\n name: 'idToken',\n type: 'text',\n },\n {\n name: 'accessTokenExpiresAt',\n type: 'date',\n },\n {\n name: 'refreshTokenExpiresAt',\n type: 'date',\n },\n {\n name: 'scope',\n type: 'text',\n },\n {\n name: 'password',\n type: 'text',\n },\n ],\n timestamps: true,\n} as const\n\nconst Verification: CollectionConfig = {\n slug: 'verification',\n admin: {\n useAsTitle: 'identifier',\n },\n fields: [\n {\n name: 'identifier',\n type: 'text',\n required: true,\n },\n {\n name: 'value',\n type: 'text',\n required: true,\n },\n {\n name: 'expiresAt',\n type: 'date',\n required: true,\n },\n ],\n timestamps: true,\n} as const\n\nconst Media: CollectionConfig = {\n slug: 'media',\n fields: [\n {\n name: 'alt',\n type: 'text',\n },\n ],\n upload: {\n adminThumbnail: 'thumbnail',\n imageSizes: [\n {\n name: 'thumbnail',\n fit: 'cover',\n width: 500,\n formatOptions: {\n format: 'webp',\n options: {\n quality: 100,\n },\n },\n },\n ],\n formatOptions: {\n format: 'webp',\n options: {\n quality: 80,\n },\n },\n resizeOptions: {\n width: 2560,\n withoutEnlargement: true,\n },\n bulkUpload: true,\n disableLocalStorage: true,\n focalPoint: true,\n crop: true,\n pasteURL: {\n allowList: [\n {\n hostname: 'payloadcms.com', // required\n pathname: '',\n port: '',\n protocol: 'https',\n search: '',\n },\n {\n hostname: 'drive.google.com',\n protocol: 'https',\n },\n {\n hostname: 'www.bonavistaleisurescapes.com',\n protocol: 'https',\n },\n {\n hostname: 'www.acdcfeeds.com',\n protocol: 'https',\n },\n ],\n },\n },\n} as const\n\nconst collections = [User, Session, Account, Verification, Media]\n\nexport { collections }\n"],"names":["User","slug","admin","useAsTitle","fields","name","type","required","unique","relationTo","timestamps","Session","Account","Verification","Media","upload","adminThumbnail","imageSizes","fit","width","formatOptions","format","options","quality","resizeOptions","withoutEnlargement","bulkUpload","disableLocalStorage","focalPoint","crop","pasteURL","allowList","hostname","pathname","port","protocol","search","collections"],"mappings":"AAEA,MAAMA,OAAyB;IAC7BC,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;YACVC,QAAQ;QACV;QACA;YACEH,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNG,YAAY;QACd;KACD;IACDC,YAAY;AACd;AAEA,MAAMC,UAA4B;IAChCV,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;YACVC,QAAQ;QACV;QACA;YACEH,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;YACNC,UAAU;YACVE,YAAY;QACd;KACD;IACDC,YAAY;AACd;AAEA,MAAME,UAA4B;IAChCX,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;YACNC,UAAU;YACVE,YAAY;QACd;QACA;YACEJ,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;QACA;YACED,MAAM;YACNC,MAAM;QACR;KACD;IACDI,YAAY;AACd;AAEA,MAAMG,eAAiC;IACrCZ,MAAM;IACNC,OAAO;QACLC,YAAY;IACd;IACAC,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;QACA;YACEF,MAAM;YACNC,MAAM;YACNC,UAAU;QACZ;KACD;IACDG,YAAY;AACd;AAEA,MAAMI,QAA0B;IAC9Bb,MAAM;IACNG,QAAQ;QACN;YACEC,MAAM;YACNC,MAAM;QACR;KACD;IACDS,QAAQ;QACNC,gBAAgB;QAChBC,YAAY;YACV;gBACEZ,MAAM;gBACNa,KAAK;gBACLC,OAAO;gBACPC,eAAe;oBACbC,QAAQ;oBACRC,SAAS;wBACPC,SAAS;oBACX;gBACF;YACF;SACD;QACDH,eAAe;YACbC,QAAQ;YACRC,SAAS;gBACPC,SAAS;YACX;QACF;QACAC,eAAe;YACbL,OAAO;YACPM,oBAAoB;QACtB;QACAC,YAAY;QACZC,qBAAqB;QACrBC,YAAY;QACZC,MAAM;QACNC,UAAU;YACRC,WAAW;gBACT;oBACEC,UAAU;oBACVC,UAAU;oBACVC,MAAM;oBACNC,UAAU;oBACVC,QAAQ;gBACV;gBACA;oBACEJ,UAAU;oBACVG,UAAU;gBACZ;gBACA;oBACEH,UAAU;oBACVG,UAAU;gBACZ;gBACA;oBACEH,UAAU;oBACVG,UAAU;gBACZ;aACD;QACH;IACF;AACF;AAEA,MAAME,cAAc;IAACrC;IAAMW;IAASC;IAASC;IAAcC;CAAM;AAEjE,SAASuB,WAAW,GAAE"}
@@ -0,0 +1,3 @@
1
+ export declare const payloadConfig: Promise<import("payload").SanitizedConfig>;
2
+ export declare function getPayload(): Promise<import("payload").BasePayload>;
3
+ export default payloadConfig;