@yuuvis/client-core 2.3.8 → 2.3.9
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.
|
@@ -1,32 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MissingTranslationHandler, TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { CoreConfig } from './service/config/core-config';
|
|
4
|
-
import { EoxMissingTranslationHandler } from './service/core-init/missing-translation-handler';
|
|
5
|
-
import { EoxTranslateJsonLoader } from './service/core-init/translate-json-loader';
|
|
1
|
+
import { EnvironmentProviders } from '@angular/core';
|
|
6
2
|
export interface YuvClientCoreConfig {
|
|
7
3
|
translations: string[];
|
|
8
4
|
}
|
|
9
|
-
export declare const provideYuvClientCore: (options?: YuvClientCoreConfig) =>
|
|
10
|
-
provide: import("@angular/core").InjectionToken<CoreConfig>;
|
|
11
|
-
useClass: typeof CoreConfig;
|
|
12
|
-
deps: import("@angular/core").InjectionToken<CoreConfig>[];
|
|
13
|
-
useValue?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
provide: typeof TranslateLoader;
|
|
16
|
-
useClass: typeof EoxTranslateJsonLoader;
|
|
17
|
-
deps: (typeof HttpClient | import("@angular/core").InjectionToken<CoreConfig>)[];
|
|
18
|
-
useValue?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
provide: typeof MissingTranslationHandler;
|
|
21
|
-
useClass: typeof EoxMissingTranslationHandler;
|
|
22
|
-
deps?: undefined;
|
|
23
|
-
useValue?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
provide: import("@angular/core").InjectionToken<CoreConfig>;
|
|
26
|
-
useValue: {
|
|
27
|
-
translations: string[];
|
|
28
|
-
ɵprov: unknown;
|
|
29
|
-
};
|
|
30
|
-
useClass?: undefined;
|
|
31
|
-
deps?: undefined;
|
|
32
|
-
})[];
|
|
5
|
+
export declare const provideYuvClientCore: (options?: YuvClientCoreConfig) => EnvironmentProviders;
|
|
@@ -3,6 +3,7 @@ import { DmsObject } from '../../model/dms-object.model';
|
|
|
3
3
|
import { HttpOptions } from '../backend/backend.interface';
|
|
4
4
|
import { SearchResponse, SearchResult } from '../search/search.service.interface';
|
|
5
5
|
import { CoreApiResponse, ObjectCopyOptions, ObjectDeleteOptions, ObjectDeleteResult, ObjectMoveOptions } from './dms.service.interface';
|
|
6
|
+
import { DmsObjectTag } from '../../model/dms-object.interface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Service for working with dms objects: create them, delete, etc.
|
|
@@ -66,6 +67,11 @@ export declare class DmsService {
|
|
|
66
67
|
* @param version Desired version of the object
|
|
67
68
|
*/
|
|
68
69
|
getDmsObject(id: string, version?: number, silent?: boolean, requestOptions?: HttpOptions | undefined): Observable<DmsObject>;
|
|
70
|
+
/**
|
|
71
|
+
* Get tags of a dms object.
|
|
72
|
+
* @param objectData Data field of the dms object
|
|
73
|
+
*/
|
|
74
|
+
getDmsObjectTags(objectData: Record<string, unknown>): DmsObjectTag[];
|
|
69
75
|
/**
|
|
70
76
|
* Updates a tag on a dms object.
|
|
71
77
|
* @param id The ID of the object
|