Skip to content

Commit

Permalink
chore: update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
pachonjcl committed Jun 6, 2024
1 parent 83d15e3 commit be9f3cc
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions src/generated/apiSchemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22947,3 +22947,59 @@ export type WorkdayDemographic = {
name?: string;
amount?: number;
};

export type GeoJSON = {
type?: "FeatureCollection";
features?: {
type?: "Feature";
properties?: {
poly_name?: string;
/**
* @format date
*/
plantstart?: string;
/**
* @format date
*/
plantend?: string;
practice?: string;
target_sys?: string;
distr?: string;
num_trees?: number;
site_id?: string;
};
geometry?: {
type?: "Polygon";
coordinates?: number[][][];
};
}[];
};

export type SiteGeometryPost = {
/**
* The UUIDs generated by the system for the uploaded polygons. They are in the same order as the polygons in the request payload.
*/
polygon_uuids?: string[];
/**
* Mapping of geometry UUID to the errors associated with the geometry. The geometry was saved in the DB and must be updated instead of created once the issues are resolved.
*/
errors?: {
[key: string]: {
key?:
| "OVERLAPPING_POLYGON"
| "SELF_INTERSECTION"
| "COORDINATE_SYSTEM"
| "SIZE_LIMIT"
| "WITHIN_COUNTRY"
| "SPIKE"
| "GEOMETRY_TYPE"
| "TOTAL_AREA_EXPECTED"
| "TABLE_SCHEMA"
| "DATA_COMPLETED";
/**
* Human readable string in English to describe the error.
*/
message?: string;
}[];
};
};

0 comments on commit be9f3cc

Please sign in to comment.