@candlerip/shared3 0.0.64 → 0.0.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/package.json +1 -1
  2. package/src/dictionary/dictionary-id/domains/page-dictionary/add-candle-page-dictionary/index.d.ts +4 -8
  3. package/src/dictionary/dictionary-id/domains/page-dictionary/add-person-page-dictionary/index.d.ts +4 -8
  4. package/src/dictionary/dictionary-id/domains/page-dictionary/candle-details-page-dictionary/index.d.ts +41 -45
  5. package/src/dictionary/dictionary-id/domains/page-dictionary/candles-page-dictionary/index.d.ts +2 -6
  6. package/src/dictionary/dictionary-id/domains/page-dictionary/contact-page-dictionary/index.d.ts +26 -30
  7. package/src/dictionary/dictionary-id/domains/page-dictionary/cookie-policy-page-dictionary/index.d.ts +11 -15
  8. package/src/dictionary/dictionary-id/domains/page-dictionary/edit-candle-page-dictionary/index.d.ts +4 -8
  9. package/src/dictionary/dictionary-id/domains/page-dictionary/edit-person-page-dictionary/index.d.ts +4 -8
  10. package/src/dictionary/dictionary-id/domains/page-dictionary/help-page-dictionary/index.d.ts +17 -21
  11. package/src/dictionary/dictionary-id/domains/page-dictionary/home-page-dictionary/index.d.ts +28 -32
  12. package/src/dictionary/dictionary-id/domains/page-dictionary/person-candles-page-dictionary/index.d.ts +8 -12
  13. package/src/dictionary/dictionary-id/domains/page-dictionary/person-details-page-dictionary/index.d.ts +41 -45
  14. package/src/dictionary/dictionary-id/domains/page-dictionary/persons-map-page-dictionary/index.d.ts +3 -7
  15. package/src/dictionary/dictionary-id/domains/page-dictionary/persons-page-dictionary/index.d.ts +6 -10
  16. package/src/dictionary/dictionary-id/domains/page-dictionary/redirect-page-dictionary/index.d.ts +1 -5
  17. package/src/dictionary/dictionary-id/domains/page-dictionary/terms-and-conditions-page-dictionary/index.d.ts +15 -19
  18. package/src/ssr/server-side-props/domains/contact-page-server-side-props/index.d.ts +5 -2
  19. package/src/ssr/server-side-props/domains/help-page-server-side-props/index.d.ts +9 -0
  20. package/src/ssr/server-side-props/domains/help-page-server-side-props/index.js +1 -0
  21. package/src/ssr/server-side-props/domains/index.d.ts +2 -0
  22. package/src/ssr/server-side-props/domains/index.js +2 -0
  23. package/src/ssr/server-side-props/domains/server-side-props/index.d.ts +3 -1
  24. package/src/ssr/server-side-props/domains/terms-and-conditions-page-server-side-props/index.d.ts +9 -0
  25. package/src/ssr/server-side-props/domains/terms-and-conditions-page-server-side-props/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,12 +1,8 @@
1
1
  import { CandleMaintenanceDictionary } from '../../candle-dictionary/candle-maintenance-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface AddCandlePageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- maintenance: {
7
- personCandles: string;
8
- candleMaintenance: CandleMaintenanceDictionary;
9
- };
10
- title: string;
3
+ maintenance: {
4
+ personCandles: string;
5
+ candleMaintenance: CandleMaintenanceDictionary;
11
6
  };
7
+ title: string;
12
8
  }
@@ -1,13 +1,9 @@
1
1
  import { PersonMaintenanceDictionary } from '../../person-dictionary/person-maintenance-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface AddPersonPageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- maintenance: {
7
- persons: string;
8
- personMaintenance: PersonMaintenanceDictionary;
9
- title: string;
10
- };
3
+ maintenance: {
4
+ persons: string;
5
+ personMaintenance: PersonMaintenanceDictionary;
11
6
  title: string;
12
7
  };
8
+ title: string;
13
9
  }
@@ -1,53 +1,49 @@
1
1
  import { CandleImageDictionary } from '../../candle-dictionary/candle-image-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface CandleDetailsPageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- detail: {
