forked from tsai/budibase
5 changed files with 7 additions and 5 deletions
@ -1,7 +1,7 @@ |
|||||
import { writable } from 'svelte/store' |
import { writable } from 'svelte/store' |
||||
import api from "builderStore/api" |
import api from "builderStore/api" |
||||
|
|
||||
export function fetchData (url) { |
export default function (url) { |
||||
const store = writable({status: 'LOADING', data: {}, error: {}}) |
const store = writable({status: 'LOADING', data: {}, error: {}}) |
||||
|
|
||||
async function get() { |
async function get() { |
||||
@ -0,0 +1,2 @@ |
|||||
|
export { default as fetchData } from './fetchData' |
||||
|
export { buildStyle, convertCamel, pipe, capitalise, get_name, get_capitalised_name } from './helpers' |
||||
@ -0,0 +1,2 @@ |
|||||
|
export { emailValidator, requiredValidator } from './validators' |
||||
|
export { createValidationStore } from './validation' |
||||
Loading…
Reference in new issue