@yuuvis/client-core 2.3.7 → 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.
- package/fesm2022/yuuvis-client-core.mjs +24 -6
- package/fesm2022/yuuvis-client-core.mjs.map +1 -1
- package/lib/model/dms-object.interface.d.ts +6 -0
- package/lib/provide.client.core.d.ts +2 -29
- package/lib/service/backend/backend.service.d.ts +2 -2
- package/lib/service/dms/dms.service.d.ts +6 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -46,10 +46,10 @@ export declare class BackendService {
|
|
|
46
46
|
* @param uri The target REST URI
|
|
47
47
|
* @param formData FormData to be 'posted'
|
|
48
48
|
* @param base The Base URI (backend service) to be used
|
|
49
|
-
* @param requestOptions Additional request options
|
|
49
|
+
* @param requestOptions Additional request options (see HttpRequest for details)
|
|
50
50
|
* @returns The return value of the target POST endpoint
|
|
51
51
|
*/
|
|
52
|
-
postMultiPart(uri: string, formData: FormData, base?: string, requestOptions?:
|
|
52
|
+
postMultiPart(uri: string, formData: FormData, base?: string, requestOptions?: any): Observable<any>;
|
|
53
53
|
/**
|
|
54
54
|
* Wrapped HTTP PATCH method
|
|
55
55
|
* @param uri The target REST URI
|
|
@@ -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
|