7
- candleImage: CandleImageDictionary;
8
- description: {
9
- burnedOut: string;
10
- burnsSoFar: string;
11
- description: string;
12
- litName: string;
13
- };
14
- delete: {
15
- cancel: string;
16
- ok: string;
17
- question: string;
18
- submit: {
19
- error: string;
20
- success: string;
21
- };
22
- title: string;
23
- };
24
- edit: {
25
- title: string;
3
+ detail: {
4
+ candleImage: CandleImageDictionary;
5
+ description: {
6
+ burnedOut: string;
7
+ burnsSoFar: string;
8
+ description: string;
9
+ litName: string;
10
+ };
11
+ delete: {
12
+ cancel: string;
13
+ ok: string;
14
+ question: string;
15
+ submit: {
16
+ error: string;
17
+ success: string;
26
18
  };
27
- myCandle: {
28
- cancel: string;
29
- ok: string;
30
- loginRequired: string;
31
- question: string;
32
- submit: {
33
- error: string;
34
- success: string;
35
- };
36
- title: string;
19
+ title: string;
20
+ };
21
+ edit: {
22
+ title: string;
23
+ };
24
+ myCandle: {
25
+ cancel: string;
26
+ ok: string;
27
+ loginRequired: string;
28
+ question: string;
29
+ submit: {
30
+ error: string;
31
+ success: string;
37
32
  };
38
- personCandles: string;
39
- personDetails: string;
40
- relight: {
41
- cancel: string;
42
- ok: string;
43
- question: string;
44
- submit: {
45
- error: string;
46
- success: string;
47
- };
48
- title: string;
33
+ title: string;
34
+ };
35
+ personCandles: string;
36
+ personDetails: string;
37
+ relight: {
38
+ cancel: string;
39
+ ok: string;
40
+ question: string;
41
+ submit: {
42
+ error: string;
43
+ success: string;
49
44
  };
45
+ title: string;
50
46
  };
51
- title: string;
52
47
  };
48
+ title: string;
53
49
  }
@@ -1,9 +1,5 @@
1
1
  import { CandlesListDictionary } from '../../candle-dictionary/candles-list-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export type CandlesPageDictionary = {
4
- common: CommonPageDictionary;
5
- page: {
6
- candlesList: CandlesListDictionary;
7
- title: string;
8
- };
3
+ candlesList: CandlesListDictionary;
4
+ title: string;
9
5
  };
@@ -1,36 +1,32 @@
1
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
1
  export interface ContactPageDictionary {
3
- common: CommonPageDictionary;
4
- page: {
5
- info: {
6
- email: string;
7
- title: string;
8
- facebook: string;
9
- };
10
- sendMessage: {
11
- form: {
12
- buttons: {
13
- reset: string;
14
- submit: string;
15
- };
16
- error: {
17
- email: string;
18
- invalid: string;
19
- required: string;
20
- };
21
- label: {
22
- email: string;
23
- message: string;
24
- name: string;
25
- subject: string;
26
- };
27
- submit: {
28
- error: string;
29
- success: string;
30
- };
2
+ info: {
3
+ email: string;
4
+ title: string;
5
+ facebook: string;
6
+ };
7
+ sendMessage: {
8
+ form: {
9
+ buttons: {
10
+ reset: string;
11
+ submit: string;
12
+ };
13
+ error: {
14
+ email: string;
15
+ invalid: string;
16
+ required: string;
17
+ };
18
+ label: {
19
+ email: string;
20
+ message: string;
21
+ name: string;
22
+ subject: string;
23
+ };
24
+ submit: {
25
+ error: string;
26
+ success: string;
31
27
  };
32
- title: string;
33
28
  };
34
29
  title: string;
35
30
  };
31
+ title: string;
36
32
  }
@@ -1,21 +1,17 @@
1
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
1
  export interface CookiePolicyPageDictionary {
3
- common: CommonPageDictionary;
4
- page: {
5
- cookiePolicy: {
6
- description: string;
7
- form: {
8
- buttons: {
9
- acceptAll: string;
10
- rejectAll: string;
11
- save: string;
12
- };
13
- label: {
14
- language: string;
15
- };
2
+ cookiePolicy: {
3
+ description: string;
4
+ form: {
5
+ buttons: {
6
+ acceptAll: string;
7
+ rejectAll: string;
8
+ save: string;
9
+ };
10
+ label: {
11
+ language: string;
16
12
  };
17
- title: string;
18
13
  };
19
14
  title: string;
20
15
  };
16
+ title: string;
21
17
  }
@@ -1,12 +1,8 @@
1
1
  import { CandleMaintenanceDictionary } from '../../candle-dictionary/candle-maintenance-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface EditCandlePageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- maintenance: {
7
- candleDetails: string;
8
- candleMaintenance: CandleMaintenanceDictionary;
9
- };
10
- title: string;
3
+ maintenance: {
4
+ candleDetails: string;
5
+ candleMaintenance: CandleMaintenanceDictionary;
11
6
  };
7
+ title: string;
12
8
  }
@@ -1,13 +1,9 @@
1
1
  import { PersonMaintenanceDictionary } from '../../person-dictionary/person-maintenance-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface EditPersonPageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- maintenance: {
7
- personDetails: string;
8
- personMaintenance: PersonMaintenanceDictionary;
9
- title: string;
10
- };
3
+ maintenance: {
4
+ personDetails: string;
5
+ personMaintenance: PersonMaintenanceDictionary;
11
6
  title: string;
12
7
  };
8
+ title: string;
13
9
  }
@@ -1,25 +1,21 @@
1
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
1
  export interface HelpPageDictionary {
3
- common: CommonPageDictionary;
4
- page: {
5
- rules: {
6
- intro: string;
7
- persons: string;
8
- personsParagraph: string;
9
- addPersonTitle: string;
10
- addPersonRule1: string;
11
- addPersonRule2: string;
12
- addPersonRule3: string;
13
- addPersonRule4: string;
14
- candles: string;
15
- candlesParagraph1: string;
16
- candlesParagraph2: string;
17
- candlesParagraph3: string;
18
- lightACandleTitle: string;
19
- lightACandleRule1: string;
20
- lightACandleRule2: string;
21
- title: string;
22
- };
2
+ rules: {
3
+ intro: string;
4
+ persons: string;
5
+ personsParagraph: string;
6
+ addPersonTitle: string;
7
+ addPersonRule1: string;
8
+ addPersonRule2: string;
9
+ addPersonRule3: string;
10
+ addPersonRule4: string;
11
+ candles: string;
12
+ candlesParagraph1: string;
13
+ candlesParagraph2: string;
14
+ candlesParagraph3: string;
15
+ lightACandleTitle: string;
16
+ lightACandleRule1: string;
17
+ lightACandleRule2: string;
23
18
  title: string;
24
19
  };
20
+ title: string;
25
21
  }
@@ -1,38 +1,34 @@
1
1
  import { CandleCardsDictionary } from '../../candle-dictionary/candle-cards-dictionary/index.js';
2
2
  import { PersonCardsDictionary } from '../../person-dictionary/person-cards-dictionary/index.js';
3
3
  import { PersonImageDictionary } from '../../person-dictionary/person-image-dictionary/index.js';
4
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
5
4
  export interface HomePageDictionary {
6
- common: CommonPageDictionary;
7
- page: {
8
- lastLitCandles: {
9
- candles: string;
10
- candleCards: CandleCardsDictionary;
11
- title: string;
12
- };
13
- lastUploadedPersons: {
14
- personCards: PersonCardsDictionary;
15
- persons: string;
16
- personsMap: string;
17
- title: string;
18
- };
19
- proposal: {
20
- lightACandle: string;
21
- personImage: PersonImageDictionary;
22
- title: string;
23
- };
24
- statistics: {
25
- burningCandles: string;
26
- burnedCandles: string;
27
- candles: string;
28
- persons: string;
29
- title: string;
30
- };
31
- welcome: {
32
- addPerson: string;
33
- description1: string;
34
- description2: string;
35
- title: string;
36
- };
5
+ lastLitCandles: {
6
+ candles: string;
7
+ candleCards: CandleCardsDictionary;
8
+ title: string;
9
+ };
10
+ lastUploadedPersons: {
11
+ personCards: PersonCardsDictionary;
12
+ persons: string;
13
+ personsMap: string;
14
+ title: string;
15
+ };
16
+ proposal: {
17
+ lightACandle: string;
18
+ personImage: PersonImageDictionary;
19
+ title: string;
20
+ };
21
+ statistics: {
22
+ burningCandles: string;
23
+ burnedCandles: string;
24
+ candles: string;
25
+ persons: string;
26
+ title: string;
27
+ };
28
+ welcome: {
29
+ addPerson: string;
30
+ description1: string;
31
+ description2: string;
32
+ title: string;
37
33
  };
38
34
  }
@@ -1,17 +1,13 @@
1
1
  import { CandlesListDictionary } from '../../candle-dictionary/candles-list-dictionary/index.js';
2
2
  import { PersonImageDictionary } from '../../person-dictionary/person-image-dictionary/index.js';
3
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
4
3
  export interface PersonCandlesPageDictionary {
5
- common: CommonPageDictionary;
6
- page: {
7
- addCandle: {
8
- authWarning: string;
9
- description: string;
10
- lightACandle: string;
11
- personDetails: string;
12
- personImage: PersonImageDictionary;
13
- };
14
- candlesList: CandlesListDictionary;
15
- title: string;
4
+ addCandle: {
5
+ authWarning: string;
6
+ description: string;
7
+ lightACandle: string;
8
+ personDetails: string;
9
+ personImage: PersonImageDictionary;
16
10
  };
11
+ candlesList: CandlesListDictionary;
12
+ title: string;
17
13
  }
@@ -1,52 +1,48 @@
1
1
  import { PersonImageDictionary } from '../../person-dictionary/person-image-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface PersonDetailsPageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- detail: {
7
- candlesCount: {
8
- burnedCandles: string;
9
- burningCandles: string;
10
- };
11
- description: {
12
- birthDate: string;
13
- birthPlaceCountry: string;
14
- deathDate: string;
15
- description: string;
16
- proposable: string;
17
- };
18
- delete: {
19
- cancel: string;
20
- ok: string;
21
- question: string;
22
- submit: {
23
- error: string;
24
- success: string;
25
- };
26
- title: string;
27
- };
28
- edit: {
29
- title: string;
30
- };
31
- images: {
32
- burned: string;
33
- burning: string;
34
- personImage: PersonImageDictionary;
3
+ detail: {
4
+ candlesCount: {
5
+ burnedCandles: string;
6
+ burningCandles: string;
7
+ };
8
+ description: {
9
+ birthDate: string;
10
+ birthPlaceCountry: string;
11
+ deathDate: string;
12
+ description: string;
13
+ proposable: string;
14
+ };
15
+ delete: {
16
+ cancel: string;
17
+ ok: string;
18
+ question: string;
19
+ submit: {
20
+ error: string;
21
+ success: string;
35
22
  };
36
- myPerson: {
37
- cancel: string;
38
- loginRequired: string;
39
- ok: string;
40
- question: string;
41
- submit: {
42
- error: string;
43
- success: string;
44
- };
45
- title: string;
23
+ title: string;
24
+ };
25
+ edit: {
26
+ title: string;
27
+ };
28
+ images: {
29
+ burned: string;
30
+ burning: string;
31
+ personImage: PersonImageDictionary;
32
+ };
33
+ myPerson: {
34
+ cancel: string;
35
+ loginRequired: string;
36
+ ok: string;
37
+ question: string;
38
+ submit: {
39
+ error: string;
40
+ success: string;
46
41
  };
47
- persons: string;
48
- personCandles: string;
42
+ title: string;
49
43
  };
50
- title: string;
44
+ persons: string;
45
+ personCandles: string;
51
46
  };
47
+ title: string;
52
48
  }
@@ -1,11 +1,7 @@
1
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
1
  export interface PersonsMapPageDictionary {
3
- common: CommonPageDictionary;
4
- page: {
5
- map: {
6
- description: string;
7
- title: string;
8
- };
2
+ map: {
3
+ description: string;
9
4
  title: string;
10
5
  };
6
+ title: string;
11
7
  }
@@ -1,15 +1,11 @@
1
1
  import { PersonsListDictionary } from '../../person-dictionary/index.js';
2
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
3
2
  export interface PersonsPageDictionary {
4
- common: CommonPageDictionary;
5
- page: {
6
- addPerson: {
7
- addPerson: string;
8
- authWarning: string;
9
- descripton: string;
10
- title: string;
11
- };
12
- personsList: PersonsListDictionary;
3
+ addPerson: {
4
+ addPerson: string;
5
+ authWarning: string;
6
+ descripton: string;
13
7
  title: string;
14
8
  };
9
+ personsList: PersonsListDictionary;
10
+ title: string;
15
11
  }
@@ -1,7 +1,3 @@
1
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
1
  export interface RedirectPageDictionary {
3
- common: CommonPageDictionary;
4
- page: {
5
- title: string;
6
- };
2
+ title: string;
7
3
  }
@@ -1,23 +1,19 @@
1
- import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
1
  export interface TermsAndConditionsPageDictionary {
3
- common: CommonPageDictionary;
4
- page: {
5
- terms: {
6
- intro: string;
7
- conditionsOfUseTitle: string;
8
- conditionsOfUseParagraph: string;
9
- intellectualPropertyTitle: string;
10
- intellectualPropertyParagraph: string;
11
- userAccountsTitle: string;
12
- userAccountsParagraph: string;
13
- applicableLawTitle: string;
14
- applicableLawParagraph: string;
15
- disputesTitle: string;
16
- disputesParagraph: string;
17
- limitationAndLiabilityTitle: string;
18
- limitationAndLiabilityParagraph: string;
19
- title: string;
20
- };
2
+ terms: {
3
+ intro: string;
4
+ conditionsOfUseTitle: string;
5
+ conditionsOfUseParagraph: string;
6
+ intellectualPropertyTitle: string;
7
+ intellectualPropertyParagraph: string;
8
+ userAccountsTitle: string;
9
+ userAccountsParagraph: string;
10
+ applicableLawTitle: string;
11
+ applicableLawParagraph: string;
12
+ disputesTitle: string;
13
+ disputesParagraph: string;
14
+ limitationAndLiabilityTitle: string;
15
+ limitationAndLiabilityParagraph: string;
21
16
  title: string;
22
17
  };
18
+ title: string;
23
19
  }
@@ -1,6 +1,9 @@
1
1
  import { Language } from '../../../../dictionary/index.js';
2
- import { ContactPageDictionary } from '../../../../dictionary/dictionary-id/index.js';
2
+ import { CommonPageDictionary, ContactPageDictionary } from '../../../../dictionary/dictionary-id/index.js';
3
3
  export interface ContactPageServerSideProps {
4
- dictionary: ContactPageDictionary;
4
+ dictionary: {
5
+ common: CommonPageDictionary;
6
+ page: ContactPageDictionary;
7
+ };
5
8
  language: Language;
6
9
  }
@@ -0,0 +1,9 @@
1
+ import { Language } from '../../../../dictionary/index.js';
2
+ import { CommonPageDictionary, HelpPageDictionary } from '../../../../dictionary/dictionary-id/index.js';
3
+ export interface HelpPageServerSideProps {
4
+ dictionary: {
5
+ common: CommonPageDictionary;
6
+ page: HelpPageDictionary;
7
+ };
8
+ language: Language;
9
+ }
@@ -1,2 +1,4 @@
1
1
  export * from './contact-page-server-side-props/index.js';
2
+ export * from './help-page-server-side-props/index.js';
2
3
  export * from './server-side-props/index.js';
4
+ export * from './terms-and-conditions-page-server-side-props/index.js';
@@ -1,2 +1,4 @@
1
1
  export * from './contact-page-server-side-props/index.js';
2
+ export * from './help-page-server-side-props/index.js';
2
3
  export * from './server-side-props/index.js';
4
+ export * from './terms-and-conditions-page-server-side-props/index.js';
@@ -1,2 +1,4 @@
1
1
  import { ContactPageServerSideProps } from '../contact-page-server-side-props/index.js';
2
- export type ServerSideProps = ContactPageServerSideProps;
2
+ import { HelpPageServerSideProps } from '../help-page-server-side-props/index.js';
3
+ import { TermsAndConditionsPageServerSideProps } from '../terms-and-conditions-page-server-side-props/index.js';
4
+ export type ServerSideProps = ContactPageServerSideProps | HelpPageServerSideProps | TermsAndConditionsPageServerSideProps;
@@ -0,0 +1,9 @@
1
+ import { Language } from '../../../../dictionary/index.js';
2
+ import { CommonPageDictionary, TermsAndConditionsPageDictionary } from '../../../../dictionary/dictionary-id/index.js';
3
+ export interface TermsAndConditionsPageServerSideProps {
4
+ dictionary: {
5
+ common: CommonPageDictionary;
6
+ page: TermsAndConditionsPageDictionary;
7
+ };
8
+ language: Language;
9
+ }