@candlerip/shared3 0.0.170 → 0.0.171

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.170",
3
+ "version": "0.0.171",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.js",
@@ -10,9 +10,9 @@ export const composeCandlesPageData = async ({ filterSort }) => {
10
10
  candlesList: {
11
11
  candles,
12
12
  candlesCount,
13
+ filterSort,
13
14
  renderDate: new Date(),
14
15
  },
15
- filterSort,
16
16
  },
17
17
  };
18
18
  };
@@ -6,8 +6,8 @@ export interface CandlesPageData {
6
6
  candles: Array<Candle & {
7
7
  person?: Person;
8
8
  }>;
9
+ filterSort: CandleFilterSort;
9
10
  candlesCount: number;
10
11
  renderDate: Date;
11
12
  };
12
- filterSort: CandleFilterSort;
13
13
  }
@@ -28,6 +28,7 @@ export const composePersonCandlesPageData = async (personId, filterSort) => {
28
28
  candlesList: {
29
29
  candles,
30
30
  candlesCount,
31
+ filterSort,
31
32
  renderDate: new Date(),
32
33
  },
33
34
  },
@@ -1,4 +1,5 @@
1
1
  import { Candle } from '../../../../candle/index.js';
2
+ import { CandleFilterSort } from '../../../../filter-sort/index.js';
2
3
  import { Person } from '../../../../person/index.js';
3
4
  export interface PersonCandlesPageData {
4
5
  addCandle: {
@@ -7,6 +8,7 @@ export interface PersonCandlesPageData {
7
8
  candlesList: {
8
9
  candles: Candle[];
9
10
  candlesCount: number;
11
+ filterSort: CandleFilterSort;
10
12
  renderDate: Date;
11
13
  };
12
14
  }