@springtree/eva-services-sync 1.0.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [1.0.2](https://github.com/springtreesolutions/eva-sdk-repo/compare/@springtree/eva-services-sync@1.0.1...@springtree/eva-services-sync@1.0.2) (2022-09-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **sync:** make sync public ([6a50326](https://github.com/springtreesolutions/eva-sdk-repo/commit/6a503261fbab416fa7f5b53ec8413947dba67987))
12
+
13
+
14
+
15
+
16
+
17
+ ## 1.0.1 (2022-09-21)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **eva-services-sync:** added eva.sync package ([2034440](https://github.com/springtreesolutions/eva-sdk-repo/commit/20344407ea6a50e8148bdfd44793e08d6ea6feaf))
package/LICENSE ADDED
@@ -0,0 +1,5 @@
1
+ Copyright 2019 SpringTree Solutions <info@springtree.nl>
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # `@springtree/eva-services-sync`
2
+
3
+ The EVA.Sync service repository for the EVA platform.
4
+ These services will be required for all client applications.
5
+ They can be used together with the `EvaService` class provided by `@springtree/eva-sdk-core-service`.
6
+ See `@springtree/eva-services-core` for usage instructions.
@@ -0,0 +1,56 @@
1
+ import { IEvaServiceDefinition } from '@springtree/eva-services-core';
2
+ export declare namespace Sync {
3
+ /**
4
+ * Compares synchronization file with current environment.
5
+ *
6
+ * @export
7
+ * @class CompareSynchronization
8
+ * @implements {EvaService}
9
+ */
10
+ class CompareSynchronization implements IEvaServiceDefinition {
11
+ name: string;
12
+ path: string;
13
+ request?: EVA.Sync.CompareSynchronization;
14
+ response?: EVA.Sync.CompareSynchronizationResponse;
15
+ }
16
+ /**
17
+ * Creates a synchronization file. Compare with CompareSynchronization and upload with UploadSynchronization
18
+ *
19
+ * @export
20
+ * @class CreateSynchronization
21
+ * @implements {EvaService}
22
+ */
23
+ class CreateSynchronization implements IEvaServiceDefinition {
24
+ name: string;
25
+ path: string;
26
+ request?: EVA.Sync.CreateSynchronization;
27
+ response?: EVA.Sync.CreateSynchronizationResponse;
28
+ }
29
+ /**
30
+ * Returns available synchronization managers.
31
+ *
32
+ * @export
33
+ * @class GetAvailableSynchronizationManagers
34
+ * @implements {EvaService}
35
+ */
36
+ class GetAvailableSynchronizationManagers implements IEvaServiceDefinition {
37
+ name: string;
38
+ path: string;
39
+ request?: EVA.Sync.GetAvailableSynchronizationManagers;
40
+ response?: EVA.Sync.GetAvailableSynchronizationManagersResponse;
41
+ }
42
+ /**
43
+ * Import data stored in provided synchronization file. Provide a list of data IDs that should be imported.
44
+ *
45
+ * @export
46
+ * @class UploadSynchronization
47
+ * @implements {EvaService}
48
+ */
49
+ class UploadSynchronization implements IEvaServiceDefinition {
50
+ name: string;
51
+ path: string;
52
+ request?: EVA.Sync.UploadSynchronization;
53
+ response?: EVA.Sync.UploadSynchronizationResponse;
54
+ }
55
+ }
56
+ //# sourceMappingURL=EVA.Sync.Services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EVA.Sync.Services.d.ts","sourceRoot":"","sources":["../src/EVA.Sync.Services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,yBAAiB,IAAI,CAAC;IAEpB;;;;;;OAMG;IACH,MAAa,sBAAuB,YAAW,qBAAqB;QAClE,IAAI,SAAiC;QACrC,IAAI,SAAsC;QAC1C,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,sBAAsB,CAAC;QAC1C,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,8BAA8B,CAAC;KACpD;IAED;;;;;;OAMG;IACH,MAAa,qBAAsB,YAAW,qBAAqB;QACjE,IAAI,SAAgC;QACpC,IAAI,SAAqC;QACzC,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,qBAAqB,CAAC;QACzC,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,6BAA6B,CAAC;KACnD;IAED;;;;;;OAMG;IACH,MAAa,mCAAoC,YAAW,qBAAqB;QAC/E,IAAI,SAA8C;QAClD,IAAI,SAAmD;QACvD,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,mCAAmC,CAAC;QACvD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,2CAA2C,CAAC;KACjE;IAED;;;;;;OAMG;IACH,MAAa,qBAAsB,YAAW,qBAAqB;QACjE,IAAI,SAAgC;QACpC,IAAI,SAAqC;QACzC,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,qBAAqB,CAAC;QACzC,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,6BAA6B,CAAC;KACnD;CACF"}
@@ -0,0 +1,60 @@
1
+ export var Sync;
2
+ (function (Sync) {
3
+ /**
4
+ * Compares synchronization file with current environment.
5
+ *
6
+ * @export
7
+ * @class CompareSynchronization
8
+ * @implements {EvaService}
9
+ */
10
+ class CompareSynchronization {
11
+ constructor() {
12
+ this.name = 'Sync:CompareSynchronization';
13
+ this.path = '/api/sync/CompareSynchronization';
14
+ }
15
+ }
16
+ Sync.CompareSynchronization = CompareSynchronization;
17
+ /**
18
+ * Creates a synchronization file. Compare with CompareSynchronization and upload with UploadSynchronization
19
+ *
20
+ * @export
21
+ * @class CreateSynchronization
22
+ * @implements {EvaService}
23
+ */
24
+ class CreateSynchronization {
25
+ constructor() {
26
+ this.name = 'Sync:CreateSynchronization';
27
+ this.path = '/api/sync/CreateSynchronization';
28
+ }
29
+ }
30
+ Sync.CreateSynchronization = CreateSynchronization;
31
+ /**
32
+ * Returns available synchronization managers.
33
+ *
34
+ * @export
35
+ * @class GetAvailableSynchronizationManagers
36
+ * @implements {EvaService}
37
+ */
38
+ class GetAvailableSynchronizationManagers {
39
+ constructor() {
40
+ this.name = 'Sync:GetAvailableSynchronizationManagers';
41
+ this.path = '/api/sync/GetAvailableSynchronizationManagers';
42
+ }
43
+ }
44
+ Sync.GetAvailableSynchronizationManagers = GetAvailableSynchronizationManagers;
45
+ /**
46
+ * Import data stored in provided synchronization file. Provide a list of data IDs that should be imported.
47
+ *
48
+ * @export
49
+ * @class UploadSynchronization
50
+ * @implements {EvaService}
51
+ */
52
+ class UploadSynchronization {
53
+ constructor() {
54
+ this.name = 'Sync:UploadSynchronization';
55
+ this.path = '/api/sync/UploadSynchronization';
56
+ }
57
+ }
58
+ Sync.UploadSynchronization = UploadSynchronization;
59
+ })(Sync || (Sync = {}));
60
+ //# sourceMappingURL=EVA.Sync.Services.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EVA.Sync.Services.js","sourceRoot":"","sources":["../src/EVA.Sync.Services.ts"],"names":[],"mappings":"AAEE,MAAM,KAAW,IAAI,CAyDpB;AAzDD,WAAiB,IAAI;IAEnB;;;;;;OAMG;IACH,MAAa,sBAAsB;QAAnC;YACE,SAAI,GAAG,6BAA6B,CAAC;YACrC,SAAI,GAAG,kCAAkC,CAAC;QAG5C,CAAC;KAAA;IALY,2BAAsB,yBAKlC,CAAA;IAED;;;;;;OAMG;IACH,MAAa,qBAAqB;QAAlC;YACE,SAAI,GAAG,4BAA4B,CAAC;YACpC,SAAI,GAAG,iCAAiC,CAAC;QAG3C,CAAC;KAAA;IALY,0BAAqB,wBAKjC,CAAA;IAED;;;;;;OAMG;IACH,MAAa,mCAAmC;QAAhD;YACE,SAAI,GAAG,0CAA0C,CAAC;YAClD,SAAI,GAAG,+CAA+C,CAAC;QAGzD,CAAC;KAAA;IALY,wCAAmC,sCAK/C,CAAA;IAED;;;;;;OAMG;IACH,MAAa,qBAAqB;QAAlC;YACE,SAAI,GAAG,4BAA4B,CAAC;YACpC,SAAI,GAAG,iCAAiC,CAAC;QAG3C,CAAC;KAAA;IALY,0BAAqB,wBAKjC,CAAA;AACH,CAAC,EAzDgB,IAAI,KAAJ,IAAI,QAyDpB"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Expose the service definitions
3
+ */
4
+ export * from './EVA.Sync.Services';
5
+ //# sourceMappingURL=eva-services-sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eva-services-sync.d.ts","sourceRoot":"","sources":["../src/eva-services-sync.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,62 @@
1
+ var Sync;
2
+ (function (Sync) {
3
+ /**
4
+ * Compares synchronization file with current environment.
5
+ *
6
+ * @export
7
+ * @class CompareSynchronization
8
+ * @implements {EvaService}
9
+ */
10
+ class CompareSynchronization {
11
+ constructor() {
12
+ this.name = 'Sync:CompareSynchronization';
13
+ this.path = '/api/sync/CompareSynchronization';
14
+ }
15
+ }
16
+ Sync.CompareSynchronization = CompareSynchronization;
17
+ /**
18
+ * Creates a synchronization file. Compare with CompareSynchronization and upload with UploadSynchronization
19
+ *
20
+ * @export
21
+ * @class CreateSynchronization
22
+ * @implements {EvaService}
23
+ */
24
+ class CreateSynchronization {
25
+ constructor() {
26
+ this.name = 'Sync:CreateSynchronization';
27
+ this.path = '/api/sync/CreateSynchronization';
28
+ }
29
+ }
30
+ Sync.CreateSynchronization = CreateSynchronization;
31
+ /**
32
+ * Returns available synchronization managers.
33
+ *
34
+ * @export
35
+ * @class GetAvailableSynchronizationManagers
36
+ * @implements {EvaService}
37
+ */
38
+ class GetAvailableSynchronizationManagers {
39
+ constructor() {
40
+ this.name = 'Sync:GetAvailableSynchronizationManagers';
41
+ this.path = '/api/sync/GetAvailableSynchronizationManagers';
42
+ }
43
+ }
44
+ Sync.GetAvailableSynchronizationManagers = GetAvailableSynchronizationManagers;
45
+ /**
46
+ * Import data stored in provided synchronization file. Provide a list of data IDs that should be imported.
47
+ *
48
+ * @export
49
+ * @class UploadSynchronization
50
+ * @implements {EvaService}
51
+ */
52
+ class UploadSynchronization {
53
+ constructor() {
54
+ this.name = 'Sync:UploadSynchronization';
55
+ this.path = '/api/sync/UploadSynchronization';
56
+ }
57
+ }
58
+ Sync.UploadSynchronization = UploadSynchronization;
59
+ })(Sync || (Sync = {}));
60
+
61
+ export { Sync };
62
+ //# sourceMappingURL=eva-services-sync.es5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eva-services-sync.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Expose the service definitions
3
+ */
4
+ export * from './EVA.Sync.Services';
5
+ //# sourceMappingURL=eva-services-sync.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eva-services-sync.js","sourceRoot":"","sources":["../src/eva-services-sync.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,70 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.evaServicesSync = {}));
5
+ })(this, (function (exports) { 'use strict';
6
+
7
+ exports.Sync = void 0;
8
+ (function (Sync) {
9
+ /**
10
+ * Compares synchronization file with current environment.
11
+ *
12
+ * @export
13
+ * @class CompareSynchronization
14
+ * @implements {EvaService}
15
+ */
16
+ class CompareSynchronization {
17
+ constructor() {
18
+ this.name = 'Sync:CompareSynchronization';
19
+ this.path = '/api/sync/CompareSynchronization';
20
+ }
21
+ }
22
+ Sync.CompareSynchronization = CompareSynchronization;
23
+ /**
24
+ * Creates a synchronization file. Compare with CompareSynchronization and upload with UploadSynchronization
25
+ *
26
+ * @export
27
+ * @class CreateSynchronization
28
+ * @implements {EvaService}
29
+ */
30
+ class CreateSynchronization {
31
+ constructor() {
32
+ this.name = 'Sync:CreateSynchronization';
33
+ this.path = '/api/sync/CreateSynchronization';
34
+ }
35
+ }
36
+ Sync.CreateSynchronization = CreateSynchronization;
37
+ /**
38
+ * Returns available synchronization managers.
39
+ *
40
+ * @export
41
+ * @class GetAvailableSynchronizationManagers
42
+ * @implements {EvaService}
43
+ */
44
+ class GetAvailableSynchronizationManagers {
45
+ constructor() {
46
+ this.name = 'Sync:GetAvailableSynchronizationManagers';
47
+ this.path = '/api/sync/GetAvailableSynchronizationManagers';
48
+ }
49
+ }
50
+ Sync.GetAvailableSynchronizationManagers = GetAvailableSynchronizationManagers;
51
+ /**
52
+ * Import data stored in provided synchronization file. Provide a list of data IDs that should be imported.
53
+ *
54
+ * @export
55
+ * @class UploadSynchronization
56
+ * @implements {EvaService}
57
+ */
58
+ class UploadSynchronization {
59
+ constructor() {
60
+ this.name = 'Sync:UploadSynchronization';
61
+ this.path = '/api/sync/UploadSynchronization';
62
+ }
63
+ }
64
+ Sync.UploadSynchronization = UploadSynchronization;
65
+ })(exports.Sync || (exports.Sync = {}));
66
+
67
+ Object.defineProperty(exports, '__esModule', { value: true });
68
+
69
+ }));
70
+ //# sourceMappingURL=eva-services-sync.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eva-services-sync.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@springtree/eva-services-sync",
3
+ "version": "1.0.2",
4
+ "description": "The EVA service repository for EVA.Sync",
5
+ "keywords": [],
6
+ "author": "SpringTree <info@springtree.nl>",
7
+ "license": "UNLICENSED",
8
+ "main": "lib/eva-services-sync.umd.js",
9
+ "directories": {
10
+ "lib": "lib",
11
+ "test": "__tests__"
12
+ },
13
+ "files": [
14
+ "lib"
15
+ ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/springtreesolutions/eva-sdk-repo.git"
22
+ },
23
+ "scripts": {
24
+ "test": "echo \"Error: run tests from root\" && exit 1"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/springtreesolutions/eva-sdk-repo/issues"
28
+ },
29
+ "homepage": "https://github.com/springtreesolutions/eva-sdk-repo#readme",
30
+ "typings": "lib/eva-services-sync.d.ts",
31
+ "module": "lib/eva-services-sync.es5.js",
32
+ "private": false,
33
+ "peerDependencies": {
34
+ "@springtree/eva-services-core": "^1.0.0"
35
+ },
36
+ "gitHead": "768a413d51cfc908e518cec2b45ada64bb9a3035"
37
+ }