@entifix/next-shell 0.4.1 → 0.5.0
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/dist/lib/command-palette/use-use-cases-source.d.ts +17 -4
- package/dist/lib/command-palette/use-use-cases-source.d.ts.map +1 -1
- package/dist/lib/command-palette/use-use-cases-source.js +5 -1
- package/dist/lib/command-palette/use-use-cases-source.js.map +1 -1
- package/dist/lib/config/config-route.d.ts +6 -19
- package/dist/lib/config/config-route.d.ts.map +1 -1
- package/dist/lib/config/config-route.js +6 -23
- package/dist/lib/config/config-route.js.map +1 -1
- package/dist/lib/config/configuration-source.d.ts +18 -0
- package/dist/lib/config/configuration-source.d.ts.map +1 -0
- package/dist/lib/config/configuration-source.js +15 -0
- package/dist/lib/config/configuration-source.js.map +1 -0
- package/dist/lib/crud/make-entity-crud.d.ts +7 -9
- package/dist/lib/crud/make-entity-crud.d.ts.map +1 -1
- package/dist/lib/crud/make-entity-crud.js +18 -12
- package/dist/lib/crud/make-entity-crud.js.map +1 -1
- package/dist/lib/crud/make-entity-crud.types.d.ts +12 -2
- package/dist/lib/crud/make-entity-crud.types.d.ts.map +1 -1
- package/dist/lib/crud/make-entity-crud.types.js.map +1 -1
- package/dist/lib/health/health-routes.d.ts +3 -4
- package/dist/lib/health/health-routes.d.ts.map +1 -1
- package/dist/lib/health/health-routes.js +7 -9
- package/dist/lib/health/health-routes.js.map +1 -1
- package/dist/lib/i18n/catalog/en.d.ts.map +1 -1
- package/dist/lib/i18n/catalog/en.js +0 -145
- package/dist/lib/i18n/catalog/en.js.map +1 -1
- package/dist/lib/i18n/catalog/es.d.ts +0 -159
- package/dist/lib/i18n/catalog/es.d.ts.map +1 -1
- package/dist/lib/i18n/catalog/es.js +0 -160
- package/dist/lib/i18n/catalog/es.js.map +1 -1
- package/dist/lib/i18n/catalog/index.d.ts +0 -282
- package/dist/lib/i18n/catalog/index.d.ts.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/package.json +9 -9
- package/dist/lib/config/service-token.d.ts +0 -5
- package/dist/lib/config/service-token.d.ts.map +0 -1
- package/dist/lib/config/service-token.js +0 -18
- package/dist/lib/config/service-token.js.map +0 -1
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"version": "0.
|
|
24
|
+
"version": "0.5.0",
|
|
25
25
|
"description": "Next.js application shell: back-office chrome, workspace tabs, CRUD screens derived from entity metadata, and session and proxy routes.",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"repository": {
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"react": "19.3.1",
|
|
58
58
|
"react-dom": "19.3.1",
|
|
59
59
|
"zustand": "^5.0.15",
|
|
60
|
-
"@entifix/testing-unit": "0.
|
|
60
|
+
"@entifix/testing-unit": "0.5.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"idb": "^8.0.4",
|
|
64
|
-
"@entifix/authz": "0.
|
|
65
|
-
"@entifix/business": "0.
|
|
66
|
-
"@entifix/
|
|
67
|
-
"@entifix/
|
|
68
|
-
"@entifix/
|
|
69
|
-
"@entifix/react-integration": "0.
|
|
70
|
-
"@entifix/transactions": "0.
|
|
64
|
+
"@entifix/authz": "0.5.0",
|
|
65
|
+
"@entifix/business": "0.5.0",
|
|
66
|
+
"@entifix/core": "0.5.0",
|
|
67
|
+
"@entifix/i18n": "0.5.0",
|
|
68
|
+
"@entifix/react-controls": "0.5.0",
|
|
69
|
+
"@entifix/react-integration": "0.5.0",
|
|
70
|
+
"@entifix/transactions": "0.5.0"
|
|
71
71
|
},
|
|
72
72
|
"files": [
|
|
73
73
|
"dist",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Header config-service reads the shared fleet token from. */
|
|
2
|
-
export declare const SERVICE_TOKEN_HEADER = "x-service-token";
|
|
3
|
-
/** Read on each call so a test (or a rotated deployment) can change it. */
|
|
4
|
-
export declare const serviceToken: () => string;
|
|
5
|
-
//# sourceMappingURL=service-token.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service-token.d.ts","sourceRoot":"","sources":["../../../src/lib/config/service-token.ts"],"names":[],"mappings":"AAaA,+DAA+D;AAC/D,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAEtD,2EAA2E;AAC3E,eAAO,MAAM,YAAY,QAAO,MACuB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* config-service's fleet lookup is gated on a shared token, since it serves real
|
|
3
|
-
* connection strings and the JWT signing key. The literal default keeps local dev
|
|
4
|
-
* zero-config; it is replaced per environment through `CONFIG_SERVICE_TOKEN`.
|
|
5
|
-
*
|
|
6
|
-
* This module is server-only, so the token never reaches the browser.
|
|
7
|
-
*
|
|
8
|
-
* It lives on its own because *two* server routes call the gated endpoint: the
|
|
9
|
-
* `/api/config` fetch and the readiness probe. Readiness reaching it without the
|
|
10
|
-
* header is how an app answers `503` forever while being perfectly healthy.
|
|
11
|
-
*/ const DEV_SERVICE_TOKEN = 'dev-config-service-token-change-me';
|
|
12
|
-
/** Header config-service reads the shared fleet token from. */ export const SERVICE_TOKEN_HEADER = 'x-service-token';
|
|
13
|
-
/** Read on each call so a test (or a rotated deployment) can change it. */ export const serviceToken = ()=>{
|
|
14
|
-
var _process_env_CONFIG_SERVICE_TOKEN;
|
|
15
|
-
return (_process_env_CONFIG_SERVICE_TOKEN = process.env.CONFIG_SERVICE_TOKEN) != null ? _process_env_CONFIG_SERVICE_TOKEN : DEV_SERVICE_TOKEN;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=service-token.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/config/service-token.ts"],"sourcesContent":["/**\n * config-service's fleet lookup is gated on a shared token, since it serves real\n * connection strings and the JWT signing key. The literal default keeps local dev\n * zero-config; it is replaced per environment through `CONFIG_SERVICE_TOKEN`.\n *\n * This module is server-only, so the token never reaches the browser.\n *\n * It lives on its own because *two* server routes call the gated endpoint: the\n * `/api/config` fetch and the readiness probe. Readiness reaching it without the\n * header is how an app answers `503` forever while being perfectly healthy.\n */\nconst DEV_SERVICE_TOKEN = 'dev-config-service-token-change-me';\n\n/** Header config-service reads the shared fleet token from. */\nexport const SERVICE_TOKEN_HEADER = 'x-service-token';\n\n/** Read on each call so a test (or a rotated deployment) can change it. */\nexport const serviceToken = (): string =>\n process.env.CONFIG_SERVICE_TOKEN ?? DEV_SERVICE_TOKEN;\n"],"names":["DEV_SERVICE_TOKEN","SERVICE_TOKEN_HEADER","serviceToken","process","env","CONFIG_SERVICE_TOKEN"],"mappings":"AAAA;;;;;;;;;;CAUC,GACD,MAAMA,oBAAoB;AAE1B,6DAA6D,GAC7D,OAAO,MAAMC,uBAAuB,kBAAkB;AAEtD,yEAAyE,GACzE,OAAO,MAAMC,eAAe;QAC1BC;YAAAA,oCAAAA,QAAQC,GAAG,CAACC,oBAAoB,YAAhCF,oCAAoCH;EAAkB"}
|