@lansweeper/diagrams-grpc 0.0.5 → 0.0.6
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 -0
- package/gen-proto/diagrams_pb.js +34 -1
- 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 +51 -22
- 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 -0
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.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.5...@lansweeper/diagrams-grpc@0.0.6) (2022-09-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.0.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.4...@lansweeper/diagrams-grpc@0.0.5) (2022-09-20)
|
|
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.5</PackageVersion>
|
|
11
|
+
<Version>0.0.5</Version>
|
|
12
|
+
<FileVersion>0.0.5</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.5": {
|
|
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.5": {
|
|
95
95
|
"type": "project",
|
|
96
96
|
"serviceable": false,
|
|
97
97
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -16,6 +16,9 @@ export class DiagramRequest extends jspb.Message {
|
|
|
16
16
|
setAssetTypeNamesList(value: Array<string>): DiagramRequest;
|
|
17
17
|
addAssetTypeNames(value: string, index?: number): string;
|
|
18
18
|
|
|
19
|
+
getAssetScopesRulesMap(): jspb.Map<string, string>;
|
|
20
|
+
clearAssetScopesRulesMap(): void;
|
|
21
|
+
|
|
19
22
|
serializeBinary(): Uint8Array;
|
|
20
23
|
toObject(includeInstance?: boolean): DiagramRequest.AsObject;
|
|
21
24
|
static toObject(includeInstance: boolean, msg: DiagramRequest): DiagramRequest.AsObject;
|
|
@@ -31,6 +34,8 @@ export namespace DiagramRequest {
|
|
|
31
34
|
clientKey: string,
|
|
32
35
|
installationKey: string,
|
|
33
36
|
assetTypeNamesList: Array<string>,
|
|
37
|
+
|
|
38
|
+
assetScopesRulesMap: Array<[string, string]>,
|
|
34
39
|
}
|
|
35
40
|
}
|
|
36
41
|
|
package/gen-proto/diagrams_pb.js
CHANGED
|
@@ -166,7 +166,8 @@ proto.lansweeper.diagrams.v1.DiagramRequest.toObject = function(includeInstance,
|
|
|
166
166
|
var f, obj = {
|
|
167
167
|
clientKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
168
168
|
installationKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
169
|
-
assetTypeNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
169
|
+
assetTypeNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
170
|
+
assetScopesRulesMap: (f = msg.getAssetScopesRulesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
170
171
|
};
|
|
171
172
|
|
|
172
173
|
if (includeInstance) {
|
|
@@ -215,6 +216,12 @@ proto.lansweeper.diagrams.v1.DiagramRequest.deserializeBinaryFromReader = functi
|
|
|
215
216
|
var value = /** @type {string} */ (reader.readString());
|
|
216
217
|
msg.addAssetTypeNames(value);
|
|
217
218
|
break;
|
|
219
|
+
case 4:
|
|
220
|
+
var value = msg.getAssetScopesRulesMap();
|
|
221
|
+
reader.readMessage(value, function(message, reader) {
|
|
222
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
223
|
+
});
|
|
224
|
+
break;
|
|
218
225
|
default:
|
|
219
226
|
reader.skipField();
|
|
220
227
|
break;
|
|
@@ -265,6 +272,10 @@ proto.lansweeper.diagrams.v1.DiagramRequest.serializeBinaryToWriter = function(m
|
|
|
265
272
|
f
|
|
266
273
|
);
|
|
267
274
|
}
|
|
275
|
+
f = message.getAssetScopesRulesMap(true);
|
|
276
|
+
if (f && f.getLength() > 0) {
|
|
277
|
+
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
278
|
+
}
|
|
268
279
|
};
|
|
269
280
|
|
|
270
281
|
|
|
@@ -341,6 +352,28 @@ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetTypeNamesList =
|
|
|
341
352
|
};
|
|
342
353
|
|
|
343
354
|
|
|
355
|
+
/**
|
|
356
|
+
* map<string, string> asset_scopes_rules = 4;
|
|
357
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
358
|
+
* empty, instead returning `undefined`
|
|
359
|
+
* @return {!jspb.Map<string,string>}
|
|
360
|
+
*/
|
|
361
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.getAssetScopesRulesMap = function(opt_noLazyCreate) {
|
|
362
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
363
|
+
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
364
|
+
null));
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Clears values from the map. The map will be non-null.
|
|
370
|
+
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
371
|
+
*/
|
|
372
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetScopesRulesMap = function() {
|
|
373
|
+
this.getAssetScopesRulesMap().clear();
|
|
374
|
+
return this;};
|
|
375
|
+
|
|
376
|
+
|
|
344
377
|
|
|
345
378
|
|
|
346
379
|
|
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":"TYPE_STRING","jsonName":"assetTypeNames"}]},{"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":"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":"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":"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"}]}],"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,
|
|
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_STRING","jsonName":"assetTypeNames"},{"name":"asset_scopes_rules","number":4,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.DiagramRequest.AssetScopesRulesEntry","jsonName":"assetScopesRules"}],"nestedType":[{"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":"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":"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":"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"}]}],"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,40,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,39]},{"path":[4,0,2,2,4],"span":[14,2,10]},{"path":[4,0,2,2,5],"span":[14,11,17]},{"path":[4,0,2,2,1],"span":[14,18,34]},{"path":[4,0,2,2,3],"span":[14,37,38]},{"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,25,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,2],"span":[27,0,30,1]},{"path":[4,2,1],"span":[27,8,20]},{"path":[4,2,2,0],"span":[28,2,35]},{"path":[4,2,2,0,5],"span":[28,2,8]},{"path":[4,2,2,0,1],"span":[28,9,30]},{"path":[4,2,2,0,3],"span":[28,33,34]},{"path":[4,2,2,1],"span":[29,2,33]},{"path":[4,2,2,1,5],"span":[29,2,8]},{"path":[4,2,2,1,1],"span":[29,9,28]},{"path":[4,2,2,1,3],"span":[29,31,32]},{"path":[4,3],"span":[32,0,35,1]},{"path":[4,3,1],"span":[32,8,38]},{"path":[4,3,2,0],"span":[33,2,28]},{"path":[4,3,2,0,4],"span":[33,2,10]},{"path":[4,3,2,0,6],"span":[33,11,16]},{"path":[4,3,2,0,1],"span":[33,17,23]},{"path":[4,3,2,0,3],"span":[33,26,27]},{"path":[4,3,2,1],"span":[34,2,42]},{"path":[4,3,2,1,4],"span":[34,2,10]},{"path":[4,3,2,1,6],"span":[34,11,23]},{"path":[4,3,2,1,1],"span":[34,24,37]},{"path":[4,3,2,1,3],"span":[34,40,41]},{"path":[4,4],"span":[37,0,40,1]},{"path":[4,4,1],"span":[37,8,41]},{"path":[4,4,2,0],"span":[38,2,28]},{"path":[4,4,2,0,4],"span":[38,2,10]},{"path":[4,4,2,0,6],"span":[38,11,16]},{"path":[4,4,2,0,1],"span":[38,17,23]},{"path":[4,4,2,0,3],"span":[38,26,27]},{"path":[4,4,2,1],"span":[39,2,42]},{"path":[4,4,2,1,4],"span":[39,2,10]},{"path":[4,4,2,1,6],"span":[39,11,23]},{"path":[4,4,2,1,1],"span":[39,24,37]},{"path":[4,4,2,1,3],"span":[39,40,41]}]},"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.5")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.5")]
|
|
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.5.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
|
+
fbc40ed9f1c7e76bd3b874255cb7168c5e9fb8ca
|
|
Binary file
|
|
Binary file
|
|
@@ -25,31 +25,34 @@ 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
|
-
"
|
|
28
|
+
"MSLrAQoORGlhZ3JhbVJlcXVlc3QSEgoKY2xpZW50X2tleRgBIAEoCRIYChBp",
|
|
29
|
+
"bnN0YWxsYXRpb25fa2V5GAIgASgJEhgKEGFzc2V0X3R5cGVfbmFtZXMYAyAD",
|
|
30
|
+
"KAkSWAoSYXNzZXRfc2NvcGVzX3J1bGVzGAQgAygLMjwubGFuc3dlZXBlci5k",
|
|
31
|
+
"aWFncmFtcy52MS5EaWFncmFtUmVxdWVzdC5Bc3NldFNjb3Blc1J1bGVzRW50",
|
|
32
|
+
"cnkaNwoVQXNzZXRTY29wZXNSdWxlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2",
|
|
33
|
+
"YWx1ZRgCIAEoCToCOAEibgoFQXNzZXQSEgoKdW5pcXVlX2tleRgBIAEoCRIL",
|
|
34
|
+
"CgNrZXkYAiABKAkSDAoEbmFtZRgDIAEoCRIRCgl0eXBlX25hbWUYBCABKAkS",
|
|
35
|
+
"EQoJZ3JvdXBfa2V5GAUgASgJEhAKCGlzX2dyb3VwGAYgASgIIkoKDFJlbGF0",
|
|
36
|
+
"aW9uc2hpcBIdChVmcm9tX2Fzc2V0X3VuaXF1ZV9rZXkYASABKAkSGwoTdG9f",
|
|
37
|
+
"YXNzZXRfdW5pcXVlX2tleRgCIAEoCSKMAQoeTmV0d29ya1RvcG9sb2d5RGlh",
|
|
38
|
+
"Z3JhbVJlc3BvbnNlEi0KBmFzc2V0cxgBIAMoCzIdLmxhbnN3ZWVwZXIuZGlh",
|
|
39
|
+
"Z3JhbXMudjEuQXNzZXQSOwoNcmVsYXRpb25zaGlwcxgCIAMoCzIkLmxhbnN3",
|
|
40
|
+
"ZWVwZXIuZGlhZ3JhbXMudjEuUmVsYXRpb25zaGlwIo8BCiFWaXJ0dWFsRW52",
|
|
41
|
+
"aXJvbm1lbnREaWFncmFtUmVzcG9uc2USLQoGYXNzZXRzGAEgAygLMh0ubGFu",
|
|
42
|
+
"c3dlZXBlci5kaWFncmFtcy52MS5Bc3NldBI7Cg1yZWxhdGlvbnNoaXBzGAIg",
|
|
43
|
+
"AygLMiQubGFuc3dlZXBlci5kaWFncmFtcy52MS5SZWxhdGlvbnNoaXAyswIK",
|
|
44
|
+
"D0RpYWdyYW1zU2VydmljZRKLAQonR2V0TmV0d29ya1RvcG9sb2d5RGlhZ3Jh",
|
|
45
|
+
"bUJ5SW5zdGFsbGF0aW9uEiYubGFuc3dlZXBlci5kaWFncmFtcy52MS5EaWFn",
|
|
46
|
+
"cmFtUmVxdWVzdBo2LmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuTmV0d29ya1Rv",
|
|
47
|
+
"cG9sb2d5RGlhZ3JhbVJlc3BvbnNlIgASkQEKKkdldFZpcnR1YWxFbnZpcm9u",
|
|
48
|
+
"bWVudERpYWdyYW1CeUluc3RhbGxhdGlvbhImLmxhbnN3ZWVwZXIuZGlhZ3Jh",
|
|
49
|
+
"bXMudjEuRGlhZ3JhbVJlcXVlc3QaOS5sYW5zd2VlcGVyLmRpYWdyYW1zLnYx",
|
|
50
|
+
"LlZpcnR1YWxFbnZpcm9ubWVudERpYWdyYW1SZXNwb25zZSIAQhuqAhhMYW5z",
|
|
51
|
+
"d2VlcGVyLkRpYWdyYW1zLkdSUENiBnByb3RvMw=="));
|
|
49
52
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
50
53
|
new pbr::FileDescriptor[] { },
|
|
51
54
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
52
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames" }, null, null, null, null),
|
|
55
|
+
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, }),
|
|
53
56
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Asset), global::Lansweeper.Diagrams.GRPC.Asset.Parser, new[]{ "UniqueKey", "Key", "Name", "TypeName", "GroupKey", "IsGroup" }, null, null, null, null),
|
|
54
57
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Relationship), global::Lansweeper.Diagrams.GRPC.Relationship.Parser, new[]{ "FromAssetUniqueKey", "ToAssetUniqueKey" }, null, null, null, null),
|
|
55
58
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse), global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse.Parser, new[]{ "Assets", "Relationships" }, null, null, null, null),
|
|
@@ -97,6 +100,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
97
100
|
clientKey_ = other.clientKey_;
|
|
98
101
|
installationKey_ = other.installationKey_;
|
|
99
102
|
assetTypeNames_ = other.assetTypeNames_.Clone();
|
|
103
|
+
assetScopesRules_ = other.assetScopesRules_.Clone();
|
|
100
104
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
101
105
|
}
|
|
102
106
|
|
|
@@ -141,6 +145,17 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
141
145
|
get { return assetTypeNames_; }
|
|
142
146
|
}
|
|
143
147
|
|
|
148
|
+
/// <summary>Field number for the "asset_scopes_rules" field.</summary>
|
|
149
|
+
public const int AssetScopesRulesFieldNumber = 4;
|
|
150
|
+
private static readonly pbc::MapField<string, string>.Codec _map_assetScopesRules_codec
|
|
151
|
+
= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 34);
|
|
152
|
+
private readonly pbc::MapField<string, string> assetScopesRules_ = new pbc::MapField<string, string>();
|
|
153
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
154
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
155
|
+
public pbc::MapField<string, string> AssetScopesRules {
|
|
156
|
+
get { return assetScopesRules_; }
|
|
157
|
+
}
|
|
158
|
+
|
|
144
159
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
145
160
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
146
161
|
public override bool Equals(object other) {
|
|
@@ -159,6 +174,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
159
174
|
if (ClientKey != other.ClientKey) return false;
|
|
160
175
|
if (InstallationKey != other.InstallationKey) return false;
|
|
161
176
|
if(!assetTypeNames_.Equals(other.assetTypeNames_)) return false;
|
|
177
|
+
if (!AssetScopesRules.Equals(other.AssetScopesRules)) return false;
|
|
162
178
|
return Equals(_unknownFields, other._unknownFields);
|
|
163
179
|
}
|
|
164
180
|
|
|
@@ -169,6 +185,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
169
185
|
if (ClientKey.Length != 0) hash ^= ClientKey.GetHashCode();
|
|
170
186
|
if (InstallationKey.Length != 0) hash ^= InstallationKey.GetHashCode();
|
|
171
187
|
hash ^= assetTypeNames_.GetHashCode();
|
|
188
|
+
hash ^= AssetScopesRules.GetHashCode();
|
|
172
189
|
if (_unknownFields != null) {
|
|
173
190
|
hash ^= _unknownFields.GetHashCode();
|
|
174
191
|
}
|
|
@@ -196,6 +213,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
196
213
|
output.WriteString(InstallationKey);
|
|
197
214
|
}
|
|
198
215
|
assetTypeNames_.WriteTo(output, _repeated_assetTypeNames_codec);
|
|
216
|
+
assetScopesRules_.WriteTo(output, _map_assetScopesRules_codec);
|
|
199
217
|
if (_unknownFields != null) {
|
|
200
218
|
_unknownFields.WriteTo(output);
|
|
201
219
|
}
|
|
@@ -215,6 +233,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
215
233
|
output.WriteString(InstallationKey);
|
|
216
234
|
}
|
|
217
235
|
assetTypeNames_.WriteTo(ref output, _repeated_assetTypeNames_codec);
|
|
236
|
+
assetScopesRules_.WriteTo(ref output, _map_assetScopesRules_codec);
|
|
218
237
|
if (_unknownFields != null) {
|
|
219
238
|
_unknownFields.WriteTo(ref output);
|
|
220
239
|
}
|
|
@@ -232,6 +251,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
232
251
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallationKey);
|
|
233
252
|
}
|
|
234
253
|
size += assetTypeNames_.CalculateSize(_repeated_assetTypeNames_codec);
|
|
254
|
+
size += assetScopesRules_.CalculateSize(_map_assetScopesRules_codec);
|
|
235
255
|
if (_unknownFields != null) {
|
|
236
256
|
size += _unknownFields.CalculateSize();
|
|
237
257
|
}
|
|
@@ -251,6 +271,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
251
271
|
InstallationKey = other.InstallationKey;
|
|
252
272
|
}
|
|
253
273
|
assetTypeNames_.Add(other.assetTypeNames_);
|
|
274
|
+
assetScopesRules_.Add(other.assetScopesRules_);
|
|
254
275
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
255
276
|
}
|
|
256
277
|
|
|
@@ -278,6 +299,10 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
278
299
|
assetTypeNames_.AddEntriesFrom(input, _repeated_assetTypeNames_codec);
|
|
279
300
|
break;
|
|
280
301
|
}
|
|
302
|
+
case 34: {
|
|
303
|
+
assetScopesRules_.AddEntriesFrom(input, _map_assetScopesRules_codec);
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
281
306
|
}
|
|
282
307
|
}
|
|
283
308
|
#endif
|
|
@@ -305,6 +330,10 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
305
330
|
assetTypeNames_.AddEntriesFrom(ref input, _repeated_assetTypeNames_codec);
|
|
306
331
|
break;
|
|
307
332
|
}
|
|
333
|
+
case 34: {
|
|
334
|
+
assetScopesRules_.AddEntriesFrom(ref input, _map_assetScopesRules_codec);
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
308
337
|
}
|
|
309
338
|
}
|
|
310
339
|
}
|
|
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.5",
|
|
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.5",
|
|
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": "/tKJbi6T3EmTunj+ORs60uMKzCvii71hmX2Pr9onmmLrIaFmsFcdilYpl4n8CQV86qCCeae7o3K8jFnxCP8EWg==",
|
|
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.6",
|
|
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": "848a233f1e25ebec794e3a9144f7e90d73c7a1f2"
|
|
16
16
|
}
|