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