@things-factory/oauth2-client 4.1.27 → 5.0.0-alpha.2

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 { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
  import gql from 'graphql-tag'
3
3
 
4
4
  import { connect } from 'pwa-helpers/connect-mixin.js'
@@ -159,7 +159,7 @@ class Oauth2ClientRegister extends connect(store)(PageView) {
159
159
 
160
160
  const response = await client.mutate({
161
161
  mutation: gql`
162
- mutation($oauth2Client: NewOauth2Client!) {
162
+ mutation ($oauth2Client: NewOauth2Client!) {
163
163
  createOauth2Client(oauth2Client: $oauth2Client) {
164
164
  id
165
165
  }
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element'
1
+ import { html, css, LitElement } from 'lit'
2
2
  import gql from 'graphql-tag'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
  import { client, store, PageView } from '@things-factory/shell'
@@ -70,8 +70,8 @@ class Oauth2Clients extends connect(store)(PageView) {
70
70
  border-collapse: collapse;
71
71
  }
72
72
  th {
73
- background-color: rgba(var(--primary-color-rgb),.1);
74
- border-top:var(--th-border-top);
73
+ background-color: rgba(var(--primary-color-rgb), 0.1);
74
+ border-top: var(--th-border-top);
75
75
  border-bottom: var(--border-dark-color);
76
76
  padding: var(--th-padding);
77
77
 
@@ -82,21 +82,21 @@ class Oauth2Clients extends connect(store)(PageView) {
82
82
  td {
83
83
  padding: var(--td-padding);
84
84
  border-bottom: var(--border-dark-color);
85
- line-height:1.1
85
+ line-height: 1.1;
86
86
  }
87
- td a{
87
+ td a {
88
88
  font: var(--td-font);
89
- text-decoration:none;
89
+ text-decoration: none;
90
90
  color: var(--theme-black-color);
91
91
  }
92
- td a strong{
92
+ td a strong {
93
93
  color: var(--secondary-text-color);
94
94
  font: bold 16px var(--theme-font);
95
95
 
96
96
  display: block;
97
97
  text-decoration: none;
98
98
  }
99
-
99
+
100
100
  .text-align-center {
101
101
  text-align: center;
102
102
  }
@@ -126,7 +126,8 @@ class Oauth2Clients extends connect(store)(PageView) {
126
126
  <div>
127
127
  <h2>Registered Oauth2 Clients</h2>
128
128
  <p page-description>
129
- What type of oauth2 client are you building?<br />Choose the platform type that best suits the audience you’re building for.
129
+ What type of oauth2 client are you building?<br />Choose the platform type that best suits the audience you’re
130
+ building for.
130
131
  </p>
131
132
  <a href="oauth2-client-register" button-primary>register new oauth2 client</a>
132
133
  </div>
@@ -181,7 +182,7 @@ class Oauth2Clients extends connect(store)(PageView) {
181
182
  `
182
183
  })
183
184
 
184
- if(response.errors) {
185
+ if (response.errors) {
185
186
  notify({
186
187
  level: 'error',
187
188
  message: 'fetch oauth2 clients fail'
@@ -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/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAiD;AAEjD,uDAAwC;AACxC,kDAAmC;AAEtB,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS,EAAE,iBAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;CAC3D,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAiD;AAEjD,uDAAwC;AACxC,kDAAmC;AAEtB,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS,EAAE,iBAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;CAC3D,CAAA"}
@@ -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/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B"}
@@ -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/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B"}
@@ -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/graphql/types/oauth2-client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA6B;AAE7B,kDAA+B;AAC/B,sDAAmC;AACnC,wDAAqC;AACrC,uDAAoC;AAEvB,QAAA,oBAAoB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;CAetC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/oauth2-client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,8DAA6B;AAE7B,kDAA+B;AAC/B,sDAAmC;AACnC,wDAAqC;AACrC,uDAAoC;AAEvB,QAAA,oBAAoB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;CAetC,CAAA"}
@@ -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,6CAA0B;AAC1B,4CAAyB;AAEzB,oBAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AAEzB,oBAAiB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/oauth2-client",
3
- "version": "4.1.27",
3
+ "version": "5.0.0-alpha.2",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,16 +24,16 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@operato/graphql": "^0.3.28",
28
- "@operato/help": "^0.3.28",
29
- "@operato/layout": "^0.3.28",
30
- "@operato/shell": "^0.3.28",
31
- "@operato/utils": "^0.3.28",
32
- "@things-factory/auth-base": "^4.1.27",
33
- "@things-factory/layout-base": "^4.1.27",
34
- "@things-factory/shell": "^4.1.27",
27
+ "@operato/graphql": "^0.4.3",
28
+ "@operato/help": "^0.4.3",
29
+ "@operato/layout": "^0.4.3",
30
+ "@operato/shell": "^0.4.3",
31
+ "@operato/utils": "^0.4.3",
32
+ "@things-factory/auth-base": "^5.0.0-alpha.2",
33
+ "@things-factory/layout-base": "^5.0.0-alpha.2",
34
+ "@things-factory/shell": "^5.0.0-alpha.2",
35
35
  "client-oauth2": "^4.3.3",
36
36
  "clipboard": "^2.0.6"
37
37
  },
38
- "gitHead": "d2bcc934a52e1a2f68738ec8b56ad72503172f6f"
38
+ "gitHead": "055536f981d229d51ae63f46585036b35fa86602"
39
39
  }