@candlerip/shared3 0.0.72 → 0.0.74

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.72",
3
+ "version": "0.0.74",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,8 +1,12 @@
1
1
  import { CandleMaintenanceDictionary } from '../../candle-dictionary/index.js';
2
+ import { CommonPageDictionary } from '../common-page-dictionary/index.js';
2
3
  export interface AddCandlePageDictionary {
3
- maintenance: {
4
- personCandles: string;
5
- candleMaintenance: CandleMaintenanceDictionary;
4
+ common: CommonPageDictionary;
5
+ page: {
6
+ maintenance: {
7
+ personCandles: string;
8
+ candleMaintenance: CandleMaintenanceDictionary;
9
+ };
10
+ title: string;
6
11
  };
7
- title: string;
8
12
  }
@@ -1,6 +1,7 @@
1
+ import { AddCandlePageDictionary } from '../add-candle-page-dictionary/index.js';
1
2
  import { ContactPageDictionary } from '../contact-page-dictionary/domain.js';
2
3
  import { CookiePolicyPageDictionary } from '../cookie-policy-page-dictionary/domain.js';
3
4
  import { HelpPageDictionary } from '../help-page-dictionary/domain.js';
4
5
  import { HomePageDictionary } from '../home-page-dictionary/domain.js';
5
6
  import { TermsAndConditionsPageDictionary } from '../terms-and-conditions-page-dictionary/domain.js';
6
- export type PageDictionary = ContactPageDictionary | CookiePolicyPageDictionary | HelpPageDictionary | HomePageDictionary | TermsAndConditionsPageDictionary;
7
+ export type PageDictionary = AddCandlePageDictionary | ContactPageDictionary | CookiePolicyPageDictionary | HelpPageDictionary | HomePageDictionary | TermsAndConditionsPageDictionary;
@@ -1 +1,2 @@
1
1
  export * from './page/index.js';
2
+ export * from './page-data/index.js';
package/src/page/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export * from './page/index.js';
2
+ export * from './page-data/index.js';
@@ -1 +1 @@
1
- export declare const PAGES: readonly ["home-page", "contact-page", "cookie-policy-page", "help-page", "terms-and-conditions-page"];
1
+ export declare const PAGES: readonly ["add-candle-page", "home-page", "contact-page", "cookie-policy-page", "help-page", "terms-and-conditions-page"];
@@ -1 +1 @@
1
- export const PAGES = ['home-page', 'contact-page', 'cookie-policy-page', 'help-page', 'terms-and-conditions-page'];
1
+ export const PAGES = ['add-candle-page', 'home-page', 'contact-page', 'cookie-policy-page', 'help-page', 'terms-and-conditions-page'];
@@ -0,0 +1,6 @@
1
+ import { Person } from '../../../database/index.js';
2
+ export interface AddCandlePageData {
3
+ maintenance: {
4
+ person: Person;
5
+ };
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './domain.js';
@@ -0,0 +1 @@
1
+ export * from './domain.js';
@@ -0,0 +1 @@
1
+ export * from './add-candle-page-data/domain.js';
@@ -0,0 +1 @@
1
+ export * from './add-candle-page-data/domain.js';
@@ -0,0 +1,5 @@
1
+ import { AddCandlePageDictionary, Language } from '../../../dictionary/index.js';
2
+ export interface AddCandlePageServerSideProps {
3
+ dictionary: AddCandlePageDictionary;
4
+ language: Language;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './domain.js';
@@ -0,0 +1 @@
1
+ export * from './domain.js';
@@ -1,3 +1,4 @@
1
+ export * from './add-candle-page-server-side-props/index.js';
1
2
  export * from './contact-page-server-side-props/index.js';
2
3
  export * from './cookie-policy-page-server-side-props/index.js';
3
4
  export * from './help-page-server-side-props/index.js';
@@ -1,3 +1,4 @@
1
+ export * from './add-candle-page-server-side-props/index.js';
1
2
  export * from './contact-page-server-side-props/index.js';
2
3
  export * from './cookie-policy-page-server-side-props/index.js';
3
4
  export * from './help-page-server-side-props/index.js';
@@ -1,5 +1,6 @@
1
+ import { AddCandlePageServerSideProps } from '../add-candle-page-server-side-props/index.js';
1
2
  import { ContactPageServerSideProps } from '../contact-page-server-side-props/domain.js';
2
3
  import { CookiePolicyPageServerSideProps } from '../cookie-policy-page-server-side-props/domain.js';
3
4
  import { HelpPageServerSideProps } from '../help-page-server-side-props/domain.js';
4
5
  import { TermsAndConditionsPageServerSideProps } from '../terms-and-conditions-page-server-side-props/domain.js';
5
- export type ServerSideProps = ContactPageServerSideProps | CookiePolicyPageServerSideProps | HelpPageServerSideProps | TermsAndConditionsPageServerSideProps;
6
+ export type ServerSideProps = AddCandlePageServerSideProps | ContactPageServerSideProps | CookiePolicyPageServerSideProps | HelpPageServerSideProps | TermsAndConditionsPageServerSideProps;