@geode/vease-viewer 2.15.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/vease-viewer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/Vease-Viewer",
|
|
6
6
|
"bugs": {
|
|
@@ -17,19 +17,25 @@
|
|
|
17
17
|
"url": "git+https://github.com/Geode-solutions/Vease-Viewer.git"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
|
-
"vease_viewer_schemas.json"
|
|
20
|
+
"vease_viewer_schemas.json",
|
|
21
|
+
"vease_viewer_typed_schemas.js",
|
|
22
|
+
"vease_viewer_typed_schemas.d.ts"
|
|
21
23
|
],
|
|
22
24
|
"exports": {
|
|
23
25
|
"./vease_viewer_schemas.json": {
|
|
24
26
|
"import": "./vease_viewer_schemas.json",
|
|
25
27
|
"require": "./vease_viewer_schemas.json"
|
|
28
|
+
},
|
|
29
|
+
"./vease_viewer_typed_schemas.js": {
|
|
30
|
+
"types": "./vease_viewer_typed_schemas.d.ts",
|
|
31
|
+
"default": "./vease_viewer_typed_schemas.js"
|
|
26
32
|
}
|
|
27
33
|
},
|
|
28
34
|
"publishConfig": {
|
|
29
35
|
"access": "public"
|
|
30
36
|
},
|
|
31
37
|
"scripts": {
|
|
32
|
-
"json": "npx opengeodeweb-microservice-generate --startDir src/vease_viewer/rpc --key rpc --separator .",
|
|
38
|
+
"json": "npx opengeodeweb-microservice-generate --startDir src/vease_viewer/rpc --key rpc --separator . --requireResponse",
|
|
33
39
|
"test": "npm run json",
|
|
34
40
|
"build": "npm run json"
|
|
35
41
|
},
|
|
@@ -6,7 +6,19 @@
|
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {},
|
|
8
8
|
"required": [],
|
|
9
|
-
"additionalProperties": false
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"response": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"microservice_version": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"microservice_version"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
10
22
|
}
|
|
11
23
|
}
|
|
12
24
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Generated by opengeodeweb-microservice-generate, do not edit.
|
|
2
|
+
import type json from "./vease_viewer_schemas.json";
|
|
3
|
+
|
|
4
|
+
export interface MicroserviceVersionParams {
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface MicroserviceVersionResponse {
|
|
8
|
+
microservice_version: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface ErrorResponse {
|
|
12
|
+
code: number;
|
|
13
|
+
description: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// `__params` and `__response` only exist at type level, to infer request/response types from a schema.
|
|
18
|
+
// A type alias (not an interface) keeps the implicit index signature of the JSON type it is intersected with.
|
|
19
|
+
export type TypedSchema<Params, Response> = {
|
|
20
|
+
readonly __params?: Params;
|
|
21
|
+
readonly __response?: Response;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export interface Schemas {
|
|
25
|
+
readonly vease_viewer: {
|
|
26
|
+
readonly microservice_version: (typeof json)["vease_viewer"]["microservice_version"] & TypedSchema<MicroserviceVersionParams, MicroserviceVersionResponse>;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare const schemas: Schemas;
|
|
31
|
+
export default schemas;
|