diff --git a/app/apollo/schema/channel.js b/app/apollo/schema/channel.js index 198e7a15d..f40835988 100644 --- a/app/apollo/schema/channel.js +++ b/app/apollo/schema/channel.js @@ -17,7 +17,7 @@ const { gql } = require('apollo-server-express'); const channelSchema = gql` - + type ChannelVersion { uuid: String! name: String! @@ -29,6 +29,7 @@ const channelSchema = gql` uuid: String! orgId: String! name: String! + data_location: String created: Date! versions: [ChannelVersion] subscriptions: [ChannelSubscription] @@ -93,12 +94,12 @@ const channelSchema = gql` channelsByTags(orgId: String! @sv, tags: [String!]!): [Channel]! """ - Gets a channel version info from this channel uuid and version uuid + Gets a channel version info from this channel uuid and version uuid """ channelVersion(orgId: String! @sv, channelUuid: String! @sv, versionUuid: String! @sv): DeployableVersion! """ - Gets a channel version info from this channel name and version name + Gets a channel version info from this channel name and version name """ channelVersionByName(orgId: String! @sv, channelName: String! @sv, versionName: String! @sv): DeployableVersion! } @@ -108,12 +109,12 @@ const channelSchema = gql` Adds a channel """ addChannel(orgId: String! @sv, name: String! @sv, data_location: String, tags: [String!]): AddChannelReply! - + """ Edits a channel """ editChannel(orgId: String! @sv, uuid: String! @sv, name: String! @sv, data_location: String, tags: [String!]): EditChannelReply! - + """ Adds a yaml version to this channel Requires either content:String or file:Upload diff --git a/app/apollo/test/channelApi.js b/app/apollo/test/channelApi.js index 3da6bc1fb..a00c50319 100644 --- a/app/apollo/test/channelApi.js +++ b/app/apollo/test/channelApi.js @@ -27,6 +27,7 @@ const channelFunc = grahqlUrl => { uuid orgId name + data_location created versions { uuid @@ -56,6 +57,7 @@ const channelFunc = grahqlUrl => { uuid orgId name + data_location created versions { uuid @@ -85,6 +87,7 @@ const channelFunc = grahqlUrl => { uuid orgId name + data_location created versions { uuid @@ -280,5 +283,3 @@ const channelFunc = grahqlUrl => { }; module.exports = channelFunc; - - diff --git a/package-lock.json b/package-lock.json index 4c162a8eb..93a2b11e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3610,15 +3610,15 @@ "dev": true }, "browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", + "version": "4.16.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.5.tgz", + "integrity": "sha512-C2HAjrM1AI/djrpAUU/tr4pml1DqLIzJKSLDBXBrNErl9ZCCTXdhwxdJjYc16953+mBWf7Lw+uUJgpgb8cN71A==", "requires": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", + "caniuse-lite": "^1.0.30001214", + "colorette": "^1.2.2", + "electron-to-chromium": "^1.3.719", "escalade": "^3.1.1", - "node-releases": "^1.1.70" + "node-releases": "^1.1.71" } }, "bser": { @@ -3840,9 +3840,9 @@ "integrity": "sha512-faqwZqnWxbxn+F1d399ygeamQNy3lPp/H9H6rNrqYh4FSVCtcY+3cub1MxA8o9mDd55mM8Aghuu/kuyYA6VTsA==" }, "caniuse-lite": { - "version": "1.0.30001204", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz", - "integrity": "sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ==" + "version": "1.0.30001228", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz", + "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==" }, "caseless": { "version": "0.12.0", @@ -4956,9 +4956,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "electron-to-chromium": { - "version": "1.3.698", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.698.tgz", - "integrity": "sha512-VEXDzYblnlT+g8Q3gedwzgKOso1evkeJzV8lih7lV8mL8eAnGVnKyC3KsFT6S+R5PQO4ffdr1PI16/ElibY/kQ==" + "version": "1.3.738", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.738.tgz", + "integrity": "sha512-vCMf4gDOpEylPSLPLSwAEsz+R3ShP02Y3cAKMZvTqule3XcPp7tgc/0ESI7IS6ZeyBlGClE50N53fIOkcIVnpw==" }, "emoji-regex": { "version": "8.0.0", @@ -10152,9 +10152,9 @@ } }, "node-releases": { - "version": "1.1.71", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", - "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" + "version": "1.1.72", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", + "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==" }, "nodemon": { "version": "2.0.7",