@candlerip/shared3 0.0.111 → 0.0.113
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -2
- package/src/backend/dictionary/compose-dictionary/util.js +1 -1
- package/src/backend/dictionary/index.d.ts +0 -1
- package/src/backend/dictionary/index.js +0 -1
- package/src/backend/express/index.d.ts +1 -1
- package/src/backend/express/index.js +1 -1
- package/src/backend/express/start-express-app/index.d.ts +2 -1
- package/src/backend/express/start-express-app/index.js +8 -1
- package/src/backend/index.d.ts +0 -1
- package/src/backend/index.js +0 -1
- package/src/{backend/dictionary → dictionary}/get-excluded-translation-ids/type.d.ts +2 -2
- package/src/{backend/dictionary → dictionary}/get-excluded-translation-ids/util.js +1 -1
- package/src/dictionary/index.d.ts +1 -0
- package/src/dictionary/index.js +1 -0
- package/src/backend/express/start-express-app/util.d.ts +0 -2
- package/src/backend/express/start-express-app/util.js +0 -8
- /package/src/{backend/dictionary → dictionary}/get-excluded-translation-ids/index.d.ts +0 -0
- /package/src/{backend/dictionary → dictionary}/get-excluded-translation-ids/index.js +0 -0
- /package/src/{backend/dictionary → dictionary}/get-excluded-translation-ids/type.js +0 -0
- /package/src/{backend/dictionary → dictionary}/get-excluded-translation-ids/util.d.ts +0 -0
package/package.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@candlerip/shared3",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.113",
|
4
4
|
"type": "module",
|
5
5
|
"exports": {
|
6
6
|
".": "./src/index.js",
|
7
7
|
"./aws": "./src/aws/index.js",
|
8
|
-
"./backend": "./src/backend/index.js"
|
8
|
+
"./backend": "./src/backend/index.js",
|
9
|
+
"./backend/*": "./src/backend/*"
|
9
10
|
},
|
10
11
|
"bin": {
|
11
12
|
"crs-cdk-deploy": "./_devops/cdk/cdk-deploy.sh",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DICTIONARY_CONFIG } from '../../../dictionary/index.js';
|
2
2
|
import { getTranslationsAsDictionary } from '../../database/mutation/translation/index.js';
|
3
|
-
import { getExcludedTranslationIds } from '
|
3
|
+
import { getExcludedTranslationIds } from '../../../dictionary/get-excluded-translation-ids/index.js';
|
4
4
|
export const composeDictionary = async (page, language, options) => {
|
5
5
|
let translationIds = [...DICTIONARY_CONFIG[page].translationIds];
|
6
6
|
const excludedIds = getExcludedTranslationIds(page, options);
|
@@ -1 +1 @@
|
|
1
|
-
export * from './start-express-app/
|
1
|
+
export * from './start-express-app/index.js';
|
@@ -1 +1 @@
|
|
1
|
-
export * from './start-express-app/
|
1
|
+
export * from './start-express-app/index.js';
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
import { StartExpressApp } from './type.js';
|
2
|
+
export declare const startExpressApp: StartExpressApp;
|
package/src/backend/index.d.ts
CHANGED
package/src/backend/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { TranslationId } from '
|
2
|
-
import { Page } from '
|
1
|
+
import { TranslationId } from '../index.js';
|
2
|
+
import { Page } from '../../page/index.js';
|
3
3
|
export type GetExcludedTranslationIds = (page: Page, options?: {
|
4
4
|
isAuthenticated?: boolean;
|
5
5
|
}) => TranslationId[];
|
package/src/dictionary/index.js
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|