@kfarranger/schema
Advanced tools
@@ -86,3 +86,3 @@ "use strict"; | ||
return type.typeDefs; | ||
}), "\n\n enum SetActionTypes {\n CREATE\n DELETE\n UPDATE\n }\n \n enum SetSubActionTypes {\n RENAME_TAG\n ADD_IDS\n REMOVE_IDS\n }\n\n enum SetSourceType {\n QUERY\n SAVE_SET\n }\n \n input SetUpdateInputData {\n type: String,\n sqon: JSON,\n path: String,\n newTag: String\n }\n \n input SetUpdateSource {\n sourceType: SetSourceType!\n }\n \n input SetUpdateTarget {\n setId: String!,\n }\n\n type UpdateSetResult {\n setSize: Int\n updatedResults: Int!\n }\n\n type Mutation {\n saveSet(type: String! userId: String sqon: JSON! path: String! sort: [Sort] refresh: EsRefresh tag: String): Set\n deleteSets(setIds: [String!] userId: String!): Int\n updateSet(source: SetUpdateSource! data: SetUpdateInputData! subAction: SetSubActionTypes! userId: String! target: SetUpdateTarget!): UpdateSetResult\n ").concat(enableAdmin ? "saveAggsState(graphqlField: String! state: JSON!): AggsState\n saveColumnsState(graphqlField: String! state: JSON!): ColumnsState\n saveMatchBoxState(graphqlField: String! state: JSON!): MatchBoxState" : "", "\n }\n\n schema {\n query: Root\n mutation: Mutation\n }\n"); | ||
}), "\n\n enum SetActionTypes {\n CREATE\n DELETE\n UPDATE\n }\n \n enum SetSubActionTypes {\n RENAME_TAG\n ADD_IDS\n REMOVE_IDS\n }\n\n enum SetSourceType {\n QUERY\n SAVE_SET\n }\n \n input SetUpdateInputData {\n type: String,\n sqon: JSON,\n path: String,\n newTag: String\n }\n \n input SetUpdateSource {\n sourceType: SetSourceType!\n }\n \n input SetUpdateTarget {\n setId: String!,\n }\n\n type UpdateSetResult {\n setSize: Int\n updatedResults: Int!\n }\n\n type Mutation {\n saveSet(type: String! userId: String sqon: JSON! path: String! sort: [Sort] refresh: EsRefresh tag: String): Set\n deleteSets(setIds: [String!]): Int\n updateSet(source: SetUpdateSource! data: SetUpdateInputData! subAction: SetSubActionTypes! target: SetUpdateTarget!): UpdateSetResult\n ").concat(enableAdmin ? "saveAggsState(graphqlField: String! state: JSON!): AggsState\n saveColumnsState(graphqlField: String! state: JSON!): ColumnsState\n saveMatchBoxState(graphqlField: String! state: JSON!): MatchBoxState" : "", "\n }\n\n schema {\n query: Root\n mutation: Mutation\n }\n"); | ||
}; | ||
@@ -343,10 +343,10 @@ | ||
types: types, | ||
callback: callbacks === null || callbacks === void 0 ? void 0 : callbacks.saveSet | ||
postProcessCb: callbacks === null || callbacks === void 0 ? void 0 : callbacks.postProcessSets | ||
}), | ||
deleteSets: (0, _mappingUtils.deleteSets)({ | ||
callback: callbacks === null || callbacks === void 0 ? void 0 : callbacks.saveSet | ||
postProcessCb: callbacks === null || callbacks === void 0 ? void 0 : callbacks.postProcessSets | ||
}), | ||
updateSet: (0, _mappingUtils.updateSet)({ | ||
types: types, | ||
callback: callbacks === null || callbacks === void 0 ? void 0 : callbacks.saveSet | ||
postProcessCb: callbacks === null || callbacks === void 0 ? void 0 : callbacks.postProcessSets | ||
}) | ||
@@ -353,0 +353,0 @@ }) |
{ | ||
"name": "@kfarranger/schema", | ||
"version": "1.13.1", | ||
"version": "1.14.0", | ||
"description": "GraphQL Schema for Data Portals", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@kfarranger/mapping-utils": "1.13.1", | ||
"@kfarranger/mapping-utils": "1.14.0", | ||
"@kfarranger/middleware": "1.6.0", | ||
@@ -30,0 +30,0 @@ "babel-polyfill": "^6.26.0", |
30474
0.02%