process-graph 1.0.6 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +85 -17
  2. package/dist/bin.d.ts +1 -0
  3. package/dist/bin.js +92 -0
  4. package/dist/cli.d.ts +512 -0
  5. package/dist/cli.js +3 -0
  6. package/dist/control-aDk9560d.js +294 -0
  7. package/dist/detail-panel-B1ZmMuJT.js +341 -0
  8. package/dist/dist-BpCBmnMl.js +582 -0
  9. package/dist/dist-HLlW8vgT.js +1388 -0
  10. package/dist/dist-IjrgWhHQ.js +3 -0
  11. package/dist/errors-BZe5WzCn.js +19 -0
  12. package/dist/exit-codes-0ultCqdS.js +23 -0
  13. package/dist/graphql-C1j5wQFz.d.ts +631 -0
  14. package/dist/index-CCfe0csl.d.ts +353 -0
  15. package/dist/index-CmZOswkx.d.ts +512 -0
  16. package/dist/index-CoA6vXqe.d.ts +404 -0
  17. package/dist/index-CptUHq6F.d.ts +58 -0
  18. package/dist/index-CrM5qWUA.d.ts +110 -0
  19. package/dist/index-DhbvDgK4.d.ts +1582 -0
  20. package/dist/index-DricKcyl.d.ts +421 -0
  21. package/dist/index.d.ts +111 -4
  22. package/dist/index.js +929 -5
  23. package/dist/layout-CCM-KBdp.js +307 -0
  24. package/dist/layout.d.ts +8 -0
  25. package/dist/layout.js +2 -0
  26. package/dist/node-AchI1T-K.js +40 -0
  27. package/dist/open-CyRXJ4bt.js +29 -0
  28. package/dist/parse-CuipC_2K.js +41 -0
  29. package/dist/queries-CCexJAE2.js +2202 -0
  30. package/dist/react-flow/style.css +658 -0
  31. package/dist/react-flow.d.ts +173 -0
  32. package/dist/react-flow.js +450 -0
  33. package/dist/react.d.ts +2 -0
  34. package/dist/react.js +107 -0
  35. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  36. package/dist/router-D4gtTlXm.js +188 -0
  37. package/dist/schema-CVnS6HiX.js +234 -0
  38. package/dist/selection-BW_xXWOy.js +314 -0
  39. package/dist/source/github/node.d.ts +16 -0
  40. package/dist/source/github/node.js +2 -0
  41. package/dist/source/github.d.ts +49 -0
  42. package/dist/source/github.js +201 -0
  43. package/dist/source-DRDpEA8Q.js +1316 -0
  44. package/dist/status-Bm1CGu9C.js +11 -0
  45. package/dist/store/node.d.ts +24 -0
  46. package/dist/store/node.js +2 -0
  47. package/dist/store/wasm/worker.d.ts +16 -0
  48. package/dist/store/wasm/worker.js +98 -0
  49. package/dist/store/wasm.d.ts +9 -0
  50. package/dist/store/wasm.js +11 -0
  51. package/dist/store-BcR70CaO.js +1287 -0
  52. package/dist/store.d.ts +1328 -0
  53. package/dist/store.js +238 -0
  54. package/dist/ui/style.css +351 -0
  55. package/dist/ui.d.ts +235 -0
  56. package/dist/ui.js +2 -0
  57. package/dist/validate-DF3mQZww.js +125 -0
  58. package/package.json +148 -13
@@ -0,0 +1,3 @@
1
+ import "./exit-codes-0ultCqdS.js";
2
+ import { i as runProcess, r as packageVersion } from "./dist-HLlW8vgT.js";
3
+ export { packageVersion, runProcess };
@@ -0,0 +1,19 @@
1
+ //#region ../../core/graph/source-contract/dist/errors.js
2
+ /**
3
+ * Thrown by a `GraphSourcePager` to end a call with a typed failure. `createGraphSourceRouter` turns it into the contract's matching oRPC error, so it reaches a client over any transport as `UNAUTHORIZED`, `TOO_MANY_REQUESTS` or `BAD_REQUEST` with its data.
4
+ */
5
+ var GraphSourceError = class extends Error {
6
+ /** The failure, with the detail a caller branches on. */
7
+ failure;
8
+ /**
9
+ * @param failure - The failure this error carries; its `message` becomes the error's message.
10
+ * @param options - Standard error options: `cause` is the underlying error, when there is one.
11
+ */
12
+ constructor(failure, options) {
13
+ super(failure.message, options);
14
+ this.name = "GraphSourceError";
15
+ this.failure = failure;
16
+ }
17
+ };
18
+ //#endregion
19
+ export { GraphSourceError as t };
@@ -0,0 +1,23 @@
1
+ //#region ../graph-cli/dist/exit-codes.js
2
+ /**
3
+ * The exit status of every command, by meaning. A script tells the outcomes apart without reading the output: a model with problems is not a failure to run, and neither is an element that does not exist.
4
+ *
5
+ * - `success`: the command did what it was asked, and for `validate` and `cycles`, found nothing wrong.
6
+ * - `failure`: anything not listed below, such as a store that cannot be opened.
7
+ * - `usage`: the command line is wrong: an unknown command or option, a missing argument, a value outside its choices.
8
+ * - `notFound`: the model, an element or another identifier named on the command line does not exist.
9
+ * - `invalidModel`: the model has problems: `validate` found issues, `cycles` found an illegal cycle, a reasoning command met an illegal cycle, or the store rejected a change that would leave the model invalid.
10
+ * - `sourceFailure`: a source refused the sync: bad credentials, a rate limit or a scope it does not accept.
11
+ * - `missingPeers`: the `process-graph` bin could not start because optional peer dependencies the command line needs are not installed beside it.
12
+ */
13
+ const exitCodes = {
14
+ success: 0,
15
+ failure: 1,
16
+ usage: 2,
17
+ notFound: 3,
18
+ invalidModel: 4,
19
+ sourceFailure: 5,
20
+ missingPeers: 6
21
+ };
22
+ //#endregion
23
+ export { exitCodes as t };