{"_id":"@data-prism/graph","_rev":"1-79994ac9a747023d4d7e38a968662f65","name":"@data-prism/graph","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@data-prism/graph","version":"0.0.1","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"scripts":{"build":"tsc -p ./tsconfig.json","test":"NODE_ENV=test vitest"},"keywords":[],"author":{"name":"Jake Sower"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","eslint":"^8.41.0","eslint-config-prettier":"^8.8.0","eslint-config-standard":"^17.1.0","prettier":"^3.1.1","typescript":"^5.1.3","typescript-eslint":"^0.0.1-alpha.0","vitest":"^0.31.4"},"publishConfig":{"access":"public"},"private":false,"dependencies":{"@data-prism/expressions":"^0.0.9","@data-prism/utils":"^0.0.5","lodash-es":"^4.17.21"},"_id":"@data-prism/graph@0.0.1","gitHead":"81ce085436dddf3b2a98b629f722f8d2afdb1c85","description":"Query breakdowns are a useful way of viewing nested queries. They present the root query and each subquery in a single array that can be manipulated for such things as query building. It's helpful to not have to navigate a tree structure in every situatio","_nodeVersion":"18.15.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Wrk1Phtndg2vBa0CSfQyEKoudZpfjvoZTl/rjgjitJVk8H64RIUfSDuCZMdfdFuLx8XJ/emlHUne5SAF8y5oSg==","shasum":"6a5a482f4d815794c3f68397e6a64f8170377534","tarball":"https://registry.npmjs.org/@data-prism/graph/-/graph-0.0.1.tgz","fileCount":67,"unpackedSize":297015,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDka56TtPUXC+K7Zm4Mv2donp4WFmA7/3gIzZstgDiq/AIhAPKj+m5lFyJkFNTH5cS3+P7spD36pr0EX68b05iJbw7Q"}]},"_npmUser":{"name":"blossomlib","email":"kind.salt4683@fastmail.com"},"directories":{},"maintainers":[{"name":"blossomlib","email":"kind.salt4683@fastmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph_0.0.1_1703174648348_0.03901245311408874"},"_hasShrinkwrap":false},"0.0.2":{"name":"@data-prism/graph","version":"0.0.2","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"scripts":{"build":"tsc -p ./tsconfig.json","test":"NODE_ENV=test vitest"},"keywords":[],"author":{"name":"Jake Sower"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","eslint":"^8.41.0","eslint-config-prettier":"^8.8.0","eslint-config-standard":"^17.1.0","prettier":"^3.1.1","typescript":"^5.1.3","typescript-eslint":"^0.0.1-alpha.0","vitest":"^0.31.4"},"publishConfig":{"access":"public"},"private":false,"dependencies":{"@data-prism/expressions":"^0.0.9","@data-prism/utils":"^0.0.5","lodash-es":"^4.17.21"},"_id":"@data-prism/graph@0.0.2","gitHead":"81ce085436dddf3b2a98b629f722f8d2afdb1c85","description":"Query breakdowns are a useful way of viewing nested queries. They present the root query and each subquery in a single array that can be manipulated for such things as query building. It's helpful to not have to navigate a tree structure in every situatio","_nodeVersion":"18.15.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-FzchQqAxUm9Wh/iz0rpg/cXnjEpRC+WFUlcVyw9f3JGnwWgWhZF3dmGy/CMDb0ozHt2G2YJEBr8NNONW3MvKig==","shasum":"af3c5c96db9a458fe14ee9f884c7171619b03ff7","tarball":"https://registry.npmjs.org/@data-prism/graph/-/graph-0.0.2.tgz","fileCount":35,"unpackedSize":164675,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVecPoDpxjv/4CXIntY/ax8eOUc+sS/HPUpW9yt/0JLgIgUZniifgCUrJrxGXIlPb12AtZgxJXjNOJMSrEPzh4YJw="}]},"_npmUser":{"name":"blossomlib","email":"kind.salt4683@fastmail.com"},"directories":{},"maintainers":[{"name":"blossomlib","email":"kind.salt4683@fastmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph_0.0.2_1703176840342_0.24219108764384334"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-21T16:04:08.245Z","0.0.1":"2023-12-21T16:04:08.513Z","modified":"2023-12-21T16:40:40.827Z","0.0.2":"2023-12-21T16:40:40.516Z"},"maintainers":[{"name":"blossomlib","email":"kind.salt4683@fastmail.com"}],"description":"Query breakdowns are a useful way of viewing nested queries. They present the root query and each subquery in a single array that can be manipulated for such things as query building. It's helpful to not have to navigate a tree structure in every situatio","keywords":[],"author":{"name":"Jake Sower"},"readme":"## Query Breakdown\n\nQuery breakdowns are a useful way of viewing nested queries. They present the root query and each subquery in a single array that can be manipulated for such things as query building. It's helpful to not have to navigate a tree structure in every situation.\n\nThey have the following fields:\n\n- **isRefQuery**: The subquery should return a resource ref.\n- **parent**: The parent query to the subquery. `null` for the root query.\n- **parentRelationship**: The name of the relationship traversed on the parent to this subquery. `null` for the root query.\n- **path**: An array of traversed relationships to the current subquery, e.g. `[\"relationship_a\", \"relationship_b\"]`. An empty array for the root query.\n- **properties**: The non-relationship properties to be selected.\n- **query**: The subquery.\n- **relationships**: The relationships subqueries to be selected.\n- **type**: The type of the resource for this subquery.\n","readmeFilename":"README.md"}