@daocloud-proto/skoala 0.27.2-130 → 0.27.2-134

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.
@@ -132,6 +132,14 @@ export type DeleteLaneServiceReq = {
132
132
  services?: LaneServiceDetail[]
133
133
  }
134
134
 
135
+ export type GetLaneGraphReq = {
136
+ workspaceId?: string
137
+ meshId?: string
138
+ laneName?: string
139
+ start?: string
140
+ end?: string
141
+ }
142
+
135
143
  export type ListMeshServiceReq = {
136
144
  workspaceId?: string
137
145
  meshId?: string
@@ -8,6 +8,7 @@ import * as fm from "../../../fetch.pb"
8
8
  import * as GoogleApiHttpbody from "../../../google/api/httpbody.pb"
9
9
  import * as GoogleProtobufAny from "../../../google/protobuf/any.pb"
10
10
  import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
11
+ import * as InsightIoApiGraphV1alpha1Graph from "../../../graph/v1alpha1/graph.pb"
11
12
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
12
13
  import * as SkoalaApiGeneralV1alpha1Version from "../../general/v1alpha1/version.pb"
13
14
  import * as SkoalaApiHostedV1alpha1Api from "../../hosted/v1alpha1/api.pb"
@@ -912,6 +913,9 @@ export class Lane {
912
913
  static DeleteLaneService(req: SkoalaApiHostedV1alpha1Lane.DeleteLaneServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
913
914
  return fm.fetchReq<SkoalaApiHostedV1alpha1Lane.DeleteLaneServiceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/lanes/${req["laneName"]}/services`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
914
915
  }
916
+ static GetLaneGraph(req: SkoalaApiHostedV1alpha1Lane.GetLaneGraphReq, initReq?: fm.InitReq): Promise<InsightIoApiGraphV1alpha1Graph.Graph> {
917
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Lane.GetLaneGraphReq, InsightIoApiGraphV1alpha1Graph.Graph>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/lanes/${req["laneName"]}/services/graph?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "laneName"])}`, {...initReq, method: "GET"})
918
+ }
915
919
  static ListMeshService(req: SkoalaApiHostedV1alpha1Lane.ListMeshServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Lane.ListMeshServiceRes> {
916
920
  return fm.fetchReq<SkoalaApiHostedV1alpha1Lane.ListMeshServiceReq, SkoalaApiHostedV1alpha1Lane.ListMeshServiceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName"])}`, {...initReq, method: "GET"})
917
921
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.27.2-130",
3
+ "version": "0.27.2-134",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {