@candlerip/shared3 0.0.92 → 0.0.94
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/date/minutes/config.d.ts +3 -0
- package/src/date/minutes/config.js +3 -0
- package/src/dictionary/dictionary/config.d.ts +1 -1
- package/src/dictionary/dictionary/config.js +1 -0
- package/src/dictionary/translation-ids/page-translation-ids/index.d.ts +0 -2
- package/src/dictionary/translation-ids/page-translation-ids/index.js +0 -2
- package/src/page/page-data/candle-details/type.d.ts +2 -4
- package/src/ssr/server-side-props/candle-details-page/type.d.ts +2 -0
- package/src/ssr/server-side-props/contact-page/type.d.ts +2 -0
- package/src/ssr/server-side-props/edit-candle-page/type.d.ts +2 -0
- package/src/ssr/server-side-props/help-page/type.d.ts +2 -0
- package/src/ssr/server-side-props/light-candle-page/type.d.ts +2 -0
- package/src/ssr/server-side-props/terms-and-conditions-page/type.d.ts +2 -0
- package/src/dictionary/translation-ids/page-translation-ids/candle-details-page-translation-ids/config.d.ts +0 -1
- package/src/dictionary/translation-ids/page-translation-ids/candle-details-page-translation-ids/config.js +0 -29
- package/src/dictionary/translation-ids/page-translation-ids/candle-details-page-translation-ids/index.d.ts +0 -1
- package/src/dictionary/translation-ids/page-translation-ids/candle-details-page-translation-ids/index.js +0 -1
- package/src/dictionary/translation-ids/page-translation-ids/edit-candle-page-translation-ids/config.d.ts +0 -1
- package/src/dictionary/translation-ids/page-translation-ids/edit-candle-page-translation-ids/config.js +0 -11
- package/src/dictionary/translation-ids/page-translation-ids/edit-candle-page-translation-ids/index.d.ts +0 -1
- package/src/dictionary/translation-ids/page-translation-ids/edit-candle-page-translation-ids/index.js +0 -1
package/package.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
const oneDayInMinutes = 1440;
|
2
2
|
export const DATE_MINUTES_CONFIG = {
|
3
3
|
ONE_DAY_IN_MINUTES: oneDayInMinutes,
|
4
|
+
ONE_DAY_IN_SECONDS: oneDayInMinutes * 60,
|
4
5
|
SEVEN_DAYS_IN_MINUTES: oneDayInMinutes * 7,
|
6
|
+
SEVEN_DAYS_IN_SECONDS: oneDayInMinutes * 7 * 60,
|
5
7
|
ONE_YEAR_IN_MINUTES: oneDayInMinutes * 365,
|
8
|
+
ONE_YEAR_IN_SECONDS: oneDayInMinutes * 365 * 60,
|
6
9
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const DICTIONARY_CONFIG: {
|
2
2
|
readonly 'candle-details-page': {
|
3
|
-
readonly translationIds: readonly ["personCandles", "imageCannotBeLoaded", "burnsSoFar", "burnedOutCandle", "candle.description", "litName", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "person-details-page.myCandle.submitError", "person-details-page.myCandle.submitSuccess", "person-details-page.myCandle.loginRequired", "person-details-page.myCandle.question", "person-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "cancel", "ok", "edit-candle-page", "candle-details-page", "person-details-page"];
|
3
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "personCandles", "imageCannotBeLoaded", "burnsSoFar", "burnedOutCandle", "candle.description", "litName", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "person-details-page.myCandle.submitError", "person-details-page.myCandle.submitSuccess", "person-details-page.myCandle.loginRequired", "person-details-page.myCandle.question", "person-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "cancel", "ok", "edit-candle-page", "candle-details-page", "person-details-page"];
|
4
4
|
};
|
5
5
|
readonly 'contact-page': {
|
6
6
|
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "contact-page", "email", "formInvalidEmailError", "formInvalidText", "formRequiredError", "reset", "send", "message", "name", "subject", "facebook"];
|
@@ -1,7 +1,5 @@
|
|
1
1
|
export * from './add-person-page-translation-ids/index.js';
|
2
|
-
export * from './candle-details-page-translation-ids/index.js';
|
3
2
|
export * from './candles-page-translation-ids/index.js';
|
4
|
-
export * from './edit-candle-page-translation-ids/index.js';
|
5
3
|
export * from './edit-person-page-translation-ids/index.js';
|
6
4
|
export * from './person-candles-page-translation-ids/index.js';
|
7
5
|
export * from './person-details-page-translation-ids/index.js';
|
@@ -1,7 +1,5 @@
|
|
1
1
|
export * from './add-person-page-translation-ids/index.js';
|
2
|
-
export * from './candle-details-page-translation-ids/index.js';
|
3
2
|
export * from './candles-page-translation-ids/index.js';
|
4
|
-
export * from './edit-candle-page-translation-ids/index.js';
|
5
3
|
export * from './edit-person-page-translation-ids/index.js';
|
6
4
|
export * from './person-candles-page-translation-ids/index.js';
|
7
5
|
export * from './person-details-page-translation-ids/index.js';
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { Auth } from '../../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../../cookie/index.js';
|
2
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
3
4
|
import { CandleDetailsPageData } from '../../../page/index.js';
|
4
5
|
export interface CandleDetailsServerSideProps {
|
5
6
|
auth: Auth;
|
7
|
+
cookieConsent?: CookieConsent;
|
6
8
|
dictionary: Dictionary;
|
7
9
|
language: Language;
|
8
10
|
pageData: CandleDetailsPageData;
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { Auth } from '../../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../../cookie/index.js';
|
2
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
3
4
|
export interface ContactPageServerSideProps {
|
4
5
|
auth: Auth;
|
6
|
+
cookieConsent?: CookieConsent;
|
5
7
|
dictionary: Dictionary;
|
6
8
|
language: Language;
|
7
9
|
}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { Auth } from '../../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../../cookie/index.js';
|
2
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
3
4
|
import { EditCandlePageData } from '../../../page/index.js';
|
4
5
|
export interface EditCandleServerSideProps {
|
5
6
|
auth: Auth;
|
7
|
+
cookieConsent?: CookieConsent;
|
6
8
|
dictionary: Dictionary;
|
7
9
|
language: Language;
|
8
10
|
pageData: EditCandlePageData;
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { Auth } from '../../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../../cookie/index.js';
|
2
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
3
4
|
export interface HelpPageServerSideProps {
|
4
5
|
auth: Auth;
|
6
|
+
cookieConsent?: CookieConsent;
|
5
7
|
dictionary: Dictionary;
|
6
8
|
language: Language;
|
7
9
|
}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { Auth } from '../../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../../cookie/index.js';
|
2
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
3
4
|
import { LightCandlePageData } from '../../../page/index.js';
|
4
5
|
export interface LightCandlePageServerSideProps {
|
5
6
|
auth: Auth;
|
7
|
+
cookieConsent?: CookieConsent;
|
6
8
|
dictionary: Dictionary;
|
7
9
|
language: Language;
|
8
10
|
pageData: LightCandlePageData;
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { Auth } from '../../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../../cookie/index.js';
|
2
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
3
4
|
export interface TermsAndConditionsPageServerSideProps {
|
4
5
|
auth: Auth;
|
6
|
+
cookieConsent?: CookieConsent;
|
5
7
|
dictionary: Dictionary;
|
6
8
|
language: Language;
|
7
9
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const CANDLE_DETAILS_PAGE_TRANSLATION_IDS: readonly ["personCandles", "imageCannotBeLoaded", "burnsSoFar", "burnedOutCandle", "candle.description", "litName", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "person-details-page.myCandle.submitError", "person-details-page.myCandle.submitSuccess", "person-details-page.myCandle.loginRequired", "person-details-page.myCandle.question", "person-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "cancel", "ok", "edit-candle-page", "candle-details-page", "person-details-page"];
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { CANDLE_IMAGE_TRANSLATION_IDS } from '../../candle/index.js';
|
2
|
-
export const CANDLE_DETAILS_PAGE_TRANSLATION_IDS = [
|
3
|
-
'personCandles',
|
4
|
-
...CANDLE_IMAGE_TRANSLATION_IDS,
|
5
|
-
'burnsSoFar',
|
6
|
-
'burnedOutCandle',
|
7
|
-
'candle.description',
|
8
|
-
'litName',
|
9
|
-
'candle-details-page.deleteCandle.submitError',
|
10
|
-
'candle-details-page.deleteCandle.submitSuccess',
|
11
|
-
'candle-details-page.deleteCandle.question',
|
12
|
-
'candle-details-page.deleteCandle',
|
13
|
-
'person-details-page.myCandle.submitError',
|
14
|
-
'person-details-page.myCandle.submitSuccess',
|
15
|
-
'person-details-page.myCandle.loginRequired',
|
16
|
-
'person-details-page.myCandle.question',
|
17
|
-
'person-details-page.myCandle',
|
18
|
-
'candle-details-page.relightCandle.submitError',
|
19
|
-
'candle-details-page.relightCandle.submitSuccess',
|
20
|
-
'candle-details-page.relightCandle.question',
|
21
|
-
'candle-details-page.relightCandle',
|
22
|
-
'cancel',
|
23
|
-
'ok',
|
24
|
-
'edit-candle-page',
|
25
|
-
'candle-details-page',
|
26
|
-
'person-details-page',
|
27
|
-
];
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
29
|
-
const CHECK = CANDLE_DETAILS_PAGE_TRANSLATION_IDS;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './config.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './config.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const EDIT_CANDLE_PAGE_TRANSLATION_IDS: readonly ["candle-details-page", "auth.candleLitWarning", "reset", "candle.description", "formMaxLengthError", "formRequiredError", "litName", "edit-candle-page", "modify", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess"];
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { CANDLE_MAINTENANCE_TRANSLATION_IDS } from '../../candle/index.js';
|
2
|
-
export const EDIT_CANDLE_PAGE_TRANSLATION_IDS = [
|
3
|
-
'candle-details-page',
|
4
|
-
...CANDLE_MAINTENANCE_TRANSLATION_IDS,
|
5
|
-
'edit-candle-page',
|
6
|
-
'modify',
|
7
|
-
'edit-candle-page.maintenance.submitError',
|
8
|
-
'edit-candle-page.maintenance.submitSuccess',
|
9
|
-
];
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
11
|
-
const CHECK = EDIT_CANDLE_PAGE_TRANSLATION_IDS;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './config.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './config.js';
|