Merge branch 'rc' into features/add_tooltip_option_to_show_stack_mode_total_value_on_timeseries_chart_widgets
This commit is contained in:
		
						commit
						942edf37d7
					
				@ -14,7 +14,7 @@
 | 
			
		||||
# limitations under the License.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
FROM thingsboard/node:20.18.0-bookworm-slim
 | 
			
		||||
FROM thingsboard/node:22.18.0-bookworm-slim
 | 
			
		||||
 | 
			
		||||
ENV NODE_ENV production
 | 
			
		||||
ENV DOCKER_MODE true
 | 
			
		||||
 | 
			
		||||
@ -6,20 +6,20 @@
 | 
			
		||||
  "main": "server.ts",
 | 
			
		||||
  "bin": "server.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "pkg": "tsc && pkg -t node18-linux-x64,node18-win-x64 --out-path ./target ./target/src && node install.js",
 | 
			
		||||
    "pkg": "tsc && pkg -t node22-linux-x64,node22-win-x64 --out-path ./target ./target/src && node install.js",
 | 
			
		||||
    "test": "echo \"Error: no test specified\" && exit 1",
 | 
			
		||||
    "start": "nodemon --watch '.' --ext 'ts' --exec 'ts-node server.ts'",
 | 
			
		||||
    "start-prod": "nodemon --watch '.' --ext 'ts' --exec 'NODE_ENV=production ts-node server.ts'",
 | 
			
		||||
    "build": "tsc"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "config": "^3.3.12",
 | 
			
		||||
    "express": "^4.21.1",
 | 
			
		||||
    "config": "^4.1.1",
 | 
			
		||||
    "express": "^5.1.0",
 | 
			
		||||
    "js-yaml": "^4.1.0",
 | 
			
		||||
    "kafkajs": "^2.2.4",
 | 
			
		||||
    "long": "^5.2.3",
 | 
			
		||||
    "long": "^5.3.2",
 | 
			
		||||
    "uuid-parse": "^1.1.0",
 | 
			
		||||
    "winston": "^3.16.0",
 | 
			
		||||
    "winston": "^3.17.0",
 | 
			
		||||
    "winston-daily-rotate-file": "^5.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "nyc": {
 | 
			
		||||
