From 63c047934a4cae22b5ab404ca208027f68fd3970 Mon Sep 17 00:00:00 2001 From: Jamie Gaehring Date: Thu, 23 Feb 2023 22:26:56 -0500 Subject: [PATCH] Add file methods to type definitions. --- src/client/index.js | 1 + src/entities.js | 1 + src/index.js | 1 + src/model/index.js | 1 + 4 files changed, 4 insertions(+) diff --git a/src/client/index.js b/src/client/index.js index cb1a49e..8032e67 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -39,6 +39,7 @@ import defaultEntities, { entityMethods } from '../entities.js'; * @property {Object} schema * @property {FetchSchema} schema.fetch * @property {ClientEntityMethods} asset + * @property {ClientEntityMethods} file * @property {ClientEntityMethods} log * @property {ClientEntityMethods} plan * @property {ClientEntityMethods} quantity diff --git a/src/entities.js b/src/entities.js index ec189e8..b69c6c8 100644 --- a/src/entities.js +++ b/src/entities.js @@ -55,6 +55,7 @@ export const defaultOptions = { byType, byFormat }; /** * @typedef {Object.} DefaultEntities * @property {EntityConfig} asset + * @property {EntityConfig} file * @property {EntityConfig} log * @property {EntityConfig} plan * @property {EntityConfig} quantity diff --git a/src/index.js b/src/index.js index 9eaf4bd..4409b30 100644 --- a/src/index.js +++ b/src/index.js @@ -36,6 +36,7 @@ export { splitFilterByType } from './types.js'; * @property {Function} [remote.authorize] * @property {Function} [remote.getToken] * @property {FarmEntityMethods} asset + * @property {FarmEntityMethods} file * @property {FarmEntityMethods} log * @property {FarmEntityMethods} plan * @property {FarmEntityMethods} quantity diff --git a/src/model/index.js b/src/model/index.js index 4c9b2d2..27cfcc4 100644 --- a/src/model/index.js +++ b/src/model/index.js @@ -47,6 +47,7 @@ import { createObserver, isObject } from '../utils.js'; * @property {Object} meta * @property {Function} meta.isUnsynced * @property {ModelEntityMethods} asset + * @property {ModelEntityMethods} file * @property {ModelEntityMethods} log * @property {ModelEntityMethods} plan * @property {ModelEntityMethods} quantity