@candlerip/shared3 0.0.144 → 0.0.146
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/backend/database/index.d.ts +0 -1
- package/src/backend/database/index.js +0 -1
- package/src/backend/database/model/candle/index.d.ts +1 -1
- package/src/backend/database/model/candle/index.js +1 -1
- package/src/backend/database/mutation/candle/get-candles/index.js +1 -1
- package/src/backend/database/mutation/error-log/create-error-log/type.d.ts +1 -1
- package/src/backend/page/page-data/candles/compose-candles-page-data/type.d.ts +1 -1
- package/src/backend/database/model/index.d.ts +0 -3
- package/src/backend/database/model/index.js +0 -3
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Types } from 'mongoose';
|
2
2
|
import { customErrorWorker } from '@candlerip/shared3';
|
3
3
|
import { CANDLE_PERSON_AGGREGATE } from '../../../aggregate/index.js';
|
4
|
-
import { CandleDbModel } from '../../../model/index.js';
|
4
|
+
import { CandleDbModel } from '../../../model/candle/index.js';
|
5
5
|
export const getCandles = async (props) => {
|
6
6
|
const { filterSort, withPerson } = props;
|
7
7
|
const { composeCustomError } = customErrorWorker(props);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CustomError } from '../../../../../error/index.js';
|
2
|
-
import { ErrorLog } from '../../../model/index.js';
|
2
|
+
import { ErrorLog } from '../../../model/error-log/index.js';
|
3
3
|
export type CreateErrorLog = (customError: CustomError) => Promise<{
|
4
4
|
data: ErrorLog;
|
5
5
|
} | {
|
@@ -3,7 +3,7 @@ import { CustomError } from '../../../../../error/index.js';
|
|
3
3
|
import { CandleFilterSort } from '../../../../../filter-sort/index.js';
|
4
4
|
import { CandlesPageData } from '../type.js';
|
5
5
|
export type ComposeCandlesPageData = (props: {
|
6
|
-
filterSort
|
6
|
+
filterSort?: Partial<CandleFilterSort>;
|
7
7
|
language: Language;
|
8
8
|
}) => Promise<{
|
9
9
|
data: CandlesPageData;
|