Pranav C
|
c4a78fddf2
|
Merge pull request #5174 from nocodb/feat/ajv-validation-and-human-readable-error
feat: API payload validation and error handling
|
2 years ago |
Pranav C
|
8dbf966fdd
|
chore: suggested changes
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
adb1dcfddf
|
refactor: move swagger.json to nocodb package
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
ca7f8dca08
|
refactor: generic type for string or null
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
1918d339b8
|
refactor: replace `"nullable"` with type
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
4e084ed8ea
|
refactor: Use generic type for meta field
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
373da6d83d
|
feat: add validations and schema for all apis
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
d0e2441559
|
chore: lint
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
011fc0b3d0
|
refactor: follow same naming pattern for schema
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
12fb3fe3c6
|
fix: schema name correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
b54d2d22a4
|
refactor: use a generic boolean type which could be number, null or boolean
- In databases boolean is stored as 0/1 so all boolean field could be number as well
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
04c87a0d7f
|
fix: remove unused hook table props from json schema
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
eabaa635f3
|
fix: use newly added schema in swagger apis
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
4770210568
|
fix: dtxp type correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
8a1036b237
|
fix: hook request schema correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
ea73fb75b2
|
fix: swagger - missing comma
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
c6e5d5463b
|
fix: convert minProperties value to number
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
ed401ba830
|
fix: swagger schema corrections
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
f1b75b16e1
|
fix: type corrections
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
ad92b58952
|
fix: add missing schema
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
19f773fae0
|
fix: type and schema name corrections
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
e757e97b02
|
fix(swagger): change order type from integer to number
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
18a6c3a155
|
chore: generate sdk file
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
dbcc489c0d
|
fix: replace oneOf with anyOf - update all the places
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
06f7bcc2be
|
fix: replace oneOf with anyOf
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
90fe5ef1fc
|
fix: column api type corrections
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
6427dee28c
|
refactor(gui): check errors is an array or not
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
a5cea7883a
|
feat: extract validation error and combine if found
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
ba352da48c
|
feat: ui acl post request schema definition
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
b67d3a5270
|
fix: swagger schema correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
fae02790b3
|
feat: on db error respond with human-readable message
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
be377add99
|
feat(nocodb): add missing schema
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
8fea468925
|
feat(nocodb): map swagger schema for api payload validation
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Pranav C
|
1811fc7ba0
|
feat(gui): add ajv middleware
Signed-off-by: Pranav C <pranavxc@gmail.com>
|
2 years ago |
Wing-Kam Wong
|
4ed69464c4
|
fix(nocodb): revise isWithin logic in airtable migration
|
2 years ago |
Wing-Kam Wong
|
00f9b58327
|
feat(nocodb): add isWithin logic in conditionV2.ts
|
2 years ago |
Wing-Kam Wong
|
6a72125828
|
feat(nc-gui): include isWithin logic
|
2 years ago |
Wing-Kam Wong
|
feec16510e
|
feat(nocodb): add sub ops for isWithin
|
2 years ago |
Wing-Kam Wong
|
12973aaf98
|
feat(nc-gui): use decimal input for 'pastNumberOfDays', 'nextNumberOfDays'
|
2 years ago |
Wing-Kam Wong
|
811fef9678
|
feat(nc-gui): include isWithin sub ops in comparisonSubOpList
|
2 years ago |
Wing-Kam Wong
|
993660638f
|
refactor(nocodb): move duplicate logic out
|
2 years ago |
Wing-Kam Wong
|
9d04cf7692
|
feat(nocodb): isWithin filter migration
|
2 years ago |
Wing-Kam Wong
|
3443a81a00
|
feat(nocodb): add isWithin
|
2 years ago |
Wing-Kam Wong
|
525ce4cdef
|
feat(nc-gui): add is within and mark ignoreVal compulsory
|
2 years ago |
Wing-Kam Wong
|
deb057b760
|
feat(nc-gui): add empty span as a grid column
|
2 years ago |
Wing-Kam Wong
|
ac57a133d3
|
feat(nocodb): airtable migration for date/datetime filters
|
2 years ago |
Raju Udava
|
6487515080
|
Merge pull request #5202 from nocodb/l10n_develop_2
New Crowdin updates
|
2 years ago |
Raju Udava
|
e3309904f3
|
Merge branch 'develop' into l10n_develop_2
|
2 years ago |
Wing-Kam Wong
|
445fb6cdcd
|
refactor(nc-gui): rename date filter sub ops
|
2 years ago |
Wing-Kam Wong
|
a43f6be47c
|
refactor(nocodb): rename date filter sub ops
|
2 years ago |