@gadmin2n/schematics 0.0.98 → 0.0.100
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/application/files/gadmin2-game-angle-demo/config/ui/Event.ts +1 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/server/config/index.ts +1 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/server/package.json +1 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/package.json +1 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/dev-shell/DevShell.tsx +10 -0
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/vite.config.ts +3 -1
- package/package.json +2 -2
|
@@ -28,7 +28,7 @@ export const Event: ModelConfig =
|
|
|
28
28
|
filter: [],
|
|
29
29
|
sorter: ["id"],
|
|
30
30
|
},
|
|
31
|
-
fields: ["*","!created_at","!businessRequester","!number","!additionalInfo","!snSysId","!oitOwner","!createdAt","!endDate","!creator","!updatedAt","!startDate","!eventType"],
|
|
31
|
+
fields: ["*","!created_at","!businessRequester","!number","!additionalInfo","!snSysId","!oitOwner","!createdAt","!endDate","!creator","!updatedAt","!startDate","!eventType","!country"],
|
|
32
32
|
rowSelection: {
|
|
33
33
|
actions: [
|
|
34
34
|
{action: 'INSERT', desc: 'Insert'},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"prebuild": "rimraf dist",
|
|
10
10
|
"build": "nest build -c gadmin-cli.json",
|
|
11
11
|
"format": "prettier --write \"../config/*.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
12
|
-
"prepare": "cd .. && husky install",
|
|
12
|
+
"prepare": "cd .. && husky install || true",
|
|
13
13
|
"start": "dotenv -e .env.local -e .env -- nest start -c gadmin-cli.json",
|
|
14
14
|
"start:dev": "dotenv -e .env.local -e .env -- nest start -c gadmin-cli.json --watch",
|
|
15
15
|
"start:debug": "dotenv -e .env.local -e .env -- nest start -c gadmin-cli.json --debug --watch",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"preview": "vite preview",
|
|
84
84
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
|
|
85
85
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
86
|
-
"prepare": "cd .. && husky install"
|
|
86
|
+
"prepare": "cd .. && husky install || true"
|
|
87
87
|
},
|
|
88
88
|
"lint-staged": {
|
|
89
89
|
"**/*.{ts,tsx,js,jsx}": "prettier --write"
|
|
@@ -145,8 +145,18 @@ export default function DevShell() {
|
|
|
145
145
|
service: {
|
|
146
146
|
agentId: import.meta.env.VITE_AGENT_ID,
|
|
147
147
|
baseURL: import.meta.env.VITE_AGENT_BASE_URL,
|
|
148
|
+
chat_extra: {
|
|
149
|
+
agent_client_uuid: import.meta.env.VITE_AGENT_CLIENT_UUID,
|
|
150
|
+
workspace: [
|
|
151
|
+
import.meta.env.VITE_AGENT_WORKSPACE_DIR ||
|
|
152
|
+
'/tmp/gadmin-agent-workspace',
|
|
153
|
+
],
|
|
154
|
+
},
|
|
148
155
|
},
|
|
149
156
|
additionContext: { position: 'after', scope: 'persist' },
|
|
157
|
+
ui: {
|
|
158
|
+
// uploadSplitButtons: true,
|
|
159
|
+
},
|
|
150
160
|
})
|
|
151
161
|
.then((instance: any) => {
|
|
152
162
|
sdkRef.current = instance;
|
|
@@ -6,7 +6,9 @@ import { devShellPlugin } from './src/plugins/devShellPlugin';
|
|
|
6
6
|
export default defineConfig(({ mode }) => {
|
|
7
7
|
const env = loadEnv(mode, process.cwd(), '');
|
|
8
8
|
|
|
9
|
-
const backendUrl = env.
|
|
9
|
+
const backendUrl = env.VITE_API_PORT
|
|
10
|
+
? `http://localhost:${env.VITE_API_PORT}`
|
|
11
|
+
: env.VITE_BACKEND_URL;
|
|
10
12
|
const proxyConfig = backendUrl
|
|
11
13
|
? {
|
|
12
14
|
'/api': {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gadmin2n/schematics",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.100",
|
|
4
4
|
"description": "Gadmin - modern, fast, powerful node.js web framework (@schematics)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"build": "rm -rf dist && tsc --project tsconfig.lib.json",
|
|
15
15
|
"clean": "gulp clean:src",
|
|
16
16
|
"copy:collection": "cpx src/collection.json dist && cpx 'src/lib/**/schema.json' dist/lib",
|
|
17
|
-
"copy:lib": "cpx 'src/lib/**/{files,workspace}/**/*' dist/lib && cpx 'src/lib/**/{files,workspace}/**/.!(
|
|
17
|
+
"copy:lib": "cpx 'src/lib/**/{files,workspace}/**/*' dist/lib && cpx 'src/lib/**/{files,workspace}/**/.!(env.local|env.*.local)' dist/lib",
|
|
18
18
|
"scrub:dist": "find dist \\( -name '.env.local' -o -name '.env.*.local' \\) -type f -print -delete 2>/dev/null; true",
|
|
19
19
|
"prepublishOnly": "npm run scrub:dist",
|
|
20
20
|
"lint": "eslint '{src,test}/**/*.ts' --fix",
|