@things-factory/api 4.1.28 → 5.0.0-alpha.3

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,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { ScrollbarStyles } from '@things-factory/styles'
3
3
  import '@things-factory/component-ui'
4
4
 
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
 
3
3
  class ApiNavigator extends LitElement {
4
4
  static get styles() {
@@ -32,15 +32,15 @@ class ApiNavigator extends LitElement {
32
32
  border-right: var(--border-dark-color);
33
33
  border-width: 0 1px;
34
34
  padding: 0 var(--padding-default) 0 var(--padding-narrow);
35
- opacity:.8;
35
+ opacity: 0.8;
36
36
  color: var(--secondary-color);
37
- font-size:var(--fontsize-small);
37
+ font-size: var(--fontsize-small);
38
38
  }
39
- span[activate]{
39
+ span[activate] {
40
40
  font-weight: bold;
41
- cursor:pointer;
41
+ cursor: pointer;
42
42
  color: var(--secondary-text-color);
43
- font-size:var(--fontsize-default);
43
+ font-size: var(--fontsize-default);
44
44
  }
45
45
  @media screen and (max-width: 480px) {
46
46
  :host {
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
 
3
3
  const NOAPI = {
4
4
  name: 'NOAPI',
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
  import { PageView } from '@things-factory/shell'
3
3
 
4
4
  import '../components/api-tester'
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
  import { PageView } from '@things-factory/shell'
3
3
  import { localize, i18next } from '@things-factory/i18n-base'
4
4
  import { ScrollbarStyles } from '@things-factory/styles'
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oBAAiB;AAEjB,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAiB;AAEjB,4CAAyB"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/routers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAoC;AACpC,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/routers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,oDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/api",
3
- "version": "4.1.28",
3
+ "version": "5.0.0-alpha.3",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,12 +24,12 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/auth-base": "^4.1.28",
28
- "@things-factory/component-ui": "^4.1.28",
29
- "@things-factory/shell": "^4.1.28",
27
+ "@things-factory/auth-base": "^5.0.0-alpha.3",
28
+ "@things-factory/component-ui": "^5.0.0-alpha.3",
29
+ "@things-factory/shell": "^5.0.0-alpha.3",
30
30
  "koa2-swagger-ui": "^5.0.2",
31
31
  "swagger-jsdoc": "^5.0.0",
32
32
  "yamljs": "^0.3.0"
33
33
  },
34
- "gitHead": "3f902602b38074b6e4a2188ab16b2a486f812877"
34
+ "gitHead": "0584a36ba889ff0b426cc87c0d9c8f14ffa2f677"
35
35
  }