@candlerip/shared3 0.0.171 → 0.0.173

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.171",
3
+ "version": "0.0.173",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.js",
@@ -11,8 +11,8 @@ export const composeCandlesPageData = async ({ filterSort }) => {
11
11
  candles,
12
12
  candlesCount,
13
13
  filterSort,
14
- renderDate: new Date(),
15
14
  },
15
+ renderDate: new Date(),
16
16
  },
17
17
  };
18
18
  };
@@ -8,6 +8,6 @@ export interface CandlesPageData {
8
8
  }>;
9
9
  filterSort: CandleFilterSort;
10
10
  candlesCount: number;
11
- renderDate: Date;
12
11
  };
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
  }
@@ -29,8 +29,8 @@ export const composePersonCandlesPageData = async (personId, filterSort) => {
29
29
  candles,
30
30
  candlesCount,
31
31
  filterSort,
32
- renderDate: new Date(),
33
32
  },
33
+ renderDate: new Date(),
34
34
  },
35
35
  };
36
36
  };
@@ -9,6 +9,6 @@ export interface PersonCandlesPageData {
9
9
  candles: Candle[];
10
10
  candlesCount: number;
11
11
  filterSort: CandleFilterSort;
12
- renderDate: Date;
13
12
  };
13
+ renderDate: Date;
14
14
  }
@@ -10,4 +10,5 @@ export type ComposePersonCandlesPageServerData = (language: Language, personId:
10
10
  data: PersonCandlesPageServerData;
11
11
  } | {
12
12
  customError: CustomError;
13
+ personNotFoundError?: boolean;
13
14
  }>;