fix(db-postgres): camelCase point fields (#13519)

Fixes https://github.com/payloadcms/payload/issues/13394
This commit is contained in:
Sasha
2025-08-20 20:18:14 +03:00
committed by GitHub
parent 5e433aa9c3
commit aa90271a59
4 changed files with 28 additions and 1 deletions

View File

@@ -1294,6 +1294,11 @@ export interface PointField {
* @maxItems 2
*/
point: [number, number];
/**
* @minItems 2
* @maxItems 2
*/
camelCasePoint?: [number, number] | null;
/**
* @minItems 2
* @maxItems 2
@@ -2895,6 +2900,7 @@ export interface NumberFieldsSelect<T extends boolean = true> {
*/
export interface PointFieldsSelect<T extends boolean = true> {
point?: T;
camelCasePoint?: T;
localized?: T;
group?:
| T