graphile-i18n 2.10.6 → 2.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +4 -4
package/esm/index.d.ts
CHANGED
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
*/
|
|
33
33
|
export { createI18nPlugin, I18nPlugin } from './plugin';
|
|
34
34
|
export { I18nPreset } from './preset';
|
|
35
|
-
export {
|
|
36
|
-
export type { I18nPluginOptions, I18nTableInfo, TranslatableField } from './types';
|
|
35
|
+
export { additionalGraphQLContextFromRequest, makeI18nContext } from './middleware';
|
|
37
36
|
export type { I18nMiddlewareOptions } from './middleware';
|
|
37
|
+
export type { I18nPluginOptions, I18nTableInfo, TranslatableField } from './types';
|
package/esm/index.js
CHANGED
|
@@ -35,4 +35,4 @@ export { createI18nPlugin, I18nPlugin } from './plugin';
|
|
|
35
35
|
// Preset
|
|
36
36
|
export { I18nPreset } from './preset';
|
|
37
37
|
// Middleware
|
|
38
|
-
export {
|
|
38
|
+
export { additionalGraphQLContextFromRequest, makeI18nContext } from './middleware';
|
package/index.d.ts
CHANGED
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
*/
|
|
33
33
|
export { createI18nPlugin, I18nPlugin } from './plugin';
|
|
34
34
|
export { I18nPreset } from './preset';
|
|
35
|
-
export {
|
|
36
|
-
export type { I18nPluginOptions, I18nTableInfo, TranslatableField } from './types';
|
|
35
|
+
export { additionalGraphQLContextFromRequest, makeI18nContext } from './middleware';
|
|
37
36
|
export type { I18nMiddlewareOptions } from './middleware';
|
|
37
|
+
export type { I18nPluginOptions, I18nTableInfo, TranslatableField } from './types';
|
package/index.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
exports.
|
|
35
|
+
exports.makeI18nContext = exports.additionalGraphQLContextFromRequest = exports.I18nPreset = exports.I18nPlugin = exports.createI18nPlugin = void 0;
|
|
36
36
|
// Plugin
|
|
37
37
|
var plugin_1 = require("./plugin");
|
|
38
38
|
Object.defineProperty(exports, "createI18nPlugin", { enumerable: true, get: function () { return plugin_1.createI18nPlugin; } });
|
|
@@ -42,5 +42,5 @@ var preset_1 = require("./preset");
|
|
|
42
42
|
Object.defineProperty(exports, "I18nPreset", { enumerable: true, get: function () { return preset_1.I18nPreset; } });
|
|
43
43
|
// Middleware
|
|
44
44
|
var middleware_1 = require("./middleware");
|
|
45
|
-
Object.defineProperty(exports, "makeI18nContext", { enumerable: true, get: function () { return middleware_1.makeI18nContext; } });
|
|
46
45
|
Object.defineProperty(exports, "additionalGraphQLContextFromRequest", { enumerable: true, get: function () { return middleware_1.additionalGraphQLContextFromRequest; } });
|
|
46
|
+
Object.defineProperty(exports, "makeI18nContext", { enumerable: true, get: function () { return middleware_1.makeI18nContext; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-i18n",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.8",
|
|
4
4
|
"description": "PostGraphile v5 i18n plugin — language-aware fields from @i18n translation tables with Accept-Language negotiation and fallback chains",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/constructive",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@types/accept-language-parser": "^1.5.4",
|
|
46
46
|
"@types/node": "^22.19.11",
|
|
47
47
|
"@types/pg": "^8.20.0",
|
|
48
|
-
"graphile-test": "^5.10.
|
|
48
|
+
"graphile-test": "^5.10.8",
|
|
49
49
|
"makage": "^0.3.0",
|
|
50
50
|
"pg": "^8.21.0",
|
|
51
|
-
"pgsql-test": "^5.9.
|
|
51
|
+
"pgsql-test": "^5.9.8"
|
|
52
52
|
},
|
|
53
53
|
"keywords": [
|
|
54
54
|
"postgraphile",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"accept-language",
|
|
64
64
|
"locale"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c20b6be96b39bf71c0e2df0f4b51e05deacd006b"
|
|
67
67
|
}
|