@ -32,14 +32,14 @@
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@types/config": "^3.3.5",
 | 
			
		||||
    "@types/express": "~4.17.21",
 | 
			
		||||
    "@types/node": "~20.17.6",
 | 
			
		||||
    "@types/express": "~5.0.3",
 | 
			
		||||
    "@types/node": "~22.17.2",
 | 
			
		||||
    "@types/uuid-parse": "^1.0.2",
 | 
			
		||||
    "fs-extra": "^11.2.0",
 | 
			
		||||
    "nodemon": "^3.1.7",
 | 
			
		||||
    "pkg": "^5.8.1",
 | 
			
		||||
    "@yao-pkg/pkg": "^6.6.0",
 | 
			
		||||
    "fs-extra": "^11.3.1",
 | 
			
		||||
    "nodemon": "^3.1.10",
 | 
			
		||||
    "ts-node": "^10.9.2",
 | 
			
		||||
    "typescript": "5.5.4"
 | 
			
		||||
    "typescript": "5.9.2"
 | 
			
		||||
  },
 | 
			
		||||
  "pkg": {
 | 
			
		||||
    "assets": [
 | 
			
		||||
 | 
			
		||||
@ -71,7 +71,7 @@
 | 
			
		||||
                            <goal>install-node-and-yarn</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <nodeVersion>v20.18.0</nodeVersion>
 | 
			
		||||
                            <nodeVersion>v22.18.0</nodeVersion>
 | 
			
		||||
                            <yarnVersion>v1.22.22</yarnVersion>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -14,7 +14,7 @@
 | 
			
		||||
# limitations under the License.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
FROM thingsboard/node:20.18.0-bookworm-slim
 | 
			
		||||
FROM thingsboard/node:22.18.0-bookworm-slim
 | 
			
		||||
 | 
			
		||||
ENV NODE_ENV production
 | 
			
		||||
ENV DOCKER_MODE true
 | 
			
		||||
 | 
			
		||||
@ -6,21 +6,21 @@
 | 
			
		||||
  "main": "server.ts",
 | 
			
		||||
  "bin": "server.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "pkg": "tsc && pkg -t node18-linux-x64,node18-win-x64 --out-path ./target ./target/src && node install.js",
 | 
			
		||||
    "pkg": "tsc && pkg -t node22-linux-x64,node22-win-x64 --out-path ./target ./target/src && node install.js",
 | 
			
		||||
    "test": "echo \"Error: no test specified\" && exit 1",
 | 
			
		||||
    "start": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web ts-node server.ts'",
 | 
			
		||||
    "start-prod": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web NODE_ENV=production ts-node server.ts'",
 | 
			
		||||
    "build": "tsc"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "compression": "^1.7.5",
 | 
			
		||||
    "compression": "^1.8.1",
 | 
			
		||||
    "config": "^3.3.12",
 | 
			
		||||
    "connect-history-api-fallback": "^1.6.0",
 | 
			
		||||
    "express": "^4.21.1",
 | 
			
		||||
    "connect-history-api-fallback": "1.6.0",
 | 
			
		||||
    "express": "^5.1.0",
 | 
			
		||||
    "http": "0.0.0",
 | 
			
		||||
    "http-proxy": "^1.18.1",
 | 
			
		||||
    "js-yaml": "^4.1.0",
 | 
			
		||||
    "winston": "^3.16.0",
 | 
			
		||||
    "winston": "^3.17.0",
 | 
			
		||||
    "winston-daily-rotate-file": "^5.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "nyc": {
 | 
			
		||||
@ -32,17 +32,17 @@
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@types/compression": "^1.7.5",
 | 
			
		||||
    "@types/compression": "^1.8.1",
 | 
			
		||||
    "@types/config": "^3.3.5",
 | 
			
		||||
    "@types/connect-history-api-fallback": "^1.5.4",
 | 
			
		||||
    "@types/express": "~4.17.21",
 | 
			
		||||
    "@types/http-proxy": "^1.17.15",
 | 
			
		||||
    "@types/node": "~20.17.6",
 | 
			
		||||
    "fs-extra": "^11.2.0",
 | 
			
		||||
    "nodemon": "^3.1.7",
 | 
			
		||||
    "pkg": "^5.8.1",
 | 
			
		||||
    "@types/connect-history-api-fallback": "1.5.4",
 | 
			
		||||
    "@types/express": "~5.0.3",
 | 
			
		||||
    "@types/http-proxy": "^1.17.16",
 | 
			
		||||
    "@types/node": "~22.17.2",
 | 
			
		||||
    "@yao-pkg/pkg": "^6.6.0",
 | 
			
		||||
    "fs-extra": "^11.3.1",
 | 
			
		||||
    "nodemon": "^3.1.10",
 | 
			
		||||
    "ts-node": "^10.9.2",
 | 
			
		||||
    "typescript": "5.5.4"
 | 
			
		||||
    "typescript": "5.9.2"
 | 
			
		||||
  },
 | 
			
		||||
  "pkg": {
 | 
			
		||||
    "assets": [
 | 
			
		||||
 | 
			
		||||
@ -80,7 +80,7 @@
 | 
			
		||||
                            <goal>install-node-and-yarn</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <nodeVersion>v20.18.0</nodeVersion>
 | 
			
		||||
                            <nodeVersion>v22.18.0</nodeVersion>
 | 
			
		||||
                            <yarnVersion>v1.22.22</yarnVersion>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1307
									
								
								msa/web-ui/yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										1307
									
								
								msa/web-ui/yarn.lock
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -56,7 +56,7 @@
 | 
			
		||||
                            <goal>install-node-and-yarn</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <nodeVersion>v20.18.0</nodeVersion>
 | 
			
		||||
                            <nodeVersion>v22.18.0</nodeVersion>
 | 
			
		||||
                            <yarnVersion>v1.22.22</yarnVersion>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
 | 
			
		||||
@ -74,11 +74,12 @@ export class AiConfigComponent extends RuleNodeConfigurationComponent {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  protected prepareOutputConfig(configuration: RuleNodeConfiguration): RuleNodeConfiguration {
 | 
			
		||||
  protected prepareOutputConfig(): RuleNodeConfiguration {
 | 
			
		||||
    const config = this.configForm().getRawValue();
 | 
			
		||||
    if (!this.aiConfigForm.get('systemPrompt').value) {
 | 
			
		||||
      delete configuration.systemPrompt;
 | 
			
		||||
      delete config.systemPrompt;
 | 
			
		||||
    }
 | 
			
		||||
    return deepTrim(configuration);
 | 
			
		||||
    return deepTrim(config);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  onEntityChange($event: AiModel) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user