@lansweeper/ot-asset-model 0.0.39 → 0.0.41

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.
Files changed (27) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/Lansweeper.Model.OTAsset.csproj +3 -3
  3. package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.deps.json +2 -2
  4. package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
  5. package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
  6. package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.deps.json +2 -2
  7. package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
  8. package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
  9. package/dist/ot-model.json +57 -0
  10. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +3 -3
  11. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -1
  12. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache +0 -0
  13. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.CoreCompileInputs.cache +1 -1
  14. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
  15. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
  16. package/obj/Debug/net6.0/ref/Lansweeper.Model.OTAsset.dll +0 -0
  17. package/obj/Debug/net6.0/refint/Lansweeper.Model.OTAsset.dll +0 -0
  18. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +3 -3
  19. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -1
  20. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
  21. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
  22. package/obj/Lansweeper.Model.OTAsset.csproj.nuget.dgspec.json +3 -13
  23. package/obj/Lansweeper.Model.OTAsset.csproj.nuget.g.props +1 -1
  24. package/obj/project.assets.json +3 -13
  25. package/obj/project.nuget.cache +2 -4
  26. package/package.json +3 -3
  27. package/src/ot-model.json +57 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.41](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.40...@lansweeper/ot-asset-model@0.0.41) (2023-07-18)
7
+
8
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.0.40](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.39...@lansweeper/ot-asset-model@0.0.40) (2023-06-13)
15
+
16
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.0.39](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.38...@lansweeper/ot-asset-model@0.0.39) (2023-06-13)
7
23
 
8
24
  **Note:** Version bump only for package @lansweeper/ot-asset-model
@@ -7,9 +7,9 @@
7
7
  <Company>Lansweeper</Company>
8
8
  <Product>Lansweeper Syncer</Product>
9
9
  <Copyright>Lansweeper</Copyright>
