@nu-art/conflict-resolution-shared 0.400.7

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/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types.js';
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './types.js';
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@nu-art/conflict-resolution-shared",
3
+ "version": "0.400.7",
4
+ "description": "Conflict Resolution Shared",
5
+ "keywords": [
6
+ "TacB0sS",
7
+ "express",
8
+ "infra",
9
+ "nu-art",
10
+ "thunderstorm",
11
+ "typescript"
12
+ ],
13
+ "homepage": "https://github.com/nu-art-js/thunderstorm",
14
+ "bugs": {
15
+ "url": "https://github.com/nu-art-js/thunderstorm/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+ssh://git@github.com:nu-art-js/thunderstorm.git"
20
+ },
21
+ "license": "Apache-2.0",
22
+ "author": "TacB0sS",
23
+ "scripts": {
24
+ "build": "tsc"
25
+ },
26
+ "contributors": [
27
+ {
28
+ "name": "TacB0sS"
29
+ },
30
+ {
31
+ "name": "Cipher",
32
+ "url": "https://www.linkedin.com/in/itay-leybovich-470b87229/"
33
+ }
34
+ ],
35
+ "publishConfig": {
36
+ "directory": "dist",
37
+ "linkDirectory": true
38
+ },
39
+ "dependencies": {
40
+ "@nu-art/ts-common": "0.400.7",
41
+ "@nu-art/ts-styles": "0.400.7",
42
+ "@nu-art/thunderstorm-shared": "0.400.7",
43
+ "react": "^18.0.0"
44
+ },
45
+ "devDependencies": {
46
+ "@types/react": "^18.0.0"
47
+ },
48
+ "unitConfig": {
49
+ "type": "typescript-lib"
50
+ },
51
+ "type": "module",
52
+ "exports": {
53
+ ".": {
54
+ "types": "./index.d.ts",
55
+ "import": "./index.js"
56
+ },
57
+ "./*": {
58
+ "types": "./*.d.ts",
59
+ "import": "./*.js"
60
+ }
61
+ }
62
+ }
package/types.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { DBProto } from '@nu-art/ts-common';
3
+ export type ConflictResolutionItem<Proto extends DBProto<any>> = {
4
+ dbKey: Proto['dbKey'];
5
+ renderer: (instance: Proto['dbType']) => React.ReactNode | undefined;
6
+ collectionRenderer: (dbKey: Proto['dbKey']) => React.ReactNode | undefined;
7
+ filterMapper: (instance: Proto['dbType']) => string[];
8
+ };
package/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};