frappe-ui 0.0.30 → 0.0.31

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frappe-ui",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -29,8 +29,12 @@ export { default as onOutsideClickDirective } from './directives/onOutsideClick.
29
29
  // utilities
30
30
  export { default as call, createCall } from './utils/call.js'
31
31
  export { default as debounce } from './utils/debounce.js'
32
- export { createResource } from './utils/resources.js'
33
32
  export { default as pageMeta } from './utils/pageMeta.js'
33
+ export {
34
+ createResource,
35
+ createDocumentResource,
36
+ createListResource,
37
+ } from './utils/resources.js'
34
38
 
35
39
  // plugin
36
40
  export { default as FrappeUI } from './utils/plugin.js'
@@ -284,7 +284,7 @@ export function createDocumentResource(options, vm) {
284
284
  return out
285
285
  }
286
286
 
287
- function createListResource(options, vm, getResource) {
287
+ export function createListResource(options, vm, getResource) {
288
288
  if (!options.doctype) return
289
289
 
290
290
  let cacheKey = getCacheKey(options.cache)