1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-19 14:14:05 +00:00

Renamed one more method

This commit is contained in:
2023-01-17 09:50:15 +01:00
parent 3c4437cbbb
commit 68017e19b1
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<script>
import { input } from '../../../actions';
import { createEventDispatcher } from 'svelte';
import { PerformInsert } from '../../../../wailsjs/go/app/App';
import { InsertItems } from '../../../../wailsjs/go/app/App';
export let collection;
@ -10,7 +10,7 @@
let insertedIds;
async function insert() {
insertedIds = await PerformInsert(collection.hostKey, collection.dbKey, collection.key, json);
insertedIds = await InsertItems(collection.hostKey, collection.dbKey, collection.key, json);
}
function showDocs() {

View File

@ -14,10 +14,10 @@ export function GetIndexes(arg1:string,arg2:string,arg3:string):Promise<Array<pr
export function Hosts():Promise<map[string]app.Host>;
export function InsertItems(arg1:string,arg2:string,arg3:string,arg4:string):Promise<any>;
export function OpenCollection(arg1:string,arg2:string,arg3:string):Promise<primitive.M>;
export function OpenConnection(arg1:string):Promise<Array<string>>;
export function OpenDatabase(arg1:string,arg2:string):Promise<Array<string>>;
export function PerformInsert(arg1:string,arg2:string,arg3:string,arg4:string):Promise<any>;

View File

@ -22,6 +22,10 @@ export function Hosts() {
return window['go']['app']['App']['Hosts']();
}
export function InsertItems(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['InsertItems'](arg1, arg2, arg3, arg4);
}
export function OpenCollection(arg1, arg2, arg3) {
return window['go']['app']['App']['OpenCollection'](arg1, arg2, arg3);
}
@ -33,7 +37,3 @@ export function OpenConnection(arg1) {
export function OpenDatabase(arg1, arg2) {
return window['go']['app']['App']['OpenDatabase'](arg1, arg2);
}
export function PerformInsert(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['PerformInsert'](arg1, arg2, arg3, arg4);
}