@appsemble/types 0.21.1 → 0.21.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.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.21.1/config/assets/logo.svg) Appsemble Types
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.21.3/config/assets/logo.svg) Appsemble Types
2
2
 
3
3
  > Reusable TypeScript types
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/types)](https://www.npmjs.com/package/@appsemble/types)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.21.1/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.21.1)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.21.3/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.21.3)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
9
  ## Table of Contents
@@ -26,5 +26,5 @@ not guaranteed.
26
26
 
27
27
  ## License
28
28
 
29
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.21.1/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.21.3/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
package/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export * from './team.js';
23
23
  export * from './template.js';
24
24
  export * from './theme.js';
25
25
  export * from './user.js';
26
+ export * from './quota.js';
26
27
  /**
27
28
  * A representation of a generated OAuth2 authorization code response.
28
29
  */
package/index.js CHANGED
@@ -14,4 +14,5 @@ export * from './team.js';
14
14
  export * from './template.js';
15
15
  export * from './theme.js';
16
16
  export * from './user.js';
17
+ export * from './quota.js';
17
18
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/types",
3
- "version": "0.21.1",
3
+ "version": "0.21.3",
4
4
  "description": "TypeScript definitions reused within Appsemble internally",
5
5
  "keywords": [
6
6
  "app",
@@ -22,6 +22,12 @@
22
22
  "author": "Appsemble <info@appsemble.com> (https://appsemble.com)",
23
23
  "sideEffects": false,
24
24
  "type": "module",
25
+ "exports": {
26
+ ".": [
27
+ "./index.js",
28
+ "./index.ts"
29
+ ]
30
+ },
25
31
  "files": [
26
32
  "**/*.d.ts",
27
33
  "**/*.js",
package/quota.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ export interface Quota {
2
+ /**
3
+ * The used quota so far.
4
+ */
5
+ used: number;
6
+ /**
7
+ * The quota usage limit.
8
+ */
9
+ limit: number;
10
+ /**
11
+ * The quota reset date in ISO 8601 format.
12
+ */
13
+ reset: string;
14
+ }
package/quota.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=quota.js.map