@autofleet/sadot 1.0.1 → 1.0.2
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/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export * from './utils/helpers';
|
|
|
8
8
|
* Adding custom fields enrichment to the models inside the MODELS_FILE_NAME json file
|
|
9
9
|
* @see {@link 'custom-fields/config'} for configurations
|
|
10
10
|
*/
|
|
11
|
-
declare const useCustomFields: (app: Application | null, getModel: ModelFetcher, options: CustomFieldOptions) => Promise<Sequelize>;
|
|
11
|
+
declare const useCustomFields: (app: Pick<Application, 'use'> | null, getModel: ModelFetcher, options: CustomFieldOptions) => Promise<Sequelize>;
|
|
12
12
|
export default useCustomFields;
|
|
13
13
|
export declare const disableCustomFields: (models: Models[], getModel: ModelFetcher) => void;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -22,7 +22,7 @@ export * from './utils/helpers';
|
|
|
22
22
|
* @see {@link 'custom-fields/config'} for configurations
|
|
23
23
|
*/
|
|
24
24
|
const useCustomFields = async (
|
|
25
|
-
app: Application | null,
|
|
25
|
+
app: Pick<Application, 'use'> | null,
|
|
26
26
|
getModel: ModelFetcher,
|
|
27
27
|
options: CustomFieldOptions,
|
|
28
28
|
): Promise<Sequelize> => {
|