{"_id":"graphile-storage-registry","_rev":"8-b5205eb193debe7d29705869bc65283a","name":"graphile-storage-registry","dist-tags":{"latest":"0.5.1"},"versions":{"0.1.0":{"name":"graphile-storage-registry","version":"0.1.0","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.1.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"3cd947d25fd05b07e9170cffd44c9858fa56a409","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.1.0.tgz","fileCount":15,"integrity":"sha512-UPusgx8zug1+bRwtAAwe6VgTpCZ7FYL3MMNc/xM5gJNZUHNd0aA7xpwCVKoXzFQBYR6KtTI1O65dP4Holqvqxw==","signatures":[{"sig":"MEYCIQD7AFnmmLj5ySdPHzTl6rpSEc7x6dD4W6cy1UsJEKwXRAIhAKgMjf4eFNiL5X+mar0yQ9ptmptFRDedvFFPU2apHe3W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35478},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"d10fe91ede80a4c2dfe2c1c6dcf6fe7193784eba","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.19.0+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.3.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.1.0_1787114808288_0.6552455378875661","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"graphile-storage-registry","version":"0.1.1","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.1.1","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"8a26a1fab4e8b715c5355a13598bd36a173f6489","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.1.1.tgz","fileCount":19,"integrity":"sha512-vVLREpVZYGU3IO4SsmcoYhhj+A66dHmb1SkcRIkTsteVZ22nM7Hi66FJ0wS+p6bbmniXX6RNJU21YoMk4+oCOg==","signatures":[{"sig":"MEYCIQDXL1K+E1jips+M5hY0p9zYdnh8sSsSXjfyT+UQISMoZwIhAL+eau4nt0TpW1XqzUuvHsDQbXTTpy4qKI+fUcAIPa5Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37831},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"7e6cc68f5659d12ec852835a7d8fcca6b05a8f50","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.19.0+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.3.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.1.1_1787795106710_0.9511391656265622","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"graphile-storage-registry","version":"0.1.2","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.1.2","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"6c5067e370794a1d6992d99bd4eb3f3dbab3fbd3","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.1.2.tgz","fileCount":19,"integrity":"sha512-HELsKIuBIrGqvtTHL4JP0ZNt1Y27IXsEZzzdU+KSl1XmYPtNAqzkV5NonEYegEsMR5/L6GOHIjtVEUZP5uxw3g==","signatures":[{"sig":"MEUCIQCTZ88i9MAH/ipWSMiYYZPhWxZZdKGZaOL0XOKERKq8+AIgaxZybaORIwdJijhYIkJV7h3n317+Hhl1ExGpA4GNRdY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37831},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"5e0bfead2856d1a062b495d343a43e543343f9b8","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.19.0+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.8.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.1.2_1788295686961_0.8379075371301545","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"graphile-storage-registry","version":"0.2.0","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.2.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"84e26b1a3c9f31af2467f34d3c2518e7953d187b","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.2.0.tgz","fileCount":19,"integrity":"sha512-4ZciGKgZ5slmn/pdBeqC5lVbOO9ZgJP7TvN8HmNdocUepO6/lmfYf9BU4FnXJCBK8dimseh44VRID2hCc+LPAw==","signatures":[{"sig":"MEUCIA/uFsHK9mh8NmtTIxKeCA7nl6pmq7F7DOGrKA/zzcpRAiEAkiKpuzlJsW3JecU34T5WNd1n/pj93xdilbexls+FkQk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCHKkACXkcWlKwrZqp7JdDqKV+MNOTndvTC7elw//h50gIgYXNuNrX8oMTojRbs3UgaVtPj7gIZz0NhByHCyfjTCCc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37831},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"baa84094b8541eb5000701b0060aa5b298032dc7","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.19.0+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.8.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.2.0_1789613464498_0.97198250667735","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"graphile-storage-registry","version":"0.3.0","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.3.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"e501f6a8bdb10ade9337b7d1dc72c7f76a4ec789","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.3.0.tgz","fileCount":19,"integrity":"sha512-HUiGX12aIdw5ZAhwL4LxYFEleVfwctF0nQsS2L2SIGwk0kdu2QiPjpDM6HKs52gCK+qXP3gPnHjsQDFFlqM3gA==","signatures":[{"sig":"MEUCIDf7bbikiDPFNm0gjgxyL2Ka5L9+2vBb0i2aqdUB05KRAiEAxJkczatCLKaWVtA6hdcdpdLuhiz/FggmIlGTptR/SL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHAFX84e82Z3L2cu39qFV03syS1H0mqr/kGaBc/dBX2uAiEA8O9dwsoFD74lnZu4f0vUuxKAP7Gndz8VjbPggjdKYgs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37831},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"487c4ec9ee997d7da80584a3d41d7120d4354c54","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.19.0+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.8.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.3.0_1792009485881_0.5496272610300641","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"graphile-storage-registry","version":"0.4.0","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.4.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"8cc2fbaec55b99236b3c78afb2074bb7504d3a65","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.4.0.tgz","fileCount":19,"integrity":"sha512-fPLGS1QfYDqSXHFGqIi2cBXLG3mP3FAyokGlbtTJ+Q5YrBG66T5dVeDV4wsxKsBWWlCEFmfQEZNbK5DrXmCiGw==","signatures":[{"sig":"MEUCIQD3K3C1icWW4mHsHOpjHgKzncr1HAYrDNzTxJqpF0TD8wIgKJB+meRO/GNsKortK0YQqJFPr6UWtvSaqHK0SWU/aSs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCID4Xmm+TeNq2of47ldl/OOrp94pQ4sV8Lpf6EH94lc1ZAiEAwrIZbPuzMsunepJT1tBQ7lIjCh8MQEBTAQLUvjGvBBw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38372},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"648ec06cb132ea41634f56991de5ba62e60d8154","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.22.1+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.22.1","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.8.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.4.0_1794185091694_0.6760472930847152","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"graphile-storage-registry","version":"0.5.0","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"graphile-storage-registry@0.5.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/constructive","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"ef0de2c890d4a42ab86ec5b3a30ff5adad45418c","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.5.0.tgz","fileCount":19,"integrity":"sha512-ug3pl4Xlk++M6gcGVLm6/JKHxBjPnwqHFOGvhdmWZ9yS8Je935B6f6ABjtl3e5j2BX1PamEkjlO6pO5Wary2DA==","signatures":[{"sig":"MEQCIFDv7sp6qXbeRkIhiGxnMogbzy3AQyZe+nZh4cQkb3DvAiBf9WHn8ej7nQBin1jm9lmpv0KgsEqRZg5nNnaRB0uOpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC+XvaCJkpaKH+KkhArkib8Z5omr9kHI1zDZVE4SrrpnAIhAMwOi/QoJOgpLwH55Fv783jqJS9RBXPkuC76yom15eqh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40235},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"7e76a11316927407d054c3c4b3f6cfbfeae4440a","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","prepack":"npm run build","build:dev":"makage build --dev","test:watch":"jest --watch"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/constructive","type":"git"},"_npmVersion":"lerna/8.2.4/node@v24.22.1+arm64 (darwin)","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"_nodeVersion":"24.22.1","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.8.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"tmp":"tmp/graphile-storage-registry_0.5.0_1794865543997_0.39072485282095615","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"_id":"graphile-storage-registry@0.5.1","bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"dist":{"shasum":"9fa83b9d03e891761bd5c9111465de38914e3e3d","tarball":"https://registry.npmjs.org/graphile-storage-registry/-/graphile-storage-registry-0.5.1.tgz","fileCount":19,"integrity":"sha512-DCxXwXuEOIbmsJy9U3rIlBJ3+/qg6sNW2Lc0H+XKluNAn6IZrQ6I7dWHq6q/X8ENiSeM/XtZMXSC63T3S+Jcag==","signatures":[{"sig":"MEQCIHF+1VXuq5JXoJNC/XXBT/wLkWyOV+YlqGFiUtDxoerFAiBJeW7z4TiGq7kRJYacq71hYY0SGE0LCCUmQv9pWcXHgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGt8pxFuuRz6lDugfrqwhCY4u5CvxNtr6O/f4uLlfc7cAiEAtrvLE+hXSPyce39sO4ZPZRf8/kuLTDXFmMRTIRIgzn4="}],"unpackedSize":40145},"main":"index.js","name":"graphile-storage-registry","_from":"file:/tmp/packs-dwwjMq/graphile-storage-registry-0.5.1.tgz","types":"index.d.ts","author":{"name":"Constructive","email":"developers@constructive.io"},"module":"esm/index.js","license":"MIT","scripts":{"lint":"eslint . --fix","test":"jest","build":"makage build","clean":"makage clean","build:dev":"makage build --dev","test:watch":"jest --watch"},"version":"0.5.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"fcf8c29e-2f9d-415d-9af1-c6a6ab6edf15"}},"homepage":"https://github.com/constructive-io/constructive","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"_resolved":"/tmp/packs-dwwjMq/graphile-storage-registry-0.5.1.tgz","_integrity":"sha512-DCxXwXuEOIbmsJy9U3rIlBJ3+/qg6sNW2Lc0H+XKluNAn6IZrQ6I7dWHq6q/X8ENiSeM/XtZMXSC63T3S+Jcag==","repository":{"url":"git+https://github.com/constructive-io/constructive.git","type":"git"},"_npmVersion":"11.21.3","description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","directories":{},"maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"_nodeVersion":"24.22.3","publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.8.0","@types/node":"^22.19.11"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/graphile-storage-registry_0.5.1_1795410561225_0.5325191267657979"}}},"time":{"created":"2026-08-19T04:46:48.061Z","modified":"2026-11-23T05:09:21.512Z","0.1.0":"2026-08-19T04:46:48.435Z","0.1.1":"2026-08-27T01:45:06.855Z","0.1.2":"2026-09-01T20:48:07.104Z","0.2.0":"2026-09-17T02:51:04.583Z","0.3.0":"2026-10-14T20:24:45.960Z","0.4.0":"2026-11-09T00:44:51.781Z","0.5.0":"2026-11-16T21:45:44.085Z","0.5.1":"2026-11-23T05:09:21.322Z"},"bugs":{"url":"https://github.com/constructive-io/constructive/issues"},"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","homepage":"https://github.com/constructive-io/constructive","keywords":["postgraphile","graphile","constructive","storage","registry","plugin","postgres","graphql"],"repository":{"url":"git+https://github.com/constructive-io/constructive.git","type":"git"},"description":"Registry-derived storage plane discovery for PostGraphile v5 — pairs @storageFiles/@storageBuckets codecs through their actual foreign-key relations and derives the canonical upload surface names, so no table name is ever load-bearing","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"readme":"# graphile-storage-registry\n\nRegistry-derived storage plane discovery for PostGraphile v5.\n\nA storage plane is a `@storageFiles` table and the `@storageBuckets` table it\nwrites into. This package pairs them through their **actual foreign-key\nrelations** in the Graphile registry (`pgRegistry.pgRelations`) — never through\ntable names — and derives the canonical upload surface names from the schema's\nown inflection, so no physical name is ever load-bearing.\n\n## Usage\n\n```ts\nimport { discoverStoragePlanes, uploadSurfaceNames } from 'graphile-storage-registry';\n\nconst planes = discoverStoragePlanes(build.input.pgRegistry);\nfor (const plane of planes) {\n  const names = uploadSurfaceNames(build.inflection, plane.filesCodec);\n  // names.uploadMutation === 'uploadAppFile', names.bulkUploadMutation === 'uploadAppFiles', …\n}\n```\n\n`discoverStoragePlanes` throws at schema build when a tagged storage table\ncannot be paired:\n\n- `STORAGE_PLANE_UNPAIRED` — a `@storageFiles` table with no FK to a\n  `@storageBuckets` table, or a `@storageBuckets` table referenced by no files\n  table.\n- `STORAGE_PLANE_AMBIGUOUS` — a files table with FKs to more than one buckets\n  table.\n\nA plane is entity-keyed when its buckets table carries an `owner_id` attribute\n(`plane.hasOwnerId`) — a registry fact, never inferred from the plane's scope\nname.\n\n---\n\n## Education and Tutorials\n\n 1. 🚀 [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart)\nGet started with modular databases in minutes. Install prerequisites and deploy your first module.\n\n 2. 📦 [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres)\nLearn to organize PostgreSQL projects with pgpm workspaces and reusable database modules.\n\n 3. ✏️ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes)\nMaster the workflow for adding, organizing, and managing database changes with pgpm.\n\n 4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing)\nMaster end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.\n\n 5. ⚡ [Supabase Testing](https://constructive.io/learn/supabase)\nUse TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.\n\n 6. 💧 [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing)\nRun full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.\n\n 7. 🔧 [Troubleshooting](https://constructive.io/learn/troubleshooting)\nCommon issues and solutions for pgpm, PostgreSQL, and testing.\n\n## Related Constructive Tooling\n\n### 📦 Package Management\n\n* [pgpm](https://github.com/constructive-io/constructive/tree/main/pgpm/pgpm): **🖥️ PostgreSQL Package Manager** for modular Postgres development. Works with database workspaces, scaffolding, migrations, seeding, and installing database packages.\n\n### 🧪 Testing\n\n* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.\n* [pglite-test](https://github.com/constructive-io/constructive/tree/main/postgres/pglite-test): **🪶 Drop-in pgsql-test replacement backed by PGlite** — in-process Postgres, no server required, instance-per-suite isolation.\n* [pgsql-seed](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-seed): **🌱 PostgreSQL seeding utilities** for CSV, JSON, SQL data loading, and pgpm deployment.\n* [supabase-test](https://github.com/constructive-io/constructive/tree/main/postgres/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.\n* [graphile-test](https://github.com/constructive-io/constructive/tree/main/graphile/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.\n* [pg-query-context](https://github.com/constructive-io/constructive/tree/main/postgres/pg-query-context): **🔒 Session context injection** to add session-local context (e.g., `SET LOCAL`) into queries—ideal for setting `role`, `jwt.claims`, and other session settings.\n\n### 🧠 Parsing & AST\n\n* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): **🔄 SQL conversion engine** that interprets and converts PostgreSQL syntax.\n* [libpg-query-node](https://www.npmjs.com/package/libpg-query): **🌉 Node.js bindings** for `libpg_query`, converting SQL into parse trees.\n* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): **📦 Protobuf parser** for parsing PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.\n* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **🏷️ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.\n* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.\n* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.\n\n### 📚 Documentation & Skills\n\n* [constructive-skills](https://github.com/constructive-io/constructive-skills): **📖 Platform documentation and AI agent skills** — feature catalog, blueprint reference, SDK guides (i18n, billing, limits, events, uploads, security, entities, search, AI), and deployment guides.\n\nInstall skills for AI coding agents:\n\n```bash\n# All platform skills (security, blueprints, codegen, billing, etc.)\nnpx skills add constructive-io/constructive-skills\n\n# Individual repo skills (pgpm, safegres, testing, CLI, search, etc.)\nnpx skills add constructive-io/constructive --skill pgpm\nnpx skills add constructive-io/constructive --skill safegres\nnpx skills add constructive-io/constructive --skill constructive-testing\n```\n\n## Credits\n\n**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**\n\n## Disclaimer\n\nAS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED \"AS IS\", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.\n\nNo developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.\n","readmeFilename":"README.md"}