@yuuvis/client-shell 2.1.18 → 2.1.19
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 +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Now this renderer is made available to all apps. You can limit the renderer to s
|
|
|
58
58
|
|
|
59
59
|
### Object types
|
|
60
60
|
|
|
61
|
-
Types/Flavors are collections of properties that can be added to an object. Let's say you have a document that is an
|
|
61
|
+
Types/Flavors are collections of properties that can be added to an object. Let's say you have a document that is an offer. First of all any file is just a document. By adding a type of `offer` its metadata will be extended by the properties defined by the aspect.
|
|
62
62
|
|
|
63
63
|
```ts
|
|
64
64
|
@Injectable()
|
|
@@ -76,15 +76,15 @@ Flavors are simple objects defining a type:
|
|
|
76
76
|
```ts
|
|
77
77
|
const flavor = {
|
|
78
78
|
// unique id
|
|
79
|
-
id: 'io.yuuvis.app.ai.flavor.
|
|
79
|
+
id: 'io.yuuvis.app.ai.flavor.offer',
|
|
80
80
|
// key to fetch translated description
|
|
81
|
-
descriptionKey: 'io.yuuvis.app.ai.flavor.
|
|
81
|
+
descriptionKey: 'io.yuuvis.app.ai.flavor.offer.description',
|
|
82
82
|
// an icon
|
|
83
83
|
icon: '<svg/>...</svg>',
|
|
84
84
|
// the base object type ID for the type
|
|
85
85
|
objectTypeID: SystemType.DOCUMENT,
|
|
86
86
|
// ID of the secondary object type defining the properties of the type
|
|
87
|
-
sot: `${APP_PREFIX}
|
|
87
|
+
sot: `${APP_PREFIX}offer`,
|
|
88
88
|
// restrict on which kind of files this type could be applied
|
|
89
89
|
applicableTo: {
|
|
90
90
|
// match against mime type incl. wildcards
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuuvis/client-shell",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.19",
|
|
4
4
|
"author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": "^19.2.1",
|
|
8
8
|
"@angular/core": "^19.2.1",
|
|
9
9
|
"@angular/service-worker": "^19.2.1",
|
|
10
|
-
"@yuuvis/client-core": "^2.1.
|
|
11
|
-
"@yuuvis/client-shell-core": "^2.1.
|
|
12
|
-
"@yuuvis/client-framework": "^2.1.
|
|
10
|
+
"@yuuvis/client-core": "^2.1.19",
|
|
11
|
+
"@yuuvis/client-shell-core": "^2.1.19",
|
|
12
|
+
"@yuuvis/client-framework": "^2.1.19"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"tslib": "^2.3.0"
|