cozy-client 27.5.0 → 27.5.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/CHANGELOG.md +11 -0
- package/dist/CozyClient.js +1 -1
- package/dist/index.js +33 -3
- package/package.json +2 -2
- package/types/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [27.5.1](https://github.com/cozy/cozy-client/compare/v27.5.0...v27.5.1) (2021-12-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Re-export associations helpers ([9a8d841](https://github.com/cozy/cozy-client/commit/9a8d84135762a1cf0ce29c7da247ca9a4ec617e5)), closes [#1076](https://github.com/cozy/cozy-client/issues/1076)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [27.5.0](https://github.com/cozy/cozy-client/compare/v27.4.0...v27.5.0) (2021-12-01)
|
|
7
18
|
|
|
8
19
|
|
package/dist/CozyClient.js
CHANGED
|
@@ -2452,7 +2452,7 @@ var CozyClient = /*#__PURE__*/function () {
|
|
|
2452
2452
|
CozyClient.hooks = CozyClient.hooks || {};
|
|
2453
2453
|
CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
|
|
2454
2454
|
|
|
2455
|
-
CozyClient.version = "27.5.
|
|
2455
|
+
CozyClient.version = "27.5.1";
|
|
2456
2456
|
|
|
2457
2457
|
_microee.default.mixin(CozyClient);
|
|
2458
2458
|
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,10 @@ var _exportNames = {
|
|
|
22
22
|
HasOneInPlace: true,
|
|
23
23
|
HasManyInPlace: true,
|
|
24
24
|
HasManyTriggers: true,
|
|
25
|
+
isReferencedBy: true,
|
|
26
|
+
isReferencedById: true,
|
|
27
|
+
getReferencedBy: true,
|
|
28
|
+
getReferencedById: true,
|
|
25
29
|
dehydrate: true,
|
|
26
30
|
generateWebLink: true,
|
|
27
31
|
cancelable: true,
|
|
@@ -132,16 +136,40 @@ Object.defineProperty(exports, "HasManyTriggers", {
|
|
|
132
136
|
return _associations.HasManyTriggers;
|
|
133
137
|
}
|
|
134
138
|
});
|
|
139
|
+
Object.defineProperty(exports, "isReferencedBy", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function get() {
|
|
142
|
+
return _helpers.isReferencedBy;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "isReferencedById", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function get() {
|
|
148
|
+
return _helpers.isReferencedById;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(exports, "getReferencedBy", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function get() {
|
|
154
|
+
return _helpers.getReferencedBy;
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "getReferencedById", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function get() {
|
|
160
|
+
return _helpers.getReferencedById;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
135
163
|
Object.defineProperty(exports, "dehydrate", {
|
|
136
164
|
enumerable: true,
|
|
137
165
|
get: function get() {
|
|
138
|
-
return
|
|
166
|
+
return _helpers2.dehydrate;
|
|
139
167
|
}
|
|
140
168
|
});
|
|
141
169
|
Object.defineProperty(exports, "generateWebLink", {
|
|
142
170
|
enumerable: true,
|
|
143
171
|
get: function get() {
|
|
144
|
-
return
|
|
172
|
+
return _helpers2.generateWebLink;
|
|
145
173
|
}
|
|
146
174
|
});
|
|
147
175
|
Object.defineProperty(exports, "cancelable", {
|
|
@@ -248,7 +276,9 @@ var _dsl = require("./queries/dsl");
|
|
|
248
276
|
|
|
249
277
|
var _associations = require("./associations");
|
|
250
278
|
|
|
251
|
-
var _helpers = require("./helpers");
|
|
279
|
+
var _helpers = require("./associations/helpers");
|
|
280
|
+
|
|
281
|
+
var _helpers2 = require("./helpers");
|
|
252
282
|
|
|
253
283
|
var _utils = require("./utils");
|
|
254
284
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "27.5.
|
|
3
|
+
"version": "27.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"react-native-inappbrowser-reborn": "^3.5.1"
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "00cb31ac870bd50ea31a8df012a5387b95525a88"
|
|
73
73
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import * as models from "./models";
|
|
|
18
18
|
export { manifest, models };
|
|
19
19
|
export { QueryDefinition, Q, Mutations, MutationTypes, getDoctypeFromOperation } from "./queries/dsl";
|
|
20
20
|
export { Association, HasMany, HasOne, HasOneInPlace, HasManyInPlace, HasManyTriggers } from "./associations";
|
|
21
|
+
export { isReferencedBy, isReferencedById, getReferencedBy, getReferencedById } from "./associations/helpers";
|
|
21
22
|
export { dehydrate, generateWebLink } from "./helpers";
|
|
22
23
|
export { cancelable, isQueryLoading, hasQueryBeenLoaded } from "./utils";
|
|
23
24
|
export { queryConnect, queryConnectFlat, withClient } from "./hoc";
|