@appsemble/types 0.20.11 → 0.20.14
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.
- package/README.md +4 -4
- package/action.d.ts +2 -2
- package/action.ts +2 -2
- package/appMember.d.ts +1 -1
- package/appMember.ts +1 -1
- package/index.d.ts +25 -21
- package/index.js +16 -16
- package/index.js.map +1 -1
- package/index.ts +27 -22
- package/jest.config.js +3 -1
- package/package.json +3 -2
- package/snapshot.d.ts +1 -1
- package/snapshot.ts +1 -1
- package/template.d.ts +1 -1
- package/template.ts +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble Types
|
|
2
2
|
|
|
3
3
|
> Reusable TypeScript types
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/types)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.14)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -21,5 +21,5 @@ not guaranteed.
|
|
|
21
21
|
|
|
22
22
|
## License
|
|
23
23
|
|
|
24
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.
|
|
24
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.14/LICENSE.md) ©
|
|
25
25
|
[Appsemble](https://appsemble.com)
|
package/action.d.ts
CHANGED
package/action.ts
CHANGED
package/appMember.d.ts
CHANGED
package/appMember.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -2,27 +2,27 @@ import { IconName } from '@fortawesome/fontawesome-common-types';
|
|
|
2
2
|
import { Schema } from 'jsonschema';
|
|
3
3
|
import { OpenAPIV3 } from 'openapi-types';
|
|
4
4
|
import { JsonObject, RequireExactlyOne } from 'type-fest';
|
|
5
|
-
import { Action, LogAction } from './action';
|
|
6
|
-
import { AppVisibility, TeamsDefinition } from './app';
|
|
7
|
-
import { BulmaColor } from './bulma';
|
|
8
|
-
import { HTTPMethods } from './http';
|
|
9
|
-
import { Theme } from './theme';
|
|
10
|
-
export * from './action';
|
|
11
|
-
export * from './app';
|
|
12
|
-
export * from './appMember';
|
|
13
|
-
export * from './asset';
|
|
14
|
-
export * from './authentication';
|
|
15
|
-
export * from './author';
|
|
16
|
-
export * from './bulma';
|
|
17
|
-
export * from './http';
|
|
18
|
-
export * from './snapshot';
|
|
19
|
-
export * from './resource';
|
|
20
|
-
export * from './saml';
|
|
21
|
-
export * from './ssl';
|
|
22
|
-
export * from './team';
|
|
23
|
-
export * from './template';
|
|
24
|
-
export * from './theme';
|
|
25
|
-
export * from './user';
|
|
5
|
+
import { Action, LogAction } from './action.js';
|
|
6
|
+
import { AppVisibility, TeamsDefinition } from './app.js';
|
|
7
|
+
import { BulmaColor } from './bulma.js';
|
|
8
|
+
import { HTTPMethods } from './http.js';
|
|
9
|
+
import { Theme } from './theme.js';
|
|
10
|
+
export * from './action.js';
|
|
11
|
+
export * from './app.js';
|
|
12
|
+
export * from './appMember.js';
|
|
13
|
+
export * from './asset.js';
|
|
14
|
+
export * from './authentication.js';
|
|
15
|
+
export * from './author.js';
|
|
16
|
+
export * from './bulma.js';
|
|
17
|
+
export * from './http.js';
|
|
18
|
+
export * from './snapshot.js';
|
|
19
|
+
export * from './resource.js';
|
|
20
|
+
export * from './saml.js';
|
|
21
|
+
export * from './ssl.js';
|
|
22
|
+
export * from './team.js';
|
|
23
|
+
export * from './template.js';
|
|
24
|
+
export * from './theme.js';
|
|
25
|
+
export * from './user.js';
|
|
26
26
|
/**
|
|
27
27
|
* A representation of a generated OAuth2 authorization code response.
|
|
28
28
|
*/
|
|
@@ -135,6 +135,10 @@ export interface UserInfo {
|
|
|
135
135
|
* The end-user’s locale, represented as a BCP47 language tag.
|
|
136
136
|
*/
|
|
137
137
|
locale?: string;
|
|
138
|
+
/**
|
|
139
|
+
* The end-user’s time zone.
|
|
140
|
+
*/
|
|
141
|
+
zoneinfo?: string;
|
|
138
142
|
}
|
|
139
143
|
/**
|
|
140
144
|
* The payload stored in our JSON web tokens
|
package/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export * from './action';
|
|
2
|
-
export * from './app';
|
|
3
|
-
export * from './appMember';
|
|
4
|
-
export * from './asset';
|
|
5
|
-
export * from './authentication';
|
|
6
|
-
export * from './author';
|
|
7
|
-
export * from './bulma';
|
|
8
|
-
export * from './http';
|
|
9
|
-
export * from './snapshot';
|
|
10
|
-
export * from './resource';
|
|
11
|
-
export * from './saml';
|
|
12
|
-
export * from './ssl';
|
|
13
|
-
export * from './team';
|
|
14
|
-
export * from './template';
|
|
15
|
-
export * from './theme';
|
|
16
|
-
export * from './user';
|
|
1
|
+
export * from './action.js';
|
|
2
|
+
export * from './app.js';
|
|
3
|
+
export * from './appMember.js';
|
|
4
|
+
export * from './asset.js';
|
|
5
|
+
export * from './authentication.js';
|
|
6
|
+
export * from './author.js';
|
|
7
|
+
export * from './bulma.js';
|
|
8
|
+
export * from './http.js';
|
|
9
|
+
export * from './snapshot.js';
|
|
10
|
+
export * from './resource.js';
|
|
11
|
+
export * from './saml.js';
|
|
12
|
+
export * from './ssl.js';
|
|
13
|
+
export * from './team.js';
|
|
14
|
+
export * from './template.js';
|
|
15
|
+
export * from './theme.js';
|
|
16
|
+
export * from './user.js';
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAWA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAWA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
|
package/index.ts
CHANGED
|
@@ -3,28 +3,28 @@ import { Schema } from 'jsonschema';
|
|
|
3
3
|
import { OpenAPIV3 } from 'openapi-types';
|
|
4
4
|
import { JsonObject, RequireExactlyOne } from 'type-fest';
|
|
5
5
|
|
|
6
|
-
import { Action, LogAction } from './action';
|
|
7
|
-
import { AppVisibility, TeamsDefinition } from './app';
|
|
8
|
-
import { BulmaColor } from './bulma';
|
|
9
|
-
import { HTTPMethods } from './http';
|
|
10
|
-
import { Theme } from './theme';
|
|
11
|
-
|
|
12
|
-
export * from './action';
|
|
13
|
-
export * from './app';
|
|
14
|
-
export * from './appMember';
|
|
15
|
-
export * from './asset';
|
|
16
|
-
export * from './authentication';
|
|
17
|
-
export * from './author';
|
|
18
|
-
export * from './bulma';
|
|
19
|
-
export * from './http';
|
|
20
|
-
export * from './snapshot';
|
|
21
|
-
export * from './resource';
|
|
22
|
-
export * from './saml';
|
|
23
|
-
export * from './ssl';
|
|
24
|
-
export * from './team';
|
|
25
|
-
export * from './template';
|
|
26
|
-
export * from './theme';
|
|
27
|
-
export * from './user';
|
|
6
|
+
import { Action, LogAction } from './action.js';
|
|
7
|
+
import { AppVisibility, TeamsDefinition } from './app.js';
|
|
8
|
+
import { BulmaColor } from './bulma.js';
|
|
9
|
+
import { HTTPMethods } from './http.js';
|
|
10
|
+
import { Theme } from './theme.js';
|
|
11
|
+
|
|
12
|
+
export * from './action.js';
|
|
13
|
+
export * from './app.js';
|
|
14
|
+
export * from './appMember.js';
|
|
15
|
+
export * from './asset.js';
|
|
16
|
+
export * from './authentication.js';
|
|
17
|
+
export * from './author.js';
|
|
18
|
+
export * from './bulma.js';
|
|
19
|
+
export * from './http.js';
|
|
20
|
+
export * from './snapshot.js';
|
|
21
|
+
export * from './resource.js';
|
|
22
|
+
export * from './saml.js';
|
|
23
|
+
export * from './ssl.js';
|
|
24
|
+
export * from './team.js';
|
|
25
|
+
export * from './template.js';
|
|
26
|
+
export * from './theme.js';
|
|
27
|
+
export * from './user.js';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* A representation of a generated OAuth2 authorization code response.
|
|
@@ -163,6 +163,11 @@ export interface UserInfo {
|
|
|
163
163
|
* The end-user’s locale, represented as a BCP47 language tag.
|
|
164
164
|
*/
|
|
165
165
|
locale?: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The end-user’s time zone.
|
|
169
|
+
*/
|
|
170
|
+
zoneinfo?: string;
|
|
166
171
|
}
|
|
167
172
|
|
|
168
173
|
/**
|
package/jest.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/types",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.14",
|
|
4
4
|
"description": "TypeScript definitions reused within Appsemble internally",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"license": "LGPL-3.0-only",
|
|
22
22
|
"author": "Appsemble <info@appsemble.com> (https://appsemble.com)",
|
|
23
23
|
"sideEffects": false,
|
|
24
|
+
"type": "module",
|
|
24
25
|
"files": [
|
|
25
26
|
"**/*.d.ts",
|
|
26
27
|
"**/*.js",
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
],
|
|
29
30
|
"scripts": {
|
|
30
31
|
"prepack": "tsc --noEmit false",
|
|
31
|
-
"test": "jest"
|
|
32
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
package/snapshot.d.ts
CHANGED
package/snapshot.ts
CHANGED
package/template.d.ts
CHANGED
package/template.ts
CHANGED