Compare commits
8455 Commits
v0.3.8
...
db-postgre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
548de80bee | ||
|
|
2c05fbbb5e | ||
|
|
9b54659818 | ||
|
|
e9f550406e | ||
|
|
98b87e2278 | ||
|
|
5f3d0169be | ||
|
|
35c2a085ef | ||
|
|
1ac943ed5e | ||
|
|
25cee8bb10 | ||
|
|
419aef452d | ||
|
|
ea52489126 | ||
|
|
e80c70acae | ||
|
|
70b0064d0b | ||
|
|
9636bf6efd | ||
|
|
8f4d0da4e0 | ||
|
|
f0f1dbdcb0 | ||
|
|
a895aee8b1 | ||
|
|
aa1dac08c1 | ||
|
|
b8cd1c6ba4 | ||
|
|
6344464bc6 | ||
|
|
5d4022f144 | ||
|
|
bf942fdfa6 | ||
|
|
d6c25783cf | ||
|
|
82e9d31127 | ||
|
|
399e606b34 | ||
|
|
0d18822062 | ||
|
|
00fc0343da | ||
|
|
6323965c65 | ||
|
|
6d6823c3e5 | ||
|
|
ca70298436 | ||
|
|
4f565759f6 | ||
|
|
df39602758 | ||
|
|
6ea6172afa | ||
|
|
486774796d | ||
|
|
1cd1c38764 | ||
|
|
f6d7da7510 | ||
|
|
cdc4cb971b | ||
|
|
e0191b54e1 | ||
|
|
2315781f18 | ||
|
|
a0a58e7fd2 | ||
|
|
e1813fb884 | ||
|
|
da184d40ec | ||
|
|
ca8675f89d | ||
|
|
e8c6c9338d | ||
|
|
558534aff8 | ||
|
|
29c901ba9b | ||
|
|
f3876c2a39 | ||
|
|
c3a3942969 | ||
|
|
23b135b963 | ||
|
|
e3c8105cc2 | ||
|
|
2c71aaef75 | ||
|
|
922fb9b7fa | ||
|
|
0740d5095e | ||
|
|
b392d656fe | ||
|
|
c0eef90cdc | ||
|
|
db22cbdf21 | ||
|
|
1e8a6b7899 | ||
|
|
5d934ba02d | ||
|
|
f651665f2f | ||
|
|
5d3659d48a | ||
|
|
47106d5a1a | ||
|
|
afa2b942e0 | ||
|
|
20ddd0de5b | ||
|
|
64f705c3c9 | ||
|
|
b30ea8aa6b | ||
|
|
471d2113a7 | ||
|
|
8725d41164 | ||
|
|
0bd81aa25a | ||
|
|
8c09ca9be5 | ||
|
|
90d7ee3e65 | ||
|
|
58bbd8c00f | ||
|
|
003ad065c3 | ||
|
|
70715926a8 | ||
|
|
b3a6bfacf2 | ||
|
|
e1d9accb27 | ||
|
|
f2f55a84cc | ||
|
|
eba53ba60a | ||
|
|
f73d503fec | ||
|
|
6930c4e9f2 | ||
|
|
3eb681e847 | ||
|
|
cb4638cfa1 | ||
|
|
b40e9f85a2 | ||
|
|
e5a7907a72 | ||
|
|
3f25d1ca84 | ||
|
|
d5720bea7b | ||
|
|
8ce15c8b07 | ||
|
|
9f5efef78f | ||
|
|
dfba5222f3 | ||
|
|
b99d24fcfa | ||
|
|
836ed77568 | ||
|
|
1c5d5b07c8 | ||
|
|
da5f1f2240 | ||
|
|
c84c58c7b4 | ||
|
|
1c1b8f3cec | ||
|
|
3f69f83180 | ||
|
|
371353f153 | ||
|
|
a92c6334b6 | ||
|
|
eb9e771a9c | ||
|
|
ee5390aaca | ||
|
|
a861311c5a | ||
|
|
74c3fe1bb2 | ||
|
|
a2be50279e | ||
|
|
403eb06acf | ||
|
|
f5c2cd74cc | ||
|
|
a6a1963ec6 | ||
|
|
0647c870f1 | ||
|
|
3b88adc7d0 | ||
|
|
82383a5b5f | ||
|
|
f9dda628b2 | ||
|
|
93eb0e4a31 | ||
|
|
2e362f44f4 | ||
|
|
775502b161 | ||
|
|
84d75ce6ca | ||
|
|
175cf229c0 | ||
|
|
bb40bd3efb | ||
|
|
3d74c133aa | ||
|
|
0f6b6ca970 | ||
|
|
8e1692ef10 | ||
|
|
1d1ee913fc | ||
|
|
beca43341f | ||
|
|
84818469ea | ||
|
|
0a259d27b5 | ||
|
|
e2e56a4d58 | ||
|
|
d0f7677d5f | ||
|
|
35956eb837 | ||
|
|
d92af295eb | ||
|
|
493fde5ccc | ||
|
|
c6bd20ef33 | ||
|
|
6d5ac1de1e | ||
|
|
fa3b3dd62d | ||
|
|
1115387744 | ||
|
|
53e8690feb | ||
|
|
4319fe1c6e | ||
|
|
2fee0c0d44 | ||
|
|
7923edd7bc | ||
|
|
5702b83e82 | ||
|
|
63e5c43fe6 | ||
|
|
04f2888135 | ||
|
|
0f69b9c2f8 | ||
|
|
f1bb2f8151 | ||
|
|
ea528b8c10 | ||
|
|
0053e40404 | ||
|
|
605c0be43c | ||
|
|
3152b4c4c5 | ||
|
|
a64b80babc | ||
|
|
5cfde542b1 | ||
|
|
772020963e | ||
|
|
5e083689d0 | ||
|
|
911764a490 | ||
|
|
e3b81d913d | ||
|
|
41b3b17911 | ||
|
|
e9860b36f3 | ||
|
|
14b39fbc85 | ||
|
|
d08e85d08c | ||
|
|
abcbf9974d | ||
|
|
d01437d212 | ||
|
|
06729a0a73 | ||
|
|
2bd7822a16 | ||
|
|
bc7daf6b49 | ||
|
|
feab679ef7 | ||
|
|
be39ed4317 | ||
|
|
570e192eb4 | ||
|
|
22f4967dd4 | ||
|
|
4873c36129 | ||
|
|
f0ec21cdda | ||
|
|
da737bdf8e | ||
|
|
40508880c1 | ||
|
|
8f420d841a | ||
|
|
9022e27308 | ||
|
|
acf2e41312 | ||
|
|
6acfae8ee7 | ||
|
|
20bdd91da4 | ||
|
|
50502834c9 | ||
|
|
2b731c1088 | ||
|
|
983733ad74 | ||
|
|
555d02769a | ||
|
|
682eca2186 | ||
|
|
6affa1c304 | ||
|
|
1d14d9f8b8 | ||
|
|
0abaddc2ef | ||
|
|
57dc93da5d | ||
|
|
21b9453cf4 | ||
|
|
136993ec2b | ||
|
|
63bc4cabe1 | ||
|
|
6a8a6e4ef4 | ||
|
|
9828772890 | ||
|
|
6116573164 | ||
|
|
cab6babd60 | ||
|
|
55399424a1 | ||
|
|
28d3f73c2a | ||
|
|
28a30120dd | ||
|
|
40a0921597 | ||
|
|
7eae86bcb3 | ||
|
|
0b80e4a403 | ||
|
|
b378532ddf | ||
|
|
d419275fb5 | ||
|
|
0fb3a9ca89 | ||
|
|
f43cf185d4 | ||
|
|
5d15955f83 | ||
|
|
2d35e06667 | ||
|
|
d2de6db449 | ||
|
|
a3e78161b5 | ||
|
|
d543665995 | ||
|
|
db7dddf1c5 | ||
|
|
3027a03ad1 | ||
|
|
85e38b7cfd | ||
|
|
9090540ece | ||
|
|
46ef284f6b | ||
|
|
0727dcd963 | ||
|
|
52f8d4f9f0 | ||
|
|
f1fa374ed1 | ||
|
|
6b691eee43 | ||
|
|
be3beabb9b | ||
|
|
1fa00cc25c | ||
|
|
f70943524b | ||
|
|
a67080a291 | ||
|
|
69a99445c9 | ||
|
|
00d8480062 | ||
|
|
7424ba9090 | ||
|
|
ec4d2f97cb | ||
|
|
9d9ac0ec28 | ||
|
|
635e7c26e8 | ||
|
|
c4a4678afb | ||
|
|
a5a91c08a9 | ||
|
|
7db58b482b | ||
|
|
1b914083c8 | ||
|
|
657d14c07b | ||
|
|
fbf8ab72a4 | ||
|
|
997f158149 | ||
|
|
c3be5d1d5e | ||
|
|
250bcd8189 | ||
|
|
a71d37b398 | ||
|
|
5c5523195c | ||
|
|
bff4cf518f | ||
|
|
8015e999cd | ||
|
|
0c905f0da7 | ||
|
|
e691a90a4c | ||
|
|
0b2da4fba7 | ||
|
|
1c6d6788a3 | ||
|
|
ecc7978184 | ||
|
|
1b9ee64a67 | ||
|
|
22b02226c3 | ||
|
|
e4102b88d8 | ||
|
|
a099f55a69 | ||
|
|
1f1445c798 | ||
|
|
741a5e3650 | ||
|
|
365047a3fb | ||
|
|
42c06acd18 | ||
|
|
f2c8ac4a9a | ||
|
|
05e8914db7 | ||
|
|
35191bdd66 | ||
|
|
98890eee1f | ||
|
|
ef43629502 | ||
|
|
c703497924 | ||
|
|
7a4607897d | ||
|
|
1cad1a6954 | ||
|
|
5caad706bb | ||
|
|
9e8f14a897 | ||
|
|
f3748a1534 | ||
|
|
aa048d5409 | ||
|
|
fee81bfbc4 | ||
|
|
ed7c0e19d2 | ||
|
|
adbd76375f | ||
|
|
b1f3582764 | ||
|
|
8bc31cd592 | ||
|
|
03688f2348 | ||
|
|
ace2e9706b | ||
|
|
c111fa7531 | ||
|
|
a859992709 | ||
|
|
f51f8493c9 | ||
|
|
dd32f5e450 | ||
|
|
6fdd535f29 | ||
|
|
1c6174ecb5 | ||
|
|
aafd538cf8 | ||
|
|
1b42bd207d | ||
|
|
9fac2ef24e | ||
|
|
7ec6af7296 | ||
|
|
c1bd338d0d | ||
|
|
c49fd66922 | ||
|
|
3e9ef849cd | ||
|
|
2650c70960 | ||
|
|
a3f29fd858 | ||
|
|
8257661c47 | ||
|
|
d86fe0b46c | ||
|
|
d7d55c2a9c | ||
|
|
f83d65e0cf | ||
|
|
303f0d6227 | ||
|
|
6d9110ec48 | ||
|
|
07371b9cad | ||
|
|
228d45cf52 | ||
|
|
cc0ba89518 | ||
|
|
9e7a8c7206 | ||
|
|
eb6572e9e5 | ||
|
|
45c472d6b3 | ||
|
|
c6c5cabfbb | ||
|
|
dd84cc69c7 | ||
|
|
31f8f3cac6 | ||
|
|
f868799404 | ||
|
|
fd1c4b7fc8 | ||
|
|
46e8c01fbe | ||
|
|
13e3e06713 | ||
|
|
77ebba3ccd | ||
|
|
1cc87bd8ea | ||
|
|
3df52a8856 | ||
|
|
b450aeee85 | ||
|
|
93f0ebdeae | ||
|
|
3a20ddc5f8 | ||
|
|
dff3f37313 | ||
|
|
2a65717792 | ||
|
|
63000373e6 | ||
|
|
678ba6cdcc | ||
|
|
a1d66b83e0 | ||
|
|
548e78c598 | ||
|
|
168d629697 | ||
|
|
b9c0248823 | ||
|
|
a2dac605e5 | ||
|
|
9222d6f207 | ||
|
|
ac7f9809bc | ||
|
|
076c3258d0 | ||
|
|
9331204295 | ||
|
|
9babf6804c | ||
|
|
5c2739ebd1 | ||
|
|
0421173f9e | ||
|
|
057996766b | ||
|
|
b70c8ff6b8 | ||
|
|
8299436554 | ||
|
|
d218f63c6f | ||
|
|
e55889480f | ||
|
|
37aa99f1dd | ||
|
|
d3e47b64c1 | ||
|
|
070f4d5bb5 | ||
|
|
48f1299fcb | ||
|
|
61dca16f91 | ||
|
|
6e9ae65374 | ||
|
|
35f54a7be3 | ||
|
|
128f9c4e7e | ||
|
|
1469fc26c7 | ||
|
|
e03ff791b6 | ||
|
|
403c3d3e08 | ||
|
|
d7765ef9e1 | ||
|
|
df4f346f2f | ||
|
|
93fa7b608f | ||
|
|
989aba665e | ||
|
|
c582f948c7 | ||
|
|
217cc1fc42 | ||
|
|
7af8f29b4a | ||
|
|
5f2cd1ae77 | ||
|
|
dbaecda0e9 | ||
|
|
cf9a3704df | ||
|
|
4b5453e8e5 | ||
|
|
5de347ffff | ||
|
|
80ef18c149 | ||
|
|
912abe2b64 | ||
|
|
4090aebb0e | ||
|
|
290e9d8238 | ||
|
|
50253f617c | ||
|
|
999e05d1b4 | ||
|
|
b6cffcea07 | ||
|
|
7b2eb0c175 | ||
|
|
3b8a27d199 | ||
|
|
65adfd21ed | ||
|
|
03a387233d | ||
|
|
fcbe5744d9 | ||
|
|
06bf6a426e | ||
|
|
b634d5e552 | ||
|
|
5f173241df | ||
|
|
0bd12e01d7 | ||
|
|
b6f02765eb | ||
|
|
156ffdd18c | ||
|
|
fe888b5f6c | ||
|
|
bea79feaea | ||
|
|
293cee6f90 | ||
|
|
3e745e91da | ||
|
|
4243048fc5 | ||
|
|
ef84a2cfff | ||
|
|
c00cbaabbc | ||
|
|
02f407e995 | ||
|
|
74e8051bb6 | ||
|
|
ee670b2b20 | ||
|
|
2f8bcc977b | ||
|
|
0cc91d7377 | ||
|
|
34e89ff5db | ||
|
|
b39b52dbd3 | ||
|
|
7bfdb2627a | ||
|
|
8f5867e876 | ||
|
|
45a3e31c95 | ||
|
|
176550d26b | ||
|
|
53958d4662 | ||
|
|
a0859114eb | ||
|
|
4adc30b034 | ||
|
|
ff61d5a099 | ||
|
|
9cc88bb474 | ||
|
|
57fc211674 | ||
|
|
9da9b1fc50 | ||
|
|
30d050ef86 | ||
|
|
9beb9c8627 | ||
|
|
224cddd045 | ||
|
|
3502ce720b | ||
|
|
b8fa61942e | ||
|
|
d49bb4351f | ||
|
|
542096361f | ||
|
|
66679fbdd6 | ||
|
|
d4f28b16b4 | ||
|
|
cd07873fc5 | ||
|
|
6d28fc46bd | ||
|
|
8e903053e2 | ||
|
|
7e1052fd98 | ||
|
|
b4af95f894 | ||
|
|
381c158b03 | ||
|
|
3514bfbdae | ||
|
|
4cfe473627 | ||
|
|
c1eb9d1727 | ||
|
|
37b765cce8 | ||
|
|
5bf64933b4 | ||
|
|
094d02ce1d | ||
|
|
1fe4f4c5f4 | ||
|
|
35ce0ebc83 | ||
|
|
530c825f80 | ||
|
|
308979f31d | ||
|
|
2122242192 | ||
|
|
40c8909ee0 | ||
|
|
babe3dba6a | ||
|
|
9bb7a88526 | ||
|
|
098e389147 | ||
|
|
b56f1f4f2a | ||
|
|
443847ec71 | ||
|
|
26f6b37a20 | ||
|
|
1dcd3a2782 | ||
|
|
6f59257574 | ||
|
|
65575d3573 | ||
|
|
cbeb0a8bc7 | ||
|
|
ad62db01e7 | ||
|
|
42cba2e3a1 | ||
|
|
1401718b3b | ||
|
|
712647d741 | ||
|
|
c8d2b2b60e | ||
|
|
aab2407112 | ||
|
|
d439bf3011 | ||
|
|
62ca71fbc4 | ||
|
|
e50fa9ca8f | ||
|
|
ed7aca6525 | ||
|
|
98ccd05dd6 | ||
|
|
051bced3b5 | ||
|
|
79f08baf2f | ||
|
|
d6b63da617 | ||
|
|
d512e9382d | ||
|
|
b17cafc7be | ||
|
|
24dacd6712 | ||
|
|
6ea29094ba | ||
|
|
f27407ce7c | ||
|
|
9ae65fa791 | ||
|
|
3d2b62b210 | ||
|
|
6364afb1dd | ||
|
|
56a4692662 | ||
|
|
ef6b8e4235 | ||
|
|
5f5290341a | ||
|
|
62403584ad | ||
|
|
19fcfc27af | ||
|
|
dcf14f5f71 | ||
|
|
3a784a06cc | ||
|
|
6eeae9d53b | ||
|
|
6044f810bd | ||
|
|
e68ca9363f | ||
|
|
9963b8d945 | ||
|
|
9afb838182 | ||
|
|
2dad129022 | ||
|
|
6af1c4d45d | ||
|
|
4e41dd1bf2 | ||
|
|
de02490231 | ||
|
|
8a7b41721a | ||
|
|
1510baf46e | ||
|
|
0672e864f3 | ||
|
|
c10db332cd | ||
|
|
0af9c4d398 | ||
|
|
fc137c0f53 | ||
|
|
a24f2be4a6 | ||
|
|
57999adfe2 | ||
|
|
7857043d03 | ||
|
|
3b93af734b | ||
|
|
50fab902bd | ||
|
|
724d80b7f4 | ||
|
|
b406e6afb9 | ||
|
|
3f46b21eb2 | ||
|
|
eed4f4361c | ||
|
|
05f3169a75 | ||
|
|
94f1443ce4 | ||
|
|
fc26275b7a | ||
|
|
e57f5e2aa0 | ||
|
|
dbfc83520c | ||
|
|
c068a8784e | ||
|
|
989c10e0e0 | ||
|
|
3bf2b7a3fe | ||
|
|
a6b486007d | ||
|
|
4e03ee7079 | ||
|
|
b91711a74a | ||
|
|
191c13a409 | ||
|
|
b210af4696 | ||
|
|
8cebd2ccce | ||
|
|
195a952c43 | ||
|
|
4bc5fa7086 | ||
|
|
2c8d34d2aa | ||
|
|
4ec5643dd7 | ||
|
|
45e9a559bb | ||
|
|
d6233cbf42 | ||
|
|
ad3e23b345 | ||
|
|
782e118569 | ||
|
|
dbfe4af993 | ||
|
|
859c2f4a6d | ||
|
|
a34d0f8274 | ||
|
|
967eff1aab | ||
|
|
b7041d6ab1 | ||
|
|
78b7bd62cd | ||
|
|
7329b1babd | ||
|
|
c87969b7f9 | ||
|
|
09f17f4450 | ||
|
|
615702b858 | ||
|
|
f0642ce031 | ||
|
|
56db87d2ec | ||
|
|
45c42724a4 | ||
|
|
a6d5f2e3de | ||
|
|
73b8549ef5 | ||
|
|
e22b95bdf3 | ||
|
|
56ddd2c388 | ||
|
|
803a37eaa9 | ||
|
|
d308bb3421 | ||
|
|
cbc4752ecb | ||
|
|
c51f9d01cb | ||
|
|
d19d8fd232 | ||
|
|
5dbbd8f88b | ||
|
|
47bd3894c4 | ||
|
|
a57c68cd04 | ||
|
|
acad2888cd | ||
|
|
db2da71357 | ||
|
|
cbb4ce2f51 | ||
|
|
47efd3b92e | ||
|
|
348a70cc33 | ||
|
|
9f873f8630 | ||
|
|
949e265cd9 | ||
|
|
687f4850ac | ||
|
|
1f851f21b1 | ||
|
|
dbc4ce71e6 | ||
|
|
cef4cbb0ee | ||
|
|
7059a71243 | ||
|
|
01559ef34b | ||
|
|
8488f7b8db | ||
|
|
a92a160a13 | ||
|
|
77a7c83251 | ||
|
|
2ad7340154 | ||
|
|
c462df38f6 | ||
|
|
fff377ad22 | ||
|
|
a2cb946155 | ||
|
|
c39472259a | ||
|
|
e2d36c3cab | ||
|
|
0e682a32c3 | ||
|
|
266c3274d0 | ||
|
|
67b3baaa44 | ||
|
|
55659c7c36 | ||
|
|
6a0a859563 | ||
|
|
57da3c99a7 | ||
|
|
611438177b | ||
|
|
d068ef7e24 | ||
|
|
7a9af4417a | ||
|
|
8d14c213c8 | ||
|
|
182c57b191 | ||
|
|
15459fb8e3 | ||
|
|
3ca71c4def | ||
|
|
64136a6b17 | ||
|
|
acba5e482b | ||
|
|
571f190f34 | ||
|
|
131d89c3f5 | ||
|
|
55c38a8934 | ||
|
|
2abb46f4f1 | ||
|
|
f41780ef33 | ||
|
|
105392cf07 | ||
|
|
fa2e68ad1c | ||
|
|
2053e4eeab | ||
|
|
432794fa55 | ||
|
|
6787f0dfd9 | ||
|
|
0b0a40c9fb | ||
|
|
95c43a2ab4 | ||
|
|
f4037a6bdc | ||
|
|
c4d173ae0f | ||
|
|
3e5149bc43 | ||
|
|
17f7b94555 | ||
|
|
04850694c1 | ||
|
|
eb42c031ef | ||
|
|
dc253676e8 | ||
|
|
926372f15a | ||
|
|
c2f379f139 | ||
|
|
1a523eff98 | ||
|
|
f320a87f92 | ||
|
|
d1a0822f80 | ||
|
|
da533d6b64 | ||
|
|
fb3b95e52d | ||
|
|
a9d96b1037 | ||
|
|
ea7ce6fd97 | ||
|
|
354b73c3aa | ||
|
|
96fc3df532 | ||
|
|
c7a315a7d1 | ||
|
|
b008b6c646 | ||
|
|
b722f202af | ||
|
|
720760225f | ||
|
|
f7d4c04f65 | ||
|
|
6b1b4ffd27 | ||
|
|
6325b334ec | ||
|
|
79b1b88a2f | ||
|
|
b2beec302f | ||
|
|
fbc2064a10 | ||
|
|
900a9eafeb | ||
|
|
06cd52b622 | ||
|
|
c7ec557466 | ||
|
|
4c587acc10 | ||
|
|
6f39b809b3 | ||
|
|
796669279a | ||
|
|
886fca8e37 | ||
|
|
30db52ac45 | ||
|
|
f04a18a258 | ||
|
|
cdc10be1a2 | ||
|
|
a5b2333140 | ||
|
|
afe1834f9a | ||
|
|
3d7a2de00d | ||
|
|
5ea88bb47d | ||
|
|
386fe0741d | ||
|
|
b6d9a2021f | ||
|
|
1f8f173741 | ||
|
|
36576f152a | ||
|
|
4ea8ace4c8 | ||
|
|
3a83f08518 | ||
|
|
4607dbf976 | ||
|
|
94d8d2790b | ||
|
|
e6b9fb4fab | ||
|
|
6918be20ba | ||
|
|
e4881bb02f | ||
|
|
ed748102d6 | ||
|
|
88627f22e5 | ||
|
|
a2a44a81f2 | ||
|
|
b2b0f10935 | ||
|
|
2ebb9b8752 | ||
|
|
d383a00b65 | ||
|
|
d6ff8e3e69 | ||
|
|
20373903fd | ||
|
|
6d94e57225 | ||
|
|
a14b15200a | ||
|
|
0da3b59daf | ||
|
|
46fc41cbd9 | ||
|
|
237eebdf87 | ||
|
|
422c803da6 | ||
|
|
7e919aa87c | ||
|
|
d393225289 | ||
|
|
a4f36aa8a0 | ||
|
|
3404bab83f | ||
|
|
89f273bf89 | ||
|
|
4d8d4c214a | ||
|
|
dc13b101f7 | ||
|
|
42d8d11fd7 | ||
|
|
56e58e9ec7 | ||
|
|
c564a83ab6 | ||
|
|
a4fa0ef393 | ||
|
|
dac9514eb0 | ||
|
|
760565f1e9 | ||
|
|
436825cc0b | ||
|
|
7256a6b8b9 | ||
|
|
8066806d13 | ||
|
|
7a15545773 | ||
|
|
9d4969685f | ||
|
|
3ebcc5120c | ||
|
|
ed68583392 | ||
|
|
87c58bc0ba | ||
|
|
22bd80b8c2 | ||
|
|
09d303c8b3 | ||
|
|
aa22392c4f | ||
|
|
da3f99d57f | ||
|
|
24c89e2ad7 | ||
|
|
8e05d8f064 | ||
|
|
9ba7265529 | ||
|
|
4f2b080d1c | ||
|
|
115e592b54 | ||
|
|
c8fbfc43bd | ||
|
|
6cfa8a373e | ||
|
|
6c5d525d8e | ||
|
|
f53b713154 | ||
|
|
435eb6204e | ||
|
|
c4561a4390 | ||
|
|
8fe712cb66 | ||
|
|
459a55dfb6 | ||
|
|
8de0b89458 | ||
|
|
718ab6f93b | ||
|
|
5bf1cd6d93 | ||
|
|
556904e75c | ||
|
|
0851ef41d7 | ||
|
|
6616942b78 | ||
|
|
59fabc757d | ||
|
|
650f78a2b9 | ||
|
|
d6826f792c | ||
|
|
3032e0b5a2 | ||
|
|
c30b59c5fe | ||
|
|
3182d422c4 | ||
|
|
ce1e7a5d14 | ||
|
|
03101f0f54 | ||
|
|
80bf97ebb4 | ||
|
|
ed5da473b5 | ||
|
|
01feb6d92d | ||
|
|
daf1f5fa7d | ||
|
|
35f00fa83d | ||
|
|
5fb52f6d17 | ||
|
|
41925cef9c | ||
|
|
bff88b3956 | ||
|
|
11d237ece8 | ||
|
|
7f80aa95a4 | ||
|
|
fc0c612e47 | ||
|
|
24eab3af1d | ||
|
|
c8f57dd9b9 | ||
|
|
b901401ab3 | ||
|
|
00a1ce754a | ||
|
|
7eee0ec355 | ||
|
|
78312d9d8d | ||
|
|
fa8d591b4b | ||
|
|
a0019d0a78 | ||
|
|
5a0d0dbc02 | ||
|
|
fa550740eb | ||
|
|
e987e2b0ed | ||
|
|
69ca713e45 | ||
|
|
71a3e5ba10 | ||
|
|
9c250d57a4 | ||
|
|
06b5b3dc6f | ||
|
|
4f77073e2c | ||
|
|
41e3212949 | ||
|
|
e9eac9acce | ||
|
|
7e20298648 | ||
|
|
e8f237783b | ||
|
|
d4e6791494 | ||
|
|
fa4ceb5322 | ||
|
|
9149913319 | ||
|
|
284f66e6d8 | ||
|
|
a13ec2ebc4 | ||
|
|
eaef0e7395 | ||
|
|
4268b7833e | ||
|
|
c476d01f4e | ||
|
|
1a5db608c0 | ||
|
|
94de5c6c24 | ||
|
|
5d4ef620b1 | ||
|
|
cac33ac275 | ||
|
|
219aa3b2f3 | ||
|
|
dd0ff50621 | ||
|
|
591c0a0786 | ||
|
|
a197161390 | ||
|
|
ae5b397bc8 | ||
|
|
e6b2d3d1fc | ||
|
|
6b19525a65 | ||
|
|
c86ae0a9d2 | ||
|
|
9277b306de | ||
|
|
156eae2551 | ||
|
|
e197e0316f | ||
|
|
863b79348b | ||
|
|
30ff65d0b4 | ||
|
|
3185771551 | ||
|
|
ea83c3f3a2 | ||
|
|
072f7febd2 | ||
|
|
b5c7bbed93 | ||
|
|
931f6ff519 | ||
|
|
0af36af16c | ||
|
|
f6adbae0c7 | ||
|
|
67d61df563 | ||
|
|
01380bebe5 | ||
|
|
5719b1b39a | ||
|
|
f259645488 | ||
|
|
eec60d5883 | ||
|
|
d4548d73d5 | ||
|
|
ccc7c51c90 | ||
|
|
ec5e35ff71 | ||
|
|
55b9bf40df | ||
|
|
5282673746 | ||
|
|
298ca0b7ae | ||
|
|
71407e19e2 | ||
|
|
09078bdb40 | ||
|
|
e84f5ded28 | ||
|
|
a475b9b28b | ||
|
|
baad7d3360 | ||
|
|
7fcb972dfa | ||
|
|
01245b07f8 | ||
|
|
d2f45343da | ||
|
|
5ba95df674 | ||
|
|
40f98e4a0d | ||
|
|
584ead9fe2 | ||
|
|
b6bf354f6a | ||
|
|
9918c2499a | ||
|
|
8c48c8beb5 | ||
|
|
2697753715 | ||
|
|
4b13686f61 | ||
|
|
ab7999d3c1 | ||
|
|
a592188c1d | ||
|
|
5ff0846b6c | ||
|
|
13cabf129e | ||
|
|
c173e55b89 | ||
|
|
bcdd2d626f | ||
|
|
67682248c8 | ||
|
|
7c52d6ee28 | ||
|
|
bc65b53ce5 | ||
|
|
c8cc6ea1cc | ||
|
|
4e05e6fd85 | ||
|
|
6988a68eaf | ||
|
|
a272692726 | ||
|
|
229e4459cb | ||
|
|
056585ed31 | ||
|
|
b545433ee6 | ||
|
|
4c938b5f9e | ||
|
|
f1d8fa9999 | ||
|
|
1670a603f6 | ||
|
|
22f1fa8fc9 | ||
|
|
370e8d1938 | ||
|
|
3a3eab761e | ||
|
|
238f7e1b94 | ||
|
|
58e2083882 | ||
|
|
20cde242fb | ||
|
|
f50a392d59 | ||
|
|
fa1740d906 | ||
|
|
e847061c74 | ||
|
|
ebd5e6ae8f | ||
|
|
48de89794b | ||
|
|
ef4b5d8bfd | ||
|
|
5711d42eca | ||
|
|
a446a788a9 | ||
|
|
df57196d19 | ||
|
|
86c563e4e5 | ||
|
|
734b8c08ed | ||
|
|
68c5a57515 | ||
|
|
d9f0b7bd30 | ||
|
|
5ecfe3da28 | ||
|
|
3e3163e875 | ||
|
|
cfe1698dfd | ||
|
|
5722634660 | ||
|
|
cdbfc9132a | ||
|
|
dd0ac066ce | ||
|
|
8b8ceabbdd | ||
|
|
8da18d3496 | ||
|
|
6cd4df3dc4 | ||
|
|
e74dc8633b | ||
|
|
2f945919a3 | ||
|
|
52dc9177d7 | ||
|
|
cec757d098 | ||
|
|
80e57150a0 | ||
|
|
2969da7402 | ||
|
|
35da1db99f | ||
|
|
a578226d34 | ||
|
|
8c75f32620 | ||
|
|
c3ab8b9115 | ||
|
|
993568a195 | ||
|
|
c3cec64220 | ||
|
|
084e9f0ff8 | ||
|
|
9f0ef9b7da | ||
|
|
c384f490c8 | ||
|
|
45a62ba949 | ||
|
|
1eae5f9c99 | ||
|
|
dfa861557d | ||
|
|
228fd58020 | ||
|
|
150799e10e | ||
|
|
823436a883 | ||
|
|
cbb0ba1a2c | ||
|
|
cb39354a9d | ||
|
|
1625ff244e | ||
|
|
24918fe1d2 | ||
|
|
b8a58666e7 | ||
|
|
2e6a2c8355 | ||
|
|
1fdff92525 | ||
|
|
7da5f6e92a | ||
|
|
67c7572e5f | ||
|
|
e311e8fff9 | ||
|
|
086e50b9b3 | ||
|
|
66ab6c587d | ||
|
|
786fb926c2 | ||
|
|
7d954b11a3 | ||
|
|
3c5044368d | ||
|
|
f129d6c607 | ||
|
|
de2d985405 | ||
|
|
060f3c73fa | ||
|
|
62ae7be113 | ||
|
|
771df061b4 | ||
|
|
09e64c3be8 | ||
|
|
1a006fef19 | ||
|
|
c4cac99875 | ||
|
|
d616772740 | ||
|
|
4b9e87bb4d | ||
|
|
ff5e174497 | ||
|
|
34017e1758 | ||
|
|
23d95526ab | ||
|
|
59b87fdb21 | ||
|
|
f2ac1f7d48 | ||
|
|
8d4f39af5e | ||
|
|
c4ac341d75 | ||
|
|
27589482dd | ||
|
|
d7ab4b7062 | ||
|
|
2c8fbf1be3 | ||
|
|
eec88f8f1b | ||
|
|
c9844f2958 | ||
|
|
1481ef97b5 | ||
|
|
a89e89fb80 | ||
|
|
7e7eeb059d | ||
|
|
dc2a502dcc | ||
|
|
a67a9379ce | ||
|
|
7bbd292efa | ||
|
|
3eefe8cb21 | ||
|
|
29ef8e797d | ||
|
|
b0a62442e5 | ||
|
|
c6ce6024d2 | ||
|
|
00daf728f4 | ||
|
|
a9a5ba82d8 | ||
|
|
e6e8fae1c5 | ||
|
|
a05868a7f3 | ||
|
|
f27cd26575 | ||
|
|
db835ea5c8 | ||
|
|
d8f265fb94 | ||
|
|
d81d4eb075 | ||
|
|
52f89c0136 | ||
|
|
b0083b7c07 | ||
|
|
21649537a6 | ||
|
|
9be34c9599 | ||
|
|
8ca632e541 | ||
|
|
2ef79145a4 | ||
|
|
a0641a445d | ||
|
|
3a2e78f7f3 | ||
|
|
976d69d154 | ||
|
|
66018362fe | ||
|
|
647fe23d1c | ||
|
|
d7c61861f6 | ||
|
|
7caa098023 | ||
|
|
fd54c40400 | ||
|
|
e180131314 | ||
|
|
5902d4542b | ||
|
|
6bc282444e | ||
|
|
4dc6c09347 | ||
|
|
03b9ab0054 | ||
|
|
3c3c93f483 | ||
|
|
5dbfb1a335 | ||
|
|
d411874589 | ||
|
|
8358e2f2d2 | ||
|
|
2c67eff059 | ||
|
|
012b8e6f90 | ||
|
|
fcd4c8d830 | ||
|
|
81ec435363 | ||
|
|
e116fcfbf5 | ||
|
|
c47632dc1d | ||
|
|
0dab68b336 | ||
|
|
483f93bfcf | ||
|
|
4bd01df411 | ||
|
|
927a1ab049 | ||
|
|
f23ae28d45 | ||
|
|
8938f2b7e9 | ||
|
|
ed8a9ffa09 | ||
|
|
7db69347a1 | ||
|
|
6e22cf291c | ||
|
|
15cff2b1c5 | ||
|
|
864bf2c062 | ||
|
|
c956a85252 | ||
|
|
6ebc325520 | ||
|
|
beed83b231 | ||
|
|
9aac5a3384 | ||
|
|
3b1bdcbe41 | ||
|
|
d3d0971275 | ||
|
|
1a99d66cd0 | ||
|
|
52c4a63bf1 | ||
|
|
3446d28602 | ||
|
|
2eb18771a1 | ||
|
|
f6fd5d6742 | ||
|
|
76d6c88261 | ||
|
|
10ebd76fcf | ||
|
|
36d6eb0a69 | ||
|
|
cd1f8dc332 | ||
|
|
e4275aa228 | ||
|
|
ddfcb2f12e | ||
|
|
09f33eae2c | ||
|
|
d3b7c9feec | ||
|
|
5fd3d43000 | ||
|
|
7767679caa | ||
|
|
fdf2e32005 | ||
|
|
773be8744d | ||
|
|
40d5bc0c4a | ||
|
|
fd33c790f2 | ||
|
|
ae7aac7639 | ||
|
|
05cc2873b4 | ||
|
|
171ee121e9 | ||
|
|
4af1d7d812 | ||
|
|
d229fc391a | ||
|
|
46a24a9822 | ||
|
|
06a51b3c9b | ||
|
|
1d4142ccc0 | ||
|
|
f1741beba2 | ||
|
|
9103277a10 | ||
|
|
2a549438e0 | ||
|
|
d84673f400 | ||
|
|
46121b5891 | ||
|
|
f3b6e49781 | ||
|
|
15e23a3adc | ||
|
|
565929adcf | ||
|
|
8bbac60e60 | ||
|
|
15c7f0dbf3 | ||
|
|
05eba56d7d | ||
|
|
ab984b3ea9 | ||
|
|
a54638eb47 | ||
|
|
69af8d9c83 | ||
|
|
64864686c4 | ||
|
|
32c0bef05e | ||
|
|
a77513e94f | ||
|
|
aaf883909c | ||
|
|
cc56da11d6 | ||
|
|
41d9c28073 | ||
|
|
a071b97607 | ||
|
|
cfd9231403 | ||
|
|
71dce62646 | ||
|
|
db376f24ba | ||
|
|
2752483ac7 | ||
|
|
860f867c62 | ||
|
|
5b0adbe9c3 | ||
|
|
fb7d1be2f3 | ||
|
|
687a2e85d0 | ||
|
|
df80483afe | ||
|
|
8781770d83 | ||
|
|
ed1d5a60f7 | ||
|
|
50a0965561 | ||
|
|
c31fa5dd83 | ||
|
|
440eb8d9c6 | ||
|
|
1523b2be41 | ||
|
|
68f55c4064 | ||
|
|
0d3544ea04 | ||
|
|
f152f451dc | ||
|
|
5d92436e39 | ||
|
|
63edecddd8 | ||
|
|
65cdf6bfd0 | ||
|
|
9e831a6a00 | ||
|
|
0b64c5fb66 | ||
|
|
40426a25df | ||
|
|
c91b1e8310 | ||
|
|
06e2fa9d11 | ||
|
|
72249d1ecd | ||
|
|
dc22496103 | ||
|
|
c6925ec29f | ||
|
|
8f46b31249 | ||
|
|
af1c2e924e | ||
|
|
1487250752 | ||
|
|
e3c776523a | ||
|
|
c09e9d96cf | ||
|
|
aabc0650f8 | ||
|
|
4dd4e9aaae | ||
|
|
3b63b7fc3c | ||
|
|
f0e2e78b82 | ||
|
|
a154adf066 | ||
|
|
d86bcc1495 | ||
|
|
2b7043c6e6 | ||
|
|
e0afeeca97 | ||
|
|
76e306ddd8 | ||
|
|
cfc78ed4f5 | ||
|
|
64b0db5a7a | ||
|
|
48600f0c66 | ||
|
|
6d2dd5849d | ||
|
|
6d9353b53f | ||
|
|
1914be75aa | ||
|
|
b17f627e02 | ||
|
|
bef79621ee | ||
|
|
af892ecb0e | ||
|
|
a42e84bbb2 | ||
|
|
470bdb72ff | ||
|
|
5c36be949c | ||
|
|
eb97acd408 | ||
|
|
2567ac58ba | ||
|
|
9ff014bbfe | ||
|
|
e6f0d35985 | ||
|
|
b1e449e005 | ||
|
|
9ae585d23c | ||
|
|
9de3320933 | ||
|
|
5d429fa7ae | ||
|
|
dc8f1925f0 | ||
|
|
15f650afde | ||
|
|
c945384d63 | ||
|
|
dfada1b238 | ||
|
|
229bdda2c1 | ||
|
|
a1d51fb410 | ||
|
|
46430f5598 | ||
|
|
e41899cd27 | ||
|
|
890af8be05 | ||
|
|
8bfae6b932 | ||
|
|
ace3e577f6 | ||
|
|
9198245ad9 | ||
|
|
f0095937ba | ||
|
|
0bbd7137cd | ||
|
|
ffed34cf27 | ||
|
|
040f3a34d1 | ||
|
|
0985825b08 | ||
|
|
c18d3b5f0e | ||
|
|
e9e25ceac9 | ||
|
|
35aed59a1a | ||
|
|
26002173b1 | ||
|
|
41d968771e | ||
|
|
26c34541d2 | ||
|
|
263d40d169 | ||
|
|
6ced11d44d | ||
|
|
be049cea00 | ||
|
|
491e50c236 | ||
|
|
ad253db691 | ||
|
|
aff5fdff8a | ||
|
|
aa97bebbd4 | ||
|
|
a2410ea9fc | ||
|
|
de20ef1e8d | ||
|
|
08f7497040 | ||
|
|
74e99ce251 | ||
|
|
b5c56efb4b | ||
|
|
4ff6d63c94 | ||
|
|
c90d1faa7f | ||
|
|
1848b120ce | ||
|
|
62679baa91 | ||
|
|
2de36550ae | ||
|
|
61ea5becbb | ||
|
|
5d9384f530 | ||
|
|
d75ffa0ea7 | ||
|
|
26967fb924 | ||
|
|
830d9867b6 | ||
|
|
2f86c196e1 | ||
|
|
86a35ed441 | ||
|
|
70e068b182 | ||
|
|
4ac01a7fa3 | ||
|
|
8058a6d800 | ||
|
|
252b04097f | ||
|
|
23066aec71 | ||
|
|
b9a595b00c | ||
|
|
ea49d74941 | ||
|
|
f5f41f929e | ||
|
|
61151c9c5d | ||
|
|
c12c1a7472 | ||
|
|
7afa1e999d | ||
|
|
71c41dbe03 | ||
|
|
a161dc7bb6 | ||
|
|
6c17222a6a | ||
|
|
63bf7d9303 | ||
|
|
f878135e8b | ||
|
|
11a77ae489 | ||
|
|
e5d6a75449 | ||
|
|
3cb0d9c2ca | ||
|
|
229149a5a6 | ||
|
|
9006643102 | ||
|
|
25ae4a24f2 | ||
|
|
501ec4464f | ||
|
|
961505366a | ||
|
|
c54fb304e7 | ||
|
|
7679e3f0aa | ||
|
|
f7c35df6de | ||
|
|
ca97f692c3 | ||
|
|
9244a2d25d | ||
|
|
24f1965f69 | ||
|
|
d0c352cc62 | ||
|
|
c56e61023d | ||
|
|
ae03501753 | ||
|
|
7b94fb75bb | ||
|
|
e842c6624a | ||
|
|
2ddf15ce9a | ||
|
|
7df1256bf6 | ||
|
|
1ebb9f3915 | ||
|
|
eab04d9b4d | ||
|
|
c6e6f99868 | ||
|
|
fbbc0a3c67 | ||
|
|
ef24f430a2 | ||
|
|
617ab76a22 | ||
|
|
9d9918e0fd | ||
|
|
e515712fcd | ||
|
|
0ce08aab99 | ||
|
|
e398044442 | ||
|
|
7e5d322d6b | ||
|
|
b04f6b2b5b | ||
|
|
36225d1455 | ||
|
|
c9fdcebb9e | ||
|
|
1758b6c449 | ||
|
|
5e6bec773f | ||
|
|
5ebe375743 | ||
|
|
bca1be8cb6 | ||
|
|
1e197933dd | ||
|
|
25d20cf87b | ||
|
|
b32b156f9f | ||
|
|
fd38fa8209 | ||
|
|
33bf4491a9 | ||
|
|
7ad9d777a2 | ||
|
|
92fdfbe333 | ||
|
|
27ba1fc79e | ||
|
|
bdbfc8c9af | ||
|
|
8c097ccaa7 | ||
|
|
4eb929d57c | ||
|
|
198209c2a4 | ||
|
|
54f19ce1e3 | ||
|
|
d32f3ade1b | ||
|
|
87d66dceb1 | ||
|
|
256fc6d178 | ||
|
|
74f8923922 | ||
|
|
d9d4df22e5 | ||
|
|
3161d3e552 | ||
|
|
0acffa38eb | ||
|
|
4503ce39fa | ||
|
|
0e407e05d7 | ||
|
|
d50049878d | ||
|
|
26d56de572 | ||
|
|
73f434e394 | ||
|
|
bf189abc91 | ||
|
|
13bc3e3681 | ||
|
|
b398c44bfe | ||
|
|
aa443d9050 | ||
|
|
f39ba60b08 | ||
|
|
791f2051f3 | ||
|
|
a37798b80d | ||
|
|
077bd7fad3 | ||
|
|
8255088f39 | ||
|
|
5a969a2c4d | ||
|
|
7c7e841af7 | ||
|
|
13332f04ab | ||
|
|
c1d28a7a07 | ||
|
|
69a379e49f | ||
|
|
493fc3ed68 | ||
|
|
138e495e1a | ||
|
|
4eaa76a314 | ||
|
|
8f98eff0d7 | ||
|
|
f8dce28904 | ||
|
|
09ee95087b | ||
|
|
190a1ab5a0 | ||
|
|
5e8b11b5d3 | ||
|
|
436250d594 | ||
|
|
09c94609b4 | ||
|
|
6d012bff68 | ||
|
|
f0af24d066 | ||
|
|
360291c407 | ||
|
|
d8f6f86228 | ||
|
|
a0645bbae5 | ||
|
|
999f2fba04 | ||
|
|
6009b18f75 | ||
|
|
f968b92968 | ||
|
|
b51987d4ac | ||
|
|
2639d29b91 | ||
|
|
3668f053b3 | ||
|
|
18da607f5b | ||
|
|
8e4cede62c | ||
|
|
e0af6fea99 | ||
|
|
27f861d725 | ||
|
|
bb0c997a87 | ||
|
|
eb58d9e877 | ||
|
|
c9387eba27 | ||
|
|
1c577d1d0c | ||
|
|
86802dd531 | ||
|
|
1c3d969ef1 | ||
|
|
b9aa4d96a3 | ||
|
|
6c866773b2 | ||
|
|
1020b08fd1 | ||
|
|
b5b451464c | ||
|
|
b90796f48a | ||
|
|
0e67ac9b6b | ||
|
|
de79dca08f | ||
|
|
74972cf4c9 | ||
|
|
595ba1b241 | ||
|
|
022ef85d8c | ||
|
|
8e0c3602f9 | ||
|
|
70d41407a8 | ||
|
|
be618ba79e | ||
|
|
8f2cec2535 | ||
|
|
ad896e377b | ||
|
|
9574444b57 | ||
|
|
450a648e7e | ||
|
|
940174f446 | ||
|
|
3600dbb3ab | ||
|
|
a41a3c5ee7 | ||
|
|
6c0eef3ec2 | ||
|
|
3a16eb90b6 | ||
|
|
2f8d5dc628 | ||
|
|
e1f092410e | ||
|
|
654561cf30 | ||
|
|
77bb42d672 | ||
|
|
cdbe61875e | ||
|
|
e5d3821a9e | ||
|
|
f70837ab11 | ||
|
|
0dbcc2725e | ||
|
|
6efedc174a | ||
|
|
c4f2a65e49 | ||
|
|
5d1444e1bd | ||
|
|
8fe619a221 | ||
|
|
5195a80dba | ||
|
|
909cf90fa2 | ||
|
|
03c9a91ea9 | ||
|
|
f3d2060d8d | ||
|
|
c1d1a00d4a | ||
|
|
ae68093f35 | ||
|
|
0f2f355a01 | ||
|
|
0101aa60d9 | ||
|
|
eb069e4253 | ||
|
|
27deeccd50 | ||
|
|
59bd6abfc3 | ||
|
|
ad7c25685e | ||
|
|
7e9c7707ba | ||
|
|
acfda5d8d4 | ||
|
|
b6de427f04 | ||
|
|
88c84ad8d6 | ||
|
|
00543f5e25 | ||
|
|
d2415a5af4 | ||
|
|
75ae2456a8 | ||
|
|
ace393ca46 | ||
|
|
3fce97a6d2 | ||
|
|
e55ec6329c | ||
|
|
fb07308dca | ||
|
|
5bc81031d1 | ||
|
|
03538c0901 | ||
|
|
960fe42b93 | ||
|
|
64c405d0fc | ||
|
|
75ec46ad63 | ||
|
|
345c606895 | ||
|
|
06fe3f4ac8 | ||
|
|
6afdaefdcd | ||
|
|
4d4db8065e | ||
|
|
1ce9b28dce | ||
|
|
6a74173789 | ||
|
|
877576119a | ||
|
|
50dd03853a | ||
|
|
163cf631e8 | ||
|
|
7690fa1b55 | ||
|
|
11b51bca75 | ||
|
|
85e64c9209 | ||
|
|
4ad8a9f5bb | ||
|
|
ba4656b966 | ||
|
|
8df9d57a69 | ||
|
|
ae436673cb | ||
|
|
7c1b3b9de3 | ||
|
|
83d6b3f652 | ||
|
|
ae49403c45 | ||
|
|
c8b843c819 | ||
|
|
48db3027c9 | ||
|
|
5f4c38ce21 | ||
|
|
4a91be1d62 | ||
|
|
ca5dbb5cd4 | ||
|
|
a8ff06a134 | ||
|
|
01891bb8bc | ||
|
|
0d2fe860e5 | ||
|
|
542dcb3226 | ||
|
|
4e973c9389 | ||
|
|
2b831a67b4 | ||
|
|
36740b70d4 | ||
|
|
a423c7fd60 | ||
|
|
c3b2b19dbe | ||
|
|
272f62f032 | ||
|
|
5d1677a84e | ||
|
|
d063c93394 | ||
|
|
d73596a670 | ||
|
|
78d6643950 | ||
|
|
c823ee07cd | ||
|
|
1f12f9b480 | ||
|
|
ec31ab3a2c | ||
|
|
a7bea35d69 | ||
|
|
64a4f19539 | ||
|
|
c35661e16e | ||
|
|
69b6179521 | ||
|
|
3d2e167e78 | ||
|
|
aa1955221c | ||
|
|
7a9b11e2c4 | ||
|
|
a82c0d0e50 | ||
|
|
35a6daa10d | ||
|
|
bf5db4e44a | ||
|
|
a87e8aa82b | ||
|
|
e00d87a791 | ||
|
|
b61babca73 | ||
|
|
e403a0492e | ||
|
|
54a76e1401 | ||
|
|
cffb5663aa | ||
|
|
91f6e36420 | ||
|
|
c73113565a | ||
|
|
02c165b71f | ||
|
|
783072ef7c | ||
|
|
72fe24b69e | ||
|
|
81ed355bbc | ||
|
|
08a114e0e0 | ||
|
|
c49bb14414 | ||
|
|
2411cfbe13 | ||
|
|
c1439ae7da | ||
|
|
36e7e1d946 | ||
|
|
ad924c8d7b | ||
|
|
bb6956cd32 | ||
|
|
63bae989bb | ||
|
|
528150c3f7 | ||
|
|
fa91d45ae6 | ||
|
|
b545f62574 | ||
|
|
b6a778196d | ||
|
|
9acc1e4c99 | ||
|
|
dfd5151c4f | ||
|
|
605ba73c30 | ||
|
|
4fab26db9d | ||
|
|
c4e4a5a3f7 | ||
|
|
82d9dd8a28 | ||
|
|
8a2045e3e4 | ||
|
|
cddde3e488 | ||
|
|
986ceea246 | ||
|
|
d638408399 | ||
|
|
a46a80bd52 | ||
|
|
c2a99c8edc | ||
|
|
2fe7818f29 | ||
|
|
0bb11ecf8b | ||
|
|
eafeea4dd8 | ||
|
|
56cf767e18 | ||
|
|
bbd410bcbe | ||
|
|
d2fa65cb4f | ||
|
|
18472d0178 | ||
|
|
7ee41b6a65 | ||
|
|
0a895eee80 | ||
|
|
74d6ef0c31 | ||
|
|
f77c41978b | ||
|
|
9e74fe558f | ||
|
|
ac8bcfac23 | ||
|
|
5c97d05acf | ||
|
|
3538c2132d | ||
|
|
fd9d98da9f | ||
|
|
1c22459107 | ||
|
|
2d084e19d3 | ||
|
|
80f2d417f2 | ||
|
|
cfb77e2f27 | ||
|
|
deb5be5a9b | ||
|
|
6bad383a95 | ||
|
|
9880880384 | ||
|
|
618ee991dc | ||
|
|
4b726eb139 | ||
|
|
374fb99571 | ||
|
|
183414e6e8 | ||
|
|
91b0a691ed | ||
|
|
3ced6ec2a0 | ||
|
|
650fe159ee | ||
|
|
b7d983f30a | ||
|
|
b92657fb39 | ||
|
|
617ca9f85f | ||
|
|
47206f9e6a | ||
|
|
131157ba29 | ||
|
|
db28547a51 | ||
|
|
f0689d403d | ||
|
|
c46ffbd7ae | ||
|
|
f935a54107 | ||
|
|
bfa16e418f | ||
|
|
6dbe80be2e | ||
|
|
302185e473 | ||
|
|
7d8ac3e6f2 | ||
|
|
001b87a8c6 | ||
|
|
cd49a7a940 | ||
|
|
9da6506622 | ||
|
|
0ac36069bd | ||
|
|
f989e02a85 | ||
|
|
15e6401d4e | ||
|
|
3d61445cd0 | ||
|
|
20a99ff2c7 | ||
|
|
27ef3a01f8 | ||
|
|
0bc4276d87 | ||
|
|
ab34f08169 | ||
|
|
0c57c89d83 | ||
|
|
12bf78f41b | ||
|
|
10bd20904a | ||
|
|
c3abaf5f1d | ||
|
|
9ecef40ee7 | ||
|
|
76c2fad94f | ||
|
|
aff983f5a2 | ||
|
|
bf2cd5aac4 | ||
|
|
9baf7e9a70 | ||
|
|
e64928f03a | ||
|
|
33c3a7a50a | ||
|
|
1cce3ebce9 | ||
|
|
1e71776f22 | ||
|
|
6a5ddd32ab | ||
|
|
4e8d4797e1 | ||
|
|
3ce9c9ef03 | ||
|
|
d1cbe4aa4e | ||
|
|
84702d8e31 | ||
|
|
9d1bda070f | ||
|
|
b6b1a8e65d | ||
|
|
ffc16f08b9 | ||
|
|
4e97621619 | ||
|
|
3d0b125e0a | ||
|
|
029d031974 | ||
|
|
812d1806f5 | ||
|
|
fc364b2d02 | ||
|
|
a6880207cd | ||
|
|
98b6108eab | ||
|
|
aa3a997d4d | ||
|
|
5c5b661412 | ||
|
|
823681cc42 | ||
|
|
6226368841 | ||
|
|
1107a1d7d1 | ||
|
|
394c2bc23a | ||
|
|
825f9521bb | ||
|
|
c161f019af | ||
|
|
f80dc6a668 | ||
|
|
df69441a6a | ||
|
|
25672f5975 | ||
|
|
99a5e78a66 | ||
|
|
d48f0c1567 | ||
|
|
bb385280cc | ||
|
|
cb3029583c | ||
|
|
d5ab5e2afe | ||
|
|
46774b80f0 | ||
|
|
299c29019f | ||
|
|
3092fd0843 | ||
|
|
715ae79727 | ||
|
|
2e0c0d0224 | ||
|
|
5f28bcc25a | ||
|
|
81a1ad288d | ||
|
|
cbc1f3b3f1 | ||
|
|
fdbb61fc43 | ||
|
|
f5d7ff2eee | ||
|
|
3c63f5148b | ||
|
|
2ad94e48f7 | ||
|
|
cf26155995 | ||
|
|
7349c82e28 | ||
|
|
f94e20942b | ||
|
|
fdcdabd3ed | ||
|
|
8ba1274e2f | ||
|
|
baf2b6de30 | ||
|
|
426efcaa08 | ||
|
|
4f405bbee6 | ||
|
|
0c977511f6 | ||
|
|
7abb2450ef | ||
|
|
85bcf150a7 | ||
|
|
05116dd667 | ||
|
|
8e0b57ea59 | ||
|
|
1286ed4706 | ||
|
|
51b2ce9fe9 | ||
|
|
0c6bea7388 | ||
|
|
29aa6e1449 | ||
|
|
2938ce0d09 | ||
|
|
a52ebf5596 | ||
|
|
dfac7395fe | ||
|
|
5b3fd4f6ab | ||
|
|
5ea06c9ad0 | ||
|
|
e7aac41672 | ||
|
|
c1861eecc8 | ||
|
|
63177b5d55 | ||
|
|
5464966d1a | ||
|
|
a53cbd146f | ||
|
|
ec0f5a77b7 | ||
|
|
316702c253 | ||
|
|
029da71a83 | ||
|
|
e5a95755da | ||
|
|
eb988f1f19 | ||
|
|
45f23367c8 | ||
|
|
30e9ba67ed | ||
|
|
6d014cf748 | ||
|
|
2e480d4c99 | ||
|
|
42ceafb942 | ||
|
|
fa4821adef | ||
|
|
5d6b82a2b4 | ||
|
|
e913d5c400 | ||
|
|
9a6d650a13 | ||
|
|
6aaa22b2b4 | ||
|
|
0de816591b | ||
|
|
fd9ca519d7 | ||
|
|
dbdd317af7 | ||
|
|
71b372211f | ||
|
|
ddc6cb927b | ||
|
|
85c81c3efe | ||
|
|
bb9b4c9fa0 | ||
|
|
237fa50255 | ||
|
|
556620a94e | ||
|
|
8f837f99ae | ||
|
|
32e30ca678 | ||
|
|
6e07aee59a | ||
|
|
44b10cc9b4 | ||
|
|
2649ceaac6 | ||
|
|
ee22a488c0 | ||
|
|
40f4014920 | ||
|
|
317104bb9f | ||
|
|
eed2b699c8 | ||
|
|
48591aa24c | ||
|
|
f8d456d762 | ||
|
|
e6a0ed5e1c | ||
|
|
9308c792e1 | ||
|
|
8f14cd2c59 | ||
|
|
4ac9f339e6 | ||
|
|
fd146fb9ac | ||
|
|
4debc50c36 | ||
|
|
a73246f85b | ||
|
|
7bccd40a95 | ||
|
|
b990e98b89 | ||
|
|
5767e5d61c | ||
|
|
34e2dc8a79 | ||
|
|
244db8d621 | ||
|
|
9d9d20efd9 | ||
|
|
96844a5185 | ||
|
|
973b4edba9 | ||
|
|
4ae40f4a12 | ||
|
|
07f713f8e9 | ||
|
|
1ca5c70ed6 | ||
|
|
6fa5866f99 | ||
|
|
f723b0e0e9 | ||
|
|
33aac93c6e | ||
|
|
719dd1f2ba | ||
|
|
b8c36ea8c5 | ||
|
|
706f2b469f | ||
|
|
806dc9c098 | ||
|
|
be09b9bbe6 | ||
|
|
0c943be3be | ||
|
|
796469f7cc | ||
|
|
8ea63421f0 | ||
|
|
5d0bd25267 | ||
|
|
5be49e1484 | ||
|
|
a73625edb9 | ||
|
|
20da1c4a13 | ||
|
|
506f82127b | ||
|
|
6ed6c5b5b0 | ||
|
|
43daa8640a | ||
|
|
97352f7ceb | ||
|
|
09883ee78c | ||
|
|
aa94c00bc6 | ||
|
|
d61eef23d1 | ||
|
|
6e81fa68e8 | ||
|
|
8e8ba82c6d | ||
|
|
74605e471d | ||
|
|
4593d37815 | ||
|
|
6f5561e14f | ||
|
|
db38499d41 | ||
|
|
a5f162e883 | ||
|
|
65e080671d | ||
|
|
c5c15c4463 | ||
|
|
5572c69741 | ||
|
|
eac4605c99 | ||
|
|
a48d000b54 | ||
|
|
88030616d7 | ||
|
|
826c8671c6 | ||
|
|
81d294b065 | ||
|
|
b214d7b7d3 | ||
|
|
9c0aadd046 | ||
|
|
a9f1dc02ca | ||
|
|
07dd353432 | ||
|
|
6a6094c1a7 | ||
|
|
beb7647bc7 | ||
|
|
af3baee927 | ||
|
|
7f7d914b4e | ||
|
|
43064f4900 | ||
|
|
6fd3a896a1 | ||
|
|
8e6e576cd0 | ||
|
|
ba4cd2b599 | ||
|
|
ad24a17bd5 | ||
|
|
4df19cbdf6 | ||
|
|
67103a7059 | ||
|
|
4ba5d723f5 | ||
|
|
8155902476 | ||
|
|
bf745d19ed | ||
|
|
ef51e0855f | ||
|
|
e437b41950 | ||
|
|
220e7a590d | ||
|
|
bb7feddbff | ||
|
|
74fcf2fc1f | ||
|
|
a458375934 | ||
|
|
e5ef842839 | ||
|
|
0fbb8d1a32 | ||
|
|
1c2e74f0c9 | ||
|
|
e6e8ab6630 | ||
|
|
d3bfb76783 | ||
|
|
64e7c395ce | ||
|
|
d886af32d9 | ||
|
|
ee0bddf85b | ||
|
|
7ea4fcde2c | ||
|
|
0f6f26e4d1 | ||
|
|
82d2d2350f | ||
|
|
1377f56f26 | ||
|
|
a112b98597 | ||
|
|
95e428223f | ||
|
|
5abd9e3372 | ||
|
|
0c0a11debb | ||
|
|
528fb47b0b | ||
|
|
0d68216c4b | ||
|
|
6ee15c3571 | ||
|
|
575bd9436a | ||
|
|
f3415bb13e | ||
|
|
8b715a8127 | ||
|
|
ad82b99dc6 | ||
|
|
6aaaeaff98 | ||
|
|
edf9dd7983 | ||
|
|
9eca30f281 | ||
|
|
67b347aaa3 | ||
|
|
c02dc385cb | ||
|
|
44a2b1a98f | ||
|
|
c0dfeb4918 | ||
|
|
17132b72ad | ||
|
|
1191a2851c | ||
|
|
caa56e6ef6 | ||
|
|
62421da6ad | ||
|
|
cec16abea0 | ||
|
|
25be3a3c6f | ||
|
|
4dd98396a7 | ||
|
|
0c101cd713 | ||
|
|
2a282c7257 | ||
|
|
bbcdf32a90 | ||
|
|
db4aa1e8b6 | ||
|
|
7159bf2ff3 | ||
|
|
07aaacaa55 | ||
|
|
274d062d6d | ||
|
|
53572bf933 | ||
|
|
7b6fd62895 | ||
|
|
32fb5e66f8 | ||
|
|
92275f909f | ||
|
|
3cfc51ecf4 | ||
|
|
1ed8dad92d | ||
|
|
81df72b5c2 | ||
|
|
7b38bd1e52 | ||
|
|
b1ec1f5f3f | ||
|
|
1b3419cd12 | ||
|
|
c3a357f893 | ||
|
|
5f0207d617 | ||
|
|
5bc8b29e79 | ||
|
|
7fdf77cf3e | ||
|
|
463a39e822 | ||
|
|
6338471287 | ||
|
|
c356b96913 | ||
|
|
fbe5f36b29 | ||
|
|
cdaa0acd61 | ||
|
|
4f68b722dc | ||
|
|
a81401cf77 | ||
|
|
835efdf400 | ||
|
|
7725c1fdc9 | ||
|
|
1efab0b6a3 | ||
|
|
53a80be6a0 | ||
|
|
05eabc7a9d | ||
|
|
43451a629a | ||
|
|
8ab24a4513 | ||
|
|
75a428ddc4 | ||
|
|
b271936b64 | ||
|
|
c7744c5bf0 | ||
|
|
320e4a47cd | ||
|
|
66859f4073 | ||
|
|
321e59705d | ||
|
|
029e319c7b | ||
|
|
2442144c98 | ||
|
|
a8418bffa2 | ||
|
|
025d647bf7 | ||
|
|
718f51d8d8 | ||
|
|
3c92c55ca9 | ||
|
|
128fe0119e | ||
|
|
9bd8f14ba8 | ||
|
|
998eb99003 | ||
|
|
6abe7f2569 | ||
|
|
9efd7c9ed2 | ||
|
|
d46e1837a1 | ||
|
|
16a4de2df7 | ||
|
|
649cf57ea8 | ||
|
|
5aa67cf98d | ||
|
|
4df942529a | ||
|
|
dbaa1f7319 | ||
|
|
85c8e4dc65 | ||
|
|
055c65f229 | ||
|
|
270ee3687b | ||
|
|
5292f41a3b | ||
|
|
5a56e18e7d | ||
|
|
26955bb331 | ||
|
|
b8f831fd05 | ||
|
|
81010311f9 | ||
|
|
4b514d4c94 | ||
|
|
92b4490257 | ||
|
|
2a9946f788 | ||
|
|
dd0514bd2c | ||
|
|
a28b266716 | ||
|
|
09a455bb7b | ||
|
|
2c61ae8452 | ||
|
|
0347d6a211 | ||
|
|
b21b4719fc | ||
|
|
1fa636417f | ||
|
|
577f54fcf3 | ||
|
|
abab0abca8 | ||
|
|
8df2c888fe | ||
|
|
a838274ae7 | ||
|
|
16d314ff49 | ||
|
|
79f9ef2481 | ||
|
|
9575ec5319 | ||
|
|
11c8804886 | ||
|
|
488c6651d9 | ||
|
|
744de9c706 | ||
|
|
1f1082c068 | ||
|
|
33e50f7d6b | ||
|
|
bb16ce965c | ||
|
|
8d98dea1b8 | ||
|
|
7cdda26e5d | ||
|
|
cc1966020a | ||
|
|
48398db28c | ||
|
|
33c15afa79 | ||
|
|
2b7d776b26 | ||
|
|
61098f96a8 | ||
|
|
8e16d825ff | ||
|
|
9f4fdc5bc4 | ||
|
|
2ff41f7a50 | ||
|
|
aad2389a20 | ||
|
|
58589021cc | ||
|
|
56a02975d1 | ||
|
|
41347bef5f | ||
|
|
73fe11baf3 | ||
|
|
af6b7592a1 | ||
|
|
1fc9ca1709 | ||
|
|
754efe00f6 | ||
|
|
df33323bc8 | ||
|
|
e2df74bbff | ||
|
|
4aad563f58 | ||
|
|
1f7b52497c | ||
|
|
595173327e | ||
|
|
abd983f421 | ||
|
|
1092ae6f98 | ||
|
|
d52e265117 | ||
|
|
1fbda85cd0 | ||
|
|
9e4474be60 | ||
|
|
a51b5970dc | ||
|
|
fd2290d6f7 | ||
|
|
4e9b2b4b5e | ||
|
|
bf673096e3 | ||
|
|
2e086d95d9 | ||
|
|
d07394d197 | ||
|
|
17dbe066c1 | ||
|
|
5acc88ee9a | ||
|
|
8093eb46b3 | ||
|
|
dbfcaded16 | ||
|
|
4c5673be23 | ||
|
|
d33cff94e0 | ||
|
|
5b620e77f4 | ||
|
|
59fe015239 | ||
|
|
73e2a03b6d | ||
|
|
eea371b336 | ||
|
|
bd7bd8faec | ||
|
|
16c1ac8d9a | ||
|
|
f97da2a9b4 | ||
|
|
b93d2d89c7 | ||
|
|
0f3b364e46 | ||
|
|
893ca87225 | ||
|
|
934bae2d24 | ||
|
|
63d18beb10 | ||
|
|
c48f6a298c | ||
|
|
cacae16678 | ||
|
|
3444525428 | ||
|
|
ae7d6f97d2 | ||
|
|
5d7aa0d009 | ||
|
|
5f7673d735 | ||
|
|
c3c13627f1 | ||
|
|
373e89a6ba | ||
|
|
6ba79de560 | ||
|
|
ba2f6ed9c3 | ||
|
|
f0ce57169d | ||
|
|
e13d8da7c2 | ||
|
|
d4983af3fc | ||
|
|
6f2dcfd44e | ||
|
|
ee89693691 | ||
|
|
e9b6db6559 | ||
|
|
a19ccbb359 | ||
|
|
09260df134 | ||
|
|
00874a4406 | ||
|
|
2a99e6b72a | ||
|
|
126f7f1a5a | ||
|
|
55a996af19 | ||
|
|
bf79211163 | ||
|
|
fe0487b336 | ||
|
|
62e37802ca | ||
|
|
4dd29bf4e8 | ||
|
|
1ca81ac726 | ||
|
|
7b72f887d1 | ||
|
|
53526490f8 | ||
|
|
28eaafd9c7 | ||
|
|
27c02abacd | ||
|
|
e350c72342 | ||
|
|
f631e5bef3 | ||
|
|
6f22b662ec | ||
|
|
61e675dd7b | ||
|
|
4c345d18ff | ||
|
|
1a8ab3b7cd | ||
|
|
7a90a440a9 | ||
|
|
2fdbf1d212 | ||
|
|
7a72e99896 | ||
|
|
1acc6f2adc | ||
|
|
36f0f63d3e | ||
|
|
759d36049d | ||
|
|
97fac77fa3 | ||
|
|
d7a89d4098 | ||
|
|
370e38ae30 | ||
|
|
2d2d9fa673 | ||
|
|
4ee83881cc | ||
|
|
57e8c0756e | ||
|
|
2d97d3bcb1 | ||
|
|
65a22082d6 | ||
|
|
004f2ed045 | ||
|
|
b8b9d7b7a1 | ||
|
|
52820d0111 | ||
|
|
6fdd854cab | ||
|
|
b5bca5412a | ||
|
|
a67278b29f | ||
|
|
e24ad67168 | ||
|
|
25a182f407 | ||
|
|
b4578c10a4 | ||
|
|
bb3dd62b4e | ||
|
|
48d51fbf08 | ||
|
|
9467074fb9 | ||
|
|
659d4e77b9 | ||
|
|
f911257cd9 | ||
|
|
0296c51324 | ||
|
|
b29b83315d | ||
|
|
0732f00490 | ||
|
|
e22ca1beff | ||
|
|
635b2e9963 | ||
|
|
ddc692a966 | ||
|
|
640fd2843f | ||
|
|
af13924d3f | ||
|
|
7c4dd5ec5e | ||
|
|
3df6435353 | ||
|
|
3ef03364be | ||
|
|
5396af9bfc | ||
|
|
56eddf3a93 | ||
|
|
6dd900e6b9 | ||
|
|
e73cd26f10 | ||
|
|
63e3063b9e | ||
|
|
942cfec286 | ||
|
|
35dfaab7c2 | ||
|
|
24aa1f27c1 | ||
|
|
bad363882c | ||
|
|
20a6ce8823 | ||
|
|
6797222733 | ||
|
|
edcb3933cf | ||
|
|
a0b13a5b01 | ||
|
|
5744de7ec6 | ||
|
|
8a6cbf8a4d | ||
|
|
0a4730188b | ||
|
|
ea46fadc26 | ||
|
|
40db0d0462 | ||
|
|
c0f05a1c38 | ||
|
|
52de1f6ab0 | ||
|
|
479293fe6f | ||
|
|
3c60abd61a | ||
|
|
f9807b5bd5 | ||
|
|
cb04d4a82a | ||
|
|
5f7ea17717 | ||
|
|
608ae42eff | ||
|
|
791ed3be50 | ||
|
|
7345fa8fcd | ||
|
|
589fbba5aa | ||
|
|
237a91f0cc | ||
|
|
f8e6914f44 | ||
|
|
cd447f1a9d | ||
|
|
2f8549f331 | ||
|
|
1da412a9bf | ||
|
|
4f7d7a4d1b | ||
|
|
a7ad9903d7 | ||
|
|
9d7f88c8f7 | ||
|
|
0447dd3a33 | ||
|
|
5bac50bca9 | ||
|
|
353e851b29 | ||
|
|
324b51e778 | ||
|
|
f5cf546e19 | ||
|
|
e25b77b411 | ||
|
|
84207d1e3b | ||
|
|
7e5f091e3a | ||
|
|
2f3f830de0 | ||
|
|
9500d94add | ||
|
|
eea3cca28b | ||
|
|
f6379e2117 | ||
|
|
510510cc66 | ||
|
|
69cb015e0b | ||
|
|
c6e0908076 | ||
|
|
8e188cfe61 | ||
|
|
8ae98503f5 | ||
|
|
1039f39c09 | ||
|
|
463d6bbec6 | ||
|
|
57e25689a7 | ||
|
|
8ec4a70aa8 | ||
|
|
b117e73464 | ||
|
|
8685ca6e94 | ||
|
|
72efd56302 | ||
|
|
fd0f078586 | ||
|
|
89f759fa84 | ||
|
|
0aa494b339 | ||
|
|
e8f05165eb | ||
|
|
a776e06111 | ||
|
|
02fc36e988 | ||
|
|
c5756ed4a1 | ||
|
|
0a45389a25 | ||
|
|
2abdce31f8 | ||
|
|
356f174b9f | ||
|
|
1c15868b50 | ||
|
|
1180c795a3 | ||
|
|
da27a8aadb | ||
|
|
6a189c6548 | ||
|
|
8c4d2514b0 | ||
|
|
a09c4ddc3b | ||
|
|
6192c8623f | ||
|
|
cd322beba1 | ||
|
|
e120d08282 | ||
|
|
5ca45987c4 | ||
|
|
a9c4263646 | ||
|
|
fd51903f02 | ||
|
|
221636027c | ||
|
|
672e7e6ff3 | ||
|
|
5b07e18ff5 | ||
|
|
ea73e689ac | ||
|
|
456f29d689 | ||
|
|
50360b8769 | ||
|
|
541e41293d | ||
|
|
9022c8e22e | ||
|
|
a78c4631b4 | ||
|
|
da8ff20616 | ||
|
|
3e9826d7ae | ||
|
|
f8a095e7f4 | ||
|
|
bd464990ea | ||
|
|
3ccdcc5c29 | ||
|
|
dffb88e947 | ||
|
|
a1388630d0 | ||
|
|
93352dd35e | ||
|
|
ee8f691073 | ||
|
|
037ccdd96e | ||
|
|
b84496e5da | ||
|
|
62ecf54f85 | ||
|
|
6355d732be | ||
|
|
71758b68f7 | ||
|
|
b3b1146fe1 | ||
|
|
55ae20654c | ||
|
|
3fdaeb875e | ||
|
|
992be4af44 | ||
|
|
144bb81721 | ||
|
|
5ef20e3440 | ||
|
|
88b56d04f5 | ||
|
|
3a5851d28a | ||
|
|
af302e19ee | ||
|
|
8d265ee368 | ||
|
|
872b38d378 | ||
|
|
affd55f84e | ||
|
|
561f29454b | ||
|
|
5763870938 | ||
|
|
f057e25ec7 | ||
|
|
aa7bad41e4 | ||
|
|
e70754f417 | ||
|
|
be61f8ab96 | ||
|
|
948dae5b63 | ||
|
|
a2e635d75c | ||
|
|
1c2a5bc342 | ||
|
|
4b00850e41 | ||
|
|
badf2336ee | ||
|
|
6220c3d6d9 | ||
|
|
028872261b | ||
|
|
487eb00402 | ||
|
|
832c1069f1 | ||
|
|
f69e5949e1 | ||
|
|
441a26b79c | ||
|
|
471d5ca17f | ||
|
|
536f995ab4 | ||
|
|
f7ff894df4 | ||
|
|
9050493c61 | ||
|
|
06b1fe88ca | ||
|
|
20179ba77b | ||
|
|
455b35dc1b | ||
|
|
b7299ab601 | ||
|
|
174f83faf7 | ||
|
|
5e41e0fb9e | ||
|
|
bb3c97828e | ||
|
|
129a9e7675 | ||
|
|
c4d32d5418 | ||
|
|
eb57c2280e | ||
|
|
e2ad0baaaf | ||
|
|
7542a92104 | ||
|
|
8522fd9f27 | ||
|
|
0a91950f05 | ||
|
|
02809532b4 | ||
|
|
67ba131cc6 | ||
|
|
cf9795b8d8 | ||
|
|
a5f42e6a08 | ||
|
|
23e718d4d1 | ||
|
|
e8d9cab046 | ||
|
|
d43c83dad1 | ||
|
|
916f04cba0 | ||
|
|
156c3eeb08 | ||
|
|
9755a55672 | ||
|
|
774ffa14d3 | ||
|
|
e30db30b07 | ||
|
|
e71866856f | ||
|
|
242dac5b8e | ||
|
|
dda9ff01ca | ||
|
|
5b7aac08f5 | ||
|
|
2c74e9396a | ||
|
|
62b73250b4 | ||
|
|
9953e36f6b | ||
|
|
532f08c5b8 | ||
|
|
136298ac86 | ||
|
|
080e6195ef | ||
|
|
074abf4b7d | ||
|
|
08377cc5a7 | ||
|
|
641c765fb9 | ||
|
|
f11ae6a162 | ||
|
|
8cfc2141cc | ||
|
|
cf83237a51 | ||
|
|
8a681450d1 | ||
|
|
9c046d049a | ||
|
|
9f06253321 | ||
|
|
5476cdfee2 | ||
|
|
ee93118688 | ||
|
|
47f9b89175 | ||
|
|
f232434b9a | ||
|
|
2a932ea28e | ||
|
|
41d3eee35f | ||
|
|
0871f299ef | ||
|
|
7aa57308be | ||
|
|
744a79f286 | ||
|
|
cd0bf68a61 | ||
|
|
a69c3ec476 | ||
|
|
3ac910bf6d | ||
|
|
60fca40780 | ||
|
|
a074a5b376 | ||
|
|
abf3378441 | ||
|
|
891fc55e25 | ||
|
|
988755f202 | ||
|
|
733fc0b2d0 | ||
|
|
c8c22dad06 | ||
|
|
c1b41b75c4 | ||
|
|
2fc03f196e | ||
|
|
7927dd485a | ||
|
|
42334263bb | ||
|
|
b5483a46f6 | ||
|
|
75fbec21a9 | ||
|
|
281239db05 | ||
|
|
59bc002aed | ||
|
|
70f3e6fc3e | ||
|
|
4925f90b5f | ||
|
|
f1e23b1cd0 | ||
|
|
fafec05309 | ||
|
|
76a71c1af5 | ||
|
|
b5b487ab90 | ||
|
|
940bfe4f18 | ||
|
|
41dcdd4e01 | ||
|
|
2854bfebf7 | ||
|
|
d6bfba72a6 | ||
|
|
2b0f65a27f | ||
|
|
4b60845c67 | ||
|
|
562cd18622 | ||
|
|
584d865d34 | ||
|
|
bac63f5204 | ||
|
|
5b7756e266 | ||
|
|
fc1f4c494f | ||
|
|
2198445df9 | ||
|
|
cfeeb9758f | ||
|
|
51058f65e5 | ||
|
|
6bc4dde23c | ||
|
|
04fd2d6e82 | ||
|
|
4cdc7cf3c4 | ||
|
|
fbaa1028e6 | ||
|
|
df26e19c16 | ||
|
|
40d6fe0b09 | ||
|
|
9881d322f3 | ||
|
|
756fe197c2 | ||
|
|
1877d2247c | ||
|
|
1bf81f56ce | ||
|
|
606c3cf021 | ||
|
|
d112159d93 | ||
|
|
79393e8cf0 | ||
|
|
5b79067cc1 | ||
|
|
04851d0dc9 | ||
|
|
23ea91ebe1 | ||
|
|
ed82135d0d | ||
|
|
7c47e4b0d3 | ||
|
|
190cf2ddc9 | ||
|
|
2c43db9461 | ||
|
|
b734a1c422 | ||
|
|
9b22c4b654 | ||
|
|
03c2b36b84 | ||
|
|
868823d9e1 | ||
|
|
365b91e1b4 | ||
|
|
f85ba4a4a7 | ||
|
|
98501cf4c0 | ||
|
|
d0ac142871 | ||
|
|
d60c66ebd6 | ||
|
|
221356f6b9 | ||
|
|
1db1de1116 | ||
|
|
801f60939b | ||
|
|
dfdd334d16 | ||
|
|
a8e47088bb | ||
|
|
29d8bf0927 | ||
|
|
8a32909dcd | ||
|
|
c0eed02924 | ||
|
|
1d4df99ea7 | ||
|
|
b36deb4640 | ||
|
|
0c2e41c4be | ||
|
|
d9dd78ad00 | ||
|
|
06711be846 | ||
|
|
bf0b114b70 | ||
|
|
68b220ff73 | ||
|
|
f84b4323e2 | ||
|
|
b9417a7e19 | ||
|
|
682f8ecae4 | ||
|
|
064af8acc7 | ||
|
|
b22d157bd2 | ||
|
|
0112f4c4ab | ||
|
|
6670915323 | ||
|
|
49f117e220 | ||
|
|
8df4b15116 | ||
|
|
766b1b5286 | ||
|
|
3c9dab3b9d | ||
|
|
b4c049c745 | ||
|
|
7d156ef555 | ||
|
|
19706617e5 | ||
|
|
ced5ad8b76 | ||
|
|
11429135ee | ||
|
|
bc5aeb7840 | ||
|
|
1aa38f8fdd | ||
|
|
3d5858ca6d | ||
|
|
5456695728 | ||
|
|
a2d9ef3ca6 | ||
|
|
9fbd7476fb | ||
|
|
b79da5920a | ||
|
|
f627277479 | ||
|
|
696a215dd0 | ||
|
|
0d17d4f38e | ||
|
|
7e98cf94f3 | ||
|
|
6893231f85 | ||
|
|
a0a92952eb | ||
|
|
a687dfdb16 | ||
|
|
8206c0fe8b | ||
|
|
b9d7e82052 | ||
|
|
cc28df1324 | ||
|
|
607d345eb2 | ||
|
|
fb10af8365 | ||
|
|
53427443a7 | ||
|
|
62fae5520d | ||
|
|
8b186dbf83 | ||
|
|
e41515564b | ||
|
|
f615b8cdf2 | ||
|
|
9182e79c2d | ||
|
|
ed95722a50 | ||
|
|
d7adb094a5 | ||
|
|
837dcccefe | ||
|
|
3e05598b56 | ||
|
|
8128de64df | ||
|
|
b83d788d3c | ||
|
|
6e62aab66e | ||
|
|
5de3515fc8 | ||
|
|
65ac61f300 | ||
|
|
717e01bbbf | ||
|
|
3987953947 | ||
|
|
10b8d492b3 | ||
|
|
b0b30f5aef | ||
|
|
a515bdae56 | ||
|
|
cc40853903 | ||
|
|
b7c750220e | ||
|
|
7a0e085a1f | ||
|
|
33f9357e58 | ||
|
|
9109f7094b | ||
|
|
92bd914966 | ||
|
|
b210551e96 | ||
|
|
121d69faf9 | ||
|
|
0a2d7c858a | ||
|
|
0962e1e563 | ||
|
|
09c6cad3e8 | ||
|
|
e4df1293d2 | ||
|
|
ce84174554 | ||
|
|
ba9d6336ac | ||
|
|
e90c2c4cb7 | ||
|
|
8f086e315c | ||
|
|
542b5362d3 | ||
|
|
8626dc6b1a | ||
|
|
a110ba2dc0 | ||
|
|
3dbb70a9e6 | ||
|
|
adef360275 | ||
|
|
abebd7f440 | ||
|
|
e9ed969ad9 | ||
|
|
3863959c53 | ||
|
|
85d2467d73 | ||
|
|
99f38098dd | ||
|
|
b1123a4978 | ||
|
|
4af8d56479 | ||
|
|
16118960aa | ||
|
|
2c5a737715 | ||
|
|
5fa77d40b9 | ||
|
|
e9106882f7 | ||
|
|
42f0db4251 | ||
|
|
c3533dac2a | ||
|
|
8d52e5f078 | ||
|
|
116e9ffe81 | ||
|
|
967f217346 | ||
|
|
da2a94d0b2 | ||
|
|
6c2b726fe1 | ||
|
|
4dd703a6bf | ||
|
|
c60886fe3e | ||
|
|
762b572c51 | ||
|
|
c7f40dd860 | ||
|
|
832c19c1f7 | ||
|
|
6ca371cb8b | ||
|
|
0d8d7f358d | ||
|
|
51c2ab1672 | ||
|
|
a88f86cc3f | ||
|
|
25151ee191 | ||
|
|
451c8c7548 | ||
|
|
528645d407 | ||
|
|
70cf8487e7 | ||
|
|
aa09e566e0 | ||
|
|
c3d6e1b490 | ||
|
|
6580f43e53 | ||
|
|
56d7745139 | ||
|
|
5e64e52dab | ||
|
|
90e9dd7f47 | ||
|
|
f867d7a615 | ||
|
|
ee1c7db915 | ||
|
|
504f5190d5 | ||
|
|
b682c76dc7 | ||
|
|
6aabdd05be | ||
|
|
0d035a9c23 | ||
|
|
8310950f7b | ||
|
|
120e2936fe | ||
|
|
884f7991c4 | ||
|
|
9664e4b96f | ||
|
|
63cd7fbd0c | ||
|
|
346a48f871 | ||
|
|
8fe3e59e76 | ||
|
|
74d6156e8d | ||
|
|
e834424a4c | ||
|
|
465d8b0245 | ||
|
|
25e9c1a50a | ||
|
|
d601cdd29e | ||
|
|
5646ce9d8f | ||
|
|
87ba8b1f58 | ||
|
|
5433560f8d | ||
|
|
05ed6d9721 | ||
|
|
f74ff8f6bf | ||
|
|
41acf71013 | ||
|
|
03c004f3d8 | ||
|
|
2be33a0fca | ||
|
|
5762d80945 | ||
|
|
a72d6fcb13 | ||
|
|
4073c63cec | ||
|
|
2737fd400f | ||
|
|
f7cacbe932 | ||
|
|
abe38520aa | ||
|
|
46a5f41721 | ||
|
|
4ede3384f0 | ||
|
|
008eb640f0 | ||
|
|
019ef358a5 | ||
|
|
72950b2b82 | ||
|
|
5b2ea583d2 | ||
|
|
6fb0289e71 | ||
|
|
f2bbe662f2 | ||
|
|
2aea4150a0 | ||
|
|
4b2b4c3f9f | ||
|
|
b655809903 | ||
|
|
2e60830f6a | ||
|
|
752b5456b9 | ||
|
|
35f7677d48 | ||
|
|
a3b7da25bc | ||
|
|
596eea1f0a | ||
|
|
725aa3183d | ||
|
|
cf49f53809 | ||
|
|
20c7e37345 | ||
|
|
38e962f2cb | ||
|
|
3efb651589 | ||
|
|
589eb3fa15 | ||
|
|
87554e9b16 | ||
|
|
2e73938534 | ||
|
|
acf2564c73 | ||
|
|
91dba7be88 | ||
|
|
e020e7598a | ||
|
|
b49591c236 | ||
|
|
cecea07b4d | ||
|
|
8ca3f3c53c | ||
|
|
4e617abf08 | ||
|
|
e2cba16698 | ||
|
|
49eac7368e | ||
|
|
8458a98eff | ||
|
|
a518480292 | ||
|
|
8908ac4646 | ||
|
|
47fd704630 | ||
|
|
38d1a98193 | ||
|
|
a324feae9d | ||
|
|
551f1bd09f | ||
|
|
d5dfe4224d | ||
|
|
aa848eef90 | ||
|
|
f1fc305ac4 | ||
|
|
12e9cd5db1 | ||
|
|
23dddc2e04 | ||
|
|
1ea83f6349 | ||
|
|
07a5801798 | ||
|
|
db71774fc2 | ||
|
|
2b80ad2bb4 | ||
|
|
37ca5d827b | ||
|
|
1aa257df4b | ||
|
|
e4843061f0 | ||
|
|
3c72f3303c | ||
|
|
60f5522e67 | ||
|
|
576af01b6f | ||
|
|
8b767a166a | ||
|
|
684c1a81a4 | ||
|
|
7a72f2f88d | ||
|
|
21ddcf07f7 | ||
|
|
03b1ee0896 | ||
|
|
e30871a96f | ||
|
|
3677cf688d | ||
|
|
863be3d852 | ||
|
|
2b4cf08f3a | ||
|
|
bd017bf56b | ||
|
|
ce7acff6d6 | ||
|
|
536d7017ee | ||
|
|
7c03e5510c | ||
|
|
ceb9b87783 | ||
|
|
42afa6b48a | ||
|
|
3c7d57a73b | ||
|
|
dcfd06c425 | ||
|
|
23be263dd2 | ||
|
|
f978299868 | ||
|
|
dbb0137ea0 | ||
|
|
19f3cef799 | ||
|
|
9cd7315222 | ||
|
|
51108c02ea | ||
|
|
69b97bbc59 | ||
|
|
f2399bc05a | ||
|
|
93a85dd937 | ||
|
|
8ee9724277 | ||
|
|
7c446ec71a | ||
|
|
f2451d03c1 | ||
|
|
0986282f13 | ||
|
|
d3638bcb24 | ||
|
|
f386d1caad | ||
|
|
480c7b3e21 | ||
|
|
908d5747a8 | ||
|
|
9ec2a40274 | ||
|
|
a080a6294c | ||
|
|
9be854a1a4 | ||
|
|
c76dc77e64 | ||
|
|
a42f17ca41 | ||
|
|
ed136fbc51 | ||
|
|
e3ff4c46cb | ||
|
|
6125b66286 | ||
|
|
8285bac2f5 | ||
|
|
61bb0fae53 | ||
|
|
47b9af970b | ||
|
|
731c85337b | ||
|
|
4b59fda56f | ||
|
|
2361221198 | ||
|
|
d931ba9b50 | ||
|
|
51fd1db4eb | ||
|
|
dbd4dd215a | ||
|
|
c716954e89 | ||
|
|
a324768b3f | ||
|
|
5be247da0a | ||
|
|
b47e84369c | ||
|
|
fe7ddf3e0f | ||
|
|
2fc9288870 | ||
|
|
0973ee512e | ||
|
|
f74e492448 | ||
|
|
f9de807daa | ||
|
|
e85ce4eaf2 | ||
|
|
5fc36333b9 | ||
|
|
2809cb910c | ||
|
|
782f8ca047 | ||
|
|
8bdbd6b073 | ||
|
|
7fbd5adaa2 | ||
|
|
324ca171a3 | ||
|
|
bbf114b822 | ||
|
|
a2a8ac9549 | ||
|
|
ae384306eb | ||
|
|
9c4e003315 | ||
|
|
9bb5470342 | ||
|
|
2f209e3e9b | ||
|
|
314ddbd44c | ||
|
|
3b78ab04c7 | ||
|
|
bb21f51f74 | ||
|
|
666c2383ba | ||
|
|
2703853edb | ||
|
|
f728fca036 | ||
|
|
368103d76d | ||
|
|
3a2462baba | ||
|
|
bd2bfbbb93 | ||
|
|
1300fc864c | ||
|
|
ef2d17922b | ||
|
|
6b1a7f0843 | ||
|
|
7a9b5133a7 | ||
|
|
7633922ec1 | ||
|
|
c4c7c20c8c | ||
|
|
ee403b79f4 | ||
|
|
0221394c06 | ||
|
|
741ab0487d | ||
|
|
8a513ba7af | ||
|
|
d968349772 | ||
|
|
fc8eb07a35 | ||
|
|
e76cd58425 | ||
|
|
888f937e3c | ||
|
|
b63dd40512 | ||
|
|
fb82567f03 | ||
|
|
b2c443e866 | ||
|
|
07d0324a6d | ||
|
|
c1e92ad27d | ||
|
|
28e481c2e2 | ||
|
|
1ceea645b6 | ||
|
|
578e5e7e58 | ||
|
|
463d00732f | ||
|
|
698a8abe6e | ||
|
|
776877291f | ||
|
|
1c25d965ac | ||
|
|
3de43379e7 | ||
|
|
f564ab6783 | ||
|
|
7e88159e99 | ||
|
|
bc41f81303 | ||
|
|
6c3a5d9c85 | ||
|
|
fcca4a46f9 | ||
|
|
c4f8052280 | ||
|
|
052c282d75 | ||
|
|
8d1251f0d6 | ||
|
|
b9bcbbea02 | ||
|
|
8271c206b7 | ||
|
|
7501d0ad96 | ||
|
|
b4259fa625 | ||
|
|
5e09f50055 | ||
|
|
32dc030e17 | ||
|
|
648c38414e | ||
|
|
02b972e1ed | ||
|
|
64a443f968 | ||
|
|
8769d042f9 | ||
|
|
76c9704850 | ||
|
|
f8da32a9bd | ||
|
|
a89df757bf | ||
|
|
a12240b71e | ||
|
|
dd38a08746 | ||
|
|
315b0059da | ||
|
|
4d3ea70d2b | ||
|
|
e567627809 | ||
|
|
56965bc0ed | ||
|
|
29a0dcffc7 | ||
|
|
1732bb877c | ||
|
|
fc1fac08c8 | ||
|
|
1d03de333c | ||
|
|
74f086a460 | ||
|
|
6e93e3e25d | ||
|
|
d53d0cb439 | ||
|
|
3f185cb18b | ||
|
|
7963e7540f | ||
|
|
85316879cd | ||
|
|
e43d6520c5 | ||
|
|
1123909960 | ||
|
|
bc1853c2e7 | ||
|
|
318b734f96 | ||
|
|
69c4760f37 | ||
|
|
7d04cf14fb | ||
|
|
9072096495 | ||
|
|
f6cfe15807 | ||
|
|
e1bad04279 | ||
|
|
dda3341537 | ||
|
|
6e27795756 | ||
|
|
54fac4a5d7 | ||
|
|
2697974694 | ||
|
|
a9b5dffa00 | ||
|
|
095ccf7194 | ||
|
|
4f5b811383 | ||
|
|
776cad427d | ||
|
|
d365ba5303 | ||
|
|
31c0ab7ab7 | ||
|
|
09974fa686 | ||
|
|
03cbab6c08 | ||
|
|
bbe5bff389 | ||
|
|
f857da964b | ||
|
|
d36916b400 | ||
|
|
c0568f92e4 | ||
|
|
b17891c170 | ||
|
|
164d6e93d0 | ||
|
|
733ca324d2 | ||
|
|
fb4f822d34 | ||
|
|
7b21eaf12d | ||
|
|
02a4e17e41 | ||
|
|
5f30dbb1a5 | ||
|
|
219f50b0bc | ||
|
|
ccd6ca298e | ||
|
|
967f2ace0e | ||
|
|
2c36468431 | ||
|
|
8dbf0a2bd8 | ||
|
|
967899229f | ||
|
|
1d58007606 | ||
|
|
56a1dee3d6 | ||
|
|
28572a978e | ||
|
|
acfb9bca45 | ||
|
|
6f82cefdc5 | ||
|
|
d0ea57120c | ||
|
|
277beb6587 | ||
|
|
802deaca03 | ||
|
|
dfb9a93547 | ||
|
|
a2e336470a | ||
|
|
f6994e57dd | ||
|
|
3c6461f757 | ||
|
|
a0bb13a412 | ||
|
|
870838e756 | ||
|
|
8f6f13dc93 | ||
|
|
13179a9498 | ||
|
|
0ba22c3aaf | ||
|
|
311f77dd25 | ||
|
|
8382faa0af | ||
|
|
9c5107e86d | ||
|
|
14a6b40bcc | ||
|
|
07506ae4d9 | ||
|
|
6abcca1215 | ||
|
|
297e7f8c1d | ||
|
|
5c9a01aa1c | ||
|
|
df7499483a | ||
|
|
131333fc3a | ||
|
|
60cf803e8d | ||
|
|
7eb8d8bed1 | ||
|
|
02f27f3de6 | ||
|
|
fbf3a2a1b4 | ||
|
|
c80f68af94 | ||
|
|
85b3d579d3 | ||
|
|
bf6522898d | ||
|
|
ddb34c3d83 | ||
|
|
010ea4305b | ||
|
|
c33b226660 | ||
|
|
8670d387d6 | ||
|
|
a684b8f8bf | ||
|
|
8270d8a228 | ||
|
|
48941dce07 | ||
|
|
d6aa06a8af | ||
|
|
7a0511610e | ||
|
|
451ffcd982 | ||
|
|
fb2fcf3f66 | ||
|
|
b97a0881f1 | ||
|
|
f9b3486ed1 | ||
|
|
8cc900e11f | ||
|
|
904c365b75 | ||
|
|
362a4ccece | ||
|
|
750c6c32fa | ||
|
|
439caf815f | ||
|
|
0406548fe6 | ||
|
|
4fb8b0fa28 | ||
|
|
a0fd26602e | ||
|
|
6d8eafd072 | ||
|
|
286193b4ab | ||
|
|
1808a9b663 | ||
|
|
0683dd22dd | ||
|
|
7fcde11fa0 | ||
|
|
90dab3c445 | ||
|
|
e942a18e5a | ||
|
|
d397fe9af7 | ||
|
|
cf6f0bfb8b | ||
|
|
b628a19e35 | ||
|
|
4592d981a7 | ||
|
|
f6db81e431 | ||
|
|
274edc74a7 | ||
|
|
12edb1cc4b | ||
|
|
269b203ef8 | ||
|
|
ed230a42e0 | ||
|
|
c251801b1a | ||
|
|
8c242450e5 | ||
|
|
e67ca20108 | ||
|
|
c117b32147 | ||
|
|
1c5737b68a | ||
|
|
2734b1d54a | ||
|
|
82510c1574 | ||
|
|
db7acb4edd | ||
|
|
72be80abc4 | ||
|
|
023719d775 | ||
|
|
431b04075f | ||
|
|
5e02985206 | ||
|
|
b80478d4b4 | ||
|
|
fc7fa8debd | ||
|
|
a4fd0df69c | ||
|
|
cb9ca3e4c9 | ||
|
|
5a6447805f | ||
|
|
52ae6f06a1 | ||
|
|
799699894c | ||
|
|
e0c0b2fdf6 | ||
|
|
506bf646ba | ||
|
|
e6c94c4f36 | ||
|
|
3f9bbe90bd | ||
|
|
042e58ea29 | ||
|
|
7fa27686bb | ||
|
|
e3e2d513df | ||
|
|
086feafcb7 | ||
|
|
f9b8e2dbc5 | ||
|
|
5eafbefa9f | ||
|
|
cfadaf781c | ||
|
|
dab5481fc5 | ||
|
|
1a681dd97b | ||
|
|
2074f63333 | ||
|
|
959a5d78c7 | ||
|
|
995054d46b | ||
|
|
d187b809d7 | ||
|
|
81d69d1b64 | ||
|
|
faef4d5f8e | ||
|
|
cd548a6e2d | ||
|
|
78316d4ddc | ||
|
|
a45ab8bd76 | ||
|
|
cd861c22b7 | ||
|
|
15442a9cc7 | ||
|
|
3c04d43eae | ||
|
|
63e23bab89 | ||
|
|
e8a24fd2e5 | ||
|
|
aee6ca05cc | ||
|
|
0f8051b577 | ||
|
|
56d48885e1 | ||
|
|
9d489ed57f | ||
|
|
ae88bade03 | ||
|
|
4be43527e8 | ||
|
|
823d0228c9 | ||
|
|
2d0441a72e | ||
|
|
6ceb791891 | ||
|
|
cd9e0400ac | ||
|
|
b9a5bb3b8e | ||
|
|
1387ba9ae0 | ||
|
|
3dd70483c6 | ||
|
|
ec2933c49a | ||
|
|
7eec16ee61 | ||
|
|
ff89b8f782 | ||
|
|
588a7d0a5b | ||
|
|
2f799a9420 | ||
|
|
19ce0d79ef | ||
|
|
7f2c3d1d0a | ||
|
|
13cc669e2c | ||
|
|
4d515a0d5b | ||
|
|
11a6ce6d3a | ||
|
|
048dd89bbc | ||
|
|
48625e0e34 | ||
|
|
09584940d1 | ||
|
|
013c96f0db | ||
|
|
5fa8f69e10 | ||
|
|
87063a03c4 | ||
|
|
b7e2f2a57b | ||
|
|
25c4d858e9 | ||
|
|
02c83b65ef | ||
|
|
fb89793703 | ||
|
|
67098f7a3e | ||
|
|
299ae4fce5 | ||
|
|
09ba58a432 | ||
|
|
f9f6ec47d9 | ||
|
|
b76c25c9e7 | ||
|
|
192dac38f8 | ||
|
|
3a6acf322b | ||
|
|
a9cd23a883 | ||
|
|
b6dec7af1c | ||
|
|
546b7dc20a | ||
|
|
7cab14353d | ||
|
|
888bbf28e0 | ||
|
|
de5ceb2aca | ||
|
|
0a2b02f206 | ||
|
|
41ee127de8 | ||
|
|
9ddec59ddd | ||
|
|
b72b22c628 | ||
|
|
a685f30245 | ||
|
|
173ec6f0f8 | ||
|
|
349ab5343e | ||
|
|
95719a978c | ||
|
|
dd16bcffd2 | ||
|
|
02410a0be3 | ||
|
|
bfe8de3fd6 | ||
|
|
bd16e9fb53 | ||
|
|
cf97adab7c | ||
|
|
b6fc940f18 | ||
|
|
2fb685c0fe | ||
|
|
54be5847f7 | ||
|
|
bf4f37b514 | ||
|
|
9e577e7214 | ||
|
|
69185c06c2 | ||
|
|
e561016d07 | ||
|
|
9db4dadce3 | ||
|
|
14f2fbbce7 | ||
|
|
8eea0d6cf4 | ||
|
|
752a657a4f | ||
|
|
0ca5851a3c | ||
|
|
4bb0bdc4e6 | ||
|
|
6865634a6e | ||
|
|
07eb8dd7d2 | ||
|
|
789537cc8c | ||
|
|
8bbb1a16e3 | ||
|
|
0ff81573b5 | ||
|
|
90284ff626 | ||
|
|
e4fc1ff47c | ||
|
|
73c7ba4fe5 | ||
|
|
72a8b1eebe | ||
|
|
c14122a007 | ||
|
|
6ca12b1cc0 | ||
|
|
e8dc7d462e | ||
|
|
c2ca499516 | ||
|
|
1c8cf24ba6 | ||
|
|
49e4e0c6e7 | ||
|
|
bc2e843a83 | ||
|
|
ad25b096b6 | ||
|
|
1b85f194c5 | ||
|
|
cffc9971c4 | ||
|
|
3a6a97618c | ||
|
|
38e917a3df | ||
|
|
3825041393 | ||
|
|
0fedbabe9e | ||
|
|
fa40d511c2 | ||
|
|
c5cb08c5b8 | ||
|
|
833899c893 | ||
|
|
1f480c4cd5 | ||
|
|
b74a59947d | ||
|
|
21b8da7f41 | ||
|
|
fb2fd3e9b7 | ||
|
|
c0ff75c164 | ||
|
|
e1a6e08aa1 | ||
|
|
ac4cc5548a | ||
|
|
e0e1b09b77 | ||
|
|
fe86707c53 | ||
|
|
2ed7e325b8 | ||
|
|
e09ebfffa0 | ||
|
|
a8766d00a8 | ||
|
|
ef9606bf5b | ||
|
|
10dd819863 | ||
|
|
ebfb86866f | ||
|
|
c14db9f94d | ||
|
|
c8594a7e7a | ||
|
|
959567aade | ||
|
|
7a8c7f3429 | ||
|
|
4d578f1bfd | ||
|
|
eabfd91655 | ||
|
|
a4c6c4891e | ||
|
|
11c15720d4 | ||
|
|
24e92cfe69 | ||
|
|
c0ab499a77 | ||
|
|
abf74f1a90 | ||
|
|
8e814b1edd | ||
|
|
4b243c9007 | ||
|
|
8d65ba1efd | ||
|
|
5f1b0c21eb | ||
|
|
af164159fb | ||
|
|
39e303add6 | ||
|
|
9b5c889187 | ||
|
|
dd9c15c672 | ||
|
|
92e9602329 | ||
|
|
dbf976ee5e | ||
|
|
927b3fb6d3 | ||
|
|
5e84ca3ce7 | ||
|
|
3b2daa1992 | ||
|
|
a19c42f1bd | ||
|
|
fc82661b54 | ||
|
|
4e95a39132 | ||
|
|
5a637a8b09 | ||
|
|
75e776ddb4 | ||
|
|
e1553c2fc8 | ||
|
|
db6d35bc03 | ||
|
|
d5bf957c8e | ||
|
|
566c45b0b4 | ||
|
|
39ee306630 | ||
|
|
748475f785 | ||
|
|
bf9929e9a9 | ||
|
|
9aa1b8ec47 | ||
|
|
ccc92fdb75 | ||
|
|
657aa65e99 | ||
|
|
abebde6b12 | ||
|
|
1df3d149e0 | ||
|
|
8832d08a22 | ||
|
|
51dc66b5d9 | ||
|
|
aae6d716e5 | ||
|
|
32b38439e3 | ||
|
|
fd8ea88488 | ||
|
|
8d1df96637 | ||
|
|
c1f205c2cf | ||
|
|
e9c796e42c | ||
|
|
be853a0657 | ||
|
|
c880342099 | ||
|
|
d09bbd2171 | ||
|
|
c1823f719a | ||
|
|
b459277c72 | ||
|
|
28ecb0c5eb | ||
|
|
1356b4db40 | ||
|
|
4e1748fb8a | ||
|
|
959f01739c | ||
|
|
85dee9a7bc | ||
|
|
057522c5bd | ||
|
|
9a8c6deafb | ||
|
|
7daddf864d | ||
|
|
ef826c88ec | ||
|
|
42fbd96040 | ||
|
|
889a55ad99 | ||
|
|
3c205bcaba | ||
|
|
a1ddd2e2e3 | ||
|
|
5a07b788c7 | ||
|
|
5d84a98d7b | ||
|
|
b92ad4a2d6 | ||
|
|
b10e842e89 | ||
|
|
bc7d4d8f0e | ||
|
|
12c0e09c65 | ||
|
|
c447421b05 | ||
|
|
0779f8d73d | ||
|
|
ace032ef89 | ||
|
|
c5f9fa0d97 | ||
|
|
ada9a89cd2 | ||
|
|
27e538c8c6 | ||
|
|
8bfe63d5b2 | ||
|
|
65bbf54b4a | ||
|
|
8d31ed6d39 | ||
|
|
a7f72babe1 | ||
|
|
87a60325cf | ||
|
|
0f38a0dcf6 | ||
|
|
812ab9f868 | ||
|
|
ea893671d5 | ||
|
|
474a3cbf7a | ||
|
|
066f5f6d2c | ||
|
|
c661ac2e8a | ||
|
|
cb005d58eb | ||
|
|
6c82c1e04f | ||
|
|
feebf203b8 | ||
|
|
40033c64fb | ||
|
|
ffdbe3c965 | ||
|
|
6e740dbfc1 | ||
|
|
f6eb0202fe | ||
|
|
38aa4c45c4 | ||
|
|
122aa94bdb | ||
|
|
5aa203d020 | ||
|
|
aac066d609 | ||
|
|
70fe14f7af | ||
|
|
de2ae5ec15 | ||
|
|
45b36ce56d | ||
|
|
f7a2ae7e55 | ||
|
|
0247e2d106 | ||
|
|
237aff9c85 | ||
|
|
51911cdfdf | ||
|
|
f64b2b1321 | ||
|
|
8caedb19dd | ||
|
|
e2c65e3fa5 | ||
|
|
523d9d4952 | ||
|
|
4cd228a367 | ||
|
|
44651e6ecc | ||
|
|
b0b82e1f57 | ||
|
|
619b49f6f1 | ||
|
|
ce3bb96ff7 | ||
|
|
a4de51adaa | ||
|
|
861a0fdff9 | ||
|
|
c1e8b20f1b | ||
|
|
ac54b11f9d | ||
|
|
cf17760735 | ||
|
|
31488ffdd6 | ||
|
|
8c4f890af0 | ||
|
|
5ac436e184 | ||
|
|
387cec9838 | ||
|
|
a3cc3c3429 | ||
|
|
9968d0aaff | ||
|
|
bf620fe16f | ||
|
|
9fe4c4aabc | ||
|
|
ebd16e8fdf | ||
|
|
ee06515ca9 | ||
|
|
d0abf19037 | ||
|
|
0d6a27cc69 | ||
|
|
164b868dc2 | ||
|
|
c87fd2b649 | ||
|
|
c4cc283bcd | ||
|
|
cbfabeeb9d | ||
|
|
e84c43a4f6 | ||
|
|
83720c8277 | ||
|
|
5888fb9b3f | ||
|
|
985eb59893 | ||
|
|
2a4db3896e | ||
|
|
9ea1512df9 | ||
|
|
15b6bb3d75 | ||
|
|
d9d2b6c383 | ||
|
|
8a8c392095 | ||
|
|
b4a20741b2 | ||
|
|
007d38be04 | ||
|
|
40224ed1bc | ||
|
|
f3f246848a | ||
|
|
a6917d8952 | ||
|
|
a60b5acb65 | ||
|
|
753de21b12 | ||
|
|
3eb85b1554 | ||
|
|
7109bfde52 | ||
|
|
686a616b4c | ||
|
|
7e8869858c | ||
|
|
a16bad0cc0 | ||
|
|
32a0778fc4 | ||
|
|
6a7663beb5 | ||
|
|
06fc8cbf4d | ||
|
|
79d047e64f | ||
|
|
ab27b1bfd1 | ||
|
|
42ebf68932 | ||
|
|
5c5f1f9735 | ||
|
|
3965613154 | ||
|
|
8ac0906ff0 | ||
|
|
62879a5bc4 | ||
|
|
ff4d1f6ac2 | ||
|
|
1930bc260e | ||
|
|
fa32c27716 | ||
|
|
ebdfd8f69a | ||
|
|
2af0c04c8a | ||
|
|
cfb3632cbc | ||
|
|
c076c77db4 | ||
|
|
f9bcf359a1 | ||
|
|
bf2e5c70f8 | ||
|
|
ad3141dc00 | ||
|
|
e0eb93bf83 | ||
|
|
7a99b2544a | ||
|
|
2089136671 | ||
|
|
e36f775273 | ||
|
|
060c3805e5 | ||
|
|
3c3e1f17ef | ||
|
|
8abc9cfbc7 | ||
|
|
7bb0984a12 | ||
|
|
586b25a54c | ||
|
|
c655ceac9e | ||
|
|
d4c1e0deb0 | ||
|
|
e2ed0ccaea | ||
|
|
4999fbaee6 | ||
|
|
f80ad26081 | ||
|
|
b4a7e912b2 | ||
|
|
0a87f106ec | ||
|
|
b0a66ce6d8 | ||
|
|
8c7e37c56a | ||
|
|
9f30553813 | ||
|
|
11532857d2 | ||
|
|
c975a6c8ba | ||
|
|
6096044fe0 | ||
|
|
3ebe7b4a7e | ||
|
|
a1fd1e07f0 | ||
|
|
9029dab015 | ||
|
|
e9e084d933 | ||
|
|
93129f8989 | ||
|
|
7e676b4b8d | ||
|
|
f9cb02026e | ||
|
|
3a2a41d2b6 | ||
|
|
ee658a6e9b | ||
|
|
b7d56b6fce | ||
|
|
d2254c1255 | ||
|
|
4d259a69f2 | ||
|
|
8c50ae6071 | ||
|
|
40ecd206e6 | ||
|
|
9fed4f1c49 | ||
|
|
ecac445fb2 | ||
|
|
c4742e5c30 | ||
|
|
55aec55ef2 | ||
|
|
8e95383afe | ||
|
|
e072dad30c | ||
|
|
30688bbe41 | ||
|
|
4c22b2a7d9 | ||
|
|
39686e3f05 | ||
|
|
482973559d | ||
|
|
6cb8794c5a | ||
|
|
e56518e702 | ||
|
|
20cfd61dbf | ||
|
|
65899766d6 | ||
|
|
d5cd9709f7 | ||
|
|
17dbc1e484 | ||
|
|
ee62c2a722 | ||
|
|
1f7f5e5cdb | ||
|
|
dddbec2682 | ||
|
|
cfc5533920 | ||
|
|
7ab9c386ca | ||
|
|
caa4c07e3e | ||
|
|
e6ac872b0d | ||
|
|
d42b5d4989 | ||
|
|
6d72d66656 | ||
|
|
3a8e730b9c | ||
|
|
b4b66e2f16 | ||
|
|
ac2e174643 | ||
|
|
bd64ec3c49 | ||
|
|
777794583c | ||
|
|
cff6608996 | ||
|
|
972dd3e174 | ||
|
|
3bc67e338b | ||
|
|
4cd2c8c1d9 | ||
|
|
224b68dbf2 | ||
|
|
851983af15 | ||
|
|
96a90bbca4 | ||
|
|
922887fe77 | ||
|
|
0bebb4e7ef | ||
|
|
2e4f7ab35c | ||
|
|
a828ec7c3c | ||
|
|
a4514c790b | ||
|
|
b162285f13 | ||
|
|
bdb2f8939a | ||
|
|
66465897a9 | ||
|
|
43e9c32ec6 | ||
|
|
6032605341 | ||
|
|
e40fe65272 | ||
|
|
2ba355c76f | ||
|
|
b321b07ad5 | ||
|
|
a41e295e42 | ||
|
|
4b0d4f4cd5 | ||
|
|
ade4c011d3 | ||
|
|
2b654882fd | ||
|
|
58abeecb11 | ||
|
|
1f0a1c796a | ||
|
|
dd56ceb700 | ||
|
|
090906c559 | ||
|
|
65b8fd27af | ||
|
|
e6ed676117 | ||
|
|
827428d6b5 | ||
|
|
02f9be2c4a | ||
|
|
aefb655769 | ||
|
|
5214b331e0 | ||
|
|
b5880f26af | ||
|
|
59e5a457ef | ||
|
|
0dbc4fa213 | ||
|
|
d51e93b86e | ||
|
|
600dbd72f4 | ||
|
|
785337dc5d | ||
|
|
071462b33b | ||
|
|
f2d11cfcaf | ||
|
|
90c9bf879f | ||
|
|
e813394eb4 | ||
|
|
8c65f6a938 | ||
|
|
e968f4067c | ||
|
|
8ddbb67f07 | ||
|
|
d61ced9cbd | ||
|
|
ada165a21e | ||
|
|
715e154817 | ||
|
|
8d4fd14ff2 | ||
|
|
1fd61fb989 | ||
|
|
eb9d860af3 | ||
|
|
4c8f33e098 | ||
|
|
12ed655881 | ||
|
|
c1df7674b2 | ||
|
|
14a35f35c3 | ||
|
|
30088ec20b | ||
|
|
7720f452d3 | ||
|
|
ed2e176285 | ||
|
|
678614b62b | ||
|
|
888b3a2672 | ||
|
|
0eac5ffe64 | ||
|
|
41961ad51d | ||
|
|
a2aa475ece | ||
|
|
fa86fb7e3f | ||
|
|
2a44cad2d0 | ||
|
|
5f0574e15c | ||
|
|
bd4b834b74 | ||
|
|
1614bcdc0b | ||
|
|
93f684e5b6 | ||
|
|
9f2e51ea8c | ||
|
|
c1caa6318e | ||
|
|
4d5fcfcdad | ||
|
|
39aec8caa3 | ||
|
|
1c8209c54a | ||
|
|
742d21f1c9 | ||
|
|
c70d59c8d2 | ||
|
|
2d74bb00f2 | ||
|
|
6ae6b9268f | ||
|
|
b7aaa53a8a | ||
|
|
3a3def5e76 | ||
|
|
44d55e39f3 | ||
|
|
af4ed27d15 | ||
|
|
eb98810cef | ||
|
|
dfa47a0e0f | ||
|
|
2d79280999 | ||
|
|
8b5084ab43 | ||
|
|
b19356597b | ||
|
|
f81fa55289 | ||
|
|
ab7b14d81e | ||
|
|
69309a1f88 | ||
|
|
abdd1634e4 | ||
|
|
e4d2549984 | ||
|
|
2edabef78f | ||
|
|
9c5d7b2f2c | ||
|
|
453a9036be | ||
|
|
b0ef5fb06d | ||
|
|
27352f7230 | ||
|
|
58c454b628 | ||
|
|
3058eb5617 | ||
|
|
76745bf19a | ||
|
|
7c6ff89ab6 | ||
|
|
8d26d6d863 | ||
|
|
52589f7c59 | ||
|
|
46b750b3ec | ||
|
|
caee0c07d7 | ||
|
|
4cb3e32ff1 | ||
|
|
fb41d245e6 | ||
|
|
1ab8ccdc99 | ||
|
|
3d854f7724 | ||
|
|
e7908b7f37 | ||
|
|
42f1a23b7f | ||
|
|
da4d9018c1 | ||
|
|
6981098329 | ||
|
|
e8458f84bc | ||
|
|
5b6705b4f6 | ||
|
|
b4d1eaf1fb | ||
|
|
8b778b6407 | ||
|
|
993a8a1f90 | ||
|
|
25c5b784e1 | ||
|
|
9b613ee202 | ||
|
|
84b36fed6f | ||
|
|
f351039d48 | ||
|
|
339cee416a | ||
|
|
e39c5e3ec0 | ||
|
|
517e359399 | ||
|
|
1c2eec405b | ||
|
|
398f40ea68 | ||
|
|
1efc6f53d3 | ||
|
|
5ff01f529f | ||
|
|
2a678b9686 | ||
|
|
922122492e | ||
|
|
7fb0e654cd | ||
|
|
3c435daf65 | ||
|
|
198b077257 | ||
|
|
d72237adf3 | ||
|
|
65ce21a238 | ||
|
|
59dfd9b9bd | ||
|
|
268b5dd54e | ||
|
|
c0ac155a71 | ||
|
|
5d71d4bf6e | ||
|
|
bbc926bccc | ||
|
|
c83ad752ca | ||
|
|
9ae5b47296 | ||
|
|
6dc688cefd | ||
|
|
989409a1ab | ||
|
|
0bd412edbd | ||
|
|
ead6229d55 | ||
|
|
69147a51d6 | ||
|
|
6023559142 | ||
|
|
51bd6d5ce0 | ||
|
|
690ec7ce24 | ||
|
|
ff8dc859cd | ||
|
|
06230398d7 | ||
|
|
c0e21c2406 | ||
|
|
fc23b49998 | ||
|
|
e80ead17a8 | ||
|
|
a88c352e72 | ||
|
|
338c4e2fb1 | ||
|
|
8b08e5a1f9 | ||
|
|
b3f2c79d87 | ||
|
|
bd4da37f23 | ||
|
|
eec4b3ace5 | ||
|
|
9feca3c4cc | ||
|
|
4a49640c3f | ||
|
|
32e2211dbe | ||
|
|
fcc247ffd6 | ||
|
|
d13732b44e | ||
|
|
50f74fbeda | ||
|
|
4855ba07c5 | ||
|
|
1a6ba25e5d | ||
|
|
1e0c5be5b3 | ||
|
|
26d0cd18a1 | ||
|
|
21c15ae559 | ||
|
|
9e7a15c1be | ||
|
|
f66dd613e3 | ||
|
|
3c70a15bb6 | ||
|
|
a1f40c73c9 | ||
|
|
98171abed5 | ||
|
|
9b949da47c | ||
|
|
caa5cefe53 | ||
|
|
1befe0ce57 | ||
|
|
63ca5126cf | ||
|
|
a4105266b4 | ||
|
|
148fc817cd | ||
|
|
213849fb32 | ||
|
|
412064d77f | ||
|
|
700e3a159f | ||
|
|
ea069c0c51 | ||
|
|
de2ef90043 | ||
|
|
ed6394300f | ||
|
|
8ae0d045e3 | ||
|
|
93b049288b | ||
|
|
35e14cf044 | ||
|
|
76e715aa6d | ||
|
|
70745cea5d | ||
|
|
6f62429382 | ||
|
|
c0a942aa4a | ||
|
|
e3c5a6c294 | ||
|
|
66dac29ee6 | ||
|
|
1f9b4e2296 | ||
|
|
2c6844c327 | ||
|
|
3bb262fd66 | ||
|
|
47bb5d6c61 | ||
|
|
4851b6bae0 | ||
|
|
433b3e8c21 | ||
|
|
35dc687be6 | ||
|
|
dc0f8deb06 | ||
|
|
ed998598df | ||
|
|
a53682acee | ||
|
|
d04db59880 | ||
|
|
34582da561 | ||
|
|
dff840c49b | ||
|
|
8cfa550954 | ||
|
|
fc7709da51 | ||
|
|
0a4766a61e | ||
|
|
671adc7e0e | ||
|
|
cc7257efd5 | ||
|
|
31653fe76e | ||
|
|
a6d52223d5 | ||
|
|
1bf7c4084c | ||
|
|
773fb57c71 | ||
|
|
5a93683a26 | ||
|
|
0af29ff4db | ||
|
|
d8cce02e97 | ||
|
|
b06ca700be | ||
|
|
5f620a2325 | ||
|
|
01d1f43d45 | ||
|
|
6903d7f52f | ||
|
|
2c8ea533af | ||
|
|
bb565f9450 | ||
|
|
918f736141 | ||
|
|
a5c76d4bd5 | ||
|
|
d6d4906148 | ||
|
|
a054cf098c | ||
|
|
c0710a3b74 | ||
|
|
ae05392625 | ||
|
|
3fb2e5d25e | ||
|
|
af7b42e531 | ||
|
|
679331873c | ||
|
|
4460ad0577 | ||
|
|
1ea6e8b4f3 | ||
|
|
f018fc04b0 | ||
|
|
69026c5779 | ||
|
|
b847d85e60 | ||
|
|
d3d367c635 | ||
|
|
8de92dc6b9 | ||
|
|
dabc0bbe80 | ||
|
|
3f30b2f489 | ||
|
|
84e03893fd | ||
|
|
b4ffeaf034 | ||
|
|
a470706c2e | ||
|
|
5e7d731ddd | ||
|
|
2e833a6efd | ||
|
|
1cde647a2a | ||
|
|
047efe02ff | ||
|
|
441eb2c20c | ||
|
|
0f45014dce | ||
|
|
1acf615fc7 | ||
|
|
f1c342e05e | ||
|
|
96002dbda5 | ||
|
|
93d0a9b3d4 | ||
|
|
571495c3e0 | ||
|
|
9b71aa17b3 | ||
|
|
03dcf743e8 | ||
|
|
dadaf32e4d | ||
|
|
086117d703 | ||
|
|
ea9943e135 | ||
|
|
bda03d7a84 | ||
|
|
665d3da651 | ||
|
|
faab09b76f | ||
|
|
33401f4064 | ||
|
|
9e9dfbcb10 | ||
|
|
73af283e1c | ||
|
|
6c25ad9cc2 | ||
|
|
c247f3130c | ||
|
|
4194632318 | ||
|
|
8f84f9e140 | ||
|
|
21420f16df | ||
|
|
ee682270a4 | ||
|
|
6923128774 | ||
|
|
5cabd8e4c0 | ||
|
|
84bc5ab299 | ||
|
|
9483ccb120 | ||
|
|
d8c700975f | ||
|
|
aee7d36f1d | ||
|
|
febbea5550 | ||
|
|
ee54c1481c | ||
|
|
78af86f9d1 | ||
|
|
82961767e3 | ||
|
|
7583289d24 | ||
|
|
d40e136947 | ||
|
|
ed7cfff45c | ||
|
|
a10376372a | ||
|
|
f6e749734a | ||
|
|
62c9efbc54 | ||
|
|
84e1417b71 | ||
|
|
bf1242aafa | ||
|
|
001a68f45c | ||
|
|
a823e75d2b | ||
|
|
c21c6b8013 | ||
|
|
e42d103af3 | ||
|
|
84e00bf7b3 | ||
|
|
25e5ab7cee | ||
|
|
5a7972fbf8 | ||
|
|
74e10b1788 | ||
|
|
6c3bc6fb34 | ||
|
|
b8ca2c56d9 | ||
|
|
c9e7c1b3bc | ||
|
|
dacf1a85fd | ||
|
|
6567454ae4 | ||
|
|
60c14557ff | ||
|
|
a38b43dc4f | ||
|
|
06fd7e7776 | ||
|
|
cac4b92a02 | ||
|
|
7d27431312 | ||
|
|
206d0c2c2a | ||
|
|
38b8423150 | ||
|
|
ea8b1ba10c | ||
|
|
1bbf099fe0 | ||
|
|
5fae18e940 | ||
|
|
f4d20a9aed | ||
|
|
27dd945544 | ||
|
|
7c74507bca | ||
|
|
c18ea7c856 | ||
|
|
681d75e43e | ||
|
|
12e85f654e | ||
|
|
c02463be69 | ||
|
|
c11bcd1416 | ||
|
|
82501319ce | ||
|
|
1b6d0cf4da | ||
|
|
e59e6ed65e | ||
|
|
b379001f00 | ||
|
|
d6a11921e0 | ||
|
|
fe1dfa3e23 | ||
|
|
d97c9fd2ee | ||
|
|
ab4df553f0 | ||
|
|
e1e91e7e99 | ||
|
|
a7f1aff2c4 | ||
|
|
a8b366992a | ||
|
|
4841dbf7ab | ||
|
|
9ee7041f9f | ||
|
|
856962c6c6 | ||
|
|
ba0651cecf | ||
|
|
fde79a1b3c | ||
|
|
59781b9eef | ||
|
|
27ab978565 | ||
|
|
f7d664fdcf | ||
|
|
4d74d7a994 | ||
|
|
6a3ee4debe | ||
|
|
a0181a0eee | ||
|
|
1c3a257244 | ||
|
|
7727496548 | ||
|
|
419a3eef53 | ||
|
|
f62531bafd | ||
|
|
ecfb363169 | ||
|
|
4579a2adc1 | ||
|
|
57ba307c3b | ||
|
|
54dadbeae5 | ||
|
|
2a8bc31e4a | ||
|
|
d6fcd19bd1 | ||
|
|
e0d4b3fef2 | ||
|
|
3552d6a340 | ||
|
|
e330d8874b | ||
|
|
d919abbda4 | ||
|
|
8e6b2c4f9d | ||
|
|
573c8de380 | ||
|
|
dc815dad14 | ||
|
|
bde2ce9b53 | ||
|
|
041af0100c | ||
|
|
420ed6738e | ||
|
|
49fa5cb23a | ||
|
|
ec9196e33c | ||
|
|
883daf7b46 | ||
|
|
7b92211eca | ||
|
|
192c9fe981 | ||
|
|
9f4ce8d756 | ||
|
|
abaa22950c | ||
|
|
a64297b376 | ||
|
|
9f5ec1784c | ||
|
|
caf9e5699e | ||
|
|
e23481a011 | ||
|
|
8a8741a792 | ||
|
|
206b757629 | ||
|
|
238badabb4 | ||
|
|
e86a6efe45 | ||
|
|
37bc8826f7 | ||
|
|
3d4dfbcf7a | ||
|
|
2de435f43a | ||
|
|
ff4a6a1ea1 | ||
|
|
55df622007 | ||
|
|
baf5b10d23 | ||
|
|
794b6e8783 | ||
|
|
df41201134 | ||
|
|
95e9300d10 | ||
|
|
ad2a54bb78 | ||
|
|
d417e50d52 | ||
|
|
16c41d36cf | ||
|
|
4e019e44b0 | ||
|
|
d7e7ee9a52 | ||
|
|
e7a16364c0 | ||
|
|
a46c220489 | ||
|
|
830af2389e | ||
|
|
332b5d1dad | ||
|
|
3cde636d47 | ||
|
|
c0293719d9 | ||
|
|
bd4ed5b99b | ||
|
|
0527e6f3ea | ||
|
|
ff3ab18d16 | ||
|
|
691730974e | ||
|
|
46a29f54fc | ||
|
|
95127c94a6 | ||
|
|
88a0c56f40 | ||
|
|
6bd5907ad7 | ||
|
|
801068c8fe | ||
|
|
4516c3670e | ||
|
|
73b8ba3d4a | ||
|
|
9567328d28 | ||
|
|
35abe811c1 | ||
|
|
6bc1758dc0 | ||
|
|
341c163b36 | ||
|
|
468b0d2a55 | ||
|
|
f873fa8d99 | ||
|
|
2e18c5b8cf | ||
|
|
59de4f7e82 | ||
|
|
f02bbe6308 | ||
|
|
e5835ae4f6 | ||
|
|
309569c581 | ||
|
|
a88dddab22 | ||
|
|
b5048a3323 | ||
|
|
3ec6b3d846 | ||
|
|
d0dacdbde0 | ||
|
|
8d643fb29d | ||
|
|
e5ffb1e92d | ||
|
|
087eeb01a2 | ||
|
|
542ea8eb81 | ||
|
|
60bb2652f0 | ||
|
|
7b769caf78 | ||
|
|
0796d5394d | ||
|
|
0be4285305 | ||
|
|
e366624440 | ||
|
|
c755143cc0 | ||
|
|
020a2797d5 | ||
|
|
389ee261d4 | ||
|
|
13fd974a2d | ||
|
|
d492870924 | ||
|
|
57f5f5ec43 | ||
|
|
0d06b8c178 | ||
|
|
9af4c1dde7 | ||
|
|
5b70ebd119 | ||
|
|
0dfed3b30a | ||
|
|
915f1e2b3a | ||
|
|
2e765a1e05 | ||
|
|
26717c9ce4 | ||
|
|
fc35d845e7 | ||
|
|
6580fc7f91 | ||
|
|
1b8ab36123 | ||
|
|
b8c0482cda | ||
|
|
100da03647 | ||
|
|
016beb6eec | ||
|
|
f85d366500 | ||
|
|
a5670c3163 | ||
|
|
4202fc2933 | ||
|
|
e913fbe4ea | ||
|
|
0fbfe149df | ||
|
|
07b2ccad61 | ||
|
|
f715146aa3 | ||
|
|
efe4f6d861 | ||
|
|
8eaf05efef | ||
|
|
6c7282ec37 | ||
|
|
d9d05f3644 | ||
|
|
d88daa433e | ||
|
|
4d6eba8d21 | ||
|
|
28d9f9009c | ||
|
|
91e33ad1ee | ||
|
|
4359564e2f | ||
|
|
420eef4d91 | ||
|
|
d2f281d318 | ||
|
|
2f723e0d78 | ||
|
|
a1813ca4b3 | ||
|
|
049d560898 | ||
|
|
91493f9e8f | ||
|
|
64086e8122 | ||
|
|
75d2cbe9e3 | ||
|
|
505d58f7b6 | ||
|
|
a0b41eb83b | ||
|
|
44b31a9e58 | ||
|
|
de4c7ae625 | ||
|
|
414ae9e11f | ||
|
|
f13742c1f7 | ||
|
|
eda6f70acb | ||
|
|
8b18da78fe | ||
|
|
36c1008a22 | ||
|
|
c52389ecb6 | ||
|
|
80da898de8 | ||
|
|
b4f39d5fd3 | ||
|
|
f0db5e0170 | ||
|
|
d9c45f62b1 | ||
|
|
3ae5d954b5 | ||
|
|
934b443b5b | ||
|
|
965bd456cd | ||
|
|
9d4dac892e | ||
|
|
940c1e84f5 | ||
|
|
1d7ed8aff9 | ||
|
|
c15da3178e | ||
|
|
c0f8f94cd6 | ||
|
|
92d2c4d805 | ||
|
|
50ea48901e | ||
|
|
c72f074b77 | ||
|
|
72f7927cc6 | ||
|
|
cb0437fbca | ||
|
|
bc6cc8dd14 | ||
|
|
1695b8f263 | ||
|
|
6ea462c0f7 | ||
|
|
45e4504a7b | ||
|
|
ba2f2d6e9b | ||
|
|
7777d11b9e | ||
|
|
eff3f18e7c | ||
|
|
756edb858a | ||
|
|
b6c597ab5c | ||
|
|
a44dba5ccc | ||
|
|
11b1c0efc6 | ||
|
|
3da0cb9c79 | ||
|
|
a36ac209b2 | ||
|
|
e101f925cc | ||
|
|
bff7c9f7aa | ||
|
|
17fac6e6a0 | ||
|
|
00b3b768eb | ||
|
|
9558a22ce6 | ||
|
|
512bc1ebe6 | ||
|
|
39a956cee3 | ||
|
|
6da13f3794 | ||
|
|
471d21410a | ||
|
|
f290cda333 | ||
|
|
759f001681 | ||
|
|
dc806a9650 | ||
|
|
5f0227fa80 | ||
|
|
e2fce30964 | ||
|
|
1c193b0ed2 | ||
|
|
5588b342d7 | ||
|
|
f4b099a3d1 | ||
|
|
49528dd3c3 | ||
|
|
3aee027b0f | ||
|
|
92177e012c | ||
|
|
acff46b4a5 | ||
|
|
445c6fc775 | ||
|
|
de57aa8417 | ||
|
|
ff1b4b098c | ||
|
|
a72123dd47 | ||
|
|
5d0fe9a6da | ||
|
|
04eaf725a0 | ||
|
|
46a96ccb2e | ||
|
|
0b857f7234 | ||
|
|
c8a683100f | ||
|
|
4e0dd3d12d | ||
|
|
d9eb1ea801 | ||
|
|
881c067c40 | ||
|
|
9d4f4c6305 | ||
|
|
3e2d1b5e9d | ||
|
|
b6ec4bd2d4 | ||
|
|
b70dc83d0e | ||
|
|
a2eda6999a | ||
|
|
dd04d7842e | ||
|
|
3c862add3c | ||
|
|
3ddd0ea3ef | ||
|
|
8ad0042f5f | ||
|
|
8874e871d4 | ||
|
|
356ab8d7eb | ||
|
|
2dcada199c | ||
|
|
ca59efe396 | ||
|
|
5592fb148d | ||
|
|
1f53990bb1 | ||
|
|
811ade60b4 | ||
|
|
6fab722a2e | ||
|
|
83eef0bc77 | ||
|
|
308dc3d600 | ||
|
|
396ea0bd53 | ||
|
|
44df7f523b | ||
|
|
8b36ff8d60 | ||
|
|
e01b165693 | ||
|
|
15671f2494 | ||
|
|
dd217750d7 | ||
|
|
7a42e38cca | ||
|
|
475f147f2c | ||
|
|
670e5243a9 | ||
|
|
2118927f42 | ||
|
|
f8cf4c7b6a | ||
|
|
c6013c3904 | ||
|
|
80d8367a2f | ||
|
|
283343c4a4 | ||
|
|
924d903456 | ||
|
|
49efd028fa | ||
|
|
e6bda625b4 | ||
|
|
226c7d5da5 | ||
|
|
891f00d05c | ||
|
|
c8d1b9f88a | ||
|
|
a71801006c | ||
|
|
dc4e0971a6 | ||
|
|
f7ce0c615d | ||
|
|
dce2081663 | ||
|
|
48989d0f6e | ||
|
|
47fd0d9ec4 | ||
|
|
bbe547ec47 | ||
|
|
c211a804bd | ||
|
|
57fbff3655 | ||
|
|
5a158c1b58 | ||
|
|
088cc16f9b | ||
|
|
b3d526b59a | ||
|
|
afe2ed2ebc | ||
|
|
e6f1c6fc7b | ||
|
|
77ab54243a | ||
|
|
5a69ed562e | ||
|
|
7aada3c746 | ||
|
|
425b66a0c2 | ||
|
|
f4ac714286 | ||
|
|
c9bfdbb63c | ||
|
|
c56381b721 | ||
|
|
70675251e5 | ||
|
|
3482dd5f78 | ||
|
|
3eebd6613f | ||
|
|
d03f0aef84 | ||
|
|
b0964b066b | ||
|
|
5bd86571ca | ||
|
|
a90a1a9e19 | ||
|
|
d10a993465 | ||
|
|
03c2ab52a8 | ||
|
|
143362d45c | ||
|
|
eb69b82adf | ||
|
|
1a6c9a3e18 | ||
|
|
6cb9ab6b44 | ||
|
|
04c689c5b0 | ||
|
|
dbfe7ca6e6 | ||
|
|
e9d2163601 | ||
|
|
3e5da25a24 | ||
|
|
ec51929b1a | ||
|
|
a0d03667c5 | ||
|
|
246ab414c8 | ||
|
|
cde1f128e9 | ||
|
|
4c37af6f10 | ||
|
|
5e829a94bf | ||
|
|
56144c07f0 | ||
|
|
99c1f41e30 | ||
|
|
be9b5adfa3 | ||
|
|
a9da81f18c | ||
|
|
54ef40a335 | ||
|
|
fbb4944e83 | ||
|
|
56682c7fd4 | ||
|
|
114758b193 | ||
|
|
1602bdc17a | ||
|
|
9ea41fbb58 | ||
|
|
59631c7879 | ||
|
|
9770affad0 | ||
|
|
9f6f2d24f3 | ||
|
|
efb4bd17d4 | ||
|
|
3a9dc9ef68 | ||
|
|
8123585592 | ||
|
|
1d1d2493aa | ||
|
|
7b6a9ede6e | ||
|
|
400cb9b6bc | ||
|
|
078c28bd5f | ||
|
|
23f1ac1e72 | ||
|
|
16d00e87c2 | ||
|
|
6a28a41069 | ||
|
|
59a4355614 | ||
|
|
e4435bb8bd | ||
|
|
3a622fcd63 | ||
|
|
e11a0fb285 | ||
|
|
29ed75c329 | ||
|
|
9303e32273 | ||
|
|
3dbf4e2cd7 | ||
|
|
5673b709ec | ||
|
|
b00987b044 | ||
|
|
075b7e9f02 | ||
|
|
53f0c526f7 | ||
|
|
40c87784b0 | ||
|
|
bf30713860 | ||
|
|
2e57b76df0 | ||
|
|
dc5c4eced0 | ||
|
|
0d8b6d03ed | ||
|
|
ab4aa9eec6 | ||
|
|
699ca14434 | ||
|
|
25822a91b1 | ||
|
|
f700f51f2b | ||
|
|
af6a7aa9e8 | ||
|
|
b3c232dbbe | ||
|
|
fc16ffefdb | ||
|
|
1d6cf04647 | ||
|
|
a2c0481f59 | ||
|
|
bb6ee6a974 | ||
|
|
fa577d0490 | ||
|
|
bab34d82f5 | ||
|
|
0363c85dbd | ||
|
|
7c6d6fd1ca | ||
|
|
9d43805242 | ||
|
|
0dd39bcad2 | ||
|
|
a0d479ead8 | ||
|
|
ef7ba946c4 | ||
|
|
ed01a17621 | ||
|
|
bb915448e1 | ||
|
|
b1c07ef748 | ||
|
|
a7d5a0fa81 | ||
|
|
e0f6f36787 | ||
|
|
c49ee15b6a | ||
|
|
ca684a33d1 | ||
|
|
59a31543c8 | ||
|
|
402b1e4615 | ||
|
|
fa660cd4ef | ||
|
|
fd9cbd2cdb | ||
|
|
8d827933f3 | ||
|
|
65f0e1caac | ||
|
|
d9df98ff22 | ||
|
|
4f6eb1e307 | ||
|
|
e3278bf981 | ||
|
|
50860bc8c1 | ||
|
|
71057aa5ef | ||
|
|
52f7890989 | ||
|
|
6200a119f9 | ||
|
|
46eb61d18a | ||
|
|
246c78c6c7 | ||
|
|
999c8fc08b | ||
|
|
fe221aea67 | ||
|
|
57a8c352e4 | ||
|
|
c303913e61 | ||
|
|
37efc13c1e | ||
|
|
2766489476 | ||
|
|
0c1102a138 | ||
|
|
e765b96a4e | ||
|
|
01c42d9630 | ||
|
|
e458087a55 | ||
|
|
f421a2715d | ||
|
|
edd7a8086c | ||
|
|
010db46e08 | ||
|
|
fc8a6e107e | ||
|
|
2a85bb9fa9 | ||
|
|
ccb42319ab | ||
|
|
2bf0fffa0d | ||
|
|
c069f46f4c | ||
|
|
b74ea218ca | ||
|
|
49cbb2d0ac | ||
|
|
2878b4b1be | ||
|
|
0f0dc0948e | ||
|
|
50bcf001ea | ||
|
|
7be202486b | ||
|
|
f938dd718f | ||
|
|
94b2ef1613 | ||
|
|
71a6c58b27 | ||
|
|
13ec1e0398 | ||
|
|
35426eef36 | ||
|
|
32833ec571 | ||
|
|
5eb8e4a28f | ||
|
|
0f27b103b4 | ||
|
|
d103f6c94f | ||
|
|
a345ef0d31 | ||
|
|
4d8cc97475 | ||
|
|
7556b54017 | ||
|
|
5e8a8b2df9 | ||
|
|
244fb63c6d | ||
|
|
eb65340923 | ||
|
|
e4f2be3dec | ||
|
|
f43f433f51 | ||
|
|
84f01e8836 | ||
|
|
30def3511e | ||
|
|
27499981c8 | ||
|
|
d5e725c608 | ||
|
|
ef5cc2ab0f | ||
|
|
5cd87a754b | ||
|
|
b1370b814a | ||
|
|
b1105085c5 | ||
|
|
cdaa8cc29f | ||
|
|
811913cb85 | ||
|
|
7356d8977f | ||
|
|
a3959ca5d8 | ||
|
|
216b9f88d9 | ||
|
|
183cd9a0be | ||
|
|
5f5c7ba7bf | ||
|
|
66210b856b | ||
|
|
2f684040fc | ||
|
|
2364476689 | ||
|
|
7136db4c71 | ||
|
|
562fccce05 | ||
|
|
35f91b038b | ||
|
|
eb0023e961 | ||
|
|
1d76e973bb | ||
|
|
3f28a69959 | ||
|
|
77792327f1 | ||
|
|
86855d68f6 | ||
|
|
cfef68f364 | ||
|
|
32b8f46bf2 | ||
|
|
cc5fa943ad | ||
|
|
9da9d38aed | ||
|
|
d90ca777db | ||
|
|
64bb16a6ff | ||
|
|
cfa364280f | ||
|
|
7a293563fb | ||
|
|
6f6e3cabe7 | ||
|
|
e9b5309a39 | ||
|
|
e4b4931dba | ||
|
|
93acea9d7f | ||
|
|
f883e04ee1 | ||
|
|
bb51a54ebe | ||
|
|
483adf08c4 | ||
|
|
4a78f7d3c3 | ||
|
|
78c2306b73 | ||
|
|
ddfb011904 | ||
|
|
d1c20e4fef | ||
|
|
a5139072c8 | ||
|
|
e004682799 | ||
|
|
c651835061 | ||
|
|
2255ebb64a | ||
|
|
e2ec2f7b97 | ||
|
|
00196a8631 | ||
|
|
2a09f15a15 | ||
|
|
0420b6dc27 | ||
|
|
10c30260dd | ||
|
|
2cb79f1752 | ||
|
|
5f740a60cc | ||
|
|
25000261bd | ||
|
|
bb82cdcef4 | ||
|
|
9359954233 | ||
|
|
9fcc05676e | ||
|
|
1e95f5de49 | ||
|
|
f8983e9e5c | ||
|
|
027dff8363 | ||
|
|
31ca1ab379 | ||
|
|
33c1f287f3 | ||
|
|
cd4861afda | ||
|
|
9f56ac182f | ||
|
|
3301f59822 | ||
|
|
f9ca3a9f96 | ||
|
|
3ba7594a65 | ||
|
|
aab71f03b3 | ||
|
|
447d88bf82 | ||
|
|
897e94f2f4 | ||
|
|
87936e5b52 | ||
|
|
6a1b25ab30 | ||
|
|
17dbbc7775 | ||
|
|
7e25abf87a | ||
|
|
0591dfd05b | ||
|
|
17610adf36 | ||
|
|
91814777b0 | ||
|
|
09d793926d | ||
|
|
a9f2f0ec03 | ||
|
|
66bf8c3cbd | ||
|
|
3967c1233f | ||
|
|
c929725dd5 | ||
|
|
9c6098b191 | ||
|
|
6daab398da | ||
|
|
36ef3789fb | ||
|
|
175d44b0ae | ||
|
|
e7ac1819ce | ||
|
|
288ff2b094 | ||
|
|
aca534ec59 | ||
|
|
a8951cb741 | ||
|
|
7f9dd2b4e1 | ||
|
|
14cbf2f079 | ||
|
|
87bbf4416b | ||
|
|
785b992c3e | ||
|
|
8a9f8408cf | ||
|
|
f333ff1c5b | ||
|
|
d9dd7ca2c9 | ||
|
|
b4695e10b6 | ||
|
|
0b0d971491 | ||
|
|
02af6b90b2 | ||
|
|
2181bc84a1 | ||
|
|
036cd5f831 | ||
|
|
da9825cd99 | ||
|
|
4a43f95952 | ||
|
|
9af9b73132 | ||
|
|
2790bab479 | ||
|
|
29b4bcd1b0 | ||
|
|
d9dd60ff70 | ||
|
|
7f7d3dbeef | ||
|
|
8ef9206001 | ||
|
|
21ba237135 | ||
|
|
07b970027d | ||
|
|
3bda163e7b | ||
|
|
e4e4ad1b08 | ||
|
|
f7352a7d08 | ||
|
|
6f6f2f8e7b | ||
|
|
5ca5abab42 | ||
|
|
9a7553099c | ||
|
|
55d0c917e6 | ||
|
|
f52daeccf0 | ||
|
|
e7f5c2e767 | ||
|
|
4889fe29f5 | ||
|
|
6c871c57fc | ||
|
|
5322ada9e6 | ||
|
|
ee83a50ea9 | ||
|
|
71f6542341 | ||
|
|
c90830f961 | ||
|
|
d46d2c0595 | ||
|
|
16d6c26387 | ||
|
|
f6b19e074c | ||
|
|
6cc1d9e41b | ||
|
|
74863f9462 | ||
|
|
fdcf029da2 | ||
|
|
3e3d151e4c | ||
|
|
5da204b152 | ||
|
|
3d6c3f7339 | ||
|
|
32df3067e1 | ||
|
|
3a7440dcb9 | ||
|
|
417f4b7aa9 | ||
|
|
822aec0a5c | ||
|
|
8d49517004 | ||
|
|
d1c0f2b97b | ||
|
|
1bc42ae098 | ||
|
|
c6edb7f53a | ||
|
|
1e048fe037 | ||
|
|
8fabdce584 | ||
|
|
5c1a3fabee | ||
|
|
d45de99956 | ||
|
|
455622fa57 | ||
|
|
f93316e588 | ||
|
|
b7e65d1024 | ||
|
|
fe6d30210b | ||
|
|
93f71e621c | ||
|
|
39d1a09d5a | ||
|
|
74ae6fd1d5 | ||
|
|
bbbcf8c869 | ||
|
|
b379666dec | ||
|
|
6f40b5c9ab | ||
|
|
b329be7dc1 | ||
|
|
c2ec54a7cb | ||
|
|
3641dfd38a | ||
|
|
5bf1354741 | ||
|
|
b894b809bf | ||
|
|
a4504ca15b | ||
|
|
7926083732 | ||
|
|
534cd5ae53 | ||
|
|
fb329a99ba | ||
|
|
9e726d9b90 | ||
|
|
8d065d619d | ||
|
|
cbff1776e7 | ||
|
|
e517695000 | ||
|
|
4370cfca0c | ||
|
|
4135b618ef | ||
|
|
1cfce87549 | ||
|
|
c48283ac1d | ||
|
|
328be3e4bc | ||
|
|
b4becd1493 | ||
|
|
95fac0bd62 | ||
|
|
a30d9dc1d7 | ||
|
|
7bfcefbfea | ||
|
|
131b2796e7 | ||
|
|
debcb003bb | ||
|
|
6e1dfff1b8 | ||
|
|
b5728104dd | ||
|
|
604197bb98 | ||
|
|
6b30a9702b | ||
|
|
ab974ee587 | ||
|
|
3a9efb21e0 | ||
|
|
a9ebb71a09 | ||
|
|
3e34e5216f | ||
|
|
2400c58219 | ||
|
|
90d504526c | ||
|
|
2dd395f718 | ||
|
|
c97d4f9545 | ||
|
|
09a8144f3c | ||
|
|
2df28355cf | ||
|
|
7607c17041 | ||
|
|
00ef1700ae | ||
|
|
3e03b2b5df | ||
|
|
974f79e57e | ||
|
|
34f42083b5 | ||
|
|
c0cae1e834 | ||
|
|
64560dd36b | ||
|
|
e72fff6768 | ||
|
|
3ce8ee4661 | ||
|
|
f81b4d3a1b | ||
|
|
8305b65b98 | ||
|
|
275d15cfdc | ||
|
|
c09667edfc | ||
|
|
2cbb14f8dd | ||
|
|
936c125a42 | ||
|
|
5a8cdef103 | ||
|
|
f9feff58d6 | ||
|
|
73848b6037 | ||
|
|
26bc1b46c1 | ||
|
|
7fd8124df6 | ||
|
|
1c77455403 | ||
|
|
051a0fad84 | ||
|
|
639a832600 | ||
|
|
8e53ef47a0 | ||
|
|
ba4d751831 | ||
|
|
918130486e | ||
|
|
b454811698 | ||
|
|
f87c68f310 | ||
|
|
25006d44e8 | ||
|
|
d8e51dd200 | ||
|
|
f54210a528 | ||
|
|
96dab15cd1 | ||
|
|
4126843619 | ||
|
|
e0238ad393 | ||
|
|
c2c60851b0 | ||
|
|
84cd214a89 | ||
|
|
aa0302c05e | ||
|
|
1040ad2cfe | ||
|
|
c64f15d4d9 | ||
|
|
22ea98ca33 | ||
|
|
75bab716d1 | ||
|
|
52a8e9624c | ||
|
|
52cd3b4a7e | ||
|
|
cc63167307 | ||
|
|
314671b3b7 | ||
|
|
6023191201 | ||
|
|
a7ccfaeb6f | ||
|
|
32a0972855 | ||
|
|
d354610978 | ||
|
|
97bd414d3d | ||
|
|
9f396598a0 | ||
|
|
c2e20277ec | ||
|
|
ef83bdb709 | ||
|
|
7e6f35f380 | ||
|
|
750646b3b8 | ||
|
|
686085496a | ||
|
|
76ae20aa16 | ||
|
|
a1a55386f0 | ||
|
|
b3bb421c6c | ||
|
|
eabb981243 | ||
|
|
e93599234d | ||
|
|
c1cf66dc53 | ||
|
|
2cd83f2aa6 | ||
|
|
0685717794 | ||
|
|
4be14a12d0 | ||
|
|
ce174878f3 | ||
|
|
14966796ae | ||
|
|
7b756f3421 | ||
|
|
9fea2b4e08 | ||
|
|
f9b1b1fe7f | ||
|
|
205404a88a | ||
|
|
813c46c86d | ||
|
|
5e02762715 | ||
|
|
0785820539 | ||
|
|
8bfe253157 | ||
|
|
ed8e581629 | ||
|
|
7cf66b081a | ||
|
|
64503f8267 | ||
|
|
d82c12eab6 | ||
|
|
9c4f2b68b0 | ||
|
|
bcfda707ff | ||
|
|
66b77f7dca | ||
|
|
dcc8dad53b | ||
|
|
bb1477e08b | ||
|
|
4e165cf52e | ||
|
|
a1083727ef | ||
|
|
d5ccd45b53 | ||
|
|
94d355ba5e | ||
|
|
892a774998 | ||
|
|
78f39af5cf | ||
|
|
813fa1571c | ||
|
|
c40e232ac6 | ||
|
|
834f4ebd38 | ||
|
|
ca434b8a92 | ||
|
|
7acf944a28 | ||
|
|
391c9d8682 | ||
|
|
8e47961da1 | ||
|
|
016f3e47ab | ||
|
|
21eb19edd1 | ||
|
|
ad4f7a5fff | ||
|
|
cd209379b2 | ||
|
|
14a16dc05f | ||
|
|
9a461b8536 | ||
|
|
59af8725b4 | ||
|
|
dffeaf6a69 | ||
|
|
c7851f8189 | ||
|
|
ada1871993 | ||
|
|
78ccd2ad9b | ||
|
|
4cb69039ed | ||
|
|
c8b37f40cb | ||
|
|
4963f10a18 | ||
|
|
6f77fe7c27 | ||
|
|
c584c2ed47 | ||
|
|
5a19f6915a | ||
|
|
48f0c06edc | ||
|
|
50cc3c5a21 | ||
|
|
6674a0df6b | ||
|
|
cbbace21ca | ||
|
|
87346a97ab | ||
|
|
4357c5491d | ||
|
|
03847703b0 | ||
|
|
3c46851426 | ||
|
|
8115855e5a | ||
|
|
ddb2a0a4f5 | ||
|
|
a45577f182 | ||
|
|
eb963066f7 | ||
|
|
a99d9c98c3 | ||
|
|
cdfc0dec70 | ||
|
|
eb1ff7efce | ||
|
|
55843f6c55 | ||
|
|
7856f66b31 | ||
|
|
47ac86b4b7 | ||
|
|
13dc39dc6d | ||
|
|
65653bd1d3 | ||
|
|
299ee82ccf | ||
|
|
b38b6427b8 | ||
|
|
784696f9a6 | ||
|
|
8bd2a0e6c9 | ||
|
|
0f671b1b35 | ||
|
|
d56882cc20 | ||
|
|
6d13ae6846 | ||
|
|
91000d7fda | ||
|
|
888734dcdf | ||
|
|
e81da57f61 | ||
|
|
05d1b141b2 | ||
|
|
b7e5828adc | ||
|
|
2ee4c7ad72 | ||
|
|
77ab11bce8 | ||
|
|
cd8edbaa1f | ||
|
|
5e21048457 | ||
|
|
c0c093d16c | ||
|
|
117153fad7 | ||
|
|
5ae666b0e0 | ||
|
|
afa03789b8 | ||
|
|
44b0073834 | ||
|
|
254636167d | ||
|
|
29e82ec845 | ||
|
|
c3a0bd8625 | ||
|
|
32a4e8e9b9 | ||
|
|
482cbe71c7 | ||
|
|
7dbcd9ca89 | ||
|
|
a1f2dcab8f | ||
|
|
21417c6598 | ||
|
|
f1a272f407 | ||
|
|
064f797023 | ||
|
|
26c2020b12 | ||
|
|
af1a483e64 | ||
|
|
f517cb5e93 | ||
|
|
c8a8914ea7 | ||
|
|
4f834c6bf8 | ||
|
|
d588843121 | ||
|
|
51c7770b10 | ||
|
|
18ff5d29b0 | ||
|
|
e31098eaa5 | ||
|
|
0873050b32 | ||
|
|
8df9ee7b2d | ||
|
|
a9ef557ca4 | ||
|
|
689fa008fb | ||
|
|
1a4ce65e6c | ||
|
|
f6dff04cfe | ||
|
|
a73c391c2c | ||
|
|
e88c7ca4b2 | ||
|
|
0cd8446735 | ||
|
|
6a3cfced9a | ||
|
|
0586d7aa7d | ||
|
|
3736755a12 | ||
|
|
d727fc8e24 | ||
|
|
50b0303ab3 | ||
|
|
6bc6e7bb61 | ||
|
|
cf2eb3e482 | ||
|
|
d318e2276c | ||
|
|
8d3974776c | ||
|
|
8f8b824432 | ||
|
|
7d60a22ccf | ||
|
|
2075c0e817 | ||
|
|
ad68a58859 | ||
|
|
31622dd448 | ||
|
|
2b51699ec3 | ||
|
|
eef80a8239 | ||
|
|
339fb96b7d | ||
|
|
fe8254c73d | ||
|
|
aef868f471 | ||
|
|
8e02db10ae | ||
|
|
44dd66cb72 | ||
|
|
713c6738aa | ||
|
|
5d18d2793a | ||
|
|
fe002cf9b2 | ||
|
|
434bdb72ab | ||
|
|
5a802d0d94 | ||
|
|
f70a7b80fc | ||
|
|
4aa5500593 | ||
|
|
c7432fb6e6 | ||
|
|
f895443e33 | ||
|
|
32cebb56ff | ||
|
|
4a6b01d094 | ||
|
|
f8295f7577 | ||
|
|
a2fa99d06f | ||
|
|
32665d11c5 | ||
|
|
1ed4c096a3 | ||
|
|
c508ac6dee | ||
|
|
c4a492a62a | ||
|
|
4900fa799f | ||
|
|
135b1bcdd7 | ||
|
|
25f5d68b74 | ||
|
|
1ed867ce0c | ||
|
|
e01473ec0c | ||
|
|
5ef5f09a5c | ||
|
|
bb6d545aae | ||
|
|
4cdc94d92f | ||
|
|
97a3be87f3 | ||
|
|
aa2c48cb71 | ||
|
|
ef31984e24 | ||
|
|
de37218c6b | ||
|
|
9d875332b0 | ||
|
|
c8d8f1fd73 | ||
|
|
ba29a5dd7a | ||
|
|
0c3b69795b | ||
|
|
3465f7c60d | ||
|
|
bc97d3d6f2 | ||
|
|
fe62871c75 | ||
|
|
741ba30513 | ||
|
|
159d61e172 | ||
|
|
63240ca9ab | ||
|
|
b21a56fdf7 | ||
|
|
97f2a9b484 | ||
|
|
4ef6801230 | ||
|
|
8e21a91b2c | ||
|
|
38a1a38c0c | ||
|
|
2b7785d101 | ||
|
|
339ab3a838 | ||
|
|
2cf9d35fed | ||
|
|
4e1f9c7280 | ||
|
|
cc9f9dd704 | ||
|
|
f45d5a0421 | ||
|
|
39586d3cdb | ||
|
|
6e85a1263d | ||
|
|
eec5fdcccf | ||
|
|
5e66e3ee78 | ||
|
|
a284f6c066 | ||
|
|
fdc0ad8a3c | ||
|
|
fa01b353ef | ||
|
|
c13acfe47a | ||
|
|
dac3308441 | ||
|
|
715e13b78e | ||
|
|
11d8fc71e8 | ||
|
|
771bbaedbc | ||
|
|
040833ead8 | ||
|
|
7c2acb4324 | ||
|
|
88fe797007 | ||
|
|
5825d7e64f | ||
|
|
97ff49f2bf | ||
|
|
ccada2e8c9 | ||
|
|
1d8bcd6e16 | ||
|
|
1b58094e6f | ||
|
|
1437bfe0c9 | ||
|
|
171da32b00 | ||
|
|
a3edbf4fef | ||
|
|
8ab4ec8d54 | ||
|
|
f8365abf1b | ||
|
|
078e8dcc51 | ||
|
|
b1a1575122 | ||
|
|
201a8e1053 | ||
|
|
ff4c1a1c01 | ||
|
|
7c449e0d30 | ||
|
|
2ca526bd22 | ||
|
|
48f929f3ab | ||
|
|
f2bec90663 | ||
|
|
1c7445dc7f | ||
|
|
6d6fd11b04 | ||
|
|
27313995cc | ||
|
|
93afe1d000 | ||
|
|
78630cafa2 | ||
|
|
0a40dd43cb | ||
|
|
32fb72a5bb | ||
|
|
cbb1c84be7 | ||
|
|
5979f72962 | ||
|
|
7e93ab95d9 | ||
|
|
ae156a6679 | ||
|
|
cc9c012e3a | ||
|
|
4bac60b959 | ||
|
|
790e401837 | ||
|
|
145e1db05d | ||
|
|
4115045c15 | ||
|
|
d0744f3702 | ||
|
|
e7caaf57a9 | ||
|
|
fba0847f0f | ||
|
|
566c6ba3a9 | ||
|
|
b860959fea | ||
|
|
9e4e4b231c | ||
|
|
b8421ddc0c | ||
|
|
9165b25fd6 | ||
|
|
f615abc9b1 | ||
|
|
9237dd67da | ||
|
|
e1347d5a39 | ||
|
|
ca852e8cb2 | ||
|
|
d0da3d7962 | ||
|
|
2ae33b603a | ||
|
|
6a6a69190f | ||
|
|
a7b882c03d | ||
|
|
a83921a2fe | ||
|
|
4b7b04d5fa | ||
|
|
b403f5228b | ||
|
|
dd289ca24a | ||
|
|
daf5fc83d8 | ||
|
|
08271086c3 | ||
|
|
30da37becd | ||
|
|
df1491de74 | ||
|
|
420fd67905 | ||
|
|
17a55e4a3a | ||
|
|
1b3a328388 | ||
|
|
060ee40bab | ||
|
|
103966d36e | ||
|
|
1ce2dc8e6d | ||
|
|
2f4f075441 | ||
|
|
50972b98a1 | ||
|
|
874c001d3b | ||
|
|
63519a8f54 | ||
|
|
63a0336e98 | ||
|
|
ae51836187 | ||
|
|
d7b16dd88f | ||
|
|
6962fabb4e | ||
|
|
9705e351b3 | ||
|
|
45744b0eed | ||
|
|
7c8f2b1855 | ||
|
|
a7c5d6476c | ||
|
|
932fefcb7d | ||
|
|
ae8342c3ed | ||
|
|
ec24bb9e2a | ||
|
|
e1a903d03e | ||
|
|
2f822d517d | ||
|
|
888e756c6e | ||
|
|
a8d2e09952 | ||
|
|
02a5648ff9 | ||
|
|
2ba244cb01 | ||
|
|
fab1ea5338 | ||
|
|
ac9c6c5c6d | ||
|
|
0a4745b869 | ||
|
|
bc0bb6c1b4 | ||
|
|
3aa0d3f3ee | ||
|
|
1f570f97a4 | ||
|
|
76067b4e50 | ||
|
|
23d2ef5027 | ||
|
|
82293292a1 | ||
|
|
ad9ccfd338 | ||
|
|
3735a28b0c | ||
|
|
2b7547fbae | ||
|
|
112defe846 | ||
|
|
804f3ced95 | ||
|
|
209b02b069 | ||
|
|
4e1da749c9 | ||
|
|
a5918059a8 | ||
|
|
c32dfea356 | ||
|
|
3b2061e54a | ||
|
|
61673907ca | ||
|
|
1e72301cdf | ||
|
|
055d1b9ea1 | ||
|
|
8d968b7690 | ||
|
|
2989ec5100 | ||
|
|
c4d7df8bba | ||
|
|
d6cd5b1f0d | ||
|
|
e9b3f3f060 | ||
|
|
ed80c30c74 | ||
|
|
3343adb952 | ||
|
|
a8aaa6deea | ||
|
|
3c8fa72dc8 | ||
|
|
91c4f4f980 | ||
|
|
b2406b3696 | ||
|
|
b8504ffb25 | ||
|
|
0294c02aed | ||
|
|
31680dcdea | ||
|
|
d91b69c465 | ||
|
|
9c0c606b20 | ||
|
|
6791352ce8 | ||
|
|
d17d227fad | ||
|
|
c175476e74 | ||
|
|
f0ff1c7c99 | ||
|
|
d0d498e9c7 | ||
|
|
da2a262208 | ||
|
|
2f86a39e38 | ||
|
|
408b66590a | ||
|
|
663cae4788 | ||
|
|
3a66860ab2 | ||
|
|
9abb74abf7 | ||
|
|
bf47f69258 | ||
|
|
0b57e45ee4 | ||
|
|
bf942bf015 | ||
|
|
b2ae5da62a | ||
|
|
858b1afa54 | ||
|
|
c28dca6fc0 | ||
|
|
95e630201a | ||
|
|
bc83153b60 | ||
|
|
1997153549 | ||
|
|
b479013f00 | ||
|
|
211b960440 | ||
|
|
7157f70790 | ||
|
|
84611aff2c | ||
|
|
bd4dd45f8e | ||
|
|
f190ad3576 | ||
|
|
9813216ea9 | ||
|
|
d5e88cc1a9 | ||
|
|
5dc7caf356 | ||
|
|
a8a21e119b | ||
|
|
2c9d45c59c | ||
|
|
d176633804 | ||
|
|
f65594be43 | ||
|
|
f0466f885f | ||
|
|
309a8cde95 | ||
|
|
61f0e8ea9f | ||
|
|
af00eb9cc4 | ||
|
|
61e8a4d6ee | ||
|
|
55a273d982 | ||
|
|
0993223e5c | ||
|
|
08a38b03b9 | ||
|
|
b79ae00603 | ||
|
|
c96985be0c | ||
|
|
36e9acc637 | ||
|
|
e541713282 | ||
|
|
5d57bfa438 | ||
|
|
c5bcd1e341 | ||
|
|
8b8fccca04 | ||
|
|
cfb5540e64 | ||
|
|
38d1794ee2 | ||
|
|
8feed39fb9 | ||
|
|
3140f9c3b8 | ||
|
|
84100be7eb | ||
|
|
0c7007ae9a | ||
|
|
3e7e3669fe | ||
|
|
1d3bb9c287 | ||
|
|
e13c6fa955 | ||
|
|
b201168bd0 | ||
|
|
e5e675c14a | ||
|
|
9589f0798f | ||
|
|
e1c35b5220 | ||
|
|
f22f56e73c | ||
|
|
61280e36c4 | ||
|
|
3b4d5afd41 | ||
|
|
3a3026cd63 | ||
|
|
2a1f387bcc | ||
|
|
6f8b8d0fb8 | ||
|
|
cacc624f5a | ||
|
|
8a81d0b274 | ||
|
|
04dd824f0a | ||
|
|
dc929732b1 | ||
|
|
e2c366f536 | ||
|
|
4415f9db48 | ||
|
|
f6ff308dc4 | ||
|
|
546011d8a9 | ||
|
|
60c0f0fb08 | ||
|
|
4b6f451022 | ||
|
|
3fb2bcfac7 | ||
|
|
66c820c863 | ||
|
|
09f57e9a4c | ||
|
|
6f748f1adb | ||
|
|
893772ebd8 | ||
|
|
b987cb8dc4 | ||
|
|
fa119550ae | ||
|
|
aa322b2cf2 | ||
|
|
4c68f64829 | ||
|
|
cc360191b5 | ||
|
|
1d06117619 | ||
|
|
446a4e1d8a | ||
|
|
428edb05c4 | ||
|
|
21708bcc1c | ||
|
|
23d605c5aa | ||
|
|
b4ffa22885 | ||
|
|
d2bc4b72a0 | ||
|
|
27c352c2ff | ||
|
|
19a354863f | ||
|
|
33f4a1322d | ||
|
|
563f98e2fb | ||
|
|
1e4b94c508 | ||
|
|
cd8d1c7ace | ||
|
|
2ea545f0cf | ||
|
|
e8a1cdafba | ||
|
|
1f8b5d8e1a | ||
|
|
793dfe96b9 | ||
|
|
6533af9c0e | ||
|
|
87ead2f89b | ||
|
|
28e3928094 | ||
|
|
dc41372acb | ||
|
|
6a9ea638d5 | ||
|
|
2a7651eb9c | ||
|
|
9021d5352d | ||
|
|
dc5c9ee3a0 | ||
|
|
079623f40a | ||
|
|
b59ba230de | ||
|
|
6826e44072 | ||
|
|
878fd4ab92 | ||
|
|
abfb1868ab | ||
|
|
7319a8e90d | ||
|
|
d2be893a5a | ||
|
|
cc8b636248 | ||
|
|
a103665bd9 | ||
|
|
0d1603b467 | ||
|
|
d6a7b8c319 | ||
|
|
f5ad7a163a | ||
|
|
d433351dbd | ||
|
|
3601ef90bc | ||
|
|
76b6c736e1 | ||
|
|
a194a64845 | ||
|
|
b00d8584f3 | ||
|
|
39d075b999 | ||
|
|
e57a5741e5 | ||
|
|
a6a9ab15b7 | ||
|
|
4280a59c77 | ||
|
|
3259e34e27 | ||
|
|
3132d35e27 | ||
|
|
7376246592 | ||
|
|
69ce6d78da | ||
|
|
b43e8c5db0 | ||
|
|
e348bdcc21 | ||
|
|
039c3ec110 | ||
|
|
f98ef62ad3 | ||
|
|
17ebcc6925 | ||
|
|
6347a2febf | ||
|
|
2ef8a1e35a | ||
|
|
df11478905 | ||
|
|
e7d2bdb45a | ||
|
|
1564fcaeb3 | ||
|
|
cf38e8d520 | ||
|
|
bb9f28fb08 | ||
|
|
d8a28acfa8 | ||
|
|
b0eccdd12e | ||
|
|
1427fb4078 | ||
|
|
1812be2e16 | ||
|
|
db87179576 | ||
|
|
0d8d41ce7e | ||
|
|
a2f95f6cea | ||
|
|
fa9bd6191c | ||
|
|
bc9de859c4 | ||
|
|
73d04262ad | ||
|
|
6e7d547da5 | ||
|
|
6060e4cb27 | ||
|
|
b5ce54c7ae | ||
|
|
492a1308cc | ||
|
|
147a4f8624 | ||
|
|
eac982398e | ||
|
|
9afd51b7dd | ||
|
|
dd810a3593 | ||
|
|
75a4c52071 | ||
|
|
2707af1d45 | ||
|
|
b7d49db536 | ||
|
|
3a98c6ad53 | ||
|
|
79f3de8042 | ||
|
|
81024e4753 | ||
|
|
629e9d3faa | ||
|
|
de0913d958 | ||
|
|
8e9577b8e7 | ||
|
|
e2c333ac02 | ||
|
|
1bdacb9bda | ||
|
|
2fa680cdf8 | ||
|
|
3a17a8a001 | ||
|
|
afbb014cbd | ||
|
|
c75c67ec86 | ||
|
|
e8b72f186f | ||
|
|
a777032894 | ||
|
|
624e25c077 | ||
|
|
34d0b89376 | ||
|
|
fcd3b0d2cb | ||
|
|
5512022a10 | ||
|
|
28e31fee72 | ||
|
|
779a60a42c | ||
|
|
ba29898d97 | ||
|
|
a636c65e34 | ||
|
|
ff3e137c78 | ||
|
|
8c4e0fa7b2 | ||
|
|
3ae1c26a07 | ||
|
|
7a6f2392fa | ||
|
|
07949525ef | ||
|
|
3b9fdf3ffd | ||
|
|
2694c0d5bd | ||
|
|
4f8b5b9f85 | ||
|
|
e75cca4512 | ||
|
|
68e7c41fdc | ||
|
|
735e385537 | ||
|
|
c995f797fe | ||
|
|
54162b52cc | ||
|
|
66fc06895a | ||
|
|
85b7a490eb | ||
|
|
4b0a257246 | ||
|
|
29f1af7eb4 | ||
|
|
ba79b4446c | ||
|
|
40b6afff2d | ||
|
|
a664b627f6 | ||
|
|
3a4657e368 | ||
|
|
4cb565f1cc | ||
|
|
31ca363982 | ||
|
|
4a3588e965 | ||
|
|
11600930b7 | ||
|
|
4bb0d3994f | ||
|
|
5fc4f3adad | ||
|
|
41a0ba5780 | ||
|
|
f7a81d70ac | ||
|
|
baf4664073 | ||
|
|
48700a93e3 | ||
|
|
49d09a349f | ||
|
|
31bc4c6532 | ||
|
|
aa89251a3b | ||
|
|
057846e250 | ||
|
|
5a5e3b589c | ||
|
|
270dd22f08 | ||
|
|
beec04a1bc | ||
|
|
60bfb1c3b8 | ||
|
|
98676bea69 | ||
|
|
8589fdefda | ||
|
|
8ba25e8602 | ||
|
|
de43e21ebc | ||
|
|
90ba15f9bd | ||
|
|
b9f9f15d77 | ||
|
|
e7ffa2638a | ||
|
|
666765f3fb | ||
|
|
fc14622555 | ||
|
|
0d83d83d3c | ||
|
|
cac5266c79 | ||
|
|
420afc6838 | ||
|
|
4e3c4e9c0c | ||
|
|
2c27812ba1 | ||
|
|
2f57a983cd | ||
|
|
91c4ef226b | ||
|
|
38b52bf67b | ||
|
|
281985970d | ||
|
|
03f28a4804 | ||
|
|
c0acba94c6 | ||
|
|
8d550d411e | ||
|
|
e8064371b0 | ||
|
|
166bd31506 | ||
|
|
4055908bc8 | ||
|
|
d68bb8c292 | ||
|
|
c8be171f24 | ||
|
|
43eafd4b9f | ||
|
|
ce1c99b01c | ||
|
|
4b2bc36f89 | ||
|
|
58587525e5 | ||
|
|
df76f60e7f | ||
|
|
2c66ad8689 | ||
|
|
6016e2346c | ||
|
|
56cdd943fd | ||
|
|
6d02f7d3ac | ||
|
|
18f8790062 | ||
|
|
854b63ec34 | ||
|
|
beccbbd3e8 | ||
|
|
91d0d84c65 | ||
|
|
7dd67a8d39 | ||
|
|
ad43cbc808 | ||
|
|
2b2a562d83 | ||
|
|
d9e7696384 | ||
|
|
01bc1fef1e | ||
|
|
567d8c19bf | ||
|
|
b722bed24f | ||
|
|
0af66d68a7 | ||
|
|
f3b7dcff57 | ||
|
|
67331eb975 | ||
|
|
d9ef803d20 | ||
|
|
9fd171b26d | ||
|
|
aab2f5f7d2 | ||
|
|
2d5cd84314 | ||
|
|
80b0d79342 | ||
|
|
3fc4bc43ac | ||
|
|
fbdc74ea71 | ||
|
|
c06c80e416 | ||
|
|
a0116685bd | ||
|
|
141e40ffb9 | ||
|
|
bd2c1c6bf2 | ||
|
|
ba90fdbdfd | ||
|
|
22a0486f1c | ||
|
|
3b03abdd78 | ||
|
|
b7c3899e38 | ||
|
|
af4a41e219 | ||
|
|
5e59b5666c | ||
|
|
a3105d3897 | ||
|
|
7a32f39c2c | ||
|
|
c4a09967f3 | ||
|
|
dd8c7906da | ||
|
|
c7bdf5eb43 | ||
|
|
3e0ba91c5b | ||
|
|
6940f2c0b7 | ||
|
|
474436e9ab | ||
|
|
91e33d1c1c | ||
|
|
601e69ab0d | ||
|
|
81aa74bbbe | ||
|
|
e84b7a9c58 | ||
|
|
b6b0ffb674 | ||
|
|
62bd2db5f9 | ||
|
|
74342a4dea | ||
|
|
c78d77446a | ||
|
|
6eb4fc04b1 | ||
|
|
f1b00e85fc | ||
|
|
7c73f2c1d9 | ||
|
|
704e543c7e | ||
|
|
fcaa1454dc | ||
|
|
9d388f7a89 | ||
|
|
918062de2f | ||
|
|
375738d99c | ||
|
|
1c37ec3902 | ||
|
|
7eb804daf9 | ||
|
|
d99a67ca95 | ||
|
|
3d5ed93fce | ||
|
|
b80006be45 | ||
|
|
70edb0ba38 | ||
|
|
a1fe17d05d | ||
|
|
9991fdb8c8 | ||
|
|
7083225abd | ||
|
|
af6479bf34 | ||
|
|
44c12325b4 | ||
|
|
f2bf2399fa | ||
|
|
7fe2fece6c | ||
|
|
bf0fe090ab | ||
|
|
397dba4a30 | ||
|
|
593d6a596a | ||
|
|
82a6db8b4f | ||
|
|
28aa3dd17b | ||
|
|
3d4d807370 | ||
|
|
c18cc23c71 | ||
|
|
7ee374ea1a | ||
|
|
15c9ce56c2 | ||
|
|
0306d01af9 | ||
|
|
02676bb421 | ||
|
|
20bbda95c6 | ||
|
|
67fecf6c2c | ||
|
|
20d251fd5d | ||
|
|
982b3f0582 | ||
|
|
200aa2e1c2 | ||
|
|
734e905c18 | ||
|
|
5ce223e5f4 | ||
|
|
6a17d3db98 | ||
|
|
f27c5ca6f0 | ||
|
|
ac355b58d4 | ||
|
|
e1a5547fea | ||
|
|
911285db27 | ||
|
|
dd8c1d7a9e | ||
|
|
4913441017 | ||
|
|
16b7edbc97 | ||
|
|
3816431893 | ||
|
|
5bfde9da91 | ||
|
|
52acfcb0e3 | ||
|
|
8813bc7695 | ||
|
|
1dfe2b8929 | ||
|
|
b8f62f6d52 | ||
|
|
3ca632bcbd | ||
|
|
a4032c49e9 | ||
|
|
7f89d404f8 | ||
|
|
c880a61f13 | ||
|
|
afb158fb50 | ||
|
|
78edac684e | ||
|
|
46f4bc2a07 | ||
|
|
c3401be7c4 | ||
|
|
af8e283203 | ||
|
|
65d72b01f0 | ||
|
|
2bbe4286f6 | ||
|
|
d41dd8cc4a | ||
|
|
de9f9c16b2 | ||
|
|
e2cc1dcf17 | ||
|
|
f361a44cca | ||
|
|
47c37e0153 | ||
|
|
b8eeea9ea1 | ||
|
|
eecdd0e118 | ||
|
|
f749732a0a | ||
|
|
78e2b518cf | ||
|
|
66fa70e275 | ||
|
|
6b31173ed0 | ||
|
|
196a4574cb | ||
|
|
313f42ef55 | ||
|
|
91362587f0 | ||
|
|
e1485b3600 | ||
|
|
9119087f71 | ||
|
|
321c666dba | ||
|
|
5df3b35189 | ||
|
|
1e4a68f76e | ||
|
|
b3832e21c9 | ||
|
|
18489faceb | ||
|
|
f0e9b75a73 | ||
|
|
69d328d15e | ||
|
|
738e8ab9b6 | ||
|
|
e7349fea9a | ||
|
|
51a6790f26 | ||
|
|
515f20372e | ||
|
|
12fbe8368f | ||
|
|
55b4dfb309 | ||
|
|
fb7bb76674 | ||
|
|
e46b942259 | ||
|
|
e4affd4bf9 | ||
|
|
16398d3438 | ||
|
|
e8503232ba | ||
|
|
bf48fdf189 | ||
|
|
834f4c2700 | ||
|
|
e297eb9090 | ||
|
|
1ce678505b | ||
|
|
4938602ee0 | ||
|
|
1f394bef72 | ||
|
|
1cdd5b96b3 | ||
|
|
4dd3f131b0 | ||
|
|
2d14ab1217 | ||
|
|
8bdbd0dd41 | ||
|
|
800be4c9a0 | ||
|
|
b99ec060ca | ||
|
|
d5f4c030b4 | ||
|
|
4de92e3924 | ||
|
|
3b70560e25 | ||
|
|
d88c89fb05 | ||
|
|
24d6d8e5f9 | ||
|
|
9a9b28113a | ||
|
|
ec84ffbee2 | ||
|
|
3c1dfb88df | ||
|
|
4a6b79b231 | ||
|
|
9e2ed56ef0 | ||
|
|
9e324be057 | ||
|
|
b7f47c9bb1 | ||
|
|
20e385b358 | ||
|
|
3d3f5e3302 | ||
|
|
a4c4fc7060 | ||
|
|
268c66b907 | ||
|
|
af23614ad6 | ||
|
|
8a997c82be | ||
|
|
3dcd8a24cb | ||
|
|
db09f4839f | ||
|
|
203ce2c2f9 | ||
|
|
42e42175db | ||
|
|
6f84c0a869 | ||
|
|
a4f2c5abd4 | ||
|
|
6b06fe4481 | ||
|
|
1fc856faf5 | ||
|
|
6e45fd67ce | ||
|
|
39415d4eed | ||
|
|
e2b9e227a0 | ||
|
|
4f0bc2306f | ||
|
|
7ad4c26829 | ||
|
|
c71e079fae | ||
|
|
b90785fa8c | ||
|
|
472bf4401e | ||
|
|
77f7054832 | ||
|
|
4567e6fb0b | ||
|
|
3a0658f0dd | ||
|
|
801b20ae75 | ||
|
|
f564402565 | ||
|
|
0156812af3 | ||
|
|
cf54b336d1 | ||
|
|
096303a93d | ||
|
|
e1c6d9dd7d | ||
|
|
ed80d398ea | ||
|
|
b4ce6ff4b0 | ||
|
|
ec91757257 | ||
|
|
b99f6b16af | ||
|
|
9dfb84656d | ||
|
|
629e63e123 | ||
|
|
b4131800c9 | ||
|
|
aee95eb041 | ||
|
|
0461c2109b | ||
|
|
9e9aa6485c | ||
|
|
0651936856 | ||
|
|
1b4b5707bf | ||
|
|
89d56a0886 | ||
|
|
1482fded9a | ||
|
|
6620a4f682 | ||
|
|
df934dfeff | ||
|
|
485991bd48 | ||
|
|
1d4d30ce8f | ||
|
|
6c00c2a113 | ||
|
|
57b5f17bf4 | ||
|
|
bb3080aef7 | ||
|
|
f4a2dff892 | ||
|
|
fa7f234b48 | ||
|
|
6f05fe80ae | ||
|
|
a703e0582d | ||
|
|
ab432a43dc | ||
|
|
839e3f9dae | ||
|
|
9c6af860d4 | ||
|
|
845b0b3709 | ||
|
|
85596bbba6 | ||
|
|
9ea2777555 | ||
|
|
c7eb929176 | ||
|
|
42baf2e27e | ||
|
|
dade960615 | ||
|
|
80de7a720f | ||
|
|
175642c07b | ||
|
|
29405bbc0e | ||
|
|
60f295ba9f | ||
|
|
2b1a33efba | ||
|
|
f5191dc7c8 | ||
|
|
e597b4c66b | ||
|
|
50cf34ac2e | ||
|
|
b3a7c16f8e | ||
|
|
647cac3612 | ||
|
|
5a7e8a980b | ||
|
|
45f70114e6 | ||
|
|
f442552858 | ||
|
|
483e8934c9 | ||
|
|
dc9898e355 | ||
|
|
2b71144015 | ||
|
|
9b17b5c08c | ||
|
|
647db5122e | ||
|
|
ad98b29398 | ||
|
|
ba1a8284ac | ||
|
|
26dbebb380 | ||
|
|
f14e187545 | ||
|
|
8fc4f7f806 | ||
|
|
24aa475640 | ||
|
|
0bfc589d47 | ||
|
|
97f3178005 | ||
|
|
73f418bb5c | ||
|
|
7e5eeef122 | ||
|
|
6e340f008f | ||
|
|
1d3a9aee28 | ||
|
|
875d8dc27b | ||
|
|
aee86c6136 | ||
|
|
c9795133b3 | ||
|
|
561c43c564 | ||
|
|
f5535f613a | ||
|
|
01d092b219 | ||
|
|
a8d432f7b3 | ||
|
|
36a8dc49b3 | ||
|
|
2e9a4c7d71 | ||
|
|
966c3c6471 | ||
|
|
c75054f562 | ||
|
|
fd0629e932 | ||
|
|
bddb65a7a1 | ||
|
|
8e23a24f34 | ||
|
|
82f0beffce | ||
|
|
f225ad349d | ||
|
|
7e69fcbc7d | ||
|
|
cbf43fa0d8 | ||
|
|
bac2a0a0bf | ||
|
|
08924a1934 | ||
|
|
cfca6d67f1 | ||
|
|
a9b83c8798 | ||
|
|
e08e681eda | ||
|
|
0d26923d30 | ||
|
|
869215e65b | ||
|
|
064c141be1 | ||
|
|
1fe7ea936c | ||
|
|
52d24d96db | ||
|
|
1a2a576aa8 | ||
|
|
d1a04965f3 | ||
|
|
96a9b75558 | ||
|
|
2ba6bf69c1 | ||
|
|
d03bda9e87 | ||
|
|
08b3e8f18f | ||
|
|
274f19c269 | ||
|
|
41d80a959c | ||
|
|
80da94c3e0 | ||
|
|
27a3b8ca6d | ||
|
|
7e44fa1010 | ||
|
|
1b10111ba9 | ||
|
|
2b01b9b41f | ||
|
|
422b63a9f6 | ||
|
|
fbc216e667 | ||
|
|
f0cc05ab91 | ||
|
|
65a53c7d76 | ||
|
|
12c85d7707 | ||
|
|
4a31090388 | ||
|
|
6d76091fa1 | ||
|
|
3d8d043ab1 | ||
|
|
a7780b10d9 | ||
|
|
b931072eed | ||
|
|
dfabfc5227 | ||
|
|
8b69625b57 | ||
|
|
d4d05ae3f3 | ||
|
|
e15e00b5f1 | ||
|
|
31efa57975 | ||
|
|
f05462efd3 | ||
|
|
92fa206fa4 | ||
|
|
b749f89c30 | ||
|
|
40487347e3 | ||
|
|
56c16d5c16 | ||
|
|
0e5cff1923 | ||
|
|
99b9afc81c | ||
|
|
4072e7ee06 | ||
|
|
85221e6109 | ||
|
|
7e7b0589ef | ||
|
|
c1e4515562 | ||
|
|
c9fda13e61 | ||
|
|
2db80d2af8 | ||
|
|
76077c539d | ||
|
|
a5c8ea4e2e | ||
|
|
fa8a6b769b | ||
|
|
8422d0dfda | ||
|
|
fc24485455 | ||
|
|
407bc35a31 | ||
|
|
26b13a81c3 | ||
|
|
d65e856ada | ||
|
|
c0150ae846 | ||
|
|
cc4dc59aa9 | ||
|
|
dca90c4aa9 | ||
|
|
500fb1c5c4 | ||
|
|
6fab8bfbef | ||
|
|
b159e148db | ||
|
|
7cfb2f7f02 | ||
|
|
ee58471aed | ||
|
|
48aa27ce70 | ||
|
|
13318ff360 | ||
|
|
964cbe1899 | ||
|
|
d15c48429b | ||
|
|
3b1b8ddc30 | ||
|
|
6e57040aaf | ||
|
|
756981172f | ||
|
|
6898d6151b | ||
|
|
a9b2f7f3f3 | ||
|
|
e81ba84ca7 | ||
|
|
e2814b5404 | ||
|
|
ec60147aff | ||
|
|
eaa4858580 | ||
|
|
652bd4ab23 | ||
|
|
2f00aef66c | ||
|
|
e2662336b1 | ||
|
|
d7b669d404 | ||
|
|
760dee370f | ||
|
|
f710b8c4f3 | ||
|
|
4e773c7152 | ||
|
|
160ab54b85 | ||
|
|
7841f2a86b | ||
|
|
ee9cd24e10 | ||
|
|
eb4f9572b8 | ||
|
|
a59b14bd8c | ||
|
|
86890a2de4 | ||
|
|
03c8445a6d | ||
|
|
c5854afb37 | ||
|
|
0ecd9ff0cb | ||
|
|
7397d63073 | ||
|
|
4656381205 | ||
|
|
c286e757b3 | ||
|
|
3ca3f533d0 | ||
|
|
c38470c7b2 | ||
|
|
6dffeeb06f | ||
|
|
c8ecc168e2 | ||
|
|
ff33453736 | ||
|
|
a657c584fc | ||
|
|
414679d86a | ||
|
|
ac4e5985d9 | ||
|
|
99fea79710 | ||
|
|
417e83cf71 | ||
|
|
1a05fe448c | ||
|
|
28846547af | ||
|
|
7fd4b22180 | ||
|
|
5681a2793d | ||
|
|
3f538cb818 | ||
|
|
9dc11b2b83 | ||
|
|
bef02062e7 | ||
|
|
9a393fa974 | ||
|
|
72d1099085 | ||
|
|
5591eeafca | ||
|
|
238db1750c | ||
|
|
0a6349e323 | ||
|
|
dbb3c50222 | ||
|
|
c97cbeb6fd | ||
|
|
43fb317812 | ||
|
|
89fca20a44 | ||
|
|
8327b5aae5 | ||
|
|
8451233f95 | ||
|
|
39438b8460 | ||
|
|
d887b6bdc5 | ||
|
|
671077669e | ||
|
|
a0efa25616 | ||
|
|
bf142ff746 | ||
|
|
c8b00206d9 | ||
|
|
3db98e14dd | ||
|
|
0e4eb906f2 | ||
|
|
d54d511133 | ||
|
|
586cd4d6af | ||
|
|
1e6295a788 | ||
|
|
42af22c2a1 | ||
|
|
e76f7c88a5 | ||
|
|
f8af99b058 | ||
|
|
3adf44a241 | ||
|
|
d07bb932ca | ||
|
|
609b871fa2 | ||
|
|
b4610a3fae | ||
|
|
ea22da4fc7 | ||
|
|
67df834f31 | ||
|
|
7c7b546812 | ||
|
|
20e5dfbb4a | ||
|
|
d7c9d9f55b | ||
|
|
5e42a835a1 | ||
|
|
7df50f9bf9 | ||
|
|
c5de01bfc4 | ||
|
|
2deed8b146 | ||
|
|
3e4271474a | ||
|
|
0152c91869 | ||
|
|
0962cd6fcb | ||
|
|
baa6258bba | ||
|
|
ef4e6d32a9 | ||
|
|
df3a83634f | ||
|
|
c67a68f9d8 | ||
|
|
5b3d0fc0fe | ||
|
|
8591d97fa5 | ||
|
|
d4f3bbd91c | ||
|
|
dd5ed218a5 | ||
|
|
d720509849 | ||
|
|
5549926d2c | ||
|
|
50dd65ef92 | ||
|
|
ae44727fb9 | ||
|
|
07c3f757e6 | ||
|
|
65b0ad7f08 | ||
|
|
433a52232b | ||
|
|
0ba508a87e | ||
|
|
e835cbe0b1 | ||
|
|
ed8abd94e6 | ||
|
|
6bf7d82047 | ||
|
|
01d07bcb9a | ||
|
|
1fb1eaab50 | ||
|
|
a7ecadaa52 | ||
|
|
c7c34188e1 | ||
|
|
5afabee1f2 | ||
|
|
c62707cd51 | ||
|
|
1e093e1eee | ||
|
|
e4ee0f89eb | ||
|
|
b00517ec20 | ||
|
|
a2024b4f64 | ||
|
|
0463982b5b | ||
|
|
4efc2cf71c | ||
|
|
cd0e172708 | ||
|
|
71c49bc5f2 | ||
|
|
f1840a5f6c | ||
|
|
b80d263e7f | ||
|
|
8f30c3bfef | ||
|
|
7220ff7a8a | ||
|
|
e910d8938f | ||
|
|
be1da8507a | ||
|
|
13add5885d | ||
|
|
aaab8b036c | ||
|
|
fd4319de06 | ||
|
|
e5d9335596 | ||
|
|
d70d33fb27 | ||
|
|
932116e953 | ||
|
|
5c3cfa4c93 | ||
|
|
2e6af97506 | ||
|
|
e2c5d93751 | ||
|
|
2a8f564500 | ||
|
|
a09570c78d | ||
|
|
546e6e56f1 | ||
|
|
f478fee9ea | ||
|
|
961787d681 | ||
|
|
ec6453bb5f | ||
|
|
9e091af67e | ||
|
|
4119eec796 | ||
|
|
14e5d0977f | ||
|
|
de48f4417a | ||
|
|
b5fd917dda | ||
|
|
4fbddeeb46 | ||
|
|
3a71afbd37 | ||
|
|
fdc6aeb47a | ||
|
|
c54da719a1 | ||
|
|
ba79fd42db | ||
|
|
ffe8e17ac0 | ||
|
|
da7c0c984c | ||
|
|
b59bb0bbc2 | ||
|
|
066b593d8f | ||
|
|
23f4555ff6 | ||
|
|
05288ee08c | ||
|
|
7bd60b5a3d | ||
|
|
0e093bf15e | ||
|
|
210488ba4e | ||
|
|
189bc21e48 | ||
|
|
30ec146298 | ||
|
|
2e946a0aac | ||
|
|
8764a11b1d | ||
|
|
5eea398e43 | ||
|
|
35f35e6f42 | ||
|
|
5eb03b675e | ||
|
|
140a3aa9ea | ||
|
|
a47977084f | ||
|
|
bddaefdae7 | ||
|
|
242584fd49 | ||
|
|
35bf092813 | ||
|
|
17b7ee29ac | ||
|
|
e337c62ba1 | ||
|
|
52edb5b77f | ||
|
|
01ae76ec29 | ||
|
|
2ccaa823e4 | ||
|
|
c2c2bb7f2d | ||
|
|
8f0d85fe13 | ||
|
|
7ce4f546a3 | ||
|
|
db29b07b82 | ||
|
|
9765fdb0ae | ||
|
|
3207202808 | ||
|
|
3e40944e19 | ||
|
|
97388738de | ||
|
|
a16b99b0c8 | ||
|
|
2f47e39a9f | ||
|
|
245e12e8b6 | ||
|
|
f57223024a | ||
|
|
24a4bc6f19 | ||
|
|
0acb49422d | ||
|
|
e761eea4e6 | ||
|
|
d7015b5d5e | ||
|
|
1f959f357c | ||
|
|
740d6b15e5 | ||
|
|
40f93e9d64 | ||
|
|
da5684df27 | ||
|
|
f8f7a0893a | ||
|
|
1920a937b2 | ||
|
|
8f389a5630 | ||
|
|
b31f43f838 | ||
|
|
1ed5fd551e | ||
|
|
ce15725552 | ||
|
|
37f5fc3895 | ||
|
|
1d25c7fca7 | ||
|
|
925a33e560 | ||
|
|
158920e57b | ||
|
|
68580869ff | ||
|
|
6a33abbec2 | ||
|
|
ecabf130fd | ||
|
|
be2fdd1488 | ||
|
|
e4d03490a3 | ||
|
|
80c81ecfc6 | ||
|
|
f0fd859347 | ||
|
|
74f7101524 | ||
|
|
7e2b259816 | ||
|
|
0b13eda1e5 | ||
|
|
c77bf3aa42 | ||
|
|
86480b7482 | ||
|
|
f234f68019 | ||
|
|
fa671378c7 | ||
|
|
615e3695f2 | ||
|
|
2faade7a03 | ||
|
|
89682cf034 | ||
|
|
82c69a17b9 | ||
|
|
f0f4dc12e5 | ||
|
|
727fbeceb4 | ||
|
|
5127826de0 | ||
|
|
ded891e390 | ||
|
|
34f416aace | ||
|
|
a589877698 | ||
|
|
2176ce0cf7 | ||
|
|
72537106a3 | ||
|
|
974fdd0bfd | ||
|
|
f56bbe814e | ||
|
|
4a445f03e8 | ||
|
|
ec82b923f3 | ||
|
|
3d5be91f6c | ||
|
|
bc753951a0 | ||
|
|
d6d76d4088 | ||
|
|
2a7459baf2 | ||
|
|
b13615f2bf | ||
|
|
c3f743af03 | ||
|
|
f246252a42 | ||
|
|
8df767e9a2 | ||
|
|
8ef1cc5373 | ||
|
|
70b58e2826 | ||
|
|
43a25195b7 | ||
|
|
e01173dd51 | ||
|
|
77a208fff7 | ||
|
|
cef06e3c79 | ||
|
|
a0fb48c9a3 | ||
|
|
6b150e01d3 | ||
|
|
820b6ad4c7 | ||
|
|
bb18e8250c | ||
|
|
b99eb8ba73 | ||
|
|
f258c5904e | ||
|
|
a3171c73d0 | ||
|
|
57cab22387 | ||
|
|
7050b5285e | ||
|
|
38ee73ba2e | ||
|
|
6d31aa8d86 | ||
|
|
96421b3d59 | ||
|
|
0245747020 | ||
|
|
4affdc3a93 | ||
|
|
ccbe9f5137 | ||
|
|
23f7efe7d1 | ||
|
|
051b7d45be | ||
|
|
3540a188a4 | ||
|
|
da6e1df293 | ||
|
|
01429b6570 | ||
|
|
cdd55a1c6b | ||
|
|
40ca3dae61 | ||
|
|
07c8ac08e2 | ||
|
|
5d43262f42 | ||
|
|
bd373598b5 | ||
|
|
26aaef8851 | ||
|
|
6fd5ac2c08 | ||
|
|
763f32e22f | ||
|
|
21a810c38c | ||
|
|
27fabf79bd | ||
|
|
91fae55d90 | ||
|
|
d9e1b5ede3 | ||
|
|
99a3386dd6 | ||
|
|
c49c9b0328 | ||
|
|
d151003eb6 | ||
|
|
3436e6173f | ||
|
|
b2fe27dda5 | ||
|
|
31e0cbdce7 | ||
|
|
fc02b933bb | ||
|
|
ed5a5ebe7e | ||
|
|
2ca76ba8ce | ||
|
|
6dd1b0e033 | ||
|
|
5a965d2263 | ||
|
|
3ab9d9e740 | ||
|
|
438b6b3e51 | ||
|
|
40899c211b | ||
|
|
b2c5b7e575 | ||
|
|
291c193ad4 | ||
|
|
7c6424ff35 | ||
|
|
a7525e2931 | ||
|
|
e7b1adf4ed | ||
|
|
f67286be7b | ||
|
|
e3e41c3621 | ||
|
|
72fc413764 | ||
|
|
463c4e60de | ||
|
|
e06df905c5 | ||
|
|
8987ce1f69 | ||
|
|
7337169342 | ||
|
|
bee18a5e99 | ||
|
|
abf61d0734 | ||
|
|
20d4e72a95 | ||
|
|
056f078615 | ||
|
|
94c2b8d80b | ||
|
|
0eceb8d76c | ||
|
|
37b21b0762 | ||
|
|
40b33d9f5e | ||
|
|
7303312142 | ||
|
|
57c0346a00 | ||
|
|
6b14984352 | ||
|
|
4c85747849 | ||
|
|
a870cc7036 | ||
|
|
b4c15ed3f3 | ||
|
|
a0b38f6832 | ||
|
|
ac53bac2f4 | ||
|
|
fbbe590ea2 | ||
|
|
6ed11a5563 | ||
|
|
d3f88a1bd9 | ||
|
|
06861261fe | ||
|
|
83f41df82f | ||
|
|
5b36bd7b43 | ||
|
|
d443ea582c | ||
|
|
881952e1cc | ||
|
|
9d7feb9796 | ||
|
|
bc6c892e0a | ||
|
|
48315b0e67 | ||
|
|
c35009f14c | ||
|
|
935a483eaa | ||
|
|
badbdca351 | ||
|
|
c02e8f14c7 | ||
|
|
92cb30e921 | ||
|
|
edb723a4fb | ||
|
|
dbac0724ad | ||
|
|
328585edbd | ||
|
|
914cca6b92 | ||
|
|
e3b05f9076 | ||
|
|
86e88d998f | ||
|
|
6d50afd864 | ||
|
|
4527dda08c | ||
|
|
cc4d1fd045 | ||
|
|
3b99deda45 | ||
|
|
900f05eefd | ||
|
|
716c05f5d8 | ||
|
|
b22c8963cb | ||
|
|
eb05b47c54 | ||
|
|
ca91f47d32 | ||
|
|
6b436d38e1 | ||
|
|
5040ee629f | ||
|
|
5be09ffc78 | ||
|
|
4c87123514 | ||
|
|
f57f81a3cb | ||
|
|
423ca01ab1 | ||
|
|
9eedce7345 | ||
|
|
a2df67eccd | ||
|
|
3908c012f9 | ||
|
|
ecda271258 | ||
|
|
84f6a9d659 | ||
|
|
7d49302ffa | ||
|
|
f3455aafe9 | ||
|
|
fcd9c28871 | ||
|
|
a6fc1fdc58 | ||
|
|
630fa68714 | ||
|
|
ef4f284fb0 | ||
|
|
5a63f11ed7 | ||
|
|
6807637e25 | ||
|
|
d88ce2d342 | ||
|
|
b257e01c8d | ||
|
|
c132f2ff10 | ||
|
|
d0259ceecd | ||
|
|
fd4fbe8c8b | ||
|
|
ae93006446 | ||
|
|
fc722573bf | ||
|
|
4432031341 | ||
|
|
932628bc14 | ||
|
|
27117292f3 | ||
|
|
3715e011c9 | ||
|
|
2eb81546c3 | ||
|
|
bbdeebd1d4 | ||
|
|
5056e18734 | ||
|
|
e3229c55f3 | ||
|
|
78c3ab6c44 | ||
|
|
ffab6c46c1 | ||
|
|
8d6372ee4b | ||
|
|
ad2b47e725 | ||
|
|
bba1f1ff62 | ||
|
|
0a5a6071f0 | ||
|
|
1c69441f17 | ||
|
|
a20110974d | ||
|
|
d5d774877e | ||
|
|
470d4345f9 | ||
|
|
ad097820bf | ||
|
|
fda9356749 | ||
|
|
60ff7afee0 | ||
|
|
f42205307e | ||
|
|
d498e37083 | ||
|
|
f06808ac80 | ||
|
|
08b8f3b40a | ||
|
|
2e64fcf92e | ||
|
|
b4334b2339 | ||
|
|
15970550f7 | ||
|
|
08db431c0c | ||
|
|
e0020bfc16 | ||
|
|
23e81971eb | ||
|
|
004ac8dd8f | ||
|
|
73bd69870c | ||
|
|
6f3edf9fbb | ||
|
|
85c6c303d5 | ||
|
|
aa769500c9 | ||
|
|
65bf13d7c1 | ||
|
|
dece5e68f3 | ||
|
|
9247d2986a | ||
|
|
8661115283 | ||
|
|
df36a6e7e6 | ||
|
|
dbbff4cfa4 | ||
|
|
3c65f63fef | ||
|
|
c9cbd1cfd5 | ||
|
|
8a890fdc15 | ||
|
|
42ca800c88 | ||
|
|
39a8e2c20f | ||
|
|
3fdf23a1a0 | ||
|
|
e39ece4823 | ||
|
|
8aa9347a84 | ||
|
|
901ad498b4 | ||
|
|
c676631661 | ||
|
|
0171550528 | ||
|
|
7fc8f6dd3c | ||
|
|
02e7fe3f1f | ||
|
|
2b8f925e81 | ||
|
|
b72ba7fe86 | ||
|
|
3dd777343b | ||
|
|
7e8df100bb | ||
|
|
d12bb5043a | ||
|
|
03c0435e3b | ||
|
|
fc844270d9 | ||
|
|
048103ccf2 | ||
|
|
0334e9bc21 | ||
|
|
c7558d8652 | ||
|
|
4a0bb7bf74 | ||
|
|
fe1dc0b191 | ||
|
|
d0aaf4a412 | ||
|
|
4b70a1225f | ||
|
|
29529b2c56 | ||
|
|
bc2a6e1575 | ||
|
|
114dc1b3fb | ||
|
|
dc96b90cba | ||
|
|
af5f931340 | ||
|
|
b3e41ae76d | ||
|
|
3cc921acc9 | ||
|
|
f1f7592eb2 | ||
|
|
3816589e8b | ||
|
|
ba70b8065e | ||
|
|
9b88a47a47 | ||
|
|
9a747bc1eb | ||
|
|
3ffa480399 | ||
|
|
64ad6a30a5 | ||
|
|
c878400876 | ||
|
|
39f3619d03 | ||
|
|
fdd25ddb1a | ||
|
|
8675481343 | ||
|
|
f82723ef33 | ||
|
|
897f7be0f7 | ||
|
|
80f6c7ebe1 | ||
|
|
9da4151642 | ||
|
|
41e7febf6a | ||
|
|
96629f1f01 | ||
|
|
b89cbe5715 | ||
|
|
32a69f8f36 | ||
|
|
b398a92db4 | ||
|
|
3c58e51d17 | ||
|
|
d42d8f76ef | ||
|
|
34630757b9 | ||
|
|
c187da00b1 | ||
|
|
1d8b0e9724 | ||
|
|
f80646c598 | ||
|
|
30f17509ea | ||
|
|
7504155e17 | ||
|
|
468408ff41 | ||
|
|
05eb3194cf | ||
|
|
b0dc125604 | ||
|
|
b21316b6cc | ||
|
|
cb422bb4c6 | ||
|
|
20a1ed7da8 | ||
|
|
8534eeea85 | ||
|
|
1d4f604270 | ||
|
|
a5ea0ff619 | ||
|
|
3cf01964de | ||
|
|
2243070ac7 | ||
|
|
9661c6d40a | ||
|
|
3ed8b010e9 | ||
|
|
f61643ac32 | ||
|
|
d0982bf332 | ||
|
|
4a44d20d90 | ||
|
|
69ba06f5fc | ||
|
|
c51ffedb6f | ||
|
|
8a022e3c55 | ||
|
|
dea54a4ccc | ||
|
|
9c8935fd51 | ||
|
|
907f8fd94d | ||
|
|
6e2f43394d | ||
|
|
bb7e069b2b | ||
|
|
725a1d35ef | ||
|
|
65db8d9fc2 | ||
|
|
4cc0ea1d81 | ||
|
|
01a191a139 | ||
|
|
2a2a2e3a2f | ||
|
|
2fbfb5d305 | ||
|
|
4b51e9d9a1 | ||
|
|
02c7ef11be | ||
|
|
387bfea008 | ||
|
|
8af39472e1 | ||
|
|
a105a486e8 | ||
|
|
33983deb37 | ||
|
|
12cba62930 | ||
|
|
eeecbbedb6 | ||
|
|
be69b5892a | ||
|
|
cb6fbd7160 | ||
|
|
e6575600cb | ||
|
|
a002b7105f | ||
|
|
deef5202c1 | ||
|
|
dbc4115644 | ||
|
|
d672e704bf | ||
|
|
dc1ecdfc53 | ||
|
|
aa81e04861 | ||
|
|
5a7e5b921d | ||
|
|
c649362b95 | ||
|
|
f6fc0972e0 | ||
|
|
a1b3414dd0 | ||
|
|
a2fa30fad2 | ||
|
|
2e42a34bc4 | ||
|
|
9c4ff004a8 | ||
|
|
8f90caeb10 | ||
|
|
6bd16a5cc7 | ||
|
|
1344f3da3f | ||
|
|
fe0098ccd9 | ||
|
|
e0933f612a | ||
|
|
29a1108518 | ||
|
|
4544711f0e | ||
|
|
dac60a024b | ||
|
|
2ff0434656 | ||
|
|
19880cfeb8 | ||
|
|
bb63b4aad1 | ||
|
|
ebfb72c8fa | ||
|
|
fedeaeafc9 | ||
|
|
d43390f2a4 | ||
|
|
ea358a66e8 | ||
|
|
4d1249dd03 | ||
|
|
998122b071 | ||
|
|
cbac8887dd | ||
|
|
bd0b1df560 | ||
|
|
266ccb3744 | ||
|
|
d418599038 | ||
|
|
603a11c4d5 | ||
|
|
51419feb46 | ||
|
|
f3cd3ae826 | ||
|
|
dcd8052498 | ||
|
|
7e52de7daf | ||
|
|
d2e3cba22a | ||
|
|
fe54837e73 | ||
|
|
a7ea32acd6 | ||
|
|
f04ac74ecb | ||
|
|
b5642492f6 | ||
|
|
3c7b93ba43 | ||
|
|
f95b851c9b | ||
|
|
7b43c997bd | ||
|
|
6b255315e0 | ||
|
|
91141ad62f | ||
|
|
538851325d | ||
|
|
007591272f | ||
|
|
6a12ffc5fd | ||
|
|
fa4d043e74 | ||
|
|
08b4c25c70 | ||
|
|
4d3d18132b | ||
|
|
84e31aed14 | ||
|
|
55344a3644 | ||
|
|
acfcd20bfa | ||
|
|
b5d272fdbe | ||
|
|
99d9e193ce | ||
|
|
4359178f7a | ||
|
|
929b21d68b | ||
|
|
c81c638958 | ||
|
|
5bea9ae126 | ||
|
|
ea80fd68b1 | ||
|
|
e99359ef0d | ||
|
|
19a224cdac | ||
|
|
d6bc6f9f0e | ||
|
|
59e66c4c91 | ||
|
|
4933b34f6b | ||
|
|
470866ae37 | ||
|
|
95c165018e | ||
|
|
880dabdcad | ||
|
|
c2e6aae545 | ||
|
|
3af2554eac | ||
|
|
045479b5ec | ||
|
|
67c1e280eb | ||
|
|
fb60bc79a1 | ||
|
|
dd40ab07fa | ||
|
|
530eb8bc70 | ||
|
|
9ada08fafc | ||
|
|
b187c9ea65 | ||
|
|
c6ccc3477f | ||
|
|
ee080f0d8b | ||
|
|
db59da5950 | ||
|
|
39d23d65e5 | ||
|
|
deec08b566 | ||
|
|
a2e57b09f2 | ||
|
|
fe7e2d54d2 | ||
|
|
14106a36ad | ||
|
|
a5fcdf03ba | ||
|
|
1c6f32f288 | ||
|
|
46c1a36fdb | ||
|
|
f9319bd055 | ||
|
|
98c3315462 | ||
|
|
2d67448d8a | ||
|
|
1612bc8d3a | ||
|
|
c8f1bd19e2 | ||
|
|
99466fa41e | ||
|
|
9aebeaf579 | ||
|
|
e791c5b7b3 | ||
|
|
e565fa6f1c | ||
|
|
670ccf2f58 | ||
|
|
cae24db0e1 | ||
|
|
8cfc039cd0 | ||
|
|
382089b484 | ||
|
|
6f188b1fa6 | ||
|
|
6caa696c37 | ||
|
|
2643e1a100 | ||
|
|
a85bf9e836 | ||
|
|
f9906e1cdc | ||
|
|
49ed6279c9 | ||
|
|
5f8cad8389 | ||
|
|
f17c6e4010 | ||
|
|
7b7071955e | ||
|
|
74430ea151 | ||
|
|
d23f7f980d | ||
|
|
0eddbb0ea8 | ||
|
|
9c95c75030 | ||
|
|
519c021525 | ||
|
|
fa49811377 | ||
|
|
f25e9aca61 | ||
|
|
ddf25fbb65 | ||
|
|
21dc861461 | ||
|
|
280f809421 | ||
|
|
035f6c63bb | ||
|
|
16ca22b4cc | ||
|
|
5f2073ae68 | ||
|
|
99704707dd | ||
|
|
3678cecb69 | ||
|
|
5a52d4d4bb | ||
|
|
7c2955ba70 | ||
|
|
4359a70a8b | ||
|
|
75a5b04705 | ||
|
|
4b1979540d | ||
|
|
20d7a01919 | ||
|
|
7db23f8ebb | ||
|
|
353042467f | ||
|
|
b86c3daa99 | ||
|
|
b383eb65c6 | ||
|
|
21b2bd4b67 | ||
|
|
4ee4fae53b | ||
|
|
2459c12f84 | ||
|
|
e3f249b0de | ||
|
|
9ee2f9c0dc | ||
|
|
204b755201 | ||
|
|
27df7a4afc | ||
|
|
fc5e5645f2 | ||
|
|
20f1e6cb04 | ||
|
|
f2e3c1b1a8 | ||
|
|
224f175c7f | ||
|
|
776b9c9c30 | ||
|
|
414bc01b05 | ||
|
|
a78fc974b8 | ||
|
|
5f56994b02 | ||
|
|
282775c69a | ||
|
|
523fd7b050 | ||
|
|
c02c5a3f84 | ||
|
|
c977a7b4c5 | ||
|
|
0094837635 | ||
|
|
e58b152d40 | ||
|
|
01b0bf1bb3 | ||
|
|
8f720c000d | ||
|
|
4d5db0520c | ||
|
|
afc9454465 | ||
|
|
cd02b1cef4 | ||
|
|
1008eada65 | ||
|
|
ddf5df290c | ||
|
|
000dee85bd | ||
|
|
91d37fb41d | ||
|
|
31c41c22ec | ||
|
|
dff72fbf2f | ||
|
|
988d0a4b08 | ||
|
|
cca71a5793 | ||
|
|
ecd277da7d | ||
|
|
81ee84b38b | ||
|
|
fee60bd4d2 | ||
|
|
9a7c0e3dbd | ||
|
|
27cebccd4a | ||
|
|
23c45f137a | ||
|
|
a413859902 | ||
|
|
bfb3d12290 | ||
|
|
785609b66e | ||
|
|
8ea4407f04 | ||
|
|
3c9d71df6f | ||
|
|
c8f99da853 | ||
|
|
23e1fc3f73 | ||
|
|
eb6fe42259 | ||
|
|
3b0f3eca2c | ||
|
|
dce581acd7 | ||
|
|
79c2f1ea5e | ||
|
|
471727b769 | ||
|
|
ff7400f2b1 | ||
|
|
4c58e3e10d | ||
|
|
d4742a6233 | ||
|
|
51b46d44b0 | ||
|
|
5b42a9c76e | ||
|
|
d24b3f72ce | ||
|
|
6edf947c26 | ||
|
|
c4a66c2cd9 | ||
|
|
d47e2c5786 | ||
|
|
50b99370d2 | ||
|
|
c4a5f2aea2 | ||
|
|
5f9a5c859e | ||
|
|
c71ba2b079 | ||
|
|
8117425de8 | ||
|
|
39000bdcb2 | ||
|
|
ab9bf1a4c6 | ||
|
|
f5fdec6bf8 | ||
|
|
e76dc76684 | ||
|
|
1aa59a3918 | ||
|
|
5e1ddb552e | ||
|
|
521b49afbf | ||
|
|
b6a9fe4bcf | ||
|
|
3dfd8314f1 | ||
|
|
3e8ad0ab60 | ||
|
|
339f7503a4 | ||
|
|
36aae5c37f | ||
|
|
65c81c7c2a | ||
|
|
39b30da10f | ||
|
|
3c42e6e6af | ||
|
|
71a15b5e6d | ||
|
|
1adca7b09d | ||
|
|
2f18647f87 | ||
|
|
f35cfae566 | ||
|
|
cd9c02094a | ||
|
|
4d04a40b84 | ||
|
|
30b9bd0f9c | ||
|
|
2d1d1b4f32 | ||
|
|
f060d2d8a4 | ||
|
|
b33bca32b9 | ||
|
|
f0f698fa73 | ||
|
|
93ed664920 | ||
|
|
3afefbe592 | ||
|
|
33e0136201 | ||
|
|
1e59d8d730 | ||
|
|
ae4c704a1b | ||
|
|
580e3fe653 | ||
|
|
a897631251 | ||
|
|
fbf82fc205 | ||
|
|
4cc34ad203 | ||
|
|
1617556158 | ||
|
|
23c0f14fec | ||
|
|
aadcd5a8f8 | ||
|
|
ded8c3cd32 | ||
|
|
fef1b98cf1 | ||
|
|
568c6bb7b2 | ||
|
|
f19f688770 | ||
|
|
7e1ce9ce61 | ||
|
|
3f982703ef | ||
|
|
4162010853 | ||
|
|
30db1d1c39 | ||
|
|
cc70f85c5a | ||
|
|
566cc9caec | ||
|
|
8197d060d3 | ||
|
|
ca14e66a58 | ||
|
|
b563f9a039 | ||
|
|
c97ddeb2d9 | ||
|
|
e268e25719 | ||
|
|
4de5605931 | ||
|
|
b2037ecf6f | ||
|
|
75ee5f83f1 | ||
|
|
6ecf834cfc | ||
|
|
40f5901526 | ||
|
|
b1c8ac94a7 | ||
|
|
a8e2cc11af | ||
|
|
c1b2301650 | ||
|
|
a4ee7981c6 | ||
|
|
7c13ab22d5 | ||
|
|
ad5f070286 | ||
|
|
c2c65326a1 | ||
|
|
30dbf782d6 | ||
|
|
a1cbfd5cad | ||
|
|
d343add43e | ||
|
|
9e42d119e4 | ||
|
|
e549298ad5 | ||
|
|
2bc5c59fec | ||
|
|
72a5886191 | ||
|
|
6b6297fb2d | ||
|
|
9b9d0f24b5 | ||
|
|
162ec74445 | ||
|
|
8e022cd48c | ||
|
|
e36c7d269c | ||
|
|
c5d1e5cbf5 | ||
|
|
a8190154d1 | ||
|
|
d307aa5d38 | ||
|
|
3cbf82d33a | ||
|
|
55e0de1719 | ||
|
|
0feb7b7379 | ||
|
|
9d51af3bf8 | ||
|
|
973f6f94c6 | ||
|
|
6c3fb84310 | ||
|
|
4a33223645 | ||
|
|
2c87b67661 | ||
|
|
0899299ebf | ||
|
|
1a590287ea | ||
|
|
fd01715b5b | ||
|
|
300536033f | ||
|
|
79c3ca8611 | ||
|
|
e50fc1f314 | ||
|
|
2e54872d66 | ||
|
|
4f494e5444 | ||
|
|
8916e8af45 | ||
|
|
399ddbe14b | ||
|
|
bb9f5f7a16 | ||
|
|
3999400049 | ||
|
|
1ed189cfb9 | ||
|
|
82c489841c | ||
|
|
7c5d582757 | ||
|
|
da61feb73b | ||
|
|
3facbf99d8 | ||
|
|
d5407060d0 | ||
|
|
3bd0de0a0b | ||
|
|
1ad98ed4a4 | ||
|
|
4f4e70c99e | ||
|
|
60453fec9e | ||
|
|
51c021d3be | ||
|
|
1358a35580 | ||
|
|
3d1ee33521 | ||
|
|
06ddab1249 | ||
|
|
1b6f1b5a77 | ||
|
|
0c9a6e9449 | ||
|
|
37f5b32833 | ||
|
|
e0b1aa2f4d | ||
|
|
853963ff61 | ||
|
|
ebb1a602be | ||
|
|
928230cc5d | ||
|
|
7998c4e36c | ||
|
|
a263df5bf4 | ||
|
|
ed37064e09 | ||
|
|
468df67384 | ||
|
|
fca7a4c31e | ||
|
|
fd539e0a35 | ||
|
|
90d20786c3 | ||
|
|
c9b8a68b43 | ||
|
|
cc35c3d012 | ||
|
|
3a2fe5ae96 | ||
|
|
8218343b6c | ||
|
|
72427f8f39 | ||
|
|
01a3bf930e | ||
|
|
36f0bd81eb | ||
|
|
f1fdad5023 | ||
|
|
90f222ccfb | ||
|
|
7edab5d354 | ||
|
|
c84288c0d9 | ||
|
|
5d0175e007 | ||
|
|
174fa99ecd | ||
|
|
75056e2e13 | ||
|
|
fce56a0e82 | ||
|
|
7914106953 | ||
|
|
e638efa847 | ||
|
|
f558bd2733 | ||
|
|
bd446b60b8 | ||
|
|
e538598e81 | ||
|
|
f995ec1682 | ||
|
|
625ff078fe | ||
|
|
1760d41729 | ||
|
|
e056348850 | ||
|
|
53f7c60267 | ||
|
|
2f4be13018 | ||
|
|
52a0096d3b | ||
|
|
c8d656f1d9 | ||
|
|
08c6628fbd | ||
|
|
4102ca37dc | ||
|
|
5bfddbf71c | ||
|
|
02a89626f0 | ||
|
|
de5bf6ea28 | ||
|
|
cd3f0af79b | ||
|
|
dd31818051 | ||
|
|
2139eb410f | ||
|
|
d23cc20b3d | ||
|
|
d8b52337b2 | ||
|
|
9126268a32 | ||
|
|
ca89368782 | ||
|
|
b41028cf37 | ||
|
|
0f9c6b6ff2 | ||
|
|
e2c7742265 | ||
|
|
1f40afb2fc | ||
|
|
e4ef946020 | ||
|
|
5d7b9af23e | ||
|
|
ba31397ac1 | ||
|
|
f38e0fce98 | ||
|
|
c12d4757a4 | ||
|
|
191a71ab67 | ||
|
|
a4e7cd1fb9 | ||
|
|
5e60b8617e | ||
|
|
2c98087c6f | ||
|
|
a6a23e3b15 | ||
|
|
6e9f2afd61 | ||
|
|
5af3520aca | ||
|
|
4770f24adb | ||
|
|
b57239e2e7 | ||
|
|
ba02ad66c7 | ||
|
|
45681d632a | ||
|
|
b2d05c781d | ||
|
|
c303711813 | ||
|
|
ea47736274 | ||
|
|
45708771b0 | ||
|
|
7865a37998 | ||
|
|
0964b449b9 | ||
|
|
afbc8a4638 | ||
|
|
f41f35b0ae | ||
|
|
1b582f5935 | ||
|
|
6bb58cecd8 | ||
|
|
bd92b0a94b | ||
|
|
d6ca920589 | ||
|
|
0575ab8125 | ||
|
|
196c5bf1d7 | ||
|
|
1304c8a95d | ||
|
|
8db73bbec2 | ||
|
|
335df19226 | ||
|
|
e9ed7ee4bd | ||
|
|
6f713572e3 | ||
|
|
04c24c5dc1 | ||
|
|
617fe14dbe | ||
|
|
37f3633e0c | ||
|
|
87a1717dca | ||
|
|
ba5aceb5c6 | ||
|
|
f49326395d | ||
|
|
f3cf99aa5c | ||
|
|
c4eec6dc12 | ||
|
|
1b49c18767 | ||
|
|
423df3f83a | ||
|
|
d78c76e0b4 | ||
|
|
149781af9e | ||
|
|
51539e6d44 | ||
|
|
ce6e8b7412 | ||
|
|
d22a5ad840 | ||
|
|
e3385e1243 | ||
|
|
d329d9f282 | ||
|
|
644519c539 | ||
|
|
2aab4dfb9d | ||
|
|
2b37bfd93e | ||
|
|
4d6871abc8 | ||
|
|
f059d5b59a | ||
|
|
82d8d28b2c | ||
|
|
2624b0c34b | ||
|
|
8f568411de | ||
|
|
6066f2896a | ||
|
|
c6bc387a88 | ||
|
|
5e0ee919d7 | ||
|
|
9fd545070b | ||
|
|
680863702e | ||
|
|
f20f6d70a0 | ||
|
|
983a939952 | ||
|
|
b579ec7bbd | ||
|
|
9703c34f4d | ||
|
|
d3dd1844dc | ||
|
|
54405732c9 | ||
|
|
6bf141c6d4 | ||
|
|
3be1cf16ef | ||
|
|
0cd585d09b | ||
|
|
c0636dfe22 | ||
|
|
0367ce5d5a | ||
|
|
38bc2e68fe | ||
|
|
b71483f557 | ||
|
|
3557480838 | ||
|
|
13cd1bd060 | ||
|
|
ed24292f55 | ||
|
|
b58a441109 | ||
|
|
eb8b9e2542 | ||
|
|
587a71c1b6 | ||
|
|
06a722ffdb | ||
|
|
e8ba315b20 | ||
|
|
95180f4737 | ||
|
|
558e6839bc | ||
|
|
f52eb88b70 | ||
|
|
cab10e2028 | ||
|
|
6ee2a762e8 | ||
|
|
4d092ab9cb | ||
|
|
da6e6c4441 | ||
|
|
2f9b9931e4 | ||
|
|
43af9146d8 | ||
|
|
99b3499044 | ||
|
|
cef864a80e | ||
|
|
44a4a99b92 | ||
|
|
34c785557d | ||
|
|
b83abf944b | ||
|
|
85658c7017 | ||
|
|
a0bf503f88 | ||
|
|
87aaccac94 | ||
|
|
d43ff8b4a7 | ||
|
|
e093e06926 | ||
|
|
baecb27712 | ||
|
|
faec969752 | ||
|
|
cf89d4cb56 | ||
|
|
57d2c8602f | ||
|
|
3233e903d9 | ||
|
|
5d6a3bc833 | ||
|
|
5eca243af9 | ||
|
|
2683bec738 | ||
|
|
0838b6837b | ||
|
|
885c73c838 | ||
|
|
730d472008 | ||
|
|
7b11dd053b | ||
|
|
c85d72317c | ||
|
|
d76c1f862c | ||
|
|
f1c5cfe1a5 | ||
|
|
68e0e5cbdd | ||
|
|
97ff9eeb1b | ||
|
|
e8eabde889 | ||
|
|
7d05069f36 | ||
|
|
4d871c27f6 | ||
|
|
709cc9c294 | ||
|
|
cd9b360292 | ||
|
|
1f6666785e | ||
|
|
53f8570a53 | ||
|
|
094b0399cb | ||
|
|
fd917e6bae | ||
|
|
b3c254e34f | ||
|
|
22a7ddfd28 | ||
|
|
0eda6b5c47 | ||
|
|
cd0becb7ba | ||
|
|
19b92c4748 | ||
|
|
c572057706 | ||
|
|
c86731aaf7 | ||
|
|
ffa0ea4756 | ||
|
|
0f7046b98e | ||
|
|
f582a254cd | ||
|
|
e067fa12b2 | ||
|
|
a5310ac1b3 | ||
|
|
fa4c9ba796 | ||
|
|
662839fb06 | ||
|
|
d07259d0dc | ||
|
|
4fa942f3a0 | ||
|
|
e2d0fc3e10 | ||
|
|
5e0ece5d72 | ||
|
|
6b5ab50f71 | ||
|
|
d7d906bc86 | ||
|
|
8cb80cecf8 | ||
|
|
5823a864f9 | ||
|
|
36d51de201 | ||
|
|
60c1d1d3d9 | ||
|
|
f0a45281b5 | ||
|
|
86584900b2 | ||
|
|
a7603bcc6b | ||
|
|
eeea06d6aa | ||
|
|
e3c3516283 | ||
|
|
5a45e60a73 | ||
|
|
e2413baf10 | ||
|
|
0c6a08da76 | ||
|
|
8401400129 | ||
|
|
e614a6fc70 | ||
|
|
5f302dd046 | ||
|
|
480bc0ad9d | ||
|
|
7274b1692d | ||
|
|
e263a9c9d4 | ||
|
|
34153dc85b | ||
|
|
5100fd35dc | ||
|
|
d10954b788 | ||
|
|
544a4dbd3a | ||
|
|
c84bcde0a1 | ||
|
|
85a765959b | ||
|
|
3ce6a45121 | ||
|
|
3248740f04 | ||
|
|
30e28603a7 | ||
|
|
0c03c2e3af | ||
|
|
4e48a4ffc5 | ||
|
|
f65e91dc74 | ||
|
|
6df3b381ef | ||
|
|
d849367a12 | ||
|
|
af4c6fb15a | ||
|
|
2856e0213f | ||
|
|
4fbf8aa0bf | ||
|
|
24788b8282 | ||
|
|
8090b2a23b | ||
|
|
64cf32146a | ||
|
|
15e6ee7dac | ||
|
|
8bda6eaa76 | ||
|
|
b8ad84c525 | ||
|
|
72b5817276 | ||
|
|
1fff7374d4 | ||
|
|
fec718e9e5 | ||
|
|
efe0b40aca | ||
|
|
db135129d8 | ||
|
|
b1a15f6e33 | ||
|
|
9037e6c64b | ||
|
|
604922a26e | ||
|
|
0117f18eb1 | ||
|
|
a715a4206e | ||
|
|
6e83edc988 | ||
|
|
9f1ebaf850 | ||
|
|
8571dc3965 | ||
|
|
5b8c721292 | ||
|
|
e2248a066d | ||
|
|
62dea6d52a | ||
|
|
fe380bd943 | ||
|
|
b266ae1356 | ||
|
|
4abcad67b7 | ||
|
|
0243371c71 | ||
|
|
15323a6b6d | ||
|
|
f5b9d32317 | ||
|
|
71ed0ad0ca | ||
|
|
b4fd2b1976 | ||
|
|
b6d2c95ee7 | ||
|
|
238232cf51 | ||
|
|
04cf39749b | ||
|
|
c9616b01ac | ||
|
|
dede06ad76 | ||
|
|
843d65f494 | ||
|
|
58788c327f | ||
|
|
0124ae8812 | ||
|
|
3d08222c29 | ||
|
|
f6c0251a6c | ||
|
|
cf32ee460c | ||
|
|
569ce08174 | ||
|
|
e2d370a415 | ||
|
|
152799ecc7 | ||
|
|
087ac31533 | ||
|
|
b184b26a4e | ||
|
|
f86e90b072 | ||
|
|
be04310810 | ||
|
|
d510961f6c | ||
|
|
d29f6775a8 | ||
|
|
7be836cced | ||
|
|
4528586849 | ||
|
|
47e82cb069 | ||
|
|
d38c6f8118 | ||
|
|
757c8647bf | ||
|
|
ba6c1b9439 | ||
|
|
ac92e1289b | ||
|
|
6a49bffa9a | ||
|
|
a95aada35a | ||
|
|
8fd430819b | ||
|
|
396760d523 | ||
|
|
6ab15fce1c | ||
|
|
81ca30c9d4 | ||
|
|
a5085b6e56 | ||
|
|
4cb8bbd2f4 | ||
|
|
b9c597af92 | ||
|
|
47b6bb683b | ||
|
|
d3df6c606c | ||
|
|
1cd578ef44 | ||
|
|
55dd4768b9 | ||
|
|
66946c8697 | ||
|
|
1e4e6e9619 | ||
|
|
c97fb62228 | ||
|
|
cd5a24e308 | ||
|
|
c17a03ef60 | ||
|
|
abfad8c088 | ||
|
|
82b4042b26 | ||
|
|
1129711f75 | ||
|
|
69582b2e8c | ||
|
|
00821bf0a2 | ||
|
|
4a313ee7c3 | ||
|
|
85f3a8b038 | ||
|
|
5fe4cb9eee | ||
|
|
0e120093cf | ||
|
|
064ab8846d | ||
|
|
1d5338a8dc | ||
|
|
4ac08dac65 | ||
|
|
41df1c447f | ||
|
|
808a283f74 | ||
|
|
be69ff5849 | ||
|
|
9d94c509e7 | ||
|
|
282f575cab | ||
|
|
6b61714d7e | ||
|
|
dc8ffa34e4 | ||
|
|
8c8c49c66d | ||
|
|
bb7c829c5e | ||
|
|
6bf60ff5d6 | ||
|
|
100d1e7220 | ||
|
|
c97732cef3 | ||
|
|
c398c8b2a2 | ||
|
|
cee40169f3 | ||
|
|
7d3b6d12e3 | ||
|
|
98b62df792 | ||
|
|
e2d9cd1eed | ||
|
|
f873a84f08 | ||
|
|
c1b1b81774 | ||
|
|
7333cc25d8 | ||
|
|
32957833f3 | ||
|
|
20fabb81e8 | ||
|
|
7644b031c1 | ||
|
|
dbc403319d | ||
|
|
c1d025e241 | ||
|
|
c3c3f3fc88 | ||
|
|
6f1d61aabc | ||
|
|
3d282d2523 | ||
|
|
ba66a0e801 | ||
|
|
0fcd3d8f28 | ||
|
|
ddda183090 | ||
|
|
f19fc9057d | ||
|
|
17e4d78bdc | ||
|
|
9ef954f430 | ||
|
|
767b68b0bd | ||
|
|
53d78e995b | ||
|
|
0119965287 | ||
|
|
45dc3cab11 | ||
|
|
73d27be947 | ||
|
|
a5bbb338b9 | ||
|
|
fd7cd0324d | ||
|
|
aa795d19d5 | ||
|
|
9019cc9101 | ||
|
|
cd64238a51 | ||
|
|
5ffa0ed6ee | ||
|
|
1889f00f8f | ||
|
|
0e2fbe0e8f | ||
|
|
70a84d90ad | ||
|
|
56072e952d | ||
|
|
f88f482837 | ||
|
|
ca55c4e55f | ||
|
|
a00809db8e | ||
|
|
e930abe741 | ||
|
|
b584d22b3a | ||
|
|
254524ab1b | ||
|
|
472a6cb232 | ||
|
|
ed8d7f2106 | ||
|
|
4239f8e592 | ||
|
|
55deb3f01b | ||
|
|
d09fba47f1 | ||
|
|
2420969375 | ||
|
|
055ff455fe | ||
|
|
f3be1fcc62 | ||
|
|
ec00edcdad | ||
|
|
e36be704a5 | ||
|
|
75e557b894 | ||
|
|
41a26289b3 | ||
|
|
c9cb1ea05c | ||
|
|
b3f326fead | ||
|
|
a1f4168d50 | ||
|
|
8d946f225e | ||
|
|
26a01afa1a | ||
|
|
35686a7dca | ||
|
|
34942daf94 | ||
|
|
0bdd159fb9 | ||
|
|
d6e7211539 | ||
|
|
713673bc42 | ||
|
|
d75da16fef | ||
|
|
cfdacea210 | ||
|
|
924eb1d0b5 | ||
|
|
6fcf4ebc48 | ||
|
|
badd59ac38 | ||
|
|
5b6392009d | ||
|
|
777a2292dc | ||
|
|
352f70a9e4 | ||
|
|
09f267c378 | ||
|
|
c2d2702a59 | ||
|
|
062771e0a7 | ||
|
|
d2571fa798 | ||
|
|
eafc0876a1 | ||
|
|
56ce92e012 | ||
|
|
51958c25ac | ||
|
|
8789dae155 | ||
|
|
d10f3f140f | ||
|
|
7670a23611 | ||
|
|
53811b2324 | ||
|
|
3344656e6a | ||
|
|
e4eece0352 | ||
|
|
2a4b821c34 | ||
|
|
4a4c4223e6 | ||
|
|
314ea43e6d | ||
|
|
fdbdf93250 | ||
|
|
cb33417924 | ||
|
|
cbf12524fe | ||
|
|
8b34cab19a | ||
|
|
05a99b5798 | ||
|
|
f1a83de772 | ||
|
|
eb3d299521 | ||
|
|
60afdd239c | ||
|
|
307840edd1 | ||
|
|
95b8df6d70 | ||
|
|
700f28c3ac | ||
|
|
1487c3ff16 | ||
|
|
b94772bfcd | ||
|
|
44d79d2153 | ||
|
|
09f3008569 | ||
|
|
e5043e73e3 | ||
|
|
16d308f452 | ||
|
|
3e9ad427ec | ||
|
|
16d0289c36 | ||
|
|
894a400b86 | ||
|
|
9134b51985 | ||
|
|
e00321a101 | ||
|
|
75d0b5bb50 | ||
|
|
b774d09b4b | ||
|
|
a91451e946 | ||
|
|
983bf713b3 | ||
|
|
f0ac9d6935 | ||
|
|
d2572ba4e4 | ||
|
|
51307f29c5 | ||
|
|
a608a799aa | ||
|
|
e7822f7a51 | ||
|
|
e3277cf120 | ||
|
|
2ffb2b5200 | ||
|
|
18698a9f18 | ||
|
|
95c96247d9 | ||
|
|
f2f65952b2 | ||
|
|
afe5f16af0 | ||
|
|
6a7da1e603 | ||
|
|
bc9adb9fe5 | ||
|
|
9e1153639e | ||
|
|
59e5a73e49 | ||
|
|
8d1856ae2d | ||
|
|
1eeee4854a | ||
|
|
3bea32883d | ||
|
|
4f2891836e | ||
|
|
63e86c4147 | ||
|
|
dfc77f0a3f | ||
|
|
1aaed161eb | ||
|
|
7d411622c6 | ||
|
|
a106fa62fe | ||
|
|
551c249e39 | ||
|
|
38028dd36b | ||
|
|
5b22d91579 | ||
|
|
09b9ce60ad | ||
|
|
e20a07e06f | ||
|
|
0204aa962c | ||
|
|
d46051435f | ||
|
|
0d56cf4496 | ||
|
|
61dae53fc3 | ||
|
|
f5377120c4 | ||
|
|
780106c7f6 | ||
|
|
811e4bb265 | ||
|
|
111cab1564 | ||
|
|
131dd51c39 | ||
|
|
0d333ce7da | ||
|
|
fa7ad6e9ed | ||
|
|
9b6dd0c771 | ||
|
|
a7a0624235 | ||
|
|
8f08269916 | ||
|
|
dbd305acc5 | ||
|
|
83d32e4449 | ||
|
|
78d7aa7707 | ||
|
|
a3ecd7324a | ||
|
|
87525001f7 | ||
|
|
f52836a7e3 | ||
|
|
fe536f0628 | ||
|
|
1de5ac8cba | ||
|
|
2624ad5f7e | ||
|
|
7fb23ab6be | ||
|
|
208e6fe47a | ||
|
|
9a1c1f64c0 | ||
|
|
65fe6c2f95 | ||
|
|
65ade57c94 | ||
|
|
2565005cc0 | ||
|
|
de4538bf5f | ||
|
|
2b80020393 | ||
|
|
1166e85fad | ||
|
|
e5193476c4 | ||
|
|
5dbf276e82 | ||
|
|
a6f3230915 | ||
|
|
0694a09abd | ||
|
|
dceeeaac6a | ||
|
|
bdc92bcdf0 | ||
|
|
06a6056e1c | ||
|
|
4b951279a8 | ||
|
|
3984f8b36c | ||
|
|
b9b3a0dcc7 | ||
|
|
7caa025278 | ||
|
|
27e5dc4d55 | ||
|
|
63fc9b76be | ||
|
|
5c1e2846a2 | ||
|
|
73c45944f4 | ||
|
|
86171c500f | ||
|
|
1010334f76 | ||
|
|
f44869f7cb | ||
|
|
4b0c5cc9a2 | ||
|
|
36b8f46f7e | ||
|
|
d5ecbc96a3 | ||
|
|
760114b718 | ||
|
|
76068637fb | ||
|
|
bed0b1c04e | ||
|
|
8a1cdc3f7d | ||
|
|
462f7f1f42 | ||
|
|
10a657e9d7 | ||
|
|
ae7a94bf47 | ||
|
|
e12bdb320d | ||
|
|
f667937aef | ||
|
|
20c508cb12 | ||
|
|
c00e5e8904 | ||
|
|
c6b00c9aca | ||
|
|
7154a1e35c | ||
|
|
734662a9b4 | ||
|
|
b11aa62001 | ||
|
|
f4c066e475 | ||
|
|
1d7a789604 | ||
|
|
3f74eff0fe | ||
|
|
2a2d33cd0b | ||
|
|
4e61ae84f7 | ||
|
|
165634d127 | ||
|
|
082c6d010c | ||
|
|
62f65d5ffb | ||
|
|
738698edad | ||
|
|
a83064ed97 | ||
|
|
5ef407ba17 | ||
|
|
21fabfcb29 | ||
|
|
521f250688 | ||
|
|
df33ceca79 | ||
|
|
0ffbd2ee0f | ||
|
|
4d64569c34 | ||
|
|
32c025a2fa | ||
|
|
58fa48a4da | ||
|
|
699aa1b60f | ||
|
|
a00c565a62 | ||
|
|
90bac7f4ab | ||
|
|
ec2cda20cf | ||
|
|
1702261a15 | ||
|
|
bd85d621f5 | ||
|
|
61bc485bf1 | ||
|
|
eaf89794ab | ||
|
|
6a6b23d3d6 | ||
|
|
5bb8a6d6d5 | ||
|
|
cc73db9bf0 | ||
|
|
48d2e230a3 | ||
|
|
0ac24bc4f2 | ||
|
|
29e148763a | ||
|
|
354d1527e1 | ||
|
|
ffa56e6c81 | ||
|
|
edcc6b56c8 | ||
|
|
7e2f3e21ba | ||
|
|
0d238085ba | ||
|
|
082bf2fba4 | ||
|
|
56a3ccaee8 | ||
|
|
3f4c66467d | ||
|
|
85ccd80906 | ||
|
|
de539d00b6 | ||
|
|
f37c9eec04 | ||
|
|
9fd3e8d84f | ||
|
|
07c917e33d | ||
|
|
10c51f11c5 | ||
|
|
5431b8ebcc | ||
|
|
e233551d0b | ||
|
|
5d4d1bf60c | ||
|
|
e6bfe00843 | ||
|
|
5c3b20643a | ||
|
|
e9600802a8 | ||
|
|
0aa2e5138c | ||
|
|
27dad40d5c | ||
|
|
646b46528d | ||
|
|
e097e924f2 | ||
|
|
777aaf9afd | ||
|
|
221ec0bb10 | ||
|
|
67ff273a9e | ||
|
|
397d36291d | ||
|
|
a4066e4802 | ||
|
|
88e24ba452 | ||
|
|
c7b377b84c | ||
|
|
05a06a9aa8 | ||
|
|
90a686ea0b | ||
|
|
215df7ff9e | ||
|
|
0758f01120 | ||
|
|
bb7a910377 | ||
|
|
078293833d | ||
|
|
99f61150d6 | ||
|
|
ac64013a07 | ||
|
|
5735b4bbec | ||
|
|
f0374d5772 | ||
|
|
20a9dcf6fe | ||
|
|
d0ef42a16b | ||
|
|
18077d98bf | ||
|
|
cda4792ff7 | ||
|
|
76df2bc75a | ||
|
|
e52b639e64 | ||
|
|
75604e9b6c | ||
|
|
e058933192 | ||
|
|
a12ae0a1b6 | ||
|
|
5e0fd00b4e | ||
|
|
b4a43475ac | ||
|
|
f0bc59dd0c | ||
|
|
c5aba71aa7 | ||
|
|
cac6a8869b | ||
|
|
787691859d | ||
|
|
bf0d20461a | ||
|
|
7da73626ac | ||
|
|
8086120703 | ||
|
|
7afa815467 | ||
|
|
5400500360 | ||
|
|
ccae4014ec | ||
|
|
02279a769d | ||
|
|
c766a5a40e | ||
|
|
7ac2d0dcff | ||
|
|
6dfa1616ea | ||
|
|
8a0411d6b1 | ||
|
|
fc63a692be | ||
|
|
2b9b504573 | ||
|
|
fd9453889e | ||
|
|
dea21a0aae | ||
|
|
12c520c3b1 | ||
|
|
abc0383ecc | ||
|
|
bb4dce09df | ||
|
|
6b932168ce | ||
|
|
681bba82a9 | ||
|
|
4cfde3eba7 | ||
|
|
71633b1c8d | ||
|
|
2eb863aff0 | ||
|
|
5aede8affb | ||
|
|
09dfb9793a | ||
|
|
09897de77d | ||
|
|
0362290d40 | ||
|
|
57ef9fe623 | ||
|
|
38f08d54e3 | ||
|
|
84191ec8fd | ||
|
|
e88be6b251 | ||
|
|
3bec424d05 | ||
|
|
fc56a42fb0 | ||
|
|
05a5cc16bd | ||
|
|
c99b2f35f4 | ||
|
|
8ae7457a3f | ||
|
|
bb8a04dd7b | ||
|
|
a681f5f725 | ||
|
|
613552de0a | ||
|
|
cd38d37242 | ||
|
|
6b6b503ef0 | ||
|
|
f880072697 | ||
|
|
ffc3f10177 | ||
|
|
f9b7e3239e | ||
|
|
09cc61c96a | ||
|
|
a6325c69f4 | ||
|
|
2f1b1a02b1 | ||
|
|
727c5a4a53 | ||
|
|
918d3bd2bc | ||
|
|
2d7bacad09 | ||
|
|
234ed07ad6 | ||
|
|
964fdf779a | ||
|
|
40afb5e8fa | ||
|
|
72c0145816 | ||
|
|
12eb33b5c9 | ||
|
|
ddb238c7e4 | ||
|
|
32980fcafc | ||
|
|
db6315a621 | ||
|
|
6bf0c2aab6 | ||
|
|
3dc9ddcb52 | ||
|
|
352dfa9a09 | ||
|
|
60a3e680dd | ||
|
|
18f98e24e5 | ||
|
|
c599522e44 | ||
|
|
64fef7d380 | ||
|
|
6381d4cf6b | ||
|
|
91016ec206 | ||
|
|
9aeab9548d | ||
|
|
69d7f21b56 | ||
|
|
9de596605b | ||
|
|
650edcf56a | ||
|
|
2c4dedff2c | ||
|
|
870e39961c | ||
|
|
319148ca68 | ||
|
|
6dac68606b | ||
|
|
9716d008a9 | ||
|
|
b5fd68c3dc | ||
|
|
eea9d14749 | ||
|
|
77de6e4b60 | ||
|
|
58f68e3bda | ||
|
|
1ea3763185 | ||
|
|
920251f296 | ||
|
|
dffb554ebe | ||
|
|
7255f6108f | ||
|
|
078392f2c5 | ||
|
|
c2e9407f50 | ||
|
|
a5a4f1490e | ||
|
|
e20555f9cf | ||
|
|
791a222d28 | ||
|
|
cb97090d88 | ||
|
|
923cdc7b6a | ||
|
|
19369b4c33 | ||
|
|
4ec230e8a0 | ||
|
|
7aafe49662 | ||
|
|
33d8ec8a13 | ||
|
|
fb73e772af | ||
|
|
c2692e9b4a | ||
|
|
a0d6fe5ca7 | ||
|
|
7f65e68e82 | ||
|
|
d9f78fc5bf | ||
|
|
b2a5279bcb | ||
|
|
28baba822b | ||
|
|
3b4875b754 | ||
|
|
8ce88deda2 | ||
|
|
4527658027 | ||
|
|
8057c0ecb8 | ||
|
|
eb74a42386 | ||
|
|
d589a90a42 | ||
|
|
bf3d05cb40 | ||
|
|
7bd4859a31 | ||
|
|
9af097c39c | ||
|
|
7f47cdacbb | ||
|
|
d85cbde7a7 | ||
|
|
79284941db | ||
|
|
35c11aa7aa | ||
|
|
5ac2b1fb3d | ||
|
|
0a5e8ab618 | ||
|
|
5ae267f743 | ||
|
|
bc48e92aea | ||
|
|
98af494dd6 | ||
|
|
31487fb022 | ||
|
|
e00a2eeef7 | ||
|
|
c5ea2dcd2a | ||
|
|
e9c2b46c97 | ||
|
|
043d3fffbf | ||
|
|
febe213e80 | ||
|
|
0764f34c64 | ||
|
|
3dbf9ac27c | ||
|
|
eccb4383a1 | ||
|
|
31180bfc2b | ||
|
|
c6105d9ed3 | ||
|
|
3b82d1ccba | ||
|
|
9fe8a09ac9 | ||
|
|
18a59f84ab | ||
|
|
c28f78cb8a | ||
|
|
18baefed0d | ||
|
|
f56eeddff4 | ||
|
|
f5561b4b4f | ||
|
|
d42171d465 | ||
|
|
f3d56fe435 | ||
|
|
52e9e4daa7 | ||
|
|
dde76572e3 | ||
|
|
df4563274b | ||
|
|
6e93bd006e | ||
|
|
814cc9658c | ||
|
|
efc6d0adf1 | ||
|
|
f37fe42c70 | ||
|
|
3359cd4e9b | ||
|
|
2b80c5fda6 | ||
|
|
4c2bcb2933 | ||
|
|
96c1362a5d | ||
|
|
5f3b1aec0a | ||
|
|
942afd96fe | ||
|
|
39ddde082c | ||
|
|
9b384e8192 | ||
|
|
09543831b9 | ||
|
|
eb0b5870a3 | ||
|
|
49c03135a9 | ||
|
|
22ba992b6d | ||
|
|
553d3ebd48 | ||
|
|
f80bda89b6 | ||
|
|
722f2fc88d | ||
|
|
c89d2e0f01 | ||
|
|
7aab4214b7 | ||
|
|
6294333c88 | ||
|
|
98afd9c53b | ||
|
|
6ccca08319 | ||
|
|
f497fdde22 | ||
|
|
d73fdf6572 | ||
|
|
0e6f790734 | ||
|
|
18774c05ea | ||
|
|
b3dda3c070 | ||
|
|
d9e62e9a6d | ||
|
|
3f5518aa3a | ||
|
|
0c12b8dfda | ||
|
|
a53ac62164 | ||
|
|
8fa63c7131 | ||
|
|
5599b8bd30 | ||
|
|
5694258b74 | ||
|
|
a974c908b5 | ||
|
|
6d7d996d61 | ||
|
|
da4d9c5e71 | ||
|
|
c409ac985c | ||
|
|
62072e2d0f | ||
|
|
18e08ad5a7 | ||
|
|
ae8cc7b9ed | ||
|
|
06fd32786d | ||
|
|
2f5c13aac3 | ||
|
|
5025972450 | ||
|
|
e7d3f77560 | ||
|
|
f171adc88d | ||
|
|
e24428c42c | ||
|
|
e849f0f49e | ||
|
|
b011163d90 | ||
|
|
0492603ac7 | ||
|
|
15a488c03f | ||
|
|
77096cb252 | ||
|
|
6efeafe819 | ||
|
|
dabc5749d4 | ||
|
|
79fc3f72a6 | ||
|
|
7c2de28de9 | ||
|
|
83f77d3a05 | ||
|
|
5b71a3cb60 | ||
|
|
04650a86a5 | ||
|
|
69b4f9f59f | ||
|
|
4df979565e | ||
|
|
193cdbbe5e | ||
|
|
a634a5c00c | ||
|
|
c19ccd5df4 | ||
|
|
57c6afa3a9 | ||
|
|
9354d86af2 | ||
|
|
791de301cc | ||
|
|
87ccdae795 | ||
|
|
a412e68e89 | ||
|
|
98e2f2be08 | ||
|
|
b8b5ca17ed | ||
|
|
96ccebdedd | ||
|
|
59da900a1d | ||
|
|
fbc4429648 | ||
|
|
3feec809e6 | ||
|
|
8dd3298f9a | ||
|
|
0c3986917f | ||
|
|
4c11134141 | ||
|
|
45c824c042 | ||
|
|
181d27e33d | ||
|
|
0e225e1ab1 | ||
|
|
5676f22ede | ||
|
|
e9cc178ed7 | ||
|
|
09a3c859c1 | ||
|
|
628d68ed2d | ||
|
|
fe99952561 | ||
|
|
9c28086ba4 | ||
|
|
f8c225316b | ||
|
|
df1f381354 | ||
|
|
939a2923d3 | ||
|
|
0e15f8376c | ||
|
|
c9d9d5269d | ||
|
|
97f8f2b749 | ||
|
|
ea21480230 | ||
|
|
2918bbeeca | ||
|
|
ac1aea23dc | ||
|
|
d478bd0e34 | ||
|
|
1695e4e685 | ||
|
|
20bf4680db | ||
|
|
4f3dd59d25 | ||
|
|
dde3a35b16 | ||
|
|
a964860e55 | ||
|
|
41dcdabe9c | ||
|
|
8ad96452a0 | ||
|
|
9f426913a2 | ||
|
|
e8376a5662 | ||
|
|
08dcd7f8b2 | ||
|
|
03e1b730b5 | ||
|
|
8252c409d4 | ||
|
|
70ae5b1a19 | ||
|
|
0d42060882 | ||
|
|
e35b212781 | ||
|
|
08731594cb | ||
|
|
c439297223 | ||
|
|
88d80aec55 | ||
|
|
6f6289a069 | ||
|
|
af65787862 | ||
|
|
a39cec2b76 | ||
|
|
f20feae4d9 | ||
|
|
2d1169ac66 | ||
|
|
966dd7a40f | ||
|
|
eee835696c | ||
|
|
e95edbd3e4 | ||
|
|
b462fe5f77 | ||
|
|
a1865ed5fb | ||
|
|
209d812239 | ||
|
|
4e3cc2bc05 | ||
|
|
f5731f2fc8 | ||
|
|
29b608d6f8 | ||
|
|
a10dd738c0 | ||
|
|
0fb96ff3e9 | ||
|
|
55488c5c2e | ||
|
|
5345eb993a | ||
|
|
8f67ee4ac3 | ||
|
|
9f8b1d9521 | ||
|
|
d4c4418a3e | ||
|
|
bb5f747052 | ||
|
|
f2f8ffbbb2 | ||
|
|
fab4c0ed76 | ||
|
|
7b3cefd4ef | ||
|
|
ad483da837 | ||
|
|
01d49ccd36 | ||
|
|
7ceadc15a3 | ||
|
|
3caf81d9f7 | ||
|
|
dd6740e109 | ||
|
|
28e4cf6726 | ||
|
|
95e38a568f | ||
|
|
43f1f41179 | ||
|
|
698a9ead04 | ||
|
|
bd3f628d55 | ||
|
|
14d702ff8d | ||
|
|
dd5acae76f | ||
|
|
9de51bbf02 | ||
|
|
9c44a159b9 | ||
|
|
43e3162c7d | ||
|
|
2b81e887ad | ||
|
|
bfd492b7ed | ||
|
|
bf452c23bc | ||
|
|
da3495cb4b | ||
|
|
899a158843 | ||
|
|
163daf5816 | ||
|
|
7fbab16b22 | ||
|
|
17b8335c3c | ||
|
|
93930d1125 | ||
|
|
9cb630f98d | ||
|
|
f695bd8c1d | ||
|
|
8a8222995f | ||
|
|
ca24263c17 | ||
|
|
0bf0dd7d5e | ||
|
|
ef3a70cc38 | ||
|
|
6fe09c8264 | ||
|
|
4616e7fa16 | ||
|
|
d99788f6f7 | ||
|
|
8a1bd762ba | ||
|
|
c760863f8c | ||
|
|
ed5c3b55f1 | ||
|
|
7d0e2820cc | ||
|
|
f381b9261a | ||
|
|
01f170ba73 | ||
|
|
a53e24904f | ||
|
|
423cdbd63f | ||
|
|
e38c0e687f | ||
|
|
9e82f9d02e | ||
|
|
5f9c48494a | ||
|
|
155db092c4 | ||
|
|
87522ff7d6 | ||
|
|
e6b435e88e | ||
|
|
8c78a0a773 | ||
|
|
597f7d3075 | ||
|
|
9da8aca015 | ||
|
|
13aa1eb13d | ||
|
|
918228c9dc | ||
|
|
92a25867ff | ||
|
|
f698594137 | ||
|
|
c15dff4afb | ||
|
|
985db67d48 | ||
|
|
30c5eeaff9 | ||
|
|
fd81085b54 | ||
|
|
9955621f0a | ||
|
|
599a693f5b | ||
|
|
da6a9a2ba7 | ||
|
|
7002752744 | ||
|
|
53ed79ecbc | ||
|
|
1e342f8bee | ||
|
|
d19576978b | ||
|
|
af59822510 | ||
|
|
f45f93ce38 | ||
|
|
0d1ffdcb4b | ||
|
|
b197d780c1 | ||
|
|
45da1369ca | ||
|
|
478d1cf5ee | ||
|
|
ec0b2c6a5b | ||
|
|
3a5881cc48 | ||
|
|
13c857f753 | ||
|
|
5091a40e96 | ||
|
|
1cf45f7fa9 | ||
|
|
b49b531ce4 | ||
|
|
7553e14a8b | ||
|
|
cb984f4d54 | ||
|
|
9630c2c3b2 | ||
|
|
8bfc892f7c | ||
|
|
756d275edf | ||
|
|
bfe7a139af | ||
|
|
95352f47ea | ||
|
|
98a9eb8d23 | ||
|
|
9a62c2ab5d | ||
|
|
9c928d497c | ||
|
|
6f777dd09c | ||
|
|
5777868eba | ||
|
|
063b3b86c8 | ||
|
|
9ef9cca948 | ||
|
|
74ac23dbc6 | ||
|
|
b2145a0a59 | ||
|
|
fe307ecfeb | ||
|
|
80b99653cf | ||
|
|
75aa92952a | ||
|
|
3375963449 | ||
|
|
f91c47bb37 | ||
|
|
60552d9d86 | ||
|
|
857cf088f6 | ||
|
|
5c506a1db7 | ||
|
|
b81c7917a9 | ||
|
|
5802011eea | ||
|
|
c91f4d9e0d | ||
|
|
b5690cf721 | ||
|
|
aaee4d16d1 | ||
|
|
5148a21769 | ||
|
|
ec461e2440 | ||
|
|
ada2b79054 | ||
|
|
3d652b2c9a | ||
|
|
63bc00e8da | ||
|
|
8162b1fc93 | ||
|
|
a009387461 | ||
|
|
8dbf10dc4a | ||
|
|
954cd9437b | ||
|
|
1c532d3719 | ||
|
|
273351103d | ||
|
|
fd15b06773 | ||
|
|
9efb5e881b | ||
|
|
e674bb6779 | ||
|
|
8df93b23b5 | ||
|
|
afc47d92b5 | ||
|
|
d47c8a240a | ||
|
|
9be27927c1 | ||
|
|
e0c1400ee4 | ||
|
|
eb604a566d | ||
|
|
0b2add2e1a | ||
|
|
1ca046532d | ||
|
|
c1843170d6 | ||
|
|
85bf65e40e | ||
|
|
2a2494366b | ||
|
|
b53dbc1a27 | ||
|
|
6c881e3c48 | ||
|
|
17b4251176 | ||
|
|
c7411fd347 | ||
|
|
f32e7f8f4c | ||
|
|
2667c6fa98 | ||
|
|
46309f33a2 | ||
|
|
fb495d7b04 | ||
|
|
f8840ee8b7 | ||
|
|
3c025377f5 | ||
|
|
a01b308c38 | ||
|
|
53c56c537d | ||
|
|
a669ca7099 | ||
|
|
258d4cd62e | ||
|
|
fe2c1e69e5 | ||
|
|
a77dcaa6c2 | ||
|
|
dfd4f75c98 | ||
|
|
322b726be8 | ||
|
|
2978509034 | ||
|
|
d9c1b41e08 | ||
|
|
9538af2e92 | ||
|
|
2eb19876ee | ||
|
|
74fb5397ac | ||
|
|
0630c006d5 | ||
|
|
71a5a525d1 | ||
|
|
5ba0313b8f | ||
|
|
7a775166b2 | ||
|
|
9edf4ae2da | ||
|
|
fcef33ad1f | ||
|
|
cbf18d75a7 | ||
|
|
6f38e5c264 | ||
|
|
ead0568a94 | ||
|
|
5b5acd7471 | ||
|
|
87e79817f7 | ||
|
|
2b969b91b9 | ||
|
|
609bf54c45 | ||
|
|
9a104b5d12 | ||
|
|
65eccb129f | ||
|
|
022bf17b59 | ||
|
|
ae7583401e | ||
|
|
1ca904f164 | ||
|
|
bc884e64dd | ||
|
|
89ceff24fc | ||
|
|
47b2940358 | ||
|
|
facff24abc | ||
|
|
8f10f14bc4 | ||
|
|
3c522930ee | ||
|
|
0da92c20ea | ||
|
|
43db6a491d | ||
|
|
ae77d68f72 | ||
|
|
0e76d3e79d | ||
|
|
f0ae33f780 | ||
|
|
684e23fa2f | ||
|
|
bf2ed1747c | ||
|
|
90a09e268f | ||
|
|
0cc468ad6a | ||
|
|
16b9aab785 | ||
|
|
749388e877 | ||
|
|
17dfa693ba | ||
|
|
2dcb80e681 | ||
|
|
26ab75a356 | ||
|
|
97c31faea1 | ||
|
|
8b167e9a9e | ||
|
|
d9bf8a5fcc | ||
|
|
7b5dd0ac5f | ||
|
|
210295e704 | ||
|
|
ed56971de6 | ||
|
|
298948b203 | ||
|
|
f5b55ddbb4 | ||
|
|
99d083bb09 | ||
|
|
455f2ab183 | ||
|
|
f4127e1820 | ||
|
|
8fa95b7851 | ||
|
|
aefdabfd7e | ||
|
|
470a33f7f9 | ||
|
|
d179427d7b | ||
|
|
599af3f924 | ||
|
|
6e383d9005 | ||
|
|
d74c1e3b93 | ||
|
|
c1814cbc3f | ||
|
|
c0fef9bfde | ||
|
|
1363bec776 | ||
|
|
f3972430f6 | ||
|
|
998cb656a5 | ||
|
|
1a8228c08b | ||
|
|
07f9a06571 | ||
|
|
9c8145238c | ||
|
|
3445f5bdce | ||
|
|
8d3573d734 | ||
|
|
1fc32fa0bb | ||
|
|
255f6e6215 | ||
|
|
1aa649782b | ||
|
|
16d2f400c4 | ||
|
|
4d99594021 | ||
|
|
790c85df5a | ||
|
|
0a98778ec4 | ||
|
|
cc4794e5ac | ||
|
|
e301efdb7b | ||
|
|
a4cf98c460 | ||
|
|
c9e37bcef5 | ||
|
|
deaf5cde5f | ||
|
|
d38b8e746c | ||
|
|
1be0890f03 | ||
|
|
d45ff316c0 | ||
|
|
d2055141be | ||
|
|
846589e303 | ||
|
|
8efc03b325 | ||
|
|
28d8c10a3e | ||
|
|
f42b2fc670 | ||
|
|
c1c7598da5 | ||
|
|
cbb9b540c1 | ||
|
|
94dd9904fc | ||
|
|
06c0396259 | ||
|
|
ae611c1dcf | ||
|
|
38392d0b36 | ||
|
|
265d2b7118 | ||
|
|
a8c11e5b6c | ||
|
|
ec181f0e74 | ||
|
|
6846e677da | ||
|
|
4861d5469c | ||
|
|
6737d089d1 | ||
|
|
cfe75ccc9c | ||
|
|
fa5fffee72 | ||
|
|
9d784288d0 | ||
|
|
5771b3e561 | ||
|
|
365803efe6 | ||
|
|
85bcbfd918 | ||
|
|
0bfc10d55c | ||
|
|
dd8f22db2a | ||
|
|
6ac4a9d2f6 | ||
|
|
4890e9dcf3 | ||
|
|
55d26bd9e4 | ||
|
|
26b5109bca | ||
|
|
55e286c043 | ||
|
|
c104d79438 | ||
|
|
b6c5c5b92c | ||
|
|
809fc7ccd9 | ||
|
|
f04423106a | ||
|
|
7d18c92ec2 | ||
|
|
eb4c972760 | ||
|
|
7e024a61b9 | ||
|
|
135e768c1f | ||
|
|
243ca9a7f9 | ||
|
|
6533ce0e24 | ||
|
|
8e6957318a | ||
|
|
72b270f59e | ||
|
|
b6a90587e6 | ||
|
|
d1820b0731 | ||
|
|
26377494e7 | ||
|
|
98eec002c0 | ||
|
|
fc3aa7315a | ||
|
|
62bc76b074 | ||
|
|
a000131419 | ||
|
|
7c99e4cda0 | ||
|
|
5b5375ee32 | ||
|
|
db0f23f277 | ||
|
|
253ef7d67b | ||
|
|
27d333fae1 | ||
|
|
f67d914162 | ||
|
|
bc0f9d7826 | ||
|
|
deceecd1b7 | ||
|
|
7c8848fca0 | ||
|
|
f11550a15d | ||
|
|
d3bd0d8c0d | ||
|
|
4df0c93df3 | ||
|
|
7bf60094b8 | ||
|
|
d3eb7e2df9 | ||
|
|
42f470f3ba | ||
|
|
a08c3c6fd2 | ||
|
|
0539ffca94 | ||
|
|
4ddc510f9e | ||
|
|
39a0c4fc6b | ||
|
|
a3aeec2b2b | ||
|
|
f3fee34d16 | ||
|
|
9a932bcf79 | ||
|
|
56c508f157 | ||
|
|
891f4cac69 | ||
|
|
44a4c413a7 | ||
|
|
08d56a8ce9 | ||
|
|
b4d054e1b2 | ||
|
|
527522cf68 | ||
|
|
573304ea3e | ||
|
|
b12538b6ff | ||
|
|
53eaf1f93d | ||
|
|
34cedee48f | ||
|
|
17aa95778e | ||
|
|
49b21a996f | ||
|
|
ddb7fb0c87 | ||
|
|
656d96e04d | ||
|
|
419a6c547c | ||
|
|
26f4e7303e | ||
|
|
41373f5e16 | ||
|
|
3ce886b665 | ||
|
|
1be29a0aa0 | ||
|
|
7a222a4026 | ||
|
|
795784ac95 | ||
|
|
2a19ee7c81 | ||
|
|
70e50685ee | ||
|
|
8bd1777bf4 | ||
|
|
356113fbba | ||
|
|
5870e7cde9 | ||
|
|
75099caaca | ||
|
|
f3dfaae261 | ||
|
|
7a2dd9e03c | ||
|
|
d5e2d42c34 | ||
|
|
951de0492c | ||
|
|
59cdbe2088 | ||
|
|
a0b975ae73 | ||
|
|
3ddc72c7de | ||
|
|
4f383493c6 | ||
|
|
1337317101 | ||
|
|
1882a6ac5d | ||
|
|
e818537fe9 | ||
|
|
1becc97ea7 | ||
|
|
976a995d88 | ||
|
|
1502b2e2ce | ||
|
|
ac5caf4da2 | ||
|
|
0930063219 | ||
|
|
76499696b3 | ||
|
|
4f492d9e73 | ||
|
|
8fc612dc35 | ||
|
|
5187f316f0 | ||
|
|
c69d6c53a3 | ||
|
|
cdb8182407 | ||
|
|
9391b51eb5 | ||
|
|
1f832a373a | ||
|
|
94bbee7f74 | ||
|
|
7879356bc5 | ||
|
|
9b2935a88f | ||
|
|
ae35bd7266 | ||
|
|
b263e04408 | ||
|
|
83567c68db | ||
|
|
a471e259c1 | ||
|
|
16462204fa | ||
|
|
601126edbe | ||
|
|
45e6a38685 | ||
|
|
f18a524800 | ||
|
|
df4b5cced7 | ||
|
|
a4ef486e1a | ||
|
|
e904402eff | ||
|
|
2bd5318eb3 | ||
|
|
a3b93ecfc5 | ||
|
|
cddba8d9e7 | ||
|
|
fa02f00503 | ||
|
|
971a905717 | ||
|
|
8fa45f5894 | ||
|
|
cd6793f641 | ||
|
|
9a095f574b | ||
|
|
a34698371e | ||
|
|
d04babe933 | ||
|
|
977c4c13b0 | ||
|
|
efc4230c63 | ||
|
|
fef816fac3 | ||
|
|
4e1749c56d | ||
|
|
b1b6add2c0 | ||
|
|
da18128524 | ||
|
|
1d767f2974 | ||
|
|
d10f71b7cf | ||
|
|
2f60a527da | ||
|
|
c5c4fcd639 | ||
|
|
e2166d4075 | ||
|
|
3883f20f11 | ||
|
|
e9ff8cb1b0 | ||
|
|
b5a41b6a2a | ||
|
|
4f39ae9e67 | ||
|
|
f84b3409af | ||
|
|
a02e0f33a8 | ||
|
|
d9ad2c05de | ||
|
|
482bceaf22 | ||
|
|
992c3edc69 | ||
|
|
a69be94422 | ||
|
|
934ad94f0b | ||
|
|
f6cc4ec20d | ||
|
|
dc52a1bb9c | ||
|
|
062cc08b14 | ||
|
|
e5db4543d7 | ||
|
|
198e62cce0 | ||
|
|
df930ae97e | ||
|
|
e7eca5b30c | ||
|
|
8d0122199b | ||
|
|
7c55fb3f15 | ||
|
|
9fad400f75 | ||
|
|
1c84e8a97f | ||
|
|
2a005c3d9f | ||
|
|
b2a09c8bd8 | ||
|
|
18d09174ea | ||
|
|
aa5da49514 | ||
|
|
ddd37b7bb5 | ||
|
|
a4d0608f56 | ||
|
|
7265d63403 | ||
|
|
7267937629 | ||
|
|
3b6751bbc8 | ||
|
|
75b900e20d | ||
|
|
d7cfdb0026 | ||
|
|
453d4a3a49 | ||
|
|
a27f804b9c | ||
|
|
b5f8178de2 | ||
|
|
fd02e484da | ||
|
|
041cd4d469 | ||
|
|
b54761df9d | ||
|
|
223f9a9fb2 | ||
|
|
1e00508d6a | ||
|
|
3717962b52 | ||
|
|
d4797ce3b3 | ||
|
|
0dfff0ee33 | ||
|
|
d57aa77843 | ||
|
|
e06f90da2b | ||
|
|
30e7fde537 | ||
|
|
0552249917 | ||
|
|
bf23125477 | ||
|
|
3f74bbe3cf | ||
|
|
a51072a9f5 | ||
|
|
a7aaf395d5 | ||
|
|
48ed4e984c | ||
|
|
577f3b6164 | ||
|
|
5d20700cf4 | ||
|
|
eb15886298 | ||
|
|
eeae61bfaf | ||
|
|
c58032ec8e | ||
|
|
4a2dc2c923 | ||
|
|
e43b1b3194 | ||
|
|
1d6a75e79e | ||
|
|
6903a415dc | ||
|
|
cb8d6d82fb | ||
|
|
98c1197b5c | ||
|
|
437a6ff250 | ||
|
|
095f0ababd | ||
|
|
914fa61e62 | ||
|
|
0f1af10769 | ||
|
|
8febfd4ed0 | ||
|
|
8b8628711e | ||
|
|
ab36ba8e75 | ||
|
|
926d8504c6 | ||
|
|
155bb87f7a | ||
|
|
34deec955b | ||
|
|
16c109d9f5 | ||
|
|
2e7f1d7eaa | ||
|
|
f6dbfa0772 | ||
|
|
5f71c74d3c | ||
|
|
5840479e2b | ||
|
|
0f2d421a87 | ||
|
|
ce81232bbf | ||
|
|
878dc1f5a7 | ||
|
|
72d0ab924d | ||
|
|
64ca12b30c | ||
|
|
731c640e32 | ||
|
|
df31f4f144 | ||
|
|
1b21134fce | ||
|
|
a85a9fe489 | ||
|
|
8d50b51a75 | ||
|
|
48e1eb9865 | ||
|
|
d3b36e00df | ||
|
|
1167560df6 | ||
|
|
b2384edd93 | ||
|
|
f2f8a57f35 | ||
|
|
df50deefb6 | ||
|
|
5a9a046186 | ||
|
|
697acbe6ba | ||
|
|
045dc69bb7 | ||
|
|
9145af5a40 | ||
|
|
579c12d1d2 | ||
|
|
99f04729ba | ||
|
|
575ac55c4e | ||
|
|
56dd18b2f5 | ||
|
|
8feeb41a9b | ||
|
|
f9d93cdb1e | ||
|
|
15c4bb7e40 | ||
|
|
c4d27fff53 | ||
|
|
2233a61e81 | ||
|
|
58f6ff3aa6 | ||
|
|
b7b4af86bd | ||
|
|
8016436433 | ||
|
|
4bdfe4d587 | ||
|
|
c10c91dd37 | ||
|
|
17744098a6 | ||
|
|
93164e4ea0 | ||
|
|
15628ebe88 | ||
|
|
4e63863338 | ||
|
|
aa13bd9084 | ||
|
|
578f61ebb5 | ||
|
|
ca76b02473 | ||
|
|
81c7bde0ed | ||
|
|
25b3795cbb | ||
|
|
e2ea55d0e1 | ||
|
|
c2d0548be1 | ||
|
|
c58b71dd5a | ||
|
|
4c7be4d8f7 | ||
|
|
23c46702b7 | ||
|
|
fee6170748 | ||
|
|
3d56373247 | ||
|
|
a37c95ac70 | ||
|
|
3a92da54dd | ||
|
|
e7ca5d7332 | ||
|
|
b031d4ffa6 | ||
|
|
0a6c3cf0df | ||
|
|
18c5654aa4 | ||
|
|
921e819a20 | ||
|
|
1656999e7a | ||
|
|
b06826ec57 | ||
|
|
2b674163ff | ||
|
|
ae1312908d | ||
|
|
e73d6d6bc7 | ||
|
|
8542a89fcf | ||
|
|
6c1b77dd48 | ||
|
|
1200154953 | ||
|
|
dd5798d70d | ||
|
|
68d3ff4789 | ||
|
|
26e3f73c08 | ||
|
|
39359b405f | ||
|
|
ea3e30d246 | ||
|
|
1eeee11d51 | ||
|
|
a1b2e72410 | ||
|
|
350d37dac3 | ||
|
|
d52a2dc05b | ||
|
|
e7e2a2d260 | ||
|
|
4561f98462 | ||
|
|
c5f51580f2 | ||
|
|
f949a5d684 | ||
|
|
dc2943c5eb | ||
|
|
7e19ce6cb9 | ||
|
|
e5d2b9f45c | ||
|
|
87d3451edf | ||
|
|
e0da1d8884 | ||
|
|
0393eb2570 | ||
|
|
9930462639 | ||
|
|
ef52504833 | ||
|
|
c6f83fb704 | ||
|
|
807a664c1d | ||
|
|
e06baa54e2 | ||
|
|
d590fa283d | ||
|
|
7418b9e637 | ||
|
|
ae606edae4 | ||
|
|
e36e1055dd | ||
|
|
9ffd50468e | ||
|
|
d8f632c02d | ||
|
|
67b8dc4f45 | ||
|
|
384365472e | ||
|
|
bab8542096 | ||
|
|
82d2827b79 | ||
|
|
5bb4c9368e | ||
|
|
3fb162770b | ||
|
|
bfca74d449 | ||
|
|
c2be7949cb | ||
|
|
8793c5d24a | ||
|
|
5138e24a2a | ||
|
|
d5799e2bbb | ||
|
|
449b72ceac | ||
|
|
108bdfbd66 | ||
|
|
48bb2cb8a6 | ||
|
|
b8d44204c2 | ||
|
|
7a0ce35286 | ||
|
|
e15623539b | ||
|
|
d8941dcac5 | ||
|
|
14f1fc44ce | ||
|
|
7bf171e877 | ||
|
|
0f3f7b65d7 | ||
|
|
c7cc94bd70 | ||
|
|
bd57e94fef | ||
|
|
beaf99c690 | ||
|
|
2a38ca0a59 | ||
|
|
0583612219 | ||
|
|
c1338160fe | ||
|
|
b4e2e2e1b6 | ||
|
|
6e39c08f8e | ||
|
|
66f55a593f | ||
|
|
86e9da97fb | ||
|
|
6e93782d90 | ||
|
|
393cd039eb | ||
|
|
4bea0c6738 | ||
|
|
b8b7f6a1c7 | ||
|
|
7dfa100150 | ||
|
|
40e620a3e9 | ||
|
|
da164128c5 | ||
|
|
5b88f139d9 | ||
|
|
cf3bf6b3d4 | ||
|
|
061621ff7e | ||
|
|
73acfa0906 | ||
|
|
34b67e2fbc | ||
|
|
f8369ffb10 | ||
|
|
d30545a99a | ||
|
|
15dd6e2887 | ||
|
|
bcaf6b4789 | ||
|
|
adb920a326 | ||
|
|
011f9360d6 | ||
|
|
7d2b54e4a0 | ||
|
|
c04f84c097 | ||
|
|
1fc9256ef8 | ||
|
|
fab2ef16fa | ||
|
|
fd3b34b2eb | ||
|
|
c383ebda66 | ||
|
|
32840020c8 | ||
|
|
67c7b30278 | ||
|
|
2064bdbfb3 | ||
|
|
0448b0562e | ||
|
|
30a5ac53fc | ||
|
|
c6e81cf924 | ||
|
|
5dba0f9bcd | ||
|
|
78abe59501 | ||
|
|
0477b78e77 | ||
|
|
9cf32a34dc | ||
|
|
f2e8ca957b | ||
|
|
a8277c1947 | ||
|
|
2db103233c | ||
|
|
67f62d5e8f | ||
|
|
f47858469f | ||
|
|
5d5732fe92 | ||
|
|
efa0c75817 | ||
|
|
491aa15aa6 | ||
|
|
635a59b9fb | ||
|
|
65c4250f4b | ||
|
|
632be0c984 | ||
|
|
85365ea864 | ||
|
|
d4fc29925b | ||
|
|
0a23684e80 | ||
|
|
ad9a28916f | ||
|
|
a0f6b9e90c | ||
|
|
d0a47836f9 | ||
|
|
a052456825 | ||
|
|
90653e1666 | ||
|
|
096e6b4e6b | ||
|
|
b1843a13e6 | ||
|
|
170027b97b | ||
|
|
a361b9a53d | ||
|
|
a1a8d0b982 | ||
|
|
4e2c090001 | ||
|
|
7e42a2ae09 | ||
|
|
8f879602eb | ||
|
|
ff3b7e39ac | ||
|
|
e032ccc53b | ||
|
|
01228c524a | ||
|
|
ea7d201d95 | ||
|
|
dfae0e13c9 | ||
|
|
20eee155d4 | ||
|
|
6e58a40442 | ||
|
|
98804a08dd | ||
|
|
9cc8dc3797 | ||
|
|
7123c188b1 | ||
|
|
216695a64a | ||
|
|
3b04ed613d | ||
|
|
8e2b0d2828 | ||
|
|
1739241cb3 | ||
|
|
2c0954bb1b | ||
|
|
f0d5178cf2 | ||
|
|
fcac879bac | ||
|
|
de6aee192e | ||
|
|
698a66f583 | ||
|
|
a2a795024c | ||
|
|
4de1b3ab51 | ||
|
|
5cca1ade02 | ||
|
|
df4a2846fe | ||
|
|
568650e7fd | ||
|
|
44267dd065 | ||
|
|
5898398fb1 | ||
|
|
17d25c8d2f | ||
|
|
1603243da3 | ||
|
|
098b5be274 | ||
|
|
8809bcb573 | ||
|
|
8a1d489f4b | ||
|
|
4616b06d18 | ||
|
|
003528f337 | ||
|
|
8ec0bfafb8 | ||
|
|
49d58662a1 | ||
|
|
d378f596eb | ||
|
|
72c1460b62 | ||
|
|
16a0c32275 | ||
|
|
a611f00c12 | ||
|
|
098305ee3b | ||
|
|
83a69e50b2 | ||
|
|
7ed2826f70 | ||
|
|
6534bd08b9 | ||
|
|
932dfe6a54 | ||
|
|
5d735d8d4d | ||
|
|
3ee806257f | ||
|
|
9f71ab76e7 | ||
|
|
859c6b7386 | ||
|
|
09171ea002 | ||
|
|
cf21246f2b | ||
|
|
89d6bd2235 | ||
|
|
5f70d1a312 | ||
|
|
b48ed17f3e | ||
|
|
b45019f5ee | ||
|
|
3fce3ea8a0 | ||
|
|
d998ea35fe | ||
|
|
f326913e95 | ||
|
|
524d7eb81e | ||
|
|
8907f08df1 | ||
|
|
6fe811402c | ||
|
|
0f608c4bcf | ||
|
|
40f22114c8 | ||
|
|
db4bba532a | ||
|
|
6e8d168ce2 | ||
|
|
c396df3bc6 | ||
|
|
9908f9de1d | ||
|
|
d5331a87b2 | ||
|
|
b1d6bd9e0c | ||
|
|
d57629208a | ||
|
|
1c7c467191 | ||
|
|
f4fdf2b113 | ||
|
|
d6db2ccec7 | ||
|
|
ab35dd2056 | ||
|
|
2f736ac6aa | ||
|
|
f040d2dcc1 | ||
|
|
8a5c5c7724 | ||
|
|
22ef45a541 | ||
|
|
591c0c232d | ||
|
|
f1135efb22 | ||
|
|
2fc3c9092b | ||
|
|
1ad36ecd92 | ||
|
|
5e6f2d8828 | ||
|
|
4929763ba9 | ||
|
|
8fac03c442 | ||
|
|
60e9e148b0 | ||
|
|
c5d96a1424 | ||
|
|
fb95635b94 | ||
|
|
7d29a28b5e | ||
|
|
cd65314860 | ||
|
|
8208adab71 | ||
|
|
bc8189b482 | ||
|
|
099ff7f473 | ||
|
|
50d8e91660 | ||
|
|
53df377268 | ||
|
|
80a5852487 | ||
|
|
694d22f429 | ||
|
|
0e089bb881 | ||
|
|
439020bba2 | ||
|
|
4cab47eaf6 | ||
|
|
35085037af | ||
|
|
5f7d4a2581 | ||
|
|
dc08e36207 | ||
|
|
4d481b515f | ||
|
|
cebf2db119 | ||
|
|
e55d5ecbdd | ||
|
|
85a59a013a | ||
|
|
f57874734d | ||
|
|
7faa3400d5 | ||
|
|
9ee2679211 | ||
|
|
6658c368a0 | ||
|
|
0acebb8b95 | ||
|
|
4fa1a25107 | ||
|
|
0961a3d499 | ||
|
|
8125a3c0b7 | ||
|
|
cdc764cefe | ||
|
|
f1e6e2fb0b | ||
|
|
91be273d64 | ||
|
|
5260276b83 | ||
|
|
2041f827b3 | ||
|
|
25aec0ede3 | ||
|
|
601d8f70b2 | ||
|
|
e022e552e1 | ||
|
|
bc449761a2 | ||
|
|
b9e9d1be60 | ||
|
|
c3d04dc5ca | ||
|
|
334bb21c41 | ||
|
|
6f66a8d216 | ||
|
|
8930e7f13c | ||
|
|
1fb3841ea1 | ||
|
|
aad9cae388 | ||
|
|
4f8d9cb854 | ||
|
|
1529cd5d7a | ||
|
|
2a6c5de718 | ||
|
|
a938671ef4 | ||
|
|
6e39f39c6f | ||
|
|
45d8745f74 | ||
|
|
c9ea0f1f17 | ||
|
|
508b68d87e | ||
|
|
192e577300 | ||
|
|
161f7a47b7 | ||
|
|
9d7193af86 | ||
|
|
aa28880a09 | ||
|
|
1ae57b4074 | ||
|
|
41e127ddd1 | ||
|
|
edf74f98a0 | ||
|
|
6165b3e35c | ||
|
|
ee7788be6b | ||
|
|
b61239507f | ||
|
|
52cf02f3c9 | ||
|
|
6bb7e6d35e | ||
|
|
eca770c03e | ||
|
|
a61e118314 | ||
|
|
dc4dd738b4 | ||
|
|
b585515b41 | ||
|
|
44470bedfd | ||
|
|
a9ac0b7533 | ||
|
|
85c6044483 | ||
|
|
c92da40024 | ||
|
|
a98b99fc29 | ||
|
|
9dc44a994a | ||
|
|
affba38798 | ||
|
|
96dcae0ab4 | ||
|
|
172793c182 | ||
|
|
fe6d25576f | ||
|
|
2e5357420e | ||
|
|
a31e0dce96 | ||
|
|
f4faefbd7e | ||
|
|
5699bb6ecd | ||
|
|
9271b97cf1 | ||
|
|
e7215bbcb3 | ||
|
|
4f630ad528 | ||
|
|
cd8f396fb3 | ||
|
|
185e1d3308 | ||
|
|
7065ef1e8c | ||
|
|
1fe6337da0 | ||
|
|
99f07b489f | ||
|
|
fe454c8e8f | ||
|
|
1e0a6dfc29 | ||
|
|
c43bc1f8a6 | ||
|
|
b339d35946 | ||
|
|
009b5171ed | ||
|
|
eb8734ac5c | ||
|
|
e797ccb094 | ||
|
|
4c66887360 | ||
|
|
29e69b0d4d | ||
|
|
79643282ea | ||
|
|
090f66f938 | ||
|
|
dc82ee9c24 | ||
|
|
3253369043 | ||
|
|
3fcfad69de | ||
|
|
6fb24a083d | ||
|
|
d253679051 | ||
|
|
d64909b3eb | ||
|
|
eb023c2079 | ||
|
|
5de93823a6 | ||
|
|
c7bc66954c | ||
|
|
8b089ce1a3 | ||
|
|
c729963eeb | ||
|
|
ce6a9ccae7 | ||
|
|
e45b6f056c | ||
|
|
724e2f3412 | ||
|
|
14ed3f9724 | ||
|
|
47d6b549c7 | ||
|
|
1b36a19418 | ||
|
|
eea3991912 | ||
|
|
d3a459464b | ||
|
|
1e00b4efef | ||
|
|
f5d22172fa | ||
|
|
286ea9caff | ||
|
|
ffb5f97756 | ||
|
|
27ae8ca4f1 | ||
|
|
375f046cfa | ||
|
|
df6b9b13ac | ||
|
|
53c2d1d72b | ||
|
|
7477c63714 | ||
|
|
94fd642e5c | ||
|
|
cfffe52e88 | ||
|
|
a53bbb83a1 | ||
|
|
288ee960ec | ||
|
|
f163ecaac4 | ||
|
|
787c38c712 | ||
|
|
d7aecddb38 | ||
|
|
5c4b760f48 | ||
|
|
814a56a212 | ||
|
|
a8c90d829c | ||
|
|
c51a87a852 | ||
|
|
bb496cfd26 | ||
|
|
461ba97538 | ||
|
|
b678eba94b | ||
|
|
d6f8565636 | ||
|
|
0fd89e1b3d | ||
|
|
9b94d1df35 | ||
|
|
4fb61dc34c | ||
|
|
0af551209b | ||
|
|
a62e40066b | ||
|
|
5eda424959 | ||
|
|
a682b1c02a | ||
|
|
77f212a5b5 | ||
|
|
56ad633e41 | ||
|
|
7b6d24669b | ||
|
|
2b39c449d8 | ||
|
|
76c0da0d6c | ||
|
|
df9a3aecbd | ||
|
|
cf7ddacebf | ||
|
|
0dc84070c7 | ||
|
|
f7e72d28f7 | ||
|
|
2eae02ed03 | ||
|
|
8f9b8eb813 | ||
|
|
39a77db9bd | ||
|
|
f20f16d7d3 | ||
|
|
b5bf45ce9c | ||
|
|
057bb631c8 | ||
|
|
39a0f9c659 | ||
|
|
641d90ae1c | ||
|
|
282cf38dd5 | ||
|
|
5bd2fc1fd7 | ||
|
|
2297fd23fd | ||
|
|
7fc9a8ff13 | ||
|
|
c6d649310f | ||
|
|
855ae9dea7 | ||
|
|
f19809bd04 | ||
|
|
39537da71b | ||
|
|
2d02691a79 | ||
|
|
85bfc677bf | ||
|
|
40770a4d13 | ||
|
|
67e2b16660 | ||
|
|
77b14eb1b9 | ||
|
|
a597ff9ca9 | ||
|
|
2c2e594fc3 | ||
|
|
84b8618287 | ||
|
|
1bbb98a267 | ||
|
|
dc26fb1d20 | ||
|
|
c47cef4ac3 | ||
|
|
7342861fcb | ||
|
|
871b05c5e6 | ||
|
|
4a04fc3655 | ||
|
|
4bdd7e16eb | ||
|
|
bd945bf9a4 | ||
|
|
c835269ef2 | ||
|
|
36d7d87067 | ||
|
|
e05dba1d2f | ||
|
|
54d714bc66 | ||
|
|
41d77fbdc6 | ||
|
|
8dd5e63a01 | ||
|
|
03cb4b47d5 | ||
|
|
9ce32fed08 | ||
|
|
d4f9793777 | ||
|
|
1a3f36f258 | ||
|
|
87b5952e6a | ||
|
|
0429fb939e | ||
|
|
77d4b2f924 | ||
|
|
17b40c329f | ||
|
|
5857a8eb5a | ||
|
|
c5f7a023c8 | ||
|
|
49ebdaa1ec | ||
|
|
0da9b02e94 | ||
|
|
e6cf9cff7d | ||
|
|
bc72d2cbf6 | ||
|
|
c120d66bab | ||
|
|
c852c80c52 | ||
|
|
c69b7c24b6 | ||
|
|
78722e6bac | ||
|
|
4764cc5a54 | ||
|
|
8c8a566d54 | ||
|
|
ee9e22816b | ||
|
|
0ef4b742d5 | ||
|
|
0b2f7686ec | ||
|
|
708a7f6bf6 | ||
|
|
e38491625b | ||
|
|
58c82d89df | ||
|
|
75c3d9697c | ||
|
|
3788d21b9c | ||
|
|
63f329d140 | ||
|
|
f53108cf8b | ||
|
|
880c8e3a77 | ||
|
|
a5dca98d7f | ||
|
|
ddc1afca20 | ||
|
|
2d48307d42 | ||
|
|
9e15007670 | ||
|
|
678cf8787a | ||
|
|
52f0f35195 | ||
|
|
4b2d3ca5a6 | ||
|
|
10559afc71 | ||
|
|
9bee23d589 | ||
|
|
895149f4a5 | ||
|
|
fc874be72a | ||
|
|
bead4d51bc | ||
|
|
dacbd398c3 | ||
|
|
509031bbfe | ||
|
|
c9e209a2d8 | ||
|
|
035391b0bf | ||
|
|
07edd373a5 | ||
|
|
a96206b9fe | ||
|
|
c33131c525 | ||
|
|
4bdf66ad44 | ||
|
|
ae6a9de944 | ||
|
|
151df92ee0 | ||
|
|
dfd2af1499 | ||
|
|
d64e690c9b | ||
|
|
4d5c750fe3 | ||
|
|
828f08ac22 | ||
|
|
c3303cc0a7 | ||
|
|
5be2b3435e | ||
|
|
002a398955 | ||
|
|
7a13542272 | ||
|
|
ca46fee84e | ||
|
|
17d4e5800d | ||
|
|
8b8f4b220d | ||
|
|
c53fa9ede0 | ||
|
|
5304ab7332 | ||
|
|
39d2377078 | ||
|
|
0ba8ae5529 | ||
|
|
1f91b2283a | ||
|
|
cb284d97a3 | ||
|
|
8b14e4d118 | ||
|
|
f60c137377 | ||
|
|
46676b4377 | ||
|
|
8aca26ff88 | ||
|
|
0c9fb098e0 | ||
|
|
3caeba54be | ||
|
|
3689aa4ce0 | ||
|
|
245376f04b | ||
|
|
7ff3529b0f | ||
|
|
592b0ce73f | ||
|
|
5597f2efd0 | ||
|
|
c81c2809c7 | ||
|
|
b158c80446 | ||
|
|
6d06e72f89 | ||
|
|
392c6a9cdb | ||
|
|
df45e37bfc | ||
|
|
cbc68efbd7 | ||
|
|
079e44497b | ||
|
|
2bfc691659 | ||
|
|
50ecd4eb71 | ||
|
|
350d025b31 | ||
|
|
6a7d930246 | ||
|
|
e54e2054e4 | ||
|
|
2c05e403d5 | ||
|
|
aae7546083 | ||
|
|
6f03f4d937 | ||
|
|
9c483074c5 | ||
|
|
2c81e7a94b | ||
|
|
a572a0b154 | ||
|
|
6f03923bb7 | ||
|
|
606e4ce0eb | ||
|
|
d800097b38 | ||
|
|
147d6aac1c | ||
|
|
cd716f2dff | ||
|
|
5804d98b7d | ||
|
|
04eb1e044a | ||
|
|
d864a82e92 | ||
|
|
e91363a62e | ||
|
|
3f3b8e5681 | ||
|
|
3d5231db74 | ||
|
|
3cb09156c3 | ||
|
|
a6aab16836 | ||
|
|
223c01a2cd | ||
|
|
92be0a9433 | ||
|
|
e8dcc3edf0 | ||
|
|
c6a988a208 | ||
|
|
b0239b8926 | ||
|
|
e14343ba43 | ||
|
|
fff62bfb2d | ||
|
|
097eb56561 | ||
|
|
08f912d072 | ||
|
|
c1e8e0f303 | ||
|
|
9decb605a4 | ||
|
|
74fd9668a6 | ||
|
|
8ce80be2ee | ||
|
|
5a6630652a | ||
|
|
ffad3c07f8 | ||
|
|
12b2f8f066 | ||
|
|
0040bb4aa7 | ||
|
|
c1dbb677e6 | ||
|
|
970674ec07 | ||
|
|
cc4b389b91 | ||
|
|
9f749fcca5 | ||
|
|
2e50ba286a | ||
|
|
1d3e94afcf | ||
|
|
2cbb72d5c6 | ||
|
|
4154b54ab6 | ||
|
|
ca62669c7b | ||
|
|
b0592981f1 | ||
|
|
0e292125cc | ||
|
|
0486a0a70d | ||
|
|
0d88c016f6 | ||
|
|
8f5380b7b3 | ||
|
|
3b0d362792 | ||
|
|
fd3cba0ac3 | ||
|
|
e7d7c0334b | ||
|
|
551780287a | ||
|
|
2ad7802ec9 | ||
|
|
acb41d4b6d | ||
|
|
49741f3003 | ||
|
|
ded81a3997 | ||
|
|
c532ef2113 | ||
|
|
f0170970c4 | ||
|
|
d65845dd09 | ||
|
|
28ec406ca1 | ||
|
|
5386a18bf6 | ||
|
|
f52f579379 | ||
|
|
c5ade41483 | ||
|
|
faa34ab1f9 | ||
|
|
030e750d2a | ||
|
|
46584971e2 | ||
|
|
ced1d22277 | ||
|
|
6bf371563b | ||
|
|
e87be35e10 | ||
|
|
f79cfac31f | ||
|
|
c85cc40d54 | ||
|
|
ec178dd8e1 | ||
|
|
f5e9605256 | ||
|
|
7be292cd81 | ||
|
|
fdd0225988 | ||
|
|
fb9962dbe6 | ||
|
|
77885dd66e | ||
|
|
5a60d1f221 | ||
|
|
6a486f4308 | ||
|
|
692b8e1163 | ||
|
|
73fb792f9e | ||
|
|
00f3ab59c6 | ||
|
|
7fbfd05c73 | ||
|
|
b4e39a8a3b | ||
|
|
2baa94c277 | ||
|
|
69dd0f2ecc | ||
|
|
cba0a83985 | ||
|
|
f75b157c75 | ||
|
|
2dc6b3a226 | ||
|
|
98fcbbfe8b | ||
|
|
2decea24d6 | ||
|
|
b0671dc88a | ||
|
|
a657f233dd | ||
|
|
9f51433e2b | ||
|
|
f054e5cfa6 | ||
|
|
6dea1dc4d5 | ||
|
|
97ce7af814 | ||
|
|
e603f7ae63 | ||
|
|
3ce1ae4791 | ||
|
|
47235155a9 | ||
|
|
2b6c04cedb | ||
|
|
d6db1dda55 | ||
|
|
1ab5199316 | ||
|
|
60b54487e9 | ||
|
|
5b8a5d7d81 | ||
|
|
838f7842d5 | ||
|
|
f40c261d00 | ||
|
|
2c68226b98 | ||
|
|
4c63065e51 | ||
|
|
6b844ffa5a | ||
|
|
8c57a9fbec | ||
|
|
77a962ed2b | ||
|
|
ea1587cd38 | ||
|
|
28759277f8 | ||
|
|
e703e52b7f | ||
|
|
325a7d26be | ||
|
|
5e48ca69e0 | ||
|
|
2572ecbdac | ||
|
|
705204e8ab | ||
|
|
4331cf1c35 | ||
|
|
6e80d12474 | ||
|
|
7409fd6f74 | ||
|
|
e6264fb4cf | ||
|
|
549d2911dd | ||
|
|
e6e0b7a524 | ||
|
|
57aa1a7dec | ||
|
|
916b2457bd | ||
|
|
eaaf1863df | ||
|
|
349a3c5c87 | ||
|
|
2501cc6e3f | ||
|
|
125f177e12 | ||
|
|
7019a4db09 | ||
|
|
519330e20e | ||
|
|
4a62a73005 | ||
|
|
986e26c01e | ||
|
|
6d7c878aaf | ||
|
|
f70858ab41 | ||
|
|
09c0df52c5 | ||
|
|
656d6c8475 | ||
|
|
d779686b0e | ||
|
|
58fc4fac5c | ||
|
|
67ef60b8fe | ||
|
|
df0d784944 | ||
|
|
c65f2ea88f | ||
|
|
8beb457041 | ||
|
|
c0930f28ed | ||
|
|
8f05e11743 | ||
|
|
2e9eb8efed | ||
|
|
b6231925bc | ||
|
|
a1494e62b0 | ||
|
|
fbbbf24246 | ||
|
|
107d05c637 | ||
|
|
cac89ce39f | ||
|
|
e41bbcf84e | ||
|
|
721e89de2c | ||
|
|
bd346d25fc | ||
|
|
557169d098 | ||
|
|
5f06818f0a | ||
|
|
4bf0ff2b05 | ||
|
|
219743228d | ||
|
|
1b3af49509 | ||
|
|
618d6dc19b | ||
|
|
9bef5f9f4f | ||
|
|
d8e41f0949 | ||
|
|
9567006c44 | ||
|
|
4f3e470bb5 | ||
|
|
126e112ec0 | ||
|
|
e74e4f0ec7 | ||
|
|
d0dad185ae | ||
|
|
41304da9a9 | ||
|
|
513934be9b | ||
|
|
b71a8ecf38 | ||
|
|
7fdc5efab9 | ||
|
|
a1930f3117 | ||
|
|
03e6eeb507 | ||
|
|
7a3efa81f6 | ||
|
|
2d9739a85c | ||
|
|
b93c1def83 | ||
|
|
649b8e1e9d | ||
|
|
b737d208de | ||
|
|
211805d83f | ||
|
|
e56bb464a8 | ||
|
|
3edb21b703 | ||
|
|
9fe7eade0d | ||
|
|
e7e7435656 | ||
|
|
a56031fcbf | ||
|
|
598bfc036b | ||
|
|
e5a6c3a026 | ||
|
|
ae9e2c3470 | ||
|
|
2342ecbe37 | ||
|
|
b9019677db | ||
|
|
8f0426fbc8 | ||
|
|
dcfa909a35 | ||
|
|
9e229c70c5 | ||
|
|
091c75882b | ||
|
|
f13caaad98 | ||
|
|
1390f09e39 | ||
|
|
d9cb5abcce | ||
|
|
5d277beb3c | ||
|
|
bf4d1f5c85 | ||
|
|
8298fe8643 | ||
|
|
28c75eb321 | ||
|
|
f63c80c51a | ||
|
|
10d89236e4 | ||
|
|
8757d6641e | ||
|
|
6abc780f79 | ||
|
|
915ab9813d | ||
|
|
a69d22c1d1 | ||
|
|
bd73c91f77 | ||
|
|
b685bf5e41 | ||
|
|
9be21fac85 | ||
|
|
3a6e34a516 | ||
|
|
4243ad0ad5 | ||
|
|
e8d3eba9cb | ||
|
|
ecca6e3e1f | ||
|
|
818fe1f083 | ||
|
|
4b3412fdfb | ||
|
|
c2ce6a4f38 | ||
|
|
897ef934f0 | ||
|
|
c10d6fd34f | ||
|
|
5c1dbefdc4 | ||
|
|
a3089c3db7 | ||
|
|
427cb32903 | ||
|
|
3bb37e3ac8 | ||
|
|
bc70680adf | ||
|
|
e10dda291f | ||
|
|
4b1e1682c8 | ||
|
|
e2012b205c | ||
|
|
faace33d75 | ||
|
|
1d8df3355b | ||
|
|
de1bbda00a | ||
|
|
5b08c33a72 | ||
|
|
8bcf92a2ed | ||
|
|
57d42a7596 | ||
|
|
e1abff2486 | ||
|
|
c58f103b76 | ||
|
|
e216e11076 | ||
|
|
4825d36504 | ||
|
|
136a6748a0 | ||
|
|
db65a1b213 | ||
|
|
96334e2f37 | ||
|
|
ac831498c6 | ||
|
|
9f4957dfe7 | ||
|
|
16156beca2 | ||
|
|
5ba1f86da1 | ||
|
|
55aa823584 | ||
|
|
0e1dab2177 | ||
|
|
f6564c660f | ||
|
|
f3eb2e399d | ||
|
|
6b05e493d7 | ||
|
|
15d4e28722 | ||
|
|
edb225fb70 | ||
|
|
299fba054c | ||
|
|
ad6a943704 | ||
|
|
86dd9aac8d | ||
|
|
53ec7e4e32 | ||
|
|
0aeb032752 | ||
|
|
d49dae7577 | ||
|
|
c20db16891 | ||
|
|
50da2f0b90 | ||
|
|
0e49050cb6 | ||
|
|
aa469ea121 | ||
|
|
69f8ef881a | ||
|
|
ad752c7b83 | ||
|
|
5be80a30c7 | ||
|
|
c300b8136e | ||
|
|
f593909e78 | ||
|
|
08c112bdaa | ||
|
|
b4a4ac6102 | ||
|
|
74878c5a48 | ||
|
|
6934a0a84e | ||
|
|
41c1d663b0 | ||
|
|
43af2c3dc5 | ||
|
|
e4ef4be7b6 | ||
|
|
54c785ce97 | ||
|
|
9e3c591927 | ||
|
|
34d0455190 | ||
|
|
5e0d5bf9a5 | ||
|
|
c848989637 | ||
|
|
c2eae3e6ba | ||
|
|
d1f399be09 | ||
|
|
0fb82ac152 | ||
|
|
3d026a201b | ||
|
|
142947bce1 | ||
|
|
bf37985dd8 | ||
|
|
59ac3050ce | ||
|
|
4f1fdc2820 | ||
|
|
2e03577552 | ||
|
|
332bcbe48d | ||
|
|
89d2b9f20a | ||
|
|
8677964e8c | ||
|
|
a8240a9a4b | ||
|
|
3f07878d93 | ||
|
|
e0cde80184 | ||
|
|
aaa25ee5e4 | ||
|
|
44c6babbfd | ||
|
|
4b2a1c0761 | ||
|
|
f1fcf5e71d | ||
|
|
10b0ac9fd7 | ||
|
|
402d757542 | ||
|
|
12817cf72c | ||
|
|
7cc19db80e | ||
|
|
5fa21ea0c1 | ||
|
|
60ffdf0e25 | ||
|
|
f9b385b6f6 | ||
|
|
18b2d83293 | ||
|
|
8dc22712de | ||
|
|
a78241794a | ||
|
|
e48643cf91 | ||
|
|
718f2d9d2e | ||
|
|
1e68e8e16c | ||
|
|
53c8844b86 | ||
|
|
3dd4a7306a | ||
|
|
45cedb5060 | ||
|
|
5e540ada42 | ||
|
|
2a7d03f3c3 | ||
|
|
970ec4b2ad | ||
|
|
5335b783dc | ||
|
|
2ab95676f8 | ||
|
|
8f4930497d | ||
|
|
f90e053f50 | ||
|
|
82f0943905 | ||
|
|
f89bff54a8 | ||
|
|
bf35cf0b1f | ||
|
|
484a7ab7e1 | ||
|
|
150612330a | ||
|
|
d39db6bb0b | ||
|
|
8b18ceffd5 | ||
|
|
3e263e62d3 | ||
|
|
e2684dd5a3 | ||
|
|
9a85789125 | ||
|
|
c7fad183d7 | ||
|
|
d8c6ceed44 | ||
|
|
4afbe86fd3 | ||
|
|
dc3d88180d | ||
|
|
06c23d195f | ||
|
|
59f8e7aa41 | ||
|
|
2623c7d49c | ||
|
|
dd95f0a8b0 | ||
|
|
f16b4ae9ad | ||
|
|
2e742189c8 | ||
|
|
514dbed271 | ||
|
|
1b7f94fdeb | ||
|
|
6bdf6286c8 | ||
|
|
c4d80f81a9 | ||
|
|
70c1ca6d6e | ||
|
|
bba94a4415 | ||
|
|
e5b9601f76 | ||
|
|
486da9870a | ||
|
|
f8f09681b3 | ||
|
|
2524e36a7c | ||
|
|
c38ac43dfb | ||
|
|
826bfafb38 | ||
|
|
d0bb871cc8 | ||
|
|
aea70ed7b4 | ||
|
|
75b20ad907 | ||
|
|
436e95550a | ||
|
|
c673d48448 | ||
|
|
3b754ec401 | ||
|
|
65d507c902 | ||
|
|
0cfcb0d5e9 | ||
|
|
5d126aa46c | ||
|
|
abb88190d2 | ||
|
|
c9a579b1df | ||
|
|
ef99e22783 | ||
|
|
9d70c7dd49 | ||
|
|
056ce314c5 | ||
|
|
332b9bd3ca | ||
|
|
ba3e60f317 | ||
|
|
a690c54d7f | ||
|
|
3a2c403b09 | ||
|
|
ad5d8040b8 | ||
|
|
5a4b3721a7 | ||
|
|
d3b145c6bf | ||
|
|
7010df4729 | ||
|
|
103d22e07c | ||
|
|
a90b1ae5b5 | ||
|
|
34adf49df9 | ||
|
|
9545fe060d | ||
|
|
d3a9d1b1b0 | ||
|
|
564318e455 | ||
|
|
dcf8dd4ab5 | ||
|
|
24e9c7cc24 | ||
|
|
b5bbf78829 | ||
|
|
610c4bc11d | ||
|
|
456639613b | ||
|
|
682efd0318 | ||
|
|
0c11f5b4a2 | ||
|
|
5be6aa7ed2 | ||
|
|
22dc0a5e6c | ||
|
|
c3d03afa30 | ||
|
|
f3bdbb0d1f | ||
|
|
388c92f214 | ||
|
|
0afb943dfc | ||
|
|
734bd597cc | ||
|
|
95a6f60c0d | ||
|
|
1e1572146d | ||
|
|
3ec9cfb159 | ||
|
|
d204459414 | ||
|
|
9ba48d51f0 | ||
|
|
d336d7cbbd | ||
|
|
dc79e55ffe | ||
|
|
c9b91e905e | ||
|
|
af9630bde8 | ||
|
|
2bd800a2d2 | ||
|
|
6d185c0cc2 | ||
|
|
0282811bd1 | ||
|
|
ad4b7e2ecd | ||
|
|
b604b1bcc8 | ||
|
|
a70eb6577d | ||
|
|
48817f62e6 | ||
|
|
6d932076c2 | ||
|
|
90a416f1fa | ||
|
|
72929f58bd | ||
|
|
b110b530a2 | ||
|
|
68f7a5a16b | ||
|
|
baf32319f7 | ||
|
|
59b5b552aa | ||
|
|
7dd67710de | ||
|
|
2f9fff391e | ||
|
|
6cd9d1d27b | ||
|
|
15c79f2de9 | ||
|
|
2d5d63b72b | ||
|
|
10be4f041f | ||
|
|
7bc3ed07a0 | ||
|
|
1999468d09 | ||
|
|
fdb807c8c8 | ||
|
|
caf26b8402 | ||
|
|
1a33129af4 | ||
|
|
8b99ff6a03 | ||
|
|
4a63317ae3 | ||
|
|
54d679b576 | ||
|
|
1531ee9e32 | ||
|
|
3813f0da91 | ||
|
|
3ac2392126 | ||
|
|
bb7e18765d | ||
|
|
0c64ad14d4 | ||
|
|
646d51ff52 | ||
|
|
9bdf3c270f | ||
|
|
83524bc25a | ||
|
|
7bd4bda08e | ||
|
|
7f3e2cb60d | ||
|
|
e6c5857974 | ||
|
|
96ab6e56ab | ||
|
|
c87d3a5421 | ||
|
|
58d13f4ceb | ||
|
|
3b782d001d | ||
|
|
e747ae8bb3 | ||
|
|
db0222a6a4 | ||
|
|
d8bdf45283 | ||
|
|
46dc80d46d | ||
|
|
1055e7eaed | ||
|
|
4316a7691a | ||
|
|
cc5c1b4d8e | ||
|
|
6c775d21e5 | ||
|
|
976646de0f | ||
|
|
788f5176e1 | ||
|
|
c018db6839 | ||
|
|
9c5dfa2db0 | ||
|
|
302bcd5757 | ||
|
|
8602ee5fd7 | ||
|
|
dc41e6a2a3 | ||
|
|
31a54e2c09 | ||
|
|
07c8bacb2c | ||
|
|
dd8456767a | ||
|
|
ae5170aca3 | ||
|
|
b2313e7783 | ||
|
|
33451d5f38 | ||
|
|
e044c53dfa | ||
|
|
b749211fcb | ||
|
|
41f4981fb8 | ||
|
|
2bfe071b38 | ||
|
|
df099238c6 | ||
|
|
33534976aa | ||
|
|
2a741501bc | ||
|
|
8cce940f29 | ||
|
|
e409774c95 | ||
|
|
2be638406b | ||
|
|
8989a09bf1 | ||
|
|
1e5544464a | ||
|
|
172a37be19 | ||
|
|
76a0c27608 | ||
|
|
977450f33c | ||
|
|
3441d9868b | ||
|
|
d63c534cf5 | ||
|
|
3b35f80a36 | ||
|
|
724926bcae | ||
|
|
1fae951a1c | ||
|
|
c3fbc7defc | ||
|
|
6b9e4add2f | ||
|
|
d8ddc74ac3 | ||
|
|
d3dd96847c | ||
|
|
611785d124 | ||
|
|
5a2f211ec5 | ||
|
|
788dcd2349 | ||
|
|
ffb9287769 | ||
|
|
085a6e3f0c | ||
|
|
d5f2342221 | ||
|
|
9921a5b93f | ||
|
|
792733441e | ||
|
|
65f4afd4b6 | ||
|
|
19a7c409b0 | ||
|
|
509369f4ca | ||
|
|
9d113f8d2a | ||
|
|
51dca78bcf | ||
|
|
387065ed75 | ||
|
|
3d79f47cec | ||
|
|
d10336fe9f | ||
|
|
2741b3bcc6 | ||
|
|
637ee4908f | ||
|
|
88f7195133 | ||
|
|
88687e53ef | ||
|
|
8d52db954f | ||
|
|
d147b6dfe6 | ||
|
|
c040b98fd8 | ||
|
|
c1fc954bf4 | ||
|
|
61cb2a3c5e | ||
|
|
7d63a31aad | ||
|
|
d622b70300 | ||
|
|
e8c937f5ed | ||
|
|
d6c0bca47d | ||
|
|
cdd8097331 | ||
|
|
17f78725f4 | ||
|
|
423f56f978 | ||
|
|
9a1896a9d7 | ||
|
|
423c7401aa | ||
|
|
a407097408 | ||
|
|
c6b0639c90 | ||
|
|
10032744d7 | ||
|
|
ac9958b44c | ||
|
|
ec4ec73b3a | ||
|
|
8badbf9329 | ||
|
|
70e76d80ef | ||
|
|
251a656da6 | ||
|
|
80c0bcefe0 | ||
|
|
511f42fe87 | ||
|
|
e44dfb46c6 | ||
|
|
b9f4b026a4 | ||
|
|
cdcbd9ea37 | ||
|
|
2dbe45b880 | ||
|
|
252b33f14d | ||
|
|
0e0d854d3d | ||
|
|
975263d255 | ||
|
|
7180dfcec6 | ||
|
|
5f5f91345d | ||
|
|
e4c057c4b2 | ||
|
|
5749b76f92 | ||
|
|
3ab9e5fdc8 | ||
|
|
692ddb8738 | ||
|
|
6aa7345a39 | ||
|
|
2893b44b31 | ||
|
|
faa685cb9f | ||
|
|
12b640695b | ||
|
|
b6f3c95597 | ||
|
|
f6d299c2b5 | ||
|
|
400b8a12eb | ||
|
|
96b43f8b55 | ||
|
|
a561e3334a | ||
|
|
283d5d3152 | ||
|
|
28aa56c7ac | ||
|
|
256f9fe5b4 | ||
|
|
ae5a469cd2 | ||
|
|
f916469fe4 | ||
|
|
9ebbf3ab3c | ||
|
|
ea55b6f327 | ||
|
|
88c2f78a35 | ||
|
|
9d3b481efd | ||
|
|
9cdfe18088 | ||
|
|
3f197bf875 | ||
|
|
4c6cd032ec | ||
|
|
f90e3c6819 | ||
|
|
acd5a53234 | ||
|
|
5f4ddcea4d | ||
|
|
15e8ab6a85 | ||
|
|
20a0ac9776 | ||
|
|
67fa50fa6b | ||
|
|
1af2270e8d | ||
|
|
6723dee304 | ||
|
|
648ee44d95 | ||
|
|
29ecbe684e | ||
|
|
9027bff387 | ||
|
|
f1271f6b8b | ||
|
|
6e4250138b | ||
|
|
acd5c5e0d8 | ||
|
|
a7ec16f7ca | ||
|
|
1af9c1a680 | ||
|
|
8f3776af4b | ||
|
|
c0e4311279 | ||
|
|
22e7507be9 | ||
|
|
bfc03ecc72 | ||
|
|
3da3ad90f8 | ||
|
|
3ec2c33718 | ||
|
|
d553214b50 | ||
|
|
8f13107cbe | ||
|
|
1a28c40f3b | ||
|
|
ecb1a4d42c | ||
|
|
0df89a338b | ||
|
|
8db81058fa | ||
|
|
656d1e0881 | ||
|
|
55e2b656c5 | ||
|
|
4eff00d4cf | ||
|
|
4742bb0788 | ||
|
|
898c888406 | ||
|
|
0b6d0d6a95 | ||
|
|
446cb3e415 | ||
|
|
f31f7fe348 | ||
|
|
83f135ef22 | ||
|
|
3857ed4b63 | ||
|
|
275dd698ad | ||
|
|
6d9db9b5f2 | ||
|
|
0383b5ac7c | ||
|
|
a1a6c841f1 | ||
|
|
ed678b00ff | ||
|
|
420fe26296 | ||
|
|
011c8665fb | ||
|
|
58dd42f73b | ||
|
|
11923388db | ||
|
|
9e26f31128 | ||
|
|
399474aa3f | ||
|
|
69ce73b6eb | ||
|
|
c580507af6 | ||
|
|
c8b8c3a62a | ||
|
|
65e3177b90 | ||
|
|
60ff3f53cf | ||
|
|
69ae8ea1b1 | ||
|
|
deeaa02b0a | ||
|
|
95e012b05e | ||
|
|
d145951e0e | ||
|
|
54dd2f9ad8 | ||
|
|
1d84ca8b53 | ||
|
|
0a3db650bd | ||
|
|
077f217ae8 | ||
|
|
e2ca220da7 | ||
|
|
37c8b5aa51 | ||
|
|
953220b9a7 | ||
|
|
9e43751b93 | ||
|
|
5867715598 | ||
|
|
4798525dbe | ||
|
|
3a651710db | ||
|
|
ca6b70a427 | ||
|
|
c2c5e50800 | ||
|
|
c34d245131 | ||
|
|
33bf4aeff6 | ||
|
|
7082cb7e42 |
29
.editorconfig
Normal file
29
.editorconfig
Normal file
@@ -0,0 +1,29 @@
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{js,ts,tsx}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.html]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.scss]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.mdx]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
10
.eslintignore
Normal file
10
.eslintignore
Normal file
@@ -0,0 +1,10 @@
|
||||
.tmp
|
||||
**/.git
|
||||
**/.hg
|
||||
**/.pnp.*
|
||||
**/.svn
|
||||
**/.yarn/**
|
||||
**/build
|
||||
**/dist/**
|
||||
**/node_modules
|
||||
**/temp
|
||||
60
.eslintrc.js
60
.eslintrc.js
@@ -1,30 +1,38 @@
|
||||
module.exports = {
|
||||
plugins: ['@typescript-eslint', 'prettier'],
|
||||
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
|
||||
parserOptions: {
|
||||
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
|
||||
sourceType: 'module', // Allows for the use of imports
|
||||
ecmaFeatures: {
|
||||
jsx: true, // Allows for the parsing of JSX
|
||||
extends: ['@payloadcms'],
|
||||
overrides: [
|
||||
{
|
||||
extends: ['plugin:@typescript-eslint/disable-type-checked'],
|
||||
files: ['*.js', '*.cjs', '*.json', '*.md', '*.yml', '*.yaml'],
|
||||
},
|
||||
},
|
||||
extends: [
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:prettier/recommended',
|
||||
'prettier',
|
||||
],
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
node: {
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
||||
{
|
||||
files: ['packages/eslint-config-payload/**'],
|
||||
rules: {
|
||||
'perfectionist/sort-objects': 'off',
|
||||
},
|
||||
},
|
||||
},
|
||||
ignorePatterns: ['node_modules', 'src/templates', 'dist'],
|
||||
rules: {
|
||||
'prettier/prettier': 'error',
|
||||
'import/prefer-default-export': 'off',
|
||||
'no-underscore-dangle': 'off',
|
||||
'@typescript-eslint/consistent-type-imports': 'warn',
|
||||
},
|
||||
};
|
||||
{
|
||||
files: ['package.json', 'tsconfig.json'],
|
||||
rules: {
|
||||
'perfectionist/sort-array-includes': 'off',
|
||||
'perfectionist/sort-astro-attributes': 'off',
|
||||
'perfectionist/sort-classes': 'off',
|
||||
'perfectionist/sort-enums': 'off',
|
||||
'perfectionist/sort-exports': 'off',
|
||||
'perfectionist/sort-imports': 'off',
|
||||
'perfectionist/sort-interfaces': 'off',
|
||||
'perfectionist/sort-jsx-props': 'off',
|
||||
'perfectionist/sort-keys': 'off',
|
||||
'perfectionist/sort-maps': 'off',
|
||||
'perfectionist/sort-named-exports': 'off',
|
||||
'perfectionist/sort-named-imports': 'off',
|
||||
'perfectionist/sort-object-types': 'off',
|
||||
'perfectionist/sort-objects': 'off',
|
||||
'perfectionist/sort-svelte-attributes': 'off',
|
||||
'perfectionist/sort-union-types': 'off',
|
||||
'perfectionist/sort-vue-attributes': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
root: true,
|
||||
}
|
||||
|
||||
18
.git-blame-ignore-revs
Normal file
18
.git-blame-ignore-revs
Normal file
@@ -0,0 +1,18 @@
|
||||
# lint and format
|
||||
ae7d6f97d205491390f15850e5104c7abded1550
|
||||
1fbda85cd04a774cb978778b0f813001664c53dd
|
||||
|
||||
# prettier all templates
|
||||
75a428ddc4672903455998eaba7ae9f9d710bf85
|
||||
|
||||
# re-run prettier and eslint everywhere again
|
||||
cdaa0acd61d3001407609915bd573b78565d5571
|
||||
|
||||
# prettier write again
|
||||
dfac7395fed95fc5d8ebca21b786ce70821942bb
|
||||
|
||||
# lint and format plugin-cloud
|
||||
fb7d1be2f3325d076b7c967b1730afcef37922c2
|
||||
|
||||
# lint and format create-payload-app
|
||||
5fd3d430001efe86515262ded5e26f00c1451181
|
||||
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto eol=lf
|
||||
50
.github/CODEOWNERS
vendored
Normal file
50
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
# Order matters. The last matching pattern takes precedence.
|
||||
|
||||
### Catch-all ###
|
||||
* @denolfe @jmikrut @DanRibbens
|
||||
.* @denolfe @jmikrut @DanRibbens
|
||||
|
||||
### Core ###
|
||||
/packages/payload/ @denolfe @jmikrut @DanRibbens
|
||||
/packages/payload/src/uploads/ @denolfe
|
||||
/packages/payload/src/admin/ @jmikrut @jacobsfletch @JarrodMFlesch
|
||||
|
||||
### Adapters ###
|
||||
/packages/bundler-*/ @denolfe @jmikrut @DanRibbens @JarrodMFlesch
|
||||
/packages/db-*/ @denolfe @jmikrut @DanRibbens
|
||||
/packages/richtext-*/ @denolfe @jmikrut @DanRibbens @AlessioGr
|
||||
|
||||
### Plugins ###
|
||||
/packages/plugin-*/ @denolfe @jmikrut @DanRibbens @jacobsfletch @JarrodMFlesch @AlessioGr
|
||||
/packages/plugin-cloud*/ @denolfe
|
||||
/packages/plugin-form-builder/ @jacobsfletch
|
||||
/packages/plugin-live-preview*/ @jacobsfletch
|
||||
/packages/plugin-nested-docs/ @jacobsfletch
|
||||
/packages/plugin-password-protection/ @jmikrut
|
||||
/packages/plugin-redirects/ @jacobsfletch
|
||||
/packages/plugin-search/ @jacobsfletch
|
||||
/packages/plugin-sentry/ @JessChowdhury
|
||||
/packages/plugin-seo/ @jacobsfletch
|
||||
/packages/plugin-stripe/ @jacobsfletch
|
||||
/packages/plugin-zapier/ @JarrodMFlesch
|
||||
|
||||
### Examples ###
|
||||
/examples/ @jacobsfletch
|
||||
/examples/testing/ @JarrodMFlesch
|
||||
/examples/email/ @JessChowdhury
|
||||
/examples/whitelabel/ @JessChowdhury
|
||||
|
||||
### Templates ###
|
||||
/templates/ @jacobsfletch
|
||||
/templates/blank/ @denolfe
|
||||
|
||||
### Misc ###
|
||||
/packages/create-payload-app/ @denolfe
|
||||
/packages/eslint-config-payload/ @denolfe
|
||||
/packages/payload-admin-bar/ @jacobsfletch
|
||||
|
||||
### Root ###
|
||||
/package.json @denolfe
|
||||
/scripts/ @denolfe
|
||||
/.github/ @denolfe
|
||||
/.github/CODEOWNERS @denolfe
|
||||
47
.github/ISSUE_TEMPLATE/1.bug_report.yml
vendored
Normal file
47
.github/ISSUE_TEMPLATE/1.bug_report.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
name: Bug Report
|
||||
description: Create a bug report for Payload
|
||||
labels: ['[possible-bug]']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
*Note:* Feature requests should be opened as [discussions](https://github.com/payloadcms/payload/discussions/new?category=feature-requests-ideas).
|
||||
- type: input
|
||||
id: reproduction-link
|
||||
attributes:
|
||||
label: Link to reproduction
|
||||
description: Want us to look into your issue faster? Follow the [reproduction-guide](https://github.com/payloadcms/payload/blob/main/.github/reproduction-guide.md) for more information.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Describe the Bug
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: To Reproduce
|
||||
description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken.
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Payload Version
|
||||
description: What version of Payload are you running?
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: adapters-plugins
|
||||
attributes:
|
||||
label: Adapters and Plugins
|
||||
description: What adapters and plugins are you using? ie. db-mongodb, db-postgres, bundler-webpack, etc.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: Before submitting the issue, go through the steps you've written down to make sure the steps provided are detailed and clear.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: Contributors should be able to follow the steps provided in order to reproduce the bug.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance!
|
||||
13
.github/ISSUE_TEMPLATE/DOCUMENTATION_ISSUE.md
vendored
Normal file
13
.github/ISSUE_TEMPLATE/DOCUMENTATION_ISSUE.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: Documentation Issue
|
||||
about: Suggest fix to Payload documentation
|
||||
labels: 'documentation'
|
||||
---
|
||||
|
||||
# Documentation Issue
|
||||
|
||||
<!--- Please provide a summary of the documentation issue -->
|
||||
|
||||
## Additional Details
|
||||
|
||||
<!--- Provide any other additional details -->
|
||||
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Feature Request
|
||||
url: https://github.com/payloadcms/payload/discussions
|
||||
about: Suggest an idea to improve Payload in our GitHub Discussions
|
||||
- name: Question about Payload
|
||||
url: https://github.com/payloadcms/payload/discussions
|
||||
about: Please ask Payload-related questions in our GitHub Discussions
|
||||
23
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
23
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Description
|
||||
|
||||
<!-- Please include a summary of the pull request and any related issues it fixes. Please also include relevant motivation and context. -->
|
||||
|
||||
- [ ] I have read and understand the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository.
|
||||
|
||||
## Type of change
|
||||
|
||||
<!-- Please delete options that are not relevant. -->
|
||||
|
||||
- [ ] Chore (non-breaking change which does not add functionality)
|
||||
- [ ] Bug fix (non-breaking change which fixes an issue)
|
||||
- [ ] New feature (non-breaking change which adds functionality)
|
||||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
|
||||
- [ ] Change to the [templates](https://github.com/payloadcms/payload/tree/main/templates) directory (does not affect core functionality)
|
||||
- [ ] Change to the [examples](https://github.com/payloadcms/payload/tree/main/examples) directory (does not affect core functionality)
|
||||
- [ ] This change requires a documentation update
|
||||
|
||||
## Checklist:
|
||||
|
||||
- [ ] I have added tests that prove my fix is effective or that my feature works
|
||||
- [ ] Existing test suite passes locally with my changes
|
||||
- [ ] I have made corresponding changes to the documentation
|
||||
64
.github/reproduction-guide.md
vendored
Normal file
64
.github/reproduction-guide.md
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
# Reproduction Guide
|
||||
|
||||
1. [Fork](https://github.com/payloadcms/payload/fork) this repo
|
||||
2. Optionally, create a new branch for your reproduction
|
||||
3. Run `pnpm install` to install dependencies
|
||||
4. Open up the `test/_community` directory
|
||||
5. Add any necessary `collections/globals/fields` in this directory to recreate the issue you are experiencing
|
||||
6. Run `pnpm dev _community` to start the admin panel
|
||||
|
||||
**NOTE:** The goal is to isolate the problem by reducing the number of `collections/globals/fields` you add to the `test/_community` folder. This folder is _not_ meant for you to copy your project into, but rather recreate the issue you are experiencing with minimal config.
|
||||
|
||||
## Example test directory file tree
|
||||
|
||||
```text
|
||||
.
|
||||
├── config.ts
|
||||
├── int.spec.ts
|
||||
├── e2e.spec.ts
|
||||
└── payload-types.ts
|
||||
```
|
||||
|
||||
- `config.ts` - This is the _granular_ Payload config for testing. It should be as lightweight as possible. Reference existing configs for an example
|
||||
- `int.spec.ts` [Optional] - This is the test file run by jest. Any test file must have a `*int.spec.ts` suffix.
|
||||
- `e2e.spec.ts` [Optional] - This is the end-to-end test file that will load up the admin UI using the above config and run Playwright tests.
|
||||
- `payload-types.ts` - Generated types from `config.ts`. Generate this file by running `pnpm dev:generate-types _community`.
|
||||
|
||||
The directory split up in this way specifically to reduce friction when creating tests and to add the ability to boot up Payload with that specific config. You should modify the files in `test/_community` to get started.
|
||||
|
||||
<br />
|
||||
|
||||
## Testing is optional but encouraged
|
||||
|
||||
An issue does not need to have failing tests — reproduction steps with your forked repo are enough at this point. Some people like to dive deeper and we want to give you the guidance/tools to do so. Read more below:
|
||||
|
||||
### Running integration tests (Payload API tests)
|
||||
|
||||
First install [Jest Runner for VSVode](https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner).
|
||||
|
||||
There are a couple ways run integration tests:
|
||||
|
||||
- **Granularly** - you can run individual tests in vscode by installing the Jest Runner plugin and using that to run individual tests. Clicking the `debug` button will run the test in debug mode allowing you to set break points.
|
||||
|
||||
<img src="https://raw.githubusercontent.com/payloadcms/payload/main/packages/payload/src/admin/assets/images/github/int-debug.png" />
|
||||
|
||||
- **Manually** - you can run all int tests in the `/test/_community/int.spec.ts` file by running the following command:
|
||||
|
||||
```bash
|
||||
pnpm test:int _community
|
||||
```
|
||||
|
||||
### Running E2E tests (Admin Panel UI tests)
|
||||
|
||||
The easiest way to run E2E tests is to install
|
||||
|
||||
- [Playwright Test for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright)
|
||||
- [Playwright Runner](https://marketplace.visualstudio.com/items?itemName=ortoni.ortoni)
|
||||
|
||||
Once they are installed you can open the `testing` tab in vscode sidebar and drill down to the test you want to run, i.e. `/test/_community/e2e.spec.ts`
|
||||
|
||||
<img src="https://raw.githubusercontent.com/payloadcms/payload/main/packages/payload/src/admin/assets/images/github/e2e-debug.png" />
|
||||
|
||||
#### Notes
|
||||
|
||||
The default credentials are `dev@payloadcms.com` as email and `test` as password. They can be found in `test/credentials.ts`. By default, these will be autofilled, so no log-in is required.
|
||||
343
.github/workflows/main.yml
vendored
Normal file
343
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,343 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened, reopened, synchronize ]
|
||||
push:
|
||||
branches: [ 'main' ]
|
||||
|
||||
jobs:
|
||||
changes:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: read
|
||||
outputs:
|
||||
needs_build: ${{ steps.filter.outputs.needs_build }}
|
||||
templates: ${{ steps.filter.outputs.templates }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 25
|
||||
- uses: dorny/paths-filter@v2
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
needs_build:
|
||||
- '.github/workflows/**'
|
||||
- 'packages/**'
|
||||
- 'test/**'
|
||||
- 'pnpm-lock.yaml'
|
||||
- 'package.json'
|
||||
templates:
|
||||
- 'templates/**'
|
||||
- name: Log all filter results
|
||||
run: |
|
||||
echo "needs_build: ${{ steps.filter.outputs.needs_build }}"
|
||||
echo "templates: ${{ steps.filter.outputs.templates }}"
|
||||
|
||||
core-build:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.needs_build == 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 25
|
||||
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Get pnpm store directory
|
||||
shell: bash
|
||||
run: |
|
||||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||
|
||||
- uses: actions/cache@v3
|
||||
name: Setup pnpm cache
|
||||
with:
|
||||
path: ${{ env.STORE_PATH }}
|
||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
|
||||
- run: pnpm install
|
||||
- run: pnpm run build
|
||||
|
||||
- name: Cache build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
needs: core-build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
database: [ mongoose, postgres, postgres-uuid, supabase ]
|
||||
env:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: payloadtests
|
||||
AWS_ENDPOINT_URL: http://127.0.0.1:4566
|
||||
AWS_ACCESS_KEY_ID: localstack
|
||||
AWS_SECRET_ACCESS_KEY: localstack
|
||||
AWS_REGION: us-east-1
|
||||
|
||||
steps:
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Restore build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
- name: Start LocalStack
|
||||
run: pnpm docker:start
|
||||
|
||||
- name: Start PostgreSQL
|
||||
uses: CasperWA/postgresql-action@v1.2
|
||||
with:
|
||||
postgresql version: '14' # See https://hub.docker.com/_/postgres for available versions
|
||||
postgresql db: ${{ env.POSTGRES_DB }}
|
||||
postgresql user: ${{ env.POSTGRES_USER }}
|
||||
postgresql password: ${{ env.POSTGRES_PASSWORD }}
|
||||
if: matrix.database == 'postgres' || matrix.database == 'postgres-uuid'
|
||||
|
||||
- name: Install Supabase CLI
|
||||
uses: supabase/setup-cli@v1
|
||||
with:
|
||||
version: latest
|
||||
if: matrix.database == 'supabase'
|
||||
|
||||
- name: Initialize Supabase
|
||||
run: |
|
||||
supabase init
|
||||
supabase start
|
||||
if: matrix.database == 'supabase'
|
||||
|
||||
- name: Wait for PostgreSQL
|
||||
run: sleep 30
|
||||
if: matrix.database == 'postgres' || matrix.database == 'postgres-uuid'
|
||||
|
||||
- name: Configure PostgreSQL
|
||||
run: |
|
||||
psql "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB" -c "CREATE ROLE runner SUPERUSER LOGIN;"
|
||||
psql "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB" -c "SELECT version();"
|
||||
echo "POSTGRES_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB" >> $GITHUB_ENV
|
||||
if: matrix.database == 'postgres' || matrix.database == 'postgres-uuid'
|
||||
|
||||
- name: Configure Supabase
|
||||
run: |
|
||||
echo "POSTGRES_URL=postgresql://postgres:postgres@127.0.0.1:54322/postgres" >> $GITHUB_ENV
|
||||
if: matrix.database == 'supabase'
|
||||
|
||||
- name: Component Tests
|
||||
run: pnpm test:components
|
||||
|
||||
- name: Integration Tests
|
||||
run: pnpm test:int
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=8096
|
||||
PAYLOAD_DATABASE: ${{ matrix.database }}
|
||||
POSTGRES_URL: ${{ env.POSTGRES_URL }}
|
||||
|
||||
tests-e2e:
|
||||
runs-on: ubuntu-latest
|
||||
needs: core-build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
part: [ 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8 ]
|
||||
|
||||
steps:
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Restore build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
- name: E2E Tests
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
retry_on: error
|
||||
max_attempts: 2
|
||||
timeout_minutes: 15
|
||||
command: pnpm test:e2e --part ${{ matrix.part }} --bail
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: test-results
|
||||
path: test-results/
|
||||
retention-days: 1
|
||||
|
||||
tests-type-generation:
|
||||
runs-on: ubuntu-latest
|
||||
needs: core-build
|
||||
|
||||
steps:
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Restore build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
- name: Generate Payload Types
|
||||
run: pnpm dev:generate-types fields
|
||||
|
||||
- name: Generate GraphQL schema file
|
||||
run: pnpm dev:generate-graphql-schema graphql-schema-gen
|
||||
|
||||
build-packages:
|
||||
runs-on: ubuntu-latest
|
||||
needs: core-build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg:
|
||||
- db-mongodb
|
||||
- db-postgres
|
||||
- bundler-webpack
|
||||
- bundler-vite
|
||||
- richtext-slate
|
||||
- richtext-lexical
|
||||
- live-preview
|
||||
- live-preview-react
|
||||
|
||||
steps:
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Restore build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
- name: Build ${{ matrix.pkg }}
|
||||
run: pnpm turbo run build --filter=${{ matrix.pkg }}
|
||||
|
||||
plugins:
|
||||
runs-on: ubuntu-latest
|
||||
needs: core-build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg:
|
||||
- create-payload-app
|
||||
- plugin-cloud
|
||||
- plugin-cloud-storage
|
||||
- plugin-form-builder
|
||||
- plugin-nested-docs
|
||||
- plugin-search
|
||||
- plugin-sentry
|
||||
- plugin-seo
|
||||
|
||||
steps:
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Restore build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
- name: Build ${{ matrix.pkg }}
|
||||
run: pnpm turbo run build --filter=${{ matrix.pkg }}
|
||||
|
||||
- name: Test ${{ matrix.pkg }}
|
||||
run: pnpm --filter ${{ matrix.pkg }} run test
|
||||
if: matrix.pkg != 'create-payload-app' # degit doesn't work within GitHub Actions
|
||||
|
||||
templates:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.templates == 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
template: [ blank, website, ecommerce ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 25
|
||||
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Start MongoDB
|
||||
uses: supercharge/mongodb-github-action@1.10.0
|
||||
with:
|
||||
mongodb-version: 6.0
|
||||
|
||||
- name: Build Template
|
||||
run: |
|
||||
cd templates/${{ matrix.template }}
|
||||
cp .env.example .env
|
||||
yarn install
|
||||
yarn build
|
||||
yarn generate:types
|
||||
131
.gitignore
vendored
131
.gitignore
vendored
@@ -1,6 +1,17 @@
|
||||
coverage
|
||||
package-lock.json
|
||||
dist
|
||||
/.idea/*
|
||||
!/.idea/runConfigurations
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/node,macos,vscode,windows
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos,vscode,windows
|
||||
test-results
|
||||
.devcontainer
|
||||
.localstack
|
||||
/migrations
|
||||
.localstack
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/node,macos,windows,webstorm,sublimetext,visualstudiocode
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos,windows,webstorm,sublimetext,visualstudiocode
|
||||
|
||||
### macOS ###
|
||||
# General
|
||||
@@ -8,9 +19,6 @@
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
@@ -30,6 +38,10 @@ Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
### macOS Patch ###
|
||||
# iCloud generated files
|
||||
*.icloud
|
||||
|
||||
### Node ###
|
||||
# Logs
|
||||
logs
|
||||
@@ -38,6 +50,7 @@ npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
@@ -74,8 +87,8 @@ build/Release
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
|
||||
# TypeScript v1 declaration files
|
||||
# Snowpack dependency directory (https://snowpack.dev/)
|
||||
web_modules/
|
||||
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
@@ -86,6 +99,9 @@ typings/
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional stylelint cache
|
||||
.stylelintcache
|
||||
|
||||
# Microbundle cache
|
||||
.rpt2_cache/
|
||||
.rts2_cache_cjs/
|
||||
@@ -101,10 +117,12 @@ typings/
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
|
||||
# dotenv environment variable files
|
||||
.env
|
||||
.env
|
||||
.env.test
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.local
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
@@ -112,6 +130,7 @@ typings/
|
||||
|
||||
# Next.js build output
|
||||
.next
|
||||
out
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
@@ -126,6 +145,12 @@ dist
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
|
||||
# vuepress v2.x temp and cache directory
|
||||
.temp
|
||||
|
||||
# Docusaurus cache and generated files
|
||||
.docusaurus
|
||||
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
|
||||
@@ -141,13 +166,91 @@ dist
|
||||
# Stores VSCode versions used for testing VSCode extensions
|
||||
.vscode-test
|
||||
|
||||
|
||||
# yarn v2
|
||||
.yarn/cache
|
||||
.yarn/unplugged
|
||||
.yarn/build-state.yml
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
### Node Patch ###
|
||||
# Serverless Webpack directories
|
||||
.webpack/
|
||||
|
||||
# Optional stylelint cache
|
||||
|
||||
# SvelteKit build / generate output
|
||||
.svelte-kit
|
||||
|
||||
### SublimeText ###
|
||||
# Cache files for Sublime Text
|
||||
*.tmlanguage.cache
|
||||
*.tmPreferences.cache
|
||||
*.stTheme.cache
|
||||
|
||||
# Workspace files are user-specific
|
||||
*.sublime-workspace
|
||||
|
||||
# Project files should be checked into the repository, unless a significant
|
||||
# proportion of contributors will probably not be using Sublime Text
|
||||
# *.sublime-project
|
||||
|
||||
# SFTP configuration file
|
||||
sftp-config.json
|
||||
sftp-config-alt*.json
|
||||
|
||||
# Package control specific files
|
||||
Package Control.last-run
|
||||
Package Control.ca-list
|
||||
Package Control.ca-bundle
|
||||
Package Control.system-ca-bundle
|
||||
Package Control.cache/
|
||||
Package Control.ca-certs/
|
||||
Package Control.merged-ca-bundle
|
||||
Package Control.user-ca-bundle
|
||||
oscrypto-ca-bundle.crt
|
||||
bh_unicode_properties.cache
|
||||
|
||||
# Sublime-github package stores a github token in this file
|
||||
# https://packagecontrol.io/packages/sublime-github
|
||||
GitHub.sublime-settings
|
||||
|
||||
### VisualStudioCode ###
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
### VisualStudioCode Patch ###
|
||||
# Ignore all local history of files
|
||||
.history
|
||||
.ionide
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
# File-based project format
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
||||
### Windows ###
|
||||
# Windows thumbnail cache files
|
||||
@@ -175,4 +278,6 @@ $RECYCLE.BIN/
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/node,macos,windows,webstorm,sublimetext,visualstudiocode
|
||||
|
||||
/build
|
||||
|
||||
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
pnpm run lint-staged --quiet
|
||||
5
.idea/runConfigurations/Run_Dev_Fields.xml
generated
Normal file
5
.idea/runConfigurations/Run_Dev_Fields.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Run Dev Fields" type="NodeJSConfigurationType" application-parameters="fields" path-to-js-file="node_modules/.pnpm/nodemon@3.0.3/node_modules/nodemon/bin/nodemon.js" working-dir="$PROJECT_DIR$">
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
5
.idea/runConfigurations/Run_Dev__community.xml
generated
Normal file
5
.idea/runConfigurations/Run_Dev__community.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Run Dev _community" type="NodeJSConfigurationType" application-parameters="_community" path-to-js-file="node_modules/.pnpm/nodemon@3.0.3/node_modules/nodemon/bin/nodemon.js" working-dir="$PROJECT_DIR$">
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
1
.node-version
Normal file
1
.node-version
Normal file
@@ -0,0 +1 @@
|
||||
v18.17.1
|
||||
2
.npmrc
Normal file
2
.npmrc
Normal file
@@ -0,0 +1,2 @@
|
||||
symlink=true
|
||||
node-linker=isolated # due to a typescript bug, isolated mode requires @types/express-serve-static-core, terser and monaco-editor to be installed https://github.com/microsoft/TypeScript/issues/47663#issuecomment-1519138189 along with two other changes in the code which I've marked with (tsbugisolatedmode) in the code
|
||||
11
.prettierignore
Normal file
11
.prettierignore
Normal file
@@ -0,0 +1,11 @@
|
||||
.tmp
|
||||
**/.git
|
||||
**/.hg
|
||||
**/.pnp.*
|
||||
**/.svn
|
||||
**/.yarn/**
|
||||
**/build
|
||||
**/dist/**
|
||||
**/node_modules
|
||||
**/temp
|
||||
**/docs/**
|
||||
6
.prettierrc.json
Normal file
6
.prettierrc.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all",
|
||||
"printWidth": 100,
|
||||
"semi": false
|
||||
}
|
||||
16
.release-it.pre.js
Normal file
16
.release-it.pre.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
verbose: true,
|
||||
git: {
|
||||
requireCleanWorkingDir: false,
|
||||
commit: false,
|
||||
push: false,
|
||||
tag: false,
|
||||
},
|
||||
npm: {
|
||||
skipChecks: true,
|
||||
tag: 'beta',
|
||||
},
|
||||
hooks: {
|
||||
'before:init': ['pnpm install', 'pnpm clean', 'pnpm build'],
|
||||
},
|
||||
}
|
||||
3
.vscode/extensions.json
vendored
Normal file
3
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
|
||||
}
|
||||
184
.vscode/launch.json
vendored
Normal file
184
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,184 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
"configurations": [
|
||||
{
|
||||
"command": "pnpm run dev _community",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Community",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "pnpm run dev plugin-cloud-storage",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev - plugin-cloud-storage",
|
||||
"request": "launch",
|
||||
"type": "node-terminal",
|
||||
"env": {
|
||||
"PAYLOAD_PUBLIC_CLOUD_STORAGE_ADAPTER": "s3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "pnpm run dev fields",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Fields",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "pnpm run dev:postgres fields",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Postgres",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "pnpm run dev versions",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Versions",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "pnpm run dev localization",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Localization",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "pnpm run dev uploads",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Uploads",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "PAYLOAD_BUNDLER=vite pnpm run dev fields",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Run Dev Fields (Vite)",
|
||||
"request": "launch",
|
||||
"type": "node-terminal",
|
||||
"env": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "pnpm run test:int live-preview",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Live Preview Int Tests",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "pnpm run test:int plugin-search",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"name": "Search Plugin Int Tests",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts build",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/fields/config.ts",
|
||||
"PAYLOAD_BUNDLER": "vite",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
},
|
||||
"name": "Build CLI - Vite",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts build",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/fields/config.ts",
|
||||
"PAYLOAD_ANALYZE_BUNDLE": "true",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
},
|
||||
"name": "Build CLI - Webpack",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts generate:types",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/_community/config.ts",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
},
|
||||
"name": "Generate Types CLI",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:status",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
||||
"PAYLOAD_DATABASE": "postgres",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
// "PAYLOAD_DROP_DATABASE": "true",
|
||||
},
|
||||
"name": "Migrate CLI - status",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:create yass",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
||||
"PAYLOAD_DATABASE": "postgres",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
// "PAYLOAD_DROP_DATABASE": "true",
|
||||
},
|
||||
"name": "Migrate CLI - create",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:down",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
||||
"PAYLOAD_DATABASE": "mongoose",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
// "PAYLOAD_DROP_DATABASE": "true",
|
||||
},
|
||||
"name": "Migrate CLI - down",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:reset",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
||||
"PAYLOAD_DATABASE": "mongoose",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
// "PAYLOAD_DROP_DATABASE": "true",
|
||||
},
|
||||
"name": "Migrate CLI - reset",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
},
|
||||
{
|
||||
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:refresh",
|
||||
"env": {
|
||||
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
||||
"PAYLOAD_DATABASE": "mongoose",
|
||||
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
||||
// "PAYLOAD_DROP_DATABASE": "true",
|
||||
},
|
||||
"name": "Migrate CLI - refresh",
|
||||
"outputCapture": "std",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
}
|
||||
],
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0"
|
||||
}
|
||||
39
.vscode/settings.json
vendored
Normal file
39
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"npm.packageManager": "pnpm",
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"editor.formatOnSaveMode": "file",
|
||||
// All ESLint rules to 'warn' to differentate from TypeScript's 'error' level
|
||||
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
// Load .git-blame-ignore-revs file
|
||||
"gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".git-blame-ignore-revs"]
|
||||
}
|
||||
4481
CHANGELOG.md
Normal file
4481
CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load Diff
124
CONTRIBUTING.md
Normal file
124
CONTRIBUTING.md
Normal file
@@ -0,0 +1,124 @@
|
||||
# Contributing to Payload
|
||||
|
||||
Below you'll find a set of guidelines for how to contribute to Payload.
|
||||
|
||||
## Opening issues
|
||||
|
||||
Before you submit an issue, please check all existing [open and closed issues](https://github.com/payloadcms/payload/issues) to see if your issue has previously been resolved or is already known. If there is already an issue logged, feel free to upvote it by adding a :thumbsup: [reaction](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). If you would like to submit a new issue, please fill out our Issue Template to the best of your ability so we can accurately understand your report.
|
||||
|
||||
## Security issues & vulnerabilities
|
||||
|
||||
If you come across an issue related to security, or a potential attack vector within Payload or one of its dependencies, please DO NOT create a publicly viewable issue. Instead, please contact us directly at [`dev@payloadcms.com`](mailto:dev@payloadcms.com). We will do everything we can to respond to the issue as soon as possible.
|
||||
|
||||
If you find a vulnerability within the core Payload repository, and we determine that it is remediable and of significant nature, we will be happy to pay you a reward for your findings and diligence. [`Contact us`](mailto:dev@payloadcms.com) to find out more.
|
||||
|
||||
## Documentation edits
|
||||
|
||||
Payload documentation can be found directly within its codebase, and you can feel free to make changes / improvements to any of it through opening a PR. We utilize these files directly in our website and will periodically deploy documentation updates as necessary.
|
||||
|
||||
## Building additional features
|
||||
|
||||
If you're an incredibly awesome person and want to help us make Payload even better through new features or additions, we would be thrilled to work with you.
|
||||
|
||||
## Design Contributions
|
||||
|
||||
When it comes to design-related changes or additions, it's crucial for us to ensure a cohesive user experience and alignment with our broader design vision. Before embarking on any implementation that would affect the design or UI/UX, we ask that you **first share your design proposal** with us for review and approval.
|
||||
|
||||
Our design review ensures that proposed changes fit seamlessly with other components, both existing and planned. This step is meant to prevent unintentional design inconsistencies and to save you from investing time in implementing features that might need significant design alterations later.
|
||||
|
||||
### Before Starting
|
||||
|
||||
To help us work on new features, you can create a new feature request post in [GitHub Discussion](https://github.com/payloadcms/payload/discussions) or discuss it in our [Discord](https://discord.com/invite/payload). New functionality often has large implications across the entire Payload repo, so it is best to discuss the architecture and approach before starting work on a pull request.
|
||||
|
||||
### Installation & Requirements
|
||||
|
||||
Payload is structured as a Monorepo, encompassing not only the core Payload platform but also various plugins and packages. To install all required dependencies, you have to run `pnpm install` once in the root directory. **PNPM IS REQUIRED!** Yarn or npm will not work - you will have to use pnpm to develop in the core repository. In most systems, the easiest way to install pnpm is to run `corepack enable` in your terminal.
|
||||
|
||||
If you're coming from a very outdated version of payload, it is recommended to nuke the node_modules folder before running pnpm install. On UNIX systems, you can easily do that using the `pnpm clean:unix` command, which will delete all node_modules folders and build artefacts.
|
||||
|
||||
It is also recommended to use at least Node v18 or higher. You can check your current node version by typing `node --version` in your terminal. The easiest way to switch between different node versions is to use [nvm](https://github.com/nvm-sh/nvm#intro).
|
||||
|
||||
### Code
|
||||
|
||||
Most new functionality should keep testing in mind. All top-level directories within the `test/` directory are for testing a specific category: `fields`, `collections`, etc.
|
||||
|
||||
If it makes sense to add your feature to an existing test directory, please do so.
|
||||
|
||||
A typical directory with `test/` will be structured like this:
|
||||
|
||||
```text
|
||||
.
|
||||
├── config.ts
|
||||
├── int.spec.ts
|
||||
├── e2e.spec.ts
|
||||
└── payload-types.ts
|
||||
```
|
||||
|
||||
- `config.ts` - This is the _granular_ Payload config for testing. It should be as lightweight as possible. Reference existing configs for an example
|
||||
- `int.spec.ts` - This is the test file run by jest. Any test file must have a `*int.spec.ts` suffix.
|
||||
- `e2e.spec.ts` - This is the end-to-end test file that will load up the admin UI using the above config and run Playwright tests. These tests are typically only needed if a large change is being made to the Admin UI.
|
||||
- `payload-types.ts` - Generated types from `config.ts`. Generate this file by running `pnpm dev:generate-types my-test-dir`. Replace `my-test-dir` with the name of your testing directory.
|
||||
|
||||
Each test directory is split up in this way specifically to reduce friction when creating tests and to add the ability to boot up Payload with that specific config.
|
||||
|
||||
The following command will start Payload with your config: `pnpm dev my-test-dir`. Example: `pnpm dev fields` for the test/`fields` test suite. This command will start up Payload using your config and refresh a test database on every restart. If you're using VS Code, the most common run configs are automatically added to your editor - you should be able to find them in your VS Code launch tab.
|
||||
|
||||
By default, payload will [automatically log you in](https://payloadcms.com/docs/authentication/config#admin-autologin) with the default credentials. To disable that, you can either pass in the --no-auto-login flag (example: `pnpm dev my-test-dir --no-auto-login`) or set the `PAYLOAD_PUBLIC_DISABLE_AUTO_LOGIN` environment variable to `false`.
|
||||
|
||||
The default credentials are `dev@payloadcms.com` as E-Mail and `test` as password. These are used in the auto-login.
|
||||
|
||||
### Testing with your own MongoDB database
|
||||
|
||||
If you wish to use your own MongoDB database for the `test` directory instead of using the in memory database, all you need to do is add the following env vars to the `test/dev.ts` file:
|
||||
|
||||
- `process.env.NODE_ENV`
|
||||
- `process.env.PAYLOAD_TEST_MONGO_URL`
|
||||
- Simply set `process.env.NODE_ENV` to `test` and set `process.env.PAYLOAD_TEST_MONGO_URL` to your MongoDB URL e.g. `mongodb://127.0.0.1/your-test-db`.
|
||||
|
||||
### Using Postgres
|
||||
|
||||
If you have postgres installed on your system, you can also run the test suites using postgres. By default, mongodb is used.
|
||||
|
||||
To do that, simply set the `PAYLOAD_DATABASE` environment variable to `postgres`.
|
||||
|
||||
### Running the e2e and int tests
|
||||
|
||||
You can run the entire test suite using `pnpm test`. If you wish to only run e2e tests, you can use `pnpm test:e2e`. If you wish to only run int tests, you can use `pnpm test:int`.
|
||||
|
||||
By default, `pnpm test:int` will only run int test against MongoDB. To run int tests against postgres, you can use `pnpm test:int:postgres`. You will have to have postgres installed on your system for this to work.
|
||||
|
||||
### Commits
|
||||
|
||||
We use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for our commit messages. Please follow this format when creating commits. Here are some examples:
|
||||
|
||||
- `feat: adds new feature`
|
||||
- `fix: fixes bug`
|
||||
- `docs: adds documentation`
|
||||
- `chore: does chore`
|
||||
|
||||
Here's a breakdown of the format. At the top-level, we use the following types to categorize our commits:
|
||||
|
||||
- `feat`: new feature that adds functionality. These are automatically added to the changelog when creating new releases.
|
||||
- `fix`: a fix to an existing feature. These are automatically added to the changelog when creating new releases.
|
||||
- `docs`: changes to [docs](./docs) only. These do not appear in the changelog.
|
||||
- `chore`: changes to code that is neither a fix nor a feature (e.g. refactoring, adding tests, etc.). These do not appear in the changelog.
|
||||
|
||||
If you are committing to [templates](./templates) or [examples](./examples), use the `chore` type with the proper scope, like this:
|
||||
|
||||
- `chore(templates): adds feature to template`
|
||||
- `chore(examples): fixes bug in example`
|
||||
|
||||
## Pull Requests
|
||||
|
||||
For all Pull Requests, you should be extremely descriptive about both your problem and proposed solution. If there are any affected open or closed issues, please leave the issue number in your PR message.
|
||||
|
||||
## Previewing docs
|
||||
|
||||
This is how you can preview changes you made locally to the docs:
|
||||
|
||||
1. Clone our [website repository](https://github.com/payloadcms/website)
|
||||
2. Run `yarn install`
|
||||
3. Duplicate the `.env.example` file and rename it to `.env`
|
||||
4. Add a `DOCS_DIR` environment variable to the `.env` file which points to the absolute path of your modified docs folder. For example `DOCS_DIR=/Users/yourname/Documents/GitHub/payload/docs`
|
||||
5. Run `yarn run fetchDocs:local`. If this was successful, you should see no error messages and the following output: *Docs successfully written to /.../website/src/app/docs.json*. There could be error messages if you have incorrect markdown in your local docs folder. In this case, it will tell you how you can fix it
|
||||
6. You're done! Now you can start the website locally using `yarn run dev` and preview the docs under [http://localhost:3000/docs/](http://localhost:3000/docs/)
|
||||
69
ISSUE_GUIDE.md
Normal file
69
ISSUE_GUIDE.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# Reporting an issue
|
||||
|
||||
To report an issue, please follow the steps below:
|
||||
|
||||
1. Fork this repository
|
||||
2. Add necessary collections/globals/fields to the `test/_community` directory to recreate the issue you are experiencing
|
||||
3. Create an issue and add a link to your forked repo
|
||||
|
||||
**The goal is to isolate the problem by reducing the number of fields/collections you add to the test/\_community folder. This folder is not meant for you to copy your project into, but to recreate the issue you are experiencing with minimal config.**
|
||||
|
||||
## Test directory file tree explanation
|
||||
|
||||
```text
|
||||
.
|
||||
├── config.ts
|
||||
├── int.spec.ts
|
||||
├── e2e.spec.ts
|
||||
└── payload-types.ts
|
||||
```
|
||||
|
||||
- `config.ts` - This is the _granular_ Payload config for testing. It should be as lightweight as possible. Reference existing configs for an example
|
||||
- `int.spec.ts` [Optional] - This is the test file run by jest. Any test file must have a `*int.spec.ts` suffix.
|
||||
- `e2e.spec.ts` [Optional] - This is the end-to-end test file that will load up the admin UI using the above config and run Playwright tests.
|
||||
- `payload-types.ts` - Generated types from `config.ts`. Generate this file by running `pnpm dev:generate-types _community`.
|
||||
|
||||
The directory split up in this way specifically to reduce friction when creating tests and to add the ability to boot up Payload with that specific config. You should modify the files in `test/_community` to get started.
|
||||
|
||||
## How to start test collection admin UI
|
||||
|
||||
To start the admin panel so you can manually recreate your issue, you can run the following command:
|
||||
|
||||
```bash
|
||||
# This command will start up Payload using your config
|
||||
# NOTE: it will wipe the test database on restart
|
||||
pnpm dev _community
|
||||
```
|
||||
|
||||
## Testing is optional but encouraged
|
||||
|
||||
An issue does not need to have failing tests — reproduction steps with your forked repo are enough at this point. Some people like to dive deeper and we want to give you the guidance/tools to do so. Read more below.
|
||||
|
||||
### How to run integration tests (Payload API tests)
|
||||
|
||||
There are a couple ways to do this:
|
||||
|
||||
- **Granularly** - you can run individual tests in vscode by installing the Jest Runner plugin and using that to run individual tests. Clicking the `debug` button will run the test in debug mode allowing you to set break points.
|
||||
|
||||
<img src="https://raw.githubusercontent.com/payloadcms/payload/main/src/admin/assets/images/github/int-debug.png" />
|
||||
|
||||
- **Manually** - you can run all int tests in the `/test/_community/int.spec.ts` file by running the following command:
|
||||
|
||||
```bash
|
||||
pnpm test:int _community
|
||||
```
|
||||
|
||||
### How to run E2E tests (Admin Panel UI tests)
|
||||
|
||||
The easiest way to run E2E tests is to install
|
||||
|
||||
- [Playwright Test for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright)
|
||||
- [Playwright Runner](https://marketplace.visualstudio.com/items?itemName=ortoni.ortoni)
|
||||
|
||||
Once they are installed you can open the `testing` tab in vscode sidebar and drill down to the test you want to run, i.e. `/test/_community/e2e.spec.ts`
|
||||
|
||||
<img src="https://raw.githubusercontent.com/payloadcms/payload/main/src/admin/assets/images/github/e2e-debug.png" />
|
||||
|
||||
#### Notes
|
||||
|
||||
- It is recommended to add the test credentials (located in `test/credentials.ts`) to your autofill for `localhost:3000/admin` as this will be required on every nodemon restart. The default credentials are `dev@payloadcms.com` as email and `test` as password.
|
||||
141
README.md
141
README.md
@@ -1,23 +1,128 @@
|
||||
# Create Payload App
|
||||
<a href="https://payloadcms.com"><img width="100%" src="https://github.com/payloadcms/payload/blob/main/packages/payload/src/admin/assets/images/github-banner-alt.jpg?raw=true" alt="Payload headless CMS Admin panel built with React" /></a>
|
||||
<br />
|
||||
<br />
|
||||
<p align="left">
|
||||
<a href="https://github.com/payloadcms/payload/actions"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/payloadcms/payload/main.yml?style=flat-square"></a>
|
||||
|
||||
<a href="https://discord.gg/payload"><img alt="Discord" src="https://img.shields.io/discord/967097582721572934?label=Discord&color=7289da&style=flat-square" /></a>
|
||||
|
||||
<a href="https://www.npmjs.com/package/payload"><img alt="npm" src="https://img.shields.io/npm/v/payload?style=flat-square" /></a>
|
||||
|
||||
<a href="https://twitter.com/payloadcms"><img src="https://img.shields.io/badge/follow-payloadcms-1DA1F2?logo=twitter&style=flat-square" alt="Payload Twitter" /></a>
|
||||
</p>
|
||||
<hr/>
|
||||
<h4>
|
||||
<a target="_blank" href="https://payloadcms.com/docs/getting-started/what-is-payload" rel="dofollow"><strong>Explore the Docs</strong></a> · <a target="_blank" href="https://payloadcms.com/community-help" rel="dofollow"><strong>Community Help</strong></a> · <a target="_blank" href="https://demo.payloadcms.com/" rel="dofollow"><strong>Try Live Demo</strong></a> · <a target="_blank" href="https://github.com/payloadcms/payload/discussions/1539" rel="dofollow"><strong>Roadmap</strong></a> · <a target="_blank" href="https://www.g2.com/products/payload-cms/reviews#reviews" rel="dofollow"><strong>View G2 Reviews</strong></a>
|
||||
</h4>
|
||||
<hr/>
|
||||
|
||||
CLI for easily starting new Payload project
|
||||
> [!IMPORTANT]
|
||||
> 🎉 <strong>Payload 2.0 is now available!</strong> Read more in the <a target="_blank" href="https://payloadcms.com/blog/payload-2-0" rel="dofollow"><strong>announcement post</strong></a>.
|
||||
|
||||
## Usage
|
||||
<h3>Benefits over a regular CMS</h3>
|
||||
<ul>
|
||||
<li>Don’t hit some third-party SaaS API, hit your own API</li>
|
||||
<li>Use your own database and own your data</li>
|
||||
<li>It's just Express - do what you want outside of Payload</li>
|
||||
<li>No need to learn how Payload works - if you know JS, you know Payload</li>
|
||||
<li>No vendor lock-in</li>
|
||||
<li>Avoid microservices hell - get everything (even auth) in one place</li>
|
||||
<li>Never touch ancient WP code again</li>
|
||||
<li>Build faster, never hit a roadblock</li>
|
||||
<li>Both admin and backend are 100% extensible</li>
|
||||
</ul>
|
||||
|
||||
## ☁️ Deploy instantly with Payload Cloud.
|
||||
|
||||
Create a cloud account, connect your GitHub, and [deploy in minutes](https://payloadcms.com/new).
|
||||
|
||||
## 🚀 Get started by self-hosting completely free, forever.
|
||||
|
||||
Before beginning to work with Payload, make sure you have all of the [required software](https://payloadcms.com/docs/getting-started/installation).
|
||||
|
||||
```text
|
||||
|
||||
USAGE
|
||||
|
||||
$ npx create-payload-app
|
||||
|
||||
OPTIONS
|
||||
|
||||
--name my-payload-app Set project name
|
||||
--template template_name Choose specific template
|
||||
|
||||
Available templates: js-blank, js-blog, js-todo, ts-blank, ts-blog, ts-todo
|
||||
|
||||
--use-npm Use npm to install dependencies
|
||||
--no-deps Do not install any dependencies
|
||||
--help Show help
|
||||
npx create-payload-app@latest
|
||||
```
|
||||
|
||||
Alternatively, it only takes about five minutes to [create an app from scratch](https://payloadcms.com/docs/getting-started/installation#from-scratch).
|
||||
|
||||
## 🖱️ One-click templates
|
||||
|
||||
Jumpstart your next project by starting with a pre-made template. These are production-ready, end-to-end solutions designed to get you to market as fast as possible.
|
||||
|
||||
### [🛒 E-Commerce](https://github.com/payloadcms/payload/tree/main/templates/ecommerce)
|
||||
|
||||
Eliminate the need to combine Shopify and a CMS, and instead do it all with Payload + Stripe. Comes with a beautiful, fully functional front-end complete with shopping cart, checkout, orders, and much more.
|
||||
|
||||
### [🌐 Website](https://github.com/payloadcms/payload/tree/main/templates/website)
|
||||
|
||||
Build any kind of website, blog, or portfolio from small to enterprise. Comes with a beautiful, fully functional front-end complete with posts, projects, comments, and much more.
|
||||
|
||||
We're constantly adding more templates to our [Templates Directory](https://github.com/payloadcms/payload/tree/main/templates). If you maintain your own template, consider adding the `payload-template` topic to your GitHub repository for others to find.
|
||||
|
||||
- [Official Templates](https://github.com/payloadcms/payload/tree/main/templates)
|
||||
- [Community Templates](https://github.com/topics/payload-template)
|
||||
|
||||
## ✨ Features
|
||||
|
||||
- Completely free and open-source
|
||||
- [GraphQL](https://payloadcms.com/docs/graphql/overview), [REST](https://payloadcms.com/docs/rest-api/overview), and [Local](https://payloadcms.com/docs/local-api/overview) APIs
|
||||
- [Easily customizable ReactJS Admin](https://payloadcms.com/docs/admin/overview)
|
||||
- [Fully self-hosted](https://payloadcms.com/docs/production/deployment)
|
||||
- [Extensible Authentication](https://payloadcms.com/docs/authentication/overview)
|
||||
- [Local file storage & upload](https://payloadcms.com/docs/upload/overview)
|
||||
- [Version History and Drafts](https://payloadcms.com/docs/versions/overview)
|
||||
- [Field-based Localization](https://payloadcms.com/docs/configuration/localization)
|
||||
- [Block-based Layout Builder](https://payloadcms.com/docs/fields/blocks)
|
||||
- [Extensible SlateJS rich text editor](https://payloadcms.com/docs/fields/rich-text)
|
||||
- [Array field type](https://payloadcms.com/docs/fields/array)
|
||||
- [Field conditional logic](https://payloadcms.com/docs/fields/overview#conditional-logic)
|
||||
- Extremely granular [Access Control](https://payloadcms.com/docs/access-control/overview)
|
||||
- [Document and field-level hooks](https://payloadcms.com/docs/hooks/overview) for every action Payload provides
|
||||
- Built with Typescript & very Typescript-friendly
|
||||
- Intensely fast API
|
||||
- Highly secure thanks to HTTP-only cookies, CSRF protection, and more
|
||||
|
||||
<a target="_blank" href="https://github.com/payloadcms/payload/discussions"><strong>Request Feature</strong></a>
|
||||
|
||||
## 🗒️ Documentation
|
||||
|
||||
Check out the [Payload website](https://payloadcms.com/docs/getting-started/what-is-payload) to find in-depth documentation for everything that Payload offers.
|
||||
|
||||
Migrating from v1 to v2? Check out the [2.0 Release Notes](https://github.com/payloadcms/payload/releases/tag/v2.0.0) on how to do it.
|
||||
|
||||
## 🙋 Contributing
|
||||
|
||||
If you want to add contributions to this repository, please follow the instructions in [contributing.md](./CONTRIBUTING.md).
|
||||
|
||||
## 📚 Examples
|
||||
|
||||
The [Examples Directory](./examples) is a great resource for learning how to setup Payload in a variety of different ways, but you can also find great examples in our blog and throughout our social media.
|
||||
|
||||
- [Examples Directory](./examples)
|
||||
- [Payload Blog](https://payloadcms.com/blog)
|
||||
- [Payload YouTube](https://www.youtube.com/@payloadcms)
|
||||
|
||||
## 🔌 Plugins
|
||||
|
||||
Payload is highly extensible and allows you to install or distribute plugins that add or remove functionality. There are both officially-supported and community-supported plugins available. If you maintain your own plugin, consider adding the `payload-plugin` topic to your GitHub repository for others to find.
|
||||
|
||||
- [Official Plugins](https://github.com/orgs/payloadcms/repositories?q=topic%3Apayload-plugin)
|
||||
- [Community Plugins](https://github.com/topics/payload-plugin)
|
||||
|
||||
## 🚨 Need help?
|
||||
|
||||
There are lots of good conversations and resources in our Github Discussions board and our Discord Server. If you're struggling with something, chances are, someone's already solved what you're up against. :point_down:
|
||||
|
||||
- [GitHub Discussions](https://github.com/payloadcms/payload/discussions)
|
||||
- [GitHub Issues](https://github.com/payloadcms/payload/issues)
|
||||
- [Discord](https://t.co/30APlsQUPB)
|
||||
- [Community Help](https://payloadcms.com/community-help)
|
||||
|
||||
## ⭐ Like what we're doing? Give us a star
|
||||
|
||||

|
||||
|
||||
## 👏 Thanks to all our contributors
|
||||
|
||||
<img align="left" src="https://contributors-img.web.app/image?repo=payloadcms/payload"/>
|
||||
|
||||
5
SECURITY.md
Normal file
5
SECURITY.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Security Policy
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Please report any security issues or concerns to [info@payloadcms.com](mailto:info@payloadcms.com).
|
||||
39
changelog.config.js
Normal file
39
changelog.config.js
Normal file
@@ -0,0 +1,39 @@
|
||||
module.exports = {
|
||||
// gitRawCommitsOpts: {
|
||||
// from: 'v2.0.9',
|
||||
// path: 'packages/payload',
|
||||
// },
|
||||
// infile: 'CHANGELOG.md',
|
||||
options: {
|
||||
preset: {
|
||||
name: 'conventionalcommits',
|
||||
types: [
|
||||
{ section: 'Features', type: 'feat' },
|
||||
{ section: 'Features', type: 'feature' },
|
||||
{ section: 'Bug Fixes', type: 'fix' },
|
||||
{ section: 'Documentation', type: 'docs' },
|
||||
],
|
||||
},
|
||||
},
|
||||
// outfile: 'NEW.md',
|
||||
writerOpts: {
|
||||
commitGroupsSort: (a, b) => {
|
||||
const groupOrder = ['Features', 'Bug Fixes', 'Documentation']
|
||||
return groupOrder.indexOf(a.title) - groupOrder.indexOf(b.title)
|
||||
},
|
||||
|
||||
// Scoped commits at the end, alphabetical sort
|
||||
commitsSort: (a, b) => {
|
||||
if (a.scope || b.scope) {
|
||||
if (!a.scope) return -1
|
||||
if (!b.scope) return 1
|
||||
return a.scope === b.scope
|
||||
? a.subject.localeCompare(b.subject)
|
||||
: a.scope.localeCompare(b.scope)
|
||||
}
|
||||
|
||||
// Alphabetical sort
|
||||
return a.subject.localeCompare(b.subject)
|
||||
},
|
||||
},
|
||||
}
|
||||
186
docs/access-control/collections.mdx
Normal file
186
docs/access-control/collections.mdx
Normal file
@@ -0,0 +1,186 @@
|
||||
---
|
||||
title: Collection Access Control
|
||||
label: Collections
|
||||
order: 20
|
||||
desc: With Collection-level Access Control you can define which users can create, read, update or delete Collections.
|
||||
keywords: collections, access control, permissions, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
You can define Collection-level Access Control within each Collection's `access` property. All Access Control functions accept one `args` argument.
|
||||
|
||||
## Available Controls
|
||||
|
||||
| Function | Allows/Denies Access |
|
||||
| ----------------------- | -------------------------------------------- |
|
||||
| **[`create`](#create)** | Used in the `create` operation |
|
||||
| **[`read`](#read)** | Used in the `find` and `findByID` operations |
|
||||
| **[`update`](#update)** | Used in the `update` operation |
|
||||
| **[`delete`](#delete)** | Used in the `delete` operation |
|
||||
|
||||
#### Auth-enabled Controls
|
||||
|
||||
If a Collection supports [`Authentication`](/docs/authentication/overview), the following Access Controls become available:
|
||||
|
||||
| Function | Allows/Denies Access |
|
||||
| ----------------------- | -------------------------------------------------------------- |
|
||||
| **[`admin`](#admin)** | Used to restrict access to the Payload Admin panel |
|
||||
| **[`unlock`](#unlock)** | Used to restrict which users can access the `unlock` operation |
|
||||
|
||||
**Example Collection config:**
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types';
|
||||
|
||||
export const Posts: CollectionConfig = {
|
||||
slug: "posts",
|
||||
// highlight-start
|
||||
access: {
|
||||
create: ({ req: { user } }) => { ... },
|
||||
read: ({ req: { user } }) => { ... },
|
||||
update: ({ req: { user } }) => { ... },
|
||||
delete: ({ req: { user } }) => { ... },
|
||||
admin: ({ req: { user } }) => { ... },
|
||||
},
|
||||
// highlight-end
|
||||
};
|
||||
```
|
||||
|
||||
### Create
|
||||
|
||||
Returns a boolean which allows/denies access to the `create` request.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| ---------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`data`** | The data passed to create the document with. |
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
const PublicUsers = {
|
||||
slug: 'public-users',
|
||||
access: {
|
||||
// highlight-start
|
||||
// allow guest users to self-registration
|
||||
create: () => true,
|
||||
// highlight-end
|
||||
...
|
||||
},
|
||||
fields: [ ... ],
|
||||
}
|
||||
```
|
||||
|
||||
### Read
|
||||
|
||||
Read access functions can return a boolean result or optionally return a [query constraint](/docs/queries/overview) which limits the documents that are returned to only those that match the constraint you provide. This can be helpful to restrict users' access to only certain documents however you specify.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| --------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`id`** | `id` of document requested, if within `findByID` |
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
import { Access } from 'payload/config'
|
||||
|
||||
const canReadPage: Access = ({ req: { user } }) => {
|
||||
// allow authenticated users
|
||||
if (user) {
|
||||
return true
|
||||
}
|
||||
// using a query constraint, guest users can access when a field named 'isPublic' is set to true
|
||||
return {
|
||||
// assumes we have a checkbox field named 'isPublic'
|
||||
isPublic: {
|
||||
equals: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Update
|
||||
|
||||
Update access functions can return a boolean result or optionally return a [query constraint](/docs/queries/overview) to limit the document(s) that can be updated by the currently authenticated user. For example, returning a `query` from the `update` Access Control is helpful in cases where you would like to restrict a user to only being able to update the documents containing a `createdBy` relationship field equal to the user's ID.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| ---------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`id`** | `id` of document requested to update |
|
||||
| **`data`** | The data passed to update the document with |
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
import { Access } from 'payload/config'
|
||||
|
||||
const canUpdateUser: Access = ({ req: { user }, id }) => {
|
||||
// allow users with a role of 'admin'
|
||||
if (user.roles && user.roles.some((role) => role === 'admin')) {
|
||||
return true
|
||||
}
|
||||
// allow any other users to update only oneself
|
||||
return user.id === id
|
||||
}
|
||||
```
|
||||
|
||||
### Delete
|
||||
|
||||
Similarly to the Update function, returns a boolean or a [query constraint](/docs/queries/overview) to limit which documents can be deleted by which users.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| --------- | --------------------------------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object with additional `user` property, which is the currently logged in user |
|
||||
| **`id`** | `id` of document requested to delete |
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
import { Access } from 'payload/config'
|
||||
|
||||
const canDeleteCustomer: Access = async ({ req, id }) => {
|
||||
if (!id) {
|
||||
// allow the admin UI to show controls to delete since it is indeterminate without the id
|
||||
return true
|
||||
}
|
||||
// query another collection using the id
|
||||
const result = await req.payload.find({
|
||||
collection: 'contracts',
|
||||
limit: 0,
|
||||
depth: 0,
|
||||
where: {
|
||||
customer: { equals: id },
|
||||
},
|
||||
})
|
||||
|
||||
return result.totalDocs === 0
|
||||
}
|
||||
```
|
||||
|
||||
### Admin
|
||||
|
||||
If the Collection is [used to access the Payload Admin panel](/docs/admin/overview#the-admin-user-collection), the `Admin` Access Control function determines whether or not the currently logged in user can access the admin UI.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| --------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
|
||||
### Unlock
|
||||
|
||||
Determines which users can [unlock](/docs/authentication/operations#unlock) other users who may be blocked from authenticating successfully due to [failing too many login attempts](/docs/authentication/config#options).
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| --------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
81
docs/access-control/fields.mdx
Normal file
81
docs/access-control/fields.mdx
Normal file
@@ -0,0 +1,81 @@
|
||||
---
|
||||
title: Field-level Access Control
|
||||
label: Fields
|
||||
order: 30
|
||||
desc: Field-level Access Control is specified within a field's config, and allows you to define which users can create, read or update Fields.
|
||||
keywords: fields, access control, permissions, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Field Access Control is specified with functions inside a field's config. All field-level Controls return a boolean value to allow or deny access for the specified operation. No field-level Access Controls support returning query constraints. All Access Control functions accept one `args` argument.
|
||||
|
||||
## Available Controls
|
||||
|
||||
| Function | Purpose |
|
||||
| ----------------------- | -------------------------------------------------------------------------------- |
|
||||
| **[`create`](#create)** | Allows or denies the ability to set a field's value when creating a new document |
|
||||
| **[`read`](#read)** | Allows or denies the ability to read a field's value |
|
||||
| **[`update`](#update)** | Allows or denies the ability to update a field's value |
|
||||
|
||||
**Example Collection config:**
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types';
|
||||
|
||||
export const Posts: CollectionConfig = {
|
||||
slug: 'posts',
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
// highlight-start
|
||||
access: {
|
||||
create: ({ req: { user } }) => { ... },
|
||||
read: ({ req: { user } }) => { ... },
|
||||
update: ({ req: { user } }) => { ... },
|
||||
},
|
||||
// highlight-end
|
||||
};
|
||||
],
|
||||
};
|
||||
```
|
||||
|
||||
### Create
|
||||
|
||||
Returns a boolean which allows or denies the ability to set a field's value when creating a new document. If `false` is returned, any passed values will be discarded.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`data`** | The full data passed to create the document. |
|
||||
| **`siblingData`** | Immediately adjacent field data passed to create the document. |
|
||||
|
||||
### Read
|
||||
|
||||
Returns a boolean which allows or denies the ability to read a field's value. If `false`, the entire property is omitted from the resulting document.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`id`** | `id` of the document being read |
|
||||
| **`doc`** | The full document data. |
|
||||
| **`siblingData`** | Immediately adjacent field data of the document being read. |
|
||||
|
||||
### Update
|
||||
|
||||
Returns a boolean which allows or denies the ability to update a field's value. If `false` is returned, any passed values will be discarded.
|
||||
|
||||
If `false` is returned and you attempt to update the field's value, the operation will **not** throw an error however the field will be omitted from the update operation and the value will remain unchanged.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`id`** | `id` of the document being updated |
|
||||
| **`data`** | The full data passed to update the document. |
|
||||
| **`siblingData`** | Immediately adjacent field data passed to update the document with. |
|
||||
| **`doc`** | The full document data, before the update is applied. |
|
||||
61
docs/access-control/globals.mdx
Normal file
61
docs/access-control/globals.mdx
Normal file
@@ -0,0 +1,61 @@
|
||||
---
|
||||
title: Globals Access Control
|
||||
label: Globals
|
||||
order: 40
|
||||
desc: Global-level Access Control is specified within each Global's `access` property and allows you to define which users can read or update Globals.
|
||||
keywords: globals, access control, permissions, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
You can define Global-level Access Control within each Global's `access` property. All Access Control functions accept one `args` argument.
|
||||
|
||||
\*\*Available argument properties:
|
||||
|
||||
## Available Controls
|
||||
|
||||
| Function | Allows/Denies Access |
|
||||
| ----------------------- | -------------------------------------- |
|
||||
| **[`read`](#read)** | Used in the `findOne` Global operation |
|
||||
| **[`update`](#update)** | Used in the `update` Global operation |
|
||||
|
||||
**Example Global config:**
|
||||
|
||||
```ts
|
||||
import { GlobalConfig } from 'payload/types'
|
||||
|
||||
const Header: GlobalConfig = {
|
||||
slug: 'header',
|
||||
// highlight-start
|
||||
access: {
|
||||
read: ({ req: { user } }) => {
|
||||
/* */
|
||||
},
|
||||
update: ({ req: { user } }) => {
|
||||
/* */
|
||||
},
|
||||
},
|
||||
// highlight-end
|
||||
}
|
||||
|
||||
export default Header
|
||||
```
|
||||
|
||||
### Read
|
||||
|
||||
Returns a boolean result or optionally a [query constraint](/docs/queries/overview) which limits who can read this global based on its current properties.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| --------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
|
||||
### Update
|
||||
|
||||
Returns a boolean result or optionally a [query constraint](/docs/queries/overview) which limits who can update this global based on its current properties.
|
||||
|
||||
**Available argument properties:**
|
||||
|
||||
| Option | Description |
|
||||
| ---------- | -------------------------------------------------------------------------- |
|
||||
| **`req`** | The Express `request` object containing the currently authenticated `user` |
|
||||
| **`data`** | The data passed to update the global with. |
|
||||
83
docs/access-control/overview.mdx
Normal file
83
docs/access-control/overview.mdx
Normal file
@@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Access Control
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Payload makes it simple to define and manage access control. By declaring roles, you can set permissions and restrict what your users can interact with.
|
||||
keywords: overview, access control, permissions, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Access control within Payload is extremely powerful while remaining easy and intuitive to manage. Declaring who should have access to what documents is no more complex than writing a simple JavaScript function that either returns a `boolean` or a [`query`](/docs/queries/overview) constraint to restrict which documents users can interact with.
|
||||
|
||||
<YouTube id="DoPLyXG26Dg" title="Overview of Payload Access Control" />
|
||||
|
||||
**Example use cases:**
|
||||
|
||||
- Allowing anyone `read` access to all `Post`s
|
||||
- Only allowing public access to `Post`s where a `status` field is equal to `published`
|
||||
- Giving only `User`s with a `role` field equal to `admin` the ability to delete `Page`(s)
|
||||
- Allowing anyone to create `ContactSubmission`s, but only logged in users to `read`, `update` or `delete` them
|
||||
- Restricting a `User` to only be able to see their own `Order`(s), but no others
|
||||
- Allowing `User`s that belong to a certain `Organization` to access only that `Organization`'s `Resource`s
|
||||
|
||||
### Default Settings
|
||||
|
||||
**By default, all Collections and Globals require that a user is logged in to be able to interact in any way.** The default Access Control function evaluates the `user` from the Express `req` and returns `true` if a user is logged in, and `false` if not.
|
||||
|
||||
**Default Access function:**
|
||||
|
||||
```ts
|
||||
const defaultPayloadAccess = ({ req: { user } }) => {
|
||||
// Return `true` if a user is found
|
||||
// and `false` if it is undefined or null
|
||||
return Boolean(user)
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
In the Local API, all Access Control functions are skipped by default, allowing your server to do
|
||||
whatever it needs. But, you can opt back in by setting the option <strong>
|
||||
overrideAccess
|
||||
</strong>{' '}
|
||||
to <strong>false</strong>.
|
||||
</Banner>
|
||||
|
||||
### Access Control Types
|
||||
|
||||
You can manage access within Payload on three different levels:
|
||||
|
||||
- [Collections](/docs/access-control/collections)
|
||||
- [Fields](/docs/access-control/fields)
|
||||
- [Globals](/docs/access-control/globals)
|
||||
|
||||
### When Access Control is Executed
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
Access control functions are utilized in two places. It's important to understand how and when
|
||||
your access control is executed.
|
||||
</Banner>
|
||||
|
||||
#### As you execute operations
|
||||
|
||||
When you perform Payload operations like `create`, `read`, `update`, and `delete`, your access control functions will be executed before any changes or operations are completed.
|
||||
|
||||
#### Within the Admin UI
|
||||
|
||||
The Payload Admin UI responds dynamically to the access control that you define. For example, if you restrict editing a `ExampleCollection` to only users that feature a `role` of `admin`, the Payload Admin UI will **hide** the `ExampleCollection` from the Admin UI entirely. This is super powerful and allows you to control who can do what with your Admin UI.
|
||||
|
||||
To accomplish this, Payload ships with an `Access` operation, which is executed when a user logs into the Admin UI. Payload will execute each one of your access control functions, across all collections, globals, and fields, at the top level and return a response that contains a reflection of what the currently authenticated user can do with your application.
|
||||
|
||||
### Argument Availability
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
When your access control functions are executed via the <strong>access</strong> operation, the{' '}
|
||||
<strong>id</strong> and <strong>data</strong> arguments will be <strong>undefined</strong>,
|
||||
because Payload is executing your functions without referencing a specific document.
|
||||
</Banner>
|
||||
|
||||
If you use `id` or `data` within your access control functions, make sure to check that they are defined first. If they are not, then you can assume that your access control is being executed via the `access` operation, to determine solely what the user can do within the Admin UI.
|
||||
54
docs/admin/bundlers.mdx
Normal file
54
docs/admin/bundlers.mdx
Normal file
@@ -0,0 +1,54 @@
|
||||
---
|
||||
title: Bundlers
|
||||
label: Bundlers
|
||||
order: 60
|
||||
desc: Bundlers are used to bundle the code that serves Payload's Admin Panel.
|
||||
---
|
||||
|
||||
Payload has two official bundlers, the [Webpack Bundler](/docs/admin/webpack) and the [Vite Bundler](/docs/admin/vite). You must install a bundler to use the admin panel.
|
||||
|
||||
##### Install a bundler
|
||||
|
||||
Webpack (recommended):
|
||||
|
||||
```text
|
||||
yarn add @payloadcms/bundler-webpack
|
||||
```
|
||||
|
||||
Vite (beta):
|
||||
|
||||
```text
|
||||
yarn add @payloadcms/bundler-vite
|
||||
```
|
||||
|
||||
##### Configure the bundler
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
|
||||
import { buildConfig } from 'payload/config'
|
||||
import { webpackBundler } from '@payloadcms/bundler-webpack'
|
||||
// import { viteBundler } from '@payloadcms/bundler-vite'
|
||||
|
||||
export default buildConfig({
|
||||
// highlight-start
|
||||
admin: {
|
||||
bundler: webpackBundler() // or viteBundler()
|
||||
},
|
||||
// highlight-end
|
||||
})
|
||||
```
|
||||
|
||||
### What are bundlers?
|
||||
|
||||
At their core, a bundler's main goal is to take a bunch of files and turn them into a few optimized files that you ship to the browser. The admin UI has a root `index.html` entry point, and from there the bundler traverses the dependency tree, bundling all of the files that are required from that point on.
|
||||
|
||||
Since the bundled file is sent to the browser, it can't include any server-only code. You will need to remove any server-only code from your admin UI before bundling it. You can learn more about [excluding server code](/docs/admin/excluding-server-code) section.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Using environment variables in the admin UI</strong>
|
||||
<br />
|
||||
Bundles should not contain sensitive information. By default, Payload
|
||||
excludes env variables from the bundle. If you need to use env variables in your payload config,
|
||||
you need to prefix them with `PAYLOAD_PUBLIC_` to make them available to the client-side code.
|
||||
</Banner>
|
||||
711
docs/admin/components.mdx
Normal file
711
docs/admin/components.mdx
Normal file
@@ -0,0 +1,711 @@
|
||||
---
|
||||
title: Swap in your own React components
|
||||
label: Custom Components
|
||||
order: 20
|
||||
desc: Fully customize your Admin Panel by swapping in your own React components. Add fields, remove views, update routes and change functions to sculpt your perfect Dashboard.
|
||||
keywords: admin, components, custom, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
While designing the Payload Admin panel, we determined it should be as minimal and straightforward as possible to allow easy customization and control. There are many times where you may want to completely control how a whole view or a field works. You might even want to add in new views entirely. In order for Payload to support this level of customization without introducing versioning / future-proofing issues, Payload provides for a pattern to supply your own React components via your Payload config.
|
||||
|
||||
To swap in your own React component, first, consult the list of available component overrides below. Determine the scope that corresponds to what you are trying to accomplish, and then author your React component accordingly.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
Custom components will automatically be provided with all props that the default component normally
|
||||
accepts.
|
||||
</Banner>
|
||||
|
||||
### Base Component Overrides
|
||||
|
||||
You can override a set of admin panel-wide components by providing a component to your base Payload config's `admin.components` property. The following options are available:
|
||||
|
||||
| Path | Description |
|
||||
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Nav`** | Contains the sidebar / mobile menu in its entirety. |
|
||||
| **`BeforeNavLinks`** | Array of components to inject into the built-in Nav, _before_ the links themselves. |
|
||||
| **`AfterNavLinks`** | Array of components to inject into the built-in Nav, _after_ the links. |
|
||||
| **`BeforeDashboard`** | Array of components to inject into the built-in Dashboard, _before_ the default dashboard contents. |
|
||||
| **`AfterDashboard`** | Array of components to inject into the built-in Dashboard, _after_ the default dashboard contents. [Demo](https://github.com/payloadcms/payload/tree/main/test/admin/components/AfterDashboard/index.tsx) |
|
||||
| **`BeforeLogin`** | Array of components to inject into the built-in Login, _before_ the default login form. |
|
||||
| **`AfterLogin`** | Array of components to inject into the built-in Login, _after_ the default login form. |
|
||||
| **`logout.Button`** | A custom React component. |
|
||||
| **`graphics.Icon`** | Used as a graphic within the `Nav` component. Often represents a condensed version of a full logo. |
|
||||
| **`graphics.Logo`** | The full logo to be used in contexts like the `Login` view. |
|
||||
| **`providers`** | Define your own provider components that will wrap the Payload Admin UI. [More](#custom-providers) |
|
||||
| **`actions`** | Array of custom components to be rendered in the Payload Admin UI header, providing additional interactivity and functionality. |
|
||||
| **`views`** | Override or create new views within the Payload Admin UI. [More](#views) |
|
||||
|
||||
Here is a full example showing how to swap some of these components for your own.
|
||||
|
||||
`payload.config.js`
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
import {
|
||||
MyCustomNav,
|
||||
MyCustomLogo,
|
||||
MyCustomIcon,
|
||||
MyCustomAccount,
|
||||
MyCustomDashboard,
|
||||
MyProvider,
|
||||
MyCustomAdminAction,
|
||||
} from './customComponents'
|
||||
|
||||
export default buildConfig({
|
||||
admin: {
|
||||
components: {
|
||||
Nav: MyCustomNav,
|
||||
graphics: {
|
||||
Icon: MyCustomIcon,
|
||||
Logo: MyCustomLogo,
|
||||
},
|
||||
actions: [MyCustomAdminAction],
|
||||
views: {
|
||||
Account: MyCustomAccount,
|
||||
Dashboard: MyCustomDashboard,
|
||||
},
|
||||
providers: [MyProvider],
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
#### Views
|
||||
|
||||
You can easily swap entire views with your own by using the `admin.components.views` property. At the root level, Payload renders the following views by default, all of which can be overridden:
|
||||
|
||||
| Property | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Account`** | The Account view is used to show the currently logged in user's Account page. |
|
||||
| **`Dashboard`** | The main landing page of the Admin panel. |
|
||||
|
||||
To swap out any of these views, simply pass in your custom component to the `admin.components.views` property of your Payload config. For example:
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
{
|
||||
// ...
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Account: MyCustomAccountView,
|
||||
Dashboard: MyCustomDashboardView,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
For more granular control, pass a configuration object instead. Each view corresponds to its own `<Route />` component in [React Router v5](https://v5.reactrouter.com). Payload exposes all of the properties of React Router:
|
||||
|
||||
| Property | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Component`** \* | Pass in the component that should be rendered when a user navigates to this route. |
|
||||
| **`path`** \* | React Router `path`. [See the React Router docs](https://v5.reactrouter.com/web/api/Route/path-string-string) for more info. |
|
||||
| **`exact`** | React Router `exact` property. [More](https://v5.reactrouter.com/web/api/Route/exact-bool) |
|
||||
| **`strict`** | React Router `strict` property. [More](https://v5.reactrouter.com/web/api/Route/strict-bool) |
|
||||
| **`sensitive`** | React Router `sensitive` property. [More](https://v5.reactrouter.com/web/api/Route/sensitive-bool) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
#### Adding new views
|
||||
|
||||
To add a _new_ view to the Admin Panel, simply add another key to the `views` object with at least a `path` and `Component` property. For example:
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
{
|
||||
// ...
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
MyCustomView: {
|
||||
Component: MyCustomView,
|
||||
path: '/my-custom-view',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
Routes are cascading. This means that unless explicitly given the `exact` property, they will match on URLs that simply _start_ with the route's path. This is helpful when creating catch-all routes in your application. Alternatively, you could define your nested route _before_ your parent route.
|
||||
</Banner>
|
||||
|
||||
_For more examples regarding how to customize components, look at the following [examples](https://github.com/payloadcms/payload/tree/main/test/admin/components)._
|
||||
|
||||
For help on how to build your own custom view components, see [building a custom view component](#building-a-custom-view-component).
|
||||
|
||||
### Collections
|
||||
|
||||
You can override components on a collection-by-collection basis via the `admin.components` property.
|
||||
|
||||
| Path | Description |
|
||||
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`BeforeList`** | Array of components to inject _before_ the built-in List view |
|
||||
| **`BeforeListTable`** | Array of components to inject _before_ the built-in List view's table |
|
||||
| **`AfterList`** | Array of components to inject _after_ the built-in List view |
|
||||
| **`AfterListTable`** | Array of components to inject _after_ the built-in List view's table |
|
||||
| **`edit.SaveButton`** | Replace the default `Save` button with a custom component. Drafts must be disabled |
|
||||
| **`edit.SaveDraftButton`** | Replace the default `Save Draft` button with a custom component. Drafts must be enabled and autosave must be disabled. |
|
||||
| **`edit.PublishButton`** | Replace the default `Publish` button with a custom component. Drafts must be enabled. |
|
||||
| **`edit.PreviewButton`** | Replace the default `Preview` button with a custom component. |
|
||||
| **`views`** | Override or create new views within the Payload Admin UI. [More](#collection-views) |
|
||||
|
||||
Here is a full example showing how to swap some of these components for your own:
|
||||
|
||||
`Collection.ts`
|
||||
|
||||
```tsx
|
||||
import * as React from 'react'
|
||||
|
||||
import {
|
||||
CustomSaveButtonProps,
|
||||
CustomSaveDraftButtonProps,
|
||||
CustomPublishButtonProps,
|
||||
CustomPreviewButtonProps,
|
||||
} from 'payload/types'
|
||||
|
||||
export const CustomSaveButton: CustomSaveButtonProps = ({ DefaultButton, label, save }) => {
|
||||
return <DefaultButton label={label} save={save} />
|
||||
}
|
||||
|
||||
export const CustomSaveDraftButton: CustomSaveDraftButtonProps = ({
|
||||
DefaultButton,
|
||||
disabled,
|
||||
label,
|
||||
saveDraft,
|
||||
}) => {
|
||||
return <DefaultButton label={label} disabled={disabled} saveDraft={saveDraft} />
|
||||
}
|
||||
|
||||
export const CustomPublishButton: CustomPublishButtonProps = ({
|
||||
DefaultButton,
|
||||
disabled,
|
||||
label,
|
||||
publish,
|
||||
}) => {
|
||||
return <DefaultButton label={label} disabled={disabled} publish={publish} />
|
||||
}
|
||||
|
||||
export const CustomPreviewButton: CustomPreviewButtonProps = ({
|
||||
DefaultButton,
|
||||
disabled,
|
||||
label,
|
||||
preview,
|
||||
}) => {
|
||||
return <DefaultButton label={label} disabled={disabled} preview={preview} />
|
||||
}
|
||||
|
||||
export const MyCollection: SanitizedCollectionConfig = {
|
||||
slug: 'my-collection',
|
||||
admin: {
|
||||
components: {
|
||||
edit: {
|
||||
SaveButton: CustomSaveButton,
|
||||
SaveDraftButton: CustomSaveDraftButton,
|
||||
PublishButton: CustomPublishButton,
|
||||
PreviewButton: CustomPreviewButton,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### Collection views
|
||||
|
||||
To swap out entire views on collections, you can use the `admin.components.views` property on the collection's config. Payload renders the following views by default, all of which can be overridden:
|
||||
|
||||
| Property | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Edit`** | The Edit view is used to edit a single document for a given collection. |
|
||||
| **`List`** | The List view is used to show a list of documents for a given collection. |
|
||||
|
||||
To swap out any of these views, simply pass in your custom component to the `admin.components.views` property of your Payload config. This will replace the entire view, including the page breadcrumbs, title, tabs, etc, _as well as all nested routes_.
|
||||
|
||||
```ts
|
||||
// Collection.ts
|
||||
{
|
||||
// ...
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Edit: MyCustomEditView,
|
||||
List: MyCustomListView,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
_For help on how to build your own custom view components, see [building a custom view component](#building-a-custom-view-component)._
|
||||
|
||||
**Customizing Nested Views within 'Edit' in Collections**
|
||||
|
||||
The `Edit` view in collections consists of several nested views, each serving a unique purpose. You can customize these nested views using the `admin.components.views.Edit` property in the collection's configuration. This approach allows you to replace specific nested views while keeping the overall structure of the `Edit` view intact, including the page breadcrumbs, title, tabs, etc.
|
||||
|
||||
Here's an example of how you can customize nested views within the `Edit` view in collections, including the use of the `actions` property:
|
||||
|
||||
```ts
|
||||
// Collection.ts
|
||||
{
|
||||
// ...
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Edit: {
|
||||
Default: {
|
||||
Component: MyCustomDefaultTab,
|
||||
actions: [CollectionEditButton], // Custom actions for the default edit view
|
||||
},
|
||||
API: {
|
||||
Component: MyCustomAPIView,
|
||||
actions: [CollectionAPIButton], // Custom actions for API view
|
||||
},
|
||||
LivePreview: {
|
||||
Component: MyCustomLivePreviewView,
|
||||
actions: [CollectionLivePreviewButton], // Custom actions for Live Preview
|
||||
},
|
||||
Version: {
|
||||
Component: MyCustomVersionView,
|
||||
actions: [CollectionVersionButton], // Custom actions for Version view
|
||||
},
|
||||
Versions: {
|
||||
Component: MyCustomVersionsView,
|
||||
actions: [CollectionVersionsButton], // Custom actions for Versions view
|
||||
},
|
||||
},
|
||||
List: {
|
||||
actions: [CollectionListButton],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
**Adding New Tabs to 'Edit' View**
|
||||
|
||||
You can also add _new_ tabs to the `Edit` view by adding another key to the `components.views.Edit[key]` object with a `path` and `Component` property. See [Custom Tabs](#custom-tabs) for more information.
|
||||
|
||||
### Globals
|
||||
|
||||
As with Collections, you can override components on a global-by-global basis via the `admin.components` property.
|
||||
|
||||
| Path | Description |
|
||||
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`elements.SaveButton`** | Replace the default `Save` button with a custom component. Drafts must be disabled |
|
||||
| **`elements.SaveDraftButton`** | Replace the default `Save Draft` button with a custom component. Drafts must be enabled and autosave must be disabled. |
|
||||
| **`elements.PublishButton`** | Replace the default `Publish` button with a custom component. Drafts must be enabled. |
|
||||
| **`elements.PreviewButton`** | Replace the default `Preview` button with a custom component. |
|
||||
| **`views`** | Override or create new views within the Payload Admin UI. [More](#global-views) |
|
||||
|
||||
#### Global views
|
||||
|
||||
To swap out views for globals, you can use the `admin.components.views` property on the global's config. Payload renders the following views by default, all of which can be overridden:
|
||||
|
||||
| Property | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Edit`** | The Edit view is used to edit a single document for a given Global. |
|
||||
|
||||
To swap out any of these views, simply pass in your custom component to the `admin.components.views` property of your Payload config. This will replace the entire view, including the page breadcrumbs, title, and tabs, _as well as all nested views_.
|
||||
|
||||
```ts
|
||||
// Global.ts
|
||||
{
|
||||
// ...
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Edit: MyCustomEditView,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
_For help on how to build your own custom view components, see [building a custom view component](#building-a-custom-view-component)._
|
||||
|
||||
**Customizing Nested Views within 'Edit' in Globals**
|
||||
|
||||
Similar to collections, Globals allow for detailed customization within the `Edit` view. This includes the ability to swap specific nested views while maintaining the overall structure of the `Edit` view. You can use the `admin.components.views.Edit` property in the Globals configuration to achieve this, and this will only replace the nested view, leaving the page breadcrumbs, title, and tabs intact.
|
||||
|
||||
Here's how you can customize nested views within the `Edit` view in Globals, including the use of the `actions` property:
|
||||
|
||||
```ts
|
||||
// Global.ts
|
||||
{
|
||||
// ...
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Edit: {
|
||||
Default: {
|
||||
Component: MyCustomGlobalDefaultTab,
|
||||
actions: [GlobalEditButton], // Custom actions for the default edit view
|
||||
},
|
||||
API: {
|
||||
Component: MyCustomGlobalAPIView,
|
||||
actions: [GlobalAPIButton], // Custom actions for API view
|
||||
},
|
||||
LivePreview: {
|
||||
Component: MyCustomGlobalLivePreviewView,
|
||||
actions: [GlobalLivePreviewButton], // Custom actions for Live Preview
|
||||
},
|
||||
Version: {
|
||||
Component: MyCustomGlobalVersionView,
|
||||
actions: [GlobalVersionButton], // Custom actions for Version view
|
||||
},
|
||||
Versions: {
|
||||
Component: MyCustomGlobalVersionsView,
|
||||
actions: [GlobalVersionsButton], // Custom actions for Versions view
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
You can also add _new_ tabs to the `Edit` view by adding another key to the `components.views.Edit[key]` object with a `path` and `Component` property. See [Custom Tabs](#custom-tabs) for more information.
|
||||
|
||||
### Custom Tabs
|
||||
|
||||
You can easily swap individual collection or global edit views. To do this, pass an _object_ to the `admin.components.views.Edit` property of the config. Payload renders the following views by default, all of which can be overridden:
|
||||
|
||||
| Property | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Default`** | The Default view is the primary view in which your document is edited. |
|
||||
| **`Versions`** | The Versions view is used to view the version history of a single document. [More details](../versions) |
|
||||
| **`Version`** | The Version view is used to view a single version of a single document for a given collection. [More details](../versions). |
|
||||
| **`API`** | The API view is used to display the REST API JSON response for a given document. |
|
||||
| **`LivePreview`** | The LivePreview view is used to display the Live Preview interface. [More details](../live-preview) |
|
||||
|
||||
Here is an example:
|
||||
|
||||
```ts
|
||||
// Collection.ts or Global.ts
|
||||
export const MyCollection: SanitizedCollectionConfig = {
|
||||
slug: 'my-collection',
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Edit: { // You can also define `components.views.Edit` as a component, this will override _all_ nested views
|
||||
Default: MyCustomDefaultTab,
|
||||
Versions: MyCustomVersionsTab,
|
||||
Version: MyCustomVersionTab,
|
||||
API: MyCustomAPITab,
|
||||
LivePreview: MyCustomLivePreviewTab,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
To add a _new_ tab to the `Edit` view, simply add another key to `components.views.Edit[key]` with at least a `path` and `Component` property. For example:
|
||||
|
||||
```ts
|
||||
// `Collection.ts` or `Global.ts`
|
||||
export const MyCollection: SanitizedCollectionConfig = {
|
||||
slug: 'my-collection',
|
||||
admin: {
|
||||
components: {
|
||||
views: {
|
||||
Edit: {
|
||||
MyCustomTab: {
|
||||
Component: MyCustomTab,
|
||||
path: '/my-custom-tab',
|
||||
// You an swap the entire tab component out for your own
|
||||
Tab: MyCustomTab
|
||||
},
|
||||
AnotherCustomView: {
|
||||
Component: AnotherCustomView,
|
||||
path: '/another-custom-view',
|
||||
// Or you can use the default tab component and just pass in your own label and href
|
||||
Tab: {
|
||||
label: 'Another Custom View',
|
||||
href: '/another-custom-view',
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Building a custom view component
|
||||
|
||||
Your custom view components will be given all the props that a React Router `<Route />` typically would receive, as well as two props from Payload:
|
||||
|
||||
| Prop | Description |
|
||||
| ----------------------- | ---------------------------------------------------------------------------- |
|
||||
| **`user`** | The currently logged in user. Will be `null` if no user is logged in. |
|
||||
| **`canAccessAdmin`** \* | If the currently logged in user is allowed to access the admin panel or not. |
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
It's up to you to secure your custom views. If your view requires a user to be logged in or to
|
||||
have certain access rights, you should handle that within your view component yourself.
|
||||
</Banner>
|
||||
|
||||
#### Example
|
||||
|
||||
You can find examples of custom views in the [Payload source code `/test/admin/components/views` folder](https://github.com/payloadcms/payload/tree/main/test/admin/components/views). There, you'll find two custom views:
|
||||
|
||||
1. A custom view that uses the `DefaultTemplate`, which is the built-in Payload template that displays the sidebar and "eyebrow nav"
|
||||
1. A custom view that uses the `MinimalTemplate` - which is just a centered template used for things like logging in or out
|
||||
|
||||
To see how to pass in your custom views to create custom views of your own, take a look at the `admin.components.views` property of the [Payload test admin config](https://github.com/payloadcms/payload/blob/main/test/admin/config.ts).
|
||||
|
||||
### Fields
|
||||
|
||||
All Payload fields support the ability to swap in your own React components. So, for example, instead of rendering a default Text input, you might need to render a color picker that provides the editor with a custom color picker interface to restrict the data entered to colors only.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
Don't see a built-in field type that you need? Build it! Using a combination of custom validation
|
||||
and custom components, you can override the entirety of how a component functions within the admin
|
||||
panel and effectively create your own field type.
|
||||
</Banner>
|
||||
|
||||
**Fields support the following custom components:**
|
||||
|
||||
| Component | Description |
|
||||
| ------------ | --------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Filter`** | Override the text input that is presented in the `List` view when a user is filtering documents by the customized field. |
|
||||
| **`Cell`** | Used in the `List` view's table to represent a table-based preview of the data stored in the field. [More](#cell-component) |
|
||||
| **`Field`** | Swap out the field itself within all `Edit` views. [More](#field-component) |
|
||||
|
||||
As an alternative to replacing the entire Field component, you may want to keep the majority of the default Field component and only swap components within. This allows you to replace the **`Label`** or **`Error`** within a field component or add additional components inside the field with **`beforeInput`** or **`afterInput`**. **`beforeInput`** and **`afterInput`** are allowed in any fields that don't contain other fields, except [UI](/docs/fields/ui) and [Rich Text](/docs/fields/rich-text).
|
||||
|
||||
| Component | Description |
|
||||
| ----------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||
| **`Label`** | Override the default Label in the Field Component. [More](#label-component) |
|
||||
| **`Error`** | Override the default Label in the Field Component. [More](#error-component) |
|
||||
| **`beforeInput`** | An array of elements that will be added before `input`/`textarea` elements. [More](#afterinput-and-beforeinput) |
|
||||
| **`afterInput`** | An array of elements that will be added after `input`/`textarea` elements. [More](#afterinput-and-beforeinput) |
|
||||
|
||||
## Cell Component
|
||||
|
||||
These are the props that will be passed to your custom Cell to use in your own components.
|
||||
|
||||
| Property | Description |
|
||||
| ---------------- | ----------------------------------------------------------------- |
|
||||
| **`field`** | An object that includes the field configuration. |
|
||||
| **`colIndex`** | A unique number for the column in the list. |
|
||||
| **`collection`** | An object with the config of the collection that the field is in. |
|
||||
| **`cellData`** | The data for the field that the cell represents. |
|
||||
| **`rowData`** | An object with all the field values for the row. |
|
||||
|
||||
#### Example
|
||||
|
||||
```tsx
|
||||
import React from 'react'
|
||||
import type { Props } from 'payload/components/views/Cell'
|
||||
import './index.scss'
|
||||
|
||||
const baseClass = 'custom-cell'
|
||||
|
||||
const CustomCell: React.FC<Props> = (props) => {
|
||||
const { field, colIndex, collection, cellData, rowData } = props
|
||||
|
||||
return <span className={baseClass}>{cellData}</span>
|
||||
}
|
||||
```
|
||||
|
||||
## Field Component
|
||||
|
||||
When writing your own custom components you can make use of a number of hooks to set data, get reactive changes to other fields, get the id of the document or interact with a context from a custom provider.
|
||||
|
||||
### Sending and receiving values from the form
|
||||
|
||||
When swapping out the `Field` component, you'll be responsible for sending and receiving the field's `value` from the form itself. To do so, import the `useField` hook as follows:
|
||||
|
||||
```tsx
|
||||
import { useField } from 'payload/components/forms'
|
||||
|
||||
const CustomTextField: React.FC<{ path: string }> = ({ path }) => {
|
||||
// highlight-start
|
||||
const { value, setValue } = useField<string>({ path })
|
||||
// highlight-end
|
||||
|
||||
|
||||
return <input onChange={(e) => setValue(e.target.value)} value={value} />
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="success">
|
||||
For more information regarding the hooks that are available to you while you build custom
|
||||
components, including the <strong>useField</strong> hook, [click here](/docs/admin/hooks).
|
||||
</Banner>
|
||||
|
||||
## Label Component
|
||||
|
||||
These are the props that will be passed to your custom Label.
|
||||
|
||||
| Property | Description |
|
||||
| ---------------- | ---------------------------------------------------------------- |
|
||||
| **`htmlFor`** | Property used to set `for` attribute for label. |
|
||||
| **`label`** | Label value provided in field, it can be used with i18n. |
|
||||
| **`required`** | A boolean value that represents if the field is required or not. |
|
||||
|
||||
#### Example
|
||||
|
||||
```tsx
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
import { getTranslation } from 'payload/utilities/getTranslation'
|
||||
|
||||
type Props = {
|
||||
htmlFor?: string
|
||||
label?: Record<string, string> | false | string
|
||||
required?: boolean
|
||||
}
|
||||
|
||||
const CustomLabel: React.FC<Props> = (props) => {
|
||||
const { htmlFor, label, required = false } = props
|
||||
|
||||
const { i18n } = useTranslation()
|
||||
|
||||
if (label) {
|
||||
return (<span>
|
||||
{getTranslation(label, i18n)}
|
||||
{required && <span className="required">*</span>}
|
||||
</span>);
|
||||
}
|
||||
|
||||
return null
|
||||
}
|
||||
```
|
||||
|
||||
## Error Component
|
||||
|
||||
These are the props that will be passed to your custom Error.
|
||||
|
||||
| Property | Description |
|
||||
| ---------------- | ------------------------------------------------------------- |
|
||||
| **`message`** | The error message. |
|
||||
| **`showError`** | A boolean value that represents if the error should be shown. |
|
||||
|
||||
#### Example
|
||||
|
||||
```tsx
|
||||
import React from 'react'
|
||||
|
||||
type Props = {
|
||||
message: string
|
||||
showError?: boolean
|
||||
}
|
||||
|
||||
const CustomError: React.FC<Props> = (props) => {
|
||||
const { message, showError } = props
|
||||
|
||||
if (showError) {
|
||||
return <p style={{color: 'red'}}>{message}</p>
|
||||
} else return null;
|
||||
}
|
||||
```
|
||||
|
||||
## afterInput and beforeInput
|
||||
|
||||
With these properties you can add multiple components before and after the input element. For example, you can add an absolutely positioned button to clear the current field value.
|
||||
|
||||
#### Example
|
||||
|
||||
```tsx
|
||||
import React from 'react'
|
||||
import { Field } from 'payload/types'
|
||||
|
||||
import './style.scss'
|
||||
|
||||
const ClearButton: React.FC = () => {
|
||||
return <button onClick={() => {/* ... */}}>X</button>
|
||||
}
|
||||
|
||||
const titleField: Field = {
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
admin: {
|
||||
components: {
|
||||
afterInput: [ClearButton]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default titleField;
|
||||
```
|
||||
|
||||
## Custom providers
|
||||
|
||||
As your admin customizations gets more complex you may want to share state between fields or other components. You can add custom providers to do add your own context to any Payload app for use in other custom components within the admin panel. Within your config add `admin.components.providers`, these can be used to share context or provide other custom functionality. Read the [React context](https://reactjs.org/docs/context.html) docs to learn more.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Reminder:</strong> Don't forget to pass the **children** prop through the provider
|
||||
component for the admin UI to show
|
||||
</Banner>
|
||||
|
||||
### Styling Custom Components
|
||||
|
||||
Payload exports its SCSS variables and mixins for reuse in your own custom components. This is helpful in cases where you might want to style a custom input similarly to Payload's built-ini styling, so it blends more thoroughly into the existing admin UI.
|
||||
|
||||
To make use of Payload SCSS variables / mixins to use directly in your own components, you can import them as follows:
|
||||
|
||||
```
|
||||
@import '~payload/scss';
|
||||
```
|
||||
|
||||
### Getting the current language
|
||||
|
||||
When developing custom components you can support multiple languages to be consistent with Payload's i18n support. The best way to do this is to add your translation resources to the [i18n configuration](https://payloadcms.com/docs/configuration/i18n) and import `useTranslation` from `react-i18next` in your components.
|
||||
|
||||
For example:
|
||||
|
||||
```tsx
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
const CustomComponent: React.FC = () => {
|
||||
// highlight-start
|
||||
const { t, i18n } = useTranslation('namespace1')
|
||||
// highlight-end
|
||||
|
||||
return (
|
||||
<ul>
|
||||
<li>{t('key', { variable: 'value' })}</li>
|
||||
<li>{t('namespace2:key', { variable: 'value' })}</li>
|
||||
<li>{i18n.language}</li>
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### Getting the current locale
|
||||
|
||||
In any custom component you can get the selected locale with `useLocale` hook. `useLocale` returns the full locale object, consisting of a `label`, `rtl`(right-to-left) property, and then `code`. Here is a simple example:
|
||||
|
||||
```tsx
|
||||
import { useLocale } from 'payload/components/utilities'
|
||||
|
||||
const Greeting: React.FC = () => {
|
||||
// highlight-start
|
||||
const locale = useLocale()
|
||||
// highlight-end
|
||||
|
||||
const trans = {
|
||||
en: 'Hello',
|
||||
es: 'Hola',
|
||||
}
|
||||
|
||||
return <span> {trans[locale.code]} </span>
|
||||
}
|
||||
```
|
||||
51
docs/admin/customizing-css.mdx
Normal file
51
docs/admin/customizing-css.mdx
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: Customizing CSS & SCSS
|
||||
label: Customizing CSS
|
||||
order: 40
|
||||
desc: Customize your Payload admin panel further by adding your own CSS or SCSS style sheet to the configuration, powerful theme and design options are waiting for you.
|
||||
keywords: admin, css, scss, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
### Adding your own CSS / SCSS
|
||||
|
||||
You can add your own CSS by providing your base Payload config with a path to your own CSS or SCSS. Customize the styling of any part of the Payload dashboard as necessary.
|
||||
|
||||
To do so, provide your base Payload config with a path to your own stylesheet. It can be either a CSS or SCSS file.
|
||||
|
||||
**Example in payload.config.js:**
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
import path from 'path'
|
||||
|
||||
const config = buildConfig({
|
||||
admin: {
|
||||
css: path.resolve(__dirname, 'relative/path/to/stylesheet.scss'),
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
### Overriding built-in styles
|
||||
|
||||
To make it as easy as possible for you to override our styles, Payload uses [BEM naming conventions](http://getbem.com/) for all CSS within the Admin UI. If you provide your own CSS, you can override any built-in styles easily.
|
||||
|
||||
In addition to adding your own style definitions, you can also override Payload's built-in CSS variables. We use as much as possible behind the scenes, and you can override any of them that you'd like to.
|
||||
|
||||
You can find the built-in Payload CSS variables within [`./src/admin/scss/app.scss`](https://github.com/payloadcms/payload/blob/main/packages/payload/src/admin/scss/app.scss) and [`./src/admin/scss/colors.scss`](https://github.com/payloadcms/payload/blob/main/packages/payload/src/admin/scss/colors.scss). The following variables are defined and can be overridden:
|
||||
|
||||
- Breakpoints
|
||||
- Base color shades (white to black by default)
|
||||
- Success / warning / error color shades
|
||||
- Theme-specific colors (background, input background, text color, etc.)
|
||||
- Elevation colors (used to determine how "bright" something should be when compared to the background)
|
||||
- Fonts
|
||||
- Horizontal gutter
|
||||
|
||||
#### Dark mode
|
||||
|
||||
<Banner type="warning">
|
||||
If you're overriding colors or theme elevations, make sure to consider how your changes will
|
||||
affect dark mode.
|
||||
</Banner>
|
||||
|
||||
By default, Payload automatically overrides all `--theme-elevation`s and inverts all success / warning / error shades to suit dark mode. We also update some base theme variables like `--theme-bg`, `--theme-text`, etc.
|
||||
27
docs/admin/environment-vars.mdx
Normal file
27
docs/admin/environment-vars.mdx
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: Environment Variables in Admin UI
|
||||
label: Environment Variables
|
||||
order: 100
|
||||
desc: NEEDS TO BE WRITTEN
|
||||
---
|
||||
|
||||
## Admin environment vars
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
Be careful about what variables you provide to your client-side code. Analyze every single one to
|
||||
make sure that you're not accidentally leaking anything that an attacker could exploit. Only keys
|
||||
that are safe for anyone to read in plain text should be provided to your Admin panel.
|
||||
</Banner>
|
||||
|
||||
By default, `env` variables are **not** provided to the Admin panel for security and safety reasons.
|
||||
But, Payload provides you with a way to still provide `env` vars to your frontend code.
|
||||
|
||||
**Payload will automatically supply any present `env` variables that are prefixed with `PAYLOAD_PUBLIC_` directly to the Admin panel.**
|
||||
|
||||
For example, if you've got the following environment variable:
|
||||
|
||||
`PAYLOAD_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_XXXXXXXXXXXXXXXXXX`
|
||||
|
||||
This key will automatically be made available to the Payload bundle and can be referenced in your Admin component code as `process.env.PAYLOAD_PUBLIC_STRIPE_PUBLISHABLE_KEY`.
|
||||
206
docs/admin/excluding-server-code.mdx
Normal file
206
docs/admin/excluding-server-code.mdx
Normal file
@@ -0,0 +1,206 @@
|
||||
---
|
||||
title: Excluding server-only code from admin UI
|
||||
label: Excluding server code
|
||||
order: 70
|
||||
desc: Learn how to exclude server-only code from the Payload Admin UI bundle
|
||||
---
|
||||
|
||||
Because the Admin Panel browser bundle includes your Payload Config file, files using server-only modules need to be excluded.
|
||||
It's common for your config to rely on server only modules to perform logic in access control functions, hooks, and other contexts.
|
||||
|
||||
Any file that imports a server-only module such as `fs`, `stripe`, `authorizenet`, `nodemailer`, etc. **cannot** be included in the browser bundle.
|
||||
|
||||
#### Example Scenario
|
||||
|
||||
Say we have a collection called `Subscriptions` that has a `beforeChange` hook that creates a Stripe subscription whenever a Subscription document is created in Payload.
|
||||
|
||||
**Collection config**:
|
||||
|
||||
```ts
|
||||
// collections/Subscriptions/index.ts
|
||||
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
import createStripeSubscription from './hooks/createStripeSubscription'
|
||||
|
||||
export const Subscription: CollectionConfig = {
|
||||
slug: 'subscriptions',
|
||||
hooks: {
|
||||
beforeChange: [createStripeSubscription],
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'stripeSubscriptionID',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
**Collection hook**:
|
||||
|
||||
```ts
|
||||
// collections/Subscriptions/hooks/createStripeSubscription.ts
|
||||
|
||||
// highlight-start
|
||||
import Stripe from 'stripe' // <-- server-only module
|
||||
// highlight-end
|
||||
|
||||
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY)
|
||||
|
||||
export const createStripeSubscription = async ({ data, operation }) => {
|
||||
if (operation === 'create') {
|
||||
const dataWithStripeID = { ...data }
|
||||
|
||||
// use Stripe to create a Stripe subscription
|
||||
const subscription = await stripe.subscriptions.create({
|
||||
// Configure the subscription accordingly
|
||||
})
|
||||
|
||||
// Automatically add the Stripe subscription ID
|
||||
// to the data that will be saved to this Subscription doc
|
||||
dataWithStripeID.stripeSubscriptionID = subscription.id
|
||||
|
||||
return dataWithStripeID
|
||||
}
|
||||
|
||||
return data
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="error">
|
||||
<strong>Warning:</strong>
|
||||
<br />
|
||||
The above code is NOT production-ready and should not be referenced to create Stripe
|
||||
subscriptions. Although creating a beforeChange hook is a completely valid spot to do things like
|
||||
create subscriptions, the code above is incomplete and insecure, meant for explanation purposes
|
||||
only.
|
||||
</Banner>
|
||||
|
||||
**As-is, this collection will prevent your Admin panel from bundling or loading correctly, because Stripe relies on some Node-only packages.**
|
||||
|
||||
#### How to fix this
|
||||
|
||||
You need to make sure that you use `alias`es to tell your bundler to import "safe" files vs. attempting to import any server-side code that you need to get rid of. Depending on your bundler (Webpack, Vite, etc.) the steps involved may be slightly different.
|
||||
|
||||
The basic idea is to create a file that exports an empty object, and then alias import paths of any files that import server-only modules to that empty object file.
|
||||
|
||||
This way when your bundler goes to import a file that contains server-only modules, it will instead import the empty object file, which will not break the browser bundle.
|
||||
|
||||
### Aliasing server-only modules
|
||||
|
||||
To remove files that contain server-only modules from your bundle, you can use an `alias`.
|
||||
|
||||
In the Subscriptions config file above, we are importing the hook like so:
|
||||
|
||||
```ts
|
||||
// collections/Subscriptions/index.ts
|
||||
|
||||
import createStripeSubscription from './hooks/createStripeSubscription'
|
||||
```
|
||||
|
||||
By default the browser bundle will now include all the code from that file and any files down the tree. We know that the file imports `stripe`.
|
||||
|
||||
To fix this, we need to alias the `createStripeSubscription` file to a different file that can safely be included in the browser bundle.
|
||||
|
||||
First, we will create a mock file to replace the server-only file when bundling:
|
||||
```js
|
||||
// mocks/modules.js
|
||||
|
||||
export default {}
|
||||
|
||||
/**
|
||||
* NOTE: if you are destructuring an import
|
||||
* the mock file will need to export matching
|
||||
* variables as the destructured object.
|
||||
*
|
||||
* export const namedExport = {}
|
||||
*/
|
||||
```
|
||||
|
||||
Aliasing with [Webpack](/docs/admin/webpack) can be done by:
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
|
||||
import { buildConfig } from 'payload/config'
|
||||
import { webpackBundler } from '@payloadcms/bundler-webpack'
|
||||
|
||||
import { Subscriptions } from './collections/Subscriptions'
|
||||
|
||||
const mockModulePath = path.resolve(__dirname, 'mocks/emptyObject.js')
|
||||
const fullFilePath = path.resolve(
|
||||
__dirname,
|
||||
'collections/Subscriptions/hooks/createStripeSubscription'
|
||||
)
|
||||
|
||||
export default buildConfig({
|
||||
collections: [Subscriptions],
|
||||
admin: {
|
||||
bundler: webpackBundler(),
|
||||
webpack: (config) => {
|
||||
return {
|
||||
...config,
|
||||
resolve: {
|
||||
...config.resolve,
|
||||
// highlight-start
|
||||
alias: {
|
||||
...config.resolve.alias,
|
||||
[fullFilePath]: mockModulePath,
|
||||
},
|
||||
// highlight-end
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
Aliasing with [Vite](/docs/admin/vite) can be done by:
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
|
||||
import { buildConfig } from 'payload/config'
|
||||
import { viteBundler } from '@payloadcms/bundler-vite'
|
||||
|
||||
import { Subscriptions } from './collections/Subscriptions'
|
||||
|
||||
const mockModulePath = path.resolve(__dirname, 'mocks/emptyObject.js')
|
||||
|
||||
export default buildConfig({
|
||||
collections: [Subscriptions],
|
||||
admin: {
|
||||
bundler: viteBundler(),
|
||||
vite: (incomingViteConfig) => {
|
||||
const existingAliases = incomingViteConfig?.resolve?.alias || {};
|
||||
let aliasArray: { find: string | RegExp; replacement: string; }[] = [];
|
||||
|
||||
// Pass the existing Vite aliases
|
||||
if (Array.isArray(existingAliases)) {
|
||||
aliasArray = existingAliases;
|
||||
} else {
|
||||
aliasArray = Object.values(existingAliases);
|
||||
}
|
||||
|
||||
|
||||
// highlight-start
|
||||
// Add your own aliases using the find and replacement keys
|
||||
// remember, vite aliases are exact-match only
|
||||
aliasArray.push({
|
||||
find: '../server-only-module',
|
||||
replacement: path.resolve(__dirname, './path/to/browser-safe-module.js')
|
||||
});
|
||||
// highlight-end
|
||||
|
||||
return {
|
||||
...incomingViteConfig,
|
||||
resolve: {
|
||||
...(incomingViteConfig?.resolve || {}),
|
||||
alias: aliasArray,
|
||||
}
|
||||
};
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
873
docs/admin/hooks.mdx
Normal file
873
docs/admin/hooks.mdx
Normal file
@@ -0,0 +1,873 @@
|
||||
---
|
||||
title: React Hooks
|
||||
label: React Hooks
|
||||
order: 30
|
||||
desc: Make use of all of the powerful React hooks that Payload provides.
|
||||
keywords: admin, components, custom, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload provides a variety of powerful hooks that can be used within your own React components. With them, you can interface with Payload itself and build just about any type of complex customization you can think of—directly in familiar React code.
|
||||
|
||||
### useField
|
||||
|
||||
The `useField` hook is used internally within every applicable Payload field component, and it manages sending and receiving a field's state from its parent form.
|
||||
|
||||
Outside of internal use, its most common use-case is in custom `Field` components. When you build a custom React `Field` component, you'll be responsible for sending and receiving the field's `value` from the form itself. To do so, import the `useField` hook as follows:
|
||||
|
||||
```tsx
|
||||
import { useField } from 'payload/components/forms'
|
||||
|
||||
type Props = { path: string }
|
||||
|
||||
const CustomTextField: React.FC<Props> = ({ path }) => {
|
||||
// highlight-start
|
||||
const { value, setValue } = useField<string>({ path })
|
||||
// highlight-end
|
||||
|
||||
return <input onChange={(e) => setValue(e.target.value)} value={value.path} />
|
||||
}
|
||||
```
|
||||
|
||||
The `useField` hook accepts an `args` object and sends back information and helpers for you to make use of:
|
||||
|
||||
```ts
|
||||
const field = useField<string>({
|
||||
path: 'fieldPathHere', // required
|
||||
validate: myValidateFunc, // optional
|
||||
disableFormData?: false, // if true, the field's data will be ignored
|
||||
condition?: myConditionHere, // optional, used to skip validation if condition fails
|
||||
})
|
||||
|
||||
// Here is what `useField` sends back
|
||||
const {
|
||||
showError, // whether or not the field should show as errored
|
||||
errorMessage, // the error message to show, if showError
|
||||
value, // the current value of the field from the form
|
||||
formSubmitted, // if the form has been submitted
|
||||
formProcessing, // if the form is currently processing
|
||||
setValue, // method to set the field's value in form state
|
||||
initialValue, // the initial value that the field mounted with
|
||||
} = field;
|
||||
|
||||
// The rest of your component goes here
|
||||
```
|
||||
|
||||
### useFormFields
|
||||
|
||||
There are times when a custom field component needs to have access to data from other fields, and you have a few options to do so. The `useFormFields` hook is a powerful and highly performant way to retrieve a form's field state, as well as to retrieve the `dispatchFields` method, which can be helpful for setting other fields' form states from anywhere within a form.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>This hook is great for retrieving only certain fields from form state</strong> because it
|
||||
ensures that it will only cause a rerender when the items that you ask for change.
|
||||
</Banner>
|
||||
|
||||
Thanks to the awesome package [`use-context-selector`](https://github.com/dai-shi/use-context-selector), you can retrieve a specific field's state easily. This is ideal because you can ensure you have an up-to-date field state, and your component will only re-render when _that field's state_ changes.
|
||||
|
||||
You can pass a Redux-like selector into the hook, which will ensure that you retrieve only the field that you want. The selector takes an argument with type of `[fields: Fields, dispatch: React.Dispatch<Action>]]`.
|
||||
|
||||
```tsx
|
||||
import { useFormFields } from 'payload/components/forms'
|
||||
|
||||
const MyComponent: React.FC = () => {
|
||||
// Get only the `amount` field state, and only cause a rerender when that field changes
|
||||
const amount = useFormFields(([fields, dispatch]) => fields.amount)
|
||||
|
||||
// Do the same thing as above, but to the `feePercentage` field
|
||||
const feePercentage = useFormFields(([fields, dispatch]) => fields.feePercentage)
|
||||
|
||||
if (typeof amount?.value !== 'undefined' && typeof feePercentage?.value !== 'undefined') {
|
||||
return <span>The fee is ${(amount.value * feePercentage.value) / 100}</span>
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### useAllFormFields
|
||||
|
||||
**To retrieve more than one field**, you can use the `useAllFormFields` hook. Your component will re-render when _any_ field changes, so use this hook only if you absolutely need to. Unlike the `useFormFields` hook, this hook does not accept a "selector", and it always returns an array with type of `[fields: Fields, dispatch: React.Dispatch<Action>]]`.
|
||||
|
||||
You can do lots of powerful stuff by retrieving the full form state, like using built-in helper functions to reduce field state to values only, or to retrieve sibling data by path.
|
||||
|
||||
```tsx
|
||||
import { useAllFormFields, reduceFieldsToValues, getSiblingData } from 'payload/components/forms';
|
||||
|
||||
const ExampleComponent: React.FC = () => {
|
||||
// the `fields` const will be equal to all fields' state,
|
||||
// and the `dispatchFields` method is usable to send field state up to the form
|
||||
const [fields, dispatchFields] = useAllFormFields();
|
||||
|
||||
// Pass in fields, and indicate if you'd like to "unflatten" field data.
|
||||
// The result below will reflect the data stored in the form at the given time
|
||||
const formData = reduceFieldsToValues(fields, true);
|
||||
|
||||
// Pass in field state and a path,
|
||||
// and you will be sent all sibling data of the path that you've specified
|
||||
const siblingData = getSiblingData(fields, 'someFieldName');
|
||||
|
||||
return (
|
||||
// return some JSX here if necessary
|
||||
)
|
||||
};
|
||||
```
|
||||
|
||||
##### Updating other fields' values
|
||||
|
||||
If you are building a custom component, then you should use `setValue` which is returned from the `useField` hook to programmatically set your field's value. But if you're looking to update _another_ field's value, you can use `dispatchFields` returned from `useFormFields`.
|
||||
|
||||
You can send the following actions to the `dispatchFields` function.
|
||||
|
||||
| Action | Description |
|
||||
| ---------------------- | -------------------------------------------------------------------------- |
|
||||
| **`ADD_ROW`** | Adds a row of data (useful in array / block field data) |
|
||||
| **`DUPLICATE_ROW`** | Duplicates a row of data (useful in array / block field data) |
|
||||
| **`MODIFY_CONDITION`** | Updates a field's conditional logic result (true / false) |
|
||||
| **`MOVE_ROW`** | Moves a row of data (useful in array / block field data) |
|
||||
| **`REMOVE`** | Removes a field from form state |
|
||||
| **`REMOVE_ROW`** | Removes a row of data from form state (useful in array / block field data) |
|
||||
| **`REPLACE_STATE`** | Completely replaces form state |
|
||||
| **`UPDATE`** | Update any property of a specific field's state |
|
||||
|
||||
To see types for each action supported within the `dispatchFields` hook, check out the Form types [here](https://github.com/payloadcms/payload/blob/main/packages/payload/src/admin/components/forms/Form/types.ts).
|
||||
|
||||
### useForm
|
||||
|
||||
The `useForm` hook can be used to interact with the form itself, and sends back many methods that can be used to reactively fetch form state without causing rerenders within your components each time a field is changed. This is useful if you have action-based callbacks that your components fire, and need to interact with form state _based on a user action_.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Warning:</strong>
|
||||
<br />
|
||||
This hook is optimized to avoid causing rerenders when fields change, and as such, its `fields`
|
||||
property will be out of date. You should only leverage this hook if you need to perform actions
|
||||
against the form in response to your users' actions. Do not rely on its returned "fields" as being
|
||||
up-to-date. They will be removed from this hook's response in an upcoming version.
|
||||
</Banner>
|
||||
|
||||
The `useForm` hook returns an object with the following properties: |
|
||||
|
||||
<TableWithDrawers
|
||||
columns={[
|
||||
'Action',
|
||||
'Description',
|
||||
'Example',
|
||||
]}
|
||||
rows={[
|
||||
[
|
||||
{
|
||||
value: <strong><code>fields</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Deprecated. This property cannot be relied on as up-to-date.",
|
||||
},
|
||||
{
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>submit</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Method to trigger the form to submit",
|
||||
},
|
||||
{
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>dispatchFields</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Dispatch actions to the form field state",
|
||||
},
|
||||
{
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>validateForm</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Trigger a validation of the form state",
|
||||
},
|
||||
{
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>createFormData</code></strong>,
|
||||
},
|
||||
{
|
||||
value: <>Create a <code>multipart/form-data</code> object from the current form's state</>,
|
||||
},
|
||||
{
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>disabled</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Boolean denoting whether or not the form is disabled",
|
||||
},
|
||||
{
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>getFields</code></strong>,
|
||||
},
|
||||
{
|
||||
value: 'Gets all fields from state',
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>getField</code></strong>,
|
||||
},
|
||||
{
|
||||
value: 'Gets a single field from state by path',
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>getData</code></strong>,
|
||||
},
|
||||
{
|
||||
value: 'Returns the data stored in the form',
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>getSiblingData</code></strong>,
|
||||
},
|
||||
{
|
||||
value: 'Returns form sibling data for the given field path',
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>setModified</code></strong>,
|
||||
},
|
||||
{
|
||||
value: <>Set the form\'s <code>modified</code> state</>,
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>setProcessing</code></strong>,
|
||||
},
|
||||
{
|
||||
value: <>Set the form\'s <code>processing</code> state</>,
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>setSubmitted</code></strong>,
|
||||
},
|
||||
{
|
||||
value: <>Set the form\'s <code>submitted</code> state</>,
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>formRef</code></strong>,
|
||||
},
|
||||
{
|
||||
value: 'The ref from the form HTML element',
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>reset</code></strong>,
|
||||
},
|
||||
{
|
||||
value: 'Method to reset the form to its initial state',
|
||||
},
|
||||
{
|
||||
value: '',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>addFieldRow</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Method to add a row on an array or block field",
|
||||
},
|
||||
{
|
||||
drawerTitle: 'addFieldRow',
|
||||
drawerDescription: 'A useful method to programmatically add a row to an array or block field.',
|
||||
drawerSlug: 'addFieldRow',
|
||||
drawerContent: (
|
||||
<>
|
||||
<TableWithDrawers
|
||||
columns={[
|
||||
'Prop',
|
||||
'Description',
|
||||
]}
|
||||
rows={[
|
||||
[
|
||||
{
|
||||
value: <strong><code>path</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The path to the array or block field",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>rowIndex</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The index of the row to add. If omitted, the row will be added to the end of the array.",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>data</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The data to add to the row",
|
||||
},
|
||||
],
|
||||
]}
|
||||
/>
|
||||
|
||||
{' '}
|
||||
|
||||
<br />
|
||||
|
||||
{' '}
|
||||
|
||||
<pre>
|
||||
{`import { useForm } from "payload/components/forms";
|
||||
|
||||
export const CustomArrayManager = () => {
|
||||
const { addFieldRow } = useForm()
|
||||
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
addFieldRow({
|
||||
path: "arrayField",
|
||||
rowIndex: 0,
|
||||
data: {
|
||||
textField: "text",
|
||||
// blockType: "yourBlockSlug",
|
||||
// ^ if managing a block array, you need to specify the block type
|
||||
},
|
||||
})
|
||||
}}
|
||||
>
|
||||
Add Row
|
||||
</button>
|
||||
)
|
||||
}`}
|
||||
</pre>
|
||||
|
||||
<p>An example config to go along with the custom component</p>
|
||||
<pre>
|
||||
{`const ExampleCollection = {
|
||||
slug: "example-collection",
|
||||
fields: [
|
||||
{
|
||||
name: "arrayField",
|
||||
type: "array",
|
||||
fields: [
|
||||
{
|
||||
name: "textField",
|
||||
type: "text",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "ui",
|
||||
name: "customArrayManager",
|
||||
admin: {
|
||||
components: {
|
||||
Field: CustomArrayManager,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}`}
|
||||
</pre>
|
||||
</>
|
||||
)
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>removeFieldRow</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Method to remove a row from an array or block field",
|
||||
},
|
||||
{
|
||||
drawerTitle: 'removeFieldRow',
|
||||
drawerDescription: 'A useful method to programmatically remove a row from an array or block field.',
|
||||
drawerSlug: 'removeFieldRow',
|
||||
drawerContent: (
|
||||
<>
|
||||
<TableWithDrawers
|
||||
columns={[
|
||||
'Prop',
|
||||
'Description',
|
||||
]}
|
||||
rows={[
|
||||
[
|
||||
{
|
||||
value: <strong><code>path</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The path to the array or block field",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>rowIndex</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The index of the row to remove",
|
||||
},
|
||||
],
|
||||
]}
|
||||
/>
|
||||
|
||||
{' '}
|
||||
|
||||
<br />
|
||||
|
||||
{' '}
|
||||
|
||||
<pre>
|
||||
{`import { useForm } from "payload/components/forms";
|
||||
|
||||
export const CustomArrayManager = () => {
|
||||
const { removeFieldRow } = useForm()
|
||||
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
removeFieldRow({
|
||||
path: "arrayField",
|
||||
rowIndex: 0,
|
||||
})
|
||||
}}
|
||||
>
|
||||
Remove Row
|
||||
</button>
|
||||
)
|
||||
}`}
|
||||
</pre>
|
||||
|
||||
<p>An example config to go along with the custom component</p>
|
||||
<pre>
|
||||
{`const ExampleCollection = {
|
||||
slug: "example-collection",
|
||||
fields: [
|
||||
{
|
||||
name: "arrayField",
|
||||
type: "array",
|
||||
fields: [
|
||||
{
|
||||
name: "textField",
|
||||
type: "text",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "ui",
|
||||
name: "customArrayManager",
|
||||
admin: {
|
||||
components: {
|
||||
Field: CustomArrayManager,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}`}
|
||||
</pre>
|
||||
</>
|
||||
)
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>replaceFieldRow</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "Method to replace a row from an array or block field",
|
||||
},
|
||||
{
|
||||
drawerTitle: 'replaceFieldRow',
|
||||
drawerDescription: 'A useful method to programmatically replace a row from an array or block field.',
|
||||
drawerSlug: 'replaceFieldRow',
|
||||
drawerContent: (
|
||||
<>
|
||||
<TableWithDrawers
|
||||
columns={[
|
||||
'Prop',
|
||||
'Description',
|
||||
]}
|
||||
rows={[
|
||||
[
|
||||
{
|
||||
value: <strong><code>path</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The path to the array or block field",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>rowIndex</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The index of the row to replace",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
value: <strong><code>data</code></strong>,
|
||||
},
|
||||
{
|
||||
value: "The data to replace within the row",
|
||||
},
|
||||
],
|
||||
]}
|
||||
/>
|
||||
|
||||
{' '}
|
||||
|
||||
<br />
|
||||
|
||||
{' '}
|
||||
|
||||
<pre>
|
||||
{`import { useForm } from "payload/components/forms";
|
||||
|
||||
export const CustomArrayManager = () => {
|
||||
const { replaceFieldRow } = useForm()
|
||||
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
replaceFieldRow({
|
||||
path: "arrayField",
|
||||
rowIndex: 0,
|
||||
data: {
|
||||
textField: "updated text",
|
||||
// blockType: "yourBlockSlug",
|
||||
// ^ if managing a block array, you need to specify the block type
|
||||
},
|
||||
})
|
||||
}}
|
||||
>
|
||||
Replace Row
|
||||
</button>
|
||||
)
|
||||
}`}
|
||||
</pre>
|
||||
|
||||
<p>An example config to go along with the custom component</p>
|
||||
<pre>
|
||||
{`const ExampleCollection = {
|
||||
slug: "example-collection",
|
||||
fields: [
|
||||
{
|
||||
name: "arrayField",
|
||||
type: "array",
|
||||
fields: [
|
||||
{
|
||||
name: "textField",
|
||||
type: "text",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "ui",
|
||||
name: "customArrayManager",
|
||||
admin: {
|
||||
components: {
|
||||
Field: CustomArrayManager,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}`}
|
||||
</pre>
|
||||
</>
|
||||
)
|
||||
}
|
||||
],
|
||||
]}
|
||||
/>
|
||||
|
||||
### useCollapsible
|
||||
|
||||
The `useCollapsible` hook allows you to control parent collapsibles:
|
||||
|
||||
| Property | Description |
|
||||
|---------------------------|--------------------------------------------------------------------------------------------------------------------|
|
||||
| **`collapsed`** | State of the collapsible. `true` if open, `false` if collapsed |
|
||||
| **`isVisible`** | If nested, determine if the nearest collapsible is visible. `true` if no parent is closed, `false` otherwise |
|
||||
| **`toggle`** | Toggles the state of the nearest collapsible |
|
||||
| **`withinCollapsible`** | Determine when you are within another collaspible | |
|
||||
|
||||
**Example:**
|
||||
|
||||
```tsx
|
||||
import React from 'react'
|
||||
|
||||
import { useCollapsible } from 'payload/components/utilities'
|
||||
|
||||
const CustomComponent: React.FC = () => {
|
||||
const { collapsed, toggle } = useCollapsible()
|
||||
return (
|
||||
<div>
|
||||
<p className="field-type">I am {collapsed ? 'closed' : 'open'}</p>
|
||||
<button onClick={toggle} type="button">
|
||||
Toggle
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### useDocumentInfo
|
||||
|
||||
The `useDocumentInfo` hook provides lots of information about the document currently being edited, including the following:
|
||||
|
||||
| Property | Description |
|
||||
|---------------------------|--------------------------------------------------------------------------------------------------------------------|
|
||||
| **`collection`** | If the doc is a collection, its collection config will be returned |
|
||||
| **`global`** | If the doc is a global, its global config will be returned |
|
||||
| **`id`** | If the doc is a collection, its ID will be returned |
|
||||
| **`preferencesKey`** | The `preferences` key to use when interacting with document-level user preferences |
|
||||
| **`versions`** | Versions of the current doc |
|
||||
| **`unpublishedVersions`** | Unpublished versions of the current doc |
|
||||
| **`publishedDoc`** | The currently published version of the doc being edited |
|
||||
| **`getVersions`** | Method to trigger the retrieval of document versions |
|
||||
| **`docPermissions`** | The current documents permissions. Collection document permissions fallback when no id is present (i.e. on create) |
|
||||
| **`getDocPermissions`** | Method to trigger the retrieval of document level permissions |
|
||||
|
||||
**Example:**
|
||||
|
||||
```tsx
|
||||
import { useDocumentInfo } from 'payload/components/utilities'
|
||||
|
||||
const LinkFromCategoryToPosts: React.FC = () => {
|
||||
// highlight-start
|
||||
const { id } = useDocumentInfo()
|
||||
// highlight-end
|
||||
|
||||
// id will be undefined on the create form
|
||||
if (!id) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<a href={`/admin/collections/posts?where[or][0][and][0][category][in][0]=[${id}]`}>
|
||||
View posts
|
||||
</a>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### useLocale
|
||||
|
||||
In any custom component you can get the selected locale object with the `useLocale` hook. `useLocale`gives you the full locale object, consisting of a `label`, `rtl`(right-to-left) property, and then `code`. Here is a simple example:
|
||||
|
||||
```tsx
|
||||
import { useLocale } from 'payload/components/utilities'
|
||||
|
||||
const Greeting: React.FC = () => {
|
||||
// highlight-start
|
||||
const locale = useLocale()
|
||||
// highlight-end
|
||||
|
||||
const trans = {
|
||||
en: 'Hello',
|
||||
es: 'Hola',
|
||||
}
|
||||
|
||||
return <span> {trans[locale.code]} </span>
|
||||
}
|
||||
```
|
||||
|
||||
### useAuth
|
||||
|
||||
Useful to retrieve info about the currently logged in user as well as methods for interacting with it. It sends back an object with the following properties:
|
||||
|
||||
| Property | Description |
|
||||
| ------------------------ | --------------------------------------------------------------------------------------- |
|
||||
| **`user`** | The currently logged in user |
|
||||
| **`logOut`** | A method to log out the currently logged in user |
|
||||
| **`refreshCookie`** | A method to trigger the silent refreshing of a user's auth token |
|
||||
| **`setToken`** | Set the token of the user, to be decoded and used to reset the user and token in memory |
|
||||
| **`token`** | The logged in user's token (useful for creating preview links, etc.) |
|
||||
| **`refreshPermissions`** | Load new permissions (useful when content that effects permissions has been changed) |
|
||||
| **`permissions`** | The permissions of the current user |
|
||||
|
||||
```tsx
|
||||
import { useAuth } from 'payload/components/utilities'
|
||||
import { User } from '../payload-types.ts'
|
||||
|
||||
const Greeting: React.FC = () => {
|
||||
// highlight-start
|
||||
const { user } = useAuth<User>()
|
||||
// highlight-end
|
||||
|
||||
return <span>Hi, {user.email}!</span>
|
||||
}
|
||||
```
|
||||
|
||||
### useConfig
|
||||
|
||||
Used to easily fetch the full Payload config.
|
||||
|
||||
```tsx
|
||||
import { useConfig } from 'payload/components/utilities'
|
||||
|
||||
const MyComponent: React.FC = () => {
|
||||
// highlight-start
|
||||
const config = useConfig()
|
||||
// highlight-end
|
||||
|
||||
return <span>{config.serverURL}</span>
|
||||
}
|
||||
```
|
||||
|
||||
### useEditDepth
|
||||
|
||||
Sends back how many editing levels "deep" the current component is. Edit depth is relevant while adding new documents / editing documents in modal windows and other cases.
|
||||
|
||||
```tsx
|
||||
import { useEditDepth } from 'payload/components/utilities'
|
||||
|
||||
const MyComponent: React.FC = () => {
|
||||
// highlight-start
|
||||
const editDepth = useEditDepth()
|
||||
// highlight-end
|
||||
|
||||
return <span>My component is {editDepth} levels deep</span>
|
||||
}
|
||||
```
|
||||
|
||||
### usePreferences
|
||||
|
||||
Returns methods to set and get user preferences. More info can be found [here](https://payloadcms.com/docs/admin/preferences).
|
||||
|
||||
### useTheme
|
||||
|
||||
Returns the currently selected theme (`light`, `dark` or `auto`), a set function to update it and a boolean `autoMode`, used to determine if the theme value should be set automatically based on the user's device preferences.
|
||||
|
||||
```tsx
|
||||
import { useTheme } from 'payload/components/utilities'
|
||||
|
||||
const MyComponent: React.FC = () => {
|
||||
// highlight-start
|
||||
const { autoMode, setTheme, theme } = useTheme()
|
||||
// highlight-end
|
||||
|
||||
return (
|
||||
<>
|
||||
<span>The current theme is {theme} and autoMode is {autoMode}</span>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setTheme(prev => prev === "light" ? "dark" : "light")}
|
||||
>
|
||||
Toggle theme
|
||||
</button>
|
||||
</>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### useTableColumns
|
||||
|
||||
Returns methods to manipulate table columns
|
||||
|
||||
```tsx
|
||||
import { useTableColumns } from 'payload/components/hooks'
|
||||
|
||||
const MyComponent: React.FC = () => {
|
||||
// highlight-start
|
||||
const { setActiveColumns } = useTableColumns()
|
||||
|
||||
const resetColumns = () => {
|
||||
setActiveColumns(['id', 'createdAt', 'updatedAt'])
|
||||
}
|
||||
// highlight-end
|
||||
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
onClick={resetColumns}
|
||||
>
|
||||
Reset columns
|
||||
</button>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### useDocumentEvents
|
||||
|
||||
The `useDocumentEvents` hook provides a way of subscribing to cross-document events, such as updates made to nested documents within a drawer. This hook will report document events that are outside the scope of the document currently being edited. This hook provides the following:
|
||||
|
||||
| Property | Description |
|
||||
|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **`mostRecentUpdate`** | An object containing the most recently updated document. It contains the `entitySlug`, `id` (if collection), and `updatedAt` properties |
|
||||
| **`reportUpdate`** | A method used to report updates to documents. It accepts the same arguments as the `mostRecentUpdate` property. |
|
||||
|
||||
**Example:**
|
||||
|
||||
```tsx
|
||||
import { useDocumentEvents } from 'payload/components/hooks'
|
||||
|
||||
const ListenForUpdates: React.FC = () => {
|
||||
const { mostRecentUpdate } = useDocumentEvents()
|
||||
|
||||
return (
|
||||
<span>
|
||||
{JSON.stringify(mostRecentUpdate)}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="info">
|
||||
Right now the `useDocumentEvents` hook only tracks recently updated documents, but in the future it will track more document-related events as needed, such as document creation, deletion, etc.
|
||||
</Banner>
|
||||
91
docs/admin/overview.mdx
Normal file
91
docs/admin/overview.mdx
Normal file
@@ -0,0 +1,91 @@
|
||||
---
|
||||
title: The Admin Panel
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Manage your data and customize the Admin Panel by swapping in your own React components. Create, modify or remove views, fields, styles and much more.
|
||||
keywords: admin, components, custom, customize, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload dynamically generates a beautiful, fully functional React admin panel to manage your data. It's extremely powerful and can be customized / extended upon easily by swapping in your own React components. You can add additional views, modify how built-in views look / work, swap out Payload branding for your client's, build your own field types and much more.
|
||||
|
||||
The Payload Admin panel can be bundled with our officially supported [Vite](/docs/admin/vite) and [webpack](/docs/admin/webpack) bundlers or you can integrate another bundler following our adapter pattern approach.
|
||||
When bundled, it is code-split, highly performant (even with 100+ fields), and written fully in TypeScript.
|
||||
|
||||
<Banner type="success">
|
||||
The Admin panel is meant to be simple enough to give you a starting point but not bring too much
|
||||
complexity, so that you can easily customize it to suit the needs of your application and your
|
||||
editors.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/admin.jpg"
|
||||
srcDark="https://payloadcms.com/images/docs/admin-dark.jpg"
|
||||
alt="Admin panel with collapsible sidebar"
|
||||
caption="Redesigned admin panel with a collapsible sidebar that's open by default, providing greater extensibility and enhanced horizontal real estate."
|
||||
/>
|
||||
|
||||
## Admin Options
|
||||
|
||||
All options for the Admin panel are defined in your base Payload config file.
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `bundler` | The bundler that you would like to use to bundle the admin panel. Officially supported bundlers: [Webpack](/docs/admin/webpack) and [Vite](/docs/admin/vite). |
|
||||
| `user` | The `slug` of a Collection that you want be used to log in to the Admin dashboard. [More](/docs/admin/overview#the-admin-user-collection) |
|
||||
| `buildPath` | Specify an absolute path for where to store the built Admin panel bundle used in production. Defaults to `path.resolve(process.cwd(), 'build')`. |
|
||||
| `meta` | Base meta data to use for the Admin panel. Included properties are `titleSuffix`, `ogImage`, and `favicon`. |
|
||||
| `disable` | If set to `true`, the entire Admin panel will be disabled. |
|
||||
| `indexHTML` | Optionally replace the entirety of the `index.html` file used by the Admin panel. Reference the [base index.html file](https://github.com/payloadcms/payload/blob/main/packages/payload/src/admin/index.html) to ensure your replacement has the appropriate HTML elements. |
|
||||
| `css` | Absolute path to a stylesheet that you can use to override / customize the Admin panel styling. [More](/docs/admin/customizing-css). |
|
||||
| `scss` | Absolute path to a Sass variables / mixins stylesheet meant to override Payload styles to make for an easy re-skinning of the Admin panel. [More](/docs/admin/customizing-css#overriding-scss-variables). |
|
||||
| `dateFormat` | Global date format that will be used for all dates in the Admin panel. Any valid [date-fns](https://date-fns.org/) format pattern can be used. |
|
||||
| `avatar` | Set account profile picture. Options: `gravatar`, `default` or a custom React component. |
|
||||
| `autoLogin` | Used to automate admin log-in for dev and demonstration convenience. [More](/docs/authentication/config). |
|
||||
| `livePreview` | Enable real-time editing for instant visual feedback of your front-end application. [More](/docs/live-preview/overview). |
|
||||
| `components` | Component overrides that affect the entirety of the Admin panel. [More](/docs/admin/components) |
|
||||
| `webpack` | Customize the Webpack config that's used to generate the Admin panel. [More](/docs/admin/webpack) |
|
||||
| `vite` | Customize the Vite config that's used to generate the Admin panel. [More](/docs/admin/vite) |
|
||||
| `logoutRoute` | The route for the `logout` page. |
|
||||
| `inactivityRoute` | The route for the `logout` inactivity page. |
|
||||
|
||||
### The Admin User Collection
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
The Payload Admin panel can only be used by one Collection that supports
|
||||
[Authentication](/docs/authentication/overview).
|
||||
</Banner>
|
||||
|
||||
To specify which Collection to use to log in to the Admin panel, pass the `admin` options a `user` key equal to the slug of the Collection that you'd like to use.
|
||||
|
||||
`payload.config.js`:
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
const config = buildConfig({
|
||||
admin: {
|
||||
user: 'admins', // highlight-line
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
By default, if you have not specified a Collection, Payload will automatically provide you with a `User` Collection which will be used to access the Admin panel. You can customize or override the fields and settings of the default `User` Collection by passing your own collection using `users` as its `slug` to Payload. When this is done, Payload will use your provided `User` Collection instead of its default version.
|
||||
|
||||
**Note: you can use whatever Collection you'd like to access the Admin panel as long as the Collection supports Authentication. It doesn't need to be called `users`!**
|
||||
|
||||
For example, you may wish to have two Collections that both support `Authentication`:
|
||||
|
||||
- `admins` - meant to have a higher level of permissions to manage your data and access the Admin panel
|
||||
- `customers` - meant for end users of your app that should not be allowed to log into the Admin panel
|
||||
|
||||
This is totally possible. For the above scenario, by specifying `admin: { user: 'admins' }`, your Payload Admin panel will use `admins`. Any users logged in as `customers` will not be able to log in via the Admin panel.
|
||||
|
||||
### Light and dark modes
|
||||
|
||||
Users in the admin panel have access to choosing between light mode and dark mode for their editing experience. The setting is managed while logged into the admin UI within the user account page and will be stored with the browser. By default, the operating system preference is detected and used.
|
||||
|
||||
### Restricting user access
|
||||
|
||||
If you would like to restrict which users from a single Collection can access the Admin panel, you can use the `admin` access control function. [Click here](/docs/access-control/overview#admin) to learn more.
|
||||
159
docs/admin/preferences.mdx
Normal file
159
docs/admin/preferences.mdx
Normal file
@@ -0,0 +1,159 @@
|
||||
---
|
||||
title: Managing User Preferences
|
||||
label: Preferences
|
||||
order: 50
|
||||
desc: Store the preferences of your users as they interact with the Admin panel.
|
||||
keywords: admin, preferences, custom, customize, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
As your users interact with your Admin panel, you might want to store their preferences in a persistent manner, so that when they revisit the Admin panel, they can pick right back up where they left off.
|
||||
|
||||
Out of the box, Payload handles the persistence of your users' preferences in a handful of ways, including:
|
||||
|
||||
1. Collection `List` view active columns, and their order, that users define
|
||||
1. Their last active locale
|
||||
1. The "collapsed" state of blocks, on a document level, as users edit or interact with documents
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
All preferences are stored on an individual user basis. Payload automatically recognizes the user
|
||||
that is reading or setting a preference via all provided authentication methods.
|
||||
</Banner>
|
||||
|
||||
### Use cases
|
||||
|
||||
This API is used significantly for internal operations of the Admin panel, as mentioned above. But, if you're building your own React components for use in the Admin panel, you can allow users to set their own preferences in correspondence to their usage of your components. For example:
|
||||
|
||||
- If you have built a "color picker", you could "remember" the last used colors that the user has set for easy access next time
|
||||
- If you've built a custom `Nav` component, and you've built in an "accordion-style" UI, you might want to store the `collapsed` state of each Nav collapsible item. This way, if an editor returns to the panel, their `Nav` state is persisted automatically
|
||||
- You might want to store `recentlyAccessed` documents to give admin editors an easy shortcut back to their recently accessed documents on the `Dashboard` or similar
|
||||
- Many other use cases exist. Invent your own! Give your editors an intelligent and persistent editing experience.
|
||||
|
||||
### Database
|
||||
|
||||
Payload automatically creates an internally used `payload-preferences` collection that stores user preferences. Each document in the `payload-preferences` collection contains the following shape:
|
||||
|
||||
| Key | Value |
|
||||
| ----------------- | ----------------------------------------------------------------- |
|
||||
| `id` | A unique ID for each preference stored. |
|
||||
| `key` | A unique `key` that corresponds to the preference. |
|
||||
| `user.value` | The ID of the `user` that is storing its preference. |
|
||||
| `user.relationTo` | The `slug` of the collection that the `user` is logged in as. |
|
||||
| `value` | The value of the preference. Can be any data shape that you need. |
|
||||
| `createdAt` | A timestamp of when the preference was created. |
|
||||
| `updatedAt` | A timestamp set to the last time the preference was updated. |
|
||||
|
||||
### APIs
|
||||
|
||||
Preferences are available to both [GraphQL](/docs/graphql/overview#preferences) and [REST](/docs/rest-api/overview#) APIs.
|
||||
|
||||
### Adding or reading Preferences in your own components
|
||||
|
||||
The Payload admin panel offers a `usePreferences` hook. The hook is only meant for use within the admin panel itself. It provides you with two methods:
|
||||
|
||||
##### `getPreference`
|
||||
|
||||
This async method provides an easy way to retrieve a user's preferences by `key`. It will return a promise containing the resulting preference value.
|
||||
|
||||
**Arguments**
|
||||
|
||||
- `key`: the `key` of your preference to retrieve.
|
||||
|
||||
##### `setPreference`
|
||||
|
||||
Also async, this method provides you with an easy way to set a user preference. It returns `void`.
|
||||
|
||||
**Arguments:**
|
||||
|
||||
- `key`: the `key` of your preference to set.
|
||||
- `value`: the `value` of your preference that you're looking to set.
|
||||
|
||||
## Example
|
||||
|
||||
Here is an example for how you can utilize `usePreferences` within your custom Admin panel components. Note - this example is not fully useful and is more just a reference for how to utilize the Preferences API. In this case, we are demonstrating how to set and retrieve a user's last used colors history within a `ColorPicker` or similar type component.
|
||||
|
||||
```
|
||||
import React, { Fragment, useState, useEffect, useCallback } from 'react';
|
||||
import { usePreferences } from 'payload/components/preferences';
|
||||
|
||||
const lastUsedColorsPreferenceKey = 'last-used-colors';
|
||||
|
||||
const CustomComponent = (props) => {
|
||||
const { getPreference, setPreference } = usePreferences();
|
||||
|
||||
// Store the last used colors in local state
|
||||
const [lastUsedColors, setLastUsedColors] = useState([]);
|
||||
|
||||
// Callback to add a color to the last used colors
|
||||
const updateLastUsedColors = useCallback((color) => {
|
||||
// First, check if color already exists in last used colors.
|
||||
// If it already exists, there is no need to update preferences
|
||||
const colorAlreadyExists = lastUsedColors.indexOf(color) > -1;
|
||||
|
||||
if (!colorAlreadyExists) {
|
||||
const newLastUsedColors = [
|
||||
...lastUsedColors,
|
||||
color,
|
||||
];
|
||||
|
||||
setLastUsedColors(newLastUsedColors);
|
||||
setPreference(lastUsedColorsPreferenceKey, newLastUsedColors);
|
||||
}
|
||||
}, [lastUsedColors, setPreference]);
|
||||
|
||||
// Retrieve preferences on component mount
|
||||
// This will only be run one time, because the `getPreference` method never changes
|
||||
useEffect(() => {
|
||||
const asyncGetPreference = async () => {
|
||||
const lastUsedColorsFromPreferences = await getPreference(lastUsedColorsPreferenceKey);
|
||||
setLastUsedColors(lastUsedColorsFromPreferences);
|
||||
};
|
||||
|
||||
asyncGetPreference();
|
||||
}, [getPreference]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => updateLastUsedColors('red')}
|
||||
>
|
||||
Use red
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => updateLastUsedColors('blue')}
|
||||
>
|
||||
Use blue
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => updateLastUsedColors('purple')}
|
||||
>
|
||||
Use purple
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => updateLastUsedColors('yellow')}
|
||||
>
|
||||
Use yellow
|
||||
</button>
|
||||
{lastUsedColors && (
|
||||
<Fragment>
|
||||
<h5>Last used colors:</h5>
|
||||
<ul>
|
||||
{lastUsedColors?.map((color) => (
|
||||
<li key={color}>
|
||||
{color}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</Fragment>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CustomComponent;
|
||||
```
|
||||
161
docs/admin/vite.mdx
Normal file
161
docs/admin/vite.mdx
Normal file
@@ -0,0 +1,161 @@
|
||||
---
|
||||
title: Vite
|
||||
label: Vite
|
||||
order: 90
|
||||
desc: NEEDS TO BE WRITTEN
|
||||
---
|
||||
|
||||
<Banner type="info">
|
||||
The Vite bundler is currently in beta. If you would like to help us test this package, we'd love to hear from you if you find any [bugs or issues](https://github.com/payloadcms/payload/issues/)!
|
||||
</Banner>
|
||||
|
||||
Payload has a Vite bundler that you can install and bundle the Admin Panel with. This is an alternative to the [Webpack](/docs/admin/webpack) bundler and might give some performance boosts to your development workflow.
|
||||
|
||||
To use Vite as your bundler, first you need to install the package:
|
||||
|
||||
```bash
|
||||
yarn add @payloadcms/bundler-vite
|
||||
```
|
||||
|
||||
Then you will need to add the [bundler](/docs/admin/bundlers) to your Payload config:
|
||||
|
||||
```ts
|
||||
import { buildConfig } from '@payloadcms/config'
|
||||
import { viteBundler } from '@payloadcms/bundler-vite'
|
||||
|
||||
export default buildConfig({
|
||||
collections: [],
|
||||
admin: {
|
||||
bundler: viteBundler(),
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
Vite works fundamentally differently than Webpack. In development mode, it will first pre-bundle any of your dependencies that are CommonJS-only, and then it'll leverage ESM directly in your browser for a better HMR experience.
|
||||
|
||||
It then uses Rollup to create production builds of your admin UI. With Vite, you should see a decent performance boost—especially after your first cold start. However, that first cold start might take a few more seconds.
|
||||
|
||||
<Banner type="warning">
|
||||
In most cases, Vite should work out of the box. But existing Payload plugins may need to make compatibility changes to support Vite.
|
||||
</Banner>
|
||||
|
||||
This is because Vite aliases work fundamentally differently than Webpack aliases, and Payload relies on aliasing server-only code out of the Payload config to ensure that the bundled admin JS works within your browser.
|
||||
|
||||
Here are the main differences between how Vite aliases work and how Webpack aliases work.
|
||||
|
||||
**Vite aliases do not work with absolute paths.**
|
||||
|
||||
In Vite, alias keys must <strong>exactly match</strong> a import paths. If you have 2 files that import the same server-only module, but have different import paths, you would need to add 2 aliases to support both import paths.
|
||||
|
||||
```ts
|
||||
// File A
|
||||
import serverOnlyModule from '../server-only-module'
|
||||
|
||||
// File B
|
||||
import serverOnlyModule from '../../server-only-module'
|
||||
|
||||
// payload.config.ts
|
||||
// You would need to add 2 aliases to support both import paths
|
||||
export const buildConfig({
|
||||
collections: [],
|
||||
admin: {
|
||||
bundler: viteBundler(),
|
||||
vite: (incomingViteConfig) => {
|
||||
const existingAliases = incomingViteConfig?.resolve?.alias || {};
|
||||
let aliasArray: { find: string | RegExp; replacement: string; }[] = [];
|
||||
|
||||
// Pass the existing Vite aliases
|
||||
if (Array.isArray(existingAliases)) {
|
||||
aliasArray = existingAliases;
|
||||
} else {
|
||||
aliasArray = Object.values(existingAliases);
|
||||
}
|
||||
|
||||
// Add your own aliases using the find and replacement keys
|
||||
aliasArray.push({
|
||||
find: '../server-only-module',
|
||||
replacement: path.resolve(__dirname, './path/to/browser-safe-module.js')
|
||||
find: '../../server-only-module',
|
||||
replacement: path.resolve(__dirname, './path/to/browser-safe-module.js')
|
||||
});
|
||||
|
||||
return {
|
||||
...incomingViteConfig,
|
||||
resolve: {
|
||||
...(incomingViteConfig?.resolve || {}),
|
||||
alias: aliasArray,
|
||||
}
|
||||
};
|
||||
},
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
**Vite aliases do not get applied to pre-bundled dependencies.**
|
||||
|
||||
This especially affects plugins, as plugins will be pre-bundled by Vite using `esbuild`. To get around this and support Vite, plugin authors need to configure an alias to their plugin at the top level, so that the alias will work accordingly.
|
||||
|
||||
Here's an example. Say your plugin is called `payload-plugin-cool`. It's imported as follows:
|
||||
|
||||
```ts
|
||||
import { myCoolPlugin } from 'payload-plugin-cool'
|
||||
```
|
||||
|
||||
That plugin should create an alias to support Vite as follows:
|
||||
|
||||
```ts
|
||||
{
|
||||
// aliases go here
|
||||
find: 'payload-plugin-cool',
|
||||
replacement: path.resolve(__dirname, './my-admin-plugin.js')
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
This will effectively alias the entire plugin and work with Vite. If the plugin requires admin-specific code, then the `./my-admin-plugin.js` alias target file should reflect any changes necessary to the admin UI that the main server-side plugin performs.
|
||||
|
||||
### Extending the Vite config
|
||||
|
||||
The Payload config supports a new property for plugins to be able to extend the Vite config specifically. That property exists on the main Payload config under `admin.vite`. You can check out the [Vite docs](https://vitejs.dev/config/shared-options.html) for more information on what you can do with the Vite config.
|
||||
|
||||
It's a function that takes a Vite config, and returns an updated Vite config. Here's an example:
|
||||
|
||||
```ts
|
||||
export const buildConfig({
|
||||
collections: [],
|
||||
admin: {
|
||||
bundler: viteBundler(),
|
||||
vite: (incomingViteConfig) => {
|
||||
const existingAliases = incomingViteConfig?.resolve?.alias || {};
|
||||
let aliasArray: { find: string | RegExp; replacement: string; }[] = [];
|
||||
|
||||
// Pass the existing Vite aliases
|
||||
if (Array.isArray(existingAliases)) {
|
||||
aliasArray = existingAliases;
|
||||
} else {
|
||||
aliasArray = Object.values(existingAliases);
|
||||
}
|
||||
|
||||
// Add your own aliases using the find and replacement keys
|
||||
aliasArray.push({
|
||||
find: '../server-only-module',
|
||||
replacement: path.resolve(__dirname, './path/to/browser-safe-module.js')
|
||||
});
|
||||
|
||||
return {
|
||||
...incomingViteConfig,
|
||||
resolve: {
|
||||
...(incomingViteConfig?.resolve || {}),
|
||||
alias: aliasArray,
|
||||
}
|
||||
};
|
||||
},
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
Learn more about [aliasing server-only modules](https://payloadcms.com/docs/admin/excluding-server-code#aliasing-server-only-modules).
|
||||
|
||||
Even though there is a new property for Vite configs specifically, we have implemented some "compatibility" between Webpack and Vite out-of-the-box.
|
||||
|
||||
If your config specifies Webpack aliases, we attempt to leverage them automatically within the Vite config. They are merged into the Vite alias configuration seamlessly and may work out-of-the-box.
|
||||
67
docs/admin/webpack.mdx
Normal file
67
docs/admin/webpack.mdx
Normal file
@@ -0,0 +1,67 @@
|
||||
---
|
||||
title: Webpack
|
||||
label: Webpack
|
||||
order: 80
|
||||
desc: The Payload admin panel uses Webpack 5 and supports many common functionalities such as SCSS and Typescript out of the box to give you more freedom.
|
||||
keywords: admin, webpack, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload has a Webpack (v5) bundler that you can build the Admin panel with. For now, we recommended using it because it is stable. If you are feeling a bit more adventurous you can give the [Vite](/docs/admin/vite) bundler a shot.
|
||||
|
||||
Out of the box, the Webpack bundler supports common functionalities such as SCSS and Typescript, but there are many cases where you may need to add support for additional functionalities.
|
||||
|
||||
#### Installation
|
||||
|
||||
```bash
|
||||
yarn add @payloadcms/bundler-webpack
|
||||
```
|
||||
|
||||
#### Import the bundler
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
|
||||
import { buildConfig } from 'payload/config'
|
||||
import { webpackBundler } from '@payloadcms/bundler-webpack'
|
||||
|
||||
export default buildConfig({
|
||||
// highlight-start
|
||||
admin: {
|
||||
bundler: webpackBundler()
|
||||
},
|
||||
// highlight-end
|
||||
})
|
||||
```
|
||||
|
||||
### Extending Webpack
|
||||
|
||||
If you need to extend the Webpack config, you can do so by passing a function to the `admin.webpack` property on your Payload config.
|
||||
The function will receive the Webpack config as an argument and should return the modified config.
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
|
||||
import { buildConfig } from 'payload/config'
|
||||
import { webpackBundler } from '@payloadcms/bundler-webpack'
|
||||
|
||||
export default buildConfig({
|
||||
admin: {
|
||||
bundler: webpackBundler()
|
||||
// highlight-start
|
||||
webpack: (config) => {
|
||||
// full control of the Webpack config
|
||||
|
||||
return config
|
||||
},
|
||||
// highlight-end
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
If changes to your Webpack aliases are not surfacing, they might be
|
||||
[cached](https://webpack.js.org/configuration/cache/) in `node_modules/.cache/webpack`. Try
|
||||
deleting that folder and restarting your server.
|
||||
</Banner>
|
||||
292
docs/authentication/config.mdx
Normal file
292
docs/authentication/config.mdx
Normal file
@@ -0,0 +1,292 @@
|
||||
---
|
||||
title: Authentication Config
|
||||
label: Config
|
||||
order: 20
|
||||
desc: Enable and customize options in the Authentication config for features including Forgot Password, Login Attempts, API key usage and more.
|
||||
keywords: authentication, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload's Authentication is extremely powerful and gives you everything you need when you go to build a new app or site in a secure and responsible manner.
|
||||
|
||||
To enable Authentication on a collection, define an `auth` property and set it to either `true` or to an object containing the options below.
|
||||
|
||||
## Options
|
||||
|
||||
| Option | Description |
|
||||
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`useAPIKey`** | Payload Authentication provides for API keys to be set on each user within an Authentication-enabled Collection. [More](/docs/authentication/config#api-keys) |
|
||||
| **`tokenExpiration`** | How long (in seconds) to keep the user logged in. JWTs and HTTP-only cookies will both expire at the same time. |
|
||||
| **`maxLoginAttempts`** | Only allow a user to attempt logging in X amount of times. Automatically locks out a user from authenticating if this limit is passed. Set to `0` to disable. |
|
||||
| **`lockTime`** | Set the time (in milliseconds) that a user should be locked out if they fail authentication more times than `maxLoginAttempts` allows for. |
|
||||
| **`depth`** | How many levels deep a `user` document should be populated when creating the JWT and binding the `user` to the express `req`. Defaults to `0` and should only be modified if absolutely necessary, as this will affect performance. |
|
||||
| **`cookies`** | Set cookie options, including `secure`, `sameSite`, and `domain`. For advanced users. |
|
||||
| **`forgotPassword`** | Customize the way that the `forgotPassword` operation functions. [More](/docs/authentication/config#forgot-password) |
|
||||
| **`verify`** | Set to `true` or pass an object with verification options to require users to verify by email before they are allowed to log into your app. [More](/docs/authentication/config#email-verification) |
|
||||
| **`disableLocalStrategy`** | Advanced - disable Payload's built-in local auth strategy. Only use this property if you have replaced Payload's auth mechanisms with your own. |
|
||||
| **`strategies`** | Advanced - an array of PassportJS authentication strategies to extend this collection's authentication with. [More](/docs/authentication/config#strategies) |
|
||||
|
||||
### API keys
|
||||
|
||||
To integrate with third-party APIs or services, you might need the ability to generate API keys that can be used to identify as a certain user within Payload.
|
||||
|
||||
In Payload, users are essentially documents within a collection. Just like you can authenticate as a user with an email and password, which is considered as our default local auth strategy, you can also authenticate as a user with an API key. API keys are generated on a user-by-user basis, similar to email and passwords, and are meant to represent a single user.
|
||||
|
||||
For example, if you have a third-party service or external app that needs to be able to perform protected actions at its discretion, you have two options:
|
||||
|
||||
1. Create a user for the third-party app, and log in each time to receive a token before you attempt to access any protected actions
|
||||
1. Enable API key support for the Collection, where you can generate a non-expiring API key per user in the collection. This is particularly useful as you can create a "user" that reflects an integration with a specific external service and assign a "role" or specific access only needed by that service/integration. Alternatively, you could create a "super admin" user and assign an API key to that user so that any requests made with that API key are considered as being made by that super user.
|
||||
|
||||
Technically, both of these options will work for third-party integrations but the second option with API key is simpler, because it reduces the amount of work that your integrations need to do to be authenticated properly.
|
||||
|
||||
To enable API keys on a collection, set the `useAPIKey` auth option to `true`. From there, a new interface will appear in the Admin panel for each document within the collection that allows you to generate an API key for each user in the Collection.
|
||||
|
||||
<Banner type="success">
|
||||
User API keys are encrypted within the database, meaning that if your database is compromised,
|
||||
your API keys will not be.
|
||||
</Banner>
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
If you change your `PAYLOAD_SECRET`, you will need to regenerate your API keys.
|
||||
<br />
|
||||
The secret key is used to encrypt the API keys, so if you change the secret, existing API keys will no longer be valid.
|
||||
</Banner>
|
||||
|
||||
#### Authenticating via API Key
|
||||
|
||||
To authenticate REST or GraphQL API requests using an API key, set the `Authorization` header. The header is case-sensitive and needs the slug of the `auth.useAPIKey` enabled collection, then " API-Key ", followed by the `apiKey` that has been assigned. Payload's built-in middleware will then assign the user document to `req.user` and handle requests with the proper access control. By doing this, Payload recognizes the request being made as a request by the user associated with that API key.
|
||||
|
||||
**For example, using Fetch:**
|
||||
|
||||
```ts
|
||||
import User from '../collections/User'
|
||||
|
||||
const response = await fetch('http://localhost:3000/api/pages', {
|
||||
headers: {
|
||||
Authorization: `${User.slug} API-Key ${YOUR_API_KEY}`,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
Payload ensures that the same, uniform access control is used across all authentication strategies. This enables you to utilize your existing access control configurations with both API keys and the standard email/password authentication. This consistency can aid in maintaining granular control over your API keys.
|
||||
|
||||
#### API Key _Only_ Authentication
|
||||
|
||||
If you want to use API keys as the only authentication method for a collection, you can disable the default local strategy by setting `disableLocalStrategy` to `true` on the collection's `auth` property. This will disable the ability to authenticate with email and password, and will only allow for authentication via API key.
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Customers: CollectionConfig = {
|
||||
slug: 'customers',
|
||||
auth: {
|
||||
useAPIKey: true,
|
||||
disableLocalStrategy: true,
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Forgot Password
|
||||
|
||||
You can customize how the Forgot Password workflow operates with the following options on the `auth.forgotPassword` property:
|
||||
|
||||
**`generateEmailHTML`**
|
||||
|
||||
Function that accepts one argument, containing `{ req, token, user }`, that allows for overriding the HTML within emails that are sent to users attempting to reset their password. The function should return a string that supports HTML, which can be a full HTML email.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
HTML templating can be used to create custom email templates, inline CSS automatically, and more.
|
||||
You can make a reusable function that standardizes all email sent from Payload, which makes
|
||||
sending custom emails more DRY. Payload doesn't ship with an HTML templating engine, so you are
|
||||
free to choose your own.
|
||||
</Banner>
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Customers: CollectionConfig = {
|
||||
slug: 'customers',
|
||||
auth: {
|
||||
forgotPassword: {
|
||||
// highlight-start
|
||||
generateEmailHTML: ({ req, token, user }) => {
|
||||
// Use the token provided to allow your user to reset their password
|
||||
const resetPasswordURL = `https://yourfrontend.com/reset-password?token=${token}`
|
||||
|
||||
return `
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<h1>Here is my custom email template!</h1>
|
||||
<p>Hello, ${user.email}!</p>
|
||||
<p>Click below to reset your password.</p>
|
||||
<p>
|
||||
<a href="${resetPasswordURL}">${resetPasswordURL}</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
`
|
||||
},
|
||||
// highlight-end
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
If you specify a different URL to send your users to for resetting their password, such as a page
|
||||
on the frontend of your app or similar, you need to handle making the call to the Payload REST or
|
||||
GraphQL reset-password operation yourself on your frontend, using the token that was provided for
|
||||
you. Above, it was passed via query parameter.
|
||||
</Banner>
|
||||
|
||||
**`generateEmailSubject`**
|
||||
|
||||
Similarly to the above `generateEmailHTML`, you can also customize the subject of the email. The function argument are the same but you can only return a string - not HTML.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
{
|
||||
slug: 'customers',
|
||||
auth: {
|
||||
forgotPassword: {
|
||||
// highlight-start
|
||||
generateEmailSubject: ({ req, user }) => {
|
||||
return `Hey ${user.email}, reset your password!`;
|
||||
}
|
||||
// highlight-end
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Email Verification
|
||||
|
||||
If you'd like to require email verification before a user can successfully log in, you can enable it by passing `true` or an `options` object to `auth.verify`. The following options are available:
|
||||
|
||||
**`generateEmailHTML`**
|
||||
|
||||
Function that accepts one argument, containing `{ req, token, user }`, that allows for overriding the HTML within emails that are sent to users indicating how to validate their account. The function should return a string that supports HTML, which can optionally be a full HTML email.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Customers: CollectionConfig = {
|
||||
slug: 'customers',
|
||||
auth: {
|
||||
verify: {
|
||||
// highlight-start
|
||||
generateEmailHTML: ({ req, token, user }) => {
|
||||
// Use the token provided to allow your user to verify their account
|
||||
const url = `https://yourfrontend.com/verify?token=${token}`
|
||||
|
||||
return `Hey ${user.email}, verify your email by clicking here: ${url}`
|
||||
},
|
||||
// highlight-end
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
If you specify a different URL to send your users to for email verification, such as a page on the
|
||||
frontend of your app or similar, you need to handle making the call to the Payload REST or GraphQL
|
||||
verification operation yourself on your frontend, using the token that was provided for you.
|
||||
Above, it was passed via query parameter.
|
||||
</Banner>
|
||||
|
||||
**`generateEmailSubject`**
|
||||
|
||||
Similarly to the above `generateEmailHTML`, you can also customize the subject of the email. The function argument are the same but you can only return a string - not HTML.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
{
|
||||
slug: 'customers',
|
||||
auth: {
|
||||
forgotPassword: {
|
||||
// highlight-start
|
||||
generateEmailSubject: ({ req, user }) => {
|
||||
return `Hey ${user.email}, reset your password!`;
|
||||
}
|
||||
// highlight-end
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Strategies
|
||||
|
||||
As of Payload `1.0.0`, you can add additional authentication strategies to Payload easily by passing them to your collection's `auth.strategies` array.
|
||||
|
||||
Behind the scenes, Payload uses PassportJS to power its local authentication strategy, so most strategies listed on the PassportJS website will work seamlessly. Combined with adding custom components to the admin panel's `Login` view, you can create advanced authentication strategies directly within Payload.
|
||||
|
||||
<Banner type="warning">
|
||||
This is an advanced feature, so only attempt this if you are an experienced developer. Otherwise,
|
||||
just let Payload's built-in authentication handle user auth for you.
|
||||
</Banner>
|
||||
|
||||
The `strategies` property is an array that takes objects with the following properties:
|
||||
|
||||
**`strategy`**
|
||||
|
||||
This property can accept a Passport strategy directly, or you can pass a function that takes a `payload` argument, and returns a Passport strategy.
|
||||
|
||||
**`name`**
|
||||
|
||||
If you pass a strategy to the `strategy` property directly, the `name` property is optional and allows you to override the strategy's built-in name.
|
||||
|
||||
However, if you pass a function to `strategy`, `name` is a required property.
|
||||
|
||||
In either case, Payload will prefix the strategy name with the collection `slug` that the strategy is passed to.
|
||||
|
||||
### Admin autologin
|
||||
|
||||
For testing and demo purposes you may want to skip forcing the admin user to login in order to access the panel.
|
||||
The `admin.autologin` property is used to configure the how visitors are handled when accessing the admin panel.
|
||||
The default is that all users will have to login and this should not be enabled for environments where data needs to protected.
|
||||
|
||||
#### autoLogin Options
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||
| **`email`** | The email address of the user to login as |
|
||||
| **`password`** | The password of the user to login as |
|
||||
| **`prefillOnly`** | If set to true, the login credentials will be prefilled but the user will still need to click the login button. |
|
||||
|
||||
The recommended way to use this feature is behind an environment variable to ensure it is disabled when in production.
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
export default buildConfig({
|
||||
admin: {
|
||||
user: 'users',
|
||||
// highlight-start
|
||||
autoLogin:
|
||||
process.env.PAYLOAD_PUBLIC_ENABLE_AUTOLOGIN === 'true'
|
||||
? {
|
||||
email: 'test@example.com',
|
||||
password: 'test',
|
||||
prefillOnly: true,
|
||||
}
|
||||
: false,
|
||||
// highlight-end
|
||||
},
|
||||
collections: [
|
||||
/** */
|
||||
],
|
||||
})
|
||||
```
|
||||
405
docs/authentication/operations.mdx
Normal file
405
docs/authentication/operations.mdx
Normal file
@@ -0,0 +1,405 @@
|
||||
---
|
||||
title: Authentication Operations
|
||||
label: Operations
|
||||
order: 30
|
||||
desc: Enabling Authentication automatically makes key operations available such as Login, Logout, Verify, Unlock, Reset Password and more.
|
||||
keywords: authentication, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Enabling Authentication on a Collection automatically exposes additional auth-based operations in the Local, REST, and GraphQL APIs.
|
||||
|
||||
### Access
|
||||
|
||||
The Access operation returns what a logged in user can and can't do with the collections and globals that are registered via your config. This data can be immensely helpful if your app needs to show and hide certain features based on access control, as the Payload Admin panel does.
|
||||
|
||||
**REST API endpoint**:
|
||||
|
||||
`GET http://localhost:3000/api/access`
|
||||
|
||||
Example response:
|
||||
|
||||
```ts
|
||||
{
|
||||
canAccessAdmin: true,
|
||||
collections: {
|
||||
pages: {
|
||||
create: {
|
||||
permission: true,
|
||||
},
|
||||
read: {
|
||||
permission: true,
|
||||
},
|
||||
update: {
|
||||
permission: true,
|
||||
},
|
||||
delete: {
|
||||
permission: true,
|
||||
},
|
||||
fields: {
|
||||
title: {
|
||||
create: {
|
||||
permission: true,
|
||||
},
|
||||
read: {
|
||||
permission: true,
|
||||
},
|
||||
update: {
|
||||
permission: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Example GraphQL Query**:
|
||||
|
||||
```graphql
|
||||
query {
|
||||
Access {
|
||||
pages {
|
||||
read {
|
||||
permission
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Document access can also be queried on a collection/global basis. Access on a global can queried like `http://localhost:3000/api/global-slug/access`, Collection document access can be queried like `http://localhost:3000/api/collection-slug/access/:id`.
|
||||
|
||||
### Me
|
||||
|
||||
Returns either a logged in user with token or null when there is no logged in user.
|
||||
|
||||
**REST API endpoint**:
|
||||
|
||||
`GET http://localhost:3000/api/[collection-slug]/me`
|
||||
|
||||
Example response:
|
||||
|
||||
```ts
|
||||
{
|
||||
user: { // The JWT "payload" ;) from the logged in user
|
||||
email: 'dev@payloadcms.com',
|
||||
createdAt: "2020-12-27T21:16:45.645Z",
|
||||
updatedAt: "2021-01-02T18:37:41.588Z",
|
||||
id: "5ae8f9bde69e394e717c8832"
|
||||
},
|
||||
token: '34o4345324...', // The token that can be used to authenticate the user
|
||||
exp: 1609619861, // Unix timestamp representing when the user's token will expire
|
||||
}
|
||||
```
|
||||
|
||||
**Example GraphQL Query**:
|
||||
|
||||
```graphql
|
||||
query {
|
||||
me[collection-singular-label] {
|
||||
user {
|
||||
email
|
||||
}
|
||||
exp
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Login
|
||||
|
||||
Accepts an `email` and `password`. On success, it will return the logged in user as well as a token that can be used to authenticate. In the GraphQL and REST APIs, this operation also automatically sets an HTTP-only cookie including the user's token. If you pass an Express `res` to the Local API operation, Payload will set a cookie there as well.
|
||||
|
||||
**Example REST API login**:
|
||||
|
||||
```ts
|
||||
const res = await fetch('http://localhost:3000/api/[collection-slug]/login', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
email: 'dev@payloadcms.com',
|
||||
password: 'this-is-not-our-password...or-is-it?',
|
||||
}),
|
||||
})
|
||||
|
||||
const json = await res.json()
|
||||
|
||||
// JSON will be equal to the following:
|
||||
/*
|
||||
{
|
||||
user: {
|
||||
email: 'dev@payloadcms.com',
|
||||
createdAt: "2020-12-27T21:16:45.645Z",
|
||||
updatedAt: "2021-01-02T18:37:41.588Z",
|
||||
id: "5ae8f9bde69e394e717c8832"
|
||||
},
|
||||
token: '34o4345324...',
|
||||
exp: 1609619861
|
||||
}
|
||||
*/
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```graphql
|
||||
mutation {
|
||||
login[collection-singular-label](email: "dev@payloadcms.com", password: "yikes") {
|
||||
user {
|
||||
email
|
||||
}
|
||||
exp
|
||||
token
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Example Local API login**:
|
||||
|
||||
```ts
|
||||
const result = await payload.login({
|
||||
collection: '[collection-slug]',
|
||||
data: {
|
||||
email: 'dev@payloadcms.com',
|
||||
password: 'get-out',
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
### Logout
|
||||
|
||||
As Payload sets HTTP-only cookies, logging out cannot be done by just removing a cookie in JavaScript, as HTTP-only cookies are inaccessible by JS within the browser. So, Payload exposes a `logout` operation to delete the token in a safe way.
|
||||
|
||||
**Example REST API logout**:
|
||||
|
||||
```ts
|
||||
const res = await fetch('http://localhost:3000/api/[collection-slug]/logout', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```
|
||||
mutation {
|
||||
logout[collection-singular-label]
|
||||
}
|
||||
```
|
||||
|
||||
### Refresh
|
||||
|
||||
Allows for "refreshing" JWTs. If your user has a token that is about to expire, but the user is still active and using the app, you might want to use the `refresh` operation to receive a new token by sending the operation the token that is about to expire.
|
||||
|
||||
This operation requires a non-expired token to send back a new one. If the user's token has already expired, you will need to allow them to log in again to retrieve a new token.
|
||||
|
||||
If successful, this operation will automatically renew the user's HTTP-only cookie and will send back the updated token in JSON.
|
||||
|
||||
**Example REST API token refresh**:
|
||||
|
||||
```ts
|
||||
const res = await fetch('http://localhost:3000/api/[collection-slug]/refresh-token', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
|
||||
const json = await res.json()
|
||||
|
||||
// JSON will be equal to the following:
|
||||
/*
|
||||
{
|
||||
user: {
|
||||
email: 'dev@payloadcms.com',
|
||||
createdAt: "2020-12-27T21:16:45.645Z",
|
||||
updatedAt: "2021-01-02T18:37:41.588Z",
|
||||
id: "5ae8f9bde69e394e717c8832"
|
||||
},
|
||||
refreshedToken: '34o4345324...',
|
||||
exp: 1609619861
|
||||
}
|
||||
*/
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```
|
||||
mutation {
|
||||
refreshToken[collection-singular-label] {
|
||||
user {
|
||||
email
|
||||
}
|
||||
refreshedToken
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="success">
|
||||
The Refresh operation will automatically find the user's token in either a JWT header or the
|
||||
HTTP-only cookie. But, you can specify the token you're looking to refresh by providing the REST
|
||||
API with a `token` within the JSON body of the request, or by providing the GraphQL resolver a
|
||||
`token` arg.
|
||||
</Banner>
|
||||
|
||||
### Verify by Email
|
||||
|
||||
If your collection supports email verification, the Verify operation will be exposed which accepts a verification token and sets the user's `_verified` property to `true`, thereby allowing the user to authenticate with the Payload API.
|
||||
|
||||
**Example REST API user verification**:
|
||||
|
||||
```ts
|
||||
const res = await fetch(`http://localhost:3000/api/[collection-slug]/verify/${TOKEN_HERE}`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```graphql
|
||||
mutation {
|
||||
verifyEmail[collection-singular-label](token: "TOKEN_HERE")
|
||||
}
|
||||
```
|
||||
|
||||
**Example Local API verification**:
|
||||
|
||||
```ts
|
||||
const result = await payload.verifyEmail({
|
||||
collection: '[collection-slug]',
|
||||
token: 'TOKEN_HERE',
|
||||
})
|
||||
```
|
||||
|
||||
### Unlock
|
||||
|
||||
If a user locks themselves out and you wish to deliberately unlock them, you can utilize the Unlock operation. The Admin panel features an Unlock control automatically for all collections that feature max login attempts, but you can programmatically unlock users as well by using the Unlock operation.
|
||||
|
||||
To restrict who is allowed to unlock users, you can utilize the [`unlock`](/docs/access-control/overview#unlock) access control function.
|
||||
|
||||
**Example REST API unlock**:
|
||||
|
||||
```ts
|
||||
const res = await fetch(`http://localhost:3000/api/[collection-slug]/unlock`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```
|
||||
mutation {
|
||||
unlock[collection-singular-label]
|
||||
}
|
||||
```
|
||||
|
||||
**Example Local API unlock**:
|
||||
|
||||
```ts
|
||||
const result = await payload.unlock({
|
||||
collection: '[collection-slug]',
|
||||
})
|
||||
```
|
||||
|
||||
### Forgot Password
|
||||
|
||||
Payload comes with built-in forgot password functionality. Submitting an email address to the Forgot Password operation will generate an email and send it to the respective email address with a link to reset their password.
|
||||
|
||||
The link to reset the user's password contains a token which is what allows the user to securely reset their password.
|
||||
|
||||
By default, the Forgot Password operations send users to the Payload Admin panel to reset their password, but you can customize the generated email to send users to the frontend of your app instead by [overriding the email HTML](/docs/authentication/config#forgot-password).
|
||||
|
||||
**Example REST API Forgot Password**:
|
||||
|
||||
```ts
|
||||
const res = await fetch(`http://localhost:3000/api/[collection-slug]/forgot-password`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
email: 'dev@payloadcms.com',
|
||||
}),
|
||||
})
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```
|
||||
mutation {
|
||||
forgotPassword[collection-singular-label](email: "dev@payloadcms.com")
|
||||
}
|
||||
```
|
||||
|
||||
**Example Local API forgot password**:
|
||||
|
||||
```ts
|
||||
const token = await payload.forgotPassword({
|
||||
collection: '[collection-slug]',
|
||||
data: {
|
||||
email: 'dev@payloadcms.com',
|
||||
},
|
||||
disableEmail: false, // you can disable the auto-generation of email via local API
|
||||
})
|
||||
```
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
You can stop the reset-password email from being sent via using the local API. This is helpful if
|
||||
you need to create user accounts programmatically, but not set their password for them. This
|
||||
effectively generates a reset password token which you can then use to send to a page you create,
|
||||
allowing a user to "complete" their account by setting their password. In the background, you'd
|
||||
use the token to "reset" their password.
|
||||
</Banner>
|
||||
|
||||
### Reset Password
|
||||
|
||||
After a user has "forgotten" their password and a token is generated, that token can be used to send to the reset password operation along with a new password which will allow the user to reset their password securely.
|
||||
|
||||
**Example REST API Reset Password**:
|
||||
|
||||
```ts
|
||||
const res = await fetch(`http://localhost:3000/api/[collection-slug]/reset-password`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
token: 'TOKEN_GOES_HERE'
|
||||
password: 'not-today',
|
||||
}),
|
||||
});
|
||||
|
||||
const json = await res.json();
|
||||
|
||||
// JSON will be equal to the following:
|
||||
/*
|
||||
{
|
||||
user: {
|
||||
email: 'dev@payloadcms.com',
|
||||
createdAt: "2020-12-27T21:16:45.645Z",
|
||||
updatedAt: "2021-01-02T18:37:41.588Z",
|
||||
id: "5ae8f9bde69e394e717c8832"
|
||||
},
|
||||
token: '34o4345324...',
|
||||
exp: 1609619861
|
||||
}
|
||||
*/
|
||||
```
|
||||
|
||||
**Example GraphQL Mutation**:
|
||||
|
||||
```graphql
|
||||
mutation {
|
||||
resetPassword[collection-singular-label](token: "TOKEN_GOES_HERE", password: "not-today")
|
||||
}
|
||||
```
|
||||
181
docs/authentication/overview.mdx
Normal file
181
docs/authentication/overview.mdx
Normal file
@@ -0,0 +1,181 @@
|
||||
---
|
||||
title: Authentication Overview
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Payload provides highly secure user Authentication out of the box, and you can fully customize, override, or remove the default Authentication support.
|
||||
keywords: authentication, config, configuration, overview, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<YouTube
|
||||
id="CT4KafeJjTI"
|
||||
title="Simplified Authentication for Headless CMS: Unlocking Reusability in One Line"
|
||||
/>
|
||||
|
||||
<Banner>
|
||||
Payload provides for highly secure and customizable user Authentication out of the box, which
|
||||
allows for users to identify themselves to Payload.
|
||||
</Banner>
|
||||
|
||||
Authentication is used within the Payload Admin panel itself as well as throughout your app(s) themselves however you determine necessary.
|
||||
|
||||

|
||||
_Admin panel screenshot depicting an Admins Collection with Auth enabled_
|
||||
|
||||
**Here are some common use cases of Authentication outside of Payload's dashboard itself:**
|
||||
|
||||
- Customer accounts for an ecommerce app
|
||||
- Customer accounts for a SaaS product
|
||||
- P2P app or social site where users need to log in and manage their profiles
|
||||
- Online game where players need to track their progress over time
|
||||
|
||||
By default, Payload provides you with a `User` collection that supports Authentication, which is used to access the Admin panel. But, you can add support to one or many Collections of your own. For more information on how to customize, override, or remove the default `User` collection, [click here](/docs/admin/overview#the-admin-user-collection).
|
||||
|
||||
### Enabling Auth on a collection
|
||||
|
||||
Every Payload Collection can opt-in to supporting Authentication by specifying the `auth` property on the Collection's config to either `true` or to an object containing `auth` options.
|
||||
|
||||
**For a full list of all `auth` options, [click here](/docs/authentication/config).**
|
||||
|
||||
Simple example collection:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Admins: CollectionConfig = {
|
||||
slug: 'admins',
|
||||
// highlight-start
|
||||
auth: {
|
||||
tokenExpiration: 7200, // How many seconds to keep the user logged in
|
||||
verify: true, // Require email verification before being allowed to authenticate
|
||||
maxLoginAttempts: 5, // Automatically lock a user out after X amount of failed logins
|
||||
lockTime: 600 * 1000, // Time period to allow the max login attempts
|
||||
// More options are available
|
||||
},
|
||||
// highlight-end
|
||||
fields: [
|
||||
{
|
||||
name: 'role',
|
||||
type: 'select',
|
||||
required: true,
|
||||
options: [
|
||||
'user',
|
||||
'admin',
|
||||
'editor',
|
||||
'developer',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
**By enabling Authentication on a config, the following modifications will automatically be made to your Collection:**
|
||||
|
||||
1. `email` as well as password `salt` & `hash` fields will be added to your Collection's schema
|
||||
1. The Admin panel will feature a new set of corresponding UI to allow for changing password and editing email
|
||||
1. [A new set of `operations`](/docs/authentication/operations) will be exposed via Payload's REST, Local, and GraphQL APIs
|
||||
|
||||
Once enabled, each document that is created within the Collection can be thought of as a `user` - who can make use of commonly required authentication functions such as logging in / out, resetting their password, and more.
|
||||
|
||||
### Logging in / out, resetting password, etc.
|
||||
|
||||
[Click here](/docs/authentication/operations) for a list of all automatically-enabled Auth operations, including `login`, `logout`, `refresh`, and others.
|
||||
|
||||
### Token-based auth
|
||||
|
||||
Successfully logging in returns a `JWT` (JSON web token) which is how a user will identify themselves to Payload. By providing this JWT via either an HTTP-only cookie or an `Authorization: JWT` or `Authorization: Bearer` header, Payload will automatically identify the user and add its user JWT data to the Express `req`, which is available throughout Payload including within access control, hooks, and more.
|
||||
|
||||
You can specify what data gets encoded to the JWT token by setting `saveToJWT` to true in your auth collection fields. If you wish to use a different key other than the field `name`, you can provide it to `saveToJWT` as a string. It is also possible to use `saveToJWT` on fields that are nested in inside groups and tabs. If a group has a `saveToJWT` set it will include the object with all sub-fields in the token. You can set `saveToJWT: false` for any fields you wish to omit. If a field inside a group has `saveToJWT` set, but the group does not, the field will be included at the top level of the token.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
You can access the logged-in user from access control functions and hooks via the Express{' '}
|
||||
<strong>req</strong>. The logged-in user is automatically added as the <strong>user</strong>{' '}
|
||||
property.
|
||||
</Banner>
|
||||
|
||||
### HTTP-only cookies
|
||||
|
||||
Payload `login`, `logout`, and `refresh` operations make use of HTTP-only cookies for authentication purposes. HTTP-only cookies are a highly secure method of storing identifiable data on a user's device so that Payload can automatically recognize a returning user until their cookie expires. They are totally protected from common XSS attacks and cannot be read at all via JavaScript in the browser.
|
||||
|
||||
##### Automatic browser inclusion
|
||||
|
||||
Modern browsers automatically include `http-only` cookies when making requests directly to URLs—meaning that if you are running your API on http://example.com, and you have logged in and visit http://example.com/test-page, your browser will automatically include the Payload authentication cookie for you.
|
||||
|
||||
##### Using Fetch or other HTTP APIs
|
||||
|
||||
However, if you use `fetch` or similar APIs to retrieve Payload resources from its REST or GraphQL API, you need to specify to include credentials (cookies).
|
||||
|
||||
Fetch example, including credentials:
|
||||
|
||||
```ts
|
||||
const response = await fetch('http://localhost:3000/api/pages', {
|
||||
credentials: 'include',
|
||||
})
|
||||
|
||||
const pages = await response.json()
|
||||
```
|
||||
|
||||
For more about how to automatically include cookies in requests from your app to your Payload API, [click here](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#Sending_a_request_with_credentials_included).
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
To make sure you have a Payload cookie set properly in your browser after logging in, you can use
|
||||
Chrome's Developer Tools - Application - Cookies - [your-domain-here]. The Chrome Developer tools
|
||||
will still show HTTP-only cookies, even when JavaScript running on the page can't.
|
||||
</Banner>
|
||||
|
||||
### CSRF Protection
|
||||
|
||||
CSRF (cross-site request forgery) attacks are common and dangerous. By using an HTTP-only cookie, Payload removes many XSS vulnerabilities, however, CSRF attacks can still be possible.
|
||||
|
||||
For example, let's say you have a very popular app running at coolsite.com. This app allows users to manage finances and send / receive money. As Payload is using HTTP-only cookies, that means that browsers automatically will include cookies when sending requests to your domain - no matter what page created the request.
|
||||
|
||||
So, if a user of coolsite.com is logged in and just browsing around on the internet, they might stumble onto a page with bad intentions. That bad page might automatically make requests to all sorts of sites to see if they can find one that they can log into - and coolsite.com might be on their list. If your user was logged in while they visited that evil site, the attacker could do whatever they wanted as if they were your coolsite.com user by just sending requests to the coolsite API (which would automatically include the auth cookie). They could send themselves a bunch of money from your user's account, change the user's password, etc. This is what a CSRF attack is.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>
|
||||
To protect against CSRF attacks, Payload only accepts cookie-based authentication from domains
|
||||
that you explicitly whitelist.
|
||||
</strong>
|
||||
</Banner>
|
||||
|
||||
To define domains that should allow users to identify themselves via the Payload HTTP-only cookie, use the `csrf` option on the base Payload config to whitelist domains that you trust.
|
||||
|
||||
`payload.config.ts`:
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
const config = buildConfig({
|
||||
collections: [
|
||||
// collections here
|
||||
],
|
||||
// highlight-start
|
||||
csrf: [
|
||||
// whitelist of domains to allow cookie auth from
|
||||
'https://your-frontend-app.com',
|
||||
'https://your-other-frontend-app.com',
|
||||
],
|
||||
// highlight-end
|
||||
})
|
||||
|
||||
export default config
|
||||
```
|
||||
|
||||
### Identifying users via the Authorization Header
|
||||
|
||||
In addition to authenticating via an HTTP-only cookie, you can also identify users via the `Authorization` header on an HTTP request.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
const request = await fetch('http://localhost:3000', {
|
||||
headers: {
|
||||
Authorization: `JWT ${token}`,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
You can retrieve a user's token via the response to `login`, `refresh`, and `me` auth operations.
|
||||
56
docs/authentication/using-middleware.mdx
Normal file
56
docs/authentication/using-middleware.mdx
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
title: Using the Payload Auth Middleware
|
||||
label: Using the Middleware
|
||||
order: 40
|
||||
desc: Make full use of Payload's built-in authentication with your own custom Express endpoints by adding Payload's authentication middleware.
|
||||
keywords: authentication, middleware, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Because Payload uses your existing Express server, you are free to add whatever logic you need to your app through endpoints of your own. However, Payload does not add its middleware to your Express app itself—instead, it scopes all of its middleware to Payload-specific routers.
|
||||
|
||||
This approach has a ton of benefits - it's great for isolation of concerns and limiting scope, but it also means that your additional routes won't have access to Payload's user authentication.
|
||||
|
||||
<Banner type="success">
|
||||
You can make full use of Payload's built-in authentication within your own custom Express
|
||||
endpoints by adding Payload's authentication middleware.
|
||||
</Banner>
|
||||
|
||||
<Banner type="warning">
|
||||
Payload must be initialized before the `payload.authenticate` middleware can be used. This is done
|
||||
by calling `payload.init()` prior to adding the middleware.
|
||||
</Banner>
|
||||
|
||||
Example in `server.js`:
|
||||
|
||||
```ts
|
||||
import express from 'express'
|
||||
import payload from 'payload'
|
||||
|
||||
const app = express()
|
||||
|
||||
const start = async () => {
|
||||
await payload.init({
|
||||
secret: 'PAYLOAD_SECRET_KEY',
|
||||
express: app,
|
||||
})
|
||||
|
||||
const router = express.Router()
|
||||
|
||||
// Note: Payload must be initialized before the `payload.authenticate` middleware can be used
|
||||
router.use(payload.authenticate) // highlight-line
|
||||
|
||||
router.get('/', (req, res) => {
|
||||
if (req.user) {
|
||||
return res.send(`Authenticated successfully as ${req.user.email}.`)
|
||||
}
|
||||
|
||||
return res.send('Not authenticated')
|
||||
})
|
||||
|
||||
app.use('/some-route-here', router)
|
||||
|
||||
app.listen(3000)
|
||||
}
|
||||
|
||||
start()
|
||||
```
|
||||
61
docs/cloud/configuration.mdx
Normal file
61
docs/cloud/configuration.mdx
Normal file
@@ -0,0 +1,61 @@
|
||||
---
|
||||
title: Project Configuration
|
||||
label: Configuration
|
||||
order: 20
|
||||
desc: Quickly configure and deploy your Payload Cloud project in a few simple steps.
|
||||
keywords: configuration, config, settings, project, cloud, payload cloud, deploy, deployment
|
||||
---
|
||||
|
||||
### Select your plan
|
||||
|
||||
Once you have created a project, you will need to select your plan. This will determine the resources that are allocated to your project and the features that are available to you.
|
||||
|
||||
<Banner type="success">
|
||||
Note: All Payload Cloud teams that deploy a project require a card on file. This helps us prevent
|
||||
fraud and abuse on our platform. If you select a plan with a free trial, you will not be charged
|
||||
until your trial period is over. We’ll remind you 7 days before your trial ends and you can cancel
|
||||
anytime.
|
||||
</Banner>
|
||||
|
||||
### Project Details
|
||||
|
||||
| Option | Description |
|
||||
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **Region** | Select the region closest to your audience. This will ensure the fastest communication between your data and your client. |
|
||||
| **Project Name** | A name for your project. You can change this at any time. |
|
||||
| **Project Slug** | Choose a unique slug to identify your project. This needs to be unique for your team and you can change it any time. |
|
||||
| **Team** | Select the team you want to create the project under. If this is your first project, a personal team will be created for you automatically. You can modify your team settings and invite new members at any time from the Team Settings page. |
|
||||
|
||||
### Build Settings
|
||||
|
||||
If you are deploying a new project from a template, the following settings will be automatically configured for you. If you are using your own repository, you need to make sure your build settings are accurate for your project to deploy correctly.
|
||||
|
||||
| Option | Description |
|
||||
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **Root Directory** | The folder where your `package.json` file lives. |
|
||||
| **Install Command** | The command used to install your modules, for example: `yarn install` or `npm install` |
|
||||
| **Build Command** | The command used to build your application, for example: `yarn build` or `npm run build` |
|
||||
| **Serve Command** | The command used to serve your application, for example: `yarn serve` or `npm run serve` |
|
||||
| **Branch to Deploy** | Select the branch of your repository that you want to deploy from. This is the branch that will be used to build your project when you commit new changes. |
|
||||
| **Default Domain** | Set a default domain for your project. This must be unique and you will not able to change it. You can always add a custom domain later in your project settings. |
|
||||
|
||||
### Environment Variables
|
||||
|
||||
Any of the features in Payload Cloud that require environment variables will automatically be provided to your application. If your app requires any custom environment variables, you can set them here.
|
||||
|
||||
<Banner type="warning">
|
||||
Note: For security reasons, any variables you wish to provide to the Admin panel must be prefixed
|
||||
with `PAYLOAD_PUBLIC_`. Learn more
|
||||
[here](https://payloadcms.com/docs/admin/webpack#admin-environment-vars).
|
||||
</Banner>
|
||||
|
||||
### Payment
|
||||
|
||||
Payment methods can be set per project and can be updated any time. You can use team’s default payment method, or add a new one. Modify your payment methods in your Project settings / Team settings.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Note:</strong> All Payload Cloud teams that deploy a project require a card on file. This
|
||||
helps us prevent fraud and abuse on our platform. If you select a plan with a free trial, you will
|
||||
not be charged until your trial period is over. We’ll remind you 7 days before your trial ends and
|
||||
you can cancel anytime.
|
||||
</Banner>
|
||||
51
docs/cloud/creating-a-project.mdx
Normal file
51
docs/cloud/creating-a-project.mdx
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: Getting Started
|
||||
label: Getting Started
|
||||
order: 10
|
||||
desc: Get started with Payload Cloud, a deployment solution specifically designed for Node + MongoDB applications.
|
||||
keywords: cloud, hosted, database, storage, email, deployment, serverless, node, mongodb, s3, aws, cloudflare, atlas, resend, payload, cms
|
||||
---
|
||||
|
||||
A deployment solution specifically designed for Node.js + MongoDB applications, offering seamless deployment of your entire stack in one place. You can get started in minutes with a one-click template or bring your own codebase with you.
|
||||
|
||||
Payload Cloud offers various plans tailored to meet your specific needs, including a MongoDB Atlas database, S3 file storage, and email delivery powered by [Resend](https://resend.com). To see a full breakdown of features and plans, see our [Cloud Pricing page](https://payloadcms.com/cloud-pricing).
|
||||
|
||||
To get started, you first need to create an account. Head over to [the login screen](https://payloadcms.com/login) and **Register for Free**.
|
||||
|
||||
<Banner type="success">
|
||||
To create your first project, you can either select [a template](#starting-from-a-template) or
|
||||
[import an existing project](#importing-from-an-existing-codebase) from GitHub.
|
||||
</Banner>
|
||||
|
||||
## Starting from a Template
|
||||
|
||||
Templates come preconfigured and provide a one-click solution to quickly deploy a new application.
|
||||
|
||||

|
||||
_Creating a new project from a template._
|
||||
|
||||
After creating an account, select your desired template from the Projects page. At this point, you need to connect to authorize the Payload Cloud application with your GitHub account. Click Continue with GitHub and follow the prompts to authorize the app.
|
||||
|
||||
Next, select your `GitHub Scope`. If you belong to multiple organizations, they will show up here. If you do not see the organization you are looking for, you may need to adjust your GitHub app permissions.
|
||||
|
||||
After selecting your scope, create a unique `repository name` and select whether you want your repository to be public or private on GitHub.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong> Public repositories can be accessed by anyone online, while private
|
||||
repositories grant access only to you and anyone you explicitly authorize.
|
||||
</Banner>
|
||||
|
||||
Once you are ready, click **Create Project**. This will clone the selected template to a new repository in your GitHub account, and take you to the configuration page to set up your project for deployment.
|
||||
|
||||
## Importing from an Existing Codebase
|
||||
|
||||
Payload Cloud works for any Node.js + MongoDB app. From the New Project page, select **import an existing Git codebase**. Choose the organization and select the repository you want to import. From here, you will be taken to the configuration page to set up your project for deployment.
|
||||
|
||||

|
||||
_Creating a new project from an existing repository._
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong> In order to make use of the features of Payload Cloud in your own codebase,
|
||||
you will need to add the [Cloud Plugin](https://github.com/payloadcms/plugin-cloud) to your
|
||||
Payload app.
|
||||
</Banner>
|
||||
129
docs/cloud/projects.mdx
Normal file
129
docs/cloud/projects.mdx
Normal file
@@ -0,0 +1,129 @@
|
||||
---
|
||||
title: Cloud Projects
|
||||
label: Projects
|
||||
order: 40
|
||||
desc: Manage your Payload Cloud projects.
|
||||
keywords: cloud, payload cloud, projects, project, overview, database, file storage, build settings, environment variables, custom domains, email, developing locally
|
||||
---
|
||||
|
||||
### Overview
|
||||
|
||||
<Banner>
|
||||
The overview tab shows your most recent deployment, along with build and deployment logs. From
|
||||
here, you can see your live URL, deployment details like timestamps and commit hash, as well as
|
||||
the status of your deployment. You can also trigger a redeployment manually, which will rebuild
|
||||
your project using the current configuration.
|
||||
</Banner>
|
||||
|
||||

|
||||
_A screenshot of the Overview page for a Cloud project._
|
||||
|
||||
### Database
|
||||
|
||||
Your Payload Cloud project comes with a MongoDB serverless Atlas DB instance or a Dedicated Atlas cluster, depending on your plan. To interact with your cloud database, you will be provided with a MongoDB connection string. This can be found under the **Database** tab of your project.
|
||||
|
||||
`mongodb+srv://your_connection_string`
|
||||
|
||||
### File Storage
|
||||
|
||||
Payload Cloud gives you S3 file storage backed by Cloudflare as a CDN, and this plugin extends Payload so that all of your media will be stored in S3 rather than locally.
|
||||
|
||||
AWS Cognito is used for authentication to your S3 bucket. The [Payload Cloud Plugin](https://github.com/payloadcms/plugin-cloud) will automatically pick up these values. These values are only if you'd like to access your files directly, outside of Payload Cloud.
|
||||
|
||||
#### Accessing Files Outside of Payload Cloud
|
||||
|
||||
If you'd like to access your files outside of Payload Cloud, you'll need to retrieve some values from your project's settings and put them into your environment variables. In Payload Cloud, navigate to the File Storage tab and copy the values using the copy button. Put these values in your .env file. Also copy the Cognito Password value separately and put into your .env file as well.
|
||||
|
||||
When you are done, you should have the following values in your .env file:
|
||||
|
||||
```env
|
||||
PAYLOAD_CLOUD=true
|
||||
PAYLOAD_CLOUD_ENVIRONMENT=prod
|
||||
PAYLOAD_CLOUD_COGNITO_USER_POOL_CLIENT_ID=
|
||||
PAYLOAD_CLOUD_COGNITO_USER_POOL_ID=
|
||||
PAYLOAD_CLOUD_COGNITO_IDENTITY_POOL_ID=
|
||||
PAYLOAD_CLOUD_PROJECT_ID=
|
||||
PAYLOAD_CLOUD_BUCKET=
|
||||
PAYLOAD_CLOUD_BUCKET_REGION=
|
||||
PAYLOAD_CLOUD_COGNITO_PASSWORD=
|
||||
```
|
||||
|
||||
The plugin will pick up these values and use them to access your files.
|
||||
|
||||
### Build Settings
|
||||
|
||||
You can update settings from your Project’s Settings tab. Changes to your build settings will trigger a redeployment of your project.
|
||||
|
||||
### Environment Variables
|
||||
|
||||
From the Environment Variables page of the Settings tab, you can add, update and delete variables for use in your project. Like build settings, these changes will trigger a redeployment of your project.
|
||||
|
||||
<Banner>
|
||||
Note: For security reasons, any variables you wish to provide to the Admin panel must be prefixed
|
||||
with `PAYLOAD_PUBLIC_`. Learn more
|
||||
[here](https://payloadcms.com/docs/admin/webpack#admin-environment-vars).
|
||||
</Banner>
|
||||
|
||||
### Custom Domains
|
||||
|
||||
With Payload Cloud, you can add custom domain names to your project. To do so, first go to the Domains page of the Settings tab of your project. Here you can see your default domain. To add a new domain, type in the domain name you wish to use.
|
||||
|
||||
<Banner>
|
||||
Note: do not include the protocol (http:// or https://) or any paths (/page). Only include the
|
||||
domain name and extension, and optionally a subdomain. - your-domain.com - backend.your-domain.com
|
||||
</Banner>
|
||||
|
||||
Once you click save, a DNS record will be generated for your domain name to point to your live project. Add this record into your DNS provider’s records, and once the records are resolving properly (this can take 1hr to 48hrs in some cases), your domain will now to point to your live project.
|
||||
|
||||
You will also need to configure your Payload project to use your specified domain. In your `payload.config.ts` file, specify your `serverURL` with your domain:
|
||||
|
||||
```ts
|
||||
export default buildConfig({
|
||||
serverURL: 'https://example.com',
|
||||
// the rest of your config,
|
||||
})
|
||||
```
|
||||
|
||||
### Email
|
||||
|
||||
Powered by [Resend](https://resend.com), Payload Cloud comes with integrated email support out of the box. No configuration is needed, and you can use `payload.sendEmail()` to send email right from your Payload app. To learn more about sending email with Payload, checkout the [Email Configuration](https://payloadcms.com/docs/email/overview) overview.
|
||||
|
||||
If you are on the Pro or Enterprise plan, you can add your own custom Email domain name. From the Email page of your project’s Settings, add the domain you wish to use for email delivery. This will generate a set of DNS records. Add these records to your DNS provider and click verify to check that your records are resolving properly. Once verified, your emails will now be sent from your custom domain name.
|
||||
|
||||
### Developing Locally
|
||||
|
||||
To make changes to your project, you will need to clone the repository defined in your project settings to your local machine. In order to run your project locally, you will need configure your local environment first. Refer to your repository’s `README.md` file to see the steps needed for your specific template.
|
||||
|
||||
From there, you are ready to make updates to your project. When you are ready to make your changes live, commit your changes to the branch you specified in your Project settings, and your application will automatically trigger a redeploy and build from your latest commit.
|
||||
|
||||
### Cloud Plugin
|
||||
|
||||
Projects generated from a template will come pre-configured with the official Cloud Plugin, but if you are using your own repository you will need to add this into your project. To do so, add the plugin to your Payload config:
|
||||
|
||||
`yarn add @payloadcms/plugin-cloud`
|
||||
|
||||
```js
|
||||
import { payloadCloud } from '@payloadcms/plugin-cloud'
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
export default buildConfig({
|
||||
plugins: [payloadCloud()],
|
||||
// rest of config
|
||||
})
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
**Note:** If your Payload config already has an email with transport, this will take precedence
|
||||
over Payload Cloud's email service.
|
||||
</Banner>
|
||||
|
||||
##### **Optional configuration**
|
||||
|
||||
If you wish to opt-out of any Payload cloud features, the plugin also accepts options to do so.
|
||||
|
||||
```js
|
||||
payloadCloud({
|
||||
storage: false, // Disable file storage
|
||||
email: false, // Disable email delivery
|
||||
})
|
||||
```
|
||||
35
docs/cloud/teams.mdx
Normal file
35
docs/cloud/teams.mdx
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
title: Cloud Teams
|
||||
label: Teams
|
||||
order: 30
|
||||
desc: Manage your Payload Cloud team and billing settings.
|
||||
keywords: team, teams, billing, subscription, payment, plan, plans, cloud, payload cloud
|
||||
---
|
||||
|
||||
<Banner>
|
||||
Within Payload Cloud, the team management feature offers you the ability to manage your
|
||||
organization, team members, billing, and subscription settings.
|
||||
</Banner>
|
||||
|
||||

|
||||
_A screenshot of the Team Settings page._
|
||||
|
||||
### Members
|
||||
|
||||
Each team has members that can interact with your projects. You can invite multiple people to your team and each individual can belong to more than one team. You can assign them either `owner` or `user` permissions. Owners are able to make admin-only changes, such as deleting projects, and editing billing information.
|
||||
|
||||
### Adding Members
|
||||
|
||||
To add a new member to your team, visit your Team’s Settings page, and click “Invite Teammate”. You can then add their email address, and assign their role. Press “Save” to send the invitations, which will send an email to the invited team member where they can create a new account.
|
||||
|
||||
### Billing
|
||||
|
||||
Users can update billing settings and subscriptions for any teams where they are designated as an `owner`. To make updates to the team’s payment methods, visit the Billing page under the Team Settings tab. You can add new cards, delete cards, and set a payment method as a default. The default payment method will be used in the event that another payment method fails.
|
||||
|
||||
### Subscriptions
|
||||
|
||||
From the Subscriptions page, a team owner can see all current plans for their team. From here, you can see the price of each plan, if there is an active trial, and when you will be billed next.
|
||||
|
||||
### Invoices
|
||||
|
||||
The Invoices page will you show you the invoices for your account, as well as the status on their payment.
|
||||
233
docs/configuration/collections.mdx
Normal file
233
docs/configuration/collections.mdx
Normal file
@@ -0,0 +1,233 @@
|
||||
---
|
||||
title: Collection Configs
|
||||
label: Collections
|
||||
order: 20
|
||||
desc: Structure your Collections for your needs by defining fields, adding slugs and labels, establishing access control, tying in hooks, setting timestamps and more.
|
||||
keywords: collections, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload Collections are defined through configs of their own, and you can define as many as your application needs. Each
|
||||
Collection will scaffold a new collection automatically in your database of choice, based on fields that you define.
|
||||
|
||||
It's often best practice to write your Collections in separate files and then import them into the main Payload config.
|
||||
|
||||
## Options
|
||||
|
||||
| Option | Description |
|
||||
|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **`slug`** \* | Unique, URL-friendly string that will act as an identifier for this Collection. |
|
||||
| **`fields`** \* | Array of field types that will determine the structure and functionality of the data stored within this Collection. [Click here](/docs/fields/overview) for a full list of field types as well as how to configure them. |
|
||||
| **`labels`** | Singular and plural labels for use in identifying this Collection throughout Payload. Auto-generated from slug if not defined. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-options). |
|
||||
| **`hooks`** | Entry points to "tie in" to Collection actions at specific points. [More](/docs/hooks/overview#collection-hooks) |
|
||||
| **`access`** | Provide access control functions to define exactly who should be able to do what with Documents in this Collection. [More](/docs/access-control/overview/#collections) |
|
||||
| **`auth`** | Specify options if you would like this Collection to feature authentication. For more, consult the [Authentication](/docs/authentication/config) documentation. |
|
||||
| **`upload`** | Specify options if you would like this Collection to support file uploads. For more, consult the [Uploads](/docs/upload/overview) documentation. |
|
||||
| **`timestamps`** | Set to false to disable documents' automatically generated `createdAt` and `updatedAt` timestamps. |
|
||||
| **`versions`** | Set to true to enable default options, or configure with object properties. [More](/docs/versions/overview#collection-config) |
|
||||
| **`endpoints`** | Add custom routes to the REST API. Set to `false` to disable routes. [More](/docs/rest-api/overview#custom-endpoints) |
|
||||
| **`graphQL`** | An object with `singularName` and `pluralName` strings used in schema generation. Auto-generated from slug if not defined. Set to `false` to disable GraphQL. |
|
||||
| **`typescript`** | An object with property `interface` as the text used in schema generation. Auto-generated from slug if not defined. |
|
||||
| **`defaultSort`** | Pass a top-level field to sort by default in the collection List view. Prefix the name of the field with a minus symbol ("-") to sort in descending order. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
#### Simple collection example
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Orders: CollectionConfig = {
|
||||
slug: 'orders',
|
||||
fields: [
|
||||
{
|
||||
name: 'total',
|
||||
type: 'number',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'placedBy',
|
||||
type: 'relationship',
|
||||
relationTo: 'customers',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
#### More collection config examples
|
||||
|
||||
You can find an assortment
|
||||
of [example collection configs](https://github.com/payloadcms/public-demo/tree/master/src/payload/collections) in the Public
|
||||
Demo source code on GitHub.
|
||||
|
||||
### Admin options
|
||||
|
||||
You can customize the way that the Admin panel behaves on a collection-by-collection basis by defining the `admin`
|
||||
property on a collection's config.
|
||||
|
||||
| Option | Description |
|
||||
|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `group` | Text used as a label for grouping collection and global links together in the navigation. |
|
||||
| `hidden` | Set to true or a function, called with the current user, returning true to exclude this collection from navigation and admin routing. |
|
||||
| `hooks` | Admin-specific hooks for this collection. [More](#admin-hooks) |
|
||||
| `useAsTitle` | Specify a top-level field to use for a document title throughout the Admin panel. If no field is defined, the ID of the document is used as the title. |
|
||||
| `description` | Text or React component to display below the Collection label in the List view to give editors more information. |
|
||||
| `defaultColumns` | Array of field names that correspond to which columns to show by default in this collection's List view. |
|
||||
| `disableDuplicate ` | Disables the "Duplicate" button while editing documents within this collection. |
|
||||
| `hideAPIURL` | Hides the "API URL" meta field while editing documents within this collection. |
|
||||
| `enableRichTextLink` | The [Rich Text](/docs/fields/rich-text) field features a `Link` element which allows for users to automatically reference related documents within their rich text. Set to `true` by default. |
|
||||
| `enableRichTextRelationship` | The [Rich Text](/docs/fields/rich-text) field features a `Relationship` element which allows for users to automatically reference related documents within their rich text. Set to `true` by default. |
|
||||
| `preview` | Function to generate preview URLS within the Admin panel that can point to your app. [More](#preview). |
|
||||
| `livePreview` | Enable real-time editing for instant visual feedback of your front-end application. [More](/docs/live-preview/overview). |
|
||||
| `components` | Swap in your own React components to be used within this collection. [More](/docs/admin/components#collections) |
|
||||
| `listSearchableFields` | Specify which fields should be searched in the List search view. [More](#list-searchable-fields) |
|
||||
| **`pagination`** | Set pagination-specific options for this collection. [More](#pagination) |
|
||||
|
||||
### Preview
|
||||
|
||||
Collection `admin` options can accept a `preview` function that will be used to generate a link pointing to the frontend
|
||||
of your app to preview data.
|
||||
|
||||
If the function is specified, a Preview button will automatically appear in the corresponding collection's Edit view.
|
||||
Clicking the Preview button will link to the URL that is generated by the function.
|
||||
|
||||
**The preview function accepts two arguments:**
|
||||
|
||||
1. The document being edited
|
||||
1. An `options` object, containing `locale` and `token` properties. The `token` is the currently logged-in user's JWT.
|
||||
|
||||
**Example collection with preview function:**
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Posts: CollectionConfig = {
|
||||
slug: 'posts',
|
||||
fields: [
|
||||
{
|
||||
name: 'slug',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
admin: {
|
||||
preview: (doc, { locale }) => {
|
||||
if (doc?.slug) {
|
||||
return `https://bigbird.com/preview/posts/${doc.slug}?locale=${locale}`
|
||||
}
|
||||
|
||||
return null
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Pagination
|
||||
|
||||
Here are a few options that you can specify options for pagination on a collection-by-collection basis:
|
||||
|
||||
| Option | Description |
|
||||
|----------------|-----------------------------------------------------------------------------------------------------|
|
||||
| `defaultLimit` | Integer that specifies the default per-page limit that should be used. Defaults to 10. |
|
||||
| `limits` | Provide an array of integers to use as per-page options for admins to choose from in the List view. |
|
||||
|
||||
### Access control
|
||||
|
||||
You can specify extremely granular access control (what users can do with documents in a collection) on a collection by
|
||||
collection basis. To learn more, go to the [Access Control](/docs/access-control/overview) docs.
|
||||
|
||||
### Hooks
|
||||
|
||||
Hooks are a powerful way to extend collection functionality and execute your own logic, and can be defined on a
|
||||
collection by collection basis. To learn more, go to the [Hooks](/docs/hooks/overview) documentation.
|
||||
|
||||
### Field types
|
||||
|
||||
Collections support all field types that Payload has to offer—including simple fields like text and checkboxes all the
|
||||
way to more complicated layout-building field groups like Blocks. [Click here](/docs/fields/overview) to learn more
|
||||
about field types.
|
||||
|
||||
### List Searchable Fields
|
||||
|
||||
In the List view, there is a "search" box that allows you to quickly find a document with a search. By default, it
|
||||
searches on the ID field. If you have `admin.useAsTitle` defined, the list search will use that field. However, you can
|
||||
define more than one field to search to make it easier on your admin editors to find the data they need.
|
||||
|
||||
For example, let's say you have a Posts collection with `title`, `metaDescription`, and `tags` fields - and you want all
|
||||
three of those fields to be searchable in the List view. You can simply
|
||||
add `admin.listSearchableFields: ['title', 'metaDescription', 'tags']` - and the admin UI will automatically search on
|
||||
those three fields plus the ID field.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
If you are adding <strong>listSearchableFields</strong>, make sure you index each of these fields
|
||||
so your admin queries can remain performant.
|
||||
</Banner>
|
||||
|
||||
### Admin Hooks
|
||||
|
||||
In addition to collection hooks themselves, Payload provides for admin UI-specific hooks that you can leverage.
|
||||
|
||||
**`beforeDuplicate`**
|
||||
|
||||
The `beforeDuplicate` hook is an async function that accepts an object containing the data to duplicate, as well as the
|
||||
locale of the doc to duplicate. Within this hook, you can modify the data to be duplicated, which is useful in cases
|
||||
where you have unique fields that need to be incremented or similar, as well as if you want to automatically modify a
|
||||
document's `title`.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
import { BeforeDuplicate, CollectionConfig } from 'payload/types'
|
||||
// Your auto-generated Page type
|
||||
import { Page } from '../payload-types.ts'
|
||||
|
||||
const beforeDuplicate: BeforeDuplicate<Page> = ({ data }) => {
|
||||
return {
|
||||
...data,
|
||||
title: `${data.title} Copy`,
|
||||
uniqueField: data.uniqueField ? `${data.uniqueField}-copy` : '',
|
||||
}
|
||||
}
|
||||
|
||||
export const Page: CollectionConfig = {
|
||||
slug: 'pages',
|
||||
admin: {
|
||||
hooks: {
|
||||
beforeDuplicate,
|
||||
},
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'uniqueField',
|
||||
type: 'text',
|
||||
unique: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### TypeScript
|
||||
|
||||
You can import collection types as follows:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
// This is the type used for incoming collection configs.
|
||||
// Only the bare minimum properties are marked as required.
|
||||
```
|
||||
|
||||
```ts
|
||||
import { SanitizedCollectionConfig } from 'payload/types'
|
||||
|
||||
// This is the type used after an incoming collection config is fully sanitized.
|
||||
// Generally, this is only used internally by Payload.
|
||||
```
|
||||
81
docs/configuration/express.mdx
Normal file
81
docs/configuration/express.mdx
Normal file
@@ -0,0 +1,81 @@
|
||||
---
|
||||
title: Express
|
||||
label: Express
|
||||
order: 60
|
||||
desc: Payload utilizes Express middleware packages, you can customize how they work by passing in configuration options.
|
||||
keywords: config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload utilizes a few Express-specific middleware packages within its own routers. You can customize how they work by passing in configuration options to the main Payload config's `express` property.
|
||||
|
||||
### Custom Middleware
|
||||
|
||||
Payload allows you to pass in custom Express middleware to be used on all of the routes it opens. This is useful for adding logging or any other custom functionality to your endpoints.
|
||||
|
||||
There are 2 exposed properties. Each property is an array of middleware functions.
|
||||
|
||||
- `preMiddleware` - runs before any of the Payload middleware
|
||||
- `postMiddleware` - runs after all of the Payload middleware
|
||||
|
||||
```ts
|
||||
{
|
||||
express: {
|
||||
preMiddleware: [
|
||||
(req, res, next) => {
|
||||
// do something
|
||||
next()
|
||||
}
|
||||
],
|
||||
postMiddleware: [
|
||||
(req, res, next) => {
|
||||
// do something
|
||||
next()
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
// Example logging middleware function
|
||||
const requestLoggerMiddleware = (req, res, next) => {
|
||||
req.payload.logger.info(`request: ${req.method} ${req.url}`)
|
||||
next()
|
||||
}
|
||||
```
|
||||
|
||||
### JSON
|
||||
|
||||
`express.json()` is used to parse JSON body content into JavaScript objects accessible on the Express `req`. Payload allows you to customize all of the `json` method's options. Common examples of customization use-cases are increasing the max allowed JSON body size which defaults to `2MB`.
|
||||
|
||||
**Example payload.config.js for how to increase the max JSON size allowed to be sent to Payload endpoints:**
|
||||
|
||||
```js
|
||||
{
|
||||
express: {
|
||||
json: {
|
||||
limit: '4mb',
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
You can find a list of all available options that are able to be passed to `express.json()` [here](https://expressjs.com/en/api.html).
|
||||
|
||||
### Compression
|
||||
|
||||
Payload uses the `compression` package to optimize transfer size for all of the routes it opens, and you can pass customization options through the Payload config.
|
||||
|
||||
To customize compression options, pass an object to the Payload config's `express` property.
|
||||
|
||||
**Example payload.config.js:**
|
||||
|
||||
```js
|
||||
{
|
||||
express: {
|
||||
compression: {
|
||||
// settings go here
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Typically, the default options for this package are suitable. However, for a list of all available customization options, [click here](http://expressjs.com/en/resources/middleware/compression.html).
|
||||
142
docs/configuration/globals.mdx
Normal file
142
docs/configuration/globals.mdx
Normal file
@@ -0,0 +1,142 @@
|
||||
---
|
||||
title: Global Configs
|
||||
label: Globals
|
||||
order: 30
|
||||
desc: Set up your Global config for your needs by defining fields, adding slugs and labels, establishing access control, tying in hooks and more.
|
||||
keywords: globals, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Global configs are in many ways similar to [Collections](/docs/configuration/collections). The big difference is that Collections will potentially contain _many_ documents, while a Global is a "one-off". Globals are perfect for things like header nav, site-wide banner alerts, app-wide localized strings, and other "global" data that your site or app might rely on.
|
||||
|
||||
As with Collection configs, it's often best practice to write your Globals in separate files and then import them into the main Payload config.
|
||||
|
||||
## Options
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`slug`** \* | Unique, URL-friendly string that will act as an identifier for this Global. |
|
||||
| **`fields`** \* | Array of field types that will determine the structure and functionality of the data stored within this Global. [Click here](/docs/fields/overview) for a full list of field types as well as how to configure them. |
|
||||
| **`label`** | Text for the name in the Admin panel or an object with keys for each language. Auto-generated from slug if not defined. |
|
||||
| **`description`** | Text or React component to display below the Global header to give editors more information. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](/docs/configuration/globals#admin-options). |
|
||||
| **`hooks`** | Entry points to "tie in" to collection actions at specific points. [More](/docs/hooks/overview#global-hooks) |
|
||||
| **`access`** | Provide access control functions to define exactly who should be able to do what with this Global. [More](/docs/access-control/overview/#globals) |
|
||||
| **`versions`** | Set to true to enable default options, or configure with object properties. [More](/docs/versions/overview#globals-config) |
|
||||
| **`endpoints`** | Add custom routes to the REST API. [More](/docs/rest-api/overview#custom-endpoints) |
|
||||
| **`graphQL.name`** | Text used in schema generation. Auto-generated from slug if not defined. |
|
||||
| **`typescript`** | An object with property `interface` as the text used in schema generation. Auto-generated from slug if not defined. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
#### Simple Global example
|
||||
|
||||
```ts
|
||||
import { GlobalConfig } from 'payload/types'
|
||||
|
||||
const Nav: GlobalConfig = {
|
||||
slug: 'nav',
|
||||
fields: [
|
||||
{
|
||||
name: 'items',
|
||||
type: 'array',
|
||||
required: true,
|
||||
maxRows: 8,
|
||||
fields: [
|
||||
{
|
||||
name: 'page',
|
||||
type: 'relationship',
|
||||
relationTo: 'pages', // "pages" is the slug of an existing collection
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
export default Nav
|
||||
```
|
||||
|
||||
#### Global config example
|
||||
|
||||
You can find a few [example Global configs](https://github.com/payloadcms/public-demo/tree/master/src/payload/globals) in the Public Demo source code on GitHub.
|
||||
|
||||
### Admin options
|
||||
|
||||
You can customize the way that the Admin panel behaves on a Global-by-Global basis by defining the `admin` property on a Global's config.
|
||||
|
||||
| Option | Description |
|
||||
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `group` | Text used as a label for grouping collection and global links together in the navigation. |
|
||||
| `hidden` | Set to true or a function, called with the current user, returning true to exclude this global from navigation and admin routing. |
|
||||
| `components` | Swap in your own React components to be used within this Global. [More](/docs/admin/components#globals) |
|
||||
| `preview` | Function to generate a preview URL within the Admin panel for this global that can point to your app. [More](#preview). |
|
||||
| `livePreview`| Enable real-time editing for instant visual feedback of your front-end application. [More](/docs/live-preview/overview). |
|
||||
| `hideAPIURL` | Hides the "API URL" meta field while editing documents within this collection. |
|
||||
|
||||
### Preview
|
||||
|
||||
Global `admin` options can accept a `preview` function that will be used to generate a link pointing to the frontend of your app to preview data.
|
||||
|
||||
If the function is specified, a Preview button will automatically appear in the corresponding global's Edit view. Clicking the Preview button will link to the URL that is generated by the function.
|
||||
|
||||
**The preview function accepts two arguments:**
|
||||
|
||||
1. The document being edited
|
||||
1. An `options` object, containing `locale` and `token` properties. The `token` is the currently logged-in user's JWT.
|
||||
|
||||
**Example global with preview function:**
|
||||
|
||||
```ts
|
||||
import { GlobalConfig } from 'payload/types'
|
||||
|
||||
export const MyGlobal: GlobalConfig = {
|
||||
slug: 'my-global',
|
||||
fields: [
|
||||
{
|
||||
name: 'slug',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
admin: {
|
||||
preview: (doc, { locale }) => {
|
||||
if (doc?.slug) {
|
||||
return `https://bigbird.com/preview/${doc.slug}?locale=${locale}`
|
||||
}
|
||||
|
||||
return null
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Access control
|
||||
|
||||
As with Collections, you can specify extremely granular access control (what users can do with this Global) on a Global-by-Global basis. However, Globals only have `update` and `read` access control due to their nature of only having one document. To learn more, go to the [Access Control](/docs/access-control/overview) docs.
|
||||
|
||||
### Hooks
|
||||
|
||||
Globals also fully support a smaller subset of Hooks. To learn more, go to the [Hooks](/docs/hooks/overview) documentation.
|
||||
|
||||
### Field types
|
||||
|
||||
Globals support all field types that Payload has to offer—including simple fields like text and checkboxes all the way to more complicated layout-building field groups like Blocks. [Click here](/docs/fields/overview) to learn more about field types.
|
||||
|
||||
### TypeScript
|
||||
|
||||
You can import global types as follows:
|
||||
|
||||
```ts
|
||||
import { GlobalConfig } from 'payload/types'
|
||||
|
||||
// This is the type used for incoming global configs.
|
||||
// Only the bare minimum properties are marked as required.
|
||||
```
|
||||
|
||||
```ts
|
||||
import { SanitizedGlobalConfig } from 'payload/types'
|
||||
|
||||
// This is the type used after an incoming global config is fully sanitized.
|
||||
// Generally, this is only used internally by Payload.
|
||||
```
|
||||
110
docs/configuration/i18n.mdx
Normal file
110
docs/configuration/i18n.mdx
Normal file
@@ -0,0 +1,110 @@
|
||||
---
|
||||
title: I18n
|
||||
label: I18n
|
||||
order: 40
|
||||
desc: Manage and customize internationalization support in your CMS editor experience
|
||||
keywords: internationalization, i18n, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Not only does Payload support managing localized content, it also has internationalization support so that admin users can work in their preferred language. Payload's i18n support is built on top of [i18next](https://www.i18next.com). It comes included by default and can be extended in your config.
|
||||
|
||||
While Payload's built-in features come translated, you may want to also translate parts of your project's configuration too. This is possible in places like collections and globals labels and groups, field labels, descriptions and input placeholder text. The admin UI will display all the correct translations you provide based on the user's language.
|
||||
|
||||
Here is an example of a simple collection supporting both English and Spanish editors:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Articles: CollectionConfig = {
|
||||
slug: 'articles',
|
||||
labels: {
|
||||
singular: {
|
||||
en: 'Article',
|
||||
es: 'Artículo',
|
||||
},
|
||||
plural: {
|
||||
en: 'Articles',
|
||||
es: 'Artículos',
|
||||
},
|
||||
},
|
||||
admin: {
|
||||
group: { en: 'Content', es: 'Contenido' },
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
label: {
|
||||
en: 'Title',
|
||||
es: 'Título',
|
||||
},
|
||||
admin: {
|
||||
placeholder: { en: 'Enter title', es: 'Introduce el título' },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'type',
|
||||
type: 'radio',
|
||||
options: [
|
||||
{
|
||||
value: 'news',
|
||||
label: { en: 'News', es: 'Noticias' },
|
||||
}, // etc...
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Admin UI
|
||||
|
||||
The Payload admin panel reads the language settings of a user's browser and display all text in that language, or will fall back to English if the user's language is not yet supported.
|
||||
After a user logs in, they can change their language selection in the `/account` view.
|
||||
|
||||
<Banner>
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
If there is a language that Payload does not yet support, we accept code
|
||||
[contributions](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md).
|
||||
</Banner>
|
||||
|
||||
### Node Express
|
||||
|
||||
Payload's backend uses express middleware to set the language on incoming requests before they are handled. This allows backend validation to return error messages in the user's own language or system generated emails to be sent using the correct translation. You can make HTTP requests with the `accept-language` header and Payload will use that language.
|
||||
|
||||
Anywhere in your Payload app that you have access to the `req` object, you can access i18next's extensive internationalization features assigned to `req.i18n`. To access text translations you can use `req.t('namespace:key')`.
|
||||
|
||||
Read the i18next [API documentation](https://www.i18next.com/overview/api) to learn more.
|
||||
|
||||
### Configuration Options
|
||||
|
||||
In your Payload config, you can add translations and customize the settings in `i18n`. Payload will use your custom options and merge it with the default, allowing you to override the settings Payload provides.
|
||||
|
||||
**Example Payload config extending i18n:**
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
export default buildConfig({
|
||||
//...
|
||||
i18n: {
|
||||
fallbackLng: 'en', // default
|
||||
debug: false, // default
|
||||
resources: {
|
||||
en: {
|
||||
custom: {
|
||||
// namespace can be anything you want
|
||||
key1: 'Translation with {{variable}}', // translation
|
||||
},
|
||||
// override existing translation keys
|
||||
general: {
|
||||
dashboard: 'Home',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
//...
|
||||
})
|
||||
```
|
||||
|
||||
See the i18next [configuration options](https://www.i18next.com/overview/configuration-options) to learn more.
|
||||
246
docs/configuration/localization.mdx
Normal file
246
docs/configuration/localization.mdx
Normal file
@@ -0,0 +1,246 @@
|
||||
---
|
||||
title: Localization
|
||||
label: Localization
|
||||
order: 50
|
||||
desc: Add and maintain as many locales as you need by adding Localization to your Payload config, set options for default locale, fallbacks, fields and more.
|
||||
keywords: localization, internationalization, i18n, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload features deep field-based localization support. Maintaining as many locales as you need is easy. All
|
||||
localization support is opt-in by default. To do so, follow the two steps below.
|
||||
|
||||
### Enabling in the Payload config
|
||||
|
||||
Add the `localization` property to your Payload config to enable localization project-wide. You'll need to provide a
|
||||
list of all locales that you'd like to support as well as set a few other options.
|
||||
|
||||
**Example Payload config set up for localization:**
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
export default buildConfig({
|
||||
collections: [
|
||||
// collections go here
|
||||
],
|
||||
localization: {
|
||||
locales: ['en', 'es', 'de'],
|
||||
defaultLocale: 'en',
|
||||
fallback: true,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
**Example Payload config set up for localization with full locales objects:**
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
export default buildConfig({
|
||||
collections: [
|
||||
// collections go here
|
||||
],
|
||||
localization: {
|
||||
locales: [
|
||||
{
|
||||
label: 'English',
|
||||
code: 'en',
|
||||
},
|
||||
{
|
||||
label: 'Arabic',
|
||||
code: 'ar',
|
||||
// opt-in to setting default text-alignment on Input fields to rtl (right-to-left) when current locale is rtl
|
||||
rtl: true,
|
||||
},
|
||||
],
|
||||
defaultLocale: 'en',
|
||||
fallback: true,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
**Example Payload config set up for localization with full locales objects (
|
||||
including [internationalization](/docs/configuration/i18n) support):**
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
export default buildConfig({
|
||||
collections: [
|
||||
// collections go here
|
||||
],
|
||||
localization: {
|
||||
locales: [
|
||||
{
|
||||
label: {
|
||||
en: 'English', // English label
|
||||
nb: 'Engelsk', // Norwegian label
|
||||
},
|
||||
code: 'en',
|
||||
},
|
||||
{
|
||||
label: {
|
||||
en: 'Norwegian', // English label
|
||||
nb: 'Norsk', // Norwegian label
|
||||
},
|
||||
code: 'nb',
|
||||
},
|
||||
],
|
||||
defaultLocale: 'en',
|
||||
fallback: true,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
**Here is a brief explanation of each of the options available within the `localization` property:**
|
||||
|
||||
**`locales`**
|
||||
|
||||
Array-based list of all the languages that you would like to support. This can be an array containing strings for each
|
||||
language code you want your project to store and serve or objects with a `label`, a locale `code`, `rtl` (
|
||||
right-to-left), and `fallbackLocale` property. The locale codes do not need to be in any specific format. It's up to you
|
||||
to define how to represent your locales. Common patterns are to use two-letter ISO 639 language codes or four-letter
|
||||
language and country codes (ISO 3166‑1) such as `en-US`, `en-UK`, `es-MX`, etc.
|
||||
|
||||
### Locale Properties:
|
||||
|
||||
| Option | Description |
|
||||
|----------------------|--------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **`code`** \* | Unique code to identify the language throughout the APIs for `locale` and `fallbackLocale` |
|
||||
| **`label`** | A string to use for the selector when choosing a language, or an object keyed on the i18n keys for different languages in use. |
|
||||
| **`rtl`** | A boolean that when true will make the admin UI display in Right-To-Left. |
|
||||
| **`fallbackLocale`** | The code for this language to fallback to when properties of a document are not present. |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
**`defaultLocale`**
|
||||
|
||||
Required string that matches one of the locale codes from the array provided. By default, if no locale is specified,
|
||||
documents will be returned in this locale.
|
||||
|
||||
**`fallback`**
|
||||
|
||||
Boolean enabling "fallback" locale functionality. If a document is requested in a locale, but a field does not have a
|
||||
localized value corresponding to the requested locale, then if this property is enabled, the document will automatically
|
||||
fall back to the fallback locale value. If this property is not enabled, the value will not be populated.
|
||||
|
||||
### Field by field localization
|
||||
|
||||
Payload localization works on a **field** level—not a document level. In addition to configuring the base Payload config
|
||||
to support localization, you need to specify each field that you would like to localize.
|
||||
|
||||
**Here is an example of how to enable localization for a field:**
|
||||
|
||||
```js
|
||||
{
|
||||
name: 'title',
|
||||
type
|
||||
:
|
||||
'text',
|
||||
// highlight-start
|
||||
localized
|
||||
:
|
||||
true,
|
||||
// highlight-end
|
||||
}
|
||||
```
|
||||
|
||||
With the above configuration, the `title` field will now be saved in the database as an object of all locales instead of
|
||||
a single string.
|
||||
|
||||
All field types with a `name` property support the `localized` property—even the more complex field types like `array`s
|
||||
and `block`s.
|
||||
|
||||
<Banner>
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
Enabling localization for field types that support nested fields will automatically create
|
||||
localized "sets" of all fields contained within the field. For example, if you have a page layout
|
||||
using a blocks field type, you have the choice of either localizing the full layout, by enabling
|
||||
localization on the top-level blocks field, or only certain fields within the layout.
|
||||
</Banner>
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
When converting an existing field to or from `localized: true` the data structure in the document
|
||||
will change for this field and so existing data for this field will be lost. Before changing the
|
||||
localization setting on fields with existing data, you may need to consider a field migration
|
||||
strategy.
|
||||
</Banner>
|
||||
|
||||
### Retrieving localized docs
|
||||
|
||||
When retrieving documents, you can specify which locale you'd like to receive as well as which fallback locale should be
|
||||
used.
|
||||
|
||||
##### REST API
|
||||
|
||||
REST API locale functionality relies on URL query parameters.
|
||||
|
||||
**`?locale=`**
|
||||
|
||||
Specify your desired locale by providing the `locale` query parameter directly in the endpoint URL.
|
||||
|
||||
**`?fallback-locale=`**
|
||||
|
||||
Specify fallback locale to be used by providing the `fallback-locale` query parameter. This can be provided as either a
|
||||
valid locale as provided to your base Payload config, or `'null'`, `'false'`, or `'none'` to disable falling back.
|
||||
|
||||
**Example:**
|
||||
|
||||
```
|
||||
fetch('https://localhost:3000/api/pages?locale=es&fallback-locale=none');
|
||||
```
|
||||
|
||||
##### GraphQL API
|
||||
|
||||
In the GraphQL API, you can specify `locale` and `fallbackLocale` args to all relevant queries and mutations.
|
||||
|
||||
The `locale` arg will only accept valid locales, but locales will be formatted automatically as valid GraphQL enum
|
||||
values (dashes or special characters will be converted to underscores, spaces will be removed, etc.). If you are curious
|
||||
to see how locales are auto-formatted, you can use the [GraphQL playground](/docs/graphql/overview#graphql-playground).
|
||||
|
||||
The `fallbackLocale` arg will accept valid locales as well as `none` to disable falling back.
|
||||
|
||||
**Example:**
|
||||
|
||||
```graphql
|
||||
query {
|
||||
Posts(locale: de, fallbackLocale: none) {
|
||||
docs {
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<Banner>
|
||||
In GraphQL, specifying the locale at the top level of a query will automatically apply it
|
||||
throughout all nested relationship fields. You can override this behavior by re-specifying locale
|
||||
arguments in nested related document queries.
|
||||
</Banner>
|
||||
|
||||
##### Local API
|
||||
|
||||
You can specify `locale` as well as `fallbackLocale` within the Local API as well as properties on the `options`
|
||||
argument. The `locale` property will accept any valid locale, and the `fallbackLocale` property will accept any valid
|
||||
locale as well as `'null'`, `'false'`, `false`, and `'none'`.
|
||||
|
||||
**Example:**
|
||||
|
||||
```js
|
||||
const posts = await payload.find({
|
||||
collection: 'posts',
|
||||
locale: 'es',
|
||||
fallbackLocale: false,
|
||||
})
|
||||
```
|
||||
|
||||
<Banner type="alert">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
The REST and Local APIs can return all localization data in one request by passing 'all' or '*' as
|
||||
the <strong>locale</strong> parameter. The response will be structured so that field values come
|
||||
back as the full objects keyed for each locale instead of the single, translated value.
|
||||
</Banner>
|
||||
197
docs/configuration/overview.mdx
Normal file
197
docs/configuration/overview.mdx
Normal file
@@ -0,0 +1,197 @@
|
||||
---
|
||||
title: The Payload Config
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: The Payload config is central to everything that Payload does, from adding custom React components, to modifying collections, controlling localization and much more.
|
||||
keywords: overview, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload is a _config-based_, code-first CMS and application framework. The Payload config is central to everything that Payload does. It scaffolds the data that Payload stores as well as maintains custom React components, hook logic, custom validations, and much more.
|
||||
|
||||
**Also, because the Payload source code is fully written in TypeScript, its configs are strongly typed—meaning that even if you aren't using TypeScript, your IDE (such as VSCode) may still provide helpful information like type-ahead suggestions while you write your config.**
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
This file is included in the Payload admin bundle, so make sure you do not embed any sensitive
|
||||
information.
|
||||
</Banner>
|
||||
|
||||
## Options
|
||||
|
||||
| Option | Description |
|
||||
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `admin` \* | Base Payload admin configuration. Specify bundler*, custom components, control metadata, set the Admin user collection, and [more](/docs/admin/overview#admin-options). Required. |
|
||||
| `editor` \* | Rich Text Editor which will be used by richText fields. Required. |
|
||||
| `db` \* | Database Adapter which will be used by Payload. Read more [here](/docs/database/overview). Required. |
|
||||
| `serverURL` | A string used to define the absolute URL of your app including the protocol, for example `https://example.com`. No paths allowed, only protocol, domain and (optionally) port |
|
||||
| `collections` | An array of all Collections that Payload will manage. To read more about how to define your collection configs, [click here](/docs/configuration/collections). |
|
||||
| `globals` | An array of all Globals that Payload will manage. For more on Globals and their configs, [click here](/docs/configuration/globals). |
|
||||
| `cors` | Either a whitelist array of URLS to allow CORS requests from, or a wildcard string (`'*'`) to accept incoming requests from any domain. |
|
||||
| `localization` | Opt-in and control how Payload handles the translation of your content into multiple locales. [More](/docs/configuration/localization) |
|
||||
| `graphQL` | Manage GraphQL-specific functionality here. Define your own queries and mutations, manage query complexity limits, and [more](/docs/graphql/overview#graphql-options). |
|
||||
| `cookiePrefix` | A string that will be prefixed to all cookies that Payload sets. |
|
||||
| `csrf` | A whitelist array of URLs to allow Payload cookies to be accepted from as a form of CSRF protection. [More](/docs/authentication/overview#csrf-protection) |
|
||||
| `defaultDepth` | If a user does not specify `depth` while requesting a resource, this depth will be used. [More](/docs/getting-started/concepts#depth) |
|
||||
| `maxDepth` | The maximum allowed depth to be permitted application-wide. This setting helps prevent against malicious queries. Defaults to `10`. |
|
||||
| `indexSortableFields` | Automatically index all sortable top-level fields in the database to improve sort performance and add database compatibility for Azure Cosmos and similar. |
|
||||
| `upload` | Base Payload upload configuration. [More](/docs/upload/overview#payload-wide-upload-options). |
|
||||
| `routes` | Control the routing structure that Payload binds itself to. Specify `admin`, `api`, `graphQL`, and `graphQLPlayground`. |
|
||||
| `email` | Base email settings to allow Payload to generate email such as Forgot Password requests and other requirements. [More](/docs/email/overview#configuration) |
|
||||
| `express` | Express-specific middleware options such as compression and JSON parsing. [More](/docs/configuration/express) |
|
||||
| `debug` | Enable to expose more detailed error information. |
|
||||
| `telemetry` | Disable Payload telemetry by passing `false`. [More](/docs/configuration/overview#telemetry) |
|
||||
| `rateLimit` | Control IP-based rate limiting for all Payload resources. Used to prevent DDoS attacks and [more](/docs/production/preventing-abuse#rate-limiting-requests). |
|
||||
| `hooks` | Tap into Payload-wide hooks. [More](/docs/hooks/overview) |
|
||||
| `plugins` | An array of Payload plugins. [More](/docs/plugins/overview) |
|
||||
| `endpoints` | An array of custom API endpoints added to the Payload router. [More](/docs/rest-api/overview#custom-endpoints) |
|
||||
| `custom` | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
#### Simple example
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
import { mongooseAdapter } from '@payloadcms/db-mongodb'
|
||||
import { postgresAdapter } from '@payloadcms/db-postgres' // beta
|
||||
|
||||
import { viteBundler } from '@payloadcms/bundler-vite'
|
||||
import { webpackBundler } from '@payloadcms/bundler-webpack'
|
||||
|
||||
import { lexicalEditor } from '@payloadcms/richtext-lexical' // beta
|
||||
import { slateEditor } from '@payloadcms/richtext-slate'
|
||||
|
||||
export default buildConfig({
|
||||
admin: {
|
||||
bundler: webpackBundler(), // or viteBundler()
|
||||
},
|
||||
db: mongooseAdapter({}) // or postgresAdapter({}),
|
||||
editor: lexicalEditor({}) // or slateEditor({})
|
||||
collections: [
|
||||
{
|
||||
slug: 'pages',
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'content',
|
||||
type: 'richText',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
globals: [
|
||||
{
|
||||
slug: 'header',
|
||||
fields: [
|
||||
{
|
||||
name: 'nav',
|
||||
type: 'array',
|
||||
fields: [
|
||||
{
|
||||
name: 'page',
|
||||
type: 'relationship',
|
||||
relationTo: 'pages',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
})
|
||||
```
|
||||
|
||||
#### Full example config
|
||||
|
||||
You can see a full [example config](https://github.com/payloadcms/public-demo/blob/master/src/payload/payload.config.ts) in the Public Demo source code on GitHub.
|
||||
|
||||
### Using environment variables in your config
|
||||
|
||||
We suggest using the `dotenv` package to handle environment variables alongside of Payload. All that's necessary to do is to require the package as high up in your application as possible (for example, at the top of your `server.js` file), and ensure that it can find an `.env` file that you create.
|
||||
|
||||
**Add this line to the top of your server:**
|
||||
|
||||
```
|
||||
require('dotenv').config()
|
||||
// ...
|
||||
// the rest of your `server.js` file goes here
|
||||
```
|
||||
|
||||
Note that if you rely on any environment variables in your config itself, you should also call `dotenv()` at the top of your config itself as well. There's no harm in calling it in both your server and your config itself!
|
||||
|
||||
**Here is an example project structure w/ `dotenv` and an `.env` file:**
|
||||
|
||||
```
|
||||
project-name
|
||||
---- .env
|
||||
---- package.json
|
||||
---- payload.config.js
|
||||
---- server.js
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
If you use an environment variable to configure any properties that are required for the Admin
|
||||
panel to function (ex. serverURL or any routes), you need to make sure that your Admin panel code
|
||||
can access it. [Click here](/docs/admin/webpack#admin-environment-vars) for more info.
|
||||
</Banner>
|
||||
|
||||
### Customizing & Automating Config Location Detection
|
||||
|
||||
Payload is designed to automatically locate your configuration file. By default, it will first look in the root of your current working directory for a file named `payload.config.js` or `payload.config.ts` if you're using TypeScript.
|
||||
|
||||
In development mode, if the configuration file is not found at the root, Payload will attempt to read your `tsconfig.json`, and search in the directory specified in `compilerOptions.rootDir` (typically "src").
|
||||
|
||||
In production mode, Payload will first attempt to find the config file in the output directory specified in `compilerOptions.outDir` of your `tsconfig.json`, then fallback to the source directory (`compilerOptions.rootDir`), and finally will check the 'dist' directory.
|
||||
|
||||
Please ensure your `tsconfig.json` is properly configured if you want Payload to accurately auto-detect your configuration file location. If `tsconfig.json` does not exist or doesn't specify `rootDir` or `outDir`, Payload will default to the current working directory.
|
||||
|
||||
#### Overriding the Config Location
|
||||
|
||||
In addition to the above automated detection, you can specify your own location for the Payload config file. This is done by using the environment variable `PAYLOAD_CONFIG_PATH`. The path you provide via this environment variable can either be absolute or relative to your current working directory. This can be useful in situations where your Payload config is not in a standard location, or you wish to switch between multiple configurations.
|
||||
|
||||
**Example in package.json:**
|
||||
|
||||
```json
|
||||
{
|
||||
"scripts": {
|
||||
"dev": "PAYLOAD_CONFIG_PATH=path/to/custom-config.js node server.js"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
When `PAYLOAD_CONFIG_PATH` is set, Payload will use this path to load the configuration, bypassing all automated detection.
|
||||
|
||||
### Developing within the Config
|
||||
|
||||
Payload comes with `isomorphic-fetch` installed which means that even in Node, you can use the `fetch` API just as you would within the browser. No need to import `axios` or similar, unless you want to!
|
||||
|
||||
### TypeScript
|
||||
|
||||
You can import config types as follows:
|
||||
|
||||
```ts
|
||||
import { Config } from 'payload/config'
|
||||
|
||||
// This is the type used for an incoming Payload config.
|
||||
// Only the bare minimum properties are marked as required.
|
||||
```
|
||||
|
||||
```ts
|
||||
import { SanitizedConfig } from 'payload/config'
|
||||
|
||||
// This is the type used after an incoming Payload config is fully sanitized.
|
||||
// Generally, this is only used internally by Payload.
|
||||
```
|
||||
|
||||
### Telemetry
|
||||
|
||||
Payload collects **completely anonymous** telemetry data about general usage. This data is super important to us and helps us accurately understand how we're growing and what we can do to build the software into everything that it can possibly be. The telemetry that we collect also help us demonstrate our growth in an accurate manner, which helps us as we seek investment to build and scale our team. If we can accurately demonstrate our growth, we can more effectively continue to support Payload as free and open-source software. To opt out of telemetry, you can pass `telemetry: false` within your Payload config.
|
||||
|
||||
For more information about what we track, take a look at our [privacy policy](/privacy).
|
||||
125
docs/database/migrations.mdx
Normal file
125
docs/database/migrations.mdx
Normal file
@@ -0,0 +1,125 @@
|
||||
---
|
||||
title: Migrations
|
||||
label: Migrations
|
||||
order: 20
|
||||
keywords: database, migrations, ddl, sql, mongodb, postgres, documentation, Content Management System, cms, headless, typescript, node, react, express
|
||||
desc: Payload features first-party database migrations all done in TypeScript.
|
||||
---
|
||||
|
||||
Payload exposes a full suite of migration controls available for your use. Migration commands are accessible via
|
||||
the `npm run payload` command in your project directory.
|
||||
|
||||
Ensure you have an npm script called "payload" in your `package.json` file.
|
||||
|
||||
```json
|
||||
{
|
||||
"scripts": {
|
||||
"payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<Banner>
|
||||
Note that you need to run Payload migrations through the package manager that you are using, because Payload should not be globally installed on your system.
|
||||
</Banner>
|
||||
|
||||
### Migration file contents
|
||||
|
||||
Payload stores all created migrations in a folder that you can specify. By default, migrations are stored
|
||||
in `./src/migrations`.
|
||||
|
||||
A migration file has two exports - an `up` function, which is called when a migration is executed, and a `down` function
|
||||
that will be called if for some reason the migration fails to complete successfully. The `up` function should contain
|
||||
all changes that you attempt to make within the migration, and the `down` should ideally revert any changes you make.
|
||||
|
||||
For an added level of safety, migrations should leverage Payload [transactions](/docs/database/transactions). Migration
|
||||
functions should make use of the `req` by adding it to the arguments of your payload local API calls such
|
||||
as `payload.create` and database adapter methods like `payload.db.create`.
|
||||
|
||||
Here is an example migration file:
|
||||
|
||||
```ts
|
||||
import { MigrateUpArgs, MigrateDownArgs } from '@payloadcms/your-db-adapter'
|
||||
|
||||
export async function up ({ payload, req }: MigrateUpArgs): Promise<void> {
|
||||
// Perform changes to your database here.
|
||||
// You have access to `payload` as an argument, and
|
||||
// everything is done in TypeScript.
|
||||
};
|
||||
|
||||
export async function down ({ payload, req }: MigrateDownArgs): Promise<void> {
|
||||
// Do whatever you need to revert changes if the `up` function fails
|
||||
};
|
||||
```
|
||||
|
||||
### Migrations Directory
|
||||
|
||||
Each DB adapter has an optional property `migrationDir` where you can override where you want your migrations to be
|
||||
stored/read. If this is not specified, Payload will check the default and possibly make a best effort to find your
|
||||
migrations directory by searching in common locations ie. `./src/migrations`, `./dist/migrations`, `./migrations`, etc.
|
||||
|
||||
All database adapters should implement similar migration patterns, but there will be small differences based on the
|
||||
adapter and its specific needs. Below is a list of all migration commands that should be supported by your database
|
||||
adapter.
|
||||
|
||||
## Commands
|
||||
|
||||
### Migrate
|
||||
|
||||
The `migrate` command will run any migrations that have not yet been run.
|
||||
|
||||
```text
|
||||
npm run payload migrate
|
||||
```
|
||||
|
||||
### Create
|
||||
|
||||
Create a new migration file in the migrations directory. You can optionally name the migration that will be created. By
|
||||
default, migrations will be named using a timestamp.
|
||||
|
||||
```text
|
||||
npm run payload migrate:create optional-name-here
|
||||
```
|
||||
|
||||
### Status
|
||||
|
||||
The `migrate:status` command will check the status of migrations and output a table of which migrations have been run,
|
||||
and which migrations have not yet run.
|
||||
|
||||
`payload migrate:status`
|
||||
|
||||
```text
|
||||
npm run payload migrate:status
|
||||
```
|
||||
|
||||
### Down
|
||||
|
||||
Roll back the last batch of migrations.
|
||||
|
||||
```text
|
||||
npm run payload migrate:down
|
||||
```
|
||||
|
||||
### Refresh
|
||||
|
||||
Roll back all migrations that have been run, and run them again.
|
||||
|
||||
```text
|
||||
npm run payload migrate:refresh
|
||||
```
|
||||
|
||||
### Reset
|
||||
|
||||
Roll back all migrations.
|
||||
|
||||
```text
|
||||
npm run payload migrate:reset
|
||||
```
|
||||
|
||||
### Fresh
|
||||
|
||||
Drops all entities from the database and re-runs all migrations from scratch.
|
||||
|
||||
```text
|
||||
npm run payload migrate:fresh
|
||||
```
|
||||
50
docs/database/mongodb.mdx
Normal file
50
docs/database/mongodb.mdx
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: MongoDB
|
||||
label: MongoDB
|
||||
order: 40
|
||||
desc: Payload has supported MongoDB natively since we started. The flexible nature of MongoDB lends itself well to Payload's powerful fields.
|
||||
keywords: MongoDB, documentation, typescript, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
To use Payload with MongoDB, install the package `@payloadcms/db-mongodb`. It will come with everything you need to
|
||||
store your Payload data in MongoDB.
|
||||
|
||||
Then from there, pass it to your Payload config as follows:
|
||||
|
||||
```ts
|
||||
import { mongooseAdapter } from '@payloadcms/db-mongodb'
|
||||
|
||||
export default buildConfig({
|
||||
// Your config goes here
|
||||
collections: [
|
||||
// Collections go here
|
||||
],
|
||||
// Configure the Mongoose adapter here
|
||||
db: mongooseAdapter({
|
||||
// Mongoose-specific arguments go here.
|
||||
// URL is required.
|
||||
url: process.env.DATABASE_URI,
|
||||
}),
|
||||
})
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Description |
|
||||
|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `autoPluralization` | Tell Mongoose to auto-pluralize any collection names if it encounters any singular words used as collection `slug`s. |
|
||||
| `connectOptions` | Customize MongoDB connection options. Payload will connect to your MongoDB database using default options which you can override and extend to include all the [options](https://mongoosejs.com/docs/connections.html#options) available to mongoose. |
|
||||
| `disableIndexHints` | Set to true to disable hinting to MongoDB to use 'id' as index. This is currently done when counting documents for pagination, as it increases the speed of the count function used in that query. Disabling this optimization might fix some problems with AWS DocumentDB. Defaults to false |
|
||||
| `migrationDir` | Customize the directory that migrations are stored. |
|
||||
| `transactionOptions` | An object with configuration properties used in [transactions](https://www.mongodb.com/docs/manual/core/transactions/) or `false` which will disable the use of transactions. | |
|
||||
|
||||
### Access to Mongoose models
|
||||
|
||||
After Payload is initialized, this adapter exposes all of your Mongoose models and they are available for you to work
|
||||
with directly.
|
||||
|
||||
You can access Mongoose models as follows:
|
||||
|
||||
- Collection models - `payload.db.collections[myCollectionSlug]`
|
||||
- Globals model - `payload.db.globals`
|
||||
- Versions model (both collections and globals) - `payload.db.versions[myEntitySlug]`
|
||||
73
docs/database/overview.mdx
Normal file
73
docs/database/overview.mdx
Normal file
@@ -0,0 +1,73 @@
|
||||
---
|
||||
title: Database
|
||||
label: Overview
|
||||
order: 10
|
||||
keywords: database, mongodb, postgres, documentation, Content Management System, cms, headless, typescript, node, react, express
|
||||
desc: With Payload, you bring your own database and own your data. You have full control.
|
||||
---
|
||||
|
||||
Payload interacts with your database via the database adapter that you choose. Right now, Payload officially supports two database adapters:
|
||||
|
||||
1. [MongoDB](/docs/database/mongodb) w/ [Mongoose](https://mongoosejs.com/)
|
||||
1. [Postgres](/docs/database/postgres) w/ [Drizzle](https://drizzle.team/)
|
||||
|
||||
We will be adding support for SQLite and MySQL in the near future using Drizzle ORM.
|
||||
|
||||
To use a specific database adapter, you need to install it and configure it according to its own specifications. Visit the documentation for your applicable database adapter to learn more.
|
||||
|
||||
## Selecting a database
|
||||
|
||||
There are several factors to consider when choosing which database technology and hosting option is right for your project and workload. Payload can theoretically support any database, but it's up to you to decide which database to use.
|
||||
|
||||
#### When to use MongoDB
|
||||
|
||||
If your project has a lot of dynamic fields, and you are comfortable with allowing Payload to enforce data integrity across your documents, MongoDB is a great choice. With it, your Payload documents are stored as _one_ document in your database—no matter if you have localization enabled, how many block or array fields you have, etc. This means that the shape of your data in your database will very closely reflect your field schema, and there is minimal complexity involved in storing or retrieving your data.
|
||||
|
||||
You should prefer MongoDB if:
|
||||
|
||||
- You prefer simplicity within your database
|
||||
- You don't want to deal with keeping production / staging databases in sync via [DDL changes](https://en.wikipedia.org/wiki/Data_definition_language)
|
||||
- Most (or everything) in your project is localized
|
||||
- You leverage a lot of array fields, block fields, or `hasMany` select fields and similar
|
||||
|
||||
#### When to use a relational DB
|
||||
|
||||
Many projects might call for more rigid database architecture where the shape of your data is strongly enforced at the database level. For example, if you know the shape of your data and it's relatively "flat", and you don't anticipate it to change often, your workload might suit relational databases like Postgres very well.
|
||||
|
||||
You should prefer a relational DB like Postgres if:
|
||||
|
||||
- You are comfortable with migration workflows
|
||||
- You require enforced data consistency at the database level
|
||||
- You have a lot of relationships between collections and require relationships to be enforced
|
||||
|
||||
#### Differences in Payload features
|
||||
|
||||
It's important to note that almost everything Payload does is available in all of our officially supported database adapters, including localization, arrays, blocks, etc.
|
||||
|
||||
The only thing that is not supported in Postgres yet is the [Point field](/docs/fields/point), but that should be added soon.
|
||||
|
||||
It's up to you to choose which database you would like to use.
|
||||
|
||||
## Configuration
|
||||
|
||||
To configure the database for your Payload application, an adapter can be assigned to `config.db`. This property is required within your Payload config.
|
||||
|
||||
Here's an example:
|
||||
|
||||
```ts
|
||||
import { postgresAdapter } from '@payloadcms/db-postgres'
|
||||
|
||||
export default buildConfig({
|
||||
// Your config goes here
|
||||
collections: [
|
||||
// Collections go here
|
||||
],
|
||||
// Here is where you pass your database adapter
|
||||
// and the adapter will require options specific to itself
|
||||
db: postgresAdapter({
|
||||
pool: {
|
||||
connectionString: process.env.DATABASE_URI,
|
||||
}
|
||||
}),
|
||||
})
|
||||
```
|
||||
87
docs/database/postgres.mdx
Normal file
87
docs/database/postgres.mdx
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: Postgres
|
||||
label: Postgres
|
||||
order: 50
|
||||
desc: Payload supports Postgres through an officially supported Drizzle database adapter.
|
||||
keywords: Postgres, documentation, typescript, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
To use Payload with Postgres, install the package `@payloadcms/db-postgres`. It leverages Drizzle ORM and `node-postgres` to interact with a Postgres database that you provide.
|
||||
|
||||
<Banner>
|
||||
The Postgres database adapter is currently in beta. If you would like to help us test this package, we'd love to hear if you find any bugs or issues!
|
||||
</Banner>
|
||||
|
||||
It automatically manages changes to your database for you in development mode, and exposes a full suite of migration controls for you to leverage in order to keep other database environments in sync with your schema. DDL transformations are automatically generated.
|
||||
|
||||
To configure Payload to use Postgres, pass the `postgresAdapter` to your Payload config as follows:
|
||||
|
||||
```ts
|
||||
import { postgresAdapter } from '@payloadcms/db-postgres'
|
||||
|
||||
export default buildConfig({
|
||||
// Your config goes here
|
||||
collections: [
|
||||
// Collections go here
|
||||
],
|
||||
// Configure the Postgres adapter here
|
||||
db: postgresAdapter({
|
||||
// Postgres-specific arguments go here.
|
||||
// `pool` is required.
|
||||
pool: {
|
||||
connectionString: process.env.DATABASE_URI,
|
||||
}
|
||||
}),
|
||||
})
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `pool` | [Pool connection options](https://orm.drizzle.team/docs/quick-postgresql/node-postgres) that will be passed to Drizzle and `node-postgres`. |
|
||||
| `push` | Disable Drizzle's [`db push`](https://orm.drizzle.team/kit-docs/overview#prototyping-with-db-push) in development mode. By default, `push` is enabled for development mode only. |
|
||||
| `migrationDir` | Customize the directory that migrations are stored. |
|
||||
|
||||
### Access to Drizzle
|
||||
|
||||
After Payload is initialized, this adapter will expose the full power of Drizzle to you for use if you need it.
|
||||
|
||||
You can access Drizzle as follows:
|
||||
|
||||
```text
|
||||
payload.db.drizzle
|
||||
```
|
||||
|
||||
### Tables, relations, and enums
|
||||
|
||||
In addition to exposing Drizzle directly, all of the tables, Drizzle relations, and enum configs are exposed for you via the `payload.db` property as well.
|
||||
|
||||
- Tables - `payload.db.tables`
|
||||
- Enums - `payload.db.enums`
|
||||
- Relations - `payload.db.relations`
|
||||
|
||||
### Prototyping in development mode
|
||||
|
||||
Drizzle exposes two ways to work locally in development mode.
|
||||
|
||||
The first is [`db push`](https://orm.drizzle.team/kit-docs/overview#prototyping-with-db-push), which automatically pushes changes you make to your Payload config (and therefore, Drizzle schema) to your database so you don't have to manually migrate every time you change your Payload config. This only works in development mode, and should not be mixed with manually running [`migrate`](/docs/database/migrations) commands.
|
||||
|
||||
You will be warned if any changes that you make will entail data loss while in development mode. Push is enabled by default, but you can opt out if you'd like.
|
||||
|
||||
Alternatively, you can disable `push` and rely solely on migrations to keep your local database in sync with your Payload config.
|
||||
|
||||
### Migration workflows
|
||||
|
||||
Migrations are extremely powerful thanks to the seamless way that Payload and Drizzle work together. Let's take the following scenario:
|
||||
|
||||
1. You are building your Payload config locally, with a local database used for testing.
|
||||
1. You have left the default setting of `push` enabled, so every time you change your Payload config (add or remove fields, collections, etc.), Drizzle will automatically push changes to your local DB.
|
||||
1. Once you're done with your changes, or have completed a feature, you can run `npm run payload migrate:create`.
|
||||
1. Payload and Drizzle will look for any existing migrations, and automatically generate all SQL changes necessary to convert your schema from its prior state into the state of your current Payload config, and store the resulting DDL in a newly created migration.
|
||||
1. Once you're ready to go to production, you will be able to run `npm run payload migrate` against your production database, which will apply any new migrations that have not yet run.
|
||||
1. Now your production database is in sync with your Payload config!
|
||||
|
||||
<Banner type="warning">
|
||||
Warning: do not mix "push" and migrations with your local development database. If you use "push" locally, and then try to migrate, Payload will throw a warning, telling you that these two methods are not meant to be used interchangeably.
|
||||
</Banner>
|
||||
69
docs/database/transactions.mdx
Normal file
69
docs/database/transactions.mdx
Normal file
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Transactions
|
||||
label: Transactions
|
||||
order: 30
|
||||
keywords: database, transactions, sql, mongodb, postgres, documentation, Content Management System, cms, headless, typescript, node, react, express
|
||||
desc: Database transactions are fully supported within Payload.
|
||||
---
|
||||
|
||||
Database transactions allow your application to make a series of database changes in an all-or-nothing commit. Consider an HTTP request that creates a new **Order** and has an `afterChange` hook to update the stock count of related **Items**. If an error occurs when updating an **Item** and an HTTP error is returned to the user, you would not want the new **Order** to be persisted or any other items to be changed either. This kind of interaction with the database is handled seamlessly with transactions.
|
||||
|
||||
By default, Payload will use transactions for all operations, as long as it is supported by the configured database. Database changes are contained within all Payload operations and any errors thrown will result in all changes being rolled back without being committed. When transactions are not supported by the database, Payload will continue to operate as expected without them.
|
||||
|
||||
<Banner type="info">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
MongoDB requires a connection to a replicaset in order to make use of transactions.
|
||||
</Banner>
|
||||
|
||||
The initial request made to Payload will begin a new transaction and attach it to the `req.transactionID`. If you have a `hook` that interacts with the database, you can opt-in to using the same transaction by passing the `req` in the arguments. For example:
|
||||
|
||||
```ts
|
||||
const afterChange: CollectionAfterChangeHook = async ({ req }) => {
|
||||
// because req.transactionID is assigned from Payload and passed through, my-slug will only persist if the entire request is successful
|
||||
await req.payload.create({
|
||||
req,
|
||||
collection: 'my-slug',
|
||||
data: {
|
||||
some: 'data',
|
||||
},
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
### Async Hooks with Transactions
|
||||
|
||||
Since Payload hooks can be async and be written to not await the result, it is possible to have an incorrect success response returned on a request that is rolled back. If you have a hook where you do not `await` the result, then you should **not** pass the `req.transactionID`.
|
||||
|
||||
```ts
|
||||
const afterChange: CollectionAfterChangeHook = async ({ req }) => {
|
||||
// WARNING: an async call made with the same req, but NOT awaited,
|
||||
// may fail resulting in an OK response being returned with response data that is not committed
|
||||
const dangerouslyIgnoreAsync = req.payload.create({
|
||||
req,
|
||||
collection: 'my-slug',
|
||||
data: {
|
||||
some: 'other data',
|
||||
},
|
||||
})
|
||||
|
||||
// Should this call fail, it will not rollback other changes
|
||||
// because the req (and its transactionID) is not passed through
|
||||
const safelyIgnoredAsync = req.payload.create({
|
||||
collection: 'my-slug',
|
||||
data: {
|
||||
some: 'other data',
|
||||
},
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
### Direct Transaction Access
|
||||
|
||||
When writing your own scripts or custom endpoints, you may wish to have direct control over transactions. This is useful for interacting with your database outside of Payload's local API.
|
||||
|
||||
The following functions can be used for managing transactions:
|
||||
|
||||
`payload.db.beginTransaction` - Starts a new session and returns a transaction ID for use in other Payload Local API calls.
|
||||
`payload.db.commitTransaction` - Takes the identifier for the transaction, finalizes any changes.
|
||||
`payload.db.rollbackTransaction` - Takes the identifier for the transaction, discards any changes.
|
||||
167
docs/email/overview.mdx
Normal file
167
docs/email/overview.mdx
Normal file
@@ -0,0 +1,167 @@
|
||||
---
|
||||
title: Email Functionality
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Payload uses NodeMailer to allow you to send emails smoothly from your app. Set up email functions such as password resets, order confirmations and more.
|
||||
keywords: email, overview, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
### Introduction
|
||||
|
||||
Payload comes ready to send your application's email. Whether you simply need built-in password reset
|
||||
email to work or you want customers to get an order confirmation email, you're almost there. Payload makes use of
|
||||
[NodeMailer](https://nodemailer.com) for email and won't get in your way for those already familiar.
|
||||
|
||||
For email to send from your Payload server, some configuration is required. The settings you provide will be set
|
||||
in the `email` property object of your payload init call. Payload will make use of the transport that you have configured for it for things like reset password or verifying new user accounts and email send methods are available to you as well on your payload instance.
|
||||
|
||||
### Configuration
|
||||
|
||||
**Three ways to set it up**
|
||||
|
||||
1. **Default**: When email is not needed, a mock email handler will be created and used when nothing is provided. This is ideal for development environments and can be changed later when ready to [go to production](/docs/production/deployment).
|
||||
1. **Recommended**: Set the `transportOptions` and Payload will do the set up for you.
|
||||
1. **Advanced**: The `transport` object can be assigned a nodemailer transport object set up in your server scripts and given for Payload to use.
|
||||
|
||||
The following options are configurable in the `email` property object as part of the options object when calling payload.init().
|
||||
|
||||
| Option | Description |
|
||||
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`fromName`** \* | The name part of the From field that will be seen on the delivered email |
|
||||
| **`fromAddress`** \* | The email address part of the From field that will be used when delivering email |
|
||||
| **`transport`** | The NodeMailer transport object for when you want to do it yourself, not needed when transportOptions is set |
|
||||
| **`transportOptions`** | An object that configures the transporter that Payload will create. For all the available options see the [NodeMailer documentation](https://nodemailer.com) or see the examples below |
|
||||
| **`logMockCredentials`** | If set to true and no transport/transportOptions, ethereal credentials will be logged to console on startup |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Use SMTP
|
||||
|
||||
Simple Mail Transfer Protocol (SMTP) options can be passed in using the `transportOptions` object on the `email` options. See the [NodeMailer SMTP documentation](https://nodemailer.com/smtp/) for more information, including details on when `secure` should and should not be set to `true`.
|
||||
|
||||
**Example email options using SMTP:**
|
||||
|
||||
```ts
|
||||
payload.init({
|
||||
email: {
|
||||
transportOptions: {
|
||||
host: process.env.SMTP_HOST,
|
||||
auth: {
|
||||
user: process.env.SMTP_USER,
|
||||
pass: process.env.SMTP_PASS,
|
||||
},
|
||||
port: Number(process.env.SMTP_HOST),
|
||||
secure: Number(process.env.SMTP_PORT) === 465, // true for port 465, false (the default) for 587 and others
|
||||
requireTLS: true,
|
||||
},
|
||||
fromName: 'hello',
|
||||
fromAddress: 'hello@example.com',
|
||||
},
|
||||
// ...
|
||||
})
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
It is best practice to avoid saving credentials or API keys directly in your code, use
|
||||
[environment variables](/docs/configuration/overview#using-environment-variables-in-your-config).
|
||||
</Banner>
|
||||
|
||||
### Use an email service
|
||||
|
||||
Many third party mail providers are available and offer benefits beyond basic SMTP. As an example, your payload init could look like this if you wanted to use SendGrid.com, though the same approach would work for any other [NodeMailer transports](https://nodemailer.com/transports/) shown here or provided by another third party.
|
||||
|
||||
```ts
|
||||
import payload from 'payload'
|
||||
import nodemailerSendgrid from 'nodemailer-sendgrid'
|
||||
|
||||
const sendGridAPIKey = process.env.SENDGRID_API_KEY
|
||||
|
||||
payload.init({
|
||||
...(sendGridAPIKey
|
||||
? {
|
||||
email: {
|
||||
transportOptions: nodemailerSendgrid({
|
||||
apiKey: sendGridAPIKey,
|
||||
}),
|
||||
fromName: 'Admin',
|
||||
fromAddress: 'admin@example.com',
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
})
|
||||
```
|
||||
|
||||
### Use a custom NodeMailer transport
|
||||
|
||||
To take full control of the mail transport you may wish to use `nodemailer.createTransport()` on your server and provide it to Payload init.
|
||||
|
||||
```ts
|
||||
import payload from 'payload'
|
||||
import nodemailer from 'nodemailer'
|
||||
|
||||
const payload = require('payload')
|
||||
const nodemailer = require('nodemailer')
|
||||
|
||||
const transport = await nodemailer.createTransport({
|
||||
host: process.env.SMTP_HOST,
|
||||
port: 587,
|
||||
auth: {
|
||||
user: process.env.SMTP_USER,
|
||||
pass: process.env.SMTP_PASS,
|
||||
},
|
||||
})
|
||||
|
||||
payload.init({
|
||||
email: {
|
||||
fromName: 'Admin',
|
||||
fromAddress: 'admin@example.com',
|
||||
transport,
|
||||
},
|
||||
// ...
|
||||
})
|
||||
```
|
||||
|
||||
### Sending Mail
|
||||
|
||||
With a working transport you can call it anywhere you have access to payload by calling `payload.sendEmail(message)`. The `message` will contain the `to`, `subject` and `email` or `text` for the email being sent. To see all available message configuration options see [NodeMailer](https://nodemailer.com/message).
|
||||
|
||||
### Mock transport
|
||||
|
||||
By default, Payload uses a mock implementation that only sends mail to the [ethereal](https://ethereal.email) capture service that will never reach a user's inbox. While in development you may wish to make use of the captured messages which is why the payload output during server output helpfully logs this out on the server console.
|
||||
|
||||
To see ethereal credentials, add `logMockCredentials: true` to the email options. This will cause them to be logged to console on startup.
|
||||
|
||||
```ts
|
||||
payload.init({
|
||||
email: {
|
||||
fromName: 'Admin',
|
||||
fromAddress: 'admin@example.com',
|
||||
logMockCredentials: true, // Optional
|
||||
},
|
||||
// ...
|
||||
})
|
||||
```
|
||||
|
||||
**Console output when starting payload with a mock email instance and logMockCredentials: true**
|
||||
|
||||
```
|
||||
[06:37:21] INFO (payload): Starting Payload...
|
||||
[06:37:22] INFO (payload): Payload Demo Initialized
|
||||
[06:37:22] INFO (payload): listening on 3000...
|
||||
[06:37:22] INFO (payload): Connected to MongoDB server successfully!
|
||||
[06:37:23] INFO (payload): E-mail configured with mock configuration
|
||||
[06:37:23] INFO (payload): Log into mock email provider at https://ethereal.email
|
||||
[06:37:23] INFO (payload): Mock email account username: hhav5jw7doo4euev@ethereal.email
|
||||
[06:37:23] INFO (payload): Mock email account password: VNdGcvDZeyEhtuPBqf
|
||||
```
|
||||
|
||||
The mock email handler is used when payload is started with neither `transport` or `transportOptions` to know how to deliver email.
|
||||
|
||||
<Banner type="warning">
|
||||
The randomly generated email account username and password will be different each time the Payload
|
||||
server starts.
|
||||
</Banner>
|
||||
|
||||
### Using multiple mail providers
|
||||
|
||||
Payload supports the use of a single transporter of email, but there is nothing stopping you from having more. Consider a use case where sending bulk email is handled differently than transactional email and could be done using a [hook](/docs/hooks/overview).
|
||||
108
docs/fields/array.mdx
Normal file
108
docs/fields/array.mdx
Normal file
@@ -0,0 +1,108 @@
|
||||
---
|
||||
title: Array Field
|
||||
label: Array
|
||||
order: 20
|
||||
desc: Array fields are intended for sets of repeating fields, that you define. Learn how to use array fields, see examples and options.
|
||||
keywords: array, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Array field type is used when you need to have a set of "repeating" fields. It stores an array
|
||||
of objects containing the fields that you define. Its uses can be simple or highly complex.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/array.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/array-dark.png"
|
||||
alt="Array field with two Rows in Payload admin panel"
|
||||
caption="Admin panel screenshot of an Array field with two Rows"
|
||||
/>
|
||||
|
||||
**Example uses:**
|
||||
|
||||
- A "slider" with an image ([upload field](/docs/fields/upload)) and a caption ([text field](/docs/fields/text))
|
||||
- Navigational structures where editors can specify nav items containing pages ([relationship field](/docs/fields/relationship)), an "open in new tab" [checkbox field](/docs/fields/checkbox)
|
||||
- Event agenda "timeslots" where you need to specify start & end time ([date field](/docs/fields/date)), label ([text field](/docs/fields/text)), and Learn More page [relationship](/docs/fields/relationship)
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as the heading in the Admin panel or an object with keys for each language. Auto-generated from name if not defined. |
|
||||
| **`fields`** \* | Array of field types to correspond to each row of the Array. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`minRows`** | A number for the fewest allowed items during validation when a value is present. |
|
||||
| **`maxRows`** | A number for the most allowed items during validation when a value is present. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide an array of row data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. If enabled, a separate, localized set of all data within this Array will be kept, so there is no need to specify each nested field as `localized`. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`labels`** | Customize the row labels appearing in the Admin dashboard. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
| **`interfaceName`** | Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin Config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), you can adjust the following properties:
|
||||
|
||||
| Option | Description |
|
||||
| ------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`initCollapsed`** | Set the initial collapsed state |
|
||||
| **`components.RowLabel`** | Function or React component to be rendered as the label on the array row. Receives `({ data, index, path })` as args |
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'slider', // required
|
||||
type: 'array', // required
|
||||
label: 'Image Slider',
|
||||
minRows: 2,
|
||||
maxRows: 10,
|
||||
interfaceName: 'CardSlider', // optional
|
||||
labels: {
|
||||
singular: 'Slide',
|
||||
plural: 'Slides',
|
||||
},
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'image',
|
||||
type: 'upload',
|
||||
relationTo: 'media',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'caption',
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
admin: {
|
||||
components: {
|
||||
RowLabel: ({ data, index }) => {
|
||||
return data?.title || `Slide ${String(index).padStart(2, '0')}`
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
146
docs/fields/blocks.mdx
Normal file
146
docs/fields/blocks.mdx
Normal file
@@ -0,0 +1,146 @@
|
||||
---
|
||||
title: Blocks Field
|
||||
label: Blocks
|
||||
order: 30
|
||||
desc: The Blocks field type is a great layout build and can be used to construct any flexible content model. Learn how to use Block fields, see examples and options.
|
||||
keywords: blocks, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Blocks field type is <strong>incredibly powerful</strong> and can be used as a{' '}
|
||||
<em>layout builder</em> as well as to define any other flexible content model you can think of. It
|
||||
stores an array of objects, where each object must match the shape of one of your provided block
|
||||
configs.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/blocks.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/blocks-dark.png"
|
||||
alt="Admin panel screenshot of add Blocks drawer view"
|
||||
caption="Admin panel screenshot of add Blocks drawer view"
|
||||
/>
|
||||
|
||||
**Example uses:**
|
||||
|
||||
- A layout builder tool that grants editors to design highly customizable page or post layouts. Blocks could include configs such as `Quote`, `CallToAction`, `Slider`, `Content`, `Gallery`, or others.
|
||||
- A form builder tool where available block configs might be `Text`, `Select`, or `Checkbox`.
|
||||
- Virtual event agenda "timeslots" where a timeslot could either be a `Break`, a `Presentation`, or a `BreakoutSession`.
|
||||
|
||||
### Field config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as the heading in the Admin panel or an object with keys for each language. Auto-generated from name if not defined. |
|
||||
| **`blocks`** \* | Array of [block configs](/docs/fields/blocks#block-configs) to be made available to this field. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`minRows`** | A number for the fewest allowed items during validation when a value is present. |
|
||||
| **`maxRows`** | A number for the most allowed items during validation when a value is present. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-level hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-level access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API response or the Admin panel. |
|
||||
| **`defaultValue`** | Provide an array of block data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. If enabled, a separate, localized set of all data within this field will be kept, so there is no need to specify each nested field as `localized`. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`labels`** | Customize the block row labels appearing in the Admin dashboard. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin Config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), you can adjust the following properties:
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ------------------------------- |
|
||||
| **`initCollapsed`** | Set the initial collapsed state |
|
||||
|
||||
### Block configs
|
||||
|
||||
Blocks are defined as separate configs of their own.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
Best practice is to define each block config in its own file, and then import them into your
|
||||
Blocks field as necessary. This way each block config can be easily shared between fields. For
|
||||
instance, using the "layout builder" example, you might want to feature a few of the same blocks
|
||||
in a Post collection as well as a Page collection. Abstracting into their own files trivializes
|
||||
their reusability.
|
||||
</Banner>
|
||||
|
||||
| Option | Description |
|
||||
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`slug`** \* | Identifier for this block type. Will be saved on each block as the `blockType` property. |
|
||||
| **`fields`** \* | Array of fields to be stored in this block. |
|
||||
| **`labels`** | Customize the block labels that appear in the Admin dashboard. Auto-generated from slug if not defined. |
|
||||
| **`imageURL`** | Provide a custom image thumbnail to help editors identify this block in the Admin UI. |
|
||||
| **`imageAltText`** | Customize this block's image thumbnail alt text. |
|
||||
| **`interfaceName`** | Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). |
|
||||
| **`graphQL.singularName`** | Text to use for the GraphQL schema name. Auto-generated from slug if not defined. NOTE: this is set for deprecation, prefer `interfaceName`. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
#### Auto-generated data per block
|
||||
|
||||
In addition to the field data that you define on each block, Payload will store two additional properties on each block:
|
||||
|
||||
**`blockType`**
|
||||
|
||||
The `blockType` is saved as the slug of the block that has been selected.
|
||||
|
||||
**`blockName`**
|
||||
|
||||
The Admin panel provides each block with a `blockName` field which optionally allows editors to label their blocks for better editability and readability.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.js`
|
||||
|
||||
```ts
|
||||
import { Block, CollectionConfig } from 'payload/types'
|
||||
|
||||
const QuoteBlock: Block = {
|
||||
slug: 'Quote', // required
|
||||
imageURL: 'https://google.com/path/to/image.jpg',
|
||||
imageAltText: 'A nice thumbnail image to show what this block looks like',
|
||||
interfaceName: 'QuoteBlock', // optional
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'quoteHeader',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'quoteText',
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'layout', // required
|
||||
type: 'blocks', // required
|
||||
minRows: 1,
|
||||
maxRows: 20,
|
||||
blocks: [
|
||||
// required
|
||||
QuoteBlock,
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### TypeScript
|
||||
|
||||
As you build your own Block configs, you might want to store them in separate files but retain typing accordingly. To do so, you can import and use Payload's `Block` type:
|
||||
|
||||
```ts
|
||||
import type { Block } from 'payload/types'
|
||||
```
|
||||
56
docs/fields/checkbox.mdx
Normal file
56
docs/fields/checkbox.mdx
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
title: Checkbox Field
|
||||
label: Checkbox
|
||||
order: 40
|
||||
desc: Checkbox field types allow the developer to save a boolean value in the database. Learn how to use Checkbox fields, see examples and options.
|
||||
keywords: checkbox, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>The Checkbox field type saves a boolean in the database.</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/checkbox.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/checkbox-dark.png"
|
||||
alt="Checkbox field with text field in Payload admin panel"
|
||||
caption="Admin panel screenshot of Checkbox field with Text field below"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value, will default to false if field is also `required`. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'enableCoolStuff', // required
|
||||
type: 'checkbox', // required
|
||||
label: 'Click me to see fanciness',
|
||||
defaultValue: false,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
76
docs/fields/code.mdx
Normal file
76
docs/fields/code.mdx
Normal file
@@ -0,0 +1,76 @@
|
||||
---
|
||||
title: Code Field
|
||||
label: Code
|
||||
order: 50
|
||||
desc: The Code field type will store any string in the Database. Learn how to use Code fields, see examples and options.
|
||||
|
||||
keywords: code, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Code field type saves a string in the database, but provides the Admin panel with a code
|
||||
editor styled interface.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/code.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/code-dark.png"
|
||||
alt="Shows a Code field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Code field"
|
||||
/>
|
||||
|
||||
This field uses the `monaco-react` editor syntax highlighting.
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`index`** | Build an [index](/docs/database#overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`minLength`** | Used by the default validation function to ensure values are of a minimum character length. |
|
||||
| **`maxLength`** | Used by the default validation function to ensure values are of a maximum character length. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin Config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), you can adjust the following properties:
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`language`** | This property can be set to any language listed [here](https://github.com/microsoft/monaco-editor/tree/main/src/basic-languages). |
|
||||
| **`editorOptions`** | Options that can be passed to the monaco editor, [view the full list](https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditorConstructionOptions.html). |
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'trackingCode', // required
|
||||
type: 'code', // required
|
||||
required: true,
|
||||
admin: {
|
||||
language: 'javascript',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
69
docs/fields/collapsible.mdx
Normal file
69
docs/fields/collapsible.mdx
Normal file
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Collapsible Field
|
||||
label: Collapsible
|
||||
order: 60
|
||||
desc: With the Collapsible field, you can place fields within a collapsible layout component that can be collapsed / expanded.
|
||||
keywords: row, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Collapsible field is presentational-only and only affects the Admin panel. By using it, you
|
||||
can place fields within a nice layout component that can be collapsed / expanded.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/collapsible.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/collapsible-dark.png"
|
||||
alt="Shows a Collapsible field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Collapsible field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`label`** \* | A label to render within the header of the collapsible component. This can be a string, function or react component. Function/components receive `({ data, path })` as args. |
|
||||
| **`fields`** \* | Array of field types to nest within this Collapsible. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin Config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), you can adjust the following properties:
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ------------------------------- |
|
||||
| **`initCollapsed`** | Set the initial collapsed state |
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
label: ({ data }) => data?.title || 'Untitled',
|
||||
type: 'collapsible', // required
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'someTextField',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
116
docs/fields/date.mdx
Normal file
116
docs/fields/date.mdx
Normal file
@@ -0,0 +1,116 @@
|
||||
---
|
||||
title: Date Field
|
||||
label: Date
|
||||
order: 70
|
||||
desc: The Date field type stores a Date in the database. Learn how to use and customize the Date field, see examples and options.
|
||||
keywords: date, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Date field type saves a Date in the database and provides the Admin panel with a customizable
|
||||
time picker interface.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/date.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/date-dark.png"
|
||||
alt="Shows a Date field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Date field"
|
||||
/>
|
||||
|
||||
This field uses [`react-datepicker`](https://www.npmjs.com/package/react-datepicker) for the Admin panel component.
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin Config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), you can customize the following fields that will adjust how the component displays in the admin panel via the `date` property.
|
||||
|
||||
| Property | Description |
|
||||
| ------------------------------ | ------------------------------------------------------------------------------------------- |
|
||||
| **`placeholder`** | Placeholder text for the field. |
|
||||
| **`date`** | Pass options to customize date field appearance. |
|
||||
| **`date.displayFormat`** | Format date to be shown in field **cell**. |
|
||||
| **`date.pickerAppearance`** \* | Determines the appearance of the datepicker: `dayAndTime` `timeOnly` `dayOnly` `monthOnly`. |
|
||||
| **`date.monthsToShow`** \* | Number of months to display max is 2. Defaults to 1. |
|
||||
| **`date.minDate`** \* | Min date value to allow. |
|
||||
| **`date.maxDate`** \* | Max date value to allow. |
|
||||
| **`date.minTime`** \* | Min time value to allow. |
|
||||
| **`date.maxTime`** \* | Max date value to allow. |
|
||||
| **`date.overrides`** \* | Pass any valid props directly to the [react-datepicker](https://github.com/Hacker0x01/react-datepicker/blob/master/docs/datepicker.md) |
|
||||
| **`date.timeIntervals`** \* | Time intervals to display. Defaults to 30 minutes. |
|
||||
| **`date.timeFormat`** \* | Determines time format. Defaults to `'h:mm aa'`. |
|
||||
|
||||
_\* This property is passed directly to [react-datepicker](https://github.com/Hacker0x01/react-datepicker/blob/master/docs/datepicker.md). ._
|
||||
|
||||
#### Display Format and Picker Appearance
|
||||
|
||||
These properties only affect how the date is displayed in the UI. The full date is always stored in the format `YYYY-MM-DDTHH:mm:ss.SSSZ` (e.g. `1999-01-01T8:00:00.000+05:00`).
|
||||
|
||||
`displayFormat` determines how the date is presented in the field **cell**, you can pass any valid (unicode date format)[https://date-fns.org/v2.29.3/docs/format].
|
||||
|
||||
`pickerAppearance` sets the appearance of the **react datepicker**, the options available are `dayAndTime`, `dayOnly`, `timeOnly`, and `monthOnly`. By default, the datepicker will display `dayOnly`.
|
||||
|
||||
When only `pickerAppearance` is set, an equivalent format will be rendered in the date field cell. To overwrite this format, set `displayFormat`.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'dateOnly',
|
||||
type: 'date',
|
||||
admin: {
|
||||
date: {
|
||||
pickerAppearance: 'dayOnly',
|
||||
displayFormat: 'd MMM yyy',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'timeOnly',
|
||||
type: 'date',
|
||||
admin: {
|
||||
date: {
|
||||
pickerAppearance: 'timeOnly',
|
||||
displayFormat: 'h:mm:ss a',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'monthOnly',
|
||||
type: 'date',
|
||||
admin: {
|
||||
date: {
|
||||
pickerAppearance: 'monthOnly',
|
||||
displayFormat: 'MMMM yyyy',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
69
docs/fields/email.mdx
Normal file
69
docs/fields/email.mdx
Normal file
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Email Field
|
||||
label: Email
|
||||
order: 80
|
||||
desc: The Email field enforces that the value provided is a valid email address. Learn how to use Email fields, see examples and options.
|
||||
keywords: email, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>The Email field enforces that the value provided is a valid email address.</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/email.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/email-dark.png"
|
||||
alt="Shows an Email field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of an Email field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), this field type allows for the following `admin` properties:
|
||||
|
||||
**`placeholder`**
|
||||
|
||||
Set this property to define a placeholder string for the field.
|
||||
|
||||
**`autoComplete`**
|
||||
|
||||
Set this property to a string that will be used for browser autocomplete.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'contact', // required
|
||||
type: 'email', // required
|
||||
label: 'Contact Email Address',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
83
docs/fields/group.mdx
Normal file
83
docs/fields/group.mdx
Normal file
@@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Group Field
|
||||
label: Group
|
||||
order: 90
|
||||
desc: The Group field allows other fields to be nested under a common property. Learn how to use Group fields, see examples and options.
|
||||
keywords: group, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Group field allows fields to be nested under a common property name. It also groups fields
|
||||
together visually in the Admin panel.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/group.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/group-dark.png"
|
||||
alt="Shows a Group field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Group field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`fields`** \* | Array of field types to nest within this Group. |
|
||||
| **`label`** | Used as a heading in the Admin panel and to name the generated GraphQL type. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide an object of data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. If enabled, a separate, localized set of all data within this Group will be kept, so there is no need to specify each nested field as `localized`. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
| **`interfaceName`** | Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Group allows for the following admin property:
|
||||
|
||||
**`hideGutter`**
|
||||
|
||||
Set this property to `true` to hide this field's gutter within the admin panel. The field gutter is rendered as a vertical line and padding, but often if this field is nested within a Group, Block, or Array, you may want to hide the gutter.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'pageMeta', // required
|
||||
type: 'group', // required
|
||||
interfaceName: 'Meta', // optional
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
required: true,
|
||||
minLength: 20,
|
||||
maxLength: 100,
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
type: 'textarea',
|
||||
required: true,
|
||||
minLength: 40,
|
||||
maxLength: 160,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
70
docs/fields/json.mdx
Normal file
70
docs/fields/json.mdx
Normal file
@@ -0,0 +1,70 @@
|
||||
---
|
||||
title: JSON Field
|
||||
label: JSON
|
||||
order: 50
|
||||
desc: The JSON field type will store any string in the Database. Learn how to use JSON fields, see examples and options.
|
||||
|
||||
keywords: json, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The JSON field type saves actual JSON in the database, which differs from the Code field that
|
||||
saves the value as a string in the database.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/json.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/json-dark.png"
|
||||
alt="Shows a JSON field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a JSON field"
|
||||
/>
|
||||
|
||||
This field uses the `monaco-react` editor syntax highlighting.
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin Config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), you can adjust the following properties:
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`editorOptions`** | Options that can be passed to the monaco editor, [view the full list](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html). |
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'customerJSON', // required
|
||||
type: 'json', // required
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
83
docs/fields/number.mdx
Normal file
83
docs/fields/number.mdx
Normal file
@@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Number Field
|
||||
label: Number
|
||||
order: 100
|
||||
desc: Number fields store and validate numeric data. Learn how to use and format Number fields, see examples and Number field options.
|
||||
keywords: number, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Number field stores and validates numeric entry and supports additional numerical validation
|
||||
and formatting features.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/number.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/number-dark.png"
|
||||
alt="Shows a Number field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Number field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`min`** | Minimum value accepted. Used in the default `validation` function. |
|
||||
| **`max`** | Maximum value accepted. Used in the default `validation` function. |
|
||||
| **`hasMany`** | Makes this field an ordered array of numbers instead of just a single number. |
|
||||
| **`minRows`** | Minimum number of numbers in the numbers array, if `hasMany` is set to true. |
|
||||
| **`maxRows`** | Maximum number of numbers in the numbers array, if `hasMany` is set to true. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), this field type allows for the following `admin` properties:
|
||||
|
||||
**`step`**
|
||||
|
||||
Set a value for the number field to increment / decrement using browser controls.
|
||||
|
||||
**`placeholder`**
|
||||
|
||||
Set this property to define a placeholder string for the field.
|
||||
|
||||
**`autoComplete`**
|
||||
|
||||
Set this property to a string that will be used for browser autocomplete.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'age', // required
|
||||
type: 'number', // required
|
||||
required: true,
|
||||
admin: {
|
||||
step: 1,
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
321
docs/fields/overview.mdx
Normal file
321
docs/fields/overview.mdx
Normal file
@@ -0,0 +1,321 @@
|
||||
---
|
||||
title: Fields Overview
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Fields are the building blocks of Payload, find out how to add or remove a field, change field type, add hooks, define access control and validation.
|
||||
keywords: overview, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner type="info">
|
||||
Fields are the building blocks of Payload. Collections and Globals both use Fields to define the
|
||||
shape of the data that they store. Payload offers a wide variety of field types - both simple and
|
||||
complex.
|
||||
</Banner>
|
||||
|
||||
Fields are defined as an array on Collections and Globals via the `fields` key. They define the shape of the data that will be stored as well as automatically construct the corresponding Admin UI.
|
||||
|
||||
The required `type` property on a field determines what values it can accept, how it is presented in the API, and how the field will be rendered in the admin interface.
|
||||
|
||||
**Simple collection with two fields:**
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Page: CollectionConfig = {
|
||||
slug: 'pages',
|
||||
fields: [
|
||||
{
|
||||
name: 'myField',
|
||||
type: 'text', // highlight-line
|
||||
},
|
||||
{
|
||||
name: 'otherField',
|
||||
type: 'checkbox', // highlight-line
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Field types
|
||||
|
||||
- [Array](/docs/fields/array) - for repeating content, supports nested fields
|
||||
- [Blocks](/docs/fields/blocks) - block-based fields, allowing powerful layout creation
|
||||
- [Checkbox](/docs/fields/checkbox) - boolean true / false checkbox
|
||||
- [Code](/docs/fields/code) - code editor that saves a string to the database
|
||||
- [Collapsible](/docs/fields/collapsible) - used for admin layout, nest fields within a collapsible component
|
||||
- [Date](/docs/fields/date) - date / time field that saves a timestamp
|
||||
- [Email](/docs/fields/email) - validates the entry is a properly formatted email
|
||||
- [Group](/docs/fields/group) - nest fields within an object
|
||||
- [JSON](/docs/fields/json) - saves actual JSON in the database
|
||||
- [Number](/docs/fields/number) - field that enforces that its value be a number
|
||||
- [Point](/docs/fields/point) - geometric coordinates for location data
|
||||
- [Radio](/docs/fields/radio) - radio button group, allowing only one value to be selected
|
||||
- [Relationship](/docs/fields/relationship) - assign relationships to other collections
|
||||
- [Rich Text](/docs/fields/rich-text) - fully extensible Rich Text editor
|
||||
- [Row](/docs/fields/row) - used for admin field layout, no effect on data shape
|
||||
- [Select](/docs/fields/select) - dropdown / picklist style value selector
|
||||
- [Tabs](/docs/fields/tabs) - used for admin layout, nest fields within tabs
|
||||
- [Text](/docs/fields/text) - simple text input
|
||||
- [Textarea](/docs/fields/textarea) - allows a bit larger of a text editor
|
||||
- [Upload](/docs/fields/upload) - allows local file and image upload
|
||||
- [UI](/docs/fields/ui) - inject your own custom components and do whatever you need
|
||||
|
||||
### Field-level hooks
|
||||
|
||||
One of the most powerful parts about Payload is its ability for you to define field-level hooks that can control the logic of your fields to a fine-grained level. for more information about how to define field hooks, [click here](/docs/hooks/overview#field-hooks).
|
||||
|
||||
### Field-level access control
|
||||
|
||||
In addition to being able to define access control on a document-level, you can define extremely granular permissions on a field by field level. For more information about field-level access control, [click here](/docs/access-control/overview#fields).
|
||||
|
||||
### Field names
|
||||
|
||||
Some fields use their `name` property as a unique identifier to store and retrieve from the database. `__v`, `salt`, and `hash` are all reserved field names which are sanitized from Payload's config and cannot be used.
|
||||
|
||||
### Validation
|
||||
|
||||
Field validation is enforced automatically based on the field type and other properties such as `required` or `min` and `max` value constraints on certain field types. This default behavior can be replaced by providing your own validate function for any field. It will be used on both the frontend and the backend, so it should not rely on any Node-specific packages. The validation function can be either synchronous or asynchronous and expects to return either `true` or a string error message to display in both API responses and within the Admin panel.
|
||||
|
||||
There are two arguments available to custom validation functions.
|
||||
|
||||
1. The value which is currently assigned to the field
|
||||
2. An optional object with dynamic properties for more complex validation having the following:
|
||||
|
||||
| Property | Description |
|
||||
| ------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `data` | An object of the full collection or global document. |
|
||||
| `siblingData` | An object of the document data limited to fields within the same parent to the field. |
|
||||
| `operation` | Will be "create" or "update" depending on the UI action or API call. |
|
||||
| `id` | The value of the collection `id`, will be `undefined` on create request. |
|
||||
| `t` | The function for translating text, [more](/docs/configuration/i18n). |
|
||||
| `user` | The currently authenticated user object. |
|
||||
| `payload` | If the `validate` function is being executed on the server, Payload will be exposed for easily running local operations. |
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const Orders: CollectionConfig = {
|
||||
slug: 'orders',
|
||||
fields: [
|
||||
{
|
||||
name: 'customerNumber',
|
||||
type: 'text',
|
||||
validate: async (val, { operation }) => {
|
||||
if (operation !== 'create') {
|
||||
// skip validation on update
|
||||
return true
|
||||
}
|
||||
const response = await fetch(`https://your-api.com/customers/${val}`)
|
||||
if (response.ok) {
|
||||
return true
|
||||
}
|
||||
|
||||
return 'The customer number provided does not match any customers within our records.'
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
When supplying a field `validate` function, Payload will use yours in place of the default. To make use of the default field validation in your custom logic you can import, call and return the result as needed.
|
||||
|
||||
For example:
|
||||
|
||||
```ts
|
||||
import { text } from 'payload/fields/validations'
|
||||
|
||||
const field: Field = {
|
||||
name: 'notBad',
|
||||
type: 'text',
|
||||
validate: (val, args) => {
|
||||
if (val === 'bad') {
|
||||
return 'This cannot be "bad"'
|
||||
}
|
||||
// highlight-start
|
||||
return text(val, args)
|
||||
// highlight-end
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Customizable ID
|
||||
|
||||
Collections ID fields are generated automatically by default. An explicit `id` field can be declared in the `fields` array to override this behavior.
|
||||
Users are then required to provide a custom ID value when creating a record through the Admin UI or API.
|
||||
Valid ID types are `number` and `text`.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
{
|
||||
fields: [
|
||||
{
|
||||
name: 'id',
|
||||
type: 'number',
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to each field's base configuration, you can define specific traits and properties for fields that only have effect on how they are rendered in the Admin panel. The following properties are available for all fields within the `admin` property:
|
||||
|
||||
| Option | Description |
|
||||
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `condition` | You can programmatically show / hide fields based on what other fields are doing. [Click here](#conditional-logic) for more info. |
|
||||
| `components` | All field components can be completely and easily swapped out for custom components that you define. [Click here](#custom-components) for more info. |
|
||||
| `description` | Helper text to display with the field to provide more information for the editor user. [Click here](#description) for more info. |
|
||||
| `position` | Specify if the field should be rendered in the sidebar by defining `position: 'sidebar'`. |
|
||||
| `width` | Restrict the width of a field. you can pass any string-based value here, be it pixels, percentages, etc. This property is especially useful when fields are nested within a `Row` type where they can be organized horizontally. |
|
||||
| `style` | Attach raw CSS style properties to the root DOM element of a field. |
|
||||
| `className` | Attach a CSS class name to the root DOM element of a field. |
|
||||
| `readOnly` | Setting a field to `readOnly` has no effect on the API whatsoever but disables the admin component's editability to prevent editors from modifying the field's value. |
|
||||
| `disabled` | If a field is `disabled`, it is completely omitted from the Admin panel. |
|
||||
| `disableBulkEdit` | Set `disableBulkEdit` to `true` to prevent fields from appearing in the select options when making edits for multiple documents. |
|
||||
| `hidden` | Setting a field's `hidden` property on its `admin` config will transform it into a `hidden` input type. Its value will still submit with the Admin panel's requests, but the field itself will not be visible to editors. |
|
||||
|
||||
### Custom components
|
||||
|
||||
All Payload fields support the ability to swap in your own React components with ease. For more information, including examples, [click here](/docs/admin/components#fields).
|
||||
|
||||
### Conditional logic
|
||||
|
||||
You can show and hide fields based on what other fields are doing by utilizing conditional logic on a field by field basis. The `condition` property on a field's admin config accepts a function which takes three arguments:
|
||||
|
||||
- `data` - the entire document's data that is currently being edited
|
||||
- `siblingData` - only the fields that are direct siblings to the field with the condition
|
||||
- `{ user }` - the final argument is an object containing the currently authenticated user
|
||||
|
||||
The `condition` function should return a boolean that will control if the field should be displayed or not.
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
{
|
||||
fields: [
|
||||
{
|
||||
name: 'enableGreeting',
|
||||
type: 'checkbox',
|
||||
defaultValue: false,
|
||||
},
|
||||
{
|
||||
name: 'greeting',
|
||||
type: 'text',
|
||||
admin: {
|
||||
// highlight-start
|
||||
condition: (data, siblingData, { user }) => {
|
||||
if (data.enableGreeting) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
// highlight-end
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Default values
|
||||
|
||||
Fields can be prefilled with starting values using the `defaultValue` property. This is used in the admin UI and also on the backend as API requests will be populated with missing or undefined field values. You can assign the defaultValue directly in the field configuration or supply a function for dynamic behavior. Values assigned during a create request on the server are added before validation occurs.
|
||||
|
||||
Functions are called with an optional argument object containing:
|
||||
|
||||
- `user` - the authenticated user object
|
||||
- `locale` - the currently selected locale string
|
||||
|
||||
Here is an example of a defaultValue function that uses both:
|
||||
|
||||
```ts
|
||||
const translation: {
|
||||
en: 'Written by'
|
||||
es: 'Escrito por'
|
||||
}
|
||||
|
||||
const field = {
|
||||
name: 'attribution',
|
||||
type: 'text',
|
||||
// highlight-start
|
||||
defaultValue: ({ user, locale }) => `${translation[locale]} ${user.name}`,
|
||||
// highlight-end
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="success">
|
||||
You can use async defaultValue functions to fill fields with data from API requests.
|
||||
</Banner>
|
||||
|
||||
### Description
|
||||
|
||||
A description can be configured in three ways.
|
||||
|
||||
- As a string
|
||||
- As a function which returns a string
|
||||
- As a React component
|
||||
|
||||
Functions are called with an optional argument object with the following shape, and React components are rendered with the following props:
|
||||
|
||||
- `path` - the path of the field
|
||||
- `value` - the current value of the field
|
||||
|
||||
As shown above, you can simply provide a string that will show by the field, but there are use cases where you may want to create some dynamic feedback. By using a function or a component for the `description` property you can provide realtime feedback as the user interacts with the form.
|
||||
|
||||
**Function Example:**
|
||||
|
||||
```ts
|
||||
{
|
||||
fields: [
|
||||
{
|
||||
name: 'message',
|
||||
type: 'text',
|
||||
maxLength: 20,
|
||||
admin: {
|
||||
description: ({ path, value }) =>
|
||||
`${typeof value === 'string' ? 20 - value.length : '20'} characters left (field: ${path})`,
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
This example will display the number of characters allowed as the user types.
|
||||
|
||||
**Component Example:**
|
||||
|
||||
```ts
|
||||
{
|
||||
fields: [
|
||||
{
|
||||
name: 'message',
|
||||
type: 'text',
|
||||
maxLength: 20,
|
||||
admin: {
|
||||
description:
|
||||
({ path, value }) => (
|
||||
<div>
|
||||
Character count:
|
||||
{' '}
|
||||
{ value?.length || 0 }
|
||||
(field: {path})
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
This component will count the number of characters entered, as well as display the path of the field.
|
||||
|
||||
### TypeScript
|
||||
|
||||
You can import the internal Payload `Field` type as well as other common field types as follows:
|
||||
|
||||
```ts
|
||||
import type { Field } from 'payload/types'
|
||||
```
|
||||
74
docs/fields/point.mdx
Normal file
74
docs/fields/point.mdx
Normal file
@@ -0,0 +1,74 @@
|
||||
---
|
||||
title: Point Field
|
||||
label: Point
|
||||
order: 110
|
||||
desc: The Point field type stores coordinates in the database. Learn how to use Point field for geolocation and geometry.
|
||||
|
||||
keywords: point, geolocation, geospatial, geojson, 2dsphere, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Point field type saves a pair of coordinates in the database and assigns an index for location
|
||||
related queries.
|
||||
</Banner>
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong> The Point field type is currently only supported in MongoDB.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/point.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/point-dark.png"
|
||||
alt="Shows a Point field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Point field"
|
||||
/>
|
||||
|
||||
The data structure in the database matches the GeoJSON structure to represent point. The Payload APIs simplifies the object data to only the [longitude, latitude] location.
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Used as a field label in the Admin panel and to name the generated GraphQL type. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. To support location queries, point index defaults to `2dsphere`, to disable the index set to `false`. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong> The Point field type is currently only supported in MongoDB.
|
||||
</Banner>
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'location',
|
||||
type: 'point',
|
||||
label: 'Location',
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Querying
|
||||
|
||||
In order to do query based on the distance to another point, you can use the `near` operator. When querying using the near operator, the returned documents will be sorted by nearest first.
|
||||
90
docs/fields/radio.mdx
Normal file
90
docs/fields/radio.mdx
Normal file
@@ -0,0 +1,90 @@
|
||||
---
|
||||
title: Radio Group Field
|
||||
label: Radio Group
|
||||
order: 120
|
||||
desc: The Radio field type allows for the selection of one value from a predefined set of possible values. Learn how to use Radio fields, see examples and options.
|
||||
keywords: radio, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Radio Group field type allows for the selection of one value from a predefined set of possible
|
||||
values and presents a radio group-style set of inputs to the Admin panel.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/radio.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/radio-dark.png"
|
||||
alt="Shows a Radio field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Radio field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`options`** \* | Array of options to allow the field to store. Can either be an array of strings, or an array of objects containing an `label` string and a `value` string. |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. The default value must exist within provided values in `options`. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
Option values should be strings that do not contain hyphens or special characters due to GraphQL
|
||||
enumeration naming constraints. Underscores are allowed. If you determine you need your option
|
||||
values to be non-strings or contain special characters, they will be formatted accordingly before
|
||||
being used as a GraphQL enum.
|
||||
</Banner>
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Radio Group field type allows for the specification of the following `admin` properties:
|
||||
|
||||
**`layout`**
|
||||
|
||||
The `layout` property allows for the radio group to be styled as a horizonally or vertically distributed list. The default value is `horizontal`.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'color', // required
|
||||
type: 'radio', // required
|
||||
options: [
|
||||
// required
|
||||
{
|
||||
label: 'Mint',
|
||||
value: 'mint',
|
||||
},
|
||||
{
|
||||
label: 'Dark Gray',
|
||||
value: 'dark_gray',
|
||||
},
|
||||
],
|
||||
defaultValue: 'mint', // The first value in options.
|
||||
admin: {
|
||||
layout: 'horizontal',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
366
docs/fields/relationship.mdx
Normal file
366
docs/fields/relationship.mdx
Normal file
@@ -0,0 +1,366 @@
|
||||
---
|
||||
title: Relationship Field
|
||||
label: Relationship
|
||||
order: 130
|
||||
desc: The Relationship field provides the ability to relate documents together. Learn how to use Relationship fields, see examples and options.
|
||||
keywords: relationship, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Relationship field is one of the most powerful fields Payload features. It provides for the
|
||||
ability to easily relate documents together.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/relationship.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/relationship-dark.png"
|
||||
alt="Shows a relationship field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Relationship field"
|
||||
/>
|
||||
|
||||
**Example uses:**
|
||||
|
||||
- To add `Product` documents to an `Order` document
|
||||
- To allow for an `Order` to feature a `placedBy` relationship to either an `Organization` or `User` collection
|
||||
- To assign `Category` documents to `Post` documents
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`relationTo`** \* | Provide one or many collection `slug`s to be able to assign relationships to. |
|
||||
| **`filterOptions`** | A query to filter which options appear in the UI and validate against. [More](#filtering-relationship-options). |
|
||||
| **`hasMany`** | Boolean when, if set to `true`, allows this field to have many relations instead of only one. |
|
||||
| **`minRows`** | A number for the fewest allowed items during validation when a value is present. Used with `hasMany`. |
|
||||
| **`maxRows`** | A number for the most allowed items during validation when a value is present. Used with `hasMany`. |
|
||||
| **`maxDepth`** | Sets a number limit on iterations of related documents to populate when queried. [Depth](/docs/getting-started/concepts#depth) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
The [Depth](/docs/getting-started/concepts#depth) parameter can be used to automatically populate
|
||||
related documents that are returned by the API.
|
||||
</Banner>
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Relationship field type also
|
||||
allows for the following admin-specific properties:
|
||||
|
||||
**`isSortable`**
|
||||
|
||||
Set to `true` if you'd like this field to be sortable within the Admin UI using drag and drop (only works when `hasMany`
|
||||
is set to `true`).
|
||||
|
||||
**`allowCreate`**
|
||||
|
||||
Set to `false` if you'd like to disable the ability to create new documents from within the relationship field (hides
|
||||
the "Add new" button in the admin UI).
|
||||
|
||||
**`sortOptions`**
|
||||
|
||||
The `sortOptions` property allows you to define a default sorting order for the options within a Relationship field's
|
||||
dropdown. This can be particularly useful for ensuring that the most relevant options are presented first to the user.
|
||||
|
||||
You can specify `sortOptions` in two ways:
|
||||
|
||||
**As a string:**
|
||||
|
||||
Provide a string to define a global default sort field for all relationship field dropdowns across different
|
||||
collections. You can prefix the field name with a minus symbol ("-") to sort in descending order.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
sortOptions: 'fieldName',
|
||||
```
|
||||
|
||||
This configuration will sort all relationship field dropdowns by `"fieldName"` in ascending order.
|
||||
|
||||
**As an object :**
|
||||
|
||||
Specify an object where keys are collection slugs and values are strings representing the field names to sort by. This
|
||||
allows for different sorting fields for each collection's relationship dropdown.
|
||||
|
||||
Example:
|
||||
|
||||
```ts
|
||||
sortOptions: {
|
||||
"pages"
|
||||
:
|
||||
"fieldName1",
|
||||
"posts"
|
||||
:
|
||||
"-fieldName2",
|
||||
"categories"
|
||||
:
|
||||
"fieldName3"
|
||||
}
|
||||
```
|
||||
|
||||
In this configuration:
|
||||
|
||||
- Dropdowns related to `pages` will be sorted by `"fieldName1"` in ascending order.
|
||||
- Dropdowns for `posts` will use `"fieldName2"` for sorting in descending order (noted by the "-" prefix).
|
||||
- Dropdowns associated with `categories` will sort based on `"fieldName3"` in ascending order.
|
||||
|
||||
Note: If `sortOptions` is not defined, the default sorting behavior of the Relationship field dropdown will be used.
|
||||
|
||||
### Filtering relationship options
|
||||
|
||||
Options can be dynamically limited by supplying a [query constraint](/docs/queries/overview), which will be used both
|
||||
for validating input and filtering available relationships in the UI.
|
||||
|
||||
The `filterOptions` property can either be a `Where` query, or a function returning `true` to not filter, `false` to
|
||||
prevent all, or a `Where` query. When using a function, it will be
|
||||
called with an argument object with the following properties:
|
||||
|
||||
| Property | Description |
|
||||
|---------------|--------------------------------------------------------------------------------------|
|
||||
| `relationTo` | The `relationTo` to filter against (as defined on the field) |
|
||||
| `data` | An object of the full collection or global document currently being edited |
|
||||
| `siblingData` | An object of the document data limited to fields within the same parent to the field |
|
||||
| `id` | The value of the collection `id`, will be `undefined` on create request |
|
||||
| `user` | The currently authenticated user object |
|
||||
|
||||
### Example
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'purchase',
|
||||
type: 'relationship',
|
||||
relationTo: ['products', 'services'],
|
||||
filterOptions: ({ relationTo, siblingData }) => {
|
||||
// returns a Where query dynamically by the type of relationship
|
||||
if (relationTo === 'products') {
|
||||
return {
|
||||
stock: { greater_than: siblingData.quantity },
|
||||
}
|
||||
}
|
||||
|
||||
if (relationTo === 'services') {
|
||||
return {
|
||||
isAvailable: { equals: true },
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
You can learn more about writing queries [here](/docs/queries/overview).
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
When a relationship field has both <strong>filterOptions</strong> and a custom{' '}
|
||||
<strong>validate</strong> function, the api will not validate <strong>filterOptions</strong>{' '}
|
||||
unless you call the default relationship field validation function imported from{' '}
|
||||
<strong>payload/fields/validations</strong> in your validate function.
|
||||
</Banner>
|
||||
|
||||
### How the data is saved
|
||||
|
||||
Given the variety of options possible within the `relationship` field type, the shape of the data needed for creating
|
||||
and updating these fields can vary. The following sections will describe the variety of data shapes that can arise from
|
||||
this field.
|
||||
|
||||
#### Has One
|
||||
|
||||
The most simple pattern of a relationship is to use `hasMany: false` with a `relationTo` that allows for only one type
|
||||
of collection.
|
||||
|
||||
```ts
|
||||
{
|
||||
slug: 'example-collection',
|
||||
fields
|
||||
:
|
||||
[
|
||||
{
|
||||
name: 'owner', // required
|
||||
type: 'relationship', // required
|
||||
relationTo: 'users', // required
|
||||
hasMany: false,
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The shape of the data to save for a document with the field configured this way would be:
|
||||
|
||||
```json
|
||||
{
|
||||
// ObjectID of the related user
|
||||
"owner": "6031ac9e1289176380734024"
|
||||
}
|
||||
```
|
||||
|
||||
When querying documents in this collection via REST API, you could query as follows:
|
||||
|
||||
`?where[owner][equals]=6031ac9e1289176380734024`.
|
||||
|
||||
#### Has One - Polymorphic
|
||||
|
||||
Also known as **dynamic references**, in this configuration, the `relationTo` field is an array of Collection slugs that
|
||||
tells Payload which Collections are valid to reference.
|
||||
|
||||
```ts
|
||||
{
|
||||
slug: 'example-collection',
|
||||
fields
|
||||
:
|
||||
[
|
||||
{
|
||||
name: 'owner', // required
|
||||
type: 'relationship', // required
|
||||
relationTo: ['users', 'organizations'], // required
|
||||
hasMany: false,
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The shape of the data to save for a document with more than one relationship type would be:
|
||||
|
||||
```json
|
||||
{
|
||||
"owner": {
|
||||
"relationTo": "organizations",
|
||||
"value": "6031ac9e1289176380734024"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Here is an example for how to query documents by this data (note the difference in referencing the `owner.value`):
|
||||
|
||||
`?where[owner.value][equals]=6031ac9e1289176380734024`.
|
||||
|
||||
You can also query for documents where a field has a relationship to a specific Collection:
|
||||
|
||||
`?where[owners.relationTo][equals]=organizations`.
|
||||
|
||||
This query would return only documents that have an owner relationship to organizations.
|
||||
|
||||
#### Has Many
|
||||
|
||||
The `hasMany` tells Payload that there may be more than one collection saved to the field.
|
||||
|
||||
```ts
|
||||
{
|
||||
slug: 'example-collection',
|
||||
fields
|
||||
:
|
||||
[
|
||||
{
|
||||
name: 'owners', // required
|
||||
type: 'relationship', // required
|
||||
relationTo: 'users', // required
|
||||
hasMany: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
To save the to `hasMany` relationship field we need to send an array of IDs:
|
||||
|
||||
```json
|
||||
{
|
||||
"owners": [
|
||||
"6031ac9e1289176380734024",
|
||||
"602c3c327b811235943ee12b"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
When querying documents, the format does not change for arrays:
|
||||
|
||||
`?where[owners][equals]=6031ac9e1289176380734024`.
|
||||
|
||||
#### Has Many - Polymorphic
|
||||
|
||||
```ts
|
||||
{
|
||||
slug: 'example-collection',
|
||||
fields
|
||||
:
|
||||
[
|
||||
{
|
||||
name: 'owners', // required
|
||||
type: 'relationship', // required
|
||||
relationTo: ['users', 'organizations'], // required
|
||||
hasMany: true,
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Relationship fields with `hasMany` set to more than one kind of collections save their data as an array of objects—each
|
||||
containing the Collection `slug` as the `relationTo` value, and the related document `id` for the `value`:
|
||||
|
||||
```json
|
||||
{
|
||||
"owners": [
|
||||
{
|
||||
"relationTo": "users",
|
||||
"value": "6031ac9e1289176380734024"
|
||||
},
|
||||
{
|
||||
"relationTo": "organizations",
|
||||
"value": "602c3c327b811235943ee12b"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Querying is done in the same way as the earlier Polymorphic example:
|
||||
|
||||
`?where[owners.value][equals]=6031ac9e1289176380734024`.
|
||||
|
||||
#### Querying and Filtering Polymorphic Relationships
|
||||
|
||||
Polymorphic and non-polymorphic relationships must be queried differently because of how the related data is stored and
|
||||
may be inconsistent across different collections. Because of this, filtering polymorphic relationship fields from the
|
||||
Collection List admin UI is limited to the `id` value.
|
||||
|
||||
For a polymorphic relationship, the response will always be an array of objects. Each object will contain
|
||||
the `relationTo` and `value` properties.
|
||||
|
||||
The data can be queried by the related document ID:
|
||||
|
||||
`?where[field.value][equals]=6031ac9e1289176380734024`.
|
||||
|
||||
Or by the related document Collection slug:
|
||||
|
||||
`?where[field.relationTo][equals]=your-collection-slug`.
|
||||
|
||||
However, you **cannot** query on any field values within the related document.
|
||||
Since we are referencing multiple collections, the field you are querying on may not exist and break the query.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
You <strong>cannot</strong> query on a field within a polymorphic relationship as you would with a non-polymorphic relationship.
|
||||
</Banner>
|
||||
70
docs/fields/rich-text.mdx
Normal file
70
docs/fields/rich-text.mdx
Normal file
@@ -0,0 +1,70 @@
|
||||
---
|
||||
title: Rich Text Field
|
||||
label: Rich Text
|
||||
order: 140
|
||||
desc: The Rich Text field allows dynamic content to be written through the Admin Panel. Learn how to use Rich Text fields, see examples and options.
|
||||
keywords: rich text, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Rich Text field is a powerful way to allow editors to write dynamic content. The content is
|
||||
saved as JSON in the database and can be converted into any format, including HTML, that you need.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/richtext.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/richtext-dark.png"
|
||||
alt="Shows a Rich Text field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Rich Text field"
|
||||
/>
|
||||
|
||||
Payload's rich text field is built on an "adapter pattern" which lets you specify which rich text editor you'd like to use.
|
||||
|
||||
Right now, Payload is officially supporting two rich text editors:
|
||||
|
||||
1. [SlateJS](/docs/rich-text/slate) - stable, backwards-compatible with 1.0
|
||||
2. [Lexical](/docs/rich-text/lexical) - beta, where things will be moving
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Consistent with Payload's goal of making you learn as little of Payload as possible, customizing and using the Rich Text Editor does not involve learning how to develop for a <em>Payload</em> rich text editor.</strong> Instead, you can invest your time and effort into learning the underlying open-source tools that will allow you to apply your learnings elsewhere as well.
|
||||
</Banner>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`editor`** | Override the rich text editor specified in your base configuration for this field. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Rich Text editor allows for the following admin properties:
|
||||
|
||||
**`placeholder`**
|
||||
|
||||
Set this property to define a placeholder string in the text input.
|
||||
|
||||
**`hideGutter`**
|
||||
|
||||
Set this property to `true` to hide this field's gutter within the admin panel. The field gutter is rendered as a vertical line and padding, but often if this field is nested within a Group, Block, or Array, you may want to hide the gutter.
|
||||
|
||||
**`rtl`**
|
||||
|
||||
Override the default text direction of the Admin panel for this field. Set to `true` to force right-to-left text direction.
|
||||
|
||||
### Editor-specific options
|
||||
|
||||
For a ton more editor-specific options, including how to build custom rich text elements directly into your editor, take a look at either the [Slate docs](/docs/rich-text/slate) or the [Lexical docs](/docs/rich-text/lexical) depending on which editor you're using.
|
||||
65
docs/fields/row.mdx
Normal file
65
docs/fields/row.mdx
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
title: Row Field
|
||||
label: Row
|
||||
order: 150
|
||||
desc: With the Row field you can arrange fields next to each other in the Admin Panel to help you customize your Dashboard.
|
||||
keywords: row, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Row field is presentational-only and only affects the Admin panel. By using it, you can
|
||||
arrange fields next to each other horizontally.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/row.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/row-dark.png"
|
||||
alt="Shows a row field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Row field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`fields`** \* | Array of field types to nest within this Row. |
|
||||
| **`admin`** | Admin-specific configuration excluding `description`, `readOnly`, and `hidden`. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
type: 'row', // required
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'label',
|
||||
type: 'text',
|
||||
required: true,
|
||||
admin: {
|
||||
width: '50%',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'value',
|
||||
type: 'text',
|
||||
required: true,
|
||||
admin: {
|
||||
width: '50%',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
182
docs/fields/select.mdx
Normal file
182
docs/fields/select.mdx
Normal file
@@ -0,0 +1,182 @@
|
||||
---
|
||||
title: Select Field
|
||||
label: Select
|
||||
order: 160
|
||||
desc: The Select field provides a dropdown-style interface for choosing options from a predefined list. Learn how to use Select fields, see examples and options.
|
||||
keywords: select, multi-select, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Select field provides a dropdown-style interface for choosing options from a predefined list
|
||||
as an enumeration.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/select.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/select-dark.png"
|
||||
alt="Shows a Select field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Select field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`options`** \* | Array of options to allow the field to store. Can either be an array of strings, or an array of objects containing a `label` string and a `value` string. |
|
||||
| **`hasMany`** | Boolean when, if set to `true`, allows this field to have many selections instead of only one. |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
Option values should be strings that do not contain hyphens or special characters due to GraphQL
|
||||
enumeration naming constraints. Underscores are allowed. If you determine you need your option
|
||||
values to be non-strings or contain special characters, they will be formatted accordingly before
|
||||
being used as a GraphQL enum.
|
||||
</Banner>
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Select field type also allows for the following admin-specific properties:
|
||||
|
||||
**`isClearable`**
|
||||
|
||||
Set to `true` if you'd like this field to be clearable within the Admin UI.
|
||||
|
||||
**`isSortable`**
|
||||
|
||||
Set to `true` if you'd like this field to be sortable within the Admin UI using drag and drop. (Only works when `hasMany` is set to `true`)
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'selectedFeatures', // required
|
||||
type: 'select', // required
|
||||
hasMany: true,
|
||||
admin: {
|
||||
isClearable: true,
|
||||
isSortable: true, // use mouse to drag and drop different values, and sort them according to your choice
|
||||
},
|
||||
options: [
|
||||
{
|
||||
label: 'Metallic Paint',
|
||||
value: 'metallic_paint',
|
||||
},
|
||||
{
|
||||
label: 'Alloy Wheels',
|
||||
value: 'alloy_wheels',
|
||||
},
|
||||
{
|
||||
label: 'Carbon Fiber Dashboard',
|
||||
value: 'carbon_fiber_dashboard',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Customization
|
||||
|
||||
The Select field UI component can be customized by providing a custom React component to the `components` object in the Base config.
|
||||
|
||||
```ts
|
||||
export const CustomSelectField: Field = {
|
||||
name: 'customSelectField',
|
||||
type: 'select', // or 'text' if you have dynamic options
|
||||
admin: {
|
||||
components: {
|
||||
Field: CustomSelectComponent({
|
||||
options: [
|
||||
{
|
||||
label: 'Option 1',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
label: 'Option 2',
|
||||
value: '2',
|
||||
},
|
||||
],
|
||||
}),
|
||||
},
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
You can import the existing Select component directly from Payload, then extend and customize it as needed.
|
||||
|
||||
```ts
|
||||
import * as React from 'react';
|
||||
import { SelectInput, useField } from 'payload/components/forms';
|
||||
import { useAuth } from 'payload/components/utilities';
|
||||
|
||||
type CustomSelectProps = {
|
||||
path: string;
|
||||
options: {
|
||||
label: string;
|
||||
value: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
export const CustomSelectComponent: React.FC<CustomSelectProps> = ({ path, options }) => {
|
||||
const { value, setValue } = useField<string>({ path })
|
||||
const { user } = useAuth()
|
||||
|
||||
const adjustedOptions = options.filter((option) => {
|
||||
/*
|
||||
A common use case for a custom select
|
||||
is to show different options based on
|
||||
the current user's role.
|
||||
*/
|
||||
return option;
|
||||
});
|
||||
|
||||
return (
|
||||
<div>
|
||||
<label className="field-label">
|
||||
Custom Select
|
||||
</label>
|
||||
<SelectInput
|
||||
path={path}
|
||||
name={path}
|
||||
options={adjustedOptions}
|
||||
value={value}
|
||||
onChange={(e) => setValue(e.value)}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
If you are looking to create a dynamic select field, the following tutorial will walk you through the process of creating a custom select field that fetches its options from an external API.
|
||||
|
||||
<VideoDrawer
|
||||
id='Efn9OxSjA6Y'
|
||||
label='How to Create a Custom Select Field'
|
||||
drawerTitle='How to Create a Custom Select Field: A Step-by-Step Guide'
|
||||
/>
|
||||
|
||||
If you want to learn more about custom components check out the [Admin > Custom Component](/docs/admin/components#field-component) docs.
|
||||
87
docs/fields/tabs.mdx
Normal file
87
docs/fields/tabs.mdx
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: Tabs Field
|
||||
label: Tabs
|
||||
order: 170
|
||||
desc: The Tabs field is a great way to organize complex editing experiences into specific tab-based areas.
|
||||
keywords: tabs, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Tabs field is presentational-only and only affects the Admin panel (unless a tab is named). By
|
||||
using it, you can place fields within a nice layout component that separates certain sub-fields by
|
||||
a tabbed interface.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/tabs.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/tabs-dark.png"
|
||||
alt="Shows a tabs field used to separate Hero and Page layout in the Payload admin panel"
|
||||
caption="Tabs field type used to separate Hero fields from Page Layout"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
||||
| **`tabs`** \* | Array of tabs to render within this Tabs field. |
|
||||
| **`admin`** | Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
#### Tab-specific Config
|
||||
|
||||
Each tab must have either a `name` or `label` and the required `fields` array. You can also optionally pass a `description` to render within each individual tab.
|
||||
|
||||
| Option | Description |
|
||||
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| **`name`** | Groups field data into an object when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | The label to render on the tab itself. Required when name is undefined, defaults to name converted to words. |
|
||||
| **`fields`** \* | The fields to render within this tab. |
|
||||
| **`description`** | Optionally render a description within this tab to describe the contents of the tab itself. |
|
||||
| **`interfaceName`** | Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). (`name` must be present) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
type: 'tabs', // required
|
||||
tabs: [
|
||||
// required
|
||||
{
|
||||
label: 'Tab One Label', // required
|
||||
description: 'This will appear within the tab above the fields.',
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'someTextField',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'tabTwo',
|
||||
label: 'Tab Two Label', // required
|
||||
interfaceName: 'TabTwo', // optional (`name` must be present)
|
||||
fields: [
|
||||
// required
|
||||
{
|
||||
name: 'numberField', // accessible via tabTwo.numberField
|
||||
type: 'number',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
79
docs/fields/text.mdx
Normal file
79
docs/fields/text.mdx
Normal file
@@ -0,0 +1,79 @@
|
||||
---
|
||||
title: Text Field
|
||||
label: Text
|
||||
order: 180
|
||||
desc: Text field types simply save a string to the database and provide the Admin panel with a text input. Learn how to use Text fields, see examples and options.
|
||||
keywords: text, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Text field type is one of the most commonly used fields. It saves a string to the database and
|
||||
provides the Admin panel with a simple text input.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/text.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/text-dark.png"
|
||||
alt="Shows a text field and read-only text field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Text field and read-only Text field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`minLength`** | Used by the default validation function to ensure values are of a minimum character length. |
|
||||
| **`maxLength`** | Used by the default validation function to ensure values are of a maximum character length. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
| **`hasMany`** | Makes this field an ordered array of text instead of just a single text. |
|
||||
| **`minRows`** | Minimum number of texts in the array, if `hasMany` is set to true. |
|
||||
| **`maxRows`** | Maximum number of texts in the array, if `hasMany` is set to true. |
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Text field type allows for the following `admin` properties:
|
||||
|
||||
**`placeholder`**
|
||||
|
||||
Set this property to define a placeholder string in the text input.
|
||||
|
||||
**`autoComplete`**
|
||||
|
||||
Set this property to a string that will be used for browser autocomplete.
|
||||
|
||||
**`rtl`**
|
||||
|
||||
Override the default text direction of the Admin panel for this field. Set to `true` to force right-to-left text direction.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'pageTitle', // required
|
||||
type: 'text', // required
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
77
docs/fields/textarea.mdx
Normal file
77
docs/fields/textarea.mdx
Normal file
@@ -0,0 +1,77 @@
|
||||
---
|
||||
title: Textarea Field
|
||||
label: Textarea
|
||||
order: 190
|
||||
desc: Textarea field types save a string to the database, similar to the Text field type but equipped for longer text. Learn how to use Textarea fields, see examples and options.
|
||||
keywords: textarea, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Textarea field is almost identical to the Text field but it features a slightly larger input
|
||||
that is better suited to edit longer text.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/textarea.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/textarea-dark.png"
|
||||
alt="Shows a textarea field and read-only textarea field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of a Textarea field and read-only Textarea field"
|
||||
/>
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`minLength`** | Used by the default validation function to ensure values are of a minimum character length. |
|
||||
| **`maxLength`** | Used by the default validation function to ensure values are of a maximum character length. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See below for [more detail](#admin-config). |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Admin config
|
||||
|
||||
In addition to the default [field admin config](/docs/fields/overview#admin-config), the Textarea field type allows for the following `admin` properties:
|
||||
|
||||
**`placeholder`**
|
||||
|
||||
Set this property to define a placeholder string in the textarea.
|
||||
|
||||
**`autoComplete`**
|
||||
|
||||
Set this property to a string that will be used for browser autocomplete.
|
||||
|
||||
**`rtl`**
|
||||
|
||||
Override the default text direction of the Admin panel for this field. Set to `true` to force right-to-left text direction.
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'metaDescription', // required
|
||||
type: 'textarea', // required
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
60
docs/fields/ui.mdx
Normal file
60
docs/fields/ui.mdx
Normal file
@@ -0,0 +1,60 @@
|
||||
---
|
||||
title: UI Field
|
||||
label: UI
|
||||
order: 200
|
||||
desc: UI fields are purely presentational and allow developers to customize the admin panel to a very fine degree, including adding actions and other functions.
|
||||
keywords: custom field, react component, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The UI (user interface) field gives you a ton of power to add your own React components directly
|
||||
into the Admin panel, nested directly within your other fields. It has absolutely no effect on the
|
||||
data of your documents. It is presentational-only.
|
||||
</Banner>
|
||||
|
||||
This field is helpful if you need to build in custom functionality via React components within the Admin panel. Think of it as a way for you to "plug in" your own React components directly within your other fields, so you can provide your editors with new controls exactly where you want them to go.
|
||||
|
||||
With this field, you can also inject custom `Cell` components that appear as additional columns within collections' List views.
|
||||
|
||||
**Example uses:**
|
||||
|
||||
- Add a custom message or block of text within the body of an Edit view to describe the purpose of surrounding fields
|
||||
- Add a "Refund" button to an Order's Edit view sidebar, which might make a fetch call to a custom `refund` endpoint
|
||||
- Add a "view page" button into a Pages List view to give editors a shortcut to view a page on the frontend of the site
|
||||
- Build a "clear cache" button or similar mechanism to manually clear caches of specific documents
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`name`** \* | A unique identifier for this field. |
|
||||
| **`label`** | Human-readable label for this UI field. |
|
||||
| **`admin.components.Field`** \* | React component to be rendered for this field within the Edit view. [More](/docs/admin/components/#field-component) |
|
||||
| **`admin.components.Cell`** | React component to be rendered as a Cell within collection List views. [More](/docs/admin/components/#field-component) |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'myCustomUIField', // required
|
||||
type: 'ui', // required
|
||||
admin: {
|
||||
components: {
|
||||
Field: MyCustomUIField,
|
||||
Cell: MyCustomUICell,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
118
docs/fields/upload.mdx
Normal file
118
docs/fields/upload.mdx
Normal file
@@ -0,0 +1,118 @@
|
||||
---
|
||||
title: Upload Field
|
||||
label: Upload
|
||||
order: 210
|
||||
desc: Upload fields will allow a file to be uploaded, only from a collection supporting Uploads. Learn how to use Upload fields, see examples and options.
|
||||
keywords: upload, images media, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner>
|
||||
The Upload field allows for the selection of a Document from a collection supporting Uploads, and
|
||||
formats the selection as a thumbnail in the Admin panel.
|
||||
</Banner>
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important:</strong>
|
||||
<br />
|
||||
To use this field, you need to have a Collection configured to allow Uploads. For more
|
||||
information, [click here](/docs/upload/overview) to read about how to enable Uploads on a
|
||||
collection by collection basis.
|
||||
</Banner>
|
||||
|
||||
<LightDarkImage
|
||||
srcLight="https://payloadcms.com/images/docs/fields/upload.png"
|
||||
srcDark="https://payloadcms.com/images/docs/fields/upload-dark.png"
|
||||
alt="Shows an upload field in the Payload admin panel"
|
||||
caption="Admin panel screenshot of an Upload field"
|
||||
/>
|
||||
|
||||
**Example uses:**
|
||||
|
||||
- To provide a `Page` with a featured image
|
||||
- To allow for a `Product` to deliver a downloadable asset like PDF or MP3
|
||||
- To give a layout building block the ability to feature a background image
|
||||
|
||||
### Config
|
||||
|
||||
| Option | Description |
|
||||
|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **`name`** \* | To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names) |
|
||||
| **`*relationTo`** \* | Provide a single collection `slug` to allow this field to accept a relation to. <strong>Note: the related collection must be configured to support Uploads.</strong> |
|
||||
| **`filterOptions`** | A query to filter which options appear in the UI and validate against. [More](#filtering-upload-options). |
|
||||
| **`maxDepth`** | Sets a number limit on iterations of related documents to populate when queried. [Depth](/docs/getting-started/concepts#depth) |
|
||||
| **`label`** | Text used as a field label in the Admin panel or an object with keys for each language. |
|
||||
| **`unique`** | Enforce that each entry in the Collection has a unique value for this field. |
|
||||
| **`validate`** | Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation) |
|
||||
| **`index`** | Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
|
||||
| **`saveToJWT`** | If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
|
||||
| **`hooks`** | Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks) |
|
||||
| **`access`** | Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control) |
|
||||
| **`hidden`** | Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
|
||||
| **`defaultValue`** | Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values) |
|
||||
| **`localized`** | Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
|
||||
| **`required`** | Require this field to have a value. |
|
||||
| **`admin`** | Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
|
||||
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
### Example
|
||||
|
||||
`collections/ExampleCollection.ts`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types'
|
||||
|
||||
export const ExampleCollection: CollectionConfig = {
|
||||
slug: 'example-collection',
|
||||
fields: [
|
||||
{
|
||||
name: 'backgroundImage', // required
|
||||
type: 'upload', // required
|
||||
relationTo: 'media', // required
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Filtering upload options
|
||||
|
||||
Options can be dynamically limited by supplying a [query constraint](/docs/queries/overview), which will be used both
|
||||
for validating input and filtering available uploads in the UI.
|
||||
|
||||
The `filterOptions` property can either be a `Where` query, or a function returning `true` to not filter, `false` to
|
||||
prevent all, or a `Where` query. When using a function, it will be
|
||||
called with an argument object with the following properties:
|
||||
|
||||
| Property | Description |
|
||||
|---------------|--------------------------------------------------------------------------------------|
|
||||
| `relationTo` | The `relationTo` to filter against (as defined on the field) |
|
||||
| `data` | An object of the full collection or global document currently being edited |
|
||||
| `siblingData` | An object of the document data limited to fields within the same parent to the field |
|
||||
| `id` | The value of the collection `id`, will be `undefined` on create request |
|
||||
| `user` | The currently authenticated user object |
|
||||
|
||||
**Example:**
|
||||
|
||||
```ts
|
||||
const uploadField = {
|
||||
name: 'image',
|
||||
type: 'upload',
|
||||
relationTo: 'media',
|
||||
filterOptions: {
|
||||
mimeType: { contains: 'image' },
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
You can learn more about writing queries [here](/docs/queries/overview).
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
When an upload field has both <strong>filterOptions</strong> and a custom{' '}
|
||||
<strong>validate</strong> function, the api will not validate <strong>filterOptions</strong>{' '}
|
||||
unless you call the default upload field validation function imported from{' '}
|
||||
<strong>payload/fields/validations</strong> in your validate function.
|
||||
</Banner>
|
||||
164
docs/getting-started/concepts.mdx
Normal file
164
docs/getting-started/concepts.mdx
Normal file
@@ -0,0 +1,164 @@
|
||||
---
|
||||
title: Payload Concepts
|
||||
label: Concepts
|
||||
order: 20
|
||||
desc: Payload is based around a small and intuitive set of concepts. Key concepts include collections, globals, fields and more.
|
||||
keywords: documentation, getting started, guide, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Payload is based around a small and intuitive set of concepts. Before starting to work with Payload, it's a good idea to familiarize yourself with the following:
|
||||
|
||||
### Config
|
||||
|
||||
<Banner type="info">The Payload config is where you configure everything that Payload does.</Banner>
|
||||
|
||||
By default, the Payload config lives in the root folder of your code and is named `payload.config.js` (`payload.config.ts` if you're using TypeScript), but you can customize its name and where you store it. You can write full functions and even full React components right into your config.
|
||||
|
||||
### Collections
|
||||
|
||||
<Banner type="info">
|
||||
A Collection represents a type of content that Payload will store and can contain many documents.
|
||||
</Banner>
|
||||
|
||||
Collections define the shape of your data as well as all functionalities attached to that data. They will contain one or many "documents", all corresponding with the same fields and functionalities that you define.
|
||||
|
||||
They can represent anything you can store in a database - for example - pages, posts, users, people, orders, categories, events, customers, transactions, and anything else your app needs.
|
||||
|
||||
### Globals
|
||||
|
||||
<Banner type="info">
|
||||
A Global is a "one-off" piece of content that is perfect for storing navigational structures,
|
||||
themes, top-level meta data, and more.
|
||||
</Banner>
|
||||
|
||||
Globals are in many ways similar to Collections, but there is only ever **one** instance of a Global, whereas Collections can contain many documents.
|
||||
|
||||
### Fields
|
||||
|
||||
<Banner type="info">
|
||||
Fields are the building blocks of Payload. Collections and Globals both use Fields to define the
|
||||
shape of the data that they store.
|
||||
</Banner>
|
||||
|
||||
Payload comes with [many different field types](../fields/overview) that give you a ton of flexibility while designing your API. Each Field type has its own potential properties that allow you to customize how they work.
|
||||
|
||||
### Hooks
|
||||
|
||||
<Banner type="info">
|
||||
Hooks are where you can "tie in" to existing Payload actions to perform your own additional logic
|
||||
or modify how Payload operates altogether.
|
||||
</Banner>
|
||||
|
||||
Hooks are an extremely powerful concept and are central to extending and customizing your app. Payload provides a wide variety of hooks which you can utilize. For example, imagine if you'd like to send an email every time a document is created in your Orders collection. To do so, you can add an `afterChange` hook function to your Orders collection that receives the Order data and allows you to send an email accordingly.
|
||||
|
||||
There are many more potential reasons to use Hooks. For more, visit the [Hooks documentation](/docs/hooks/overview).
|
||||
|
||||
### Access Control
|
||||
|
||||
<Banner type="info">
|
||||
Access Control refers to Payload's system of defining who can do what to your API.
|
||||
</Banner>
|
||||
|
||||
Access Control is extremely powerful but easy and intuitive to manage. You can easily define your own full-blown RBAC (role-based access control) or any other access control pattern that your scenario requires. No conventions or structure is forced on you whatsoever.
|
||||
|
||||
For more, visit the [Access Control documentation](/docs/access-control/overview).
|
||||
|
||||
### Depth
|
||||
|
||||
<Banner type="info">
|
||||
"Depth" gives you control over how many levels down related documents should be automatically
|
||||
populated when retrieved.
|
||||
</Banner>
|
||||
|
||||
You can specify population `depth` via query parameter in the REST API and by an option in the local API. _Depth has no effect in the GraphQL API, because there, depth is based on the shape of your queries._
|
||||
It is also possible to limit the depth for specific `relation` and `upload` fields using the `maxDepth` property in your configuration.
|
||||
**For example, let's look at the following Collections:** `departments`, `users`, `posts`
|
||||
|
||||
```
|
||||
// type: 'relationship' fields are equal to 1 depth level
|
||||
|
||||
{
|
||||
slug: 'posts',
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'author',
|
||||
label: 'Post Author',
|
||||
type: 'relationship',
|
||||
relationTo: 'users',
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
slug: 'users',
|
||||
fields: [
|
||||
{
|
||||
name: 'email',
|
||||
type: 'email',
|
||||
},
|
||||
{
|
||||
name: 'department'
|
||||
type: 'relationship',
|
||||
relationTo: 'departments'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
slug: 'departments',
|
||||
fields: [
|
||||
{
|
||||
name: 'name'
|
||||
type: 'text',
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
If you were to query the Posts endpoint at, say, `http://localhost:3000/api/posts?depth=1`, you will retrieve Posts with populations one level deep. This depth parameter can be thought of as N, where N is the number of levels you want to populate. To populate one level further, you would simply specify N+1 as the depth. A returned result may look like the following:
|
||||
|
||||
```
|
||||
// ?depth=1
|
||||
|
||||
{
|
||||
id: '5ae8f9bde69e394e717c8832',
|
||||
title: 'This post sucks',
|
||||
author: {
|
||||
id: '5f7dd05cd50d4005f8bcab17',
|
||||
email: 'spiderman@superheroes.gov',
|
||||
department: '5e3ca05cd50d4005f8bdab15'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Notice how the `user.author` is fully populated, but `user.author.department` is left as a document ID? That's because the User collection counted as the first level of `depth` and got populated—but then prevented any further populations from taking place.
|
||||
|
||||
To populate `user.author.department` in it's entirety you could specify `?depth=2` or _higher_.
|
||||
|
||||
```
|
||||
// ?depth=2
|
||||
|
||||
{
|
||||
id: '5ae8f9bde69e394e717c8832',
|
||||
title: 'This post sucks',
|
||||
author: {
|
||||
id: '5f7dd05cd50d4005f8bcab17',
|
||||
email: 'spiderman@superheroes.gov',
|
||||
department: {
|
||||
id: '5e3ca05cd50d4005f8bdab15',
|
||||
name: 'Marvel'
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Note:</strong>
|
||||
<br />
|
||||
When access control on collections prevents relationship fields from populating, the API response
|
||||
will contain the relationship id instead of the full document.
|
||||
</Banner>
|
||||
155
docs/getting-started/installation.mdx
Normal file
155
docs/getting-started/installation.mdx
Normal file
@@ -0,0 +1,155 @@
|
||||
---
|
||||
title: Installation
|
||||
label: Installation
|
||||
order: 30
|
||||
desc: To quickly get started with Payload, simply run npx create-payload-app or install from scratch.
|
||||
keywords: documentation, getting started, guide, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
#### Software Requirements
|
||||
|
||||
Payload requires the following software:
|
||||
|
||||
- Any JavaScript package manager (Yarn, NPM, or pnpm)
|
||||
- Node.js version 16+
|
||||
- Any [compatible database](/docs/database/overview) (MongoDB or Postgres)
|
||||
|
||||
<Banner type="warning">
|
||||
Before proceeding any further, please ensure that you have the above requirements met.
|
||||
</Banner>
|
||||
|
||||
## Quickstart with create-payload-app
|
||||
|
||||
To quickly scaffold a new Payload app in the fastest way possible, you can use [create-payload-app](https://npmjs.com/package/create-payload-app). To do so, run the following command:
|
||||
|
||||
```
|
||||
npx create-payload-app@latest
|
||||
```
|
||||
|
||||
Then just follow the prompts! You'll get set up with a new folder and a functioning Payload app inside.
|
||||
|
||||
## Adding to an existing app
|
||||
|
||||
Adding Payload to either a new or existing TypeScript + Express app is super straightforward. To add to an existing app, just run `npm install --save --legacy-peer-deps payload`.
|
||||
|
||||
From there, the first step is writing a baseline config. Create a new `payload.config.ts` in your project's `/src` directory (or whatever your root TS dir is). The simplest config contains the following:
|
||||
|
||||
```js
|
||||
import { buildConfig } from 'payload/config'
|
||||
|
||||
export default buildConfig({
|
||||
// By default, Payload will boot up normally
|
||||
// and you will be provided with a base `User` collection.
|
||||
// But, here is where you define how you'd like Payload to work!
|
||||
})
|
||||
```
|
||||
|
||||
Write the above code into your newly created config file. This baseline config will automatically provide you with a default `User` collection. For more information about users and authentication, including how to provide your own user config, jump to the [Authentication](/docs/authentication/config) section.
|
||||
|
||||
Although this is just the bare minimum config, there are _many_ more options that you can control here. To reference the full config and all of its options, [click here](/docs/configuration/overview).
|
||||
|
||||
### Server
|
||||
|
||||
Now that you've got a baseline Payload config, it's time to initialize Payload. It requires an Express server that you provide, so if you're not familiar with how to set up a baseline Express server, please read up on exactly what Express is and why to use it. Express' own [Documentation](https://expressjs.com/en/starter/hello-world.html) is a good place to start. Otherwise, follow along below for how to build your own Express server to use with Payload.
|
||||
|
||||
1. Run `npm install --save --legacy-peer-deps express` if you have not done so already
|
||||
1. Create a new `server.ts` file in the root directory of your app
|
||||
1. Add the following code to `server.ts`:
|
||||
|
||||
```ts
|
||||
import express from 'express'
|
||||
|
||||
const app = express()
|
||||
|
||||
app.listen(3000, async () => {
|
||||
console.log(
|
||||
"Express is now listening for incoming connections on port 3000."
|
||||
)
|
||||
})
|
||||
```
|
||||
|
||||
This server doesn't do anything just yet. But, after you have this in place, we can initialize Payload via its asynchronous `init()` method, which accepts a small set of arguments to tell it how to operate.
|
||||
|
||||
To initialize Payload, update your `server.ts` file to reflect the following code:
|
||||
|
||||
```ts
|
||||
import express from 'express'
|
||||
import payload from 'payload'
|
||||
|
||||
require('dotenv').config()
|
||||
const app = express()
|
||||
|
||||
const start = async () => {
|
||||
await payload.init({
|
||||
secret: process.env.PAYLOAD_SECRET,
|
||||
express: app,
|
||||
})
|
||||
|
||||
app.listen(3000, async () => {
|
||||
console.log(
|
||||
"Express is now listening for incoming connections on port 3000."
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
start()
|
||||
```
|
||||
|
||||
A quick reminder: in this configuration, we're making use of environmental variables, `process.env.PAYLOAD_SECRET`. Often, it's smart to store these values in an `.env` file at the root of your directory and set different values for each of your environments (local, stage, prod, etc). The `dotenv` package is very handy and works well alongside of Payload. A typical `.env` file will look like this:
|
||||
|
||||
```
|
||||
DATABASE_URI=mongodb://127.0.0.1/your-payload-app
|
||||
PAYLOAD_SECRET=your-payload-secret
|
||||
```
|
||||
|
||||
Here is a list of all properties available to pass through `payload.init`:
|
||||
|
||||
##### secret
|
||||
**Required**. This is a secure string that will be used to authenticate with Payload. It can be random but should be at least 14 characters and be very difficult to guess.
|
||||
|
||||
Payload uses this secret key to generate secure user tokens (JWT). Behind the scenes, we do not use your secret key to encrypt directly - instead, we first take the secret key and create an encrypted string using the SHA-256 hash function. Then, we reduce the encrypted string to its first 32 characters. This final value is what Payload uses for encryption.
|
||||
|
||||
##### config
|
||||
|
||||
Allows you to pass your config directly to the onInit function. The config passed here should match the payload.config file.
|
||||
|
||||
##### disableOnInit
|
||||
|
||||
A boolean that disables running your `onInit` function when Payload starts up.
|
||||
|
||||
##### disableDBConnect
|
||||
|
||||
A boolean that disables the database connection when Payload starts up.
|
||||
|
||||
##### email
|
||||
|
||||
An object used to configure SMTP. [Read more](/docs/email/overview).
|
||||
|
||||
##### express
|
||||
This is your Express app as shown above. Payload will tie into your existing `app` and scope all of its functionalities to sub-routers. By default, Payload will add an `/admin` router and an `/api` router, but you can customize these paths.
|
||||
|
||||
##### local
|
||||
|
||||
A boolean that when set to `true` tells Payload to start in local-only mode which will bypass setting up API routes. When set to `true`, `express` is not required. This is useful when running scripts that need to use Payload's [local-api](/docs/local-api/overview).
|
||||
|
||||
##### loggerDestination
|
||||
|
||||
Specify destination stream for the built-in Pino logger that Payload uses for internal logging. See [Pino Docs](https://getpino.io/#/docs/api?id=pino-destination) for more info on what is available.
|
||||
|
||||
##### loggerOptions
|
||||
|
||||
Specify options for the built-in Pino logger that Payload uses for internal logging. See [Pino Docs](https://getpino.io/#/docs/api?id=options) for more info on what is available.
|
||||
|
||||
##### onInit
|
||||
|
||||
A function that is called immediately following startup that receives the Payload instance as it's only argument.
|
||||
|
||||
### Test it out
|
||||
|
||||
After you've gotten this far, it's time to boot up Payload. Start your project in your application's folder to get going.
|
||||
|
||||
After it starts, you can go to `http://localhost:3000/admin` to create your first Payload user!
|
||||
|
||||
### Docker
|
||||
|
||||
Looking to deploy Payload with Docker? New projects with `create-payload-app` come with a Dockerfile and docker-compose.yml file ready to go. Examples of these files can be seen in our [Deployment docs](/docs/production/deployment#docker).
|
||||
65
docs/getting-started/what-is-payload.mdx
Normal file
65
docs/getting-started/what-is-payload.mdx
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
title: What is Payload?
|
||||
label: What is Payload?
|
||||
order: 10
|
||||
desc: Payload is a next-gen headless Content Management System (CMS) and application framework.
|
||||
keywords: documentation, getting started, guide, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<YouTube
|
||||
id="In_lFhzmbME"
|
||||
title="Payload Introduction - Closing the Gap Between Headless CMS and Application Frameworks"
|
||||
/>
|
||||
|
||||
Payload is a headless CMS and application framework. It's meant to provide a massive boost to your
|
||||
development process, but importantly, stay out of your way as your apps get more complex.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Payload 2.0 has been released!</strong>
|
||||
<br />
|
||||
Includes Postgres support, Live Preview, Lexical Editor, and more. <a href="/blog/payload-2-0">Read the announcement</a>.
|
||||
</Banner>
|
||||
|
||||
Out of the box, Payload gives you a lot of the things that you often need when developing a new website, web app, or native app:
|
||||
|
||||
- A database to store your data (Postgres and MongoDB supported)
|
||||
- A way to store, retrieve, and manipulate data of any shape via full REST and GraphQL APIs
|
||||
- Authentication—complete with commonly required functionality like registration, email verification, login, & password reset
|
||||
- Deep access control to your data, based on document or field-level functions
|
||||
- File storage and access control
|
||||
- A beautiful admin UI that's generated specifically to suit your data
|
||||
|
||||
## What does "headless" mean?
|
||||
|
||||
A headless CMS is a system that sticks to what it's good at—managing content. It concentrates solely on granting administrators an effective way to author and maintain content, but doesn't control how and where that content is used.
|
||||
|
||||
In this way, the CMS can ensure that its content editing experience is highly polished and effective while avoiding placing creative constraints on designers or restricting development teams. In contrast, traditional content management systems bind the presentation of your content to the storage of your content and severely limit the creativity, development and usability of the content that they manage.
|
||||
|
||||
At this point this concept is [widely](https://en.wikipedia.org/wiki/Headless_content_management_system) [discussed](https://css-tricks.com/what-is-a-headless-cms/) online, and for good reason. The web has become more complicated and with complexity comes the demand for developers to better structure their code. The rise of interface libraries like React and Vue are now the de-facto standard for building modern applications and traditional content management systems are often not designed to make use of them.
|
||||
|
||||
### Why Payload?
|
||||
|
||||
The team behind Payload has been building websites and apps with existing content management systems and application frameworks for over a decade. We know what works and what doesn't about each of the existing solutions, and to this day have found no silver bullet solution.
|
||||
|
||||
**We believe that a CMS should be:**
|
||||
|
||||
- Cost-effective and should save time and effort
|
||||
- Intuitive for developers and content authors alike
|
||||
- Self-hosted however and wherever the application specifies
|
||||
- Designed in code but used with no coding experience
|
||||
- Blazing fast
|
||||
- Secure
|
||||
- Fully flexible and extensible
|
||||
|
||||
Payload is our silver bullet solution. We've blended the best parts of our experience with other CMS and app frameworks into Payload, and we finally have everything we need when we build new apps and websites:
|
||||
|
||||
- A beautiful, dynamic, customizable admin UI
|
||||
- Extensible and reusable authentication
|
||||
- Content localization
|
||||
- Local file storage
|
||||
- Extremely flexible access control
|
||||
- Field conditional logic
|
||||
- Block-based layout building
|
||||
- Array field type(s)
|
||||
- Security
|
||||
- and much more
|
||||
156
docs/graphql/extending.mdx
Normal file
156
docs/graphql/extending.mdx
Normal file
@@ -0,0 +1,156 @@
|
||||
---
|
||||
title: Adding your own Queries and Mutations
|
||||
label: Custom Queries and Mutations
|
||||
order: 20
|
||||
desc: Payload allows you to add your own GraphQL queries and mutations, simply set up GraphQL in your main Payload config by following these instructions.
|
||||
keywords: graphql, resolvers, mutations, custom, queries, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
You can add your own GraphQL queries and mutations to Payload, making use of all the types that Payload has defined for you.
|
||||
|
||||
To do so, add your queries and mutations to the main Payload config as follows:
|
||||
|
||||
| Config Path | Description |
|
||||
| ------------------- | --------------------------------------------------------------------------- |
|
||||
| `graphQL.queries` | Function that returns an object containing keys to custom GraphQL queries |
|
||||
| `graphQL.mutations` | Function that returns an object containing keys to custom GraphQL mutations |
|
||||
|
||||
The above properties each receive a function that is defined with the following arguments:
|
||||
|
||||
**`GraphQL`**
|
||||
|
||||
This is Payload's GraphQL dependency. You should not install your own copy of GraphQL as a dependency due to underlying restrictions based on how GraphQL works. Instead, you can use the Payload-provided copy via this argument.
|
||||
|
||||
**`payload`**
|
||||
|
||||
This is a copy of the currently running Payload instance, which provides you with existing GraphQL types for all of your Collections and Globals - among other things.
|
||||
|
||||
##### Return value
|
||||
|
||||
Both `graphQL.queries` and `graphQL.mutations` functions should return an object with properties equal to your newly written GraphQL queries and mutations.
|
||||
|
||||
### Example
|
||||
|
||||
`payload.config.js`:
|
||||
|
||||
```ts
|
||||
import { buildConfig } from 'payload/config'
|
||||
import myCustomQueryResolver from './graphQL/resolvers/myCustomQueryResolver'
|
||||
|
||||
export default buildConfig({
|
||||
graphQL: {
|
||||
// highlight-start
|
||||
queries: (GraphQL, payload) => {
|
||||
return {
|
||||
MyCustomQuery: {
|
||||
type: new GraphQL.GraphQLObjectType({
|
||||
name: 'MyCustomQuery',
|
||||
fields: {
|
||||
text: {
|
||||
type: GraphQL.GraphQLString,
|
||||
},
|
||||
someNumberField: {
|
||||
type: GraphQL.GraphQLFloat,
|
||||
},
|
||||
},
|
||||
}),
|
||||
args: {
|
||||
argNameHere: {
|
||||
type: new GraphQL.GraphQLNonNull(GraphQLString),
|
||||
},
|
||||
},
|
||||
resolve: myCustomQueryResolver,
|
||||
},
|
||||
}
|
||||
},
|
||||
// highlight-end
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
### Resolver function
|
||||
|
||||
In your resolver, make sure you set `depth: 0` if you're returning data directly from the local API so that GraphQL can correctly resolve queries to nested values such as relationship data.
|
||||
|
||||
Your function will receive four arguments you can make use of:
|
||||
|
||||
Example
|
||||
|
||||
```ts
|
||||
;async (obj, args, context, info) => {}
|
||||
```
|
||||
|
||||
**`obj`**
|
||||
|
||||
The previous object. Not very often used and usually discarded.
|
||||
|
||||
**`args`**
|
||||
|
||||
The available arguments from your query or mutation will be available to you here, these must be configured via the custom operation first.
|
||||
|
||||
**`context`**
|
||||
|
||||
An object containing the `req` and `res` objects that will provide you with the `payload`, `user` instances and more, like any other Payload API handler.
|
||||
|
||||
**`info`**
|
||||
|
||||
Contextual information about the currently running GraphQL operation. You can get schema information from this as well as contextual information about where this resolver function is being run.
|
||||
|
||||
### Types
|
||||
|
||||
We've exposed a few types and utilities to help you extend the API further. Payload uses the GraphQL.js package for which you can view the full list of available types in the [official documentation](https://graphql.org/graphql-js/type/).
|
||||
|
||||
**`GraphQL`**
|
||||
|
||||
You can directly import the GraphQL package used by Payload, most useful for typing. For queries, mutations and handlers make sure you use the `GraphQL` and `payload` instances provided via arguments.
|
||||
|
||||
**`buildPaginatedListType`**
|
||||
|
||||
This is a utility function that allows you to build a new GraphQL type for a paginated result similar to the Payload's generated schema.
|
||||
It takes in two arguments, the first for the name of this new schema type and the second for the GraphQL type to be used in the docs parameter.
|
||||
|
||||
Example
|
||||
|
||||
```ts
|
||||
export const getMyPosts = (GraphQL, payload) => {
|
||||
return {
|
||||
args: {},
|
||||
resolve: Resolver,
|
||||
// The name of your new type has to be unique
|
||||
type: buildPaginatedListType('AuthorPosts', payload.collections['posts'].graphQL?.type),
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**`payload.collections.slug.graphQL`**
|
||||
|
||||
If you want to extend more of the provided API then the `graphQL` object on your collection slug will contain additional types to help you re-use code for types, mutations and queries.
|
||||
|
||||
```ts
|
||||
graphQL?: {
|
||||
type: GraphQLObjectType
|
||||
paginatedType: GraphQLObjectType
|
||||
JWT: GraphQLObjectType
|
||||
versionType: GraphQLObjectType
|
||||
whereInputType: GraphQLInputObjectType
|
||||
mutationInputType: GraphQLNonNull<any>
|
||||
updateMutationInputType: GraphQLNonNull<any>
|
||||
}
|
||||
```
|
||||
|
||||
### Best practices
|
||||
|
||||
There are a few ways to structure your code, we recommend using a dedicated `graphql` directory so you can keep all of your logic in one place. You have total freedom of how you want to structure this but a common pattern is to group functions by type and with their resolver.
|
||||
|
||||
Example
|
||||
|
||||
```
|
||||
src/graphql
|
||||
---- queries/
|
||||
index.ts
|
||||
-- myCustomQuery/
|
||||
index.ts
|
||||
resolver.ts
|
||||
|
||||
---- mutations/
|
||||
```
|
||||
92
docs/graphql/graphql-schema.mdx
Normal file
92
docs/graphql/graphql-schema.mdx
Normal file
@@ -0,0 +1,92 @@
|
||||
---
|
||||
title: GraphQL Schema
|
||||
label: GraphQL Schema
|
||||
order: 30
|
||||
desc: Output your own GraphQL schema based on your collections and globals to a file.
|
||||
keywords: headless cms, typescript, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
When working with GraphQL it is useful to have the schema for development of other projects that need to call on your GraphQL endpoint. In Payload the schema is controlled by your collections and globals and is made available to the developer or third parties, it is not necessary for developers using Payload to write schema types manually.
|
||||
|
||||
### Schema generation script
|
||||
|
||||
Run the following command in a Payload project to generate your project's GraphQL schema from Payload:
|
||||
|
||||
```
|
||||
payload generate:graphQLSchema
|
||||
```
|
||||
|
||||
You can run this command whenever you need to regenerate your GraphQL schema and output it to a file, and then you can use the schema for writing your own GraphQL elsewhere in other projects.
|
||||
|
||||
### Custom output file path
|
||||
|
||||
```js
|
||||
{
|
||||
// the remainder of your config
|
||||
graphQL: {
|
||||
schemaOutputFile: path.resolve(__dirname, './graphql/schema.graphql'),
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Custom Field Schemas
|
||||
|
||||
For `array`, `block`, `group` and named `tab` fields, you can generate top level reusable interfaces. The following group field config:
|
||||
|
||||
```ts
|
||||
{
|
||||
type: 'group',
|
||||
name: 'meta',
|
||||
interfaceName: 'SharedMeta', <-- here!!
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
will generate:
|
||||
|
||||
```ts
|
||||
// a top level reusable type!!
|
||||
type SharedMeta {
|
||||
title: String
|
||||
description: String
|
||||
}
|
||||
|
||||
// example usage inside collection schema
|
||||
type Collection1 {
|
||||
// ...other fields
|
||||
meta: SharedMeta
|
||||
}
|
||||
```
|
||||
|
||||
The above example outputs all your definitions to a file relative from your payload config as `./graphql/schema.graphql`. By default, the file will be output to your current working directory as `schema.graphql`.
|
||||
|
||||
#### Adding an NPM script
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important</strong>
|
||||
<br />
|
||||
Payload needs to be able to find your config to generate your GraphQL schema.
|
||||
</Banner>
|
||||
|
||||
Payload will automatically try and locate your config, but might not always be able to find it. For example, if you are working in a `/src` directory or similar, you need to tell Payload where to find your config manually by using an environment variable. If this applies to you, you can create an NPM script to make generating your types easier.
|
||||
|
||||
To add an NPM script to generate your types and show Payload where to find your config, open your `package.json` and update the `scripts` property to the following:
|
||||
|
||||
```json
|
||||
{
|
||||
"scripts": {
|
||||
"generate:graphQLSchema": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Now you can run `yarn generate:graphQLSchema` to easily generate your schema.
|
||||
129
docs/graphql/overview.mdx
Normal file
129
docs/graphql/overview.mdx
Normal file
@@ -0,0 +1,129 @@
|
||||
---
|
||||
title: GraphQL Overview
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Payload ships with a fully featured and extensible GraphQL API, which can be used in addition to the REST and Local APIs to give you more flexibility.
|
||||
keywords: graphql, resolvers, mutations, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
In addition to its REST and Local APIs, Payload ships with a fully featured and extensible GraphQL API.
|
||||
|
||||
By default, the GraphQL API is exposed via `/api/graphql`, but you can customize this URL via specifying your `routes` within the main Payload config.
|
||||
|
||||
The labels you provide for your Collections and Globals are used to name the GraphQL types that are created to correspond to your config. Special characters and spaces are removed.
|
||||
|
||||
## GraphQL Options
|
||||
|
||||
At the top of your Payload config you can define all the options to manage GraphQL.
|
||||
|
||||
| Option | Description |
|
||||
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `mutations` | Any custom Mutations to be added in addition to what Payload provides. [More](/docs/graphql/extending) |
|
||||
| `queries` | Any custom Queries to be added in addition to what Payload provides. [More](/docs/graphql/extending) |
|
||||
| `maxComplexity` | A number used to set the maximum allowed complexity allowed by requests [More](/docs/graphql/overview#query-complexity-limits) |
|
||||
| `disablePlaygroundInProduction` | A boolean that if false will enable the GraphQL playground, defaults to true. [More](/docs/graphql/overview#graphql-playground) |
|
||||
| `disable` | A boolean that if true will disable the GraphQL entirely, defaults to false. |
|
||||
| `schemaOutputFile` | A string for the file path used by the generate schema command. Defaults to `graphql.schema` next to `payload.config.ts` [More](/docs/graphql/graphql-schema) |
|
||||
|
||||
## Collections
|
||||
|
||||
Everything that can be done to a Collection via the REST or Local API can be done with GraphQL (outside of uploading files, which is REST-only). If you have a collection as follows:
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types';
|
||||
|
||||
export const PublicUser: CollectionConfig = {
|
||||
slug: 'public-users',
|
||||
auth: true, // Auth is enabled
|
||||
fields: [
|
||||
...
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
**Payload will automatically open up the following queries:**
|
||||
|
||||
| Query Name | Operation |
|
||||
| ------------------ | ------------------- |
|
||||
| **`PublicUser`** | `findByID` |
|
||||
| **`PublicUsers`** | `find` |
|
||||
| **`mePublicUser`** | `me` auth operation |
|
||||
|
||||
**And the following mutations:**
|
||||
|
||||
| Query Name | Operation |
|
||||
| ------------------------------ | ------------------------------- |
|
||||
| **`createPublicUser`** | `create` |
|
||||
| **`updatePublicUser`** | `update` |
|
||||
| **`deletePublicUser`** | `delete` |
|
||||
| **`forgotPasswordPublicUser`** | `forgotPassword` auth operation |
|
||||
| **`resetPasswordPublicUser`** | `resetPassword` auth operation |
|
||||
| **`unlockPublicUser`** | `unlock` auth operation |
|
||||
| **`verifyPublicUser`** | `verify` auth operation |
|
||||
| **`loginPublicUser`** | `login` auth operation |
|
||||
| **`logoutPublicUser`** | `logout` auth operation |
|
||||
| **`refreshTokenPublicUser`** | `refresh` auth operation |
|
||||
|
||||
## Globals
|
||||
|
||||
Globals are also fully supported. For example:
|
||||
|
||||
```ts
|
||||
import { GlobalConfig } from 'payload/types';
|
||||
|
||||
const Header: GlobalConfig = {
|
||||
slug: 'header',
|
||||
fields: [
|
||||
...
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
**Payload will open the following query:**
|
||||
|
||||
| Query Name | Operation |
|
||||
| ------------ | --------- |
|
||||
| **`Header`** | `findOne` |
|
||||
|
||||
**And the following mutation:**
|
||||
|
||||
| Query Name | Operation |
|
||||
| ------------------ | --------- |
|
||||
| **`updateHeader`** | `update` |
|
||||
|
||||
## Preferences
|
||||
|
||||
User [preferences](/docs/admin/overview#preferences) for the admin panel are also available to GraphQL the same way as other collection schemas are generated. To query preferences you must supply an authorization token in the header and only the preferences of that user will be accessible.
|
||||
|
||||
**Payload will open the following query:**
|
||||
|
||||
| Query Name | Operation |
|
||||
| ---------------- | --------- |
|
||||
| **`Preference`** | `findOne` |
|
||||
|
||||
**And the following mutations:**
|
||||
|
||||
| Query Name | Operation |
|
||||
| ---------------------- | --------- |
|
||||
| **`updatePreference`** | `update` |
|
||||
| **`deletePreference`** | `delete` |
|
||||
|
||||
## GraphQL Playground
|
||||
|
||||
GraphQL Playground is enabled by default for development purposes, but disabled in production. You can enable it in production by passing `graphQL.disablePlaygroundInProduction` a `false` setting in the main Payload config.
|
||||
|
||||
You can even log in using the `login[collection-singular-label-here]` mutation to use the Playground as an authenticated user.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
To see more regarding how the above queries and mutations are used, visit your GraphQL playground
|
||||
(by default at
|
||||
[http://localhost:3000/api/graphql-playground](http://localhost:3000/api/graphql-playground))
|
||||
while your server is running. There, you can use the "Schema" and "Docs" buttons on the right to
|
||||
see a ton of detail about how GraphQL operates within Payload.
|
||||
</Banner>
|
||||
|
||||
## Query complexity limits
|
||||
|
||||
Payload comes with a built-in query complexity limiter to prevent bad people from trying to slow down your server by running massive queries. To learn more, [click here](/docs/production/preventing-abuse#limiting-graphql-complexity).
|
||||
325
docs/hooks/collections.mdx
Normal file
325
docs/hooks/collections.mdx
Normal file
@@ -0,0 +1,325 @@
|
||||
---
|
||||
title: Collection Hooks
|
||||
label: Collections
|
||||
order: 20
|
||||
desc: You can add hooks to any Collection, several hook types are available including beforeChange, afterRead, afterDelete and more.
|
||||
keywords: hooks, collections, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Collections feature the ability to define the following hooks:
|
||||
|
||||
- [beforeOperation](#beforeoperation)
|
||||
- [beforeValidate](#beforevalidate)
|
||||
- [beforeChange](#beforechange)
|
||||
- [afterChange](#afterchange)
|
||||
- [beforeRead](#beforeread)
|
||||
- [afterRead](#afterread)
|
||||
- [beforeDelete](#beforedelete)
|
||||
- [afterDelete](#afterdelete)
|
||||
- [afterOperation](#afteroperation)
|
||||
|
||||
Additionally, `auth`-enabled collections feature the following hooks:
|
||||
|
||||
- [beforeLogin](#beforelogin)
|
||||
- [afterLogin](#afterlogin)
|
||||
- [afterLogout](#afterlogout)
|
||||
- [afterRefresh](#afterrefresh)
|
||||
- [afterMe](#afterme)
|
||||
- [afterForgotPassword](#afterforgotpassword)
|
||||
|
||||
## Config
|
||||
|
||||
All collection Hook properties accept arrays of synchronous or asynchronous functions. Each Hook type receives specific arguments and has the ability to modify specific outputs.
|
||||
|
||||
`collections/exampleHooks.js`
|
||||
|
||||
```ts
|
||||
import { CollectionConfig } from 'payload/types';
|
||||
|
||||
export const ExampleHooks: CollectionConfig = {
|
||||
slug: 'example-hooks',
|
||||
fields: [
|
||||
{ name: 'name', type: 'text'},
|
||||
],
|
||||
hooks: {
|
||||
beforeOperation: [(args) => {...}],
|
||||
beforeValidate: [(args) => {...}],
|
||||
beforeDelete: [(args) => {...}],
|
||||
beforeChange: [(args) => {...}],
|
||||
beforeRead: [(args) => {...}],
|
||||
afterChange: [(args) => {...}],
|
||||
afterRead: [(args) => {...}],
|
||||
afterDelete: [(args) => {...}],
|
||||
afterOperation: [(args) => {...}],
|
||||
|
||||
// Auth-enabled hooks
|
||||
beforeLogin: [(args) => {...}],
|
||||
afterLogin: [(args) => {...}],
|
||||
afterLogout: [(args) => {...}],
|
||||
afterRefresh: [(args) => {...}],
|
||||
afterMe: [(args) => {...}],
|
||||
afterForgotPassword: [(args) => {...}],
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### beforeOperation
|
||||
|
||||
The `beforeOperation` hook can be used to modify the arguments that operations accept or execute side-effects that run before an operation begins.
|
||||
|
||||
Available Collection operations include `create`, `read`, `update`, `delete`, `login`, `refresh`, and `forgotPassword`.
|
||||
|
||||
```ts
|
||||
import { CollectionBeforeOperationHook } from 'payload/types'
|
||||
|
||||
const beforeOperationHook: CollectionBeforeOperationHook = async ({
|
||||
args, // original arguments passed into the operation
|
||||
operation, // name of the operation
|
||||
req, // full express request
|
||||
}) => {
|
||||
return args // return modified operation arguments as necessary
|
||||
}
|
||||
```
|
||||
|
||||
### beforeValidate
|
||||
|
||||
Runs before the `create` and `update` operations. This hook allows you to add or format data before the incoming data is validated server-side.
|
||||
|
||||
Please do note that this does not run before the client-side validation. If you added a `validate` function, this would be the lifecycle:
|
||||
|
||||
1. `validate` runs on the client
|
||||
2. if successful, `beforeValidate` runs on the server
|
||||
3. `validate` runs on the server
|
||||
|
||||
```ts
|
||||
import { CollectionBeforeValidateHook } from 'payload/types'
|
||||
|
||||
const beforeValidateHook: CollectionBeforeValidateHook = async ({
|
||||
data, // incoming data to update or create with
|
||||
req, // full express request
|
||||
operation, // name of the operation ie. 'create', 'update'
|
||||
originalDoc, // original document
|
||||
}) => {
|
||||
return data // Return data to either create or update a document with
|
||||
}
|
||||
```
|
||||
|
||||
### beforeChange
|
||||
|
||||
Immediately following validation, `beforeChange` hooks will run within `create` and `update` operations. At this stage, you can be confident that the data that will be saved to the document is valid in accordance to your field validations. You can optionally modify the shape of data to be saved.
|
||||
|
||||
```ts
|
||||
import { CollectionBeforeChangeHook } from 'payload/types'
|
||||
|
||||
const beforeChangeHook: CollectionBeforeChangeHook = async ({
|
||||
data, // incoming data to update or create with
|
||||
req, // full express request
|
||||
operation, // name of the operation ie. 'create', 'update'
|
||||
originalDoc, // original document
|
||||
}) => {
|
||||
return data // Return data to either create or update a document with
|
||||
}
|
||||
```
|
||||
|
||||
### afterChange
|
||||
|
||||
After a document is created or updated, the `afterChange` hook runs. This hook is helpful to recalculate statistics such as total sales within a global, syncing user profile changes to a CRM, and more.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterChangeHook } from 'payload/types'
|
||||
|
||||
const afterChangeHook: CollectionAfterChangeHook = async ({
|
||||
doc, // full document data
|
||||
req, // full express request
|
||||
previousDoc, // document data before updating the collection
|
||||
operation, // name of the operation ie. 'create', 'update'
|
||||
}) => {
|
||||
return doc
|
||||
}
|
||||
```
|
||||
|
||||
### beforeRead
|
||||
|
||||
Runs before `find` and `findByID` operations are transformed for output by `afterRead`. This hook fires before hidden fields are removed and before localized fields are flattened into the requested locale. Using this Hook will provide you with all locales and all hidden fields via the `doc` argument.
|
||||
|
||||
```ts
|
||||
import { CollectionBeforeReadHook } from 'payload/types'
|
||||
|
||||
const beforeReadHook: CollectionBeforeReadHook = async ({
|
||||
doc, // full document data
|
||||
req, // full express request
|
||||
query, // JSON formatted query
|
||||
}) => {
|
||||
return doc
|
||||
}
|
||||
```
|
||||
|
||||
### afterRead
|
||||
|
||||
Runs as the last step before documents are returned. Flattens locales, hides protected fields, and removes fields that users do not have access to.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterReadHook } from 'payload/types'
|
||||
|
||||
const afterReadHook: CollectionAfterReadHook = async ({
|
||||
doc, // full document data
|
||||
req, // full express request
|
||||
query, // JSON formatted query
|
||||
findMany, // boolean to denote if this hook is running against finding one, or finding many
|
||||
}) => {
|
||||
return doc
|
||||
}
|
||||
```
|
||||
|
||||
### beforeDelete
|
||||
|
||||
Runs before the `delete` operation. Returned values are discarded.
|
||||
|
||||
```ts
|
||||
import { CollectionBeforeDeleteHook } from 'payload/types';
|
||||
|
||||
const beforeDeleteHook: CollectionBeforeDeleteHook = async ({
|
||||
req, // full express request
|
||||
id, // id of document to delete
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterDelete
|
||||
|
||||
Runs immediately after the `delete` operation removes records from the database. Returned values are discarded.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterDeleteHook } from 'payload/types';
|
||||
|
||||
const afterDeleteHook: CollectionAfterDeleteHook = async ({
|
||||
req, // full express request
|
||||
id, // id of document to delete
|
||||
doc, // deleted document
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterOperation
|
||||
|
||||
The `afterOperation` hook can be used to modify the result of operations or execute side-effects that run after an operation has completed.
|
||||
|
||||
Available Collection operations include `create`, `find`, `findByID`, `update`, `updateByID`, `delete`, `deleteByID`, `login`, `refresh`, and `forgotPassword`.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterOperationHook } from 'payload/types'
|
||||
|
||||
const afterOperationHook: CollectionAfterOperationHook = async ({
|
||||
args, // arguments passed into the operation
|
||||
operation, // name of the operation
|
||||
req, // full express request
|
||||
result, // the result of the operation, before modifications
|
||||
}) => {
|
||||
return result // return modified result as necessary
|
||||
}
|
||||
```
|
||||
|
||||
### beforeLogin
|
||||
|
||||
For auth-enabled Collections, this hook runs during `login` operations where a user with the provided credentials exist, but before a token is generated and added to the response. You can optionally modify the user that is returned, or throw an error in order to deny the login operation.
|
||||
|
||||
```ts
|
||||
import { CollectionBeforeLoginHook } from 'payload/types'
|
||||
|
||||
const beforeLoginHook: CollectionBeforeLoginHook = async ({
|
||||
req, // full express request
|
||||
user, // user being logged in
|
||||
}) => {
|
||||
return user
|
||||
}
|
||||
```
|
||||
|
||||
### afterLogin
|
||||
|
||||
For auth-enabled Collections, this hook runs after successful `login` operations. You can optionally modify the user that is returned.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterLoginHook } from 'payload/types';
|
||||
|
||||
const afterLoginHook: CollectionAfterLoginHook = async ({
|
||||
req, // full express request
|
||||
user, // user that was logged in
|
||||
token, // user token
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterLogout
|
||||
|
||||
For auth-enabled Collections, this hook runs after `logout` operations.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterLogoutHook } from 'payload/types';
|
||||
|
||||
const afterLogoutHook: CollectionAfterLogoutHook = async ({
|
||||
req, // full express request
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterRefresh
|
||||
|
||||
For auth-enabled Collections, this hook runs after `refresh` operations.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterRefreshHook } from 'payload/types';
|
||||
|
||||
const afterRefreshHook: CollectionAfterRefreshHook = async ({
|
||||
req, // full express request
|
||||
res, // full express response
|
||||
token, // newly refreshed user token
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterMe
|
||||
|
||||
For auth-enabled Collections, this hook runs after `me` operations.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterMeHook } from 'payload/types';
|
||||
|
||||
const afterMeHook: CollectionAfterMeHook = async ({
|
||||
req, // full express request
|
||||
response, // response to return
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterForgotPassword
|
||||
|
||||
For auth-enabled Collections, this hook runs after successful `forgotPassword` operations. Returned values are discarded.
|
||||
|
||||
```ts
|
||||
import { CollectionAfterForgotPasswordHook } from 'payload/types'
|
||||
|
||||
const afterLoginHook: CollectionAfterForgotPasswordHook = async ({
|
||||
req, // full express request
|
||||
user, // user being logged in
|
||||
token, // user token
|
||||
}) => {
|
||||
return user
|
||||
}
|
||||
```
|
||||
|
||||
## TypeScript
|
||||
|
||||
Payload exports a type for each Collection hook which can be accessed as follows:
|
||||
|
||||
```ts
|
||||
import type {
|
||||
CollectionBeforeOperationHook,
|
||||
CollectionBeforeValidateHook,
|
||||
CollectionBeforeChangeHook,
|
||||
CollectionAfterChangeHook,
|
||||
CollectionAfterReadHook,
|
||||
CollectionBeforeReadHook,
|
||||
CollectionBeforeDeleteHook,
|
||||
CollectionAfterDeleteHook,
|
||||
CollectionBeforeLoginHook,
|
||||
CollectionAfterLoginHook,
|
||||
CollectionAfterLogoutHook,
|
||||
CollectionAfterRefreshHook,
|
||||
CollectionAfterMeHook,
|
||||
CollectionAfterForgotPasswordHook,
|
||||
} from 'payload/types'
|
||||
```
|
||||
141
docs/hooks/context.mdx
Normal file
141
docs/hooks/context.mdx
Normal file
@@ -0,0 +1,141 @@
|
||||
---
|
||||
title: Context
|
||||
label: Context
|
||||
order: 50
|
||||
desc: Context allows you to pass in extra data that can be shared between hooks
|
||||
keywords: hooks, context, payload context, payloadcontext, data, extra data, shared data, shared, extra
|
||||
---
|
||||
|
||||
The `context` object in hooks is used to share data across different hooks. The persists throughout the entire lifecycle of a request and is available within every hook. This allows you to add logic to your hooks based on the request state by setting properties to `req.context` and using them elsewhere.
|
||||
|
||||
## When to use Context
|
||||
|
||||
Context gives you a way forward on otherwise difficult problems such as:
|
||||
|
||||
1. **Passing data between hooks**: Needing data in multiple hooks from a 3rd party API, it could be retrieved and used in `beforeChange` and later used again in an `afterChange` hook without having to fetch it twice.
|
||||
2. **Preventing infinite loops**: Calling `payload.update()` on the same document that triggered an `afterChange` hook will create an infinite loop, control the flow by assigning a no-op condition to context
|
||||
3. **Passing data to local API**: Setting values on the `req.context` and pass it to `payload.create()` you can provide additional data to hooks without adding extraneous fields.
|
||||
4. **Passing data between hooks and middleware or custom endpoints**: Hooks could set context across multiple collections and then be used in a final `postMiddleware`.
|
||||
|
||||
## How to Use Context
|
||||
|
||||
Let's see examples on how context can be used in the first two scenarios mentioned above:
|
||||
|
||||
### Passing data between hooks
|
||||
|
||||
To pass data between hooks, you can assign values to context in an earlier hook in the lifecycle of a request and expect it the context in a later hook.
|
||||
|
||||
For example:
|
||||
|
||||
```ts
|
||||
const Customer: CollectionConfig = {
|
||||
slug: 'customers',
|
||||
hooks: {
|
||||
beforeChange: [
|
||||
async ({ context, data }) => {
|
||||
// assign the customerData to context for use later
|
||||
context.customerData = await fetchCustomerData(data.customerID)
|
||||
return {
|
||||
...data,
|
||||
// some data we use here
|
||||
name: context.customerData.name,
|
||||
}
|
||||
},
|
||||
],
|
||||
afterChange: [
|
||||
async ({ context, doc, req }) => {
|
||||
// use context.customerData without needing to fetch it again
|
||||
if (context.customerData.contacted === false) {
|
||||
createTodo('Call Customer', context.customerData)
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
fields: [
|
||||
/* ... */
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Preventing infinite loops
|
||||
|
||||
Let's say you have an `afterChange` hook, and you want to do a calculation inside the hook (as the document ID needed for the calculation is available in the `afterChange` hook, but not in the `beforeChange` hook). Once that's done, you want to update the document with the result of the calculation.
|
||||
|
||||
Bad example:
|
||||
|
||||
```ts
|
||||
const Customer: CollectionConfig = {
|
||||
slug: 'customers',
|
||||
hooks: {
|
||||
afterChange: [
|
||||
async ({ doc }) => {
|
||||
await payload.update({
|
||||
// DANGER: updating the same slug as the collection in an afterChange will create an infinite loop!
|
||||
collection: 'customers',
|
||||
id: doc.id,
|
||||
data: {
|
||||
...(await fetchCustomerData(data.customerID)),
|
||||
},
|
||||
})
|
||||
},
|
||||
],
|
||||
},
|
||||
fields: [
|
||||
/* ... */
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
Instead of the above, we need to tell the `afterChange` hook to not run again if it performs the update (and thus not update itself again). We can solve that with context.
|
||||
|
||||
Fixed example:
|
||||
|
||||
```ts
|
||||
const MyCollection: CollectionConfig = {
|
||||
slug: 'slug',
|
||||
hooks: {
|
||||
afterChange: [
|
||||
async ({ context, doc }) => {
|
||||
// return if flag was previously set
|
||||
if (context.triggerAfterChange === false) {
|
||||
return
|
||||
}
|
||||
await payload.update({
|
||||
collection: contextHooksSlug,
|
||||
id: doc.id,
|
||||
data: {
|
||||
...(await fetchCustomerData(data.customerID)),
|
||||
},
|
||||
context: {
|
||||
// set a flag to prevent from running again
|
||||
triggerAfterChange: false,
|
||||
},
|
||||
})
|
||||
},
|
||||
],
|
||||
},
|
||||
fields: [
|
||||
/* ... */
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
## Typing context
|
||||
|
||||
The default typescript interface for `context` is `{ [key: string]: unknown }`. If you prefer a more strict typing in your project or when authoring plugins for others, you can override this using the `declare` syntax.
|
||||
|
||||
This is known as "type augmentation" - a TypeScript feature which allows us to add types to existing objects. Simply put this in any .ts or .d.ts file:
|
||||
|
||||
```ts
|
||||
import { RequestContext as OriginalRequestContext } from 'payload'
|
||||
|
||||
declare module 'payload' {
|
||||
// Create a new interface that merges your additional fields with the original one
|
||||
export interface RequestContext extends OriginalRequestContext {
|
||||
myObject?: string
|
||||
// ...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
This will add a the property `myObject` with a type of string to every context object. Make sure to follow this example correctly, as type augmentation can mess up your types if you do it wrong.
|
||||
238
docs/hooks/fields.mdx
Normal file
238
docs/hooks/fields.mdx
Normal file
@@ -0,0 +1,238 @@
|
||||
---
|
||||
title: Field Hooks
|
||||
label: Fields
|
||||
order: 30
|
||||
desc: Hooks can be added to any fields, and optionally modify the return value of the field before the operation continues.
|
||||
keywords: hooks, fields, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Field-level hooks offer incredible potential for encapsulating your logic. They help to isolate concerns and package up
|
||||
functionalities to be easily reusable across your projects.
|
||||
|
||||
**Example use cases include:**
|
||||
|
||||
- Automatically add an `owner` relationship to a Document based on the `req.user.id`
|
||||
- Encrypt / decrypt a sensitive field using `beforeValidate` and `afterRead` hooks
|
||||
- Auto-generate field data using a `beforeValidate` hook
|
||||
- Format incoming data such as kebab-casing a document `slug` with `beforeValidate`
|
||||
- Restrict updating a document to only once every X hours using the `beforeChange` hook
|
||||
|
||||
**All field types provide the following hooks:**
|
||||
|
||||
- [beforeValidate](#beforevalidate)
|
||||
- [beforeChange](#beforechange)
|
||||
- [afterChange](#afterchange)
|
||||
- [afterRead](#afterread)
|
||||
|
||||
## Config
|
||||
|
||||
Example field configuration:
|
||||
|
||||
```ts
|
||||
import { Field } from 'payload/types';
|
||||
|
||||
const ExampleField: Field = {
|
||||
name: 'name',
|
||||
type: 'text',
|
||||
// highlight-start
|
||||
hooks: {
|
||||
beforeValidate: [(args) => {...}],
|
||||
beforeChange: [(args) => {...}],
|
||||
afterChange: [(args) => {...}],
|
||||
afterRead: [(args) => {...}],
|
||||
}
|
||||
// highlight-end
|
||||
}
|
||||
```
|
||||
|
||||
## Arguments and return values
|
||||
|
||||
All field-level hooks are formatted to accept the same arguments, although some arguments may be `undefined` based on
|
||||
which field hook you are utilizing.
|
||||
|
||||
<Banner type="success">
|
||||
<strong>Tip:</strong>
|
||||
<br />
|
||||
It's a good idea to conditionally scope your logic based on which operation is executing. For
|
||||
example, if you are writing a <strong>beforeChange</strong> hook, you may want to perform
|
||||
different logic based on if the current <strong>operation</strong> is <strong>create</strong> or{' '}
|
||||
<strong>update</strong>.
|
||||
</Banner>
|
||||
|
||||
#### Arguments
|
||||
|
||||
Field Hooks receive one `args` argument that contains the following properties:
|
||||
|
||||
| Option | Description |
|
||||
|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **`data`** | The data passed to update the document within `create` and `update` operations, and the full document itself in the `afterRead` hook. |
|
||||
| **`siblingData`** | The sibling data passed to a field that the hook is running against. |
|
||||
| **`findMany`** | Boolean to denote if this hook is running against finding one, or finding many within the `afterRead` hook. |
|
||||
| **`operation`** | A string relating to which operation the field type is currently executing within. Useful within `beforeValidate`, `beforeChange`, and `afterChange` hooks to differentiate between `create` and `update` operations. |
|
||||
| **`originalDoc`** | The full original document in `update` operations. In the `afterChange` hook, this is the resulting document of the operation. |
|
||||
| **`previousDoc`** | The document before changes were applied, only in `afterChange` hooks. |
|
||||
| **`previousSiblingDoc`** | The sibling data of the document before changes being applied, only in `beforeChange` and `afterChange` hook. |
|
||||
| **`req`** | The Express `request` object. It is mocked for Local API operations. |
|
||||
| **`value`** | The value of the field. |
|
||||
| **`previousValue`** | The previous value of the field, before changes, only in `beforeChange` and `afterChange` hooks. |
|
||||
| **`context`** | Context passed to this hook. More info can be found under [Context](/docs/hooks/context) |
|
||||
| **`field`** | The field which the hook is running against. |
|
||||
| **`collection`** | The collection which the field belongs to. If the field belongs to a global, this will be null. |
|
||||
| **`global`** | The global which the field belongs to. If the field belongs to a collection, this will be null. |
|
||||
|
||||
#### Return value
|
||||
|
||||
All field hooks can optionally modify the return value of the field before the operation continues. Field Hooks may
|
||||
optionally return the value that should be used within the field.
|
||||
|
||||
<Banner type="warning">
|
||||
<strong>Important</strong>
|
||||
<br />
|
||||
Due to GraphQL's typed nature, you should never change the type of data that you return from a
|
||||
field, otherwise GraphQL will produce errors. If you need to change the shape or type of data,
|
||||
reconsider Field Hooks and instead evaluate if Collection / Global hooks might suit you better.
|
||||
</Banner>
|
||||
|
||||
## Examples of Field Hooks
|
||||
|
||||
To better illustrate how field-level hooks can be applied, here are some specific examples. These demonstrate the
|
||||
flexibility and potential of field hooks in different contexts. Remember, these examples are just a starting point - the
|
||||
true potential of field-level hooks lies in their adaptability to a wide array of use cases.
|
||||
|
||||
### beforeValidate
|
||||
|
||||
Runs before the `update` operation. This hook allows you to pre-process or format field data before it undergoes
|
||||
validation.
|
||||
|
||||
```ts
|
||||
import { Field } from 'payload/types'
|
||||
|
||||
const usernameField: Field = {
|
||||
name: 'username',
|
||||
type: 'text',
|
||||
hooks: {
|
||||
beforeValidate: [({ value }) => {
|
||||
// Trim whitespace and convert to lowercase
|
||||
return value.trim().toLowerCase()
|
||||
}],
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
In this example, the `beforeValidate` hook is used to process the `username` field. The hook takes the incoming value of
|
||||
the field and transforms it by trimming whitespace and converting it to lowercase. This ensures that the username is
|
||||
stored in a consistent format in the database.
|
||||
|
||||
### beforeChange
|
||||
|
||||
Immediately following validation, `beforeChange` hooks will run within `create` and `update` operations. At this stage,
|
||||
you can be confident that the field data that will be saved to the document is valid in accordance to your field
|
||||
validations.
|
||||
|
||||
```ts
|
||||
import { Field } from 'payload/types'
|
||||
|
||||
const emailField: Field = {
|
||||
name: 'email',
|
||||
type: 'email',
|
||||
hooks: {
|
||||
beforeChange: [({ value, operation }) => {
|
||||
if (operation === 'create') {
|
||||
// Perform additional validation or transformation for 'create' operation
|
||||
}
|
||||
return value
|
||||
}],
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
In the `emailField`, the `beforeChange` hook checks the `operation` type. If the operation is `create`, it performs
|
||||
additional validation or transformation on the email field value. This allows for operation-specific logic to be applied
|
||||
to the field.
|
||||
|
||||
### afterChange
|
||||
|
||||
The `afterChange` hook is executed after a field's value has been changed and saved in the database. This hook is useful
|
||||
for post-processing or triggering side effects based on the new value of the field.
|
||||
|
||||
```ts
|
||||
import { Field } from 'payload/types'
|
||||
|
||||
const membershipStatusField: Field = {
|
||||
name: 'membershipStatus',
|
||||
type: 'select',
|
||||
options: [
|
||||
{ label: 'Standard', value: 'standard' },
|
||||
{ label: 'Premium', value: 'premium' },
|
||||
{ label: 'VIP', value: 'vip' }
|
||||
],
|
||||
hooks: {
|
||||
afterChange: [({ value, previousValue, req }) => {
|
||||
if (value !== previousValue) {
|
||||
// Log or perform an action when the membership status changes
|
||||
console.log(`User ID ${req.user.id} changed their membership status from ${previousValue} to ${value}.`)
|
||||
// Here, you can implement actions that could track conversions from one tier to another
|
||||
}
|
||||
}],
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
In this example, the `afterChange` hook is used with a `membershipStatusField`, which allows users to select their
|
||||
membership level (Standard, Premium, VIP). The hook monitors changes in the membership status. When a change occurs, it
|
||||
logs the update and can be used to trigger further actions, such as tracking conversion from one tier to another or
|
||||
notifying them about changes in their membership benefits.
|
||||
|
||||
### afterRead
|
||||
|
||||
The `afterRead` hook is invoked after a field value is read from the database. This is ideal for formatting or
|
||||
transforming the field data for output.
|
||||
|
||||
```ts
|
||||
import { Field } from 'payload/types'
|
||||
|
||||
const dateField: Field = {
|
||||
name: 'createdAt',
|
||||
type: 'date',
|
||||
hooks: {
|
||||
afterRead: [({ value }) => {
|
||||
// Format date for display
|
||||
return new Date(value).toLocaleDateString()
|
||||
}],
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Here, the `afterRead` hook for the `dateField` is used to format the date into a more readable format
|
||||
using `toLocaleDateString()`. This hook modifies the way the date is presented to the user, making it more
|
||||
user-friendly.
|
||||
|
||||
## TypeScript
|
||||
|
||||
Payload exports a type for field hooks which can be accessed and used as follows:
|
||||
|
||||
```ts
|
||||
import type { FieldHook } from 'payload/types'
|
||||
|
||||
// Field hook type is a generic that takes three arguments:
|
||||
// 1: The document type
|
||||
// 2: The value type
|
||||
// 3: The sibling data type
|
||||
|
||||
type ExampleFieldHook = FieldHook<ExampleDocumentType, string, SiblingDataType>
|
||||
|
||||
const exampleFieldHook: ExampleFieldHook = (args) => {
|
||||
const {
|
||||
value, // Typed as `string` as shown above
|
||||
data, // Typed as a Partial of your ExampleDocumentType
|
||||
siblingData, // Typed as a Partial of SiblingDataType
|
||||
originalDoc, // Typed as ExampleDocumentType
|
||||
operation,
|
||||
req,
|
||||
} = args
|
||||
|
||||
// Do something here...
|
||||
|
||||
return value // should return a string as typed above, undefined, or null
|
||||
}
|
||||
```
|
||||
128
docs/hooks/globals.mdx
Normal file
128
docs/hooks/globals.mdx
Normal file
@@ -0,0 +1,128 @@
|
||||
---
|
||||
title: Global Hooks
|
||||
label: Globals
|
||||
order: 40
|
||||
desc: Hooks can be added to any Global and allow you to validate data, flatten locales, hide protected fields, remove fields and more.
|
||||
keywords: hooks, globals, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
Globals feature the ability to define the following hooks:
|
||||
|
||||
- [beforeValidate](#beforevalidate)
|
||||
- [beforeChange](#beforechange)
|
||||
- [afterChange](#afterchange)
|
||||
- [beforeRead](#beforeread)
|
||||
- [afterRead](#afterread)
|
||||
|
||||
## Config
|
||||
|
||||
All Global Hook properties accept arrays of synchronous or asynchronous functions. Each Hook type receives specific arguments and has the ability to modify specific outputs.
|
||||
|
||||
`globals/example-hooks.js`
|
||||
|
||||
```ts
|
||||
import { GlobalConfig } from 'payload/types';
|
||||
|
||||
const ExampleHooks: GlobalConfig = {
|
||||
slug: 'header',
|
||||
fields: [
|
||||
{ name: 'title', type: 'text'},
|
||||
]
|
||||
hooks: {
|
||||
beforeValidate: [(args) => {...}],
|
||||
beforeChange: [(args) => {...}],
|
||||
beforeRead: [(args) => {...}],
|
||||
afterChange: [(args) => {...}],
|
||||
afterRead: [(args) => {...}],
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### beforeValidate
|
||||
|
||||
Runs before the `update` operation. This hook allows you to add or format data before the incoming data is validated.
|
||||
|
||||
```ts
|
||||
import { GlobalBeforeValidateHook } from 'payload/types'
|
||||
|
||||
const beforeValidateHook: GlobalBeforeValidateHook = async ({
|
||||
data, // incoming data to update or create with
|
||||
req, // full express request
|
||||
originalDoc, // original document
|
||||
}) => {
|
||||
return data // Return data to update the document with
|
||||
}
|
||||
```
|
||||
|
||||
### beforeChange
|
||||
|
||||
Immediately following validation, `beforeChange` hooks will run within the `update` operation. At this stage, you can be confident that the data that will be saved to the document is valid in accordance to your field validations. You can optionally modify the shape of data to be saved.
|
||||
|
||||
```ts
|
||||
import { GlobalBeforeChangeHook } from 'payload/types'
|
||||
|
||||
const beforeChangeHook: GlobalBeforeChangeHook = async ({
|
||||
data, // incoming data to update or create with
|
||||
req, // full express request
|
||||
originalDoc, // original document
|
||||
}) => {
|
||||
return data // Return data to update the document with
|
||||
}
|
||||
```
|
||||
|
||||
### afterChange
|
||||
|
||||
After a global is updated, the `afterChange` hook runs. Use this hook to purge caches of your applications, sync site data to CRMs, and more.
|
||||
|
||||
```ts
|
||||
import { GlobalAfterChangeHook } from 'payload/types'
|
||||
|
||||
const afterChangeHook: GlobalAfterChangeHook = async ({
|
||||
doc, // full document data
|
||||
previousDoc, // document data before updating the collection
|
||||
req, // full express request
|
||||
}) => {
|
||||
return data
|
||||
}
|
||||
```
|
||||
|
||||
### beforeRead
|
||||
|
||||
Runs before `findOne` global operation is transformed for output by `afterRead`. This hook fires before hidden fields are removed and before localized fields are flattened into the requested locale. Using this Hook will provide you with all locales and all hidden fields via the `doc` argument.
|
||||
|
||||
```ts
|
||||
import { GlobalBeforeReadHook } from 'payload/types'
|
||||
|
||||
const beforeReadHook: GlobalBeforeReadHook = async ({
|
||||
doc, // full document data
|
||||
req, // full express request
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
### afterRead
|
||||
|
||||
Runs as the last step before a global is returned. Flattens locales, hides protected fields, and removes fields that users do not have access to.
|
||||
|
||||
```ts
|
||||
import { GlobalAfterReadHook } from 'payload/types'
|
||||
|
||||
const afterReadHook: GlobalAfterReadHook = async ({
|
||||
doc, // full document data
|
||||
req, // full express request
|
||||
findMany, // boolean to denote if this hook is running against finding one, or finding many (useful in versions)
|
||||
}) => {...}
|
||||
```
|
||||
|
||||
## TypeScript
|
||||
|
||||
Payload exports a type for each Global hook which can be accessed as follows:
|
||||
|
||||
```ts
|
||||
import type {
|
||||
GlobalBeforeValidateHook,
|
||||
GlobalBeforeChangeHook,
|
||||
GlobalAfterChangeHook,
|
||||
GlobalBeforeReadHook,
|
||||
GlobalAfterReadHook,
|
||||
} from 'payload/types'
|
||||
```
|
||||
47
docs/hooks/overview.mdx
Normal file
47
docs/hooks/overview.mdx
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
title: Hooks Overview
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Hooks allow you to add your own logic to Payload, including integrating with third-party APIs, adding auto-generated data, or modifing Payload's base functionality.
|
||||
keywords: hooks, overview, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
<Banner type="info">
|
||||
Hooks are powerful ways to tie into existing Payload actions in order to add your own logic like
|
||||
integrating with third-party APIs, adding auto-generated data, or modifing Payload's base
|
||||
functionality.
|
||||
</Banner>
|
||||
|
||||
**With Hooks, you can transform Payload from a traditional CMS into a fully-fledged application framework.**
|
||||
|
||||
Example uses:
|
||||
|
||||
- Integrate user profiles with a third-party CRM such as Salesforce or Hubspot
|
||||
- Send a copy of uploaded files to Amazon S3 or similar
|
||||
- Automatically add `lastModifiedBy` data to a document to track who changed what over time
|
||||
- Encrypt a field's data when it's saved and decrypt it when it's read
|
||||
- Send emails when `ContactSubmission`s are created from a public website
|
||||
- Integrate with a payment provider like Stripe to automatically process payments when an `Order` is created
|
||||
- Securely recalculate order prices on the backend to ensure that the total price for `Order`s that users submit is accurate and valid
|
||||
- Generate and store a `lastLoggedIn` date on a user by adding an `afterLogin` hook
|
||||
- Add extra data to documents before they are read such as "average scores" or similar data that needs to be calculated on the fly
|
||||
|
||||
There are many more use cases for Hooks and the sky is the limit.
|
||||
|
||||
#### Async vs. synchronous
|
||||
|
||||
All hooks can be written as either synchronous or asynchronous functions. If the Hook should modify data before a document is updated or created, and it relies on asynchronous actions such as fetching data from a third party, it might make sense to define your Hook as an asynchronous function, so you can be sure that your Hook completes before the operation's lifecycle continues. Async hooks are run in series - so if you have two async hooks defined, the second hook will wait for the first to complete before it starts.
|
||||
|
||||
If your Hook simply performs a side-effect, such as updating a CRM, it might be okay to define it synchronously, so the Payload operation does not have to wait for your hook to complete.
|
||||
|
||||
#### Server-only execution
|
||||
|
||||
Payload Hooks do not have any effect within the Payload Admin panel. You can safely [remove your hooks](/docs/admin/webpack#aliasing-server-only-modules) from your Admin panel's code by customizing the Webpack config, which not only keeps your Admin bundles' filesize small but also ensures that any server-side only code does not cause problems within browser environments.
|
||||
|
||||
## Hook Types
|
||||
|
||||
You can specify hooks in the following contexts:
|
||||
|
||||
- [Collection Hooks](/docs/hooks/collections)
|
||||
- [Field Hooks](/docs/hooks/fields)
|
||||
- [Global Hooks](/docs/hooks/globals)
|
||||
103
docs/integrations/vercel-visual-editing.mdx
Normal file
103
docs/integrations/vercel-visual-editing.mdx
Normal file
@@ -0,0 +1,103 @@
|
||||
---
|
||||
title: Vercel Visual Editing
|
||||
label: Vercel Visual Editing
|
||||
order: 10
|
||||
desc: Payload + Vercel Visual Editing allows yours editors to navigate directly from the content rendered on your front-end to the fields in Payload that control it.
|
||||
keywords: vercel, vercel visual editing, visual editing, content source maps, Content Management System, cms, headless, javascript, node, react, express
|
||||
---
|
||||
|
||||
[Vercel Visual Editing](https://vercel.com/docs/workflow-collaboration/visual-editing) will allow your editors to navigate directly from the content rendered on your front-end to the fields in Payload that control it. This requires no changes to your front-end code and very few changes to your Payload config.
|
||||
|
||||

|
||||
|
||||
<Banner type="warning">
|
||||
Vercel Visual Editing is an enterprise-only feature and only available for deployments hosted on
|
||||
Vercel. If you are an existing enterprise customer, [contact our sales
|
||||
team](https://payloadcms.com/for-enterprise) for help with your integration.
|
||||
</Banner>
|
||||
|
||||
### How it works
|
||||
|
||||
To power Vercel Visual Editing, Payload embeds Content Source Maps into its API responses. Content Source Maps are invisible, encoded JSON values that include a link back to the field in the CMS that generated the content. When rendered on the page, Vercel detects and decodes these values to display the Visual Editing interface.
|
||||
|
||||
For full details on how the encoding and decoding algorithm works, check out [`@vercel/stega`](https://www.npmjs.com/package/@vercel/stega).
|
||||
|
||||
### Getting Started
|
||||
|
||||
Setting up Payload with Vercel Visual Editing is easy. First, install the `@payloadcms/plugin-csm` plugin into your project. This plugin requires an API key to install, [contact our sales team](https://payloadcms.com/for-enterprise) if you don't already have one.
|
||||
|
||||
```bash
|
||||
npm i @payloadcms/plugin-csm
|
||||
```
|
||||
|
||||
Then in the `plugins` array of your Payload config, call the plugin and enable any collections that require Content Source Maps.
|
||||
|
||||
```ts
|
||||
import { buildConfig } from "payload/config"
|
||||
import contentSourceMaps from "@payloadcms/plugin-csm"
|
||||
|
||||
const config = buildConfig({
|
||||
collections: [
|
||||
{
|
||||
slug: "pages",
|
||||
fields: [
|
||||
{
|
||||
name: 'slug',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'title,'
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
contentSourceMaps({
|
||||
collections: ["pages"],
|
||||
}),
|
||||
],
|
||||
})
|
||||
|
||||
export default config
|
||||
```
|
||||
|
||||
Now in your Next.js app, include the `?encodeSourceMaps=true` parameter in any of your API requests. For performance reasons, this should only be done when in draft mode or on preview deployments.
|
||||
|
||||
```ts
|
||||
if (isDraftMode || process.env.VERCEL_ENV === 'preview') {
|
||||
const res = await fetch(
|
||||
`${process.env.NEXT_PUBLIC_PAYLOAD_CMS_URL}/api/pages?where[slug][equals]=${slug}&encodeSourceMaps=true`,
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
And that's it! You are now ready to enter Edit Mode and begin visually editing your content.
|
||||
|
||||
##### Edit Mode
|
||||
|
||||
To see Visual Editing on your site, you first need to visit any preview deployment on Vercel and login using the Vercel Toolbar. When Content Source Maps are detected on the page, a pencil icon will appear in the toolbar. Clicking this icon will enable Edit Mode, highlighting all editable fields on the page in blue.
|
||||
|
||||

|
||||
|
||||
### Troubleshooting
|
||||
|
||||
##### Dates
|
||||
|
||||
The plugin does not encode `date` fields by default, but for some cases like text that uses negative CSS letter-spacing, it may be necessary to split the encoded data out from the rendered text. This way you can safely use the cleaned data as expected.
|
||||
|
||||
```ts
|
||||
import { vercelStegaSplit } from '@vercel/stega'
|
||||
const { cleaned, encoded } = vercelStegaSplit(text)
|
||||
```
|
||||
|
||||
##### Blocks
|
||||
|
||||
All `blocks` fields by definition do not have plain text strings to encode. For this reason, blocks are given an additional `encodedSourceMap` key, which you can use to enable Visual Editing on entire sections of your site. You can then specify the editing container by adding the `data-vercel-edit-target` HTML attribute to any top-level element of your block.
|
||||
|
||||
```ts
|
||||
<div data-vercel-edit-target>
|
||||
<span style={{ display: "none" }}>{encodedSourceMap}</span>
|
||||
{children}
|
||||
</div>
|
||||
```
|
||||
241
docs/live-preview/frontend.mdx
Normal file
241
docs/live-preview/frontend.mdx
Normal file
@@ -0,0 +1,241 @@
|
||||
---
|
||||
title: Implementing Live Preview in your app
|
||||
label: Frontend Implementation
|
||||
order: 20
|
||||
desc: Learn how to implement Live Preview in your front-end application.
|
||||
keywords: live preview, frontend, react, next.js, vue, nuxt.js, svelte, hook, useLivePreview
|
||||
---
|
||||
|
||||
While using Live Preview, the Admin panel emits a new `window.postMessage` event every time a change is made to the document. Your front-end application can listen for these events and re-render accordingly.
|
||||
|
||||
Wiring your front-end into Live Preview is easy. If your front-end application is built with React or Next.js, use the [`useLivePreview`](#react) React hook that Payload provides. In the future, all other major frameworks like Vue, Svelte, etc will be officially supported. If you are using any of these frameworks today, you can still integrate with Live Preview yourself using the underlying tooling that Payload provides. See [building your own hook](#building-your-own-hook) for more information.
|
||||
|
||||
By default, all hooks accept the following args:
|
||||
|
||||
| Path | Description |
|
||||
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`serverURL`** \* | The URL of your Payload server. |
|
||||
| **`initialData`** | The initial data of the document. The live data will be merged in as changes are made. |
|
||||
| **`depth`** | The depth of the relationships to fetch. Defaults to `0`. |
|
||||
| **`apiRoute`** | The path of your API route as defined in `routes.api`. Defaults to `/api`. |
|
||||
|
||||
_\* An asterisk denotes that a property is required._
|
||||
|
||||
And return the following values:
|
||||
|
||||
| Path | Description |
|
||||
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`data`** | The live data of the document, merged with the initial data. |
|
||||
| **`isLoading`** | A boolean that indicates whether or not the document is loading. |
|
||||
|
||||
<Banner type="info">
|
||||
If your front-end is tightly coupled to required fields, you should ensure that your UI does not break when these fields are removed. For example, if you are rendering something like `data.relatedPosts[0].title`, your page will break once you remove the first related post. To get around this, use conditional logic, optional chaining, or default values in your UI where needed. For example, `data?.relatedPosts?.[0]?.title`.
|
||||
</Banner>
|
||||
|
||||
### React
|
||||
|
||||
If your front-end application is built with React or Next.js, you can use the `useLivePreview` hook that Payload provides.
|
||||
|
||||
First, install the `@payloadcms/live-preview-react` package:
|
||||
|
||||
```bash
|
||||
npm install @payloadcms/live-preview-react
|
||||
```
|
||||
|
||||
Then, use the `useLivePreview` hook in your React component:
|
||||
|
||||
```tsx
|
||||
'use client';
|
||||
import { useLivePreview } from '@payloadcms/live-preview-react';
|
||||
import { Page as PageType } from '@/payload-types'
|
||||
|
||||
// Fetch the page in a server component, pass it to the client component, then thread it through the hook
|
||||
// The hook will take over from there and keep the preview in sync with the changes you make
|
||||
// The `data` property will contain the live data of the document
|
||||
export const PageClient: React.FC<{
|
||||
page: {
|
||||
title: string
|
||||
}
|
||||
}> = ({ page: initialPage }) => {
|
||||
const { data } = useLivePreview<PageType>({
|
||||
initialData: initialPage,
|
||||
serverURL: PAYLOAD_SERVER_URL,
|
||||
depth: 2,
|
||||
})
|
||||
|
||||
return (
|
||||
<h1>{data.title}</h1>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="info">
|
||||
If is important that the `depth` argument matches exactly with the depth of your initial page request. The depth property is used to populated relationships and uploads beyond their IDs. See [Depth](../getting-started/concepts#depth) for more information.
|
||||
</Banner>
|
||||
|
||||
## Building your own hook
|
||||
|
||||
No matter what front-end framework you are using, you can build your own hook using the same underlying tooling that Payload provides.
|
||||
|
||||
First, install the base `@payloadcms/live-preview` package:
|
||||
|
||||
```bash
|
||||
npm install @payloadcms/live-preview
|
||||
```
|
||||
|
||||
This package provides the following functions:
|
||||
|
||||
| Path | Description |
|
||||
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`subscribe`** | Subscribes to the Admin panel's `window.postMessage` events and calls the provided callback function. |
|
||||
| **`unsubscribe`** | Unsubscribes from the Admin panel's `window.postMessage` events. |
|
||||
| **`ready`** | Sends a `window.postMessage` event to the Admin panel to indicate that the front-end is ready to receive messages. |
|
||||
|
||||
The `subscribe` function takes the following args:
|
||||
|
||||
| Path | Description |
|
||||
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **`callback`** \* | A callback function that is called with `data` every time a change is made to the document. |
|
||||
| **`serverURL`** \* | The URL of your Payload server. |
|
||||
| **`initialData`** | The initial data of the document. The live data will be merged in as changes are made. |
|
||||
| **`depth`** | The depth of the relationships to fetch. Defaults to `0`. |
|
||||
|
||||
With these functions, you can build your own hook using your front-end framework of choice:
|
||||
|
||||
```tsx
|
||||
import { subscribe, unsubscribe } from '@payloadcms/live-preview';
|
||||
|
||||
// To build your own hook, subscribe to Live Preview events using the`subscribe` function
|
||||
// It handles everything from:
|
||||
// 1. Listening to `window.postMessage` events
|
||||
// 2. Merging initial data with active form state
|
||||
// 3. Populating relationships and uploads
|
||||
// 4. Calling the `onChange` callback with the result
|
||||
// Your hook should also:
|
||||
// 1. Tell the Admin panel when it is ready to receive messages
|
||||
// 2. Handle the results of the `onChange` callback to update the UI
|
||||
// 3. Unsubscribe from the `window.postMessage` events when it unmounts
|
||||
```
|
||||
|
||||
Here is an example of what the same `useLivePreview` React hook from above looks like under the hood:
|
||||
|
||||
```tsx
|
||||
import { subscribe, unsubscribe, ready } from '@payloadcms/live-preview'
|
||||
import { useCallback, useEffect, useState, useRef } from 'react'
|
||||
|
||||
export const useLivePreview = <T extends any>(props: {
|
||||
depth?: number
|
||||
initialData: T
|
||||
serverURL: string
|
||||
}): {
|
||||
data: T
|
||||
isLoading: boolean
|
||||
} => {
|
||||
const { depth = 0, initialData, serverURL } = props
|
||||
const [data, setData] = useState<T>(initialData)
|
||||
const [isLoading, setIsLoading] = useState<boolean>(true)
|
||||
const hasSentReadyMessage = useRef<boolean>(false)
|
||||
|
||||
const onChange = useCallback((mergedData) => {
|
||||
// When a change is made, the `onChange` callback will be called with the merged data
|
||||
// Set this merged data into state so that React will re-render the UI
|
||||
setData(mergedData)
|
||||
setIsLoading(false)
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
// Listen for `window.postMessage` events from the Admin panel
|
||||
// When a change is made, the `onChange` callback will be called with the merged data
|
||||
const subscription = subscribe({
|
||||
callback: onChange,
|
||||
depth,
|
||||
initialData,
|
||||
serverURL,
|
||||
})
|
||||
|
||||
// Once subscribed, send a `ready` message back up to the Admin panel
|
||||
// This will indicate that the front-end is ready to receive messages
|
||||
if (!hasSentReadyMessage.current) {
|
||||
hasSentReadyMessage.current = true
|
||||
|
||||
ready({
|
||||
serverURL
|
||||
})
|
||||
}
|
||||
|
||||
// When the component unmounts, unsubscribe from the `window.postMessage` events
|
||||
return () => {
|
||||
unsubscribe(subscription)
|
||||
}
|
||||
}, [serverURL, onChange, depth, initialData])
|
||||
|
||||
return {
|
||||
data,
|
||||
isLoading,
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<Banner type="info">
|
||||
When building your own hook, ensure that the args and return values are consistent with the ones listed at the top of this document. This will ensure that all hooks follow the same API.
|
||||
</Banner>
|
||||
|
||||
## Example
|
||||
|
||||
For a working demonstration of this, check out the official [Live Preview Example](https://github.com/payloadcms/payload/tree/main/examples/live-preview/payload). There you will find examples of various front-end frameworks and how to integrate each one of them, including:
|
||||
|
||||
- [Next.js App Router](https://github.com/payloadcms/payload/tree/main/examples/live-preview/next-app)
|
||||
- [Next.js Pages Router](https://github.com/payloadcms/payload/tree/main/examples/live-preview/next-pages)
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
#### Relationships and/or uploads are not populating
|
||||
|
||||
If you are using relationships or uploads in your front-end application, and your front-end application runs on a different domain than your Payload server, you may need to configure [CORS](../configuration/overview) to allow requests to be made between the two domains. This includes sites that are running on a different port or subdomain. Similarly, if you are protecting resources behind user authentication, you may also need to configure [CSRF](../authentication/overview#csrf-protection) to allow cookies to be sent between the two domains. For example:
|
||||
|
||||
```ts
|
||||
// payload.config.ts
|
||||
{
|
||||
// ...
|
||||
// If your site is running on a different domain than your Payload server,
|
||||
// This will allows requests to be made between the two domains
|
||||
cors: {
|
||||
[
|
||||
'http://localhost:3001' // Your front-end application
|
||||
],
|
||||
},
|
||||
// If you are protecting resources behind user authentication,
|
||||
// This will allow cookies to be sent between the two domains
|
||||
csrf: {
|
||||
[
|
||||
'http://localhost:3001' // Your front-end application
|
||||
],
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
#### Relationships and/or uploads disappear after editing a document
|
||||
|
||||
It is possible that either you are setting an improper [`depth`](../getting-started/concepts#depth) in your initial request and/or your `useLivePreview` hook, or they're mismatched. Ensure that the `depth` parameter is set to the correct value, and that it matches exactly in both places. For example:
|
||||
|
||||
```tsx
|
||||
// Your initial request
|
||||
const { docs } = await payload.find({
|
||||
collection: 'pages',
|
||||
depth: 1, // Ensure this is set to the proper depth for your application
|
||||
where: {
|
||||
slug: {
|
||||
equals: 'home',
|
||||
}
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
```tsx
|
||||
// Your hook
|
||||
const { data } = useLivePreview<PageType>({
|
||||
initialData: initialPage,
|
||||
serverURL: PAYLOAD_SERVER_URL,
|
||||
depth: 1, // Ensure this matches the depth of your initial request
|
||||
})
|
||||
```
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user