@candlerip/shared3 0.0.170 → 0.0.172

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.172",
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
- renderDate: new Date(),
13
+ filterSort,
14
14
  },
15
- filterSort,
15
+ renderDate: new Date(),
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
- renderDate: Date;
11
11
  };
12
- filterSort: CandleFilterSort;
12
+ renderDate: Date;
13
13
  }
@@ -60,7 +60,6 @@ export const composeHomePageData = async () => {
60
60
  }),
61
61
  lastLitCandles: {
62
62
  candles,
63
- renderDate: new Date(),
64
63
  },
65
64
  lastUploadedPersons: {
66
65
  persons,
@@ -73,6 +72,7 @@ export const composeHomePageData = async () => {
73
72
  persons: personsCount,
74
73
  },
75
74
  },
75
+ renderDate: new Date(),
76
76
  },
77
77
  };
78
78
  };
@@ -8,7 +8,6 @@ export interface HomePageData {
8
8
  candles: Array<Candle & {
9
9
  person?: Person;
10
10
  }>;
11
- renderDate: Date;
12
11
  };
13
12
  lastUploadedPersons: {
14
13
  persons: Array<Person & {
@@ -26,4 +25,5 @@ export interface HomePageData {
26
25
  persons: number;
27
26
  };
28
27
  };
28
+ renderDate: Date;
29
29
  }
@@ -28,8 +28,9 @@ export const composePersonCandlesPageData = async (personId, filterSort) => {
28
28
  candlesList: {
29
29
  candles,
30
30
  candlesCount,
31
- renderDate: new Date(),
31
+ filterSort,
32
32
  },
33
+ renderDate: new Date(),
33
34
  },
34
35
  };
35
36
  };
@@ -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;
10
- renderDate: Date;
11
+ filterSort: CandleFilterSort;
11
12
  };
13
+ renderDate: Date;
12
14
  }