@solidxai/solidctl 0.1.1 → 0.1.3
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/commands/create-app/create-app.command.js +14 -13
- package/dist/commands/create-app/create-app.command.js.map +1 -1
- package/dist/commands/create-app/helpers.d.ts +7 -14
- package/dist/commands/create-app/helpers.js +9 -17
- package/dist/commands/create-app/helpers.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/templates/api-template/dot-templates/dot.gitignore.template +82 -0
- package/templates/{nest-template → api-template}/package.json +3 -3
- package/templates/{nest-template → api-template}/test/app.e2e-spec.ts +1 -1
- package/templates/ui-template/README.md +73 -0
- package/templates/ui-template/dist/assets/Footerbg-8Co6YRm2.png +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Black-85SZiFK-.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Bold-CkqE-6tD.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Heavy-Cj-4znqf.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Light-aDlMluiV.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Medium-DSttQARu.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Regular-DF_3XEGl.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Semibold-Dg2-djaL.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Thin-Dlj_0ZL0.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Ultralight-Dvb4Y4p6.otf +0 -0
- package/templates/ui-template/dist/assets/index-ByqcKjdb.js +3912 -0
- package/templates/ui-template/dist/assets/index-wnEWlFcj.css +1 -0
- package/templates/ui-template/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/templates/ui-template/dist/assets/primeicons-DMOk5skT.eot +0 -0
- package/templates/ui-template/dist/assets/primeicons-Dr5RGzOO.svg +345 -0
- package/templates/ui-template/dist/assets/primeicons-MpK4pl85.ttf +0 -0
- package/templates/ui-template/dist/assets/primeicons-WjwUDZjB.woff +0 -0
- package/templates/ui-template/dist/assets/quill-DooZuM6F.js +49 -0
- package/templates/ui-template/dist/assets/solid-left-layout-bg-CTFSpGKh.png +0 -0
- package/templates/ui-template/dist/assets/solid-right-layout-bg-HyBzctm7.png +0 -0
- package/templates/ui-template/dist/index.html +19 -0
- package/templates/{next-template/public → ui-template/dist}/themes/solid-dark-purple/theme.css +7 -2
- package/templates/ui-template/dist/themes/solid-light-purple/solid-login-light.png +0 -0
- package/templates/{next-template/public → ui-template/dist}/themes/solid-light-purple/theme.css +10 -3
- package/templates/ui-template/dist/vite.svg +1 -0
- package/templates/ui-template/dot-templates/dot.gitignore.template +83 -0
- package/templates/ui-template/eslint.config.js +23 -0
- package/templates/ui-template/index.html +18 -0
- package/templates/ui-template/package-lock.json +11931 -0
- package/templates/ui-template/package.json +42 -0
- package/templates/ui-template/public/themes/solid-dark-purple/theme.css +6208 -0
- package/templates/ui-template/public/themes/solid-light-purple/solid-login-light.png +0 -0
- package/templates/ui-template/public/themes/solid-light-purple/theme.css +6263 -0
- package/templates/ui-template/public/vite.svg +1 -0
- package/templates/ui-template/src/App.css +42 -0
- package/templates/ui-template/src/App.tsx +44 -0
- package/templates/ui-template/src/assets/react.svg +1 -0
- package/templates/ui-template/src/extensions/solid-extensions.ts +82 -0
- package/templates/ui-template/src/extensions/venue/call-log/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/form-event-listeners/callLogsDispositionHandler.ts +47 -0
- package/templates/ui-template/src/extensions/venue/call-log/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-buttons/ImportHierarchyComponent.tsx +377 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-buttons/SolidCustomImportHeader.tsx +14 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-event-listeners/CallLogsDispositionHandler.ts +47 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-event-listeners/onHierarchyImportFormLoadHandler.ts +45 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/form-event-listeners/venueMasterFormViewLoadHandler.ts +57 -0
- package/templates/ui-template/src/extensions/venue/venue-master/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-event-listeners/venueUserFormViewChangeHandler.ts +21 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-event-listeners/venueUserFormViewLoadHandler.ts +97 -0
- package/templates/ui-template/src/extensions/venue/venue-user/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/index.css +10 -0
- package/templates/ui-template/src/main.tsx +10 -0
- package/templates/ui-template/src/pages/admin/AdminInfoPage.tsx +15 -0
- package/templates/ui-template/src/pages/auth/HelloAuthPage.tsx +15 -0
- package/templates/ui-template/src/pages/auth/VenueAppLoginPage.tsx +10 -0
- package/templates/ui-template/src/pages/static/AboutPage.tsx +17 -0
- package/templates/ui-template/src/redux/hierarchyImportTransactionApi.tsx +28 -0
- package/templates/ui-template/src/routes/AppRoutes.tsx +34 -0
- package/templates/ui-template/tsconfig.app.json +29 -0
- package/templates/ui-template/tsconfig.json +7 -0
- package/templates/ui-template/tsconfig.node.json +26 -0
- package/templates/ui-template/venue-admin.logicloop.io.conf +81 -0
- package/templates/ui-template/vite.config.ts +15 -0
- package/templates/nest-template/bin/solid +0 -2
- package/templates/nest-template/dot-templates/dot.gitignore.template +0 -56
- package/templates/next-template/README.md +0 -36
- package/templates/next-template/app/GlobalProvider.tsx +0 -23
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/form/[id]/page.tsx +0 -19
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/kanban/page.tsx +0 -18
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/list/page.tsx +0 -18
- package/templates/next-template/app/admin/core/[moduleName]/home/page.tsx +0 -15
- package/templates/next-template/app/admin/core/[moduleName]/settings/[settings]/page.tsx +0 -11
- package/templates/next-template/app/admin/layout.tsx +0 -11
- package/templates/next-template/app/admin/loading.tsx +0 -8
- package/templates/next-template/app/admin/page.tsx +0 -10
- package/templates/next-template/app/api/auth/[...nextauth]/route.ts +0 -6
- package/templates/next-template/app/auth/confirm-forgot-password/page.tsx +0 -12
- package/templates/next-template/app/auth/forgot-password/page.tsx +0 -11
- package/templates/next-template/app/auth/initiate-forgot-password/page.tsx +0 -11
- package/templates/next-template/app/auth/initiate-forgot-password-thank-you/page.tsx +0 -11
- package/templates/next-template/app/auth/initiate-google-oauth/page.tsx +0 -9
- package/templates/next-template/app/auth/initiate-login/page.tsx +0 -13
- package/templates/next-template/app/auth/initiate-register/page.tsx +0 -14
- package/templates/next-template/app/auth/layout.tsx +0 -10
- package/templates/next-template/app/auth/login/page.tsx +0 -12
- package/templates/next-template/app/auth/otp-verify/page.tsx +0 -12
- package/templates/next-template/app/auth/register/page.tsx +0 -12
- package/templates/next-template/app/auth/reset-password/page.tsx +0 -13
- package/templates/next-template/app/auth/sso/page.tsx +0 -80
- package/templates/next-template/app/layout.tsx +0 -56
- package/templates/next-template/app/solid-extensions.ts +0 -8
- package/templates/next-template/dot-templates/dot.gitignore.template +0 -44
- package/templates/next-template/eslint.config.mjs +0 -16
- package/templates/next-template/middleware.ts +0 -23
- package/templates/next-template/next-env.d.ts +0 -5
- package/templates/next-template/next-solidx-run.js +0 -18
- package/templates/next-template/next.config.js +0 -47
- package/templates/next-template/package.json +0 -79
- package/templates/next-template/public/favicon.ico +0 -0
- package/templates/next-template/public/file.svg +0 -1
- package/templates/next-template/public/globe.svg +0 -1
- package/templates/next-template/public/next.svg +0 -1
- package/templates/next-template/public/vercel.svg +0 -1
- package/templates/next-template/public/window.svg +0 -1
- package/templates/next-template/redux/store.ts +0 -52
- package/templates/next-template/tsconfig.json +0 -33
- package/templates/next-template/types/index.d.ts +0 -7
- package/templates/next-template/types/layout.d.ts +0 -94
- package/templates/next-template/types/next.d.ts +0 -46
- /package/templates/{nest-template → api-template}/README.md +0 -0
- /package/templates/{nest-template → api-template}/dot-templates/dot.dockerignore.template +0 -0
- /package/templates/{nest-template → api-template}/dot-templates/dot.eslintrc.template.js +0 -0
- /package/templates/{nest-template → api-template}/dot-templates/dot.prettierrc.template +0 -0
- /package/templates/{nest-template → api-template}/nest-cli.json +0 -0
- /package/templates/{nest-template → api-template}/nodemon.json +0 -0
- /package/templates/{nest-template → api-template}/src/app-default-database.module.ts +0 -0
- /package/templates/{nest-template → api-template}/src/app.controller.spec.ts +0 -0
- /package/templates/{nest-template → api-template}/src/app.module.ts +0 -0
- /package/templates/{nest-template → api-template}/src/app.service.ts +0 -0
- /package/templates/{nest-template → api-template}/src/database.utils.ts +0 -0
- /package/templates/{nest-template → api-template}/src/main-cli.ts +0 -0
- /package/templates/{nest-template → api-template}/src/main.ts +0 -0
- /package/templates/{nest-template → api-template}/test/jest-e2e.json +0 -0
- /package/templates/{nest-template → api-template}/tsconfig.build.json +0 -0
- /package/templates/{nest-template → api-template}/tsconfig.json +0 -0
- /package/templates/{next-template/public/themes/solid-light-purple/solid-login-light.png → ui-template/dist/assets/solid-login-light-C-F0ch5x.png} +0 -0
package/package.json
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# =========================
|
|
2
|
+
# Build / compiled output
|
|
3
|
+
# =========================
|
|
4
|
+
dist/
|
|
5
|
+
build/
|
|
6
|
+
node_modules/
|
|
7
|
+
|
|
8
|
+
# =========================
|
|
9
|
+
# Logs
|
|
10
|
+
# =========================
|
|
11
|
+
logs/
|
|
12
|
+
*.log
|
|
13
|
+
npm-debug.log*
|
|
14
|
+
pnpm-debug.log*
|
|
15
|
+
yarn-debug.log*
|
|
16
|
+
yarn-error.log*
|
|
17
|
+
lerna-debug.log*
|
|
18
|
+
|
|
19
|
+
# =========================
|
|
20
|
+
# Environment variables
|
|
21
|
+
# =========================
|
|
22
|
+
.env
|
|
23
|
+
.env.*
|
|
24
|
+
!.env.example
|
|
25
|
+
|
|
26
|
+
# =========================
|
|
27
|
+
# OS
|
|
28
|
+
# =========================
|
|
29
|
+
.DS_Store
|
|
30
|
+
Thumbs.db
|
|
31
|
+
|
|
32
|
+
# =========================
|
|
33
|
+
# Tests / coverage
|
|
34
|
+
# =========================
|
|
35
|
+
coverage/
|
|
36
|
+
.nyc_output/
|
|
37
|
+
|
|
38
|
+
# =========================
|
|
39
|
+
# IDEs and editors
|
|
40
|
+
# =========================
|
|
41
|
+
.idea/
|
|
42
|
+
.project
|
|
43
|
+
.classpath
|
|
44
|
+
.c9/
|
|
45
|
+
*.launch
|
|
46
|
+
.settings/
|
|
47
|
+
*.sublime-workspace
|
|
48
|
+
|
|
49
|
+
# =========================
|
|
50
|
+
# VS Code (keep workspace config)
|
|
51
|
+
# =========================
|
|
52
|
+
.vscode/*
|
|
53
|
+
!.vscode/settings.json
|
|
54
|
+
!.vscode/tasks.json
|
|
55
|
+
!.vscode/launch.json
|
|
56
|
+
!.vscode/extensions.json
|
|
57
|
+
|
|
58
|
+
# =========================
|
|
59
|
+
# Temporary files
|
|
60
|
+
# =========================
|
|
61
|
+
.temp/
|
|
62
|
+
.tmp/
|
|
63
|
+
|
|
64
|
+
# =========================
|
|
65
|
+
# Runtime data
|
|
66
|
+
# =========================
|
|
67
|
+
pids/
|
|
68
|
+
*.pid
|
|
69
|
+
*.pid.lock
|
|
70
|
+
*.seed
|
|
71
|
+
|
|
72
|
+
# =========================
|
|
73
|
+
# Diagnostic reports
|
|
74
|
+
# =========================
|
|
75
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
76
|
+
|
|
77
|
+
# =========================
|
|
78
|
+
# App-specific paths
|
|
79
|
+
# =========================
|
|
80
|
+
media-uploads/
|
|
81
|
+
media-files-storage/
|
|
82
|
+
local_packages/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "api-template",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@nestjs/serve-static": "^4.0.2",
|
|
44
44
|
"@nestjs/swagger": "^7.2.0",
|
|
45
45
|
"@nestjs/typeorm": "^10.0.1",
|
|
46
|
-
"@solidxai/core": "^1.2
|
|
46
|
+
"@solidxai/core": "^0.1.2",
|
|
47
47
|
"@types/luxon": "^3.4.2",
|
|
48
48
|
"amqplib": "^0.10.4",
|
|
49
49
|
"axios": "^1.7.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@nestjs/cli": "^10.0.0",
|
|
83
83
|
"@nestjs/testing": "^10.0.0",
|
|
84
|
-
"@solidxai/code-builder": "^1.
|
|
84
|
+
"@solidxai/code-builder": "^0.1.2",
|
|
85
85
|
"@types/express": "^4.17.17",
|
|
86
86
|
"@types/hapi__joi": "^17.1.12",
|
|
87
87
|
"@types/jest": "^29.5.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Test, TestingModule } from '@nestjs/testing';
|
|
2
2
|
import { INestApplication } from '@nestjs/common';
|
|
3
3
|
import * as request from 'supertest';
|
|
4
|
-
import { AppModule } from '
|
|
4
|
+
import { AppModule } from '../src/app.module';
|
|
5
5
|
|
|
6
6
|
describe('AppController (e2e)', () => {
|
|
7
7
|
let app: INestApplication;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## React Compiler
|
|
11
|
+
|
|
12
|
+
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
|
13
|
+
|
|
14
|
+
## Expanding the ESLint configuration
|
|
15
|
+
|
|
16
|
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
export default defineConfig([
|
|
20
|
+
globalIgnores(['dist']),
|
|
21
|
+
{
|
|
22
|
+
files: ['**/*.{ts,tsx}'],
|
|
23
|
+
extends: [
|
|
24
|
+
// Other configs...
|
|
25
|
+
|
|
26
|
+
// Remove tseslint.configs.recommended and replace with this
|
|
27
|
+
tseslint.configs.recommendedTypeChecked,
|
|
28
|
+
// Alternatively, use this for stricter rules
|
|
29
|
+
tseslint.configs.strictTypeChecked,
|
|
30
|
+
// Optionally, add this for stylistic rules
|
|
31
|
+
tseslint.configs.stylisticTypeChecked,
|
|
32
|
+
|
|
33
|
+
// Other configs...
|
|
34
|
+
],
|
|
35
|
+
languageOptions: {
|
|
36
|
+
parserOptions: {
|
|
37
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
38
|
+
tsconfigRootDir: import.meta.dirname,
|
|
39
|
+
},
|
|
40
|
+
// other options...
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
])
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
47
|
+
|
|
48
|
+
```js
|
|
49
|
+
// eslint.config.js
|
|
50
|
+
import reactX from 'eslint-plugin-react-x'
|
|
51
|
+
import reactDom from 'eslint-plugin-react-dom'
|
|
52
|
+
|
|
53
|
+
export default defineConfig([
|
|
54
|
+
globalIgnores(['dist']),
|
|
55
|
+
{
|
|
56
|
+
files: ['**/*.{ts,tsx}'],
|
|
57
|
+
extends: [
|
|
58
|
+
// Other configs...
|
|
59
|
+
// Enable lint rules for React
|
|
60
|
+
reactX.configs['recommended-typescript'],
|
|
61
|
+
// Enable lint rules for React DOM
|
|
62
|
+
reactDom.configs.recommended,
|
|
63
|
+
],
|
|
64
|
+
languageOptions: {
|
|
65
|
+
parserOptions: {
|
|
66
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
67
|
+
tsconfigRootDir: import.meta.dirname,
|
|
68
|
+
},
|
|
69
|
+
// other options...
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
])
|
|
73
|
+
```
|
|
Binary file
|