@statezero/core 0.1.20 → 0.1.22
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.
|
@@ -221,6 +221,9 @@ export class QuerysetStore {
|
|
|
221
221
|
modelClass: this.modelClass,
|
|
222
222
|
});
|
|
223
223
|
const { data, included } = response;
|
|
224
|
+
if (isNil(data)) {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
224
227
|
console.log(`[${id}] Sync fetch completed. Received: ${JSON.stringify(data)}.`);
|
|
225
228
|
// Persists all the instances (including nested instances) to the model store
|
|
226
229
|
processIncludedEntities(modelStoreRegistry, included, this.modelClass);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statezero/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "ESNext",
|
|
6
6
|
"description": "The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"date-fns": "^4.1.0",
|
|
75
75
|
"dotenv": "^16.4.7",
|
|
76
76
|
"fs-extra": "^11.3.0",
|
|
77
|
+
"graphlib": "^2.1.8",
|
|
77
78
|
"handlebars": "^4.7.8",
|
|
78
79
|
"idb": "^8.0.2",
|
|
79
80
|
"inquirer": "^12.4.2",
|