🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@valueflows/vf-graphql

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@valueflows/vf-graphql - npm Package Compare versions

Comparing version

to
0.4.1

71

build/mutation.js

@@ -715,2 +715,23 @@

# interface UnitParams {
# label: String
# symbol: String
# }
input UnitCreateParams { # implements UnitParams
label: String!
symbol: String!
}
input UnitUpdateParams { # implements UpdateParams & UnitParams
id: ID!
label: String
symbol: String
}
type UnitResponse {
unit: Unit
}
# interface ResourceSpecificationParams {

@@ -739,2 +760,23 @@ # name: String

# interface ProcessSpecificationParams {
# name: String
# note: String
# }
input ProcessSpecificationCreateParams { # implements ProcessSpecificationParams
name: String!
note: String
}
input ProcessSpecificationUpdateParams { # implements UpdateParams & ProcessSpecificationParams
id: ID!
name: String
note: String
}
type ProcessSpecificationResponse {
processSpecification: ProcessSpecification
}
# interface RecipeResourceParams {

@@ -803,23 +845,2 @@ # name: String

# interface ProcessSpecificationParams {
# name: String
# note: String
# }
input ProcessSpecificationCreateParams { # implements ProcessSpecificationParams
name: String!
note: String
}
input ProcessSpecificationUpdateParams { # implements UpdateParams & ProcessSpecificationParams
id: ID!
name: String
note: String
}
type ProcessSpecificationResponse {
processSpecification: ProcessSpecification
}
# interface RecipeFlowParams {

@@ -1009,2 +1030,6 @@ # action: Action

createUnit(unit: UnitCreateParams): UnitResponse
updateUnit(unit: UnitUpdateParams): UnitResponse
deleteUnit(id: String!): Boolean
createResourceSpecification(resourceSpecification: ResourceSpecificationCreateParams): ResourceSpecificationResponse

@@ -1014,2 +1039,6 @@ updateResourceSpecification(resourceSpecification: ResourceSpecificationUpdateParams): ResourceSpecificationResponse

createProcessSpecification(processSpecification: ProcessSpecificationCreateParams): ProcessSpecificationResponse
updateProcessSpecification(processSpecification: ProcessSpecificationUpdateParams): ProcessSpecificationResponse
deleteProcessSpecification(id: String!): Boolean
createRecipeFlow(recipeFlow: RecipeFlowCreateParams): RecipeFlowResponse

@@ -1016,0 +1045,0 @@ updateRecipeFlow(recipeFlow: RecipeFlowUpdateParams): RecipeFlowResponse

{
"name": "@valueflows/vf-graphql",
"version": "0.4.0",
"version": "0.4.1",
"description": "Reference GraphQL implementation of the ValueFlows spec",

@@ -22,3 +22,3 @@ "main": "index.js",

"build": "mkdir build; graphql-codegen --config scripts/codegen.yml; node scripts/build.js",
"prepublish": "npm run build"
"prepare": "npm run build"
},

@@ -25,0 +25,0 @@ "watch": {

@@ -7,3 +7,4 @@ # vf-graphql

- [Setup](#setup)
- [Implementing](#implementing)
- [Development setup](#development-setup)
- [Prerequisites](#prerequisites)

@@ -15,3 +16,2 @@ - [Initialising for development](#initialising-for-development)

- [Publishing to NPM](#publishing-to-npm)
- [Implementing](#implementing)
- [License](#license)

@@ -25,4 +25,17 @@

## Setup
## Implementing
To implement a system gateway compatible with the ValueFlows spec, you will need to define the following:
- An [implementation object](https://www.apollographql.com/docs/graphql-tools/generate-schema.html) for resolving all relationship fields, to be passed to `makeExecutableSchema` along with the `schema` definition exported by this module
- [Scalar type resolvers](https://www.apollographql.com/docs/graphql-tools/scalars.html) for the ISO8601 `DateTime` & `DateInterval` types
For a more detailed example, see the project in `./mock-server/`.
## Development setup
### Prerequisites

@@ -68,16 +81,5 @@

## Implementing
To implement a system gateway compatible with the ValueFlows spec, you will need to define the following:
- An [implementation object](https://www.apollographql.com/docs/graphql-tools/generate-schema.html) for resolving all relationship fields, to be passed to `makeExecutableSchema` along with the `schema` definition exported by this module
- [Scalar type resolvers](https://www.apollographql.com/docs/graphql-tools/scalars.html) for the ISO8601 `DateTime` & `DateInterval` types
For a more detailed example, see the project in `./mock-server/`.
## License
Released under an Apache 2.0 license.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet