0.0.24 • Published 9 months ago
@frontierjs/web v0.0.24
import { Preload } from '@frontierjs/web/preload'
import { ApiClient } from '@frontierjs/web/api-client'
import { Auth } from '@frontierjs/web/auth'
import { Resource } from '@frontierjs/web/resource'
import models from '@/core/models-schema.json'
import hooks from '@/core/client-hooks'
import { apiUrl, currentUser, currentAccount } from '@/core/app'
const preload = Preload({
errorsUrl: import.meta.env.VITE_ERRORS_URL
})
const { api, client } = ApiClient({
apiUrl,
hooks,
models,
debug: import.meta.hot
})
const auth = Auth({
client,
currentUser,
currentAccount
})
const resource = Resource({ api, models })
export {
preload,
api,
client,
auth,
resource,
}
0.0.24
9 months ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.20
1 year ago
0.0.19
2 years ago
0.0.17
2 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago