@yuuvis/client-core 2.3.31 → 2.4.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.
|
@@ -10,7 +10,9 @@ export declare enum YuvEventType {
|
|
|
10
10
|
DMS_OBJECT_DELETED = "yuv.dms.object.deleted",
|
|
11
11
|
DMS_OBJECT_UPDATED = "yuv.dms.object.updated",
|
|
12
12
|
DMS_OBJECT_CONTENT_UPDATED = "yuv.dms.object.content.updated",
|
|
13
|
-
DMS_OBJECTS_MOVED = "yuv.dms.objects.moved"
|
|
13
|
+
DMS_OBJECTS_MOVED = "yuv.dms.objects.moved",
|
|
14
|
+
RELATIONSHIP_CREATED = "yuv.dms.relationship.created",
|
|
15
|
+
RELATIONSHIP_DELETED = "yuv.dms.relationship.deleted"
|
|
14
16
|
}
|
|
15
17
|
export interface YuvEventDeletedData {
|
|
16
18
|
id: string;
|
|
@@ -2,6 +2,7 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { AuthData } from './../auth/auth.service';
|
|
3
3
|
import { ClassificationEntry, GenericObjectType, Localization, ObjectType, ObjectTypeField, ObjectTypePermissions, Relationship, SchemaResponse, SecondaryObjectType, SystemDefinition } from './system.interface';
|
|
4
4
|
import { ObjectTypeFieldInternalType } from '../object-form/object-form.interface';
|
|
5
|
+
import { DmsObject } from '../../model/dms-object.model';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* Providing system definitions.
|
|
@@ -34,6 +35,11 @@ export declare class SystemService {
|
|
|
34
35
|
*/
|
|
35
36
|
getSecondaryObjectType(objectTypeId: string, withLabel?: boolean): SecondaryObjectType | undefined;
|
|
36
37
|
getRelationship(id: string, withLabel?: boolean): Relationship | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Get supported relationships for a given dms object
|
|
40
|
+
* @param dmsObject DmsObject to get supported relationships for
|
|
41
|
+
*/
|
|
42
|
+
getSupportedRelationships(dmsObject: DmsObject, withLabel?: boolean): Relationship[];
|
|
37
43
|
/**
|
|
38
44
|
* Get the base document type all documents belong to
|
|
39
45
|
* @param withLabel Whether or not to also add the types label
|