@things-factory/shell 5.0.0-zeta.21 → 5.0.0-zeta.25

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.
@@ -1,13 +1,16 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.transactionDirectiveResolver = exports.transactionDirectiveTypeDefs = void 0;
4
7
  const graphql_1 = require("graphql");
5
- const graphql_tag_1 = require("graphql-tag");
8
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
6
9
  const typeorm_1 = require("typeorm");
7
10
  const utils_1 = require("@graphql-tools/utils");
8
11
  const debug = require('debug')('things-factory:shell:directive-transaction');
9
12
  const DIRECTIVE = 'transaction';
10
- exports.transactionDirectiveTypeDefs = (0, graphql_tag_1.gql) `
13
+ exports.transactionDirectiveTypeDefs = (0, graphql_tag_1.default) `
11
14
  directive @${DIRECTIVE} on FIELD_DEFINITION
12
15
  `;
13
16
  const transactionDirectiveResolver = (schema) => (0, utils_1.mapSchema)(schema, {
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../server/service/directive-transaction/transaction.ts"],"names":[],"mappings":";;;AAAA,qCAA6D;AAC7D,6CAAiC;AACjC,qCAAuC;AACvC,gDAA0E;AAE1E,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,4CAA4C,CAAC,CAAA;AAE5E,MAAM,SAAS,GAAG,aAAa,CAAA;AAElB,QAAA,4BAA4B,GAAG,IAAA,iBAAG,EAAA;iBAC9B,SAAS;GACvB,CAAA;AACI,MAAM,4BAA4B,GAAG,CAAC,MAAqB,EAAE,EAAE,CACpE,IAAA,iBAAS,EAAC,MAAM,EAAE;IAChB,CAAC,kBAAU,CAAC,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,EAAE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,4BAA4B,gCA8BrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/shell",
3
- "version": "5.0.0-zeta.21",
3
+ "version": "5.0.0-zeta.25",
4
4
  "description": "Core module for framework",
5
5
  "bin": {
6
6
  "things-factory": "bin/things-factory",
@@ -45,16 +45,16 @@
45
45
  "@material/mwc-icon-button": "^0.26.1",
46
46
  "@material/mwc-slider": "^0.26.1",
47
47
  "@material/mwc-textfield": "^0.26.1",
48
- "@operato/board": "^1.0.0-beta.48",
49
- "@operato/graphql": "^1.0.0-beta.48",
50
- "@operato/help": "^1.0.0-beta.48",
51
- "@operato/layout": "^1.0.0-beta.48",
52
- "@operato/shell": "^1.0.0-beta.48",
53
- "@operato/utils": "^1.0.0-beta.48",
54
- "@things-factory/ejs-remote": "^5.0.0-zeta.21",
55
- "@things-factory/env": "^5.0.0-zeta.21",
56
- "@things-factory/styles": "^5.0.0-zeta.21",
57
- "@things-factory/utils": "^5.0.0-zeta.21",
48
+ "@operato/board": "^1.0.0-beta.50",
49
+ "@operato/graphql": "^1.0.0-beta.50",
50
+ "@operato/help": "^1.0.0-beta.50",
51
+ "@operato/layout": "^1.0.0-beta.50",
52
+ "@operato/shell": "^1.0.0-beta.50",
53
+ "@operato/utils": "^1.0.0-beta.50",
54
+ "@things-factory/ejs-remote": "^5.0.0-zeta.25",
55
+ "@things-factory/env": "^5.0.0-zeta.25",
56
+ "@things-factory/styles": "^5.0.0-zeta.25",
57
+ "@things-factory/utils": "^5.0.0-zeta.25",
58
58
  "@webcomponents/webcomponentsjs": "^2.6.0",
59
59
  "@webpack-contrib/schema-utils": "^1.0.0-beta.0",
60
60
  "apollo-server-core": "^3.10.0",
@@ -131,5 +131,5 @@
131
131
  "pg": "^8.7.3",
132
132
  "sqlite3": "^5.0.8"
133
133
  },
134
- "gitHead": "a63dd238090dc87e77ea07dac34e818d31a277f2"
134
+ "gitHead": "a0c25ffc3e39487a69941142425cfe3f7e04cbf4"
135
135
  }
@@ -1,7 +1,8 @@
1
- import { GraphQLSchema, defaultFieldResolver } from 'graphql'
2
- import { gql } from 'graphql-tag'
1
+ import { defaultFieldResolver, GraphQLSchema } from 'graphql'
2
+ import gql from 'graphql-tag'
3
3
  import { getConnection } from 'typeorm'
4
- import { mapSchema, getDirective, MapperKind } from '@graphql-tools/utils'
4
+
5
+ import { getDirective, MapperKind, mapSchema } from '@graphql-tools/utils'
5
6
 
6
7
  const debug = require('debug')('things-factory:shell:directive-transaction')
7
8