emr-bridge 1.0.0 → 1.1.0

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/lib/publish.d.ts DELETED
@@ -1,66 +0,0 @@
1
- import { Access, Scope } from './enums';
2
- import type { PublicFunction, PublicProperty } from './types';
3
- /**
4
- * Restricts the access scope
5
- */
6
- export declare function scope(scope: Scope): (target: any, key: string) => void;
7
- /**
8
- * Restricts access
9
- */
10
- export declare function access(access: Access): (target: any, key: string) => void;
11
- /**
12
- * Makes the method available for **renderer** and **preload** processes.
13
- *
14
- * _only for static_
15
- * @param name - name by which the method will be accessed
16
- */
17
- export declare function publicStaticMethod(name?: string): MethodDecorator;
18
- /**
19
- * Makes the method available for **renderer** and **preload** processes.
20
- *
21
- * _only for non-static_
22
- *
23
- * _required `providePublic(classInstance)`_
24
- * @param name - name by which the method will be accessed
25
- */
26
- export declare function publicMethod(name?: string): MethodDecorator;
27
- /**
28
- * Makes the property available for **renderer** and **preload** processes.
29
- *
30
- * _only for static_
31
- * @param name - name by which the property will be accessed
32
- */
33
- export declare function publicStaticProperty(name?: string): PropertyDecorator;
34
- /**
35
- * Makes the property available for **renderer** and **preload** processes.
36
- *
37
- * _only for non-static_
38
- *
39
- * _required `providePublic(classInstance)`_
40
- * @param name - name by which the property will be accessed
41
- */
42
- export declare function publicProperty(name?: string): PropertyDecorator;
43
- /**
44
- * Binds all public entities of a class to a specific instance.
45
- *
46
- * _only for class instance_
47
- */
48
- export declare function providePublic<InstanceType>(instance: InstanceType): InstanceType;
49
- /**
50
- * Makes the function available for **renderer** and **preload** processes.
51
- *
52
- * _only for function_
53
- * @param func - linked function
54
- * @param name - name by which the function will be accessed
55
- * @param scopes - function scopes
56
- */
57
- export declare function publicFunction(func: PublicFunction, name: string, scopes?: Scope[]): void;
58
- /**
59
- * Makes the function available for **renderer** and **preload** processes.
60
- *
61
- * _only for variables_
62
- * @param name - name by which the variable will be accessed
63
- * @param value - variable getter/setter
64
- * @param scopes - variable scopes
65
- */
66
- export declare function publicVariable(name: string, value: PublicProperty, scopes?: Scope[]): void;