@appsemble/utils 0.24.9 → 0.24.12

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.24.9/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.12/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.24.9/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.9)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.24.12/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.12)
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.24.9/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.12/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
@@ -17,6 +17,7 @@ const referenceActionTrigger = {
17
17
  type: 'object',
18
18
  additionalProperties: false,
19
19
  description: 'Defines the type of trigger and the cascading strategy for it',
20
+ required: ['type'],
20
21
  properties: {
21
22
  type: {
22
23
  enum: ['create', 'update', 'delete'],
@@ -33,6 +33,8 @@ export const UserPropertyDefinition = {
33
33
  properties: {
34
34
  schema: {
35
35
  anyOf: [
36
+ { $ref: '#/components/schemas/JSONSchemaInteger' },
37
+ { $ref: '#/components/schemas/JSONSchemaArray' },
36
38
  { $ref: '#/components/schemas/JSONSchemaString' },
37
39
  { $ref: '#/components/schemas/JSONSchemaNumber' },
38
40
  { $ref: '#/components/schemas/JSONSchemaEnum' },
package/api/paths/apps.js CHANGED
@@ -587,13 +587,13 @@ export const paths = {
587
587
  security: [{ studio: [] }, { app: ['openid'] }],
588
588
  },
589
589
  },
590
- '/api/apps/{appId}/members/{memberId}': {
590
+ '/api/apps/{appId}/members/{userId}': {
591
591
  parameters: [
592
592
  { $ref: '#/components/parameters/appId' },
593
593
  {
594
- name: 'memberId',
594
+ name: 'userId',
595
595
  in: 'path',
596
- description: 'The ID of the member on which to perform an operation',
596
+ description: 'The user ID of the member on which to perform an operation',
597
597
  required: true,
598
598
  schema: { $ref: '#/components/schemas/User/properties/id' },
599
599
  },
package/api/paths/user.js CHANGED
@@ -430,7 +430,7 @@ export const paths = {
430
430
  'multipart/form-data': {
431
431
  schema: {
432
432
  type: 'object',
433
- required: ['password'],
433
+ required: [],
434
434
  properties: {
435
435
  name: {
436
436
  type: 'string',