@ossy/platform 1.28.0 → 1.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/package.json +6 -5
- package/src/Definition.js +13 -0
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/platform",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"description": "Ossy application server runtime",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"./runtime": "./src/runtime.js",
|
|
16
16
|
"./site-loader": "./src/site-loader.js",
|
|
17
17
|
"./tasks": "./src/index.js",
|
|
18
|
-
"./resources": "./src/resources/index.js"
|
|
18
|
+
"./resources": "./src/resources/index.js",
|
|
19
|
+
"./definition": "./src/Definition.js"
|
|
19
20
|
},
|
|
20
21
|
"scripts": {
|
|
21
22
|
"start": "PORT=3003 node -e \"import('./src/server.js').then(m => m.startServer())\""
|
|
@@ -24,8 +25,8 @@
|
|
|
24
25
|
"author": "Ossy <yourfriends@ossy.se> (https://ossy.se)",
|
|
25
26
|
"license": "MIT",
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@ossy/router": "^1.
|
|
28
|
-
"@ossy/sdk": "^1.
|
|
28
|
+
"@ossy/router": "^1.30.1",
|
|
29
|
+
"@ossy/sdk": "^1.30.1",
|
|
29
30
|
"cookie-parser": "^1.4.7",
|
|
30
31
|
"dotenv": ">=16.0.0 <18.0.0",
|
|
31
32
|
"express": ">=5.0.0 <6.0.0",
|
|
@@ -36,5 +37,5 @@
|
|
|
36
37
|
"src",
|
|
37
38
|
"Dockerfile"
|
|
38
39
|
],
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "70107405331f17c62943e54a9a5e18925635e6fc"
|
|
40
41
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const Definition = {
|
|
2
|
+
id: 'platform',
|
|
3
|
+
title: 'Platform',
|
|
4
|
+
description: 'Deployment platform configuration aligned with deployment-tools S3 platform-config.json.',
|
|
5
|
+
module: {
|
|
6
|
+
id: 'platform',
|
|
7
|
+
enabled: true
|
|
8
|
+
},
|
|
9
|
+
statuses: ['beta'],
|
|
10
|
+
actions: ['resources.create', 'resources.update-content', 'resources.rename', 'resources.remove'],
|
|
11
|
+
views: ['home.page', 'resources.search', 'resources.get'],
|
|
12
|
+
tasks: []
|
|
13
|
+
}
|
package/src/index.js
CHANGED
|
@@ -3,3 +3,4 @@ export { loadAndRegisterTasks } from './tasks/task-registry.js'
|
|
|
3
3
|
export { ChangeStream } from './tasks/change-stream.js'
|
|
4
4
|
export { registerResourceTemplate, getSystemResourceTemplates } from './resources/resource-template.registry.js'
|
|
5
5
|
export { normalizeAndValidateDocumentContent, validateResourceTemplatesForImport, ALLOWED_FIELD_TYPES } from './resources/resource-template.validation.js'
|
|
6
|
+
export { Definition } from './Definition.js'
|