UNPKG

1.05 kBJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6exports.REGISTER_OPERATIONS = void 0;
7const graphql_tag_1 = __importDefault(require("graphql-tag"));
8exports.REGISTER_OPERATIONS = graphql_tag_1.default `
9 mutation RegisterOperations(
10 $id: ID!
11 $clientIdentity: RegisteredClientIdentityInput!
12 $operations: [RegisteredOperationInput!]!
13 $manifestVersion: Int!
14 $graphVariant: String
15 ) {
16 service(id: $id) {
17 registerOperationsWithResponse(
18 clientIdentity: $clientIdentity
19 operations: $operations
20 manifestVersion: $manifestVersion
21 graphVariant: $graphVariant
22 ) {
23 invalidOperations {
24 errors {
25 message
26 }
27 signature
28 }
29 newOperations {
30 signature
31 }
32 registrationSuccess
33 }
34 }
35 }
36`;
37//# sourceMappingURL=registerOperations.js.map
\No newline at end of file