removed js sdk dto helpers

This commit is contained in:
Gani Georgiev
2023-08-14 21:20:49 +03:00
parent cbf1215bb1
commit 5960dc5f2d
94 changed files with 1226 additions and 1213 deletions
@@ -5,7 +5,6 @@
<script>
import { createEventDispatcher, onMount } from "svelte";
import { slide } from "svelte/transition";
import { SchemaField } from "pocketbase";
import CommonHelper from "@/utils/CommonHelper";
import tooltip from "@/actions/tooltip";
import { errors, setErrors } from "@/stores/errors";
@@ -23,7 +22,7 @@
};
export let key = "";
export let field = new SchemaField();
export let field = CommonHelper.initSchemaField();
let nameInput;
let showOptions = false;
@@ -72,7 +72,7 @@
return;
}
if (selectedColection.isAuth) {
if (selectedColection.type === "auth") {
displayFieldsList = displayFieldsList.concat(authFields);
}