@proposit/shared 0.2.0 → 0.2.1
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/package.json +35 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proposit/shared",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Runtime-agnostic TypeScript shared between proposit-server and proposit-mobile. Schemas, engine, api-client, and utilities.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/Proposit-App/proposit-shared",
|
|
@@ -15,71 +15,88 @@
|
|
|
15
15
|
"exports": {
|
|
16
16
|
"./api-client": {
|
|
17
17
|
"types": "./dist/api-client/index.d.ts",
|
|
18
|
-
"import": "./dist/api-client/index.js"
|
|
18
|
+
"import": "./dist/api-client/index.js",
|
|
19
|
+
"default": "./dist/api-client/index.js"
|
|
19
20
|
},
|
|
20
21
|
"./schemas": {
|
|
21
22
|
"types": "./dist/schemas/index.d.ts",
|
|
22
|
-
"import": "./dist/schemas/index.js"
|
|
23
|
+
"import": "./dist/schemas/index.js",
|
|
24
|
+
"default": "./dist/schemas/index.js"
|
|
23
25
|
},
|
|
24
26
|
"./schemas/integrations": {
|
|
25
27
|
"types": "./dist/schemas/integrations/index.d.ts",
|
|
26
|
-
"import": "./dist/schemas/integrations/index.js"
|
|
28
|
+
"import": "./dist/schemas/integrations/index.js",
|
|
29
|
+
"default": "./dist/schemas/integrations/index.js"
|
|
27
30
|
},
|
|
28
31
|
"./schemas/api/argument": {
|
|
29
32
|
"types": "./dist/schemas/api/argument/index.d.ts",
|
|
30
|
-
"import": "./dist/schemas/api/argument/index.js"
|
|
33
|
+
"import": "./dist/schemas/api/argument/index.js",
|
|
34
|
+
"default": "./dist/schemas/api/argument/index.js"
|
|
31
35
|
},
|
|
32
36
|
"./schemas/api/reaction": {
|
|
33
37
|
"types": "./dist/schemas/api/reaction/index.d.ts",
|
|
34
|
-
"import": "./dist/schemas/api/reaction/index.js"
|
|
38
|
+
"import": "./dist/schemas/api/reaction/index.js",
|
|
39
|
+
"default": "./dist/schemas/api/reaction/index.js"
|
|
35
40
|
},
|
|
36
41
|
"./schemas/api/review": {
|
|
37
42
|
"types": "./dist/schemas/api/review/index.d.ts",
|
|
38
|
-
"import": "./dist/schemas/api/review/index.js"
|
|
43
|
+
"import": "./dist/schemas/api/review/index.js",
|
|
44
|
+
"default": "./dist/schemas/api/review/index.js"
|
|
39
45
|
},
|
|
40
46
|
"./schemas/api/user": {
|
|
41
47
|
"types": "./dist/schemas/api/user/index.d.ts",
|
|
42
|
-
"import": "./dist/schemas/api/user/index.js"
|
|
48
|
+
"import": "./dist/schemas/api/user/index.js",
|
|
49
|
+
"default": "./dist/schemas/api/user/index.js"
|
|
43
50
|
},
|
|
44
51
|
"./schemas/*": {
|
|
45
52
|
"types": "./dist/schemas/*.d.ts",
|
|
46
|
-
"import": "./dist/schemas/*.js"
|
|
53
|
+
"import": "./dist/schemas/*.js",
|
|
54
|
+
"default": "./dist/schemas/*.js"
|
|
47
55
|
},
|
|
48
56
|
"./consts": {
|
|
49
57
|
"types": "./dist/consts/index.d.ts",
|
|
50
|
-
"import": "./dist/consts/index.js"
|
|
58
|
+
"import": "./dist/consts/index.js",
|
|
59
|
+
"default": "./dist/consts/index.js"
|
|
51
60
|
},
|
|
52
61
|
"./consts/*": {
|
|
53
62
|
"types": "./dist/consts/*.d.ts",
|
|
54
|
-
"import": "./dist/consts/*.js"
|
|
63
|
+
"import": "./dist/consts/*.js",
|
|
64
|
+
"default": "./dist/consts/*.js"
|
|
55
65
|
},
|
|
56
66
|
"./errors": {
|
|
57
67
|
"types": "./dist/errors.d.ts",
|
|
58
|
-
"import": "./dist/errors.js"
|
|
68
|
+
"import": "./dist/errors.js",
|
|
69
|
+
"default": "./dist/errors.js"
|
|
59
70
|
},
|
|
60
71
|
"./checksum": {
|
|
61
72
|
"types": "./dist/checksum.d.ts",
|
|
62
|
-
"import": "./dist/checksum.js"
|
|
73
|
+
"import": "./dist/checksum.js",
|
|
74
|
+
"default": "./dist/checksum.js"
|
|
63
75
|
},
|
|
64
76
|
"./utils": {
|
|
65
77
|
"types": "./dist/utils/index.d.ts",
|
|
66
|
-
"import": "./dist/utils/index.js"
|
|
78
|
+
"import": "./dist/utils/index.js",
|
|
79
|
+
"default": "./dist/utils/index.js"
|
|
67
80
|
},
|
|
68
81
|
"./utils/*": {
|
|
69
82
|
"types": "./dist/utils/*.d.ts",
|
|
70
|
-
"import": "./dist/utils/*.js"
|
|
83
|
+
"import": "./dist/utils/*.js",
|
|
84
|
+
"default": "./dist/utils/*.js"
|
|
71
85
|
},
|
|
72
86
|
"./engine/mutations": {
|
|
73
87
|
"types": "./dist/engine/mutations/index.d.ts",
|
|
74
|
-
"import": "./dist/engine/mutations/index.js"
|
|
88
|
+
"import": "./dist/engine/mutations/index.js",
|
|
89
|
+
"default": "./dist/engine/mutations/index.js"
|
|
75
90
|
},
|
|
76
91
|
"./engine/optimistic": {
|
|
77
92
|
"types": "./dist/engine/optimistic/index.d.ts",
|
|
78
|
-
"import": "./dist/engine/optimistic/index.js"
|
|
93
|
+
"import": "./dist/engine/optimistic/index.js",
|
|
94
|
+
"default": "./dist/engine/optimistic/index.js"
|
|
79
95
|
},
|
|
80
96
|
"./engine/*": {
|
|
81
97
|
"types": "./dist/engine/*.d.ts",
|
|
82
|
-
"import": "./dist/engine/*.js"
|
|
98
|
+
"import": "./dist/engine/*.js",
|
|
99
|
+
"default": "./dist/engine/*.js"
|
|
83
100
|
}
|
|
84
101
|
},
|
|
85
102
|
"files": [
|