@appsemble/utils 0.24.12 → 0.24.13
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
|
-
#  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.13)
|
|
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.13/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
|
@@ -56,10 +56,12 @@ This doesn’t affect whether or not the app can be accessed on its own domain.
|
|
|
56
56
|
description: 'Whether or not people who have access to the app may see the app definition.',
|
|
57
57
|
},
|
|
58
58
|
locked: {
|
|
59
|
-
|
|
59
|
+
enum: ['fullLock', 'studioLock', 'unlocked'],
|
|
60
|
+
default: 'unlocked',
|
|
60
61
|
description: `Determines whether this app should be locked from being updated.
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
If this is set to \`fullLock\`, no changes can be made to the app,
|
|
63
|
+
if this is set to \`studioLock\`, no changes can be made from the studio but updating from the CLI is possible,
|
|
64
|
+
and to make any changes from the studio, this should be set to \`unlocked\`.
|
|
63
65
|
`,
|
|
64
66
|
},
|
|
65
67
|
template: {
|
|
@@ -7,7 +7,7 @@ export const TeamInviteActionDefinition = extendJSONSchema(BaseActionDefinition,
|
|
|
7
7
|
properties: {
|
|
8
8
|
type: {
|
|
9
9
|
enum: ['team.invite'],
|
|
10
|
-
description: '
|
|
10
|
+
description: 'Invite a user to join a team.',
|
|
11
11
|
},
|
|
12
12
|
id: {
|
|
13
13
|
description: 'The ID of the team to invite the user to.',
|
package/api/paths/apps.js
CHANGED
|
@@ -563,6 +563,29 @@ export const paths = {
|
|
|
563
563
|
security: [{ app: ['openid'] }, {}],
|
|
564
564
|
},
|
|
565
565
|
},
|
|
566
|
+
'/api/apps/{appId}/demoMembers': {
|
|
567
|
+
parameters: [{ $ref: '#/components/parameters/appId' }],
|
|
568
|
+
get: {
|
|
569
|
+
tags: ['app'],
|
|
570
|
+
description: 'Fetch all demo members of an app.',
|
|
571
|
+
operationId: 'getDemoAppMembers',
|
|
572
|
+
responses: {
|
|
573
|
+
200: {
|
|
574
|
+
description: 'The list of demo app members.',
|
|
575
|
+
content: {
|
|
576
|
+
'application/json': {
|
|
577
|
+
schema: {
|
|
578
|
+
type: 'array',
|
|
579
|
+
items: {
|
|
580
|
+
$ref: '#/components/schemas/OrganizationMember',
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
},
|
|
566
589
|
'/api/apps/{appId}/members': {
|
|
567
590
|
parameters: [{ $ref: '#/components/parameters/appId' }],
|
|
568
591
|
get: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/utils",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.13",
|
|
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.24.
|
|
40
|
+
"@appsemble/types": "0.24.13",
|
|
41
41
|
"axios": "^1.0.0",
|
|
42
42
|
"cron-parser": "^4.0.0",
|
|
43
43
|
"date-fns": "^2.0.0",
|