{"_id":"@byte5digital/payload-tree-view","_rev":"7-d3e0b75986d8fab59202e2f55375001b","name":"@byte5digital/payload-tree-view","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@byte5digital/payload-tree-view","version":"1.0.0","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"license":"MIT","_id":"@byte5digital/payload-tree-view@1.0.0","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"dist":{"shasum":"271353f38b2e613d1785bbb037f5563f67cba19c","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.0.tgz","fileCount":40,"integrity":"sha512-Llka+EUFyVlKpDdQIOQL5VH6dubO1IsxihKD6eYFdpG81V+OR52FH/PxaWL2VbhWFjYsALMo2L/KQWHcJODYJQ==","signatures":[{"sig":"MEUCIF6RMJ+Q/lpRJX4PZ4LUrBRIL8g9baEVmsuRibmBxnicAiEAjByxECLjtmc9TPaLIsMi4va/gSw3SjL9HUfWQTG10j0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88628},"main":"./src/index.ts","type":"module","types":"./src/index.ts","engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts","default":"./src/index.ts"},"./rsc":{"types":"./src/exports/rsc.ts","import":"./src/exports/rsc.ts","default":"./src/exports/rsc.ts"},"./client":{"types":"./src/exports/client.ts","import":"./src/exports/client.ts","default":"./src/exports/client.ts"}},"gitHead":"96c3ad8a3beb2ee55c8215e5c921fa461ccb2d65","scripts":{"lint":"eslint","test":"yarn test:int && yarn test:e2e","build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","clean":"rimraf {dist,*.tsbuildinfo}","lint:fix":"eslint ./src --fix","test:e2e":"playwright test","test:int":"vitest","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","build:types":"tsc --outDir dist --rootDir ./src"},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"repository":{"url":"git+https://github.com/byte5digital/payload-tree-view.git","type":"git"},"_npmVersion":"11.4.2","description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","directories":{},"_nodeVersion":"24.3.0","dependencies":{"qs-esm":"7.0.2"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./rsc":{"types":"./dist/exports/rsc.d.ts","import":"./dist/exports/rsc.js","default":"./dist/exports/rsc.js"},"./client":{"types":"./dist/exports/client.d.ts","import":"./dist/exports/client.js","default":"./dist/exports/client.js"}},"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"15.4.11","open":"^10.1.0","react":"19.2.1","sharp":"0.34.2","eslint":"^9.23.0","rimraf":"3.0.2","vitest":"4.0.18","graphql":"^16.8.1","payload":"3.37.0","@swc/cli":"0.6.0","prettier":"^3.4.2","@swc/core":"^1.15.18","copyfiles":"2.4.1","cross-env":"^7.0.3","react-dom":"19.2.1","typescript":"5.7.3","@types/node":"22.19.9","@types/react":"19.2.9","@payloadcms/ui":"3.37.0","@eslint/eslintrc":"^3.2.0","@payloadcms/next":"3.37.0","@playwright/test":"1.58.2","@types/react-dom":"19.2.3","sort-package-json":"^2.10.0","@swc-node/register":"1.10.9","eslint-config-next":"15.4.11","vite-tsconfig-paths":"6.0.5","@payloadcms/db-sqlite":"3.37.0","mongodb-memory-server":"10.1.4","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/richtext-lexical":"3.37.0"},"peerDependencies":{"payload":"^3.37.0"},"_npmOperationalInternal":{"tmp":"tmp/payload-tree-view_1.0.0_1772884617771_0.5988660280384002","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@byte5digital/payload-tree-view","version":"1.0.1","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"license":"MIT","_id":"@byte5digital/payload-tree-view@1.0.1","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"dist":{"shasum":"760d35fc3628a907fab65c574c70db7ba4377723","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.1.tgz","fileCount":40,"integrity":"sha512-hd9t3vVc8Gq57zRwiP8u1M288jD2OWzS3yAMe2JXjqxRR/30y5WjTLubaPKo7C5bOhVlSP91vuE3N89CZRcfYQ==","signatures":[{"sig":"MEYCIQCt5TvXh0d5jzulq19lkVRkjVbh66vo3/L06yGhzJpb7wIhANFSL6X+6yTQvoBG/VE1mbWnQvOjpe2u7qr2cZp40eYz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88101},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./rsc":{"types":"./dist/exports/rsc.d.ts","import":"./dist/exports/rsc.js","default":"./dist/exports/rsc.js"},"./client":{"types":"./dist/exports/client.d.ts","import":"./dist/exports/client.js","default":"./dist/exports/client.js"}},"gitHead":"cad9e50f751b1ead0e3d5a31ef537739b8ad9356","scripts":{"lint":"eslint","test":"yarn test:int && yarn test:e2e","build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","clean":"rimraf {dist,*.tsbuildinfo}","lint:fix":"eslint ./src --fix","test:e2e":"playwright test","test:int":"vitest","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","build:types":"tsc --outDir dist --rootDir ./src"},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"repository":{"url":"git+https://github.com/byte5digital/payload-tree-view.git","type":"git"},"_npmVersion":"11.4.2","description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","directories":{},"_nodeVersion":"24.3.0","dependencies":{"qs-esm":"7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"15.4.11","open":"^10.1.0","react":"19.2.1","sharp":"0.34.2","eslint":"^9.23.0","rimraf":"3.0.2","vitest":"4.0.18","graphql":"^16.8.1","payload":"3.37.0","@swc/cli":"0.6.0","prettier":"^3.4.2","@swc/core":"^1.15.18","copyfiles":"2.4.1","cross-env":"^7.0.3","react-dom":"19.2.1","typescript":"5.7.3","@types/node":"22.19.9","@types/react":"19.2.9","@payloadcms/ui":"3.37.0","@eslint/eslintrc":"^3.2.0","@payloadcms/next":"3.37.0","@playwright/test":"1.58.2","@types/react-dom":"19.2.3","sort-package-json":"^2.10.0","@swc-node/register":"1.10.9","eslint-config-next":"15.4.11","vite-tsconfig-paths":"6.0.5","@payloadcms/db-sqlite":"3.37.0","mongodb-memory-server":"10.1.4","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/richtext-lexical":"3.37.0"},"peerDependencies":{"payload":"^3.37.0"},"_npmOperationalInternal":{"tmp":"tmp/payload-tree-view_1.0.1_1772885079593_0.19429905249758317","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@byte5digital/payload-tree-view","version":"1.0.2","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"license":"MIT","_id":"@byte5digital/payload-tree-view@1.0.2","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"dist":{"shasum":"987bd3154fd68ccbcc8146d71629b869b35e817d","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.2.tgz","fileCount":40,"integrity":"sha512-lxIBT7ewgi9uh2Afy1kPplcUszB5Cuc+H+157fURK7FsomI3SMoJAPQs4yHqqChuq91HO+7hamUUTGWcKxp73A==","signatures":[{"sig":"MEYCIQD3oT5B6EYr/jrvyTcK0zahF92PHcUWVeETHo355yeLKwIhALQN7UpTcozC46ZsfZWNNSFJB2jzG6164Hz215D99JnV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88655},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./rsc":{"types":"./dist/exports/rsc.d.ts","import":"./dist/exports/rsc.js","default":"./dist/exports/rsc.js"},"./client":{"types":"./dist/exports/client.d.ts","import":"./dist/exports/client.js","default":"./dist/exports/client.js"}},"gitHead":"4af12c30e88b69091c97d15750b0c992e81629e1","scripts":{"lint":"eslint","test":"yarn test:int && yarn test:e2e","build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","clean":"rimraf {dist,*.tsbuildinfo}","lint:fix":"eslint ./src --fix","test:e2e":"playwright test","test:int":"vitest","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","build:types":"tsc --outDir dist --rootDir ./src"},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"repository":{"url":"git+https://github.com/byte5digital/payload-tree-view.git","type":"git"},"_npmVersion":"11.4.2","description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","directories":{},"_nodeVersion":"24.3.0","dependencies":{"qs-esm":"7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"15.4.11","open":"^10.1.0","react":"19.2.1","sharp":"0.34.2","eslint":"^9.23.0","rimraf":"3.0.2","vitest":"4.0.18","graphql":"^16.8.1","payload":"3.37.0","@swc/cli":"0.6.0","prettier":"^3.4.2","@swc/core":"^1.15.18","copyfiles":"2.4.1","cross-env":"^7.0.3","react-dom":"19.2.1","typescript":"5.7.3","@types/node":"22.19.9","@types/react":"19.2.9","@payloadcms/ui":"3.37.0","@eslint/eslintrc":"^3.2.0","@payloadcms/next":"3.37.0","@playwright/test":"1.58.2","@types/react-dom":"19.2.3","sort-package-json":"^2.10.0","@swc-node/register":"1.10.9","eslint-config-next":"15.4.11","vite-tsconfig-paths":"6.0.5","@payloadcms/db-sqlite":"3.37.0","mongodb-memory-server":"10.1.4","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/richtext-lexical":"3.37.0"},"peerDependencies":{"payload":"^3.37.0"},"_npmOperationalInternal":{"tmp":"tmp/payload-tree-view_1.0.2_1772888407299_0.6107859266820856","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@byte5digital/payload-tree-view","version":"1.0.3","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"license":"MIT","_id":"@byte5digital/payload-tree-view@1.0.3","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"dist":{"shasum":"a45398758f78b4594be81dd2f235e299ff85e4e9","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.3.tgz","fileCount":40,"integrity":"sha512-9BcgiRivVORF32Eofzg2iaVc3ia1bBF0XRqYGqJOBZedHrErpo97xtvdfPHJdMOR+J1m1knPZ4klh6OZbOXcEg==","signatures":[{"sig":"MEUCICj2DDV0tx1eYG8le1cZ3Pv3wYmfTXoBpWy6lxOqA63mAiEAhz/PI3FaEJLNq4l1diMZQPiKtA7q+7Je2NkxiQN2wgc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90219},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./rsc":{"types":"./dist/exports/rsc.d.ts","import":"./dist/exports/rsc.js","default":"./dist/exports/rsc.js"},"./client":{"types":"./dist/exports/client.d.ts","import":"./dist/exports/client.js","default":"./dist/exports/client.js"}},"gitHead":"50bd99610331ea3ad93e40c7e22058888f1d0ffe","scripts":{"lint":"eslint","test":"yarn test:int && yarn test:e2e","build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","clean":"rimraf {dist,*.tsbuildinfo}","lint:fix":"eslint ./src --fix","test:e2e":"playwright test","test:int":"vitest","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","build:types":"tsc --outDir dist --rootDir ./src"},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"repository":{"url":"git+https://github.com/byte5digital/payload-tree-view.git","type":"git"},"_npmVersion":"11.4.2","description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","directories":{},"_nodeVersion":"24.3.0","dependencies":{"qs-esm":"7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"15.4.11","open":"^10.1.0","react":"19.2.1","sharp":"0.34.2","eslint":"^9.23.0","rimraf":"3.0.2","vitest":"4.0.18","graphql":"^16.8.1","payload":"3.37.0","@swc/cli":"0.6.0","prettier":"^3.4.2","@swc/core":"^1.15.18","copyfiles":"2.4.1","cross-env":"^7.0.3","react-dom":"19.2.1","typescript":"5.7.3","@types/node":"22.19.9","@types/react":"19.2.9","@payloadcms/ui":"3.37.0","@eslint/eslintrc":"^3.2.0","@payloadcms/next":"3.37.0","@playwright/test":"1.58.2","@types/react-dom":"19.2.3","sort-package-json":"^2.10.0","@swc-node/register":"1.10.9","eslint-config-next":"15.4.11","vite-tsconfig-paths":"6.0.5","@payloadcms/db-sqlite":"3.37.0","mongodb-memory-server":"10.1.4","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/richtext-lexical":"3.37.0"},"peerDependencies":{"payload":"^3.37.0"},"_npmOperationalInternal":{"tmp":"tmp/payload-tree-view_1.0.3_1772987057555_0.2317399829480904","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@byte5digital/payload-tree-view","version":"1.0.4","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"license":"MIT","_id":"@byte5digital/payload-tree-view@1.0.4","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"dist":{"shasum":"c66a1daec934fb9b031eac5b8175cc95bb9c10e8","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.4.tgz","fileCount":40,"integrity":"sha512-KxOLBAs8UPJGY00Q0CTKL1mnA1EbRQEyQdZKjUgrpgOn+ESbtUoNAHsn+NMr/wpNsTJlOXKqpleuUsujF0RDWw==","signatures":[{"sig":"MEUCIQC3sQE4gdv9rY5uVeEHJP0awyyVWL+OYYazVXS+1pSoswIgUzTqZ0gGwePZn/9pGS0UQzD6TOCHnauSNPXZYV3aVjw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90333},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./rsc":{"types":"./dist/exports/rsc.d.ts","import":"./dist/exports/rsc.js","default":"./dist/exports/rsc.js"},"./client":{"types":"./dist/exports/client.d.ts","import":"./dist/exports/client.js","default":"./dist/exports/client.js"}},"gitHead":"50bd99610331ea3ad93e40c7e22058888f1d0ffe","scripts":{"lint":"eslint","test":"yarn test:int && yarn test:e2e","build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","clean":"rimraf {dist,*.tsbuildinfo}","lint:fix":"eslint ./src --fix","test:e2e":"playwright test","test:int":"vitest","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","build:types":"tsc --outDir dist --rootDir ./src"},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"repository":{"url":"git+https://github.com/byte5digital/payload-tree-view.git","type":"git"},"_npmVersion":"11.4.2","description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","directories":{},"_nodeVersion":"24.3.0","dependencies":{"qs-esm":"7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"15.4.11","open":"^10.1.0","react":"19.2.1","sharp":"0.34.2","eslint":"^9.23.0","rimraf":"3.0.2","vitest":"4.0.18","graphql":"^16.8.1","payload":"3.37.0","@swc/cli":"0.6.0","prettier":"^3.4.2","@swc/core":"^1.15.18","copyfiles":"2.4.1","cross-env":"^7.0.3","react-dom":"19.2.1","typescript":"5.7.3","@types/node":"22.19.9","@types/react":"19.2.9","@payloadcms/ui":"3.37.0","@eslint/eslintrc":"^3.2.0","@payloadcms/next":"3.37.0","@playwright/test":"1.58.2","@types/react-dom":"19.2.3","sort-package-json":"^2.10.0","@swc-node/register":"1.10.9","eslint-config-next":"15.4.11","vite-tsconfig-paths":"6.0.5","@payloadcms/db-sqlite":"3.37.0","mongodb-memory-server":"10.1.4","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/richtext-lexical":"3.37.0"},"peerDependencies":{"payload":"^3.37.0"},"_npmOperationalInternal":{"tmp":"tmp/payload-tree-view_1.0.4_1772987281392_0.5810900434287971","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@byte5digital/payload-tree-view","version":"1.0.5","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"license":"MIT","_id":"@byte5digital/payload-tree-view@1.0.5","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"dist":{"shasum":"a2f015cc80cfd41eddc7b062c12a0ddba229cfa9","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.5.tgz","fileCount":112,"integrity":"sha512-F5HqYTAPGsy4AqbuwDUociXPlmThstSQtkK3wSe7/l63G772uRt1lLGJX2AuIZ38lBQzzoZ5QpewK/BT9TIqkQ==","signatures":[{"sig":"MEUCICcrF9MKyEE9KBWTt00Hf39WJ35ZBP5XogCefrEEVKMSAiEA8856f+ZV02FxC8sfOKAw6+qOpiGPaSJqVMfCbIzSadQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1025257},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./rsc":{"types":"./dist/exports/rsc.d.ts","import":"./dist/exports/rsc.js","default":"./dist/exports/rsc.js"},"./client":{"types":"./dist/exports/client.d.ts","import":"./dist/exports/client.js","default":"./dist/exports/client.js"}},"scripts":{"lint":"eslint","test":"yarn test:int && yarn test:e2e","build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","clean":"rimraf {dist,*.tsbuildinfo}","lint:fix":"eslint ./src --fix","test:e2e":"playwright test","test:int":"vitest","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","build:types":"tsc --outDir dist --rootDir ./src"},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"repository":{"url":"git+https://github.com/byte5digital/payload-tree-view.git","type":"git"},"description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2025 byte5digital GmbH\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"qs-esm":"7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"15.4.11","open":"^10.1.0","react":"19.2.1","sharp":"0.34.2","eslint":"^9.23.0","rimraf":"3.0.2","vitest":"4.0.18","graphql":"^16.8.1","payload":"3.37.0","@swc/cli":"0.6.0","prettier":"^3.4.2","@swc/core":"^1.15.18","copyfiles":"2.4.1","cross-env":"^7.0.3","react-dom":"19.2.1","typescript":"5.7.3","@types/node":"22.19.9","@types/react":"19.2.9","@payloadcms/ui":"3.37.0","@eslint/eslintrc":"^3.2.0","@payloadcms/next":"3.37.0","@playwright/test":"1.58.2","@types/react-dom":"19.2.3","sort-package-json":"^2.10.0","@swc-node/register":"1.10.9","eslint-config-next":"15.4.11","vite-tsconfig-paths":"6.0.5","@payloadcms/db-sqlite":"3.37.0","mongodb-memory-server":"10.1.4","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/richtext-lexical":"3.37.0"},"peerDependencies":{"payload":"^3.37.0"},"_npmOperationalInternal":{"tmp":"tmp/payload-tree-view_1.0.5_1772996115917_0.05285435725395593","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@byte5digital/payload-tree-view","version":"1.0.6","description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","license":"MIT","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"homepage":"https://github.com/byte5digital/payload-tree-view#readme","repository":{"type":"git","url":"git+https://github.com/byte5digital/payload-tree-view.git"},"bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./client":{"import":"./dist/exports/client.js","types":"./dist/exports/client.d.ts","default":"./dist/exports/client.js"},"./rsc":{"import":"./dist/exports/rsc.js","types":"./dist/exports/rsc.d.ts","default":"./dist/exports/rsc.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"yarn clean && yarn copyfiles && yarn build:types && yarn build:swc","build:swc":"swc ./src -d ./dist --config-file .swcrc --strip-leading-paths","build:types":"tsc --outDir dist --rootDir ./src","clean":"rimraf {dist,*.tsbuildinfo}","copyfiles":"copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/","lint":"eslint","lint:fix":"eslint ./src --fix","test":"yarn test:int && yarn test:e2e","test:e2e":"playwright test","test:int":"vitest","pack":"yarn build && npm pack"},"devDependencies":{"@eslint/eslintrc":"^3.2.0","@payloadcms/db-mongodb":"3.37.0","@payloadcms/db-postgres":"3.37.0","@payloadcms/db-sqlite":"3.37.0","@payloadcms/eslint-config":"3.9.0","@payloadcms/next":"3.37.0","@payloadcms/richtext-lexical":"3.37.0","@payloadcms/ui":"3.37.0","@playwright/test":"1.58.2","@swc-node/register":"1.10.9","@swc/cli":"0.6.0","@swc/core":"^1.15.18","@types/node":"22.19.9","@types/react":"19.2.9","@types/react-dom":"19.2.3","copyfiles":"2.4.1","cross-env":"^7.0.3","eslint":"^9.23.0","eslint-config-next":"15.4.11","graphql":"^16.8.1","mongodb-memory-server":"10.1.4","next":"15.4.11","open":"^10.1.0","payload":"3.37.0","prettier":"^3.4.2","react":"19.2.1","react-dom":"19.2.1","rimraf":"3.0.2","sharp":"0.34.2","sort-package-json":"^2.10.0","typescript":"5.7.3","vite-tsconfig-paths":"6.0.5","vitest":"4.0.18"},"peerDependencies":{"payload":"^3.37.0"},"engines":{"node":"^18.20.2 || >=20.9.0","yarn":">=1.22.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"qs-esm":"7.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2025 byte5digital GmbH\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@byte5digital/payload-tree-view@1.0.6","dist":{"shasum":"a0a97202d6b2b17fe6933558583f4f39c8141dc5","integrity":"sha512-gViEAsdc8L10ekHj1AMQczyjoX1zn8z2cdVoxcYwMWNLQG06RpzG/N/sbLnkOgb/dq9cE0ANsaHHQUwvrRQsLA==","tarball":"https://registry.npmjs.org/@byte5digital/payload-tree-view/-/payload-tree-view-1.0.6.tgz","fileCount":114,"unpackedSize":1428466,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBJxJV154RrV6UoHQ5F5BaJ+jRkYEJBuTAD2uxe1F+BkAiBmJLmNqRrxSoAK9ibBuMoVu8E36NOmlzjWT4jR37YpvA=="}]},"_npmUser":{"name":"connyscode","email":"concode@outlook.de"},"directories":{},"maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/payload-tree-view_1.0.6_1773000177599_0.11925984300858228"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-07T11:56:57.707Z","modified":"2026-03-08T20:02:57.971Z","1.0.0":"2026-03-07T11:56:57.914Z","1.0.1":"2026-03-07T12:04:39.741Z","1.0.2":"2026-03-07T13:00:07.435Z","1.0.3":"2026-03-08T16:24:17.710Z","1.0.4":"2026-03-08T16:28:01.555Z","1.0.5":"2026-03-08T18:55:16.114Z","1.0.6":"2026-03-08T20:02:57.822Z"},"bugs":{"url":"https://github.com/byte5digital/payload-tree-view/issues"},"license":"MIT","homepage":"https://github.com/byte5digital/payload-tree-view#readme","keywords":["payload","payloadcms","payload-plugin","tree-view","hierarchical","nested","parent-child","cms"],"repository":{"type":"git","url":"git+https://github.com/byte5digital/payload-tree-view.git"},"description":"A Payload CMS plugin that replaces the default list view with a hierarchical tree view for collections with self-referencing parent fields","maintainers":[{"name":"connyscode","email":"concode@outlook.de"}],"readme":"# Payload Tree View\n\nA [Payload CMS](https://payloadcms.com) plugin that replaces the default list view with a hierarchical tree view for collections that have self-referencing parent fields.\n\nBuilt for Payload v3.37+.\n\n<!-- ![Tree View](./docs/screenshots/tree-view.png) -->\n\n## Installation\n\n```bash\nnpm install @byte5digital/payload-tree-view\n# or\nyarn add @byte5digital/payload-tree-view\n```\n\n> **Important:** After installing, you must regenerate Payload's import map for the plugin's custom components to be picked up:\n>\n> ```bash\n> yarn generate:importmap\n> ```\n\n## Usage\n\nAdd the plugin to your Payload config and specify which collections should use the tree view:\n\n```ts\nimport { buildConfig } from 'payload'\nimport { payloadTreeView } from '@byte5digital/payload-tree-view'\n\nexport default buildConfig({\n  // ...\n  plugins: [\n    payloadTreeView({\n      collections: {\n        pages: true, // uses 'parent' field by default\n        categories: {\n          parentField: 'parentCategory', // custom parent field name\n          allowToggle: false, // disable switching back to list view\n        },\n      },\n    }),\n  ],\n})\n```\n\nYour collection must have a self-referencing relationship field (e.g. a `parent` field that relates to the same collection). The plugin reads this field to build the hierarchy.\n\n## Configuration\n\n### Plugin Options\n\n| Option        | Type     | Description                                      |\n| ------------- | -------- | ------------------------------------------------ |\n| `collections` | `object` | Map of collection slugs to tree view config       |\n| `disabled`    | `boolean`| Disable the plugin without removing it            |\n\n### Per-Collection Options\n\nPass `true` to use defaults, or an object:\n\n| Option        | Type     | Default    | Description                                      |\n| ------------- | -------- | ---------- | ------------------------------------------------ |\n| `parentField` | `string` | `'parent'` | Name of the self-referencing relationship field   |\n| `allowToggle` | `boolean`| `true`     | Allow users to switch between tree and list views |\n\n## Features\n\n- Hierarchical tree view with expand/collapse controls\n- Expand all / collapse all buttons\n- Toggle between tree view and default list view (can be disabled per collection)\n- Preserves Payload's list chrome: filters, search, sorting, bulk actions, and column selection\n- View mode preference persisted in `localStorage`\n- Supports relationship fields rendered as thumbnails (upload collections)\n- Orphaned documents (with missing/deleted parents) appear as root nodes\n\n### Tree View\n\n![Tree View](./docs/screenshots/tree-view.png)\n\n## Development\n\n```bash\npnpm build        # Build the plugin\npnpm lint         # Run ESLint\npnpm lint:fix     # Fix lint issues\npnpm test:int     # Run unit tests (vitest)\npnpm test:e2e     # Run E2E tests (Playwright)\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}