@lansweeper/diagrams-grpc 0.0.9 → 0.0.10
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/CHANGELOG.md +8 -0
- package/Lansweeper.Diagrams.GRPC.csproj +3 -3
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.pdb +0 -0
- package/gen-proto/diagrams_pb.d.ts +5 -5
- package/gen-proto/diagrams_pb.js +21 -44
- package/gen-proto/image.json +1 -1
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Diagrams.cs +43 -41
- package/obj/Debug/net6.0/ref/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Lansweeper.Diagrams.GRPC.csproj.nuget.dgspec.json +1 -1
- package/obj/project.assets.json +1 -1
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/diagrams.proto +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.0.10](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.9...@lansweeper/diagrams-grpc@0.0.10) (2022-10-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.0.9](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.8...@lansweeper/diagrams-grpc@0.0.9) (2022-10-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<Company>Lansweeper</Company>
|
|
8
8
|
<Product>Lansweeper Diagrams</Product>
|
|
9
9
|
<Copyright>Lansweeper</Copyright>
|
|
10
|
-
<PackageVersion>0.0.
|
|
11
|
-
<Version>0.0.
|
|
12
|
-
<FileVersion>0.0.
|
|
10
|
+
<PackageVersion>0.0.9</PackageVersion>
|
|
11
|
+
<Version>0.0.9</Version>
|
|
12
|
+
<FileVersion>0.0.9</FileVersion>
|
|
13
13
|
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
14
|
</PropertyGroup>
|
|
15
15
|
<ItemGroup>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v6.0": {
|
|
9
|
-
"Lansweeper.Diagrams.GRPC/0.0.
|
|
9
|
+
"Lansweeper.Diagrams.GRPC/0.0.9": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Google.Protobuf": "3.15.0",
|
|
12
12
|
"Grpc": "2.46.1",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"libraries": {
|
|
94
|
-
"Lansweeper.Diagrams.GRPC/0.0.
|
|
94
|
+
"Lansweeper.Diagrams.GRPC/0.0.9": {
|
|
95
95
|
"type": "project",
|
|
96
96
|
"serviceable": false,
|
|
97
97
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -11,10 +11,9 @@ export class DiagramRequest extends jspb.Message {
|
|
|
11
11
|
setClientKey(value: string): DiagramRequest;
|
|
12
12
|
getInstallationKey(): string;
|
|
13
13
|
setInstallationKey(value: string): DiagramRequest;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
addAssetTypeNames(value: string, index?: number): string;
|
|
14
|
+
|
|
15
|
+
getAssetTypeNamesMap(): jspb.Map<string, boolean>;
|
|
16
|
+
clearAssetTypeNamesMap(): void;
|
|
18
17
|
|
|
19
18
|
getAssetScopesRulesMap(): jspb.Map<string, string>;
|
|
20
19
|
clearAssetScopesRulesMap(): void;
|
|
@@ -33,7 +32,8 @@ export namespace DiagramRequest {
|
|
|
33
32
|
export type AsObject = {
|
|
34
33
|
clientKey: string,
|
|
35
34
|
installationKey: string,
|
|
36
|
-
|
|
35
|
+
|
|
36
|
+
assetTypeNamesMap: Array<[string, boolean]>,
|
|
37
37
|
|
|
38
38
|
assetScopesRulesMap: Array<[string, string]>,
|
|
39
39
|
}
|
package/gen-proto/diagrams_pb.js
CHANGED
|
@@ -31,7 +31,7 @@ goog.exportSymbol('proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramRespons
|
|
|
31
31
|
* @constructor
|
|
32
32
|
*/
|
|
33
33
|
proto.lansweeper.diagrams.v1.DiagramRequest = function(opt_data) {
|
|
34
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
34
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
35
35
|
};
|
|
36
36
|
goog.inherits(proto.lansweeper.diagrams.v1.DiagramRequest, jspb.Message);
|
|
37
37
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -126,13 +126,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
126
126
|
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.displayName = 'proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse';
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
/**
|
|
130
|
-
* List of repeated fields within this message type.
|
|
131
|
-
* @private {!Array<number>}
|
|
132
|
-
* @const
|
|
133
|
-
*/
|
|
134
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.repeatedFields_ = [3];
|
|
135
|
-
|
|
136
129
|
|
|
137
130
|
|
|
138
131
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -166,7 +159,7 @@ proto.lansweeper.diagrams.v1.DiagramRequest.toObject = function(includeInstance,
|
|
|
166
159
|
var f, obj = {
|
|
167
160
|
clientKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
168
161
|
installationKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
169
|
-
|
|
162
|
+
assetTypeNamesMap: (f = msg.getAssetTypeNamesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
170
163
|
assetScopesRulesMap: (f = msg.getAssetScopesRulesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
171
164
|
};
|
|
172
165
|
|
|
@@ -213,8 +206,10 @@ proto.lansweeper.diagrams.v1.DiagramRequest.deserializeBinaryFromReader = functi
|
|
|
213
206
|
msg.setInstallationKey(value);
|
|
214
207
|
break;
|
|
215
208
|
case 3:
|
|
216
|
-
var value =
|
|
217
|
-
|
|
209
|
+
var value = msg.getAssetTypeNamesMap();
|
|
210
|
+
reader.readMessage(value, function(message, reader) {
|
|
211
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBool, null, "", false);
|
|
212
|
+
});
|
|
218
213
|
break;
|
|
219
214
|
case 4:
|
|
220
215
|
var value = msg.getAssetScopesRulesMap();
|
|
@@ -265,12 +260,9 @@ proto.lansweeper.diagrams.v1.DiagramRequest.serializeBinaryToWriter = function(m
|
|
|
265
260
|
f
|
|
266
261
|
);
|
|
267
262
|
}
|
|
268
|
-
f = message.
|
|
269
|
-
if (f.
|
|
270
|
-
writer.
|
|
271
|
-
3,
|
|
272
|
-
f
|
|
273
|
-
);
|
|
263
|
+
f = message.getAssetTypeNamesMap(true);
|
|
264
|
+
if (f && f.getLength() > 0) {
|
|
265
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBool);
|
|
274
266
|
}
|
|
275
267
|
f = message.getAssetScopesRulesMap(true);
|
|
276
268
|
if (f && f.getLength() > 0) {
|
|
@@ -316,40 +308,25 @@ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.setInstallationKey = funct
|
|
|
316
308
|
|
|
317
309
|
|
|
318
310
|
/**
|
|
319
|
-
*
|
|
320
|
-
* @
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* @param {!Array<string>} value
|
|
329
|
-
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
330
|
-
*/
|
|
331
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.setAssetTypeNamesList = function(value) {
|
|
332
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* @param {string} value
|
|
338
|
-
* @param {number=} opt_index
|
|
339
|
-
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
311
|
+
* map<string, bool> asset_type_names = 3;
|
|
312
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
313
|
+
* empty, instead returning `undefined`
|
|
314
|
+
* @return {!jspb.Map<string,boolean>}
|
|
340
315
|
*/
|
|
341
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.
|
|
342
|
-
return jspb.
|
|
316
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.getAssetTypeNamesMap = function(opt_noLazyCreate) {
|
|
317
|
+
return /** @type {!jspb.Map<string,boolean>} */ (
|
|
318
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
319
|
+
null));
|
|
343
320
|
};
|
|
344
321
|
|
|
345
322
|
|
|
346
323
|
/**
|
|
347
|
-
* Clears the
|
|
324
|
+
* Clears values from the map. The map will be non-null.
|
|
348
325
|
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
349
326
|
*/
|
|
350
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.
|
|
351
|
-
|
|
352
|
-
};
|
|
327
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetTypeNamesMap = function() {
|
|
328
|
+
this.getAssetTypeNamesMap().clear();
|
|
329
|
+
return this;};
|
|
353
330
|
|
|
354
331
|
|
|
355
332
|
/**
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/diagrams.proto","package":"lansweeper.diagrams.v1","messageType":[{"name":"DiagramRequest","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"installation_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationKey"},{"name":"asset_type_names","number":3,"label":"LABEL_REPEATED","type":"
|
|
1
|
+
{"file":[{"name":"proto/diagrams.proto","package":"lansweeper.diagrams.v1","messageType":[{"name":"DiagramRequest","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"installation_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationKey"},{"name":"asset_type_names","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.DiagramRequest.AssetTypeNamesEntry","jsonName":"assetTypeNames"},{"name":"asset_scopes_rules","number":4,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.DiagramRequest.AssetScopesRulesEntry","jsonName":"assetScopesRules"}],"nestedType":[{"name":"AssetTypeNamesEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"value"}],"options":{"mapEntry":true}},{"name":"AssetScopesRulesEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"value"}],"options":{"mapEntry":true}}]},{"name":"Asset","field":[{"name":"unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"uniqueKey"},{"name":"key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"type_name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"typeName"},{"name":"group_key","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"groupKey"},{"name":"is_group","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isGroup"},{"name":"ip_address","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"ipAddress"},{"name":"vm_running_status","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"vmRunningStatus"},{"name":"category","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"category"},{"name":"is_virtual","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isVirtual"}]},{"name":"Relationship","field":[{"name":"from_asset_unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"fromAssetUniqueKey"},{"name":"to_asset_unique_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"toAssetUniqueKey"},{"name":"category","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"category"},{"name":"name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"reverse_name","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"reverseName"},{"name":"icon_name","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"iconName"},{"name":"is_manual","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isManual"}]},{"name":"NetworkTopologyDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"},{"name":"issues","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"issues"}]},{"name":"VirtualEnvironmentDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"},{"name":"issues","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"issues"}]}],"service":[{"name":"DiagramsService","method":[{"name":"GetNetworkTopologyDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.NetworkTopologyDiagramResponse","options":{}},{"name":"GetVirtualEnvironmentDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse","options":{}}]}],"options":{"csharpNamespace":"Lansweeper.Diagrams.GRPC"},"sourceCodeInfo":{"location":[{"span":[0,0,51,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,31]},{"path":[8],"span":[4,0,53]},{"path":[8,37],"span":[4,0,53]},{"path":[6,0],"span":[6,0,9,1]},{"path":[6,0,1],"span":[6,8,23]},{"path":[6,0,2,0],"span":[7,2,105]},{"path":[6,0,2,0,1],"span":[7,6,45]},{"path":[6,0,2,0,2],"span":[7,46,60]},{"path":[6,0,2,0,3],"span":[7,71,101]},{"path":[6,0,2,1],"span":[8,2,111]},{"path":[6,0,2,1,1],"span":[8,6,48]},{"path":[6,0,2,1,2],"span":[8,49,63]},{"path":[6,0,2,1,3],"span":[8,74,107]},{"path":[4,0],"span":[11,0,16,1]},{"path":[4,0,1],"span":[11,8,22]},{"path":[4,0,2,0],"span":[12,2,24]},{"path":[4,0,2,0,5],"span":[12,2,8]},{"path":[4,0,2,0,1],"span":[12,9,19]},{"path":[4,0,2,0,3],"span":[12,22,23]},{"path":[4,0,2,1],"span":[13,2,30]},{"path":[4,0,2,1,5],"span":[13,2,8]},{"path":[4,0,2,1,1],"span":[13,9,25]},{"path":[4,0,2,1,3],"span":[13,28,29]},{"path":[4,0,2,2],"span":[14,2,41]},{"path":[4,0,2,2,6],"span":[14,2,19]},{"path":[4,0,2,2,1],"span":[14,20,36]},{"path":[4,0,2,2,3],"span":[14,39,40]},{"path":[4,0,2,3],"span":[15,2,45]},{"path":[4,0,2,3,6],"span":[15,2,21]},{"path":[4,0,2,3,1],"span":[15,22,40]},{"path":[4,0,2,3,3],"span":[15,43,44]},{"path":[4,1],"span":[18,0,29,1]},{"path":[4,1,1],"span":[18,8,13]},{"path":[4,1,2,0],"span":[19,2,24]},{"path":[4,1,2,0,5],"span":[19,2,8]},{"path":[4,1,2,0,1],"span":[19,9,19]},{"path":[4,1,2,0,3],"span":[19,22,23]},{"path":[4,1,2,1],"span":[20,2,17]},{"path":[4,1,2,1,5],"span":[20,2,8]},{"path":[4,1,2,1,1],"span":[20,9,12]},{"path":[4,1,2,1,3],"span":[20,15,16]},{"path":[4,1,2,2],"span":[21,2,18]},{"path":[4,1,2,2,5],"span":[21,2,8]},{"path":[4,1,2,2,1],"span":[21,9,13]},{"path":[4,1,2,2,3],"span":[21,16,17]},{"path":[4,1,2,3],"span":[22,2,23]},{"path":[4,1,2,3,5],"span":[22,2,8]},{"path":[4,1,2,3,1],"span":[22,9,18]},{"path":[4,1,2,3,3],"span":[22,21,22]},{"path":[4,1,2,4],"span":[23,2,23]},{"path":[4,1,2,4,5],"span":[23,2,8]},{"path":[4,1,2,4,1],"span":[23,9,18]},{"path":[4,1,2,4,3],"span":[23,21,22]},{"path":[4,1,2,5],"span":[24,2,20]},{"path":[4,1,2,5,5],"span":[24,2,6]},{"path":[4,1,2,5,1],"span":[24,7,15]},{"path":[4,1,2,5,3],"span":[24,18,19]},{"path":[4,1,2,6],"span":[25,2,24]},{"path":[4,1,2,6,5],"span":[25,2,8]},{"path":[4,1,2,6,1],"span":[25,9,19]},{"path":[4,1,2,6,3],"span":[25,22,23]},{"path":[4,1,2,7],"span":[26,2,31]},{"path":[4,1,2,7,5],"span":[26,2,8]},{"path":[4,1,2,7,1],"span":[26,9,26]},{"path":[4,1,2,7,3],"span":[26,29,30]},{"path":[4,1,2,8],"span":[27,2,22]},{"path":[4,1,2,8,5],"span":[27,2,8]},{"path":[4,1,2,8,1],"span":[27,9,17]},{"path":[4,1,2,8,3],"span":[27,20,21]},{"path":[4,1,2,9],"span":[28,2,23]},{"path":[4,1,2,9,5],"span":[28,2,6]},{"path":[4,1,2,9,1],"span":[28,7,17]},{"path":[4,1,2,9,3],"span":[28,20,22]},{"path":[4,2],"span":[31,0,39,1]},{"path":[4,2,1],"span":[31,8,20]},{"path":[4,2,2,0],"span":[32,2,35]},{"path":[4,2,2,0,5],"span":[32,2,8]},{"path":[4,2,2,0,1],"span":[32,9,30]},{"path":[4,2,2,0,3],"span":[32,33,34]},{"path":[4,2,2,1],"span":[33,2,33]},{"path":[4,2,2,1,5],"span":[33,2,8]},{"path":[4,2,2,1,1],"span":[33,9,28]},{"path":[4,2,2,1,3],"span":[33,31,32]},{"path":[4,2,2,2],"span":[34,2,22]},{"path":[4,2,2,2,5],"span":[34,2,8]},{"path":[4,2,2,2,1],"span":[34,9,17]},{"path":[4,2,2,2,3],"span":[34,20,21]},{"path":[4,2,2,3],"span":[35,2,18]},{"path":[4,2,2,3,5],"span":[35,2,8]},{"path":[4,2,2,3,1],"span":[35,9,13]},{"path":[4,2,2,3,3],"span":[35,16,17]},{"path":[4,2,2,4],"span":[36,2,26]},{"path":[4,2,2,4,5],"span":[36,2,8]},{"path":[4,2,2,4,1],"span":[36,9,21]},{"path":[4,2,2,4,3],"span":[36,24,25]},{"path":[4,2,2,5],"span":[37,2,23]},{"path":[4,2,2,5,5],"span":[37,2,8]},{"path":[4,2,2,5,1],"span":[37,9,18]},{"path":[4,2,2,5,3],"span":[37,21,22]},{"path":[4,2,2,6],"span":[38,2,21]},{"path":[4,2,2,6,5],"span":[38,2,6]},{"path":[4,2,2,6,1],"span":[38,7,16]},{"path":[4,2,2,6,3],"span":[38,19,20]},{"path":[4,3],"span":[41,0,45,1]},{"path":[4,3,1],"span":[41,8,38]},{"path":[4,3,2,0],"span":[42,2,28]},{"path":[4,3,2,0,4],"span":[42,2,10]},{"path":[4,3,2,0,6],"span":[42,11,16]},{"path":[4,3,2,0,1],"span":[42,17,23]},{"path":[4,3,2,0,3],"span":[42,26,27]},{"path":[4,3,2,1],"span":[43,2,42]},{"path":[4,3,2,1,4],"span":[43,2,10]},{"path":[4,3,2,1,6],"span":[43,11,23]},{"path":[4,3,2,1,1],"span":[43,24,37]},{"path":[4,3,2,1,3],"span":[43,40,41]},{"path":[4,3,2,2],"span":[44,2,29]},{"path":[4,3,2,2,4],"span":[44,2,10]},{"path":[4,3,2,2,5],"span":[44,11,17]},{"path":[4,3,2,2,1],"span":[44,18,24]},{"path":[4,3,2,2,3],"span":[44,27,28]},{"path":[4,4],"span":[47,0,51,1]},{"path":[4,4,1],"span":[47,8,41]},{"path":[4,4,2,0],"span":[48,2,28]},{"path":[4,4,2,0,4],"span":[48,2,10]},{"path":[4,4,2,0,6],"span":[48,11,16]},{"path":[4,4,2,0,1],"span":[48,17,23]},{"path":[4,4,2,0,3],"span":[48,26,27]},{"path":[4,4,2,1],"span":[49,2,42]},{"path":[4,4,2,1,4],"span":[49,2,10]},{"path":[4,4,2,1,6],"span":[49,11,23]},{"path":[4,4,2,1,1],"span":[49,24,37]},{"path":[4,4,2,1,3],"span":[49,40,41]},{"path":[4,4,2,2],"span":[50,2,29]},{"path":[4,4,2,2,4],"span":[50,2,10]},{"path":[4,4,2,2,5],"span":[50,11,17]},{"path":[4,4,2,2,1],"span":[50,18,24]},{"path":[4,4,2,2,3],"span":[50,27,28]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -14,11 +14,11 @@ using System.Reflection;
|
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
16
|
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.
|
|
18
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.9")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.9")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Diagrams")]
|
|
20
20
|
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Diagrams.GRPC")]
|
|
21
|
-
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.9.0")]
|
|
22
22
|
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
23
|
|
|
24
24
|
// Generated by the MSBuild WriteCodeFragment class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
016fe99ec73c3ad69d75a93f8ce8b07b4a514422
|
|
Binary file
|
|
Binary file
|
|
@@ -25,39 +25,41 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
25
25
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
26
26
|
string.Concat(
|
|
27
27
|
"ChRwcm90by9kaWFncmFtcy5wcm90bxIWbGFuc3dlZXBlci5kaWFncmFtcy52",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
28
|
+
"MSLeAgoORGlhZ3JhbVJlcXVlc3QSEgoKY2xpZW50X2tleRgBIAEoCRIYChBp",
|
|
29
|
+
"bnN0YWxsYXRpb25fa2V5GAIgASgJElQKEGFzc2V0X3R5cGVfbmFtZXMYAyAD",
|
|
30
|
+
"KAsyOi5sYW5zd2VlcGVyLmRpYWdyYW1zLnYxLkRpYWdyYW1SZXF1ZXN0LkFz",
|
|
31
|
+
"c2V0VHlwZU5hbWVzRW50cnkSWAoSYXNzZXRfc2NvcGVzX3J1bGVzGAQgAygL",
|
|
32
|
+
"MjwubGFuc3dlZXBlci5kaWFncmFtcy52MS5EaWFncmFtUmVxdWVzdC5Bc3Nl",
|
|
33
|
+
"dFNjb3Blc1J1bGVzRW50cnkaNQoTQXNzZXRUeXBlTmFtZXNFbnRyeRILCgNr",
|
|
34
|
+
"ZXkYASABKAkSDQoFdmFsdWUYAiABKAg6AjgBGjcKFUFzc2V0U2NvcGVzUnVs",
|
|
35
|
+
"ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIsMBCgVB",
|
|
36
|
+
"c3NldBISCgp1bmlxdWVfa2V5GAEgASgJEgsKA2tleRgCIAEoCRIMCgRuYW1l",
|
|
37
|
+
"GAMgASgJEhEKCXR5cGVfbmFtZRgEIAEoCRIRCglncm91cF9rZXkYBSABKAkS",
|
|
38
|
+
"EAoIaXNfZ3JvdXAYBiABKAgSEgoKaXBfYWRkcmVzcxgHIAEoCRIZChF2bV9y",
|
|
39
|
+
"dW5uaW5nX3N0YXR1cxgIIAEoCRIQCghjYXRlZ29yeRgJIAEoCRISCgppc192",
|
|
40
|
+
"aXJ0dWFsGAogASgIIqYBCgxSZWxhdGlvbnNoaXASHQoVZnJvbV9hc3NldF91",
|
|
41
|
+
"bmlxdWVfa2V5GAEgASgJEhsKE3RvX2Fzc2V0X3VuaXF1ZV9rZXkYAiABKAkS",
|
|
42
|
+
"EAoIY2F0ZWdvcnkYAyABKAkSDAoEbmFtZRgEIAEoCRIUCgxyZXZlcnNlX25h",
|
|
43
|
+
"bWUYBSABKAkSEQoJaWNvbl9uYW1lGAYgASgJEhEKCWlzX21hbnVhbBgHIAEo",
|
|
44
|
+
"CCKcAQoeTmV0d29ya1RvcG9sb2d5RGlhZ3JhbVJlc3BvbnNlEi0KBmFzc2V0",
|
|
45
|
+
"cxgBIAMoCzIdLmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuQXNzZXQSOwoNcmVs",
|
|
46
|
+
"YXRpb25zaGlwcxgCIAMoCzIkLmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuUmVs",
|
|
47
|
+
"YXRpb25zaGlwEg4KBmlzc3VlcxgDIAMoCSKfAQohVmlydHVhbEVudmlyb25t",
|
|
48
|
+
"ZW50RGlhZ3JhbVJlc3BvbnNlEi0KBmFzc2V0cxgBIAMoCzIdLmxhbnN3ZWVw",
|
|
49
|
+
"ZXIuZGlhZ3JhbXMudjEuQXNzZXQSOwoNcmVsYXRpb25zaGlwcxgCIAMoCzIk",
|
|
50
|
+
"LmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuUmVsYXRpb25zaGlwEg4KBmlzc3Vl",
|
|
51
|
+
"cxgDIAMoCTKzAgoPRGlhZ3JhbXNTZXJ2aWNlEosBCidHZXROZXR3b3JrVG9w",
|
|
52
|
+
"b2xvZ3lEaWFncmFtQnlJbnN0YWxsYXRpb24SJi5sYW5zd2VlcGVyLmRpYWdy",
|
|
53
|
+
"YW1zLnYxLkRpYWdyYW1SZXF1ZXN0GjYubGFuc3dlZXBlci5kaWFncmFtcy52",
|
|
54
|
+
"MS5OZXR3b3JrVG9wb2xvZ3lEaWFncmFtUmVzcG9uc2UiABKRAQoqR2V0Vmly",
|
|
55
|
+
"dHVhbEVudmlyb25tZW50RGlhZ3JhbUJ5SW5zdGFsbGF0aW9uEiYubGFuc3dl",
|
|
56
|
+
"ZXBlci5kaWFncmFtcy52MS5EaWFncmFtUmVxdWVzdBo5LmxhbnN3ZWVwZXIu",
|
|
57
|
+
"ZGlhZ3JhbXMudjEuVmlydHVhbEVudmlyb25tZW50RGlhZ3JhbVJlc3BvbnNl",
|
|
58
|
+
"IgBCG6oCGExhbnN3ZWVwZXIuRGlhZ3JhbXMuR1JQQ2IGcHJvdG8z"));
|
|
57
59
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
58
60
|
new pbr::FileDescriptor[] { },
|
|
59
61
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
60
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames", "AssetScopesRules" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
|
|
62
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames", "AssetScopesRules" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }),
|
|
61
63
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Asset), global::Lansweeper.Diagrams.GRPC.Asset.Parser, new[]{ "UniqueKey", "Key", "Name", "TypeName", "GroupKey", "IsGroup", "IpAddress", "VmRunningStatus", "Category", "IsVirtual" }, null, null, null, null),
|
|
62
64
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Relationship), global::Lansweeper.Diagrams.GRPC.Relationship.Parser, new[]{ "FromAssetUniqueKey", "ToAssetUniqueKey", "Category", "Name", "ReverseName", "IconName", "IsManual" }, null, null, null, null),
|
|
63
65
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse), global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse.Parser, new[]{ "Assets", "Relationships", "Issues" }, null, null, null, null),
|
|
@@ -141,12 +143,12 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
141
143
|
|
|
142
144
|
/// <summary>Field number for the "asset_type_names" field.</summary>
|
|
143
145
|
public const int AssetTypeNamesFieldNumber = 3;
|
|
144
|
-
private static readonly
|
|
145
|
-
= pb::FieldCodec.ForString(26);
|
|
146
|
-
private readonly pbc::
|
|
146
|
+
private static readonly pbc::MapField<string, bool>.Codec _map_assetTypeNames_codec
|
|
147
|
+
= new pbc::MapField<string, bool>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForBool(16, false), 26);
|
|
148
|
+
private readonly pbc::MapField<string, bool> assetTypeNames_ = new pbc::MapField<string, bool>();
|
|
147
149
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
148
150
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
149
|
-
public pbc::
|
|
151
|
+
public pbc::MapField<string, bool> AssetTypeNames {
|
|
150
152
|
get { return assetTypeNames_; }
|
|
151
153
|
}
|
|
152
154
|
|
|
@@ -178,7 +180,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
178
180
|
}
|
|
179
181
|
if (ClientKey != other.ClientKey) return false;
|
|
180
182
|
if (InstallationKey != other.InstallationKey) return false;
|
|
181
|
-
if(!
|
|
183
|
+
if (!AssetTypeNames.Equals(other.AssetTypeNames)) return false;
|
|
182
184
|
if (!AssetScopesRules.Equals(other.AssetScopesRules)) return false;
|
|
183
185
|
return Equals(_unknownFields, other._unknownFields);
|
|
184
186
|
}
|
|
@@ -189,7 +191,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
189
191
|
int hash = 1;
|
|
190
192
|
if (ClientKey.Length != 0) hash ^= ClientKey.GetHashCode();
|
|
191
193
|
if (InstallationKey.Length != 0) hash ^= InstallationKey.GetHashCode();
|
|
192
|
-
hash ^=
|
|
194
|
+
hash ^= AssetTypeNames.GetHashCode();
|
|
193
195
|
hash ^= AssetScopesRules.GetHashCode();
|
|
194
196
|
if (_unknownFields != null) {
|
|
195
197
|
hash ^= _unknownFields.GetHashCode();
|
|
@@ -217,7 +219,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
217
219
|
output.WriteRawTag(18);
|
|
218
220
|
output.WriteString(InstallationKey);
|
|
219
221
|
}
|
|
220
|
-
assetTypeNames_.WriteTo(output,
|
|
222
|
+
assetTypeNames_.WriteTo(output, _map_assetTypeNames_codec);
|
|
221
223
|
assetScopesRules_.WriteTo(output, _map_assetScopesRules_codec);
|
|
222
224
|
if (_unknownFields != null) {
|
|
223
225
|
_unknownFields.WriteTo(output);
|
|
@@ -237,7 +239,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
237
239
|
output.WriteRawTag(18);
|
|
238
240
|
output.WriteString(InstallationKey);
|
|
239
241
|
}
|
|
240
|
-
assetTypeNames_.WriteTo(ref output,
|
|
242
|
+
assetTypeNames_.WriteTo(ref output, _map_assetTypeNames_codec);
|
|
241
243
|
assetScopesRules_.WriteTo(ref output, _map_assetScopesRules_codec);
|
|
242
244
|
if (_unknownFields != null) {
|
|
243
245
|
_unknownFields.WriteTo(ref output);
|
|
@@ -255,7 +257,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
255
257
|
if (InstallationKey.Length != 0) {
|
|
256
258
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallationKey);
|
|
257
259
|
}
|
|
258
|
-
size += assetTypeNames_.CalculateSize(
|
|
260
|
+
size += assetTypeNames_.CalculateSize(_map_assetTypeNames_codec);
|
|
259
261
|
size += assetScopesRules_.CalculateSize(_map_assetScopesRules_codec);
|
|
260
262
|
if (_unknownFields != null) {
|
|
261
263
|
size += _unknownFields.CalculateSize();
|
|
@@ -301,7 +303,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
301
303
|
break;
|
|
302
304
|
}
|
|
303
305
|
case 26: {
|
|
304
|
-
assetTypeNames_.AddEntriesFrom(input,
|
|
306
|
+
assetTypeNames_.AddEntriesFrom(input, _map_assetTypeNames_codec);
|
|
305
307
|
break;
|
|
306
308
|
}
|
|
307
309
|
case 34: {
|
|
@@ -332,7 +334,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
332
334
|
break;
|
|
333
335
|
}
|
|
334
336
|
case 26: {
|
|
335
|
-
assetTypeNames_.AddEntriesFrom(ref input,
|
|
337
|
+
assetTypeNames_.AddEntriesFrom(ref input, _map_assetTypeNames_codec);
|
|
336
338
|
break;
|
|
337
339
|
}
|
|
338
340
|
case 34: {
|
|
Binary file
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"projects": {
|
|
7
7
|
"/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj": {
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.9",
|
|
9
9
|
"restore": {
|
|
10
10
|
"projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
11
11
|
"projectName": "Lansweeper.Diagrams.GRPC",
|
package/obj/project.assets.json
CHANGED
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"/home/circleci/.nuget/packages/": {}
|
|
306
306
|
},
|
|
307
307
|
"project": {
|
|
308
|
-
"version": "0.0.
|
|
308
|
+
"version": "0.0.9",
|
|
309
309
|
"restore": {
|
|
310
310
|
"projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
311
311
|
"projectName": "Lansweeper.Diagrams.GRPC",
|
package/obj/project.nuget.cache
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"dgSpecHash": "
|
|
3
|
+
"dgSpecHash": "lGyVJnTjgMjWOA57A2+xJi45LVK/SRcpIec1Eiio4+nrj1Jq0pGFDb22ub/NwvTOMk5vQbN90JoyTMvQ05tZ5w==",
|
|
4
4
|
"success": true,
|
|
5
5
|
"projectFilePath": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
6
6
|
"expectedPackageFiles": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/diagrams-grpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Diagrams gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/google-protobuf": "^3.15.5"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "333d8ff171ec6a49caf096384296db668d5e2086"
|
|
16
16
|
}
|
package/proto/diagrams.proto
CHANGED