Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
cd3bcc0ee3 | ||
ef1ba824c3 | |||
bc45e92138 | |||
|
e4e04a193f | ||
|
a1a90519c5 |
@ -1,3 +1,10 @@
|
||||
## [6.12.2](https://git.datacontroller.io/dc/dc/compare/v6.12.1...v6.12.2) (2025-01-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* unnecessary zeros when adding new row (data schema default values) ([a1a9051](https://git.datacontroller.io/dc/dc/commit/a1a90519c535ca25e00822b4d3358c991ac9662e))
|
||||
|
||||
## [6.12.1](https://git.datacontroller.io/dc/dc/compare/v6.12.0...v6.12.1) (2024-12-31)
|
||||
|
||||
|
||||
|
@ -6,5 +6,8 @@
|
||||
"lib": ["es2019", "dom"],
|
||||
"types": ["cypress", "cypress-real-events"]
|
||||
},
|
||||
"include": ["**/*.ts"]
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"../cypress.config.ts"
|
||||
]
|
||||
}
|
@ -2,7 +2,7 @@ import { getHotDataSchema } from '../utils/getHotDataSchema'
|
||||
|
||||
describe('DC Validator - hot data schema', () => {
|
||||
it('should return correct value for col type', () => {
|
||||
expect(getHotDataSchema('numeric')).toEqual(0)
|
||||
expect(getHotDataSchema('numeric')).toEqual('')
|
||||
expect(
|
||||
getHotDataSchema('autocomplete', { data: '', source: [1, 2, 3] })
|
||||
).toEqual(1)
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { DcValidation } from '../models/dc-validation.model'
|
||||
|
||||
const schemaTypeMap: { [key: string]: any } = {
|
||||
numeric: 0,
|
||||
numeric: '',
|
||||
default: ''
|
||||
}
|
||||
|
||||
|
@ -46,5 +46,9 @@
|
||||
"strictInjectionParameters": true,
|
||||
"strictInputAccessModifiers": true,
|
||||
"strictTemplates": true,
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"cypress/**/*.ts",
|
||||
"cypress.config.ts"
|
||||
]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dcfrontend",
|
||||
"version": "6.12.1",
|
||||
"version": "6.12.2",
|
||||
"description": "Data Controller",
|
||||
"devDependencies": {
|
||||
"@saithodev/semantic-release-gitea": "^2.1.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user