netlify-onegraph-internal
TypeScript icon, indicating that this package has built-in type declarations

0.10.1 • Public • Published

Netlify internal helpers for OneGraph

Install

npm install netlify-onegraph-internal

Example

import { OneGraphClient } from "netlify-onegraph-internal";

console.log(OneGraphClient);

Developing

  • While the multi-file branch in the CLI isn't ready:
  1. Update the GraphQL schema with:
$ npx get-graphql-schema "https://graph.netlify.com/graphql?app_id=NETLIFY_SITE_ID"
  1. Add a new .graphql file under ./netlify/functions/netlifyGraph/operations
  2. Don't forget to add a @netlify(id: SOME_UUID) directive to the operation
  3. run cat ./netlify/functions/netlifyGraph/operations/* > operations.graphql` to bundle all the operations into a single file
  4. run ntl graph:library

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.10.110,451latest

Version History

VersionDownloads (Last 7 Days)Published
0.10.110,451
0.10.0166
0.9.01
0.8.71,460
0.8.61
0.8.51
0.8.41
0.8.31
0.8.21
0.8.14
0.8.01
0.7.11
0.7.01
0.6.21
0.6.11
0.6.01
0.5.01
0.4.24
0.4.1218
0.4.01
0.3.107
0.3.91
0.3.87
0.3.71
0.3.619
0.3.51
0.3.41
0.3.31
0.3.21
0.3.1771
0.3.01
0.2.21
0.2.12
0.2.00
0.1.181
0.1.171
0.1.161
0.1.151
0.1.141
0.1.131
0.1.121
0.1.111
0.1.101
0.1.91
0.1.81
0.1.71
0.1.61
0.1.51
0.1.41
0.1.31
0.1.21
0.1.11
0.1.01
0.0.50726
0.0.491
0.0.481
0.0.471
0.0.461
0.0.451
0.0.441
0.0.431
0.0.426
0.0.411
0.0.401
0.0.391
0.0.3710
0.0.361
0.0.351
0.0.341
0.0.331
0.0.32625
0.0.311
0.0.301
0.0.281
0.0.271
0.0.261
0.0.251
0.0.241
0.0.231
0.0.221
0.0.211
0.0.20-beta.11
0.0.1831
0.0.17-dev.12
0.0.1647
0.0.152
0.0.141
0.0.131
0.0.121
0.0.111
0.0.101
0.0.91
0.0.81
0.0.71
0.0.61
0.0.51
0.0.41
0.0.31
0.0.21
0.0.11

Package Sidebar

Install

npm i netlify-onegraph-internal

Weekly Downloads

11,641

Version

0.10.1

License

MIT

Unpacked Size

549 kB

Total Files

65

Last publish

Collaborators

  • sgrove
  • anmonteiro