@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 +3 -3
- package/api/components/schemas/ResourceDefinition.js +1 -0
- package/api/components/schemas/UserPropertyDefinition.js +2 -0
- package/api/paths/apps.js +3 -3
- package/api/paths/user.js +1 -1
- package/constants/fonts.js +333 -18
- package/miscellaneous.js +3 -0
- package/miscellaneous.test.js +12 -0
- package/package.json +2 -2
- package/reference-schemas/remappers/data.js +26 -0
- package/remap.d.ts +5 -1
- package/remap.js +1 -0
- package/remap.test.js +2 -0
- package/validation.js +13 -0
- package/validation.test.js +90 -0
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Appsemble Utilities
|
|
2
2
|
|
|
3
3
|
> Internal utility functions used across multiple Appsemble projects.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/utils)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.24.12)
|
|
7
7
|
[](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.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.12/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
|
@@ -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/{
|
|
590
|
+
'/api/apps/{appId}/members/{userId}': {
|
|
591
591
|
parameters: [
|
|
592
592
|
{ $ref: '#/components/parameters/appId' },
|
|
593
593
|
{
|
|
594
|
-
name: '
|
|
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
|
},
|