10
- <PackageVersion>0.0.38</PackageVersion>
11
- <Version>0.0.38</Version>
12
- <FileVersion>0.0.38</FileVersion>
10
+ <PackageVersion>0.0.40</PackageVersion>
11
+ <Version>0.0.40</Version>
12
+ <FileVersion>0.0.40</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.Model.OTAsset/0.0.38": {
9
+ "Lansweeper.Model.OTAsset/0.0.40": {
10
10
  "runtime": {
11
11
  "Lansweeper.Model.OTAsset.dll": {}
12
12
  }
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "libraries": {
17
- "Lansweeper.Model.OTAsset/0.0.38": {
17
+ "Lansweeper.Model.OTAsset/0.0.40": {
18
18
  "type": "project",
19
19
  "serviceable": false,
20
20
  "sha512": ""
@@ -7,7 +7,7 @@
7
7
  "targets": {
8
8
  ".NETStandard,Version=v2.0": {},
9
9
  ".NETStandard,Version=v2.0/": {
10
- "Lansweeper.Model.OTAsset/0.0.38": {
10
+ "Lansweeper.Model.OTAsset/0.0.40": {
11
11
  "dependencies": {
12
12
  "NETStandard.Library": "2.0.3"
13
13
  },
@@ -24,7 +24,7 @@
24
24
  }
25
25
  },
26
26
  "libraries": {
27
- "Lansweeper.Model.OTAsset/0.0.38": {
27
+ "Lansweeper.Model.OTAsset/0.0.40": {
28
28
  "type": "project",
29
29
  "serviceable": false,
30
30
  "sha512": ""
@@ -50,9 +50,66 @@
50
50
  "cloudEntity": "OtData",
51
51
  "isArray": false,
52
52
  "propertyName": "otData",
53
+ "children": [
54
+ {
55
+ "cloudEntity": "ExtraField",
56
+ "cloudId": "extraFieldId",
57
+ "propertyName": "extraFields",
58
+ "limit": 1000,
59
+ "isArray": true,
60
+ "properties": {
61
+ "extraFieldId": {
62
+ "type": "string"
63
+ },
64
+ "name": {
65
+ "type": "string"
66
+ },
67
+ "value": {
68
+ "type": "string"
69
+ }
70
+ }
71
+ }
72
+ ],
53
73
  "properties": {
54
74
  "rackSize": {
55
75
  "type": "float"
76
+ },
77
+ "rackNumber": {
78
+ "type": "float"
79
+ },
80
+ "rackName": {
81
+ "type": "string"
82
+ },
83
+ "rackType": {
84
+ "type": "string"
85
+ },
86
+ "rackSlotnumber": {
87
+ "type": "float"
88
+ },
89
+ "rackSlotWidth": {
90
+ "type": "float"
91
+ },
92
+ "componentType": {
93
+ "type": "string"
94
+ },
95
+ "isMainModule": {
96
+ "type": "boolean"
97
+ },
98
+ "isNetworkNode": {
99
+ "type": "boolean"
100
+ },
101
+ "partNumber": {
102
+ "type": "string"
103
+ },
104
+ "routePath": {
105
+ "type": "string"
106
+ },
107
+ "parent": {
108
+ "type": "string"
109
+ },
110
+ "childrens": {
111
+ "type": "string",
112
+ "isArray": true
56
113
  }
57
114
  }
58
115
  },
@@ -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.38")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.38")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.40")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.40")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.38.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.40.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
- 770a7cf21d88ec2abae116caf6727cd289c4e218
1
+ 02089bae4999aee597e56bd8b227e40e0eabc564
@@ -1 +1 @@
1
- d72ac73d953b782705100da5bb2e8bc586434dbd
1
+ e640bacb3819c097aa5c65197f5fbf6109bc65e3
@@ -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.38")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.38")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.40")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.40")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.38.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.40.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
- 770a7cf21d88ec2abae116caf6727cd289c4e218
1
+ 02089bae4999aee597e56bd8b227e40e0eabc564
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "projects": {
7
7
  "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj": {
8
- "version": "0.0.38",
8
+ "version": "0.0.40",
9
9
  "restore": {
10
10
  "projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
11
11
  "projectName": "Lansweeper.Model.OTAsset",
@@ -54,22 +54,12 @@
54
54
  ],
55
55
  "assetTargetFallback": true,
56
56
  "warn": true,
57
- "downloadDependencies": [
58
- {
59
- "name": "Microsoft.AspNetCore.App.Ref",
60
- "version": "[6.0.16, 6.0.16]"
61
- },
62
- {
63
- "name": "Microsoft.NETCore.App.Ref",
64
- "version": "[6.0.16, 6.0.16]"
65
- }
66
- ],
67
57
  "frameworkReferences": {
68
58
  "Microsoft.NETCore.App": {
69
59
  "privateAssets": "all"
70
60
  }
71
61
  },
72
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.408/RuntimeIdentifierGraph.json"
62
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.412/RuntimeIdentifierGraph.json"
73
63
  },
74
64
  "netstandard2.0": {
75
65
  "targetAlias": "netstandard2.0",
@@ -92,7 +82,7 @@
92
82
  ],
93
83
  "assetTargetFallback": true,
94
84
  "warn": true,
95
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.408/RuntimeIdentifierGraph.json"
85
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.412/RuntimeIdentifierGraph.json"
96
86
  }
97
87
  }
98
88
  }
@@ -7,7 +7,7 @@
7
7
  <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageRoot>
8
8
  <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageFolders>
9
9
  <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
- <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.2</NuGetToolVersion>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.3</NuGetToolVersion>
11
11
  </PropertyGroup>
12
12
  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
13
  <SourceRoot Include="/home/circleci/.nuget/packages/" />
@@ -185,7 +185,7 @@
185
185
  "/home/circleci/.nuget/packages/": {}
186
186
  },
187
187
  "project": {
188
- "version": "0.0.38",
188
+ "version": "0.0.40",
189
189
  "restore": {
190
190
  "projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
191
191
  "projectName": "Lansweeper.Model.OTAsset",
@@ -234,22 +234,12 @@
234
234
  ],
235
235
  "assetTargetFallback": true,
236
236
  "warn": true,
237
- "downloadDependencies": [
238
- {
239
- "name": "Microsoft.AspNetCore.App.Ref",
240
- "version": "[6.0.16, 6.0.16]"
241
- },
242
- {
243
- "name": "Microsoft.NETCore.App.Ref",
244
- "version": "[6.0.16, 6.0.16]"
245
- }
246
- ],
247
237
  "frameworkReferences": {
248
238
  "Microsoft.NETCore.App": {
249
239
  "privateAssets": "all"
250
240
  }
251
241
  },
252
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.408/RuntimeIdentifierGraph.json"
242
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.412/RuntimeIdentifierGraph.json"
253
243
  },
254
244
  "netstandard2.0": {
255
245
  "targetAlias": "netstandard2.0",
@@ -272,7 +262,7 @@
272
262
  ],
273
263
  "assetTargetFallback": true,
274
264
  "warn": true,
275
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.408/RuntimeIdentifierGraph.json"
265
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.412/RuntimeIdentifierGraph.json"
276
266
  }
