@appsemble/utils 0.37.4 → 0.37.5
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.37.5)
|
|
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.37.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.37.5/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
|
@@ -154,6 +154,15 @@ English (\`en\`) messages are required.
|
|
|
154
154
|
format: 'binary',
|
|
155
155
|
},
|
|
156
156
|
},
|
|
157
|
+
fileUrls: {
|
|
158
|
+
type: 'object',
|
|
159
|
+
description: 'Public URLs for file assets, keyed by filename.',
|
|
160
|
+
readOnly: true,
|
|
161
|
+
additionalProperties: {
|
|
162
|
+
type: 'string',
|
|
163
|
+
format: 'uri',
|
|
164
|
+
},
|
|
165
|
+
},
|
|
157
166
|
examples: {
|
|
158
167
|
type: 'array',
|
|
159
168
|
description: 'A list of exmples how the block can be used within an app definition.',
|
|
@@ -4,7 +4,7 @@ export const pathItems = {
|
|
|
4
4
|
{ $ref: '#/components/parameters/assetId' },
|
|
5
5
|
],
|
|
6
6
|
get: {
|
|
7
|
-
tags: ['
|
|
7
|
+
tags: ['common', 'app', 'asset'],
|
|
8
8
|
description: 'Download the original asset binary.',
|
|
9
9
|
operationId: 'getOriginalAppAsset',
|
|
10
10
|
responses: {
|
|
@@ -12,7 +12,7 @@ export const pathItems = {
|
|
|
12
12
|
description: 'The original asset that matches the given id.',
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
|
-
security: [{ studio: [] }, { cli: ['assets:write'] }],
|
|
15
|
+
security: [{}, { studio: [] }, { app: [] }, { cli: ['assets:write'] }],
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=download.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/utils",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.5",
|
|
4
4
|
"description": "Utility functions used in Appsemble internally",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"test": "vitest"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@appsemble/lang-sdk": "0.37.
|
|
43
|
-
"@appsemble/types": "0.37.
|
|
42
|
+
"@appsemble/lang-sdk": "0.37.5",
|
|
43
|
+
"@appsemble/types": "0.37.5",
|
|
44
44
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
|
45
45
|
"axios": "^1.0.0",
|
|
46
46
|
"langmap": "^0.0.16",
|