mobiletto-orm-typedef-gen 2.3.13 → 2.3.14
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.
|
@@ -386,9 +386,10 @@
|
|
|
386
386
|
}
|
|
387
387
|
return true;
|
|
388
388
|
};
|
|
389
|
-
const delObject =
|
|
389
|
+
const delObject = (obj: MobilettoOrmObject) => {
|
|
390
390
|
const id = {{Name}}TypeDef.id(obj);
|
|
391
|
-
|
|
391
|
+
{{name}}Store.delete(id, delete{{Name}}ServerErrors)
|
|
392
|
+
.then(() => {{name}}Store.search());
|
|
392
393
|
};
|
|
393
394
|
watch({{name}}List, (newList) => {
|
|
394
395
|
if (newList && Array.isArray(newList) && newList.length === 0 && searchTerms.value && searchTerms.value.length === 0) {
|
|
@@ -386,9 +386,10 @@
|
|
|
386
386
|
}
|
|
387
387
|
return true;
|
|
388
388
|
};
|
|
389
|
-
const delObject =
|
|
389
|
+
const delObject = (obj: MobilettoOrmObject) => {
|
|
390
390
|
const id = {{Name}}TypeDef.id(obj);
|
|
391
|
-
|
|
391
|
+
{{name}}Store.delete(id, delete{{Name}}ServerErrors)
|
|
392
|
+
.then(() => {{name}}Store.search());
|
|
392
393
|
};
|
|
393
394
|
watch({{name}}List, (newList) => {
|
|
394
395
|
if (newList && Array.isArray(newList) && newList.length === 0 && searchTerms.value && searchTerms.value.length === 0) {
|