277
267
  }
278
268
  }
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "version": 2,
3
- "dgSpecHash": "X2U7M2HLWc3+01U5AHWq5Ev0T97dP7VfBKudlQ8DZDAgyXH9pW8GHYkCTIc8qT9VLH6DkwcPigTpYsfolw2NRg==",
3
+ "dgSpecHash": "SCrXpuybjPQfrVxyG/2dOdmAMR/L6qe2OfBvt6GkJGKK1pNjGGAs75zzqe/N+ht9r08LdcYbJ2s1q4JndSFFwQ==",
4
4
  "success": true,
5
5
  "projectFilePath": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
6
6
  "expectedPackageFiles": [
7
7
  "/home/circleci/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
8
- "/home/circleci/.nuget/packages/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512",
9
- "/home/circleci/.nuget/packages/microsoft.netcore.app.ref/6.0.16/microsoft.netcore.app.ref.6.0.16.nupkg.sha512",
10
- "/home/circleci/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.16/microsoft.aspnetcore.app.ref.6.0.16.nupkg.sha512"
8
+ "/home/circleci/.nuget/packages/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512"
11
9
  ],
12
10
  "logs": []
13
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/ot-asset-model",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "description": "OT Asset model",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -8,7 +8,7 @@
8
8
  "types": "dist/types",
9
9
  "main": "dist/index.js",
10
10
  "dependencies": {
11
- "@lansweeper/asset-model": "^2.10.26",
11
+ "@lansweeper/asset-model": "^2.10.27",
12
12
  "@types/node": "^14.14.25",
13
13
  "ts-node": "^9.1.1",
14
14
  "typescript": "^4.1.3"
@@ -16,5 +16,5 @@
16
16
  "scripts": {
17
17
  "build": "tsc"
18
18
  },
19
- "gitHead": "97d66b641280288580b6f5609dacabe22e9a2b10"
19
+ "gitHead": "2ac72208e6462e28e57c25627dedba9898678fa8"
20
20
  }
package/src/ot-model.json CHANGED
@@ -50,9 +50,66 @@
50
50
  "cloudEntity": "OtData",
51
51
  "isArray": false,
52
52
  "propertyName": "otData",
53
+ "children": [
54
+ {
55
+ "cloudEntity": "ExtraField",
56
+ "cloudId": "extraFieldId",
57
+ "propertyName": "extraFields",
58
+ "limit": 1000,
59
+ "isArray": true,
60
+ "properties": {
61
+ "extraFieldId": {
62
+ "type": "string"
63
+ },
64
+ "name": {
65
+ "type": "string"
66
+ },
67
+ "value": {
68
+ "type": "string"
69
+ }
70
+ }
71
+ }
72
+ ],
53
73
  "properties": {
54
74
  "rackSize": {
55
75
  "type": "float"
76
+ },
77
+ "rackNumber": {
78
+ "type": "float"
79
+ },
80
+ "rackName": {
81
+ "type": "string"
82
+ },
83
+ "rackType": {
84
+ "type": "string"
85
+ },
86
+ "rackSlotnumber": {
87
+ "type": "float"
88
+ },
89
+ "rackSlotWidth": {
90
+ "type": "float"
91
+ },
92
+ "componentType": {
93
+ "type": "string"
94
+ },
95
+ "isMainModule": {
96
+ "type": "boolean"
97
+ },
98
+ "isNetworkNode": {
99
+ "type": "boolean"
100
+ },
101
+ "partNumber": {
102
+ "type": "string"
103
+ },
104
+ "routePath": {
105
+ "type": "string"
106
+ },
107
+ "parent": {
108
+ "type": "string"
109
+ },
110
+ "childrens": {
111
+ "type": "string",
112
+ "isArray": true
56
113
  }
57
114
  }
58
115
  },