@appsemble/utils 0.28.13 → 0.29.1

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.28.13/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.29.1/config/assets/logo.svg) Appsemble Utilities
2
2
 
3
3
  > Internal utility functions used across multiple Appsemble projects.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/utils)](https://www.npmjs.com/package/@appsemble/utils)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.28.13/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.28.13)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.29.1/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.29.1)
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.28.13/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.29.1/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
@@ -2,6 +2,7 @@ export const Training = {
2
2
  type: 'object',
3
3
  description: 'Object representation of a training',
4
4
  additionalProperties: false,
5
+ required: ['title', 'competences', 'difficultyLevel'],
5
6
  properties: {
6
7
  id: {
7
8
  type: 'number',
@@ -5,8 +5,8 @@ export declare const roles: {
5
5
  readonly APIReader: Permission[];
6
6
  readonly APIUser: Permission[];
7
7
  readonly AppEditor: Permission[];
8
- readonly Maintainer: Permission[];
9
8
  readonly Owner: Permission[];
9
+ readonly Maintainer: Permission[];
10
10
  readonly AccountManager: Permission[];
11
11
  };
12
12
  export type Role = keyof typeof roles;
@@ -46,8 +46,8 @@ export const roles = {
46
46
  APIReader,
47
47
  APIUser,
48
48
  AppEditor,
49
- Maintainer,
50
49
  Owner,
50
+ Maintainer,
51
51
  AccountManager,
52
52
  };
53
53
  export var TeamRole;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/utils",
3
- "version": "0.28.13",
3
+ "version": "0.29.1",
4
4
  "description": "Utility functions used in Appsemble internally",
5
5
  "keywords": [
6
6
  "app",
@@ -37,7 +37,7 @@
37
37
  "test": "vitest"
38
38
  },
39
39
  "dependencies": {
40
- "@appsemble/types": "0.28.13",
40
+ "@appsemble/types": "0.29.1",
41
41
  "axios": "^1.0.0",
42
42
  "cron-parser": "^4.0.0",
43
43
  "date-fns": "^2.0.0",