Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
478 changes: 478 additions & 0 deletions opengeodeweb_viewer_schemas.json

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions opengeodeweb_viewer_typed_schemas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,64 @@ export interface ModelBlocksAttributeVertexAttributeParamsNoDataColor {
export interface ModelBlocksAttributeVertexAttributeResponse {
}

export interface ModelBlocksEdgesAttributeVertexAttributeParams {
block_ids: number[];
id: string;
item: number;
maximum: number;
minimum: number;
name: string;
no_data_color?: ModelBlocksEdgesAttributeVertexAttributeParamsNoDataColor;
/**
* Flat array of [value, r, g, b, ...]
*/
points: number[];
}

export interface ModelBlocksEdgesAttributeVertexAttributeParamsNoDataColor {
alpha: number;
blue: number;
green: number;
red: number;
}

export interface ModelBlocksEdgesAttributeVertexAttributeResponse {
}

export interface ModelBlocksEdgesWidthParams {
block_ids: number[];
id: string;
width: number;
}

export interface ModelBlocksEdgesWidthResponse {
}

export interface ModelBlocksEdgesVisibilityParams {
block_ids: number[];
id: string;
visibility: boolean;
}

export interface ModelBlocksEdgesVisibilityResponse {
}

export interface ModelBlocksEdgesColorParams {
block_ids: number[];
color: ModelBlocksEdgesColorParamsColor;
id: string;
}

export interface ModelBlocksEdgesColorParamsColor {
alpha: number;
blue: number;
green: number;
red: number;
}

export interface ModelBlocksEdgesColorResponse {
}

export interface ModelBlocksPointsAttributeVertexAttributeParams {
block_ids: number[];
id: string;
Expand Down Expand Up @@ -629,6 +687,14 @@ export interface FluffyColorRGBA {
red: number;
}

export interface ModelEdgesWidthParams {
id: string;
width: number;
}

export interface ModelEdgesWidthResponse {
}

export interface ModelEdgesVisibilityParams {
id: string;
visibility: boolean;
Expand Down Expand Up @@ -889,6 +955,64 @@ export interface ModelSurfacesAttributeVertexAttributeParamsNoDataColor {
export interface ModelSurfacesAttributeVertexAttributeResponse {
}

export interface ModelSurfacesEdgesAttributeVertexAttributeParams {
block_ids: number[];
id: string;
item: number;
maximum: number;
minimum: number;
name: string;
no_data_color?: ModelSurfacesEdgesAttributeVertexAttributeParamsNoDataColor;
/**
* Flat array of [value, r, g, b, ...]
*/
points: number[];
}

export interface ModelSurfacesEdgesAttributeVertexAttributeParamsNoDataColor {
alpha: number;
blue: number;
green: number;
red: number;
}

export interface ModelSurfacesEdgesAttributeVertexAttributeResponse {
}

export interface ModelSurfacesEdgesWidthParams {
block_ids: number[];
id: string;
width: number;
}

export interface ModelSurfacesEdgesWidthResponse {
}

export interface ModelSurfacesEdgesVisibilityParams {
block_ids: number[];
id: string;
visibility: boolean;
}

export interface ModelSurfacesEdgesVisibilityResponse {
}

export interface ModelSurfacesEdgesColorParams {
block_ids: number[];
color: ModelSurfacesEdgesColorParamsColor;
id: string;
}

export interface ModelSurfacesEdgesColorParamsColor {
alpha: number;
blue: number;
green: number;
red: number;
}

export interface ModelSurfacesEdgesColorResponse {
}

export interface ModelSurfacesPointsAttributeVertexAttributeParams {
block_ids: number[];
id: string;
Expand Down Expand Up @@ -1350,6 +1474,16 @@ export interface Schemas {
readonly attribute: (typeof json)["opengeodeweb_viewer"]["model"]["blocks"]["attribute"]["vertex"]["attribute"] & TypedSchema<ModelBlocksAttributeVertexAttributeParams, ModelBlocksAttributeVertexAttributeResponse>;
};
};
readonly edges: {
readonly attribute: {
readonly vertex: {
readonly attribute: (typeof json)["opengeodeweb_viewer"]["model"]["blocks"]["edges"]["attribute"]["vertex"]["attribute"] & TypedSchema<ModelBlocksEdgesAttributeVertexAttributeParams, ModelBlocksEdgesAttributeVertexAttributeResponse>;
};
};
readonly width: (typeof json)["opengeodeweb_viewer"]["model"]["blocks"]["edges"]["width"] & TypedSchema<ModelBlocksEdgesWidthParams, ModelBlocksEdgesWidthResponse>;
readonly visibility: (typeof json)["opengeodeweb_viewer"]["model"]["blocks"]["edges"]["visibility"] & TypedSchema<ModelBlocksEdgesVisibilityParams, ModelBlocksEdgesVisibilityResponse>;
readonly color: (typeof json)["opengeodeweb_viewer"]["model"]["blocks"]["edges"]["color"] & TypedSchema<ModelBlocksEdgesColorParams, ModelBlocksEdgesColorResponse>;
};
readonly points: {
readonly attribute: {
readonly vertex: {
Expand All @@ -1373,6 +1507,7 @@ export interface Schemas {
readonly color: (typeof json)["opengeodeweb_viewer"]["model"]["corners"]["color"] & TypedSchema<ModelCornersColorParams, ModelCornersColorResponse>;
};
readonly edges: {
readonly width: (typeof json)["opengeodeweb_viewer"]["model"]["edges"]["width"] & TypedSchema<ModelEdgesWidthParams, ModelEdgesWidthResponse>;
readonly visibility: (typeof json)["opengeodeweb_viewer"]["model"]["edges"]["visibility"] & TypedSchema<ModelEdgesVisibilityParams, ModelEdgesVisibilityResponse>;
};
readonly lines: {
Expand Down Expand Up @@ -1415,6 +1550,16 @@ export interface Schemas {
readonly attribute: (typeof json)["opengeodeweb_viewer"]["model"]["surfaces"]["attribute"]["vertex"]["attribute"] & TypedSchema<ModelSurfacesAttributeVertexAttributeParams, ModelSurfacesAttributeVertexAttributeResponse>;
};
};
readonly edges: {
readonly attribute: {
readonly vertex: {
readonly attribute: (typeof json)["opengeodeweb_viewer"]["model"]["surfaces"]["edges"]["attribute"]["vertex"]["attribute"] & TypedSchema<ModelSurfacesEdgesAttributeVertexAttributeParams, ModelSurfacesEdgesAttributeVertexAttributeResponse>;
};
};
readonly width: (typeof json)["opengeodeweb_viewer"]["model"]["surfaces"]["edges"]["width"] & TypedSchema<ModelSurfacesEdgesWidthParams, ModelSurfacesEdgesWidthResponse>;
readonly visibility: (typeof json)["opengeodeweb_viewer"]["model"]["surfaces"]["edges"]["visibility"] & TypedSchema<ModelSurfacesEdgesVisibilityParams, ModelSurfacesEdgesVisibilityResponse>;
readonly color: (typeof json)["opengeodeweb_viewer"]["model"]["surfaces"]["edges"]["color"] & TypedSchema<ModelSurfacesEdgesColorParams, ModelSurfacesEdgesColorResponse>;
};
readonly points: {
readonly attribute: {
readonly vertex: {
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,15 @@ where = ["src"]
"opengeodeweb_viewer.rpc.model.surfaces.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.surfaces.points.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.surfaces.points.attribute.vertex.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.surfaces.edges.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.surfaces.edges.attribute.vertex.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.surfaces.attribute.polygon.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.surfaces.attribute.vertex.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.points.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.points.attribute.vertex.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.edges.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.edges.attribute.vertex.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.attribute.polyhedron.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.model.blocks.attribute.vertex.schemas" = ["*.json"]
"opengeodeweb_viewer.rpc.viewer.schemas" = ["*.json"]
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ wslink==2.6.0
yarl==1.*
# via aiohttp

opengeodeweb-microservice==1.*,>=1.3.2
Loading
Loading