@candlerip/shared3 0.0.94 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/dictionary/dictionary/config.d.ts +4 -1
- package/src/dictionary/dictionary/config.js +10 -6
- package/src/dictionary/translation-id/config.d.ts +1 -1
- package/src/dictionary/translation-id/config.js +5 -5
- package/src/page/page/config.d.ts +1 -1
- package/src/page/page/config.js +1 -0
- package/src/page/page-data/candles-page-data.type.d.ts +7 -0
- package/src/page/page-data/candles-page-data.type.js +1 -0
- package/src/page/page-data/index.d.ts +1 -0
- package/src/page/page-data/index.js +1 -0
- package/src/ssr/server-side-props/candle-details-page/type.d.ts +1 -1
- package/src/ssr/server-side-props/candles-page-server-side-props.type.d.ts +11 -0
- package/src/ssr/server-side-props/candles-page-server-side-props.type.js +1 -0
- package/src/ssr/server-side-props/index.d.ts +1 -0
- package/src/ssr/server-side-props/index.js +1 -0
- package/src/ssr/server-side-props/type.d.ts +3 -2
package/package.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
export declare const DICTIONARY_CONFIG: {
|
2
2
|
readonly 'candle-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", "
|
3
|
+
readonly translationIds: readonly ["auth.loginRequired", "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", "candle-details-page.myCandle.submitError", "candle-details-page.myCandle.submitSuccess", "candle-details-page.myCandle.loginRequired", "candle-details-page.myCandle.question", "candle-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
|
+
};
|
5
|
+
readonly 'candles-page': {
|
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", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "select", "burnedCandles", "burningCandles", "myCandles", "createdAt", "litName", "candles", "candle", "candlesInCount", "reset", "sort", "candles"];
|
4
7
|
};
|
5
8
|
readonly 'contact-page': {
|
6
9
|
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,8 @@
|
|
1
|
-
import { CANDLE_CARDS_TRANSLATION_IDS, CANDLE_IMAGE_TRANSLATION_IDS, CANDLE_MAINTENANCE_TRANSLATION_IDS, COMMON_PAGE_TRANSLATION_IDS, PERSON_CARDS_TRANSLATION_IDS, PERSON_IMAGE_TRANSLATION_IDS, } from '../translation-ids/index.js';
|
1
|
+
import { CANDLE_CARDS_TRANSLATION_IDS, CANDLE_IMAGE_TRANSLATION_IDS, CANDLE_MAINTENANCE_TRANSLATION_IDS, CANDLES_LIST_TRANSLATION_IDS, COMMON_PAGE_TRANSLATION_IDS, PERSON_CARDS_TRANSLATION_IDS, PERSON_IMAGE_TRANSLATION_IDS, } from '../translation-ids/index.js';
|
2
2
|
export const DICTIONARY_CONFIG = {
|
3
3
|
'candle-details-page': {
|
4
4
|
translationIds: [
|
5
|
+
'auth.loginRequired',
|
5
6
|
...COMMON_PAGE_TRANSLATION_IDS,
|
6
7
|
'personCandles',
|
7
8
|
...CANDLE_IMAGE_TRANSLATION_IDS,
|
@@ -13,11 +14,11 @@ export const DICTIONARY_CONFIG = {
|
|
13
14
|
'candle-details-page.deleteCandle.submitSuccess',
|
14
15
|
'candle-details-page.deleteCandle.question',
|
15
16
|
'candle-details-page.deleteCandle',
|
16
|
-
'
|
17
|
-
'
|
18
|
-
'
|
19
|
-
'
|
20
|
-
'
|
17
|
+
'candle-details-page.myCandle.submitError',
|
18
|
+
'candle-details-page.myCandle.submitSuccess',
|
19
|
+
'candle-details-page.myCandle.loginRequired',
|
20
|
+
'candle-details-page.myCandle.question',
|
21
|
+
'candle-details-page.myCandle',
|
21
22
|
'candle-details-page.relightCandle.submitError',
|
22
23
|
'candle-details-page.relightCandle.submitSuccess',
|
23
24
|
'candle-details-page.relightCandle.question',
|
@@ -29,6 +30,9 @@ export const DICTIONARY_CONFIG = {
|
|
29
30
|
'person-details-page',
|
30
31
|
],
|
31
32
|
},
|
33
|
+
'candles-page': {
|
34
|
+
translationIds: [...COMMON_PAGE_TRANSLATION_IDS, ...CANDLES_LIST_TRANSLATION_IDS, 'candles'],
|
35
|
+
},
|
32
36
|
'contact-page': {
|
33
37
|
translationIds: [
|
34
38
|
...COMMON_PAGE_TRANSLATION_IDS,
|
@@ -1 +1 @@
|
|
1
|
-
export declare const TRANSLATION_IDS: readonly ["acceptAll", "add-person-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "auth.loginRequired", "author", "burnedCandles", "burnedOutCandle", "burningCandles", "burnsSoFar", "cancel", "candle-details-page", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "
|
1
|
+
export declare const TRANSLATION_IDS: readonly ["acceptAll", "add-person-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "auth.loginRequired", "author", "burnedCandles", "burnedOutCandle", "burningCandles", "burnsSoFar", "cancel", "candle-details-page", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "candle-details-page.myCandle.submitError", "candle-details-page.myCandle.submitSuccess", "candle-details-page.myCandle.loginRequired", "candle-details-page.myCandle.question", "candle-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "candle", "candlesInCount", "candles", "candles-page", "candle.description", "caseSensitive", "contact-page", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "cookieConsentForm.title", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookie-policy-page", "count", "createdAt", "customize", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "edit-candle-page", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess", "editPersonPage", "editPersonPage.maintenance.submitError", "editPersonPage.maintenance.submitSuccess", "email", "english", "facebook", "help-page.addPersonRule1", "help-page.addPersonRule2", "help-page.addPersonRule3", "help-page.addPersonRule4", "help-page.addPersonTitle", "help-page.candlesParagraph1", "help-page.candlesParagraph2", "help-page.candlesParagraph3", "help-page.intro", "help-page.lightACandleRule1", "help-page.lightACandleRule2", "help-page.lightACandleTitle", "help-page.personsParagraph", "help-page", "home-page", "home-page.proposal", "home-page.lastLitCandles", "home-page.lastUploadedPersons", "home-page.quickCandleLighting.placeOfTheCandle.placehodler", "home-page.quickCandleLighting", "home-page.statistics", "home-page.welcome.description1", "home-page.welcome.description2", "home-page.welcome", "hungarian", "formDateError", "formInvalidEmailError", "formInvalidText", "formMaxLengthError", "formMessageError", "formRequiredError", "image", "invalidImage", "noMoreImages", "tooBigImage", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "light-candle-page", "light-candle-page.maintenance.submitError", "light-candle-page.maintenance.submitSuccess", "lightTheCandle", "litName", "login", "loginPage.login.submitError", "loginPage.login.showPassword", "logout", "map", "message", "modify", "more", "motto1", "motto2", "motto3", "myCandles", "myPersons", "name", "ok", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.terms-and-conditions-page", "password", "person", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "person.name", "personCandles", "personCandlesPage.addCandle.description", "person-details-page", "person-details-page.deletePerson.submitError", "person-details-page.deletePerson.submitSuccess", "person-details-page.deletePerson.question", "person-details-page.deletePerson", "person-details-page.myPerson.submitError", "person-details-page.myPerson.submitSuccess", "person-details-page.myPerson.loginRequired", "person-details-page.myPerson.question", "person-details-page.myPerson", "persons-page", "persons", "personsInCount", "persons-page.addPerson.description", "persons-page.personsList.hasImage", "persons-page.personsList", "persons-map-page.map.description", "persons-map-page", "proposable", "redirecting", "rejectAll", "reset", "save", "savedSuccessfully", "select", "send", "shareOnFacebook", "sort", "subject", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "terms-and-conditions-page.applicableLawParagraph", "terms-and-conditions-page.applicableLawTitle", "terms-and-conditions-page.conditionsOfUseParagraph", "terms-and-conditions-page.conditionsOfUseTitle", "terms-and-conditions-page.disputesParagraph", "terms-and-conditions-page.disputesTitle", "terms-and-conditions-page.intellectualPropertyParagraph", "terms-and-conditions-page.intellectualPropertyTitle", "terms-and-conditions-page.intro", "terms-and-conditions-page.limitationAndLiabilityParagraph", "terms-and-conditions-page.limitationAndLiabilityTitle", "terms-and-conditions-page", "terms-and-conditions-page.userAccountsParagraph", "terms-and-conditions-page.userAccountsTitle", "username"];
|
@@ -17,11 +17,11 @@ export const TRANSLATION_IDS = [
|
|
17
17
|
'candle-details-page.deleteCandle.submitSuccess',
|
18
18
|
'candle-details-page.deleteCandle.question',
|
19
19
|
'candle-details-page.deleteCandle',
|
20
|
-
'
|
21
|
-
'
|
22
|
-
'
|
23
|
-
'
|
24
|
-
'
|
20
|
+
'candle-details-page.myCandle.submitError',
|
21
|
+
'candle-details-page.myCandle.submitSuccess',
|
22
|
+
'candle-details-page.myCandle.loginRequired',
|
23
|
+
'candle-details-page.myCandle.question',
|
24
|
+
'candle-details-page.myCandle',
|
25
25
|
'candle-details-page.relightCandle.submitError',
|
26
26
|
'candle-details-page.relightCandle.submitSuccess',
|
27
27
|
'candle-details-page.relightCandle.question',
|
@@ -1 +1 @@
|
|
1
|
-
export declare const PAGES: readonly ["candle-details-page", "contact-page", "cookie-policy-page", "edit-candle-page", "help-page", "home-page", "light-candle-page", "terms-and-conditions-page"];
|
1
|
+
export declare const PAGES: readonly ["candle-details-page", "candles-page", "contact-page", "cookie-policy-page", "edit-candle-page", "help-page", "home-page", "light-candle-page", "terms-and-conditions-page"];
|
package/src/page/page/config.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -2,7 +2,7 @@ import { Auth } from '../../../auth/index.js';
|
|
2
2
|
import { CookieConsent } from '../../../cookie/index.js';
|
3
3
|
import { Dictionary, Language } from '../../../dictionary/index.js';
|
4
4
|
import { CandleDetailsPageData } from '../../../page/index.js';
|
5
|
-
export interface
|
5
|
+
export interface CandleDetailsPageServerSideProps {
|
6
6
|
auth: Auth;
|
7
7
|
cookieConsent?: CookieConsent;
|
8
8
|
dictionary: Dictionary;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Auth } from '../../auth/index.js';
|
2
|
+
import { CookieConsent } from '../../cookie/index.js';
|
3
|
+
import { Dictionary, Language } from '../../dictionary/index.js';
|
4
|
+
import { CandlesPageData } from '../../page/index.js';
|
5
|
+
export interface CandlesPageServerSideProps {
|
6
|
+
auth: Auth;
|
7
|
+
cookieConsent?: CookieConsent;
|
8
|
+
dictionary: Dictionary;
|
9
|
+
language: Language;
|
10
|
+
pageData: CandlesPageData;
|
11
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -4,5 +4,6 @@ import { CookiePolicyPageServerSideProps } from './cookie-policy-page/type.js';
|
|
4
4
|
import { HelpPageServerSideProps } from './help-page/type.js';
|
5
5
|
import { TermsAndConditionsPageServerSideProps } from './terms-and-conditions-page/type.js';
|
6
6
|
import { EditCandleServerSideProps } from './edit-candle-page/index.js';
|
7
|
-
import {
|
8
|
-
|
7
|
+
import { CandleDetailsPageServerSideProps } from './candle-details-page/index.js';
|
8
|
+
import { CandlesPageServerSideProps } from './candles-page-server-side-props.type.js';
|
9
|
+
export type ServerSideProps = CandleDetailsPageServerSideProps | CandlesPageServerSideProps | ContactPageServerSideProps | CookiePolicyPageServerSideProps | EditCandleServerSideProps | HelpPageServerSideProps | LightCandlePageServerSideProps | TermsAndConditionsPageServerSideProps;
|