resourcerer 1.1.2 → 1.1.3
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/index.d.ts +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ declare module 'resourcerer' {
|
|
|
182
182
|
options?: {[key: string]: any};
|
|
183
183
|
params?: {[key: string]: any};
|
|
184
184
|
prefetches?: {[key: string]: any}[];
|
|
185
|
-
provides?: (model: Model | Collection) =>
|
|
185
|
+
provides?: {[key: string]: (model: Model | Collection) => any};
|
|
186
186
|
};
|
|
187
187
|
|
|
188
188
|
type ResourceValues = Extract<typeof ResourceKeys[keyof typeof ResourceKeys], string>;
|
|
@@ -242,4 +242,5 @@ declare module 'resourcerer' {
|
|
|
242
242
|
let ResourceKeys: ResourceKeys & {add(keys: Partial<ResourceKeys>): void;};
|
|
243
243
|
let ResourcesConfig: ResourcerConfigOptions & {set: (options: ResourcerConfigOptions) => void;};
|
|
244
244
|
let ModelMap: ModelMap & {add(keys: ModelMap): void;};
|
|
245
|
+
let ModelCache: ModelCache;
|
|
245
246
|